Statistics

Problem Statement for "PointClustering"

Problem Statement

Clustering algorithms are becoming increasingly important in many applications and there are dozens of different ways to cluster, each of which has its own pros and cons. In this problem, your task is to implement one of the simpler algorithms on a set of points in two-dimensional space (corresponding elements of int[]s x and y represent a single point). The algorithm starts by initializing each point as its own cluster (a cluster is just a group of points). Then, the algorithm repeatedly merges the two closest clusters, where the distance between two clusters is defined as the average distance between each pair of points, p and q, where p is a point in one cluster and q is a point in the other cluster. Hence, the distance between a cluster of 4 points and a cluster of 2 points would be the average of 8 distances. The algorithm terminates when there is only one cluster left. In most applications, we wouldn't have to worry about ties, so in this problem there will be no cases where the comparison of average distances with a relative difference of 1E-3 or less has an effect on the clustering.

Once you have successfully clustered the points, you need to return the final cluster as a String. The format of this String can be defined recursively. If you have a cluster A, with more than one element, which was formed from clusters which have String forms B and C, then the String form of A should be "[BC]" (quotes for clarity), where B represents the cluster with the lowest indexed point out of all the points in B and C (indexed in the input). If you have a cluster A that contains only one point, (xi,yi), then it should be formatted as "[(xi,yi)]", where (xi,yi) are the coordinates of the points..

For example, if x = {5,17,5} and y = {4,4,9}, we get the following distances:
p0 - p1 = 12
p0 - p2 = 5
p1 - p2 = 13
Thus, we would first merge p0 and p2. This gives us 2 clusters, and so we would merge them, as there is no other choice. This gives us a return value of "[[[(5,4)][(5,9)]][(17,4)]]".

Definition

Class:
PointClustering
Method:
cluster
Parameters:
int[], int[]
Returns:
String
Method signature:
String cluster(int[] x, int[] y)
(be sure your method is public)

Constraints

  • x and y will contain the same number of elements.
  • x and y will each contain between 1 and 50 elements, inclusive.
  • Each element of x and y will be between -1000 and 1000, inclusive.
  • There will be no cases where the comparison of average distances with a relative difference of 1E-3 or less has an effect on the clustering.

