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

384a0fa6fcb1eb428a6921ff8b2f051e139dbff7
<mask token>

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

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