int Dev = 50;// Deviation
extern const int CNN = 3;// Case Index
extern const int P = 9;// Number of phases
extern const int PT = 6;// Number of periods in a phase
extern const int T = 54;// Number of periods
extern const int I1 =1;// Number of suppliers
extern const int I2 = 8;// Number of customers
extern const int I = 9;// Number of sites
extern const int BN = 72;//Number of bids
extern const int LBN = 9;//Number of bids on each arc
extern const int SPN = 1139;//Number of shipments
extern const int SN = 20;//Number of scenarios at each stage
extern const int MBSN = 27;//Number of shipments in a bid
// tree parameters:
double PRO[P][SN]={{0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05},{0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05},{0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05},{0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05},{0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05},{0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05},{0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05},{0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05},{0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05}}; // the probability of each scenario at each phase 
// timing parameters: 
int PTN[P]={6,6,6,6,6,6,6,6,6}; // number of periods in each phase 
int PTset[P][PT]={{0,1,2,3,4,5},{6,7,8,9,10,11},{12,13,14,15,16,17},{18,19,20,21,22,23},{24,25,26,27,28,29},{30,31,32,33,34,35},{36,37,38,39,40,41},{42,43,44,45,46,47},{48,49,50,51,52,53}}; // set of periods in each phase 
// distribution parameters: 
int sup[I][P][SN][PT]={{{{13495,0,0,0,0,0},{12974,0,0,0,0,0},{12705,0,0,0,0,0},{10857,0,0,0,0,0},{12765,0,0,0,0,0},{11622,0,0,0,0,0},{12522,0,0,0,0,0},{11620,0,0,0,0,0},{13011,0,0,0,0,0},{12362,0,0,0,0,0},{12639,0,0,0,0,0},{12036,0,0,0,0,0},{12216,0,0,0,0,0},{13194,0,0,0,0,0},{13405,0,0,0,0,0},{13747,0,0,0,0,0},{12796,0,0,0,0,0},{12531,0,0,0,0,0},{12826,0,0,0,0,0},{12610,0,0,0,0,0}},{{12766,0,0,0,0,0},{12335,0,0,0,0,0},{12471,0,0,0,0,0},{12751,0,0,0,0,0},{11858,0,0,0,0,0},{12800,0,0,0,0,0},{14105,0,0,0,0,0},{13402,0,0,0,0,0},{12708,0,0,0,0,0},{12645,0,0,0,0,0},{12326,0,0,0,0,0},{11890,0,0,0,0,0},{12775,0,0,0,0,0},{12143,0,0,0,0,0},{11818,0,0,0,0,0},{13301,0,0,0,0,0},{11884,0,0,0,0,0},{12469,0,0,0,0,0},{12718,0,0,0,0,0},{13279,0,0,0,0,0}},{{12187,0,0,0,0,0},{10913,0,0,0,0,0},{11436,0,0,0,0,0},{11540,0,0,0,0,0},{11886,0,0,0,0,0},{11480,0,0,0,0,0},{11745,0,0,0,0,0},{11740,0,0,0,0,0},{12485,0,0,0,0,0},{11202,0,0,0,0,0},{11975,0,0,0,0,0},{11306,0,0,0,0,0},{10965,0,0,0,0,0},{11414,0,0,0,0,0},{12087,0,0,0,0,0},{10970,0,0,0,0,0},{12654,0,0,0,0,0},{11945,0,0,0,0,0},{10867,0,0,0,0,0},{12245,0,0,0,0,0}},{{9824,0,0,0,0,0},{10325,0,0,0,0,0},{10549,0,0,0,0,0},{9977,0,0,0,0,0},{10750,0,0,0,0,0},{11601,0,0,0,0,0},{10225,0,0,0,0,0},{9926,0,0,0,0,0},{9966,0,0,0,0,0},{10840,0,0,0,0,0},{10172,0,0,0,0,0},{10508,0,0,0,0,0},{10326,0,0,0,0,0},{10495,0,0,0,0,0},{10406,0,0,0,0,0},{10924,0,0,0,0,0},{10162,0,0,0,0,0},{10225,0,0,0,0,0},{10712,0,0,0,0,0},{10556,0,0,0,0,0}},{{9675,0,0,0,0,0},{9317,0,0,0,0,0},{9421,0,0,0,0,0},{9628,0,0,0,0,0},{9033,0,0,0,0,0},{9361,0,0,0,0,0},{9499,0,0,0,0,0},{9365,0,0,0,0,0},{9963,0,0,0,0,0},{9630,0,0,0,0,0},{10539,0,0,0,0,0},{9503,0,0,0,0,0},{9459,0,0,0,0,0},{10098,0,0,0,0,0},{9907,0,0,0,0,0},{9429,0,0,0,0,0},{9641,0,0,0,0,0},{9720,0,0,0,0,0},{9939,0,0,0,0,0},{9693,0,0,0,0,0}},{{8495,0,0,0,0,0},{10063,0,0,0,0,0},{8843,0,0,0,0,0},{9705,0,0,0,0,0},{8947,0,0,0,0,0},{9941,0,0,0,0,0},{9422,0,0,0,0,0},{9185,0,0,0,0,0},{8797,0,0,0,0,0},{9888,0,0,0,0,0},{9596,0,0,0,0,0},{9045,0,0,0,0,0},{8271,0,0,0,0,0},{9538,0,0,0,0,0},{9915,0,0,0,0,0},{8418,0,0,0,0,0},{8761,0,0,0,0,0},{8813,0,0,0,0,0},{9138,0,0,0,0,0},{8990,0,0,0,0,0}},{{10056,0,0,0,0,0},{10154,0,0,0,0,0},{9568,0,0,0,0,0},{10425,0,0,0,0,0},{10373,0,0,0,0,0},{10603,0,0,0,0,0},{9671,0,0,0,0,0},{9503,0,0,0,0,0},{10205,0,0,0,0,0},{9077,0,0,0,0,0},{9954,0,0,0,0,0},{9759,0,0,0,0,0},{9917,0,0,0,0,0},{10432,0,0,0,0,0},{9052,0,0,0,0,0},{10102,0,0,0,0,0},{10043,0,0,0,0,0},{10672,0,0,0,0,0},{9562,0,0,0,0,0},{10346,0,0,0,0,0}},{{10416,0,0,0,0,0},{11167,0,0,0,0,0},{11783,0,0,0,0,0},{11160,0,0,0,0,0},{11015,0,0,0,0,0},{11651,0,0,0,0,0},{10713,0,0,0,0,0},{11271,0,0,0,0,0},{10341,0,0,0,0,0},{10820,0,0,0,0,0},{10724,0,0,0,0,0},{10585,0,0,0,0,0},{11807,0,0,0,0,0},{11505,0,0,0,0,0},{10104,0,0,0,0,0},{11240,0,0,0,0,0},{12102,0,0,0,0,0},{10815,0,0,0,0,0},{11279,0,0,0,0,0},{10700,0,0,0,0,0}},{{12003,0,0,0,0,0},{12600,0,0,0,0,0},{11653,0,0,0,0,0},{12224,0,0,0,0,0},{11754,0,0,0,0,0},{12858,0,0,0,0,0},{12557,0,0,0,0,0},{11821,0,0,0,0,0},{12011,0,0,0,0,0},{12188,0,0,0,0,0},{11601,0,0,0,0,0},{11740,0,0,0,0,0},{11802,0,0,0,0,0},{11607,0,0,0,0,0},{12182,0,0,0,0,0},{11975,0,0,0,0,0},{12579,0,0,0,0,0},{12302,0,0,0,0,0},{11184,0,0,0,0,0},{12248,0,0,0,0,0}}},{{{-394,-268,-156,-362,-400,-412},{-159,-391,-394,-370,-312,-350},{-300,-218,-429,-232,-223,-226},{-159,-438,-315,-432,-241,-200},{-441,-432,-297,-306,-226,-350},{-318,-412,-268,-420,-159,-247},{-365,-320,-238,-379,-318,-262},{-256,-268,-253,-362,-394,-394},{-291,-362,-368,-385,-438,-226},{-218,-441,-206,-300,-200,-212},{-435,-420,-229,-350,-320,-329},{-412,-329,-329,-235,-309,-241},{-220,-326,-329,-303,-394,-197},{-332,-253,-300,-394,-165,-303},{-232,-335,-250,-200,-300,-438},{-403,-423,-191,-320,-238,-373},{-432,-441,-335,-417,-420,-426},{-147,-391,-338,-238,-168,-223},{-270,-423,-297,-329,-282,-294},{-326,-323,-391,-415,-241,-171}},{{-188,-378,-238,-389,-363,-130},{-281,-389,-375,-378,-374,-311},{-284,-418,-274,-334,-355,-352},{-229,-229,-297,-208,-326,-326},{-383,-157,-305,-227,-331,-205},{-357,-220,-140,-375,-179,-135},{-328,-214,-356,-279,-216,-370},{-162,-235,-420,-216,-366,-386},{-307,-355,-328,-367,-248,-355},{-278,-386,-266,-334,-318,-251},{-162,-154,-361,-236,-336,-158},{-258,-232,-370,-288,-294,-303},{-380,-183,-255,-247,-304,-350},{-157,-249,-171,-370,-243,-300},{-188,-169,-182,-340,-278,-329},{-319,-386,-188,-263,-363,-378},{-386,-160,-328,-271,-262,-360},{-418,-297,-176,-348,-358,-334},{-188,-263,-207,-395,-168,-334},{-389,-295,-291,-403,-320,-342}},{{-252,-312,-224,-325,-285,-272},{-170,-162,-324,-211,-118,-198},{-165,-252,-245,-112,-272,-146},{-320,-208,-308,-282,-182,-245},{-352,-172,-329,-121,-203,-206},{-200,-310,-214,-141,-272,-227},{-332,-136,-310,-253,-261,-194},{-282,-351,-308,-249,-280,-192},{-350,-162,-193,-134,-304,-297},{-228,-271,-247,-242,-139,-243},{-190,-348,-140,-325,-188,-132},{-148,-356,-298,-125,-171,-119},{-215,-136,-154,-181,-158,-109},{-165,-276,-193,-255,-235,-115},{-272,-237,-224,-220,-199,-253},{-145,-179,-322,-143,-244,-190},{-248,-150,-301,-309,-280,-258},{-340,-198,-343,-123,-282,-243},{-148,-244,-207,-177,-315,-216},{-335,-300,-294,-287,-154,-105}},{{-288,-245,-217,-222,-145,-102},{-114,-187,-90,-89,-96,-152},{-225,-230,-159,-213,-89,-190},{-126,-174,-90,-172,-153,-195},{-248,-112,-240,-157,-97,-221},{-250,-165,-213,-225,-208,-173},{-102,-243,-131,-249,-241,-147},{-100,-138,-231,-256,-120,-102},{-160,-133,-183,-189,-127,-104},{-266,-228,-209,-227,-129,-158},{-248,-213,-218,-255,-142,-99},{-154,-202,-197,-243,-206,-234},{-126,-206,-211,-158,-224,-158},{-223,-209,-138,-134,-231,-210},{-175,-144,-234,-165,-129,-147},{-244,-223,-177,-193,-109,-168},{-130,-252,-211,-126,-150,-194},{-128,-137,-236,-153,-183,-186},{-268,-122,-193,-237,-200,-144},{-221,-209,-175,-143,-191,-160}},{{-94,-115,-84,-85,-178,-106},{-95,-207,-98,-122,-198,-165},{-157,-224,-115,-75,-203,-210},{-95,-106,-188,-165,-165,-176},{-191,-152,-135,-138,-74,-126},{-122,-216,-216,-141,-110,-143},{-179,-148,-150,-109,-156,-128},{-205,-164,-171,-178,-190,-209},{-222,-91,-215,-159,-182,-128},{-177,-189,-175,-193,-94,-121},{-91,-209,-128,-213,-182,-188},{-206,-124,-78,-135,-184,-84},{-214,-110,-184,-207,-129,-165},{-143,-188,-123,-107,-109,-166},{-145,-148,-172,-194,-74,-216},{-148,-110,-97,-196,-148,-84},{-192,-122,-141,-206,-190,-118},{-92,-215,-198,-90,-131,-204},{-165,-215,-200,-200,-138,-176},{-199,-146,-212,-85,-125,-194}},{{-179,-129,-107,-108,-185,-97},{-87,-181,-174,-109,-166,-179},{-137,-91,-121,-213,-153,-97},{-181,-213,-189,-132,-217,-172},{-143,-207,-187,-223,-155,-114},{-220,-181,-80,-222,-214,-87},{-162,-106,-107,-91,-118,-224},{-138,-151,-134,-183,-187,-129},{-197,-119,-77,-80,-108,-205},{-151,-215,-213,-157,-118,-189},{-97,-118,-140,-122,-196,-212},{-153,-198,-183,-200,-209,-129},{-197,-82,-193,-131,-87,-127},{-126,-140,-186,-168,-237,-192},{-151,-209,-160,-202,-182,-84},{-113,-190,-204,-111,-155,-89},{-103,-97,-143,-229,-150,-220},{-96,-178,-149,-188,-211,-195},{-82,-116,-139,-117,-201,-142},{-147,-132,-168,-126,-167,-99}},{{-209,-96,-177,-237,-230,-312},{-111,-119,-274,-249,-259,-278},{-181,-167,-201,-211,-149,-117},{-221,-130,-177,-227,-143,-230},{-190,-228,-179,-277,-290,-247},{-235,-170,-97,-109,-261,-282},{-219,-168,-125,-243,-147,-137},{-89,-100,-137,-133,-244,-297},{-191,-112,-162,-137,-234,-269},{-150,-109,-125,-119,-228,-193},{-254,-214,-245,-235,-250,-269},{-235,-92,-112,-291,-122,-169},{-167,-264,-218,-135,-139,-269},{-144,-109,-201,-109,-246,-302},{-197,-119,-207,-183,-135,-161},{-188,-203,-154,-295,-159,-315},{-165,-194,-152,-267,-180,-180},{-242,-197,-243,-257,-143,-182},{-150,-165,-188,-137,-284,-193},{-190,-179,-213,-161,-273,-124}},{{-134,-127,-142,-342,-209,-352},{-132,-345,-317,-149,-308,-143},{-216,-310,-307,-342,-292,-299},{-300,-268,-129,-159,-269,-134},{-202,-273,-200,-197,-222,-188},{-225,-277,-354,-336,-227,-253},{-173,-172,-273,-339,-209,-272},{-141,-188,-351,-359,-198,-331},{-247,-155,-161,-220,-175,-256},{-254,-256,-154,-266,-170,-390},{-336,-190,-359,-142,-271,-156},{-284,-153,-254,-276,-162,-167},{-270,-303,-220,-225,-378,-379},{-234,-327,-129,-126,-365,-352},{-220,-280,-278,-324,-277,-245},{-141,-146,-317,-162,-248,-387},{-261,-143,-322,-278,-376,-401},{-302,-129,-344,-240,-316,-404},{-263,-320,-190,-306,-211,-215},{-170,-296,-285,-144,-141,-371}},{{-196,-422,-327,-304,-256,-391},{-411,-140,-336,-207,-253,-323},{-293,-239,-261,-158,-279,-318},{-177,-399,-410,-237,-391,-200},{-373,-318,-227,-266,-153,-200},{-185,-177,-189,-365,-320,-279},{-293,-377,-250,-266,-259,-156},{-359,-169,-298,-426,-270,-256},{-174,-323,-189,-175,-429,-279},{-345,-407,-189,-353,-432,-394},{-226,-402,-270,-394,-215,-256},{-177,-332,-241,-164,-235,-385},{-282,-343,-342,-234,-165,-370},{-138,-399,-376,-426,-429,-335},{-213,-256,-181,-161,-391,-273},{-221,-163,-161,-204,-159,-379},{-270,-275,-290,-377,-262,-417},{-306,-197,-416,-347,-347,-215},{-224,-146,-161,-213,-312,-185},{-226,-351,-284,-435,-168,-209}}},{{{-197,-198,-248,-251,-236,-178},{-185,-112,-203,-154,-259,-285},{-220,-147,-164,-107,-234,-162},{-133,-206,-131,-224,-193,-210},{-166,-125,-140,-183,-129,-113},{-190,-145,-105,-161,-226,-237},{-104,-100,-229,-229,-118,-231},{-158,-128,-108,-120,-250,-138},{-148,-184,-119,-245,-140,-254},{-161,-140,-256,-183,-147,-197},{-212,-161,-191,-186,-254,-103},{-89,-189,-252,-134,-92,-187},{-213,-223,-98,-208,-206,-201},{-139,-147,-163,-179,-269,-128},{-146,-147,-166,-208,-153,-181},{-128,-223,-158,-147,-252,-229},{-223,-110,-100,-229,-138,-231},{-217,-242,-226,-222,-151,-193},{-192,-93,-257,-91,-114,-153},{-86,-250,-138,-179,-254,-153}},{{-174,-236,-230,-314,-142,-326},{-107,-176,-164,-146,-165,-312},{-166,-291,-241,-170,-332,-290},{-168,-187,-241,-124,-295,-214},{-263,-111,-266,-312,-153,-357},{-287,-308,-247,-309,-252,-198},{-255,-158,-121,-305,-254,-302},{-105,-238,-158,-124,-305,-136},{-263,-121,-268,-285,-149,-195},{-210,-102,-268,-248,-277,-283},{-234,-228,-313,-261,-131,-129},{-216,-287,-177,-219,-158,-219},{-242,-117,-275,-309,-197,-317},{-150,-197,-271,-270,-142,-312},{-131,-269,-121,-236,-298,-271},{-166,-133,-300,-305,-279,-300},{-109,-308,-175,-115,-302,-133},{-129,-232,-175,-281,-243,-259},{-127,-254,-288,-329,-119,-209},{-204,-244,-143,-332,-321,-143}},{{-242,-352,-291,-364,-271,-241},{-175,-329,-393,-259,-169,-215},{-188,-232,-191,-392,-360,-362},{-366,-191,-375,-359,-169,-399},{-252,-153,-265,-324,-296,-241},{-207,-222,-388,-278,-271,-289},{-124,-204,-178,-373,-379,-306},{-217,-324,-275,-216,-313,-235},{-329,-375,-259,-338,-213,-235},{-156,-158,-189,-321,-332,-178},{-336,-209,-244,-292,-277,-303},{-173,-181,-144,-400,-274,-408},{-158,-255,-207,-400,-194,-422},{-301,-235,-291,-367,-399,-289},{-262,-321,-346,-248,-368,-402},{-126,-166,-354,-359,-291,-147},{-331,-324,-267,-346,-175,-229},{-136,-316,-385,-173,-404,-241},{-336,-135,-204,-192,-280,-320},{-366,-316,-202,-327,-227,-351}},{{-324,-165,-408,-259,-160,-400},{-162,-279,-346,-379,-181,-367},{-402,-315,-378,-452,-169,-439},{-301,-282,-399,-250,-385,-259},{-413,-403,-206,-301,-364,-232},{-416,-268,-396,-181,-340,-328},{-223,-312,-209,-241,-178,-409},{-361,-394,-438,-150,-211,-232},{-350,-356,-349,-268,-349,-367},{-263,-188,-390,-418,-193,-301},{-179,-288,-194,-292,-154,-178},{-223,-344,-164,-268,-307,-187},{-413,-203,-161,-406,-452,-193},{-422,-153,-423,-289,-424,-150},{-266,-270,-173,-223,-382,-430},{-428,-365,-358,-244,-397,-259},{-165,-191,-334,-364,-376,-190},{-402,-226,-283,-265,-343,-166},{-393,-329,-188,-334,-208,-280},{-407,-347,-218,-322,-376,-169}},{{-319,-169,-175,-339,-370,-281},{-319,-172,-406,-159,-285,-238},{-256,-220,-427,-393,-262,-336},{-409,-328,-406,-210,-241,-249},{-361,-367,-400,-153,-300,-206},{-262,-373,-331,-255,-223,-418},{-253,-403,-259,-306,-318,-316},{-280,-214,-247,-291,-226,-180},{-268,-220,-178,-438,-368,-409},{-439,-178,-313,-243,-347,-284},{-418,-223,-334,-441,-400,-264},{-172,-394,-364,-285,-247,-249},{-391,-205,-322,-198,-212,-278},{-452,-244,-415,-423,-215,-357},{-436,-247,-448,-252,-168,-232},{-325,-448,-452,-360,-423,-249},{-217,-346,-301,-318,-388,-296},{-397,-343,-304,-351,-320,-238},{-313,-150,-268,-363,-270,-241},{-238,-376,-271,-354,-273,-357}},{{-148,-184,-268,-317,-210,-174},{-222,-315,-247,-383,-233,-362},{-271,-181,-385,-364,-233,-283},{-194,-396,-136,-201,-264,-330},{-188,-220,-344,-190,-266,-161},{-379,-413,-282,-301,-366,-270},{-291,-159,-314,-282,-266,-337},{-165,-257,-371,-346,-205,-330},{-262,-352,-282,-169,-156,-236},{-353,-179,-165,-322,-154,-263},{-282,-379,-190,-388,-200,-134},{-285,-405,-233,-185,-179,-312},{-242,-232,-238,-259,-233,-288},{-353,-153,-160,-158,-294,-275},{-408,-212,-244,-385,-317,-273},{-251,-220,-157,-214,-128,-171},{-302,-265,-171,-153,-182,-265},{-314,-206,-255,-219,-243,-151},{-425,-151,-244,-135,-338,-325},{-271,-187,-379,-330,-138,-181}},{{-290,-255,-328,-256,-155,-105},{-295,-237,-317,-217,-304,-167},{-281,-139,-149,-247,-209,-185},{-317,-190,-314,-284,-244,-215},{-278,-278,-174,-161,-253,-231},{-329,-123,-270,-271,-269,-261},{-358,-153,-234,-299,-304,-273},{-134,-285,-319,-292,-126,-223},{-322,-290,-198,-153,-207,-231},{-262,-334,-321,-271,-149,-195},{-163,-320,-118,-215,-234,-209},{-197,-155,-239,-131,-211,-275},{-122,-329,-259,-161,-265,-205},{-190,-262,-285,-292,-104,-183},{-310,-167,-147,-232,-176,-273},{-264,-255,-205,-249,-170,-177},{-192,-299,-147,-252,-271,-297},{-326,-206,-239,-292,-255,-175},{-338,-246,-138,-267,-180,-133},{-322,-327,-294,-110,-302,-159}},{{-242,-210,-208,-233,-185,-210},{-104,-266,-119,-117,-190,-223},{-230,-268,-248,-115,-178,-249},{-244,-247,-101,-203,-233,-114},{-280,-171,-157,-100,-193,-104},{-175,-153,-257,-222,-195,-203},{-190,-121,-165,-252,-120,-161},{-159,-255,-261,-178,-132,-156},{-263,-259,-186,-121,-147,-225},{-100,-149,-145,-214,-91,-218},{-238,-255,-150,-145,-183,-153},{-100,-102,-147,-117,-86,-116},{-257,-201,-159,-130,-238,-207},{-127,-219,-192,-215,-115,-92},{-148,-100,-119,-114,-255,-109},{-244,-158,-264,-173,-210,-133},{-227,-279,-215,-163,-202,-158},{-228,-255,-205,-124,-121,-91},{-269,-104,-246,-233,-243,-208},{-200,-246,-170,-168,-169,-207}},{{-144,-97,-94,-202,-242,-188},{-215,-91,-237,-155,-244,-168},{-192,-232,-210,-247,-171,-195},{-180,-242,-86,-252,-151,-181},{-195,-230,-166,-218,-87,-131},{-186,-123,-227,-131,-171,-138},{-160,-101,-138,-193,-210,-230},{-198,-234,-165,-141,-215,-131},{-200,-166,-178,-113,-183,-188},{-210,-86,-205,-94,-192,-113},{-180,-220,-141,-249,-158,-91},{-114,-118,-150,-240,-146,-205},{-116,-197,-195,-227,-96,-102},{-210,-131,-168,-118,-133,-96},{-151,-109,-252,-185,-205,-111},{-190,-87,-183,-119,-129,-160},{-87,-234,-230,-148,-218,-139},{-99,-232,-195,-180,-245,-150},{-156,-111,-170,-192,-250,-102},{-143,-230,-160,-222,-111,-215}}},{{{-197,-293,-487,-487,-273,-290},{-339,-309,-243,-359,-355,-266},{-372,-362,-326,-388,-299,-401},{-342,-319,-211,-266,-184,-230},{-405,-303,-296,-438,-392,-461},{-214,-194,-263,-441,-191,-217},{-484,-322,-253,-431,-441,-191},{-217,-214,-375,-368,-250,-247},{-392,-477,-191,-359,-197,-438},{-368,-355,-415,-306,-444,-168},{-345,-174,-224,-480,-332,-270},{-451,-365,-283,-431,-273,-257},{-188,-362,-339,-234,-349,-164},{-382,-240,-266,-378,-382,-385},{-470,-368,-467,-306,-451,-464},{-253,-257,-431,-444,-395,-227},{-421,-418,-197,-319,-342,-398},{-336,-247,-197,-227,-401,-171},{-250,-392,-273,-316,-191,-395},{-336,-293,-398,-418,-438,-237}},{{-472,-267,-281,-392,-351,-391},{-436,-174,-456,-323,-333,-376},{-348,-383,-188,-170,-416,-433},{-469,-444,-453,-295,-453,-172},{-344,-209,-389,-166,-154,-445},{-315,-322,-392,-226,-256,-340},{-492,-370,-204,-374,-379,-452},{-492,-364,-297,-298,-447,-406},{-246,-370,-450,-267,-308,-214},{-243,-258,-211,-377,-166,-349},{-190,-328,-300,-236,-403,-439},{-243,-225,-316,-380,-182,-310},{-436,-229,-332,-261,-163,-325},{-335,-299,-191,-361,-317,-340},{-266,-448,-262,-251,-169,-181},{-276,-338,-463,-207,-354,-334},{-210,-390,-172,-399,-154,-256},{-312,-345,-408,-261,-216,-271},{-167,-390,-207,-204,-172,-349},{-207,-270,-306,-449,-225,-265}},{{-366,-262,-235,-403,-172,-293},{-431,-181,-322,-310,-268,-234},{-345,-161,-174,-381,-167,-216},{-333,-219,-255,-212,-135,-283},{-301,-187,-386,-332,-143,-296},{-437,-348,-370,-277,-191,-368},{-313,-170,-406,-362,-156,-262},{-218,-184,-199,-397,-188,-244},{-442,-262,-297,-141,-241,-383},{-268,-323,-199,-141,-392,-190},{-301,-432,-325,-288,-223,-332},{-209,-403,-218,-250,-178,-152},{-354,-265,-392,-299,-268,-234},{-351,-357,-308,-394,-260,-131},{-266,-176,-392,-345,-148,-270},{-404,-348,-244,-182,-249,-285},{-384,-317,-356,-400,-262,-265},{-156,-173,-174,-209,-286,-213},{-156,-173,-216,-269,-201,-231},{-159,-271,-249,-326,-249,-293}},{{-305,-129,-154,-210,-244,-206},{-240,-316,-201,-206,-222,-219},{-238,-146,-318,-277,-222,-140},{-178,-168,-178,-215,-143,-188},{-258,-139,-299,-118,-305,-313},{-350,-323,-337,-176,-217,-197},{-340,-228,-251,-270,-166,-158},{-198,-245,-118,-342,-228,-243},{-372,-148,-209,-233,-132,-164},{-278,-284,-329,-333,-336,-324},{-188,-199,-204,-319,-336,-269},{-238,-345,-337,-196,-231,-195},{-225,-182,-332,-148,-314,-173},{-208,-228,-344,-222,-152,-226},{-298,-262,-299,-342,-141,-160},{-220,-282,-237,-127,-222,-221},{-172,-236,-268,-176,-137,-285},{-258,-260,-192,-280,-139,-322},{-325,-136,-287,-217,-267,-313},{-218,-287,-199,-206,-314,-112}},{{-245,-239,-279,-275,-315,-130},{-158,-204,-208,-210,-178,-250},{-234,-158,-290,-122,-193,-191},{-210,-212,-269,-235,-210,-292},{-161,-139,-122,-271,-111,-269},{-213,-237,-269,-116,-227,-300},{-119,-191,-294,-229,-241,-126},{-111,-284,-229,-275,-223,-258},{-271,-197,-229,-189,-216,-290},{-256,-296,-158,-292,-241,-252},{-171,-136,-248,-294,-170,-290},{-202,-262,-298,-292,-202,-134},{-148,-116,-302,-164,-189,-235},{-250,-288,-273,-233,-223,-258},{-308,-145,-210,-208,-218,-208},{-156,-302,-132,-162,-298,-260},{-286,-136,-288,-246,-162,-256},{-128,-147,-174,-210,-191,-313},{-297,-172,-292,-277,-248,-244},{-202,-202,-298,-304,-294,-227}},{{-162,-239,-203,-234,-132,-194},{-183,-164,-162,-271,-312,-338},{-248,-187,-171,-213,-273,-223},{-214,-273,-310,-263,-297,-171},{-168,-147,-156,-319,-229,-176},{-197,-309,-160,-180,-301,-248},{-258,-162,-141,-232,-176,-187},{-107,-223,-270,-119,-224,-194},{-256,-170,-194,-145,-317,-144},{-258,-265,-230,-302,-156,-117},{-132,-143,-312,-297,-242,-180},{-220,-109,-108,-143,-147,-227},{-149,-218,-150,-171,-315,-252},{-254,-313,-150,-260,-321,-225},{-271,-187,-241,-208,-326,-238},{-273,-202,-249,-130,-323,-207},{-191,-149,-279,-178,-279,-196},{-244,-254,-152,-139,-213,-338},{-160,-298,-308,-293,-260,-205},{-164,-284,-203,-189,-227,-124}},{{-189,-123,-154,-146,-364,-325},{-169,-287,-278,-143,-384,-247},{-132,-123,-144,-203,-186,-282},{-275,-128,-276,-334,-217,-295},{-245,-123,-285,-143,-333,-207},{-261,-296,-212,-369,-224,-247},{-210,-175,-224,-304,-188,-388},{-310,-159,-366,-238,-152,-186},{-217,-168,-200,-319,-328,-394},{-233,-180,-264,-146,-129,-250},{-240,-130,-359,-133,-382,-314},{-164,-242,-305,-131,-150,-359},{-189,-261,-273,-246,-230,-301},{-344,-135,-227,-371,-351,-303},{-143,-173,-229,-141,-258,-215},{-210,-244,-351,-178,-194,-173},{-344,-228,-244,-151,-307,-346},{-291,-254,-168,-241,-320,-383},{-252,-209,-239,-138,-333,-285},{-263,-256,-176,-369,-387,-245}},{{-167,-346,-275,-275,-423,-339},{-189,-416,-246,-444,-326,-400},{-266,-413,-211,-213,-242,-450},{-156,-278,-341,-435,-217,-302},{-277,-185,-321,-213,-408,-308},{-310,-225,-381,-406,-299,-422},{-375,-152,-179,-403,-411,-320},{-293,-315,-301,-219,-175,-237},{-162,-146,-332,-423,-344,-336},{-299,-247,-283,-154,-211,-428},{-332,-208,-150,-423,-426,-176},{-356,-362,-199,-287,-272,-459},{-326,-239,-347,-266,-196,-450},{-332,-152,-376,-417,-390,-459},{-288,-174,-390,-207,-263,-299},{-318,-247,-407,-349,-359,-231},{-411,-230,-324,-234,-347,-440},{-408,-247,-393,-225,-341,-434},{-156,-284,-234,-305,-205,-425},{-142,-275,-156,-296,-290,-373}},{{-255,-445,-425,-174,-181,-266},{-413,-349,-435,-428,-326,-378},{-331,-266,-254,-313,-263,-319},{-369,-179,-164,-477,-188,-253},{-158,-259,-406,-467,-418,-480},{-230,-422,-473,-329,-253,-303},{-391,-221,-238,-178,-345,-322},{-202,-192,-345,-349,-434,-362},{-217,-307,-222,-444,-474,-336},{-397,-426,-193,-296,-201,-326},{-340,-269,-351,-191,-392,-181},{-252,-422,-248,-309,-332,-365},{-180,-307,-267,-441,-368,-405},{-192,-400,-171,-484,-309,-480},{-321,-170,-238,-411,-395,-385},{-290,-422,-483,-322,-421,-286},{-466,-458,-348,-217,-293,-431},{-441,-371,-283,-421,-168,-461},{-227,-253,-386,-191,-349,-434},{-428,-218,-232,-411,-188,-474}}},{{{-102,-69,-158,-115,-132,-159},{-94,-158,-121,-102,-77,-118},{-138,-96,-153,-73,-150,-128},{-100,-90,-124,-133,-115,-138},{-149,-77,-164,-77,-177,-120},{-138,-77,-86,-84,-78,-156},{-143,-105,-114,-112,-167,-148},{-56,-81,-123,-135,-128,-119},{-74,-76,-128,-170,-88,-108},{-107,-95,-88,-136,-157,-92},{-83,-132,-161,-122,-113,-186},{-100,-59,-137,-130,-157,-110},{-131,-56,-86,-160,-101,-165},{-141,-122,-115,-152,-177,-188},{-104,-98,-88,-170,-73,-84},{-93,-75,-140,-82,-63,-114},{-92,-125,-62,-167,-181,-147},{-122,-76,-95,-104,-89,-174},{-93,-94,-67,-171,-176,-106},{-67,-87,-158,-96,-113,-90}},{{-82,-103,-112,-149,-105,-250},{-135,-199,-191,-118,-167,-96},{-165,-207,-209,-93,-195,-208},{-193,-183,-163,-188,-106,-203},{-173,-182,-127,-208,-174,-119},{-81,-164,-84,-222,-106,-114},{-171,-166,-80,-118,-187,-155},{-173,-128,-98,-116,-116,-220},{-78,-96,-167,-155,-150,-141},{-196,-175,-117,-122,-233,-97},{-90,-186,-101,-155,-225,-225},{-88,-94,-152,-177,-184,-99},{-130,-171,-152,-140,-90,-207},{-181,-172,-121,-158,-164,-173},{-90,-173,-136,-178,-190,-218},{-127,-140,-115,-158,-213,-118},{-163,-161,-80,-166,-113,-92},{-142,-138,-110,-152,-137,-99},{-113,-151,-145,-217,-187,-158},{-88,-120,-221,-144,-150,-195}},{{-189,-137,-193,-243,-184,-287},{-105,-135,-119,-142,-261,-232},{-257,-139,-184,-272,-278,-281},{-186,-227,-275,-220,-235,-135},{-212,-121,-259,-224,-133,-263},{-208,-232,-93,-114,-237,-168},{-94,-144,-177,-165,-212,-168},{-256,-97,-162,-281,-245,-141},{-212,-241,-195,-146,-294,-242},{-240,-200,-130,-162,-159,-141},{-112,-144,-260,-201,-239,-263},{-105,-257,-93,-135,-102,-281},{-115,-243,-260,-186,-251,-198},{-114,-248,-268,-194,-112,-174},{-173,-157,-244,-200,-223,-297},{-114,-112,-113,-133,-145,-160},{-245,-90,-273,-173,-165,-216},{-222,-167,-240,-243,-184,-168},{-212,-263,-216,-162,-204,-166},{-163,-104,-231,-122,-149,-265}},{{-223,-171,-122,-217,-171,-130},{-294,-219,-256,-173,-166,-160},{-209,-292,-217,-156,-270,-205},{-197,-156,-138,-120,-225,-124},{-207,-225,-229,-175,-152,-278},{-132,-185,-235,-262,-270,-298},{-199,-302,-246,-248,-136,-156},{-106,-112,-177,-130,-268,-134},{-144,-260,-203,-171,-104,-102},{-264,-189,-118,-193,-223,-258},{-260,-114,-183,-302,-296,-256},{-296,-296,-106,-185,-118,-225},{-148,-203,-286,-112,-134,-217},{-231,-211,-195,-120,-177,-164},{-262,-118,-272,-215,-242,-175},{-270,-104,-140,-254,-154,-114},{-266,-240,-195,-102,-229,-304},{-300,-268,-254,-223,-154,-112},{-195,-108,-268,-272,-290,-136},{-229,-102,-175,-294,-199,-168}},{{-106,-280,-250,-226,-249,-184},{-264,-284,-225,-113,-270,-254},{-233,-120,-276,-265,-115,-258},{-181,-112,-292,-230,-113,-223},{-116,-177,-156,-191,-121,-171},{-116,-215,-254,-129,-214,-267},{-229,-106,-284,-250,-197,-265},{-292,-106,-274,-207,-234,-114},{-248,-258,-268,-103,-168,-230},{-156,-260,-136,-269,-221,-140},{-242,-286,-252,-279,-189,-144},{-124,-270,-296,-257,-153,-107},{-256,-274,-185,-172,-272,-149},{-288,-258,-140,-232,-168,-272},{-164,-130,-244,-228,-144,-125},{-104,-276,-106,-146,-197,-213},{-132,-140,-234,-146,-231,-118},{-262,-179,-294,-174,-251,-177},{-118,-191,-160,-281,-193,-248},{-288,-213,-230,-113,-268,-212}},{{-238,-223,-97,-162,-179,-116},{-95,-213,-212,-155,-203,-191},{-166,-235,-137,-86,-174,-194},{-190,-232,-242,-114,-170,-176},{-166,-168,-160,-224,-135,-85},{-132,-104,-240,-224,-110,-96},{-158,-152,-135,-184,-207,-219},{-190,-180,-110,-192,-106,-168},{-127,-152,-240,-168,-129,-107},{-199,-151,-237,-99,-161,-188},{-215,-189,-224,-117,-133,-96},{-211,-118,-102,-94,-135,-84},{-240,-171,-85,-144,-119,-200},{-226,-100,-242,-141,-144,-100},{-211,-126,-225,-110,-222,-188},{-132,-99,-230,-117,-225,-206},{-98,-147,-235,-238,-194,-110},{-118,-215,-140,-189,-141,-134},{-252,-249,-195,-122,-118,-74},{-174,-126,-160,-136,-196,-84}},{{-169,-72,-75,-167,-160,-73},{-133,-185,-171,-76,-80,-94},{-199,-82,-147,-79,-162,-69},{-162,-200,-144,-86,-110,-121},{-210,-108,-107,-120,-142,-151},{-209,-193,-64,-150,-167,-153},{-113,-98,-72,-139,-109,-129},{-113,-134,-178,-97,-123,-80},{-139,-181,-166,-166,-90,-90},{-94,-81,-85,-62,-145,-115},{-147,-186,-165,-96,-124,-144},{-104,-90,-126,-169,-152,-82},{-132,-132,-179,-92,-174,-147},{-118,-186,-185,-175,-158,-138},{-186,-196,-151,-161,-87,-84},{-172,-96,-187,-149,-132,-132},{-109,-184,-132,-87,-103,-72},{-147,-86,-138,-98,-144,-140},{-140,-156,-93,-68,-77,-108},{-87,-144,-124,-69,-166,-80}},{{-82,-116,-63,-74,-115,-127},{-108,-58,-79,-138,-71,-147},{-85,-107,-60,-70,-90,-120},{-88,-65,-132,-66,-122,-127},{-61,-56,-145,-87,-112,-76},{-92,-95,-96,-117,-73,-124},{-61,-127,-50,-82,-138,-121},{-110,-106,-59,-146,-91,-101},{-127,-112,-110,-131,-117,-76},{-149,-66,-52,-144,-129,-107},{-112,-76,-63,-106,-144,-135},{-148,-101,-66,-65,-124,-141},{-82,-123,-114,-94,-87,-142},{-122,-135,-75,-98,-110,-91},{-65,-104,-56,-49,-133,-126},{-58,-140,-96,-77,-79,-67},{-118,-88,-71,-72,-75,-101},{-64,-77,-112,-129,-102,-66},{-153,-55,-75,-107,-96,-72},{-80,-143,-122,-61,-114,-111}},{{-125,-79,-77,-102,-102,-114},{-144,-60,-91,-79,-65,-96},{-95,-51,-84,-102,-126,-80},{-135,-131,-120,-105,-67,-125},{-49,-89,-60,-72,-69,-129},{-141,-70,-90,-116,-127,-88},{-108,-95,-94,-113,-62,-125},{-97,-96,-120,-104,-133,-102},{-57,-137,-66,-90,-137,-73},{-56,-99,-129,-59,-101,-120},{-74,-101,-126,-105,-51,-79},{-131,-129,-81,-55,-72,-133},{-98,-60,-137,-60,-59,-92},{-92,-128,-51,-144,-117,-51},{-138,-67,-55,-127,-65,-92},{-97,-92,-69,-111,-103,-68},{-49,-74,-122,-125,-92,-127},{-131,-81,-87,-130,-56,-78},{-127,-110,-68,-133,-133,-134},{-68,-76,-127,-61,-107,-103}}},{{{-186,-295,-169,-181,-300,-298},{-252,-312,-150,-336,-148,-324},{-203,-298,-328,-286,-159,-302},{-249,-236,-202,-152,-148,-202},{-158,-333,-243,-319,-209,-248},{-256,-302,-278,-198,-157,-148},{-303,-281,-286,-286,-138,-324},{-182,-286,-152,-152,-131,-328},{-317,-214,-188,-331,-269,-283},{-312,-178,-309,-162,-200,-174},{-212,-274,-328,-283,-143,-190},{-147,-190,-152,-181,-174,-238},{-296,-152,-124,-186,-326,-207},{-301,-326,-209,-183,-188,-228},{-284,-328,-188,-357,-350,-333},{-259,-286,-269,-309,-209,-264},{-270,-333,-119,-317,-129,-169},{-263,-312,-328,-338,-240,-136},{-345,-324,-190,-252,-326,-352},{-345,-174,-140,-133,-317,-243}},{{-350,-245,-244,-303,-334,-172},{-345,-321,-118,-319,-215,-197},{-298,-145,-132,-148,-158,-214},{-162,-350,-324,-194,-312,-296},{-148,-221,-183,-238,-145,-181},{-295,-314,-341,-337,-249,-259},{-290,-338,-352,-238,-319,-332},{-267,-150,-341,-240,-174,-256},{-171,-167,-324,-335,-280,-219},{-290,-295,-230,-337,-179,-278},{-224,-193,-322,-259,-136,-261},{-176,-181,-221,-340,-285,-265},{-214,-276,-204,-164,-307,-270},{-136,-288,-129,-217,-251,-309},{-159,-333,-237,-182,-212,-206},{-331,-157,-181,-224,-192,-285},{-350,-178,-200,-323,-287,-155},{-121,-326,-200,-136,-260,-186},{-298,-217,-249,-213,-201,-175},{-340,-255,-240,-210,-319,-316}},{{-271,-211,-149,-248,-163,-218},{-286,-238,-160,-211,-125,-166},{-161,-213,-176,-138,-129,-227},{-153,-213,-121,-119,-211,-151},{-163,-209,-210,-232,-241,-220},{-123,-111,-133,-259,-165,-230},{-226,-238,-192,-275,-108,-234},{-125,-186,-238,-191,-140,-252},{-277,-165,-277,-125,-221,-142},{-307,-155,-139,-191,-228,-189},{-295,-150,-257,-174,-112,-229},{-202,-148,-246,-207,-260,-266},{-241,-240,-117,-267,-189,-196},{-194,-226,-242,-222,-185,-146},{-314,-115,-149,-148,-118,-112},{-247,-186,-196,-238,-180,-220},{-243,-205,-242,-226,-249,-160},{-299,-238,-234,-287,-275,-236},{-172,-222,-107,-127,-237,-169},{-127,-278,-283,-189,-230,-218}},{{-139,-147,-93,-174,-98,-87},{-212,-238,-196,-78,-86,-196},{-169,-135,-83,-103,-143,-86},{-237,-241,-203,-164,-144,-145},{-89,-119,-166,-200,-196,-184},{-167,-221,-209,-150,-157,-110},{-212,-205,-215,-112,-156,-108},{-122,-216,-138,-200,-158,-81},{-208,-238,-99,-144,-202,-69},{-237,-152,-195,-165,-199,-101},{-146,-140,-221,-142,-144,-134},{-187,-167,-231,-204,-78,-153},{-237,-200,-122,-128,-88,-75},{-193,-129,-152,-142,-81,-145},{-124,-106,-201,-201,-132,-84},{-100,-243,-132,-76,-104,-207},{-253,-86,-168,-196,-101,-105},{-136,-196,-196,-118,-157,-77},{-194,-124,-126,-84,-154,-137},{-95,-214,-151,-213,-73,-121}},{{-141,-168,-92,-89,-118,-93},{-192,-103,-175,-159,-96,-87},{-109,-179,-156,-114,-64,-98},{-106,-120,-135,-140,-119,-113},{-164,-68,-103,-111,-123,-134},{-150,-83,-82,-164,-64,-65},{-158,-68,-98,-140,-125,-136},{-157,-175,-159,-137,-142,-106},{-172,-125,-130,-80,-79,-87},{-156,-169,-92,-74,-90,-94},{-102,-152,-171,-178,-144,-154},{-134,-71,-83,-105,-76,-106},{-166,-96,-119,-99,-74,-74},{-84,-189,-108,-178,-84,-131},{-198,-101,-141,-167,-99,-178},{-102,-86,-68,-82,-79,-60},{-184,-176,-115,-126,-115,-126},{-104,-117,-100,-133,-152,-73},{-120,-98,-149,-115,-145,-131},{-177,-145,-105,-65,-104,-69}},{{-120,-60,-127,-81,-163,-152},{-132,-143,-171,-127,-124,-169},{-105,-70,-99,-77,-183,-137},{-83,-60,-133,-157,-126,-159},{-131,-164,-102,-159,-61,-111},{-113,-146,-145,-108,-140,-107},{-156,-133,-154,-170,-145,-86},{-75,-173,-163,-120,-150,-140},{-83,-178,-165,-151,-72,-116},{-157,-63,-159,-130,-171,-180},{-87,-113,-168,-124,-70,-135},{-162,-126,-121,-120,-90,-144},{-171,-87,-68,-62,-143,-102},{-167,-92,-148,-107,-177,-185},{-70,-145,-133,-74,-68,-150},{-81,-87,-101,-109,-159,-72},{-165,-159,-99,-115,-71,-171},{-92,-167,-173,-60,-133,-92},{-80,-64,-62,-86,-105,-125},{-150,-96,-156,-73,-84,-108}},{{-136,-181,-131,-74,-191,-178},{-66,-160,-190,-186,-228,-193},{-128,-117,-171,-111,-164,-136},{-148,-129,-209,-201,-194,-105},{-189,-180,-164,-188,-195,-186},{-98,-197,-110,-178,-177,-128},{-72,-120,-200,-86,-232,-194},{-186,-72,-195,-144,-161,-183},{-79,-156,-111,-118,-169,-122},{-186,-155,-76,-194,-102,-147},{-185,-86,-195,-200,-200,-206},{-135,-174,-148,-185,-87,-188},{-100,-116,-97,-135,-229,-160},{-181,-184,-189,-170,-141,-147},{-148,-102,-196,-126,-91,-151},{-145,-102,-195,-204,-149,-222},{-109,-188,-134,-152,-208,-89},{-172,-203,-149,-123,-119,-105},{-66,-152,-151,-86,-112,-193},{-124,-162,-106,-179,-79,-243}},{{-177,-182,-198,-190,-155,-210},{-151,-186,-224,-238,-287,-276},{-189,-188,-187,-223,-219,-222},{-92,-253,-239,-211,-251,-227},{-177,-101,-200,-240,-297,-307},{-184,-212,-226,-217,-133,-124},{-153,-103,-163,-217,-257,-109},{-185,-260,-213,-207,-251,-255},{-138,-120,-244,-179,-127,-165},{-197,-170,-96,-192,-287,-210},{-192,-196,-198,-152,-179,-154},{-117,-170,-205,-213,-119,-225},{-119,-250,-159,-144,-257,-177},{-131,-237,-189,-217,-165,-136},{-230,-168,-224,-154,-231,-225},{-162,-258,-178,-182,-173,-185},{-218,-195,-266,-278,-215,-241},{-195,-152,-185,-125,-239,-218},{-209,-163,-179,-253,-121,-216},{-226,-149,-240,-186,-227,-183}},{{-226,-313,-211,-166,-143,-136},{-136,-263,-307,-148,-249,-224},{-155,-252,-119,-236,-229,-164},{-143,-201,-302,-141,-277,-280},{-170,-261,-215,-247,-300,-136},{-268,-291,-296,-289,-307,-178},{-106,-267,-235,-134,-229,-194},{-158,-204,-184,-187,-189,-116},{-160,-311,-235,-206,-194,-118},{-290,-131,-235,-300,-166,-282},{-155,-221,-161,-155,-245,-159},{-258,-223,-177,-180,-155,-185},{-194,-173,-116,-146,-155,-155},{-181,-217,-276,-289,-141,-201},{-298,-147,-213,-307,-215,-136},{-317,-298,-273,-316,-261,-273},{-296,-171,-246,-238,-296,-224},{-175,-296,-137,-275,-231,-335},{-196,-280,-164,-143,-252,-125},{-111,-118,-197,-187,-328,-125}}},{{{-266,-391,-146,-258,-372,-258},{-290,-348,-340,-356,-380,-394},{-176,-266,-319,-311,-133,-346},{-146,-354,-133,-205,-375,-205},{-168,-176,-213,-317,-309,-290},{-186,-287,-138,-295,-271,-269},{-290,-399,-226,-282,-274,-237},{-213,-370,-136,-146,-194,-351},{-207,-269,-394,-255,-168,-223},{-133,-322,-261,-354,-271,-181},{-330,-231,-391,-192,-170,-184},{-399,-364,-173,-138,-279,-372},{-234,-266,-231,-258,-263,-285},{-356,-223,-231,-226,-213,-293},{-250,-351,-354,-215,-325,-399},{-322,-396,-263,-263,-234,-396},{-189,-364,-205,-237,-205,-351},{-293,-386,-351,-306,-372,-370},{-375,-160,-207,-327,-168,-364},{-309,-250,-247,-340,-245,-274}},{{-386,-354,-202,-277,-372,-186},{-165,-162,-133,-383,-320,-272},{-274,-144,-170,-271,-278,-130},{-367,-250,-263,-245,-296,-158},{-279,-202,-367,-364,-249,-145},{-133,-192,-327,-348,-383,-197},{-372,-364,-317,-293,-369,-228},{-266,-343,-242,-346,-286,-236},{-285,-237,-399,-136,-204,-130},{-367,-309,-165,-330,-155,-303},{-338,-362,-295,-364,-186,-295},{-141,-253,-133,-327,-252,-334},{-364,-178,-319,-247,-364,-218},{-162,-215,-184,-245,-351,-272},{-285,-157,-258,-162,-191,-179},{-210,-258,-290,-362,-299,-287},{-149,-133,-213,-189,-252,-306},{-168,-386,-210,-255,-354,-267},{-330,-223,-178,-380,-278,-368},{-354,-383,-231,-282,-312,-236}},{{-306,-339,-244,-211,-213,-284},{-210,-170,-302,-233,-301,-190},{-150,-250,-174,-193,-152,-328},{-179,-207,-315,-146,-230,-304},{-202,-321,-323,-248,-338,-321},{-267,-281,-159,-305,-169,-255},{-334,-210,-328,-263,-306,-337},{-218,-281,-323,-201,-122,-157},{-145,-283,-244,-166,-321,-171},{-161,-309,-242,-360,-191,-340},{-381,-299,-232,-139,-301,-193},{-267,-185,-302,-303,-284,-333},{-376,-137,-255,-159,-174,-265},{-368,-213,-237,-198,-311,-181},{-295,-273,-186,-275,-326,-159},{-212,-288,-318,-335,-343,-294},{-269,-349,-184,-355,-282,-301},{-238,-187,-343,-362,-198,-164},{-262,-377,-209,-146,-157,-123},{-264,-380,-129,-352,-343,-157}},{{-347,-263,-307,-140,-146,-314},{-347,-226,-305,-184,-278,-134},{-157,-176,-150,-239,-233,-255},{-336,-345,-236,-297,-184,-260},{-321,-118,-182,-253,-123,-332},{-333,-176,-305,-324,-320,-273},{-143,-134,-116,-172,-181,-240},{-321,-143,-210,-172,-273,-125},{-121,-273,-335,-189,-175,-164},{-326,-277,-173,-200,-168,-195},{-231,-174,-226,-301,-246,-137},{-340,-167,-243,-297,-119,-114},{-305,-345,-289,-260,-296,-244},{-207,-313,-337,-196,-334,-222},{-343,-306,-319,-218,-231,-329},{-202,-329,-307,-264,-311,-211},{-300,-341,-182,-225,-280,-217},{-276,-129,-213,-310,-159,-280},{-129,-120,-125,-315,-314,-235},{-286,-317,-213,-274,-267,-206}},{{-152,-219,-326,-245,-152,-258},{-306,-245,-117,-286,-119,-108},{-150,-284,-221,-141,-256,-135},{-130,-145,-250,-154,-197,-108},{-218,-187,-239,-254,-208,-306},{-134,-278,-260,-152,-158,-158},{-172,-284,-171,-204,-191,-137},{-308,-252,-158,-143,-156,-302},{-279,-141,-278,-187,-202,-208},{-172,-187,-122,-256,-267,-200},{-312,-213,-174,-289,-132,-154},{-268,-317,-117,-282,-200,-195},{-125,-315,-176,-286,-291,-269},{-121,-200,-117,-180,-276,-202},{-194,-232,-237,-245,-247,-297},{-132,-174,-295,-174,-141,-317},{-121,-213,-234,-115,-195,-321},{-238,-286,-150,-169,-304,-308},{-321,-230,-165,-302,-126,-245},{-136,-226,-139,-254,-306,-176}},{{-280,-278,-143,-176,-128,-193},{-310,-221,-291,-141,-254,-241},{-254,-169,-132,-217,-130,-139},{-323,-132,-206,-256,-184,-263},{-282,-141,-293,-293,-189,-263},{-276,-271,-304,-213,-245,-280},{-312,-315,-284,-241,-135,-265},{-178,-234,-124,-130,-180,-280},{-139,-323,-189,-163,-158,-187},{-317,-122,-254,-215,-260,-289},{-323,-271,-317,-224,-237,-156},{-245,-228,-158,-208,-182,-187},{-113,-182,-204,-258,-126,-115},{-141,-113,-319,-156,-176,-165},{-195,-124,-308,-167,-306,-156},{-208,-115,-323,-161,-224,-126},{-213,-111,-219,-189,-315,-245},{-193,-117,-267,-271,-204,-252},{-293,-323,-326,-187,-113,-206},{-226,-200,-117,-321,-308,-200}},{{-192,-332,-195,-288,-305,-280},{-199,-228,-211,-166,-148,-207},{-314,-220,-307,-267,-203,-336},{-230,-242,-119,-336,-215,-294},{-192,-146,-141,-271,-238,-249},{-281,-334,-170,-315,-127,-167},{-161,-184,-293,-269,-201,-188},{-225,-215,-240,-230,-152,-317},{-124,-291,-282,-315,-199,-221},{-183,-276,-141,-205,-333,-122},{-316,-280,-114,-304,-139,-186},{-276,-242,-334,-154,-157,-230},{-144,-172,-296,-308,-187,-212},{-210,-164,-137,-317,-247,-228},{-181,-116,-134,-253,-282,-125},{-212,-260,-320,-292,-298,-186},{-225,-314,-309,-166,-125,-317},{-323,-284,-224,-170,-273,-350},{-290,-224,-114,-292,-148,-268},{-217,-119,-215,-253,-129,-287}},{{-333,-152,-164,-211,-207,-185},{-328,-148,-213,-345,-174,-248},{-336,-220,-272,-330,-164,-329},{-324,-259,-218,-171,-267,-134},{-345,-230,-235,-278,-164,-139},{-305,-281,-240,-228,-320,-316},{-293,-177,-127,-154,-184,-321},{-148,-237,-149,-171,-370,-202},{-240,-344,-213,-184,-136,-238},{-290,-174,-306,-278,-136,-293},{-178,-317,-238,-213,-282,-228},{-183,-213,-145,-193,-348,-296},{-255,-300,-262,-206,-164,-235},{-271,-295,-282,-278,-255,-170},{-129,-138,-208,-250,-373,-291},{-236,-334,-176,-337,-189,-304},{-300,-169,-154,-255,-323,-223},{-255,-196,-277,-141,-262,-154},{-138,-203,-294,-305,-330,-316},{-281,-169,-125,-278,-192,-329}},{{-225,-332,-341,-229,-306,-181},{-282,-199,-220,-359,-388,-301},{-199,-355,-286,-394,-138,-170},{-344,-300,-278,-170,-261,-205},{-311,-168,-173,-168,-364,-314},{-295,-381,-270,-269,-375,-378},{-319,-332,-307,-351,-266,-322},{-290,-150,-354,-229,-213,-231},{-269,-277,-346,-226,-306,-335},{-321,-179,-283,-319,-370,-231},{-225,-166,-375,-346,-306,-370},{-337,-337,-217,-229,-290,-330},{-155,-287,-149,-356,-213,-354},{-228,-236,-351,-200,-218,-184},{-225,-383,-160,-245,-207,-229},{-251,-158,-228,-173,-306,-141},{-321,-355,-317,-207,-372,-380},{-194,-287,-215,-394,-200,-325},{-357,-212,-191,-277,-213,-178},{-334,-194,-301,-330,-372,-186}}},{{{-403,-427,-175,-382,-286,-287},{-262,-322,-238,-262,-211,-210},{-229,-178,-169,-400,-211,-305},{-268,-202,-262,-190,-202,-204},{-433,-160,-448,-184,-220,-296},{-367,-307,-292,-184,-286,-275},{-160,-289,-262,-346,-337,-192},{-310,-217,-403,-205,-235,-388},{-190,-340,-256,-367,-163,-252},{-331,-247,-397,-331,-181,-337},{-232,-166,-325,-271,-452,-397},{-208,-178,-247,-379,-271,-290},{-253,-439,-313,-382,-415,-201},{-439,-232,-367,-406,-319,-388},{-271,-412,-169,-271,-169,-216},{-238,-355,-436,-373,-286,-414},{-400,-262,-226,-346,-385,-157},{-403,-427,-208,-262,-211,-237},{-346,-445,-452,-163,-307,-216},{-391,-274,-452,-232,-244,-379}},{{-205,-347,-168,-216,-299,-159},{-407,-210,-325,-180,-236,-128},{-305,-244,-319,-355,-262,-177},{-217,-422,-227,-243,-254,-332},{-185,-255,-274,-363,-148,-357},{-290,-385,-400,-379,-342,-141},{-185,-419,-417,-308,-326,-311},{-393,-416,-336,-265,-297,-182},{-357,-187,-294,-142,-268,-329},{-314,-330,-322,-349,-286,-159},{-229,-287,-412,-139,-209,-373},{-322,-390,-174,-308,-278,-136},{-375,-370,-199,-336,-228,-368},{-161,-146,-333,-268,-398,-247},{-378,-267,-165,-284,-284,-167},{-173,-238,-412,-218,-209,-380},{-372,-330,-179,-284,-344,-231},{-425,-232,-249,-216,-307,-162},{-360,-364,-179,-229,-294,-180},{-290,-430,-227,-295,-172,-368}},{{-345,-223,-135,-309,-240,-186},{-136,-288,-293,-152,-259,-246},{-218,-324,-270,-128,-299,-210},{-365,-187,-318,-290,-134,-119},{-317,-151,-263,-296,-165,-145},{-280,-202,-188,-168,-271,-107},{-193,-336,-165,-157,-299,-172},{-248,-334,-323,-309,-125,-119},{-288,-269,-314,-170,-310,-295},{-288,-276,-140,-281,-161,-149},{-335,-185,-337,-119,-301,-188},{-221,-288,-222,-278,-310,-143},{-241,-190,-131,-248,-263,-139},{-322,-293,-133,-199,-193,-168},{-340,-218,-247,-281,-131,-291},{-144,-122,-240,-210,-144,-113},{-201,-245,-321,-228,-191,-285},{-300,-206,-307,-290,-125,-218},{-340,-168,-270,-270,-151,-158},{-300,-185,-332,-274,-165,-265}},{{-227,-113,-135,-246,-246,-179},{-159,-273,-139,-256,-183,-242},{-118,-225,-189,-155,-183,-169},{-161,-141,-169,-210,-249,-150},{-274,-272,-150,-158,-124,-201},{-208,-219,-128,-151,-234,-185},{-248,-214,-142,-224,-201,-213},{-239,-268,-233,-217,-199,-143},{-287,-244,-96,-165,-141,-216},{-105,-219,-247,-107,-111,-230},{-235,-160,-222,-256,-115,-143},{-213,-160,-132,-234,-179,-145},{-241,-100,-231,-107,-199,-122},{-105,-192,-198,-182,-136,-116},{-159,-212,-196,-201,-134,-195},{-246,-266,-262,-165,-158,-135},{-114,-247,-196,-255,-100,-201},{-266,-93,-253,-148,-156,-84},{-279,-106,-183,-218,-206,-169},{-266,-179,-198,-141,-224,-151}},{{-234,-154,-152,-140,-177,-228},{-87,-137,-160,-88,-163,-149},{-131,-146,-117,-116,-191,-220},{-214,-114,-103,-100,-165,-185},{-232,-111,-162,-102,-94,-188},{-195,-134,-112,-111,-112,-105},{-187,-112,-163,-182,-182,-220},{-222,-199,-231,-128,-112,-132},{-122,-186,-166,-171,-199,-151},{-186,-179,-220,-225,-166,-97},{-189,-139,-125,-165,-157,-146},{-158,-146,-199,-189,-219,-229},{-90,-183,-168,-194,-111,-119},{-154,-92,-79,-211,-166,-139},{-172,-165,-202,-142,-151,-129},{-94,-83,-116,-225,-143,-196},{-140,-209,-128,-79,-213,-225},{-119,-179,-228,-148,-219,-188},{-103,-220,-166,-182,-203,-156},{-83,-165,-114,-179,-89,-189}},{{-89,-227,-102,-228,-168,-199},{-171,-197,-201,-186,-247,-188},{-122,-107,-147,-228,-203,-192},{-102,-80,-156,-144,-257,-154},{-108,-167,-91,-138,-203,-134},{-183,-84,-92,-151,-178,-266},{-102,-86,-168,-99,-198,-129},{-157,-183,-172,-250,-238,-107},{-146,-218,-220,-217,-172,-147},{-134,-89,-240,-234,-89,-203},{-103,-165,-134,-171,-112,-148},{-228,-227,-94,-160,-206,-90},{-146,-208,-143,-146,-224,-101},{-231,-172,-193,-234,-240,-266},{-143,-126,-214,-205,-177,-183},{-79,-110,-102,-106,-164,-125},{-86,-83,-86,-239,-224,-246},{-149,-216,-97,-121,-142,-150},{-146,-86,-92,-230,-135,-92},{-211,-232,-109,-156,-186,-125}},{{-228,-212,-229,-269,-124,-271},{-103,-226,-157,-267,-250,-150},{-279,-281,-225,-198,-196,-288},{-224,-137,-134,-172,-302,-309},{-182,-198,-200,-280,-281,-253},{-125,-154,-239,-228,-272,-187},{-192,-259,-194,-170,-122,-243},{-188,-192,-218,-133,-335,-140},{-217,-188,-105,-303,-270,-117},{-127,-273,-218,-133,-252,-321},{-125,-224,-105,-114,-284,-185},{-224,-216,-241,-260,-162,-267},{-218,-145,-150,-172,-180,-178},{-285,-259,-251,-275,-302,-304},{-196,-101,-175,-161,-241,-288},{-124,-210,-177,-297,-137,-161},{-150,-166,-241,-146,-234,-316},{-154,-103,-107,-322,-245,-211},{-236,-115,-190,-303,-338,-222},{-198,-240,-241,-213,-131,-264}},{{-250,-134,-365,-156,-157,-218},{-265,-234,-300,-355,-168,-226},{-129,-318,-274,-250,-138,-342},{-136,-368,-345,-393,-155,-207},{-333,-219,-311,-347,-287,-283},{-357,-282,-295,-320,-270,-192},{-197,-267,-371,-191,-293,-207},{-277,-350,-217,-360,-323,-201},{-335,-136,-313,-202,-141,-280},{-362,-181,-334,-363,-166,-365},{-180,-197,-157,-242,-359,-147},{-126,-247,-159,-234,-345,-405},{-134,-320,-224,-188,-254,-419},{-148,-350,-326,-366,-185,-277},{-323,-209,-261,-161,-166,-153},{-224,-350,-188,-401,-284,-181},{-355,-194,-389,-285,-144,-226},{-122,-169,-365,-325,-149,-226},{-134,-166,-316,-366,-224,-354},{-211,-209,-324,-288,-257,-153}},{{-260,-379,-425,-307,-214,-199},{-266,-391,-170,-217,-439,-166},{-162,-162,-374,-244,-229,-427},{-309,-441,-197,-190,-280,-379},{-176,-406,-185,-265,-343,-337},{-286,-273,-170,-232,-412,-220},{-373,-288,-404,-412,-448,-385},{-194,-165,-209,-307,-223,-286},{-220,-206,-383,-394,-391,-238},{-312,-223,-308,-157,-262,-160},{-182,-394,-317,-253,-163,-436},{-289,-268,-335,-223,-412,-205},{-301,-365,-317,-340,-352,-331},{-312,-250,-233,-217,-187,-223},{-431,-356,-419,-310,-403,-349},{-410,-320,-221,-241,-445,-277},{-173,-220,-293,-316,-388,-274},{-237,-368,-359,-232,-301,-163},{-327,-226,-218,-445,-217,-292},{-243,-220,-446,-373,-340,-364}}},{{{-441,-368,-210,-452,-466,-416},{-395,-343,-312,-458,-178,-438},{-329,-389,-402,-385,-511,-522},{-385,-234,-207,-514,-228,-220},{-220,-248,-430,-508,-444,-224},{-276,-434,-399,-259,-301,-430},{-217,-175,-350,-336,-500,-228},{-224,-392,-473,-252,-430,-308},{-399,-416,-385,-402,-424,-441},{-287,-476,-350,-210,-455,-511},{-234,-514,-416,-280,-374,-238},{-343,-406,-480,-315,-207,-354},{-424,-434,-301,-308,-182,-483},{-329,-368,-360,-448,-427,-434},{-402,-389,-196,-525,-248,-504},{-441,-410,-273,-500,-395,-497},{-231,-220,-270,-438,-332,-270},{-490,-430,-266,-189,-378,-340},{-238,-312,-340,-497,-500,-301},{-364,-511,-200,-444,-241,-203}},{{-306,-196,-349,-277,-466,-290},{-285,-178,-302,-401,-351,-200},{-278,-466,-288,-297,-174,-422},{-174,-175,-424,-494,-171,-235},{-306,-298,-241,-301,-239,-409},{-355,-470,-251,-237,-269,-277},{-491,-192,-325,-488,-358,-167},{-515,-422,-315,-448,-390,-270},{-473,-511,-319,-421,-180,-457},{-317,-271,-281,-344,-279,-390},{-445,-172,-376,-274,-285,-309},{-362,-274,-292,-454,-180,-341},{-449,-175,-461,-441,-233,-203},{-285,-298,-485,-471,-207,-441},{-512,-185,-370,-381,-407,-483},{-379,-484,-325,-448,-430,-306},{-418,-288,-468,-391,-328,-251},{-484,-463,-454,-247,-282,-238},{-414,-473,-498,-441,-410,-425},{-345,-343,-203,-317,-351,-393}},{{-167,-197,-366,-290,-160,-317},{-192,-280,-201,-152,-348,-311},{-183,-391,-330,-290,-413,-317},{-359,-169,-153,-299,-276,-403},{-438,-194,-318,-290,-188,-322},{-425,-157,-384,-284,-225,-270},{-438,-157,-324,-264,-265,-245},{-343,-240,-288,-419,-359,-345},{-428,-379,-348,-249,-296,-317},{-369,-280,-255,-343,-254,-345},{-214,-280,-312,-237,-342,-259},{-167,-456,-189,-149,-325,-375},{-372,-203,-225,-158,-322,-203},{-202,-277,-294,-176,-185,-217},{-419,-277,-348,-185,-342,-295},{-369,-376,-171,-334,-296,-239},{-400,-336,-156,-296,-291,-275},{-271,-360,-357,-413,-262,-156},{-469,-172,-354,-393,-365,-206},{-375,-450,-246,-264,-219,-375}},{{-157,-160,-280,-193,-265,-151},{-267,-139,-182,-374,-343,-174},{-397,-221,-252,-271,-326,-163},{-165,-350,-206,-148,-159,-261},{-286,-274,-236,-271,-343,-186},{-289,-342,-260,-311,-238,-146},{-400,-355,-144,-193,-208,-304},{-254,-139,-167,-231,-328,-315},{-319,-137,-234,-309,-132,-292},{-262,-302,-280,-136,-122,-232},{-186,-205,-239,-279,-272,-232},{-389,-279,-319,-246,-162,-253},{-367,-208,-234,-274,-147,-122},{-221,-281,-254,-173,-360,-342},{-189,-155,-296,-271,-149,-131},{-270,-310,-247,-296,-365,-208},{-184,-334,-172,-236,-125,-251},{-189,-368,-195,-178,-277,-301},{-286,-347,-332,-316,-331,-172},{-248,-381,-141,-329,-257,-170}},{{-261,-162,-333,-210,-194,-284},{-341,-342,-116,-266,-192,-201},{-329,-146,-263,-127,-155,-240},{-310,-229,-337,-289,-243,-305},{-164,-335,-335,-245,-125,-217},{-206,-259,-335,-224,-266,-187},{-294,-171,-259,-199,-150,-240},{-140,-125,-159,-213,-201,-146},{-244,-171,-252,-215,-252,-321},{-171,-132,-192,-252,-314,-187},{-353,-240,-275,-275,-344,-164},{-228,-182,-335,-180,-196,-169},{-237,-196,-208,-252,-206,-328},{-282,-217,-243,-293,-280,-247},{-299,-323,-162,-275,-166,-321},{-123,-303,-335,-229,-217,-263},{-225,-319,-166,-141,-286,-259},{-228,-143,-127,-171,-118,-335},{-187,-201,-252,-136,-259,-307},{-296,-129,-233,-201,-173,-259}},{{-148,-182,-212,-195,-288,-271},{-328,-129,-221,-271,-288,-155},{-210,-180,-291,-290,-128,-197},{-307,-231,-326,-269,-167,-153},{-164,-210,-240,-305,-334,-133},{-245,-291,-238,-183,-174,-192},{-233,-275,-254,-224,-310,-280},{-243,-346,-221,-309,-208,-125},{-293,-330,-172,-133,-305,-128},{-199,-289,-308,-317,-361,-266},{-286,-342,-203,-293,-332,-344},{-226,-312,-326,-309,-232,-295},{-155,-136,-149,-178,-174,-357},{-122,-148,-189,-183,-334,-362},{-180,-286,-217,-347,-310,-251},{-289,-342,-193,-309,-211,-226},{-249,-196,-200,-136,-225,-145},{-256,-282,-116,-159,-215,-207},{-298,-210,-231,-226,-220,-253},{-146,-300,-133,-288,-334,-339}},{{-282,-355,-170,-295,-160,-311},{-159,-365,-359,-284,-402,-176},{-249,-197,-186,-333,-200,-418},{-285,-249,-330,-333,-163,-325},{-227,-388,-192,-207,-303,-363},{-295,-251,-359,-404,-219,-366},{-126,-207,-295,-360,-261,-233},{-139,-158,-306,-311,-318,-230},{-144,-365,-386,-374,-326,-259},{-192,-251,-242,-156,-152,-400},{-315,-184,-348,-153,-202,-158},{-373,-262,-178,-210,-407,-346},{-350,-334,-375,-156,-410,-204},{-139,-277,-133,-136,-292,-346},{-149,-210,-319,-360,-247,-369},{-136,-350,-370,-330,-183,-190},{-197,-300,-394,-218,-163,-279},{-244,-186,-258,-369,-388,-423},{-224,-236,-210,-308,-236,-331},{-186,-381,-330,-358,-351,-320}},{{-243,-251,-384,-371,-207,-320},{-240,-373,-245,-222,-379,-307},{-403,-454,-174,-365,-237,-439},{-426,-206,-313,-349,-437,-449},{-355,-258,-425,-384,-165,-399},{-207,-373,-356,-168,-185,-343},{-417,-445,-322,-298,-324,-257},{-284,-327,-155,-444,-411,-412},{-148,-367,-282,-247,-467,-264},{-432,-155,-270,-197,-363,-327},{-406,-197,-403,-342,-275,-363},{-249,-454,-264,-361,-324,-446},{-414,-279,-418,-339,-428,-429},{-252,-236,-217,-441,-399,-432},{-323,-179,-167,-193,-405,-320},{-370,-155,-347,-330,-259,-426},{-234,-306,-465,-228,-421,-482},{-249,-282,-205,-174,-347,-446},{-195,-448,-310,-415,-279,-370},{-408,-194,-177,-403,-382,-379}},{{-396,-218,-437,-444,-490,-217},{-346,-450,-248,-434,-385,-368},{-487,-501,-471,-207,-301,-312},{-333,-494,-475,-214,-441,-350},{-457,-290,-327,-245,-476,-200},{-417,-488,-437,-395,-518,-280},{-316,-208,-420,-500,-312,-504},{-450,-460,-413,-238,-511,-462},{-239,-372,-210,-514,-497,-207},{-289,-416,-351,-270,-392,-518},{-349,-426,-365,-256,-262,-252},{-396,-413,-272,-466,-189,-318},{-480,-406,-230,-518,-290,-276},{-336,-246,-323,-522,-248,-210},{-497,-188,-423,-322,-280,-487},{-470,-215,-220,-228,-500,-514},{-225,-351,-268,-175,-416,-308},{-383,-249,-478,-438,-207,-186},{-366,-498,-261,-374,-262,-343},{-464,-454,-365,-420,-354,-175}}}}; // supply (positive for supply and negative for demand) under different scenarios 
int iniv[I]={1052,192,238,253,176,234,280,264,252}; // initial inventory 
int ubiv[I]={2104,384,476,507,352,468,350,495,504}; // the upper bounds of inventory 
int len[I1][I2]={{5,3,2,2,1,1,2,3}}; // the traveling time between two sites 
// cost parameters: 
double c1[I]={0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0}; // inventory holding cost 
double c2[I]={0.05,13.35,8.59,5.57,4.52,2.83,1.94,4.81,7.57}; // cost of leftover and unmet 
double c3[BN]={0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0}; // transportation cost for capacity contracts 
double c4[I1][I2]={{12.14,7.81,5.06,4.11,2.57,1.76,4.37,6.88}}; // cost of spot market 
// bid parameters: 
int RLBN[I1][I2]={{9,9,9,9,9,9,9,9}}; // number of bids on each arc 
int LBset[I1][I2][LBN]={{{0,1,2,3,4,5,6,7,8},{9,10,11,12,13,14,15,16,17},{18,19,20,21,22,23,24,25,26},{27,28,29,30,31,32,33,34,35},{36,37,38,39,40,41,42,43,44},{45,46,47,48,49,50,51,52,53},{54,55,56,57,58,59,60,61,62},{63,64,65,66,67,68,69,70,71}}}; // set of bids on each arc 
double frt[BN]={9.71,9.71,9.71,8.5,8.5,8.5,7.28,7.28,7.28,6.25,6.25,6.25,5.47,5.47,5.47,4.69,4.69,4.69,4.05,4.05,4.05,3.54,3.54,3.54,3.04,3.04,3.04,3.29,3.29,3.29,2.88,2.88,2.88,2.47,2.47,2.47,2.06,2.06,2.06,1.8,1.8,1.8,1.54,1.54,1.54,1.41,1.41,1.41,1.23,1.23,1.23,1.06,1.06,1.06,3.5,3.5,3.5,3.06,3.06,3.06,2.62,2.62,2.62,5.5,5.5,5.5,4.82,4.82,4.82,4.13,4.13,4.13}; // freight rate of each bid 
int lbcap[BN]={75,75,75,1,151,151,151,226,226,75,75,75,301,151,151,151,226,226,75,75,75,301,151,151,151,226,226,75,75,75,301,151,151,151,226,226,75,75,75,301,151,151,151,226,226,75,75,75,301,151,151,151,226,226,75,75,75,301,151,151,151,226,226,75,75,75,301,151,151,151,226,226}; // capacity lower bound of each bid 
int ubcap[BN]={150,150,150,225,225,225,300,300,300,150,150,150,225,225,225,300,300,300,150,150,150,225,225,225,300,300,300,150,150,150,225,225,225,300,300,300,150,150,150,225,225,225,300,300,300,150,150,150,225,225,225,300,300,300,150,150,150,225,225,225,300,300,300,150,150,150,225,225,225,300,300,300}; // capacity upper bound of each bid 
// shipment parameters: 
int SHN[BN]={24,12,8,24,12,8,24,12,8,25,13,9,26,13,9,26,13,9,25,13,9,26,13,9,26,13,9,25,13,9,25,13,9,26,13,9,26,13,9,26,14,9,27,13,9,26,14,9,26,14,9,27,14,9,26,13,9,26,13,9,25,13,9,25,13,9,26,13,9,25,13,9}; // number of shipment for each bid 
int SHset[BN][MBSN]={{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23},{24,25,26,27,28,29,30,31,32,33,34,35},{36,37,38,39,40,41,42,43},{44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67},{68,69,70,71,72,73,74,75,76,77,78,79},{80,81,82,83,84,85,86,87},{88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111},{112,113,114,115,116,117,118,119,120,121,122,123},{124,125,126,127,128,129,130,131},{132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156},{157,158,159,160,161,162,163,164,165,166,167,168,169},{170,171,172,173,174,175,176,177,178},{179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204},{205,206,207,208,209,210,211,212,213,214,215,216,217},{218,219,220,221,222,223,224,225,226},{227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252},{253,254,255,256,257,258,259,260,261,262,263,264,265},{266,267,268,269,270,271,272,273,274},{275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299},{300,301,302,303,304,305,306,307,308,309,310,311,312},{313,314,315,316,317,318,319,320,321},{322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347},{348,349,350,351,352,353,354,355,356,357,358,359,360},{361,362,363,364,365,366,367,368,369},{370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395},{396,397,398,399,400,401,402,403,404,405,406,407,408},{409,410,411,412,413,414,415,416,417},{418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442},{443,444,445,446,447,448,449,450,451,452,453,454,455},{456,457,458,459,460,461,462,463,464},{465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489},{490,491,492,493,494,495,496,497,498,499,500,501,502},{503,504,505,506,507,508,509,510,511},{512,513,514,515,516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533,534,535,536,537},{538,539,540,541,542,543,544,545,546,547,548,549,550},{551,552,553,554,555,556,557,558,559},{560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585},{586,587,588,589,590,591,592,593,594,595,596,597,598},{599,600,601,602,603,604,605,606,607},{608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,632,633},{634,635,636,637,638,639,640,641,642,643,644,645,646,647},{648,649,650,651,652,653,654,655,656},{657,658,659,660,661,662,663,664,665,666,667,668,669,670,671,672,673,674,675,676,677,678,679,680,681,682,683},{684,685,686,687,688,689,690,691,692,693,694,695,696},{697,698,699,700,701,702,703,704,705},{706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731},{732,733,734,735,736,737,738,739,740,741,742,743,744,745},{746,747,748,749,750,751,752,753,754},{755,756,757,758,759,760,761,762,763,764,765,766,767,768,769,770,771,772,773,774,775,776,777,778,779,780},{781,782,783,784,785,786,787,788,789,790,791,792,793,794},{795,796,797,798,799,800,801,802,803},{804,805,806,807,808,809,810,811,812,813,814,815,816,817,818,819,820,821,822,823,824,825,826,827,828,829,830},{831,832,833,834,835,836,837,838,839,840,841,842,843,844},{845,846,847,848,849,850,851,852,853},{854,855,856,857,858,859,860,861,862,863,864,865,866,867,868,869,870,871,872,873,874,875,876,877,878,879},{880,881,882,883,884,885,886,887,888,889,890,891,892},{893,894,895,896,897,898,899,900,901},{902,903,904,905,906,907,908,909,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927},{928,929,930,931,932,933,934,935,936,937,938,939,940},{941,942,943,944,945,946,947,948,949},{950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974},{975,976,977,978,979,980,981,982,983,984,985,986,987},{988,989,990,991,992,993,994,995,996},{997,998,999,1000,1001,1002,1003,1004,1005,1006,1007,1008,1009,1010,1011,1012,1013,1014,1015,1016,1017,1018,1019,1020,1021},{1022,1023,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034},{1035,1036,1037,1038,1039,1040,1041,1042,1043},{1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069},{1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082},{1083,1084,1085,1086,1087,1088,1089,1090,1091},{1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116},{1117,1118,1119,1120,1121,1122,1123,1124,1125,1126,1127,1128,1129},{1130,1131,1132,1133,1134,1135,1136,1137,1138}}; // set of shipments in each bid 
int SHsts[SPN]={1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,1,5,9,13,17,21,25,29,33,37,41,45,1,7,13,19,25,31,37,43,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,1,5,9,13,17,21,25,29,33,37,41,45,2,8,14,20,26,32,38,44,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,2,6,10,14,18,22,26,30,34,38,42,46,1,7,13,19,25,31,37,43,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,2,6,10,14,18,22,26,30,34,38,42,46,50,2,8,14,20,26,32,38,44,50,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,0,4,8,12,16,20,24,28,32,36,40,44,48,2,8,14,20,26,32,38,44,50,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,0,4,8,12,16,20,24,28,32,36,40,44,48,1,7,13,19,25,31,37,43,49,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,0,4,8,12,16,20,24,28,32,36,40,44,48,1,7,13,19,25,31,37,43,49,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,0,4,8,12,16,20,24,28,32,36,40,44,48,2,8,14,20,26,32,38,44,50,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,0,4,8,12,16,20,24,28,32,36,40,44,48,2,8,14,20,26,32,38,44,50,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,0,4,8,12,16,20,24,28,32,36,40,44,48,1,7,13,19,25,31,37,43,49,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,1,5,9,13,17,21,25,29,33,37,41,45,49,1,7,13,19,25,31,37,43,49,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,1,5,9,13,17,21,25,29,33,37,41,45,49,2,8,14,20,26,32,38,44,50,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,1,5,9,13,17,21,25,29,33,37,41,45,49,1,7,13,19,25,31,37,43,49,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,0,4,8,12,16,20,24,28,32,36,40,44,48,52,0,6,12,18,24,30,36,42,48,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,1,5,9,13,17,21,25,29,33,37,41,45,49,2,8,14,20,26,32,38,44,50,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,0,4,8,12,16,20,24,28,32,36,40,44,48,52,1,7,13,19,25,31,37,43,49,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,0,4,8,12,16,20,24,28,32,36,40,44,48,52,1,7,13,19,25,31,37,43,49,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,0,4,8,12,16,20,24,28,32,36,40,44,48,52,1,7,13,19,25,31,37,43,49,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,1,5,9,13,17,21,25,29,33,37,41,45,49,0,6,12,18,24,30,36,42,48,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,2,6,10,14,18,22,26,30,34,38,42,46,50,1,7,13,19,25,31,37,43,49,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,2,6,10,14,18,22,26,30,34,38,42,46,50,2,8,14,20,26,32,38,44,50,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,0,4,8,12,16,20,24,28,32,36,40,44,48,1,7,13,19,25,31,37,43,49,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,2,6,10,14,18,22,26,30,34,38,42,46,50,2,8,14,20,26,32,38,44,50,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,1,5,9,13,17,21,25,29,33,37,41,45,49,2,8,14,20,26,32,38,44,50}; // set of start times of each shipment 
int SHets[SPN]={6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,6,10,14,18,22,26,30,34,38,42,46,50,6,12,18,24,30,36,42,48,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,6,10,14,18,22,26,30,34,38,42,46,50,7,13,19,25,31,37,43,49,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,7,11,15,19,23,27,31,35,39,43,47,51,6,12,18,24,30,36,42,48,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,5,9,13,17,21,25,29,33,37,41,45,49,53,5,11,17,23,29,35,41,47,53,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,3,7,11,15,19,23,27,31,35,39,43,47,51,5,11,17,23,29,35,41,47,53,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,3,7,11,15,19,23,27,31,35,39,43,47,51,4,10,16,22,28,34,40,46,52,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,2,6,10,14,18,22,26,30,34,38,42,46,50,3,9,15,21,27,33,39,45,51,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,2,6,10,14,18,22,26,30,34,38,42,46,50,4,10,16,22,28,34,40,46,52,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,2,6,10,14,18,22,26,30,34,38,42,46,50,4,10,16,22,28,34,40,46,52,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,2,6,10,14,18,22,26,30,34,38,42,46,50,3,9,15,21,27,33,39,45,51,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,3,7,11,15,19,23,27,31,35,39,43,47,51,3,9,15,21,27,33,39,45,51,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,3,7,11,15,19,23,27,31,35,39,43,47,51,4,10,16,22,28,34,40,46,52,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,2,6,10,14,18,22,26,30,34,38,42,46,50,2,8,14,20,26,32,38,44,50,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,1,5,9,13,17,21,25,29,33,37,41,45,49,53,1,7,13,19,25,31,37,43,49,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,2,6,10,14,18,22,26,30,34,38,42,46,50,3,9,15,21,27,33,39,45,51,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,1,5,9,13,17,21,25,29,33,37,41,45,49,53,2,8,14,20,26,32,38,44,50,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,1,5,9,13,17,21,25,29,33,37,41,45,49,53,2,8,14,20,26,32,38,44,50,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,1,5,9,13,17,21,25,29,33,37,41,45,49,53,2,8,14,20,26,32,38,44,50,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,3,7,11,15,19,23,27,31,35,39,43,47,51,2,8,14,20,26,32,38,44,50,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,4,8,12,16,20,24,28,32,36,40,44,48,52,3,9,15,21,27,33,39,45,51,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,4,8,12,16,20,24,28,32,36,40,44,48,52,4,10,16,22,28,34,40,46,52,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,3,7,11,15,19,23,27,31,35,39,43,47,51,4,10,16,22,28,34,40,46,52,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,5,9,13,17,21,25,29,33,37,41,45,49,53,5,11,17,23,29,35,41,47,53,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,4,8,12,16,20,24,28,32,36,40,44,48,52,5,11,17,23,29,35,41,47,53}; // set of end times of each shipment 