Examples

  1. {5,17,5}

    {4,4,9}

    Returns: "[[[(5,4)][(5,9)]][(17,4)]]"

    The example from the problem statement.

  2. {9,3,6,3,1,7,3,2,6}

    {9,1,2,4,6,8,2,3,4}

    Returns: "[[[(9,9)][(7,8)]][[[[[(3,1)][(3,2)]][[(3,4)][(2,3)]]][[(6,2)][(6,4)]]][(1,6)]]]"

    This image shows all of the clusters that the algorithm creates, where each cluster is represented by an oval.

  3. {990,-405,64,572,-710,-974,823,-249,705,440,818,890,402,44,-170,-494,501,-753, -566,-23,-168,291,-317,44,-907,947,-768,-183,-642,569,-885,433,-661,-886,898,-150, -582,-340,-828,750,-349,-262,-51,-627,592,-944,-387,95,993,355}

    {888,972,-787,-292,-558,-653,40,-576,-27,-519,412,-188,182,-347,560,-11,283,143, 620,656,725,482,989,-749,-719,488,-490,619,999,-397,-362,289,236,174,297,162,676, 765,-868,-946,871,-346,331,-282,243,649,-10,-379,708,-956}

    Returns: "[[[[[[[(990,888)][(993,708)]][[[(818,412)][(898,297)]][(947,488)]]][[[[(402,182)][[(501,283)][(433,289)]]][(592,243)]][(291,482)]]][[[[(572,-292)][(569,-397)]][(440,-519)]][[[(823,40)][(705,-27)]][(890,-188)]]]][[[[[[[(-405,972)][(-317,989)]][[(-340,765)][(-349,871)]]][(-642,999)]][[(-566,620)][(-582,676)]]][[[[[(-170,560)][(-183,619)]][(-168,725)]][(-23,656)]][[(-150,162)][(-51,331)]]]][[[[(-494,-11)][(-387,-10)]][[[(-753,143)][(-661,236)]][(-886,174)]]][(-944,649)]]]][[[[[[(64,-787)][(44,-749)]][(355,-956)]][[[(-249,-576)][(-262,-346)]][[(44,-347)][(95,-379)]]]][(750,-946)]][[[[[(-710,-558)][(-768,-490)]][(-885,-362)]][(-627,-282)]][[[(-974,-653)][(-907,-719)]][(-828,-868)]]]]]"

  4. {-10,10,-10,100}

    {-10,0,-10,0}

    Returns: "[[[[(-10,-10)][(-10,-10)]][(10,0)]][(100,0)]]"

  5. {1000,-1000,0}

    {1000,-1000,1}

    Returns: "[[[(1000,1000)][(0,1)]][(-1000,-1000)]]"

  6. {-604,-562,-647,-717,-743,-683,-897,-701,-612,-707,-671,-645,-681,-561,-574,-883,-576,-738,-593,-513,-516,-848,-529,-901,-834,681,713,869,514,583,532,501,590,795,935,629,713,949,944,593,741,789,594,897,707,841,665,574,925,710}

    {333,882,246,-915,-328,889,196,807,626,123,121,384,425,583,611,422,7,-202,62,146,274,283,-297,984,-730,-273,81,232,-640,-241,352,-120,-13,-83,733,-862,137,-966,100,221,697,59,-861,327,-109,-218,-442,495,-308,600}

    Returns: "[[[[[[[(-604,333)][[(-645,384)][(-681,425)]]][[(-612,626)][[(-561,583)][(-574,611)]]]][[[[[(-647,246)][[(-707,123)][(-671,121)]]][[(-576,7)][(-593,62)]]][[(-513,146)][(-516,274)]]][[[(-897,196)][(-848,283)]][(-883,422)]]]][[[(-562,882)][[(-683,889)][(-701,807)]]][(-901,984)]]][[[(-717,-915)][(-834,-730)]][[[(-743,-328)][(-738,-202)]][(-529,-297)]]]][[[[[[[(681,-273)][(583,-241)]][(665,-442)]][[(841,-218)][(925,-308)]]][[[[[[[(713,81)][(713,137)]][(789,59)]][[(795,-83)][(707,-109)]]][[(501,-120)][(590,-13)]]][[[(869,232)][(897,327)]][(944,100)]]][[[(532,352)][(593,221)]][(574,495)]]]][[(935,733)][[(741,697)][(710,600)]]]][[[(514,-640)][[(629,-862)][(594,-861)]]][(949,-966)]]]]"

  7. {-801,-609,-551,-791,-841,-633,-512,-587,-862,-823,-523,-662,-790,-769,-772,-785,-537,-543,-824,-916,-665,-666,-514,-767,-521,982,928,636,782,668,828,944,996,581,792,859,950,562,976,590,998,721,949,861,817,759,762,608,943,522}

    {354,367,268,-567,-575,445,-403,-590,-166,303,-568,364,-306,717,-81,-956,-753,-400,133,963,-337,-151,892,438,-890,-524,-168,-962,873,42,-648,869,-128,427,-808,26,-743,-160,-601,-339,-463,665,63,-83,-561,-492,253,-849,878,-734}

    Returns: "[[[[[[[[(-801,354)][(-823,303)]][(-767,438)]][[[[(-609,367)][(-662,364)]][(-633,445)]][(-551,268)]]][(-824,133)]][[[(-769,717)][(-916,963)]][(-514,892)]]][[[[[(-791,-567)][(-841,-575)]][[[(-512,-403)][(-543,-400)]][[(-587,-590)][(-523,-568)]]]][[[[(-862,-166)][(-772,-81)]][(-666,-151)]][[(-790,-306)][(-665,-337)]]]][[(-785,-956)][[(-537,-753)][(-521,-890)]]]]][[[[[[[[(982,-524)][(998,-463)]][(976,-601)]][[[(828,-648)][(817,-561)]][(759,-492)]]][[(792,-808)][(950,-743)]]][[[(636,-962)][(608,-849)]][(522,-734)]]][[[[[[(928,-168)][(996,-128)]][(861,-83)]][[(859,26)][(949,63)]]][[(668,42)][(762,253)]]][[(562,-160)][(590,-339)]]]][[[[(782,873)][[(944,869)][(943,878)]]][(721,665)]][(581,427)]]]]"

  8. {-510,-721,-779,-597,-966,-659,-705,-962,-977,-509,-614,-680,-915,-927,-852,-669,-692,-535,-666,-905,-960,-652,-607,-928,-513,842,827,605,870,950,669,705,884,757,894,763,955,966,801,544,790,859,765,945,546,618,645,961,837,573}

    {-408,958,58,767,-272,536,942,-448,182,-11,-435,-247,-358,-757,594,816,990,-373,-157,593,-322,-333,259,359,-590,645,-884,96,231,-904,-169,224,-663,-868,-291,-939,196,-330,119,667,-151,988,-780,-5,-207,486,-969,414,697,454}

    Returns: "[[[[[[[[[(-510,-408)][(-535,-373)]][(-614,-435)]][(-513,-590)]][[[(-680,-247)][(-652,-333)]][(-666,-157)]]][[[[(-966,-272)][(-960,-322)]][(-915,-358)]][(-962,-448)]]][(-927,-757)]][[[[[(-721,958)][(-705,942)]][(-692,990)]][[(-597,767)][(-669,816)]]][[[[(-779,58)][(-607,259)]][(-509,-11)]][[[(-659,536)][[(-852,594)][(-905,593)]]][[(-977,182)][(-928,359)]]]]]][[[[[[(842,645)][(837,697)]][[(544,667)][[(618,486)][(573,454)]]]][(859,988)]][[[[[(605,96)][[(705,224)][(801,119)]]][[[(870,231)][(955,196)]][(961,414)]]][(945,-5)]][[[[(669,-169)][(790,-151)]][(546,-207)]][[(894,-291)][(966,-330)]]]]][[[[[[(827,-884)][[(757,-868)][(763,-939)]]][(765,-780)]][(645,-969)]][(950,-904)]][(884,-663)]]]]"

  9. {-523,-511,-736,-929,-559,-670,-676,-656,-737,-572,-626,-622,-825,-702,-672,-579,-737,-727,-831,-722,-549,-603,-848,-512,-844,820,645,574,981,953,926,565,559,570,633,711,733,660,861,501,658,887,718,651,854,838,577,621,853,928}

    {297,564,925,-256,408,527,-675,-980,398,654,-427,897,597,-496,-763,-850,201,-658,-398,-906,284,-369,-525,-915,444,-209,250,-379,133,287,898,547,-139,-673,847,413,359,325,-720,-147,-136,-802,868,-3,-693,-609,-167,-927,60,981}

    Returns: "[[[[[[[[(-523,297)][(-549,284)]][(-559,408)]][(-737,201)]][[[[(-511,564)][(-572,654)]][(-670,527)]][[[(-737,398)][(-844,444)]][(-825,597)]]]][[(-736,925)][(-622,897)]]][[[(-929,-256)][[[[(-626,-427)][(-603,-369)]][(-702,-496)]][[(-831,-398)][(-848,-525)]]]][[[[(-676,-675)][(-727,-658)]][(-672,-763)]][[[(-656,-980)][(-722,-906)]][[(-579,-850)][(-512,-915)]]]]]][[[[[[(820,-209)][[[[[(559,-139)][(577,-167)]][(501,-147)]][(658,-136)]][(651,-3)]]][(574,-379)]][[[[[(645,250)][(660,325)]][[(711,413)][(733,359)]]][(565,547)]][[[(981,133)][(853,60)]][(953,287)]]]][[[(570,-673)][(621,-927)]][[[[(861,-720)][(854,-693)]][(838,-609)]][(887,-802)]]]][[[(926,898)][(928,981)]][[(633,847)][(718,868)]]]]]"

  10. {-768,-625,-728,-542,-817,-849,-696,-956,-522,-984,-880,-507,-642,-989,-551,-788,-964,-562,-651,-864,-703,-993,-539,-894,-854,862,790,592,567,647,918,715,908,508,687,532,591,998,726,542,683,515,819,879,501,632,983,854,540,625}

    {600,297,-548,495,-603,-985,105,-283,376,-653,979,129,-493,-911,26,-158,662,262,338,-763,-913,129,-307,467,-472,-357,265,-560,-548,207,152,-672,997,-809,-546,-306,-448,977,57,752,14,483,7,359,-815,-862,-888,-86,-781,804}

    Returns: "[[[[[[[(-768,600)][(-894,467)]][(-964,662)]][(-880,979)]][[[[[[(-625,297)][(-651,338)]][(-562,262)]][[(-542,495)][(-522,376)]]][[(-696,105)][[(-507,129)][(-551,26)]]]][(-993,129)]]][[[[[[(-728,-548)][(-642,-493)]][[(-817,-603)][(-854,-472)]]][[(-984,-653)][(-864,-763)]]][[[(-849,-985)][(-989,-911)]][(-703,-913)]]][[[(-956,-283)][(-788,-158)]][(-539,-307)]]]][[[[[(862,-357)][[[[[[(592,-560)][(567,-548)]][(591,-448)]][(687,-546)]][(715,-672)]][(532,-306)]]][[[[(508,-809)][(501,-815)]][(540,-781)]][(632,-862)]]][(983,-888)]][[[[[[(790,265)][(879,359)]][(918,152)]][(647,207)]][[[(726,57)][(683,14)]][[(819,7)][(854,-86)]]]][[[(908,997)][(998,977)]][[[(542,752)][(625,804)]][(515,483)]]]]]]"

  11. {-644,-906,-574,-984,-602,-835,-739,-871,-799,-743,-711,-998,-895,-648,-863,-865,-914,-984,-637,-624,-608,-656,-557,-723,-962,500,749,741,752,774,891,818,624,756,669,852,696,620,943,872,701,594,602,816,581,784,798,860,980,553}

    {773,-911,-261,-666,356,-868,252,559,117,-613,540,-614,-294,753,-225,10,-750,338,-174,-575,89,-175,611,445,-229,-375,283,-274,425,-81,-594,76,-249,-689,72,-681,-631,502,-27,545,-509,824,-172,-135,638,-687,546,674,-643,98}

    Returns: "[[[[[[(-644,773)][(-648,753)]][(-557,611)]][[[[(-602,356)][(-739,252)]][[(-871,559)][[(-711,540)][(-723,445)]]]][(-984,338)]]][[[[[(-906,-911)][(-835,-868)]][[[(-984,-666)][(-998,-614)]][(-914,-750)]]][[(-743,-613)][(-624,-575)]]][[[[(-574,-261)][[(-637,-174)][(-656,-175)]]][[[(-895,-294)][(-863,-225)]][(-962,-229)]]][[[(-799,117)][(-865,10)]][(-608,89)]]]]][[[[[(500,-375)][[(741,-274)][[(624,-249)][(602,-172)]]]][[[[(774,-81)][(816,-135)]][[(818,76)][(943,-27)]]][[(669,72)][(553,98)]]]][[[[(891,-594)][(980,-643)]][[[[(756,-689)][(784,-687)]][(852,-681)]][(696,-631)]]][(701,-509)]]][[[[(749,283)][(752,425)]][[[(872,545)][(798,546)]][(860,674)]]][[[(620,502)][(581,638)]][(594,824)]]]]]"

  12. {-738,-936,-962,-859,-652,-503,-789,-773,-854,-769,-631,-739,-696,-661,-523,-656,-833,-577,-889,-994,-840,-945,-527,-844,-934,889,808,633,545,822,933,924,695,715,733,619,535,858,699,692,734,918,809,821,861,693,906,1000,629,704}

    {-655,-542,782,514,-61,-778,747,276,771,-429,185,826,-349,-821,-206,836,-333,-729,-666,971,-751,344,537,651,208,-381,-96,759,141,-693,-519,-925,13,-905,-243,-542,779,-125,630,661,752,-430,561,-300,938,540,-751,830,785,-904}

    Returns: "[[[[[[[(-738,-655)][[(-889,-666)][(-840,-751)]]][(-936,-542)]][[[(-503,-778)][(-577,-729)]][(-661,-821)]]][[[(-652,-61)][(-523,-206)]][[[(-769,-429)][(-696,-349)]][(-833,-333)]]]][[[[[(-962,782)][[[(-789,747)][(-854,771)]][(-844,651)]]][[(-739,826)][(-656,836)]]][(-994,971)]][[[[(-859,514)][[(-945,344)][(-934,208)]]][[(-773,276)][(-631,185)]]][(-527,537)]]]][[[[[[[[(889,-381)][(918,-430)]][(933,-519)]][[[(808,-96)][(858,-125)]][[(733,-243)][(821,-300)]]]][(619,-542)]][[(545,141)][(695,13)]]][[[[(822,-693)][(906,-751)]][(924,-925)]][[(715,-905)][(704,-904)]]]][[[[[[(633,759)][(629,785)]][(535,779)]][(734,752)]][[[[(699,630)][(692,661)]][(693,540)]][(809,561)]]][[(861,938)][(1000,830)]]]]]"

  13. {-694,-755,-626,-510,-763,-896,-665,-909,-573,-831,-532,-617,-936,-760,-648,-619,-744,-667,-661,-620,-703,-887,-746,-803,-949,958,650,544,860,741,777,517,987,774,721,680,567,817,590,772,938,655,809,642,606,703,938,818,548,921}

    {822,-709,474,335,-467,-440,-782,-647,-830,-885,-845,689,-108,57,423,613,-804,722,2,-134,470,-855,474,-542,-58,-830,193,-994,-370,-413,-853,267,327,248,-194,-396,761,921,-79,258,171,-307,-704,662,279,722,385,-390,426,545}

    Returns: "[[[[[[(-694,822)][[[(-617,689)][(-667,722)]][(-619,613)]]][[[[(-626,474)][(-648,423)]][[(-703,470)][(-746,474)]]][(-510,335)]]][[[(-936,-108)][(-949,-58)]][[[(-760,57)][(-661,2)]][(-620,-134)]]]][[[[[(-755,-709)][[(-665,-782)][(-744,-804)]]][[(-831,-885)][(-887,-855)]]][[(-573,-830)][(-532,-845)]]][[[[(-763,-467)][(-803,-542)]][(-896,-440)]][(-909,-647)]]]][[[[[(958,-830)][[(777,-853)][(809,-704)]]][(544,-994)]][[[[(860,-370)][(818,-390)]][[[(741,-413)][(680,-396)]][(655,-307)]]][[(721,-194)][(590,-79)]]]][[[[[(650,193)][[(517,267)][(606,279)]]][(548,426)]][[[[(987,327)][(938,385)]][(921,545)]][[[(774,248)][(772,258)]][(938,171)]]]][[[(567,761)][[(642,662)][(703,722)]]][(817,921)]]]]]"

  14. {-671,-634,-752,-945,-560,-706,-650,-528,-911,-522,-719,-695,-692,-705,-810,-726,-548,-935,-515,-992,-553,-675,-969,-885,-926,992,509,596,623,597,538,739,618,985,931,704,945,860,927,884,659,580,617,600,788,786,651,510,811,984}

    {24,178,-568,774,985,119,260,723,-659,950,-179,-683,901,818,-501,560,-822,707,-756,-359,-725,-901,-52,120,273,862,-522,-236,-422,-752,493,-757,119,-38,-575,-209,-359,436,-49,-245,-266,-673,-6,256,773,-868,-969,283,-461,558}

    Returns: "[[[[[[[[(-671,24)][(-706,119)]][[(-634,178)][(-650,260)]]][[(-969,-52)][[(-885,120)][(-926,273)]]]][[(-719,-179)][(-992,-359)]]][[[[[(-752,-568)][(-810,-501)]][(-695,-683)]][(-911,-659)]][[[(-548,-822)][[(-515,-756)][(-553,-725)]]][(-675,-901)]]]][[[[(-945,774)][(-935,707)]][(-726,560)]][[[[(-560,985)][(-522,950)]][[(-692,901)][(-705,818)]]][(-528,723)]]]][[[[[(992,862)][(788,773)]][[(860,436)][(984,558)]]][[(538,493)][[[(618,119)][(617,-6)]][[(600,256)][(510,283)]]]]][[[[[[(509,-522)][(623,-422)]][[[(596,-236)][(659,-266)]][(704,-209)]]][[[(931,-575)][(811,-461)]][[(945,-359)][(884,-245)]]]][[(985,-38)][(927,-49)]]][[[(597,-752)][(580,-673)]][[[(739,-757)][(786,-868)]][(651,-969)]]]]]]"

  15. {-964,-798,-517,-884,-985,-504,-770,-916,-927,-661,-850,-742,-823,-547,-832,-749,-676,-585,-623,-859,-698,-641,-553,-947,-854,729,723,735,645,590,765,815,555,995,995,519,872,546,678,514,918,954,998,798,864,640,757,984,593,841}

    {324,-20,967,-85,843,665,255,-693,-813,320,-37,-63,981,395,187,470,747,-357,-696,-826,-367,45,-938,-669,-200,-75,354,-283,100,42,483,-775,-664,584,-915,534,-582,-693,367,544,-685,146,376,125,31,468,-430,-766,966,-953}

    Returns: "[[[[[[[(-964,324)][[(-770,255)][(-832,187)]]][[[(-661,320)][(-547,395)]][(-749,470)]]][[[[[[[(-798,-20)][(-850,-37)]][(-884,-85)]][(-742,-63)]][(-854,-200)]][(-641,45)]][[(-585,-357)][(-698,-367)]]]][[[(-517,967)][[(-504,665)][(-676,747)]]][[(-985,843)][(-823,981)]]]][[[[(-916,-693)][(-947,-669)]][[(-927,-813)][(-859,-826)]]][[(-623,-696)][(-553,-938)]]]][[[[[[(729,-75)][[(645,100)][(590,42)]]][[(954,146)][[(798,125)][(864,31)]]]][[[[[[(723,354)][(678,367)]][(640,468)]][(765,483)]][[(519,534)][(514,544)]]][[(995,584)][(998,376)]]]][(593,966)]][[[[(735,-283)][(757,-430)]][[(555,-664)][(546,-693)]]][[[[(815,-775)][[(918,-685)][(984,-766)]]][(872,-582)]][[(995,-915)][(841,-953)]]]]]]"

  16. {-839,-975,-697,-644,-879,-564,-793,-921,-523,-705,-941,-951,-958,-658,-668,-610,-938,-677,-926,-897,-711,-882,-584,-534,-513,840,580,780,988,838,705,871,818,616,805,893,736,946,999,722,927,819,945,728,937,727,655,965,767,507}

    {-376,38,-554,690,489,241,757,745,-660,-686,246,318,8,637,-644,736,279,405,590,-579,962,628,578,178,-508,136,372,-618,801,760,-42,-354,736,-930,-271,-960,260,-112,-328,-594,-415,-195,-198,121,587,-88,342,-592,969,273}

    Returns: "[[[[[(-839,-376)][(-897,-579)]][[[(-697,-554)][[(-705,-686)][(-668,-644)]]][[(-523,-660)][(-513,-508)]]]][[[[[(-975,38)][(-958,8)]][[[(-941,246)][(-938,279)]][(-951,318)]]][[[(-564,241)][(-534,178)]][(-677,405)]]][[[[[[(-644,690)][(-658,637)]][(-610,736)]][(-584,578)]][[[(-879,489)][[(-926,590)][(-882,628)]]][[(-793,757)][(-921,745)]]]][(-711,962)]]]][[[[[[[[(840,136)][(728,121)]][(736,260)]][[(705,-42)][(727,-88)]]][[[(580,372)][(655,342)]][(507,273)]]][[[[(780,-618)][(722,-594)]][(965,-592)]][[[[(871,-354)][(927,-415)]][(999,-328)]][[[(805,-271)][(819,-195)]][[(946,-112)][(945,-198)]]]]]][[(616,-930)][(893,-960)]]][[[[(988,801)][[(838,760)][(818,736)]]][(937,587)]][(767,969)]]]]"

  17. {-646,-753,-694,-547,-896,-561,-774,-830,-910,-784,-886,-966,-623,-637,-555,-539,-913,-819,-908,-588,-856,-545,-529,-962,-686,502,928,667,669,977,793,629,725,763,647,647,804,987,789,854,537,926,722,529,505,721,964,975,789,868}

    {-465,-196,-53,-128,-53,205,-590,-558,-985,-698,-495,371,-521,-171,-458,787,233,-98,44,774,-973,750,-17,-28,-114,344,-510,4,34,942,445,200,-566,-924,584,-247,448,179,831,665,22,-148,249,354,-525,370,-999,-525,45,948}

    Returns: "[[[[[[[[(-646,-465)][(-623,-521)]][(-555,-458)]][[[[(-774,-590)][(-830,-558)]][(-886,-495)]][(-784,-698)]]][[(-910,-985)][(-856,-973)]]][[[[[[(-753,-196)][(-819,-98)]][[[[(-694,-53)][(-686,-114)]][[(-547,-128)][(-637,-171)]]][(-529,-17)]]][[[(-896,-53)][(-962,-28)]][(-908,44)]]][(-561,205)]][[(-966,371)][(-913,233)]]]][[[(-539,787)][(-545,750)]][(-588,774)]]][[[[[[[(502,344)][(529,354)]][[(629,200)][(722,249)]]][[[[(793,445)][(804,448)]][(721,370)]][(647,584)]]][[[[[[[(667,4)][(669,34)]][(789,45)]][(537,22)]][(647,-247)]][(926,-148)]][(987,179)]]][[[(977,942)][(868,948)]][[(789,831)][(854,665)]]]][[[[(928,-510)][(975,-525)]][[(725,-566)][(505,-525)]]][[(763,-924)][(964,-999)]]]]]"

  18. {-707,-792,-538,-941,-612,-677,-502,-914,-535,-694,-910,-919,-883,-866,-909,-935,-526,-932,-836,-959,-878,-817,-981,-550,-726,568,996,915,580,608,572,708,738,644,969,950,774,619,973,973,888,788,538,531,743,922,887,653,986,855}

    {-881,-432,-108,938,-172,564,-242,366,476,-657,737,-272,978,986,-103,-311,255,433,677,109,-913,661,173,-379,148,943,-154,-694,-362,158,-356,-580,248,-758,-285,87,66,299,-689,5,47,-996,-475,262,665,-82,-244,-746,93,-444}

    Returns: "[[[[[(-707,-881)][(-878,-913)]][[[[(-792,-432)][(-694,-657)]][[[(-919,-272)][(-935,-311)]][(-909,-103)]]][[[[(-538,-108)][(-612,-172)]][(-502,-242)]][(-550,-379)]]]][[[[(-941,938)][[(-883,978)][(-866,986)]]][[(-910,737)][[(-836,677)][(-817,661)]]]][[[[(-677,564)][(-535,476)]][[(-526,255)][(-726,148)]]][[[(-914,366)][(-932,433)]][[(-959,109)][(-981,173)]]]]]][[[(568,943)][(743,665)]][[[[[[(996,-154)][(922,-82)]][[(969,-285)][(887,-244)]]][[[[[(950,87)][(986,93)]][(973,5)]][(888,47)]][(774,66)]]][[[(608,158)][[(619,299)][(531,262)]]][(738,248)]]][[[[[[(915,-694)][(973,-689)]][(855,-444)]][[(708,-580)][[(644,-758)][(653,-746)]]]][(788,-996)]][[[(580,-362)][(572,-356)]][(538,-475)]]]]]]"

  19. {-628,-511,-739,-713,-618,-579,-744,-665,-517,-796,-856,-542,-937,-932,-814,-661,-606,-966,-901,-632,-501,-792,-577,-839,-685,582,822,654,575,660,813,996,529,964,738,647,990,640,820,990,881,915,903,929,827,549,854,531,855,972}

    {961,-755,797,-175,116,-318,-120,-843,537,738,-637,789,-558,-63,-697,-991,-300,44,942,-747,-842,606,-776,713,-47,-625,285,91,303,-131,-694,155,-868,416,-146,-468,255,694,485,-972,-704,962,726,-441,-143,139,601,-88,935,450}

    Returns: "[[[[[[(-628,961)][(-542,789)]][[[[(-739,797)][[(-796,738)][(-839,713)]]][(-792,606)]][(-901,942)]]][(-517,537)]][[[[[[(-511,-755)][(-501,-842)]][[(-665,-843)][[(-632,-747)][(-577,-776)]]]][(-661,-991)]][[[(-856,-637)][(-814,-697)]][(-937,-558)]]][[[[[[(-713,-175)][(-744,-120)]][(-685,-47)]][[(-579,-318)][(-606,-300)]]][(-618,116)]][[(-932,-63)][(-966,44)]]]]][[[[[[(582,-625)][(647,-468)]][[[(813,-694)][(881,-704)]][(929,-441)]]][(529,-868)]][(990,-972)]][[[[[(822,285)][[(996,155)][(990,255)]]][[[(964,416)][(972,450)]][[(820,485)][(854,601)]]]][[(640,694)][[[(915,962)][(855,935)]][(903,726)]]]][[[[(654,91)][(549,139)]][(575,303)]][[[[(660,-131)][(738,-146)]][(827,-143)]][(531,-88)]]]]]]"

  20. {-751,-857,-897,-928,-611,-980,-572,-554,-764,-623,-764,-992,-963,-594,-980,-596,-648,-991,-569,-814,-749,-934,-999,-888,-708,735,753,855,612,589,601,967,930,629,866,850,680,605,937,610,639,605,653,513,974,916,953,607,741,576}

    {-915,-661,544,-704,90,758,718,398,756,940,900,530,-124,181,823,-944,716,381,-230,-724,-487,257,410,-500,-950,817,312,-229,782,-548,-467,837,-871,2,-39,-675,-437,-216,-659,218,966,776,464,290,-638,937,737,489,-568,24}

    Returns: "[[[[[[[(-751,-915)][(-708,-950)]][(-596,-944)]][[[[(-857,-661)][(-814,-724)]][(-928,-704)]][[(-749,-487)][(-888,-500)]]]][[(-963,-124)][(-569,-230)]]][[[[[(-897,544)][(-992,530)]][[[(-991,381)][(-999,410)]][(-934,257)]]][[[(-611,90)][(-594,181)]][(-554,398)]]][[[(-980,758)][(-980,823)]][[[(-572,718)][(-648,716)]][[[(-764,756)][(-764,900)]][(-623,940)]]]]]][[[[[[(735,817)][[(612,782)][(605,776)]]][(639,966)]][[[(967,837)][(953,737)]][(916,937)]]][[[[(753,312)][[(653,464)][(607,489)]]][[(610,218)][(513,290)]]][[[(855,-229)][(866,-39)]][[[(629,2)][(576,24)]][(605,-216)]]]]][[[[[(589,-548)][(601,-467)]][(680,-437)]][(741,-568)]][[(930,-871)][[(850,-675)][[(937,-659)][(974,-638)]]]]]]]"

  21. {-691,-566,-649,-773,-886,-759,-961,-901,-692,-698,-578,-838,-942,-948,-860,-641,-620,-739,-915,-534,-866,-506,-655,-720,-868,853,663,828,650,561,679,735,703,600,823,914,949,964,595,887,968,676,675,811,927,948,785,730,805,836}

    {224,945,-199,106,189,795,-154,-49,796,-546,556,-220,-842,716,-925,-503,-914,693,-711,-685,-620,506,-304,-295,-565,412,-189,379,-827,53,814,588,619,-40,462,-798,92,-672,-776,-702,24,-726,186,-623,-709,851,-952,650,51,-726}

    Returns: "[[[[[[(-691,224)][[(-773,106)][(-886,189)]]][[[(-649,-199)][[(-655,-304)][(-720,-295)]]][[[(-961,-154)][(-901,-49)]][(-838,-220)]]]][[[[[(-698,-546)][(-641,-503)]][(-534,-685)]][[[(-942,-842)][(-860,-925)]][[(-915,-711)][[(-866,-620)][(-868,-565)]]]]][(-620,-914)]]][[[(-566,945)][[[[(-759,795)][(-692,796)]][(-739,693)]][(-948,716)]]][[(-578,556)][(-506,506)]]]][[[[[[[(853,412)][(828,379)]][(823,462)]][[(679,814)][[(735,588)][[(703,619)][(730,650)]]]]][(948,851)]][[[(663,-189)][[[(561,53)][(600,-40)]][(675,186)]]][[[(949,92)][(968,24)]][(805,51)]]]][[[[[(650,-827)][(595,-776)]][(676,-726)]][(785,-952)]][[[(914,-798)][[[(964,-672)][[(887,-702)][(927,-709)]]][(836,-726)]]][(811,-623)]]]]]"

  22. {-728,-988,-596,-933,-515,-866,-545,-997,-700,-993,-884,-716,-520,-508,-618,-569,-930,-864,-837,-769,-987,-802,-759,-643,-753,881,530,749,679,836,652,987,715,920,727,891,727,879,727,612,893,554,971,529,848,697,542,558,847,684}

    {-305,-328,435,17,-819,956,-474,13,346,-362,-7,488,-481,-624,-63,700,-406,680,-887,983,-815,976,118,646,469,-330,-102,825,-211,-205,-142,-592,353,634,897,-904,-412,-955,730,166,936,-750,-687,-227,-892,831,345,-859,-323,-825}

    Returns: "[[[[[[(-728,-305)][[[(-988,-328)][(-993,-362)]][(-930,-406)]]][[[[[(-933,17)][(-884,-7)]][(-997,13)]][(-759,118)]][(-618,-63)]]][[[(-515,-819)][[[(-545,-474)][(-520,-481)]][(-508,-624)]]][[(-837,-887)][(-987,-815)]]]][[[[[(-596,435)][(-700,346)]][[(-716,488)][(-753,469)]]][[[(-569,700)][(-643,646)]][(-864,680)]]][[(-866,956)][[(-769,983)][(-802,976)]]]]][[[[[[[[(881,-330)][(847,-323)]][(836,-205)]][(727,-412)]][[[(530,-102)][(529,-227)]][[(679,-211)][(652,-142)]]]][[[(715,353)][(542,345)]][(612,166)]]][[[(987,-592)][(971,-687)]][[[[(891,-904)][(848,-892)]][(879,-955)]][[[(554,-750)][(558,-859)]][(684,-825)]]]]][[[[[[(749,825)][(697,831)]][(727,897)]][(727,730)]][(893,936)]][(920,634)]]]]"

  23. {-648,-524,-951,-511,-983,-537,-520,-760,-744,-566,-543,-586,-674,-559,-578,-687,-902,-526,-688,-715,-585,-640,-605,-926,-620,866,529,825,673,747,508,683,629,595,974,674,939,937,599,743,688,753,614,601,528,868,778,704,805,971}

    {-116,-913,-409,-692,-412,-924,759,-333,-535,-330,380,-295,-106,331,-500,529,-106,-240,954,657,-770,506,-616,-247,174,-753,-943,-44,-506,-368,740,384,101,-261,-862,286,193,-421,-897,236,975,-832,594,672,-870,190,202,-202,96,-25}

    Returns: "[[[[[[[(-648,-116)][(-674,-106)]][[(-760,-333)][[[(-566,-330)][(-586,-295)]][(-526,-240)]]]][[[(-951,-409)][(-983,-412)]][[(-902,-106)][(-926,-247)]]]][[[[(-524,-913)][(-537,-924)]][[(-511,-692)][(-585,-770)]]][[(-744,-535)][[(-578,-500)][(-605,-616)]]]]][[[(-520,759)][(-688,954)]][[[[(-543,380)][(-559,331)]][(-620,174)]][[[(-687,529)][(-640,506)]][(-715,657)]]]]][[[[[(866,-753)][(753,-832)]][(974,-862)]][[[(529,-943)][(528,-870)]][(599,-897)]]][[[[[(825,-44)][(971,-25)]][[[[(683,384)][(674,286)]][[[(939,193)][(868,190)]][[[(743,236)][(778,202)]][(805,96)]]]][(629,101)]]][[[[(673,-506)][(747,-368)]][[(595,-261)][(704,-202)]]][(937,-421)]]][[[(508,740)][[(614,594)][(601,672)]]][(688,975)]]]]]"

  24. {-767,-573,-686,-723,-559,-711,-874,-507,-701,-917,-792,-540,-562,-821,-504,-695,-564,-764,-634,-544,-763,-647,-804,-586,-863,894,587,648,840,992,629,674,598,927,856,713,521,888,522,554,814,669,947,916,907,787,633,990,801,992}

    {179,946,521,-292,-549,48,-792,656,628,654,285,-676,-468,345,671,-901,518,119,-416,-570,274,-228,833,836,-963,138,-526,297,225,126,338,383,660,840,-84,-774,284,829,721,-917,-825,269,324,-171,-81,813,-520,-551,-538,431}

    Returns: "[[[[[[[(-767,179)][(-764,119)]][(-711,48)]][[[(-792,285)][(-763,274)]][(-821,345)]]][[[[(-573,946)][(-586,836)]][[[[(-686,521)][(-701,628)]][(-564,518)]][[(-507,656)][(-504,671)]]]][[(-917,654)][(-804,833)]]]][[[[(-723,-292)][(-647,-228)]][[[[(-559,-549)][(-544,-570)]][(-540,-676)]][[(-562,-468)][(-634,-416)]]]][[[(-874,-792)][(-863,-963)]][(-695,-901)]]]][[[[[[[[(894,138)][(992,126)]][(840,225)]][[(947,324)][(992,431)]]][[[[[(648,297)][(669,269)]][(629,338)]][(674,383)]][(521,284)]]][[[(856,-84)][(907,-81)]][(916,-171)]]][[[(598,660)][(522,721)]][[[(927,840)][(888,829)]][(787,813)]]]][[[[(587,-526)][(633,-520)]][[(990,-551)][(801,-538)]]][[[(713,-774)][(814,-825)]][(554,-917)]]]]]"

  25. {-936,-543,-671,-631,-655,-611,-818,-814,-764,-980,-893,-719,-666,-547,-757,-996,-810,-820,-658,-563,-607,-829,-797,-690,-841,828,569,788,829,552,976,872,626,800,572,848,536,769,654,819,959,856,827,583,606,503,522,833,802,776}

    {-164,905,-430,227,-783,166,-357,-905,301,44,-496,-646,-615,-287,429,-138,681,-982,-600,-627,-952,-191,439,824,-299,646,295,536,-323,200,216,486,-423,171,454,-49,10,117,-871,633,-951,-188,-709,802,337,-531,362,287,119,-942}

    Returns: "[[[[[[[[(-936,-164)][(-996,-138)]][[[(-818,-357)][(-841,-299)]][(-829,-191)]]][(-893,-496)]][(-980,44)]][[[[(-671,-430)][(-547,-287)]][[(-655,-783)][[[(-719,-646)][[(-666,-615)][(-658,-600)]]][(-563,-627)]]]][[[(-814,-905)][(-820,-982)]][(-607,-952)]]]][[[[(-543,905)][(-690,824)]][(-810,681)]][[[(-631,227)][(-611,166)]][[(-764,301)][[(-757,429)][(-797,439)]]]]]][[[[[[(828,646)][(819,633)]][[(788,536)][(872,486)]]][(583,802)]][[[[[[[(569,295)][(606,337)]][(522,362)]][(572,454)]][(552,200)]][(536,10)]][[(976,216)][[[(800,171)][[(769,117)][(802,119)]]][(833,287)]]]]][[[[[(829,-323)][(856,-188)]][(848,-49)]][[(626,-423)][(503,-531)]]][[[[(654,-871)][(776,-942)]][(827,-709)]][(959,-951)]]]]]"

  26. {-629,-628,-763,-629,-752,-910,-720,-904,-805,-747,-608,-845,-503,-520,-521,-987,-604,-932,-703,-740,-695,-792,-735,-861,-529,634,602,714,597,959,940,983,613,647,968,515,524,607,826,682,583,837,699,554,661,786,900,851,828,957}

    {514,-96,-686,-989,-872,-701,-193,669,-948,-949,-769,-418,-210,700,555,-207,761,-801,-890,976,364,888,205,-787,681,-317,569,483,-26,441,-669,231,-824,771,-516,-494,96,-571,55,-616,-584,-838,935,-705,-750,-112,459,446,-163,-666}

    Returns: "[[[[[[[(-629,514)][(-521,555)]][[[(-520,700)][(-529,681)]][(-604,761)]]][[(-904,669)][[(-740,976)][(-792,888)]]]][[(-695,364)][(-735,205)]]][[[[[(-628,-96)][(-720,-193)]][(-503,-210)]][[(-845,-418)][(-987,-207)]]][[[(-763,-686)][[(-910,-701)][[(-932,-801)][(-861,-787)]]]][[[(-629,-989)][[[(-752,-872)][(-703,-890)]][[(-805,-948)][(-747,-949)]]]][(-608,-769)]]]]][[[[(634,-317)][[[(597,-26)][(524,96)]][[(826,55)][[(786,-112)][(828,-163)]]]]][[[[[(940,-669)][(957,-666)]][(968,-516)]][(837,-838)]][[[[(613,-824)][(661,-750)]][(554,-705)]][[(515,-494)][[[(607,-571)][(583,-584)]][(682,-616)]]]]]][[[[(602,569)][(714,483)]][[[(959,441)][[(900,459)][(851,446)]]][(983,231)]]][[(647,771)][(699,935)]]]]]"

  27. {-838,-653,-946,-840,-773,-511,-611,-966,-951,-705,-573,-564,-803,-911,-971,-953,-633,-875,-560,-570,-513,-913,-894,-701,-549,941,940,880,819,585,599,598,747,567,766,888,736,529,752,529,785,723,990,563,576,906,549,995,776,601}

    {-83,-117,-12,-160,710,808,-165,-706,834,443,573,50,382,226,-582,-590,-98,-404,-124,52,-95,720,-221,-251,631,655,287,-349,-686,-264,509,-401,166,30,-512,847,-522,180,-145,-76,-490,539,-833,756,487,614,-897,479,588,-546}

    Returns: "[[[[[[[[(-838,-83)][(-840,-160)]][(-894,-221)]][(-946,-12)]][[[[[[(-653,-117)][(-633,-98)]][(-611,-165)]][[(-560,-124)][(-513,-95)]]][(-701,-251)]][[(-564,50)][(-570,52)]]]][[[(-966,-706)][[(-971,-582)][(-953,-590)]]][(-875,-404)]]][[[[(-773,710)][[(-951,834)][(-913,720)]]][[(-511,808)][[(-573,573)][(-549,631)]]]][[[(-705,443)][(-803,382)]][(-911,226)]]]][[[[[[[(941,655)][(906,614)]][(995,479)]][(888,847)]][[[[(599,509)][(576,487)]][[(723,539)][(776,588)]]][(563,756)]]][[[(940,287)][(747,166)]][[[(567,30)][(529,-76)]][(529,180)]]]][[[[[(880,-349)][(752,-145)]][[(585,-264)][(598,-401)]]][[(819,-686)][[[[(766,-512)][(785,-490)]][(736,-522)]][(601,-546)]]]][[(990,-833)][(549,-897)]]]]]"

  28. {-519,-541,-520,-806,-990,-575,-728,-566,-819,-534,-502,-669,-602,-850,-638,-980,-585,-740,-766,-644,-841,-798,-665,-852,-925,948,529,535,573,689,794,654,601,990,790,801,650,927,831,865,864,962,620,964,672,625,854,791,921,950}

    {-339,362,734,125,-470,-227,521,-167,602,-76,-502,-951,-931,240,-485,366,-484,74,-187,822,973,-436,72,-904,-592,-128,248,470,102,-390,-249,-202,-550,-408,-815,-102,54,-709,202,836,60,568,-241,860,-172,390,106,443,341,576}

    Returns: "[[[[[[[(-519,-339)][[(-502,-502)][[(-638,-485)][(-585,-484)]]]][[[[(-575,-227)][(-566,-167)]][(-534,-76)]][(-766,-187)]]][[[(-990,-470)][(-925,-592)]][(-798,-436)]]][[[(-669,-951)][(-602,-931)]][(-852,-904)]]][[[(-541,362)][[[(-806,125)][[(-740,74)][(-665,72)]]][[(-850,240)][(-980,366)]]]][[[[(-520,734)][(-644,822)]][[(-728,521)][(-819,602)]]][(-841,973)]]]][[[[[[(948,-128)][[[(794,-249)][(801,-102)]][[[(654,-202)][(672,-172)]][(620,-241)]]]][[(689,-390)][(601,-550)]]][(990,-408)]][[(790,-815)][(927,-709)]]][[[[[(529,248)][[(573,102)][(650,54)]]][[(831,202)][[(864,60)][(854,106)]]]][[[(535,470)][(625,390)]][[[(962,568)][(950,576)]][[(791,443)][(921,341)]]]]][[(865,836)][(964,860)]]]]]"

  29. {-718,-859,-554,-775,-977,-523,-613,-957,-953,-864,-862,-502,-887,-529,-881,-673,-905,-639,-588,-784,-750,-918,-576,-697,-775,615,941,890,901,827,979,929,730,503,583,736,722,583,738,759,913,949,566,607,765,594,696,853,864,962}

    {-458,-411,640,-68,123,-89,-201,781,-884,-339,-698,-224,36,732,619,-810,146,703,-772,318,-924,663,289,712,-698,214,-151,171,48,-891,411,454,739,-585,142,760,-154,240,-610,-575,870,291,802,576,-93,843,-927,262,767,833}

    Returns: "[[[[[[[(-718,-458)][[(-859,-411)][(-864,-339)]]][[(-523,-89)][[(-613,-201)][(-502,-224)]]]][[[(-775,-68)][[[(-977,123)][(-905,146)]][(-887,36)]]][[(-784,318)][(-576,289)]]]][[(-953,-884)][[[(-862,-698)][(-775,-698)]][[[(-673,-810)][(-588,-772)]][(-750,-924)]]]]][[[[(-554,640)][(-529,732)]][[(-639,703)][(-697,712)]]][[(-957,781)][[(-881,619)][(-918,663)]]]]][[[[[[[(615,214)][(583,240)]][(583,142)]][[[[[(890,171)][(853,262)]][(949,291)]][(901,48)]][[(979,411)][(929,454)]]]][[(941,-151)][[(722,-154)][(765,-93)]]]][[[[[(730,739)][(736,760)]][[(566,802)][(594,843)]]][(607,576)]][[[(913,870)][(962,833)]][(864,767)]]]][[[(827,-891)][(696,-927)]][[(503,-585)][[(738,-610)][(759,-575)]]]]]]"

  30. {-683,-730,-832,-728,-781,-600,-818,-668,-559,-624,-642,-562,-640,-601,-843,-746,-727,-831,-874,-808,-648,-670,-997,-634,-886,843,911,576,660,726,808,710,865,622,653,508,826,950,601,897,689,677,565,742,561,727,597,658,520,966}

    {228,181,105,869,573,-935,-598,-949,-953,-828,-974,614,586,378,-929,996,38,611,-188,-184,-769,-345,-999,-239,-90,-52,-735,-918,315,487,331,295,-202,-129,962,128,-546,738,-612,-981,-914,744,210,54,-177,210,-960,-896,-475,-194}

    Returns: "[[[[[[[(-683,228)][(-730,181)]][[(-832,105)][(-727,38)]]][[[[(-874,-188)][(-808,-184)]][(-886,-90)]][[(-670,-345)][(-634,-239)]]]][[[(-728,869)][(-746,996)]][[[[(-781,573)][(-831,611)]][[(-562,614)][(-640,586)]]][(-601,378)]]]][[[[[[(-600,-935)][(-559,-953)]][[(-668,-949)][(-642,-974)]]][[(-624,-828)][(-648,-769)]]][[(-843,-929)][(-997,-999)]]][(-818,-598)]]][[[[[[[(843,-52)][(742,54)]][[(865,-202)][(966,-194)]]][[(622,-129)][(561,-177)]]][[[[[[(660,315)][(710,295)]][(727,210)]][(808,331)]][(726,487)]][[(508,128)][(565,210)]]]][[[(653,962)][(677,744)]][(950,738)]]][[[[(911,-735)][(826,-546)]][[(601,-612)][(520,-475)]]][[[[(576,-918)][(597,-960)]][[(689,-914)][(658,-896)]]][(897,-981)]]]]]"

  31. {-815,-722,-926,-889,-522,-825,-611,-625,-667,-546,-527,-668,-881,-596,-537,-792,-773,-990,-907,-710,-917,-583,-626,-712,-719,895,719,576,839,665,653,850,727,987,628,884,763,803,903,870,880,984,592,581,897,574,960,605,935,609}

    {-948,499,421,660,906,-449,507,-858,-479,929,233,83,-21,896,581,-761,-244,-365,598,-81,-498,-46,796,-621,-333,-669,69,538,194,260,192,-405,-856,-931,14,-906,449,314,292,-937,705,346,-419,139,383,-940,-830,696,-117,-97}

    Returns: "[[[[[[[(-815,-948)][(-792,-761)]][(-625,-858)]][[[[[(-825,-449)][(-917,-498)]][(-990,-365)]][[(-773,-244)][(-719,-333)]]][[(-667,-479)][(-712,-621)]]]][[(-527,233)][[[(-668,83)][[(-710,-81)][(-583,-46)]]][(-881,-21)]]]][[[[(-722,499)][[(-611,507)][(-537,581)]]][[(-926,421)][[(-889,660)][(-907,598)]]]][[[[(-522,906)][(-546,929)]][(-596,896)]][(-626,796)]]]][[[[[(895,-669)][[[(987,-931)][(960,-830)]][[(884,-906)][(870,-937)]]]][[(727,-856)][(574,-940)]]][[[(850,-405)][(592,-419)]][(935,-117)]]][[[[[[(719,69)][(628,14)]][(609,-97)]][[[(665,260)][(653,192)]][(581,139)]]][[[[(839,194)][(803,314)]][[[(903,292)][(897,383)]][(984,346)]]][(763,449)]]][[[(576,538)][(605,696)]][(880,705)]]]]]"

  32. {-878,-682,-860,-800,-953,-736,-929,-885,-566,-982,-683,-906,-714,-508,-561,-773,-973,-895,-790,-540,-633,-974,-615,-889,-516,950,844,802,626,934,768,908,973,736,873,984,822,819,965,902,605,656,868,542,894,522,982,740,747,635}

    {514,184,-25,-706,-829,329,-981,526,-178,774,-795,497,-813,-184,-812,832,406,196,-310,531,-66,-167,-412,248,-373,989,791,-18,533,-934,144,925,-395,193,62,-27,697,956,-859,-275,-984,553,-549,391,776,692,-610,893,-646,-47}

    Returns: "[[[[[[[[[(-878,514)][(-885,526)]][(-906,497)]][(-973,406)]][[[(-682,184)][(-736,329)]][[(-895,196)][(-889,248)]]]][(-540,531)]][[(-982,774)][(-773,832)]]][[[[(-860,-25)][(-974,-167)]][[[[(-566,-178)][(-508,-184)]][(-633,-66)]][[(-790,-310)][[(-615,-412)][(-516,-373)]]]]][[[(-800,-706)][[[(-683,-795)][(-714,-813)]][(-561,-812)]]][[(-953,-829)][(-929,-981)]]]]][[[[[[[(950,989)][(908,925)]][[(819,956)][(740,893)]]][[[(844,791)][(894,776)]][(822,697)]]][[[[(626,533)][(656,553)]][(542,391)]][(522,692)]]][[[[[(802,-18)][(873,62)]][(984,-27)]][[(768,144)][(736,193)]]][(635,-47)]]][[[[(934,-934)][(965,-859)]][(605,-984)]][[[(973,-395)][(902,-275)]][[[(868,-549)][(982,-610)]][(747,-646)]]]]]]"

  33. {-687,-733,-926,-795,-972,-932,-741,-847,-710,-562,-935,-732,-641,-645,-968,-681,-573,-535,-674,-827,-653,-604,-907,-518,-623,722,933,898,624,523,759,588,776,789,827,680,527,678,895,996,765,679,812,649,973,837,946,525,601,733}

    {639,-662,-732,263,895,-347,-384,113,657,-120,-794,-912,36,29,802,-727,400,153,-101,-610,-599,372,-882,973,843,-178,22,-775,-15,-335,867,-714,85,-223,-303,-248,569,-231,-968,149,273,-247,-630,374,-730,53,-314,-1000,962,-447}

    Returns: "[[[[[[[[(-687,639)][(-710,657)]][[(-573,400)][(-604,372)]]][[(-518,973)][(-623,843)]]][[(-972,895)][(-968,802)]]][[[(-795,263)][(-847,113)]][[[[(-562,-120)][(-674,-101)]][[(-641,36)][(-645,29)]]][(-535,153)]]]][[[[[[(-733,-662)][(-681,-727)]][(-653,-599)]][(-827,-610)]][[[[(-926,-732)][(-935,-794)]][(-907,-882)]][(-732,-912)]]][[(-932,-347)][(-741,-384)]]]][[[[[[[[[(722,-178)][[[(680,-248)][(679,-247)]][(678,-231)]]][[(789,-223)][(827,-303)]]][(733,-447)]][(523,-335)]][(946,-314)]][[[[(933,22)][[(776,85)][(837,53)]]][(996,149)]][(624,-15)]]][[[[[(898,-775)][(973,-730)]][(812,-630)]][(895,-968)]][[(588,-714)][(525,-1000)]]]][[[(759,867)][(601,962)]][[(527,569)][[(765,273)][(649,374)]]]]]]"

  34. {-904,-716,-990,-962,-603,-974,-881,-625,-726,-642,-643,-563,-803,-785,-956,-895,-736,-662,-595,-713,-552,-926,-588,-782,-540,757,806,709,949,782,963,632,833,850,761,674,902,886,973,523,507,955,869,953,813,553,701,506,763,543}

    {741,-985,-847,337,-205,-755,525,787,689,-505,-938,459,424,-319,473,760,772,-395,-652,202,179,699,-675,-141,818,-432,451,912,-839,-405,-588,-227,-246,-859,523,-658,-799,190,-311,-100,585,837,-530,-33,-762,642,-570,-238,-12,584}

    Returns: "[[[[[[[[(-904,741)][(-895,760)]][(-926,699)]][[[(-625,787)][(-540,818)]][[(-726,689)][(-736,772)]]]][[(-962,337)][[[(-881,525)][(-956,473)]][(-803,424)]]]][[(-563,459)][[(-713,202)][(-552,179)]]]][[[[(-716,-985)][(-643,-938)]][[(-990,-847)][(-974,-755)]]][[[(-603,-205)][[(-785,-319)][(-782,-141)]]][[[(-642,-505)][(-662,-395)]][[(-595,-652)][(-588,-675)]]]]]][[[[[[[[(757,-432)][(782,-405)]][[(963,-588)][(869,-530)]]][[(674,-658)][(701,-570)]]][[(833,-246)][(973,-311)]]][[[[(949,-839)][(902,-799)]][(850,-859)]][(813,-762)]]][[[[(632,-227)][(506,-238)]][(523,-100)]][[(886,190)][[(953,-33)][(763,-12)]]]]][[[[(806,451)][(761,523)]][[[(507,585)][(543,584)]][(553,642)]]][[(709,912)][(955,837)]]]]]"

  35. {-923,-925,-806,-738,-952,-551,-779,-803,-757,-920,-610,-681,-606,-836,-956,-898,-598,-971,-650,-937,-952,-954,-893,-896,-601,625,559,522,513,504,741,722,699,828,608,774,782,823,708,990,730,676,724,610,525,545,872,746,850,800}

    {-10,614,649,-666,382,987,-262,-492,388,-772,155,679,972,-950,-697,-869,81,126,-147,-200,136,-207,320,402,193,958,581,39,60,785,-963,777,-393,-468,56,-540,-762,890,432,-565,-541,961,-598,-933,-941,-206,455,259,963,-83}

    Returns: "[[[[[[[[(-923,-10)][[(-971,126)][(-952,136)]]][[[(-779,-262)][(-650,-147)]][[(-937,-200)][(-954,-207)]]]][[[(-610,155)][(-601,193)]][(-598,81)]]][[[[(-925,614)][(-806,649)]][(-681,679)]][[[[(-952,382)][(-896,402)]][(-893,320)]][(-757,388)]]]][[(-551,987)][(-606,972)]]][[[(-738,-666)][(-803,-492)]][[[(-920,-772)][(-956,-697)]][[(-836,-950)][(-898,-869)]]]]][[[[[[(625,958)][(676,961)]][[(722,777)][[(823,890)][(850,963)]]]][[(559,581)][(504,785)]]][[[[[[(522,39)][(513,60)]][(608,56)]][(545,-206)]][(800,-83)]][[[(708,432)][(872,455)]][(746,259)]]]][[[[(741,-963)][[(610,-933)][(525,-941)]]][(782,-762)]][[[(699,-393)][[(828,-468)][[[(774,-540)][(730,-541)]][(724,-598)]]]][(990,-565)]]]]]"


This problem statement is the exclusive and proprietary property of TopCoder, Inc. Any unauthorized use or reproduction of this information without the prior written consent of TopCoder, Inc. is strictly prohibited. (c)2024, TopCoder, Inc. All rights reserved.
This problem was used for: