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


