int Dev = 30;// 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 = 1138;//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]={{{{12952,0,0,0,0,0},{12760,0,0,0,0,0},{12385,0,0,0,0,0},{12387,0,0,0,0,0},{12671,0,0,0,0,0},{12388,0,0,0,0,0},{12614,0,0,0,0,0},{12125,0,0,0,0,0},{12275,0,0,0,0,0},{12534,0,0,0,0,0},{12142,0,0,0,0,0},{12113,0,0,0,0,0},{12766,0,0,0,0,0},{12376,0,0,0,0,0},{12194,0,0,0,0,0},{13010,0,0,0,0,0},{12724,0,0,0,0,0},{12592,0,0,0,0,0},{12226,0,0,0,0,0},{12544,0,0,0,0,0}},{{12859,0,0,0,0,0},{11864,0,0,0,0,0},{12088,0,0,0,0,0},{12440,0,0,0,0,0},{12471,0,0,0,0,0},{12375,0,0,0,0,0},{12540,0,0,0,0,0},{12749,0,0,0,0,0},{12152,0,0,0,0,0},{12887,0,0,0,0,0},{12038,0,0,0,0,0},{12319,0,0,0,0,0},{12323,0,0,0,0,0},{13119,0,0,0,0,0},{12027,0,0,0,0,0},{12718,0,0,0,0,0},{13002,0,0,0,0,0},{12231,0,0,0,0,0},{12324,0,0,0,0,0},{12603,0,0,0,0,0}},{{11951,0,0,0,0,0},{11650,0,0,0,0,0},{11450,0,0,0,0,0},{11801,0,0,0,0,0},{11921,0,0,0,0,0},{11513,0,0,0,0,0},{11375,0,0,0,0,0},{10860,0,0,0,0,0},{11694,0,0,0,0,0},{11381,0,0,0,0,0},{11146,0,0,0,0,0},{11468,0,0,0,0,0},{11646,0,0,0,0,0},{11390,0,0,0,0,0},{11570,0,0,0,0,0},{11535,0,0,0,0,0},{11893,0,0,0,0,0},{11238,0,0,0,0,0},{11600,0,0,0,0,0},{11163,0,0,0,0,0}},{{10529,0,0,0,0,0},{10429,0,0,0,0,0},{10074,0,0,0,0,0},{10168,0,0,0,0,0},{10236,0,0,0,0,0},{10317,0,0,0,0,0},{10072,0,0,0,0,0},{10314,0,0,0,0,0},{10990,0,0,0,0,0},{10557,0,0,0,0,0},{10390,0,0,0,0,0},{10760,0,0,0,0,0},{10296,0,0,0,0,0},{10693,0,0,0,0,0},{10861,0,0,0,0,0},{10282,0,0,0,0,0},{9948,0,0,0,0,0},{10482,0,0,0,0,0},{10736,0,0,0,0,0},{10359,0,0,0,0,0}},{{9805,0,0,0,0,0},{9352,0,0,0,0,0},{9039,0,0,0,0,0},{9415,0,0,0,0,0},{9520,0,0,0,0,0},{9653,0,0,0,0,0},{9561,0,0,0,0,0},{9570,0,0,0,0,0},{9529,0,0,0,0,0},{9349,0,0,0,0,0},{9378,0,0,0,0,0},{9064,0,0,0,0,0},{9152,0,0,0,0,0},{9636,0,0,0,0,0},{9759,0,0,0,0,0},{9130,0,0,0,0,0},{9188,0,0,0,0,0},{9442,0,0,0,0,0},{9050,0,0,0,0,0},{9726,0,0,0,0,0}},{{9559,0,0,0,0,0},{9132,0,0,0,0,0},{9230,0,0,0,0,0},{9130,0,0,0,0,0},{9290,0,0,0,0,0},{9415,0,0,0,0,0},{9434,0,0,0,0,0},{9855,0,0,0,0,0},{8881,0,0,0,0,0},{8896,0,0,0,0,0},{9672,0,0,0,0,0},{9331,0,0,0,0,0},{9363,0,0,0,0,0},{9216,0,0,0,0,0},{9384,0,0,0,0,0},{9417,0,0,0,0,0},{9182,0,0,0,0,0},{9708,0,0,0,0,0},{8639,0,0,0,0,0},{8937,0,0,0,0,0}},{{9705,0,0,0,0,0},{9620,0,0,0,0,0},{9976,0,0,0,0,0},{10107,0,0,0,0,0},{9730,0,0,0,0,0},{9632,0,0,0,0,0},{9638,0,0,0,0,0},{9698,0,0,0,0,0},{9731,0,0,0,0,0},{10167,0,0,0,0,0},{9400,0,0,0,0,0},{9956,0,0,0,0,0},{10067,0,0,0,0,0},{9660,0,0,0,0,0},{9492,0,0,0,0,0},{10077,0,0,0,0,0},{9524,0,0,0,0,0},{9566,0,0,0,0,0},{9683,0,0,0,0,0},{10035,0,0,0,0,0}},{{11360,0,0,0,0,0},{11174,0,0,0,0,0},{11488,0,0,0,0,0},{11175,0,0,0,0,0},{10977,0,0,0,0,0},{10270,0,0,0,0,0},{11227,0,0,0,0,0},{10998,0,0,0,0,0},{10865,0,0,0,0,0},{11024,0,0,0,0,0},{11396,0,0,0,0,0},{10795,0,0,0,0,0},{11005,0,0,0,0,0},{10490,0,0,0,0,0},{11406,0,0,0,0,0},{11020,0,0,0,0,0},{10586,0,0,0,0,0},{10585,0,0,0,0,0},{10785,0,0,0,0,0},{10829,0,0,0,0,0}},{{12194,0,0,0,0,0},{12216,0,0,0,0,0},{12053,0,0,0,0,0},{12114,0,0,0,0,0},{11866,0,0,0,0,0},{12589,0,0,0,0,0},{11732,0,0,0,0,0},{12284,0,0,0,0,0},{11884,0,0,0,0,0},{11553,0,0,0,0,0},{12073,0,0,0,0,0},{11541,0,0,0,0,0},{11933,0,0,0,0,0},{12199,0,0,0,0,0},{13370,0,0,0,0,0},{12076,0,0,0,0,0},{12644,0,0,0,0,0},{11793,0,0,0,0,0},{12485,0,0,0,0,0},{11976,0,0,0,0,0}}},{{{-229,-303,-250,-294,-359,-303},{-326,-365,-315,-368,-270,-373},{-362,-332,-335,-256,-241,-320},{-291,-315,-303,-365,-265,-297},{-250,-353,-282,-332,-256,-268},{-273,-297,-215,-344,-244,-309},{-268,-276,-332,-356,-382,-235},{-323,-270,-206,-282,-335,-297},{-250,-247,-206,-270,-209,-220},{-362,-273,-262,-347,-376,-309},{-215,-344,-212,-359,-244,-362},{-250,-268,-329,-318,-235,-312},{-356,-250,-268,-253,-373,-323},{-220,-294,-332,-382,-209,-253},{-294,-329,-226,-300,-326,-362},{-362,-347,-368,-212,-350,-344},{-303,-373,-338,-291,-282,-223},{-350,-253,-365,-365,-265,-309},{-262,-209,-318,-320,-241,-232},{-350,-253,-306,-294,-332,-370}},{{-220,-246,-333,-211,-296,-256},{-238,-275,-218,-230,-275,-210},{-261,-272,-202,-230,-291,-298},{-302,-372,-314,-236,-240,-326},{-276,-317,-210,-310,-280,-186},{-377,-360,-241,-216,-286,-189},{-212,-303,-350,-332,-294,-192},{-293,-272,-235,-192,-299,-256},{-368,-349,-274,-236,-334,-324},{-365,-300,-241,-269,-270,-236},{-299,-209,-297,-203,-195,-220},{-261,-366,-207,-249,-227,-313},{-246,-355,-305,-195,-326,-316},{-316,-355,-277,-271,-222,-215},{-270,-297,-311,-345,-275,-192},{-281,-286,-314,-340,-291,-181},{-319,-257,-224,-219,-320,-290},{-354,-280,-216,-285,-240,-332},{-336,-295,-302,-342,-248,-282},{-246,-286,-196,-230,-299,-262}},{{-175,-240,-198,-226,-227,-251},{-185,-298,-219,-280,-208,-216},{-188,-310,-254,-235,-154,-218},{-325,-174,-277,-237,-246,-144},{-258,-252,-214,-204,-240,-202},{-188,-186,-205,-237,-274,-190},{-200,-203,-294,-231,-263,-161},{-270,-310,-177,-251,-214,-154},{-290,-264,-270,-188,-165,-264},{-295,-295,-291,-195,-188,-243},{-300,-189,-175,-211,-197,-210},{-288,-174,-168,-170,-152,-214},{-282,-286,-284,-262,-253,-148},{-248,-293,-221,-195,-163,-157},{-258,-211,-231,-217,-223,-157},{-195,-286,-282,-224,-190,-165},{-248,-215,-287,-188,-253,-266},{-202,-307,-277,-161,-218,-152},{-280,-286,-242,-181,-199,-165},{-265,-194,-233,-249,-178,-212}},{{-148,-241,-172,-138,-132,-162},{-207,-166,-217,-143,-117,-198},{-152,-176,-140,-141,-195,-186},{-179,-151,-217,-193,-148,-141},{-187,-206,-163,-175,-188,-166},{-193,-194,-150,-153,-125,-139},{-232,-131,-172,-217,-193,-194},{-154,-142,-165,-191,-115,-208},{-217,-232,-224,-213,-193,-186},{-162,-217,-224,-139,-178,-147},{-213,-234,-165,-208,-190,-205},{-181,-165,-226,-224,-182,-133},{-138,-176,-211,-143,-129,-131},{-207,-142,-181,-172,-134,-208},{-227,-181,-125,-162,-172,-195},{-223,-208,-208,-136,-125,-170},{-219,-213,-209,-177,-214,-152},{-201,-163,-147,-174,-153,-184},{-191,-163,-134,-158,-139,-203},{-146,-198,-186,-136,-144,-176}},{{-182,-143,-166,-129,-173,-182},{-120,-173,-141,-112,-165,-135},{-160,-110,-112,-173,-135,-151},{-188,-136,-148,-138,-172,-168},{-176,-159,-146,-154,-109,-160},{-128,-161,-166,-165,-138,-128},{-196,-124,-157,-112,-163,-171},{-197,-179,-171,-148,-135,-135},{-156,-177,-126,-134,-119,-146},{-108,-183,-146,-178,-104,-121},{-149,-194,-191,-128,-140,-116},{-157,-168,-168,-160,-140,-122},{-197,-152,-148,-151,-157,-175},{-108,-185,-172,-110,-169,-160},{-132,-165,-172,-143,-123,-182},{-149,-158,-109,-165,-132,-156},{-172,-173,-137,-126,-185,-154},{-119,-119,-126,-190,-135,-173},{-151,-131,-116,-125,-147,-165},{-116,-131,-128,-134,-172,-110}},{{-126,-169,-178,-119,-167,-175},{-154,-173,-195,-188,-116,-169},{-160,-103,-169,-151,-177,-145},{-188,-171,-145,-126,-134,-190},{-162,-134,-151,-143,-140,-139},{-182,-147,-171,-197,-184,-175},{-172,-166,-107,-183,-196,-205},{-175,-122,-154,-172,-118,-149},{-166,-144,-149,-179,-195,-125},{-135,-116,-154,-160,-114,-172},{-159,-163,-172,-169,-195,-215},{-137,-151,-142,-183,-172,-164},{-150,-135,-196,-154,-193,-209},{-176,-181,-195,-160,-208,-217},{-140,-176,-186,-154,-156,-147},{-176,-112,-195,-114,-195,-215},{-148,-107,-169,-191,-196,-119},{-176,-157,-171,-185,-201,-169},{-187,-103,-149,-120,-145,-154},{-141,-113,-116,-111,-195,-204}},{{-223,-138,-141,-187,-248,-234},{-186,-232,-152,-223,-224,-174},{-181,-156,-194,-181,-257,-178},{-226,-136,-184,-155,-253,-152},{-132,-190,-179,-227,-157,-234},{-188,-177,-243,-211,-159,-210},{-144,-195,-184,-257,-244,-260},{-137,-152,-209,-257,-180,-174},{-127,-134,-192,-225,-221,-174},{-157,-174,-213,-219,-250,-202},{-197,-129,-180,-177,-224,-187},{-143,-165,-205,-209,-193,-154},{-183,-205,-156,-139,-197,-165},{-148,-130,-190,-157,-267,-258},{-218,-154,-182,-203,-259,-189},{-124,-221,-211,-245,-244,-161},{-124,-210,-230,-219,-207,-182},{-155,-156,-162,-235,-242,-241},{-162,-127,-169,-167,-224,-204},{-122,-167,-133,-225,-226,-247}},{{-161,-230,-303,-286,-316,-331},{-213,-284,-183,-197,-337,-282},{-222,-275,-264,-235,-326,-204},{-227,-237,-207,-261,-235,-350},{-250,-204,-310,-314,-331,-229},{-159,-193,-271,-230,-243,-277},{-250,-214,-307,-288,-201,-213},{-232,-223,-190,-233,-261,-264},{-277,-266,-210,-253,-284,-258},{-268,-179,-249,-258,-271,-328},{-245,-306,-205,-324,-303,-253},{-257,-226,-310,-321,-305,-242},{-211,-270,-290,-240,-191,-237},{-179,-254,-278,-223,-191,-293},{-284,-268,-239,-205,-204,-245},{-234,-179,-290,-286,-274,-245},{-213,-266,-256,-314,-305,-247},{-272,-258,-190,-200,-193,-334},{-173,-291,-203,-321,-251,-231},{-186,-280,-234,-299,-329,-239}},{{-326,-219,-212,-231,-285,-344},{-356,-309,-353,-310,-382,-323},{-315,-211,-362,-204,-332,-256},{-213,-211,-227,-321,-229,-329},{-306,-303,-324,-315,-218,-250},{-298,-301,-344,-219,-209,-335},{-229,-309,-298,-292,-341,-215},{-309,-256,-370,-315,-373,-250},{-279,-222,-244,-245,-276,-256},{-326,-225,-273,-345,-229,-379},{-353,-343,-241,-295,-359,-273},{-353,-340,-207,-248,-350,-353},{-199,-295,-264,-377,-288,-235},{-276,-247,-244,-210,-256,-212},{-312,-337,-201,-286,-344,-335},{-210,-298,-210,-310,-370,-312},{-328,-200,-215,-380,-241,-370},{-339,-247,-210,-251,-300,-209},{-257,-362,-278,-231,-362,-359},{-309,-340,-327,-345,-232,-244}}},{{{-160,-179,-186,-150,-219,-143},{-133,-199,-224,-166,-144,-220},{-178,-139,-138,-229,-129,-199},{-195,-128,-180,-132,-224,-187},{-207,-169,-210,-231,-226,-189},{-217,-174,-178,-215,-212,-159},{-141,-169,-222,-200,-167,-168},{-139,-142,-205,-177,-147,-164},{-218,-144,-201,-190,-166,-159},{-168,-184,-173,-229,-134,-233},{-129,-189,-182,-213,-224,-166},{-148,-203,-191,-154,-191,-191},{-158,-150,-200,-158,-206,-168},{-170,-134,-170,-215,-208,-225},{-155,-135,-214,-195,-169,-233},{-212,-169,-193,-233,-184,-225},{-150,-157,-193,-192,-210,-170},{-148,-206,-206,-166,-230,-159},{-121,-128,-215,-209,-237,-147},{-139,-147,-206,-190,-144,-145}},{{-246,-205,-275,-208,-199,-271},{-248,-207,-271,-270,-243,-217},{-156,-193,-168,-217,-224,-238},{-236,-150,-258,-241,-263,-207},{-253,-150,-251,-192,-169,-200},{-253,-260,-158,-217,-206,-281},{-168,-264,-275,-230,-298,-255},{-184,-223,-258,-256,-291,-217},{-141,-154,-183,-217,-190,-288},{-204,-234,-173,-267,-231,-259},{-230,-248,-226,-230,-172,-188},{-220,-178,-196,-194,-208,-176},{-218,-228,-204,-252,-270,-178},{-248,-182,-204,-190,-204,-276},{-228,-258,-187,-232,-174,-214},{-249,-172,-262,-203,-282,-278},{-230,-160,-234,-278,-284,-269},{-248,-248,-175,-186,-231,-186},{-164,-184,-149,-274,-206,-169},{-238,-182,-264,-223,-284,-307}},{{-240,-332,-225,-200,-216,-328},{-183,-296,-296,-219,-316,-362},{-178,-296,-199,-286,-296,-235},{-225,-217,-317,-335,-338,-280},{-257,-324,-183,-292,-244,-300},{-242,-194,-212,-216,-260,-209},{-180,-219,-288,-319,-266,-204},{-240,-204,-296,-265,-357,-226},{-301,-275,-314,-256,-355,-348},{-210,-207,-202,-273,-255,-323},{-257,-258,-196,-348,-271,-303},{-277,-291,-249,-321,-216,-232},{-173,-329,-293,-329,-338,-201},{-175,-326,-233,-230,-194,-348},{-259,-306,-288,-246,-202,-325},{-207,-219,-252,-224,-280,-280},{-314,-178,-236,-240,-263,-359},{-230,-283,-194,-256,-296,-351},{-210,-189,-338,-227,-341,-283},{-207,-329,-196,-221,-307,-337}},{{-341,-250,-244,-331,-295,-226},{-318,-300,-235,-220,-373,-376},{-231,-356,-295,-346,-331,-364},{-217,-341,-292,-226,-322,-361},{-286,-223,-265,-220,-241,-223},{-205,-206,-304,-316,-304,-265},{-373,-232,-304,-262,-220,-304},{-295,-309,-316,-220,-367,-322},{-358,-356,-298,-289,-298,-346},{-306,-335,-349,-259,-379,-358},{-260,-335,-384,-262,-271,-244},{-344,-379,-370,-373,-373,-310},{-263,-315,-340,-382,-277,-382},{-355,-300,-352,-262,-229,-280},{-301,-338,-298,-247,-340,-328},{-301,-376,-232,-253,-214,-361},{-266,-262,-226,-289,-346,-370},{-303,-315,-280,-391,-250,-316},{-286,-312,-271,-250,-334,-385},{-353,-253,-372,-370,-358,-259}},{{-364,-352,-238,-258,-373,-290},{-253,-253,-382,-381,-362,-371},{-214,-301,-322,-342,-259,-258},{-247,-307,-298,-303,-306,-226},{-265,-367,-322,-321,-220,-261},{-352,-316,-373,-360,-338,-357},{-322,-295,-247,-297,-332,-284},{-388,-223,-343,-279,-344,-310},{-217,-304,-355,-279,-247,-241},{-259,-253,-337,-327,-229,-232},{-361,-358,-373,-243,-220,-270},{-313,-226,-382,-273,-285,-307},{-211,-256,-214,-273,-353,-235},{-295,-364,-307,-288,-250,-249},{-301,-382,-223,-297,-359,-238},{-214,-334,-265,-378,-344,-203},{-349,-301,-259,-348,-206,-223},{-391,-286,-292,-336,-370,-249},{-229,-364,-331,-378,-282,-212},{-301,-232,-376,-357,-285,-336}},{{-262,-259,-347,-325,-238,-275},{-239,-335,-271,-224,-274,-226},{-311,-299,-287,-298,-271,-298},{-333,-312,-341,-230,-264,-248},{-325,-226,-287,-216,-312,-308},{-331,-246,-309,-319,-182,-241},{-319,-285,-279,-298,-215,-265},{-348,-299,-339,-335,-325,-310},{-259,-318,-325,-312,-241,-176},{-200,-276,-317,-185,-307,-285},{-348,-338,-287,-269,-279,-201},{-296,-204,-268,-203,-215,-293},{-225,-234,-244,-261,-302,-312},{-305,-251,-238,-219,-333,-174},{-262,-352,-198,-312,-212,-191},{-202,-321,-201,-309,-220,-298},{-319,-329,-252,-280,-251,-275},{-268,-204,-320,-330,-294,-258},{-214,-265,-238,-264,-179,-241},{-308,-223,-241,-296,-189,-201}},{{-240,-302,-285,-155,-236,-179},{-223,-181,-256,-215,-190,-169},{-298,-197,-288,-232,-248,-195},{-218,-299,-214,-271,-188,-201},{-202,-230,-156,-237,-230,-193},{-312,-255,-210,-256,-186,-165},{-206,-276,-239,-157,-166,-161},{-209,-274,-172,-211,-164,-151},{-199,-297,-169,-185,-215,-161},{-170,-234,-190,-237,-199,-193},{-310,-239,-163,-183,-153,-201},{-235,-183,-239,-271,-234,-185},{-288,-223,-203,-243,-267,-213},{-199,-292,-279,-194,-186,-257},{-175,-290,-185,-181,-203,-195},{-298,-162,-252,-217,-164,-225},{-185,-241,-185,-181,-199,-207},{-257,-197,-196,-245,-240,-155},{-168,-179,-248,-166,-188,-247},{-211,-297,-207,-260,-248,-203}},{{-244,-134,-188,-136,-219,-178},{-161,-162,-235,-177,-173,-203},{-244,-240,-152,-224,-200,-178},{-148,-203,-150,-124,-198,-218},{-154,-199,-161,-201,-207,-136},{-242,-160,-163,-170,-150,-146},{-230,-147,-154,-226,-139,-124},{-167,-134,-194,-222,-203,-124},{-250,-173,-214,-131,-212,-218},{-165,-154,-148,-122,-210,-185},{-177,-160,-143,-144,-219,-165},{-148,-188,-179,-217,-166,-192},{-171,-225,-205,-224,-205,-176},{-240,-193,-195,-150,-144,-173},{-179,-242,-147,-193,-152,-146},{-217,-190,-208,-163,-215,-158},{-213,-210,-176,-186,-121,-134},{-154,-164,-206,-182,-180,-124},{-180,-143,-232,-194,-192,-133},{-248,-227,-205,-198,-133,-193}},{{-207,-175,-198,-133,-155,-156},{-128,-121,-121,-190,-217,-180},{-158,-148,-148,-188,-129,-156},{-193,-200,-197,-150,-195,-163},{-121,-151,-138,-138,-195,-218},{-118,-143,-212,-131,-171,-192},{-173,-171,-138,-183,-186,-218},{-168,-188,-207,-195,-213,-165},{-163,-208,-121,-161,-215,-139},{-212,-123,-165,-213,-134,-119},{-144,-185,-131,-181,-181,-133},{-126,-197,-192,-138,-131,-195},{-197,-155,-186,-168,-210,-205},{-160,-123,-205,-192,-215,-210},{-118,-170,-215,-212,-195,-160},{-213,-148,-195,-139,-128,-155},{-158,-148,-180,-133,-192,-139},{-185,-144,-150,-168,-144,-126},{-175,-205,-183,-158,-175,-118},{-133,-195,-156,-170,-188,-166}}},{{{-319,-372,-273,-250,-280,-388},{-313,-372,-336,-270,-283,-395},{-280,-290,-349,-290,-421,-257},{-257,-237,-243,-398,-260,-243},{-372,-415,-365,-319,-253,-336},{-339,-309,-296,-352,-378,-293},{-418,-250,-237,-392,-368,-290},{-345,-306,-398,-290,-342,-309},{-418,-253,-349,-342,-319,-250},{-234,-398,-349,-411,-415,-286},{-280,-332,-273,-375,-283,-247},{-263,-362,-372,-309,-339,-247},{-322,-247,-313,-365,-290,-368},{-336,-382,-230,-303,-266,-349},{-342,-266,-266,-405,-319,-293},{-418,-421,-424,-352,-243,-303},{-411,-316,-257,-428,-339,-372},{-395,-405,-415,-395,-234,-309},{-342,-421,-280,-385,-339,-401},{-313,-342,-250,-336,-326,-296}},{{-328,-357,-364,-226,-385,-388},{-361,-322,-319,-267,-385,-262},{-394,-261,-252,-364,-262,-244},{-387,-332,-345,-283,-370,-268},{-344,-283,-230,-314,-348,-304},{-403,-341,-335,-270,-259,-232},{-348,-380,-287,-245,-277,-376},{-410,-406,-364,-374,-262,-304},{-276,-338,-239,-279,-293,-238},{-266,-261,-300,-380,-293,-298},{-371,-377,-233,-345,-342,-325},{-403,-309,-325,-301,-228,-235},{-400,-254,-313,-245,-277,-214},{-364,-406,-306,-333,-351,-283},{-259,-341,-239,-371,-240,-235},{-295,-419,-258,-254,-385,-259},{-315,-393,-325,-380,-379,-322},{-354,-312,-325,-396,-256,-220},{-397,-380,-329,-317,-219,-250},{-331,-290,-230,-405,-305,-391}},{{-354,-279,-361,-256,-278,-275},{-242,-325,-286,-248,-196,-229},{-384,-366,-230,-343,-220,-236},{-348,-374,-196,-253,-186,-193},{-319,-331,-347,-321,-289,-275},{-360,-308,-230,-275,-329,-270},{-378,-225,-252,-226,-238,-224},{-327,-210,-210,-275,-231,-280},{-316,-239,-207,-343,-254,-332},{-304,-230,-358,-207,-252,-262},{-277,-317,-258,-294,-334,-236},{-260,-276,-339,-345,-231,-308},{-254,-320,-216,-269,-241,-242},{-348,-311,-314,-269,-186,-198},{-271,-351,-322,-242,-188,-236},{-322,-297,-199,-310,-297,-298},{-384,-372,-283,-272,-284,-234},{-313,-207,-213,-215,-260,-303},{-242,-294,-358,-231,-252,-306},{-381,-225,-196,-193,-244,-298}},{{-322,-265,-230,-192,-233,-247},{-300,-241,-301,-213,-276,-201},{-275,-214,-246,-199,-278,-221},{-215,-194,-216,-245,-280,-208},{-218,-292,-294,-189,-251,-195},{-325,-180,-237,-243,-208,-223},{-320,-204,-292,-199,-222,-201},{-238,-260,-292,-162,-206,-232},{-218,-248,-175,-275,-228,-186},{-250,-192,-251,-238,-202,-254},{-250,-279,-299,-280,-255,-278},{-195,-177,-206,-273,-211,-265},{-192,-221,-220,-240,-166,-228},{-325,-194,-299,-243,-253,-241},{-185,-296,-190,-243,-282,-269},{-312,-258,-282,-256,-282,-180},{-175,-292,-182,-252,-204,-186},{-302,-219,-166,-240,-179,-254},{-292,-301,-296,-289,-220,-186},{-218,-277,-299,-252,-273,-226}},{{-174,-237,-227,-269,-172,-212},{-210,-147,-254,-162,-218,-189},{-158,-254,-185,-218,-206,-235},{-213,-227,-267,-181,-155,-241},{-182,-246,-178,-202,-267,-172},{-174,-218,-187,-178,-273,-214},{-165,-158,-183,-191,-193,-149},{-178,-269,-210,-241,-239,-200},{-154,-183,-241,-212,-231,-252},{-191,-265,-181,-191,-229,-244},{-197,-254,-166,-189,-210,-214},{-269,-174,-185,-162,-168,-218},{-158,-147,-181,-210,-246,-265},{-273,-233,-176,-153,-200,-241},{-256,-195,-220,-151,-260,-172},{-208,-191,-149,-227,-265,-151},{-167,-235,-252,-202,-223,-191},{-204,-216,-174,-176,-174,-187},{-152,-155,-172,-241,-181,-160},{-213,-237,-208,-168,-208,-235}},{{-273,-181,-192,-280,-194,-250},{-254,-248,-232,-271,-279,-216},{-151,-149,-160,-152,-257,-182},{-183,-206,-272,-178,-227,-214},{-265,-265,-253,-210,-178,-274},{-178,-168,-207,-176,-282,-261},{-260,-178,-234,-250,-264,-277},{-147,-212,-173,-282,-209,-277},{-197,-225,-169,-200,-172,-288},{-187,-254,-165,-243,-163,-218},{-181,-229,-194,-273,-191,-198},{-254,-172,-213,-200,-266,-189},{-269,-258,-209,-267,-154,-187},{-206,-202,-236,-247,-238,-191},{-273,-147,-241,-280,-271,-252},{-248,-223,-184,-191,-262,-252},{-178,-174,-184,-158,-271,-196},{-250,-202,-173,-169,-286,-214},{-172,-183,-205,-200,-169,-198},{-246,-258,-203,-154,-227,-214}},{{-266,-204,-203,-316,-328,-202},{-249,-232,-229,-211,-206,-207},{-247,-225,-232,-324,-268,-218},{-222,-206,-200,-186,-230,-330},{-213,-249,-295,-261,-248,-327},{-178,-299,-261,-196,-289,-330},{-277,-197,-244,-193,-263,-213},{-266,-197,-224,-193,-289,-213},{-259,-294,-227,-176,-261,-279},{-286,-308,-198,-201,-224,-239},{-273,-244,-205,-304,-255,-186},{-263,-220,-203,-296,-289,-192},{-291,-166,-251,-291,-310,-301},{-201,-256,-205,-264,-230,-189},{-189,-256,-212,-233,-186,-274},{-231,-301,-312,-324,-248,-298},{-286,-306,-224,-183,-276,-210},{-273,-175,-183,-276,-263,-338},{-275,-287,-207,-228,-328,-234},{-254,-171,-229,-314,-181,-189}},{{-197,-298,-344,-311,-245,-243},{-208,-362,-283,-216,-378,-388},{-337,-242,-318,-231,-230,-363},{-353,-275,-231,-367,-245,-382},{-332,-326,-272,-237,-272,-249},{-236,-273,-205,-296,-359,-286},{-304,-236,-309,-323,-393,-246},{-332,-312,-283,-364,-251,-240},{-279,-205,-318,-296,-214,-394},{-227,-357,-234,-329,-323,-222},{-290,-292,-373,-358,-356,-219},{-318,-259,-231,-334,-257,-277},{-244,-230,-376,-379,-257,-326},{-192,-267,-202,-281,-257,-357},{-334,-197,-205,-382,-245,-370},{-321,-332,-263,-237,-347,-225},{-252,-315,-298,-222,-272,-286},{-208,-236,-373,-234,-290,-320},{-310,-211,-347,-376,-226,-253},{-258,-202,-208,-370,-302,-265}},{{-387,-269,-402,-290,-342,-309},{-261,-384,-332,-339,-313,-385},{-343,-400,-345,-424,-283,-385},{-343,-346,-364,-326,-303,-280},{-265,-272,-261,-253,-332,-424},{-290,-307,-415,-408,-395,-388},{-403,-282,-225,-385,-290,-375},{-293,-358,-290,-378,-316,-306},{-328,-378,-354,-359,-293,-240},{-252,-285,-264,-234,-322,-424},{-243,-240,-380,-368,-306,-247},{-318,-259,-238,-260,-250,-250},{-236,-416,-402,-378,-428,-290},{-230,-352,-299,-339,-418,-408},{-274,-416,-415,-378,-329,-355},{-346,-406,-283,-329,-368,-336},{-230,-394,-335,-398,-336,-290},{-400,-326,-338,-276,-332,-405},{-296,-269,-357,-316,-355,-270},{-243,-282,-338,-299,-395,-411}}},{{{-83,-127,-87,-110,-118,-119},{-117,-112,-84,-152,-111,-111},{-74,-103,-142,-111,-106,-93},{-92,-128,-127,-116,-93,-159},{-84,-122,-144,-105,-138,-106},{-90,-110,-129,-104,-159,-155},{-84,-99,-142,-91,-106,-134},{-124,-106,-95,-109,-129,-164},{-111,-91,-131,-118,-143,-129},{-97,-80,-87,-113,-92,-154},{-75,-109,-102,-101,-95,-92},{-112,-85,-124,-116,-115,-111},{-131,-117,-127,-83,-89,-157},{-133,-80,-103,-88,-127,-113},{-119,-126,-104,-118,-139,-102},{-130,-126,-142,-121,-152,-120},{-110,-123,-116,-103,-106,-143},{-96,-120,-129,-106,-111,-93},{-80,-109,-114,-152,-149,-96},{-136,-120,-90,-151,-133,-110}},{{-109,-175,-176,-174,-132,-173},{-157,-106,-126,-189,-161,-190},{-126,-127,-138,-191,-184,-131},{-97,-123,-121,-194,-163,-173},{-99,-131,-178,-130,-121,-208},{-101,-171,-107,-178,-163,-119},{-112,-161,-110,-130,-188,-156},{-159,-149,-155,-110,-148,-143},{-124,-166,-147,-149,-193,-156},{-117,-145,-189,-166,-113,-161},{-100,-109,-138,-152,-158,-129},{-128,-159,-139,-197,-113,-195},{-151,-121,-135,-178,-130,-195},{-154,-135,-148,-150,-192,-173},{-128,-106,-184,-136,-187,-205},{-94,-148,-130,-198,-138,-168},{-122,-182,-182,-119,-113,-215},{-163,-124,-164,-188,-153,-185},{-170,-162,-105,-157,-151,-205},{-94,-140,-144,-132,-145,-207}},{{-138,-207,-195,-184,-251,-141},{-228,-157,-231,-141,-172,-176},{-200,-155,-214,-220,-176,-158},{-159,-173,-169,-239,-159,-150},{-180,-128,-132,-190,-255,-224},{-144,-166,-166,-135,-151,-192},{-126,-178,-182,-175,-214,-154},{-144,-167,-141,-203,-210,-184},{-177,-184,-225,-180,-149,-174},{-196,-137,-182,-194,-145,-228},{-194,-142,-132,-205,-216,-145},{-200,-182,-216,-239,-210,-172},{-161,-218,-188,-165,-147,-246},{-203,-126,-210,-194,-190,-186},{-219,-198,-151,-200,-241,-156},{-186,-162,-132,-188,-204,-168},{-164,-229,-138,-139,-206,-216},{-133,-131,-197,-188,-147,-244},{-140,-166,-145,-186,-239,-255},{-212,-142,-190,-207,-172,-200}},{{-162,-175,-225,-179,-150,-242},{-235,-142,-171,-199,-262,-187},{-197,-187,-171,-221,-201,-164},{-173,-229,-171,-233,-146,-177},{-254,-209,-256,-219,-166,-242},{-231,-142,-173,-264,-240,-193},{-213,-160,-150,-203,-262,-177},{-183,-215,-264,-171,-235,-162},{-223,-221,-185,-195,-256,-191},{-264,-156,-193,-158,-223,-152},{-158,-223,-233,-164,-193,-203},{-227,-244,-189,-171,-173,-233},{-154,-189,-221,-173,-250,-215},{-233,-252,-227,-215,-162,-181},{-205,-258,-166,-150,-168,-219},{-199,-260,-244,-177,-209,-225},{-150,-189,-221,-166,-250,-168},{-164,-152,-227,-221,-154,-181},{-225,-223,-235,-209,-233,-260},{-205,-160,-199,-148,-227,-193}},{{-205,-264,-244,-238,-170,-149},{-171,-175,-162,-230,-161,-224},{-191,-209,-207,-158,-229,-158},{-185,-199,-254,-191,-229,-237},{-227,-160,-225,-211,-172,-171},{-160,-173,-250,-224,-212,-145},{-175,-223,-240,-215,-132,-204},{-227,-160,-203,-176,-210,-180},{-250,-187,-230,-136,-215,-184},{-156,-264,-189,-246,-244,-142},{-258,-195,-193,-176,-202,-219},{-193,-171,-158,-185,-136,-151},{-231,-156,-215,-177,-140,-173},{-260,-171,-169,-224,-144,-206},{-264,-185,-171,-232,-134,-217},{-175,-146,-183,-248,-146,-173},{-179,-262,-219,-226,-208,-158},{-199,-223,-164,-150,-140,-239},{-209,-240,-219,-205,-147,-142},{-199,-168,-158,-148,-221,-138}},{{-170,-147,-155,-181,-176,-138},{-218,-171,-137,-165,-116,-191},{-159,-164,-212,-136,-162,-118},{-149,-215,-134,-149,-113,-121},{-150,-130,-215,-174,-119,-116},{-143,-206,-204,-150,-147,-162},{-143,-164,-202,-141,-129,-148},{-186,-204,-180,-162,-107,-187},{-227,-130,-187,-142,-144,-141},{-174,-145,-200,-112,-179,-107},{-175,-166,-147,-115,-147,-153},{-183,-204,-125,-176,-171,-112},{-200,-135,-204,-192,-170,-122},{-134,-209,-190,-162,-167,-148},{-168,-142,-217,-114,-181,-162},{-202,-157,-207,-181,-133,-157},{-145,-164,-152,-208,-174,-115},{-218,-170,-124,-133,-199,-134},{-217,-125,-212,-197,-158,-157},{-217,-216,-130,-152,-124,-178}},{{-119,-110,-114,-154,-125,-108},{-141,-165,-161,-136,-85,-103},{-144,-116,-131,-110,-123,-103},{-120,-122,-164,-109,-113,-123},{-132,-129,-130,-122,-137,-143},{-106,-134,-114,-154,-95,-118},{-130,-112,-103,-117,-90,-108},{-102,-142,-113,-100,-144,-97},{-137,-158,-141,-108,-139,-143},{-160,-156,-132,-110,-114,-125},{-129,-114,-157,-145,-132,-116},{-139,-153,-100,-99,-81,-99},{-143,-173,-164,-97,-118,-116},{-118,-145,-91,-115,-131,-118},{-141,-117,-114,-148,-119,-102},{-140,-150,-149,-109,-136,-116},{-112,-94,-130,-106,-137,-97},{-99,-98,-149,-126,-89,-136},{-172,-121,-89,-85,-151,-130},{-127,-173,-138,-103,-126,-110}},{{-125,-73,-105,-116,-120,-94},{-86,-79,-113,-75,-118,-116},{-119,-75,-105,-123,-113,-116},{-74,-114,-74,-108,-79,-114},{-91,-89,-82,-74,-95,-125},{-80,-85,-101,-74,-87,-79},{-123,-96,-126,-71,-89,-90},{-108,-115,-100,-93,-113,-92},{-110,-78,-105,-94,-72,-126},{-100,-110,-119,-113,-126,-72},{-136,-128,-111,-124,-86,-98},{-131,-133,-112,-74,-106,-105},{-128,-96,-118,-107,-82,-99},{-117,-100,-94,-73,-106,-91},{-129,-80,-102,-110,-120,-112},{-125,-82,-83,-124,-113,-98},{-86,-95,-90,-84,-86,-89},{-77,-122,-108,-88,-78,-87},{-133,-114,-125,-101,-80,-115},{-117,-133,-122,-127,-102,-71}},{{-73,-104,-93,-112,-89,-84},{-117,-110,-126,-78,-71,-121},{-95,-93,-96,-72,-118,-107},{-125,-84,-126,-120,-113,-112},{-79,-111,-111,-96,-105,-109},{-89,-96,-88,-121,-73,-87},{-89,-98,-81,-90,-91,-89},{-110,-108,-114,-122,-105,-75},{-91,-73,-102,-83,-90,-92},{-112,-82,-74,-79,-82,-122},{-119,-81,-105,-103,-104,-73},{-91,-98,-73,-87,-105,-101},{-126,-71,-94,-103,-74,-122},{-73,-90,-122,-122,-90,-102},{-122,-115,-101,-109,-91,-111},{-125,-90,-100,-95,-119,-71},{-86,-87,-127,-102,-124,-118},{-102,-125,-77,-121,-82,-102},{-105,-117,-95,-99,-125,-112},{-80,-74,-70,-113,-88,-84}}},{{{-298,-252,-269,-295,-212,-224},{-273,-264,-181,-276,-283,-295},{-207,-269,-178,-307,-200,-207},{-289,-243,-290,-183,-269,-252},{-214,-202,-295,-288,-183,-283},{-224,-202,-255,-259,-224,-257},{-270,-217,-302,-255,-278,-178},{-198,-169,-188,-224,-252,-269},{-268,-295,-193,-174,-259,-250},{-186,-200,-228,-186,-217,-190},{-231,-293,-188,-298,-193,-233},{-235,-226,-181,-174,-252,-195},{-270,-209,-226,-250,-255,-240},{-170,-283,-255,-212,-267,-195},{-231,-198,-209,-276,-240,-212},{-198,-274,-293,-269,-248,-269},{-287,-290,-276,-262,-207,-212},{-247,-171,-231,-238,-221,-193},{-245,-267,-178,-300,-259,-281},{-242,-250,-290,-231,-226,-224}},{{-269,-293,-289,-268,-167,-254},{-217,-231,-164,-208,-208,-168},{-200,-217,-183,-162,-183,-188},{-283,-195,-174,-277,-188,-214},{-274,-224,-284,-291,-192,-201},{-169,-250,-174,-270,-264,-208},{-178,-202,-235,-187,-262,-201},{-257,-243,-195,-171,-174,-259},{-283,-181,-188,-231,-260,-203},{-293,-264,-214,-298,-280,-274},{-238,-257,-214,-201,-206,-197},{-219,-236,-273,-219,-255,-228},{-240,-271,-280,-194,-190,-192},{-236,-252,-186,-284,-282,-190},{-169,-259,-216,-162,-258,-241},{-236,-293,-226,-176,-206,-177},{-307,-245,-266,-296,-208,-159},{-219,-248,-261,-245,-160,-199},{-281,-236,-164,-196,-192,-270},{-219,-190,-301,-247,-219,-234}},{{-256,-268,-218,-181,-174,-234},{-163,-188,-204,-218,-204,-182},{-256,-190,-250,-164,-234,-146},{-280,-234,-248,-176,-198,-227},{-243,-261,-242,-181,-176,-194},{-228,-153,-248,-244,-211,-185},{-200,-213,-234,-138,-178,-184},{-215,-173,-204,-187,-153,-164},{-170,-150,-160,-248,-157,-207},{-226,-265,-206,-215,-155,-135},{-198,-178,-154,-252,-232,-211},{-273,-194,-259,-172,-206,-221},{-181,-261,-162,-222,-161,-175},{-217,-153,-232,-174,-189,-182},{-185,-213,-232,-211,-237,-155},{-213,-247,-182,-193,-200,-229},{-241,-163,-143,-220,-142,-220},{-155,-169,-234,-158,-243,-193},{-230,-222,-188,-207,-153,-193},{-252,-146,-248,-150,-174,-223}},{{-162,-158,-204,-140,-128,-168},{-124,-170,-196,-128,-102,-149},{-146,-157,-126,-138,-111,-153},{-163,-180,-196,-141,-132,-174},{-134,-135,-159,-156,-156,-175},{-186,-175,-111,-128,-151,-178},{-129,-147,-111,-148,-109,-175},{-139,-155,-119,-156,-150,-141},{-218,-150,-176,-162,-140,-170},{-131,-180,-130,-162,-138,-167},{-215,-201,-113,-136,-170,-119},{-182,-120,-151,-192,-102,-115},{-224,-211,-165,-180,-151,-174},{-148,-177,-113,-108,-132,-178},{-160,-198,-163,-111,-170,-167},{-139,-119,-119,-186,-105,-139},{-124,-213,-141,-116,-176,-124},{-155,-210,-173,-164,-173,-155},{-144,-148,-176,-147,-187,-126},{-129,-167,-203,-142,-130,-157}},{{-108,-147,-97,-119,-117,-92},{-117,-160,-141,-121,-104,-123},{-152,-158,-97,-105,-121,-129},{-101,-88,-87,-113,-118,-154},{-157,-89,-115,-84,-93,-150},{-150,-107,-161,-107,-121,-118},{-152,-111,-110,-139,-84,-105},{-98,-158,-135,-96,-94,-92},{-165,-160,-126,-150,-89,-111},{-132,-142,-114,-124,-134,-142},{-117,-131,-99,-89,-106,-108},{-108,-163,-98,-139,-118,-154},{-142,-127,-95,-87,-124,-88},{-136,-116,-160,-146,-90,-142},{-170,-106,-120,-83,-154,-127},{-110,-123,-93,-101,-108,-123},{-156,-108,-161,-112,-84,-107},{-104,-150,-156,-89,-148,-154},{-93,-97,-92,-149,-145,-87},{-137,-135,-130,-99,-146,-129}},{{-115,-154,-145,-154,-94,-108},{-126,-139,-129,-88,-121,-102},{-120,-126,-124,-149,-110,-116},{-151,-98,-102,-118,-151,-129},{-89,-144,-150,-139,-155,-98},{-151,-124,-124,-90,-115,-146},{-142,-107,-96,-90,-132,-134},{-148,-102,-109,-83,-109,-132},{-106,-101,-136,-121,-95,-121},{-124,-121,-101,-130,-132,-97},{-134,-101,-124,-105,-152,-151},{-124,-143,-138,-112,-159,-136},{-133,-108,-113,-124,-92,-154},{-96,-127,-86,-121,-134,-91},{-119,-154,-149,-86,-116,-155},{-96,-117,-89,-111,-134,-154},{-154,-92,-126,-151,-111,-156},{-92,-106,-134,-152,-142,-155},{-109,-134,-108,-115,-128,-160},{-95,-137,-143,-118,-96,-145}},{{-121,-128,-131,-178,-161,-190},{-164,-163,-179,-173,-192,-133},{-151,-106,-113,-149,-164,-136},{-96,-166,-173,-124,-164,-185},{-93,-147,-137,-148,-172,-204},{-136,-98,-178,-110,-110,-162},{-131,-137,-155,-139,-124,-175},{-121,-109,-173,-178,-169,-196},{-93,-107,-127,-152,-121,-168},{-138,-148,-178,-166,-118,-198},{-147,-110,-110,-182,-180,-147},{-170,-140,-154,-141,-198,-185},{-139,-144,-176,-124,-127,-159},{-162,-165,-106,-121,-153,-193},{-141,-171,-121,-139,-136,-125},{-101,-124,-113,-105,-191,-177},{-123,-118,-135,-118,-166,-178},{-130,-154,-118,-178,-172,-123},{-114,-171,-118,-136,-197,-165},{-170,-165,-133,-184,-181,-206}},{{-133,-200,-130,-161,-211,-190},{-167,-166,-194,-180,-169,-268},{-190,-209,-228,-192,-165,-262},{-165,-126,-235,-134,-149,-208},{-201,-218,-152,-167,-249,-190},{-187,-143,-187,-142,-195,-206},{-189,-202,-141,-148,-231,-243},{-121,-188,-231,-213,-143,-231},{-134,-135,-240,-227,-231,-152},{-219,-179,-224,-196,-181,-245},{-189,-131,-237,-198,-217,-169},{-143,-228,-228,-219,-215,-266},{-192,-218,-131,-161,-205,-194},{-124,-200,-146,-165,-145,-177},{-219,-212,-130,-230,-191,-200},{-170,-193,-170,-136,-177,-196},{-126,-189,-181,-154,-157,-152},{-178,-225,-165,-205,-197,-167},{-162,-165,-237,-194,-147,-154},{-212,-129,-179,-223,-241,-243}},{{-219,-239,-255,-208,-215,-185},{-160,-195,-276,-196,-233,-238},{-217,-177,-190,-182,-293,-192},{-179,-204,-262,-224,-219,-259},{-181,-184,-289,-247,-203,-229},{-153,-186,-164,-243,-226,-298},{-222,-180,-213,-226,-266,-178},{-226,-201,-278,-206,-219,-169},{-262,-239,-287,-194,-185,-249},{-185,-188,-262,-263,-180,-199},{-198,-199,-231,-238,-187,-166},{-187,-269,-184,-243,-219,-233},{-194,-195,-168,-282,-240,-178},{-258,-265,-220,-259,-273,-171},{-262,-239,-273,-247,-284,-296},{-207,-191,-161,-208,-180,-178},{-258,-191,-217,-180,-268,-222},{-253,-247,-224,-171,-213,-171},{-256,-267,-213,-293,-266,-199},{-239,-186,-269,-266,-247,-240}}},{{{-343,-340,-290,-340,-322,-295},{-306,-200,-229,-346,-189,-231},{-340,-261,-192,-247,-343,-309},{-234,-290,-335,-290,-218,-205},{-250,-274,-253,-197,-332,-271},{-271,-205,-346,-327,-229,-332},{-279,-317,-239,-322,-301,-202},{-218,-210,-221,-242,-279,-295},{-303,-327,-255,-258,-274,-266},{-263,-200,-261,-189,-343,-207},{-226,-231,-200,-317,-330,-197},{-295,-242,-223,-205,-293,-226},{-327,-298,-247,-340,-186,-335},{-306,-200,-309,-263,-239,-340},{-269,-192,-250,-226,-234,-290},{-319,-338,-205,-202,-261,-335},{-285,-242,-311,-213,-303,-269},{-309,-245,-290,-263,-253,-218},{-279,-301,-261,-234,-277,-250},{-306,-335,-205,-234,-306,-237}},{{-290,-343,-282,-229,-296,-280},{-301,-194,-226,-301,-241,-207},{-322,-303,-295,-306,-252,-298},{-271,-213,-223,-306,-307,-272},{-282,-261,-343,-335,-320,-231},{-338,-319,-287,-282,-275,-192},{-200,-250,-266,-192,-183,-332},{-274,-253,-330,-234,-335,-334},{-205,-285,-309,-247,-204,-298},{-255,-311,-245,-330,-196,-249},{-213,-223,-261,-263,-317,-319},{-332,-221,-322,-218,-317,-337},{-346,-189,-327,-309,-257,-199},{-263,-303,-255,-202,-220,-277},{-186,-258,-237,-263,-296,-311},{-327,-205,-306,-285,-317,-238},{-197,-332,-343,-317,-328,-243},{-255,-245,-245,-245,-325,-293},{-346,-317,-215,-258,-238,-225},{-239,-221,-346,-311,-312,-223}},{{-295,-220,-325,-305,-176,-277},{-316,-271,-297,-223,-225,-255},{-329,-261,-265,-258,-172,-311},{-329,-243,-290,-260,-184,-306},{-231,-180,-176,-300,-292,-251},{-280,-220,-179,-250,-270,-272},{-308,-311,-272,-315,-235,-193},{-295,-207,-184,-223,-294,-236},{-303,-324,-207,-265,-292,-171},{-332,-223,-202,-308,-296,-176},{-329,-319,-176,-216,-196,-176},{-277,-321,-232,-226,-262,-270},{-202,-248,-295,-293,-250,-198},{-298,-258,-244,-243,-260,-174},{-337,-266,-295,-236,-179,-234},{-277,-202,-297,-258,-194,-181},{-184,-258,-323,-285,-265,-255},{-264,-276,-265,-193,-255,-289},{-202,-243,-315,-250,-306,-224},{-311,-306,-249,-191,-220,-200}},{{-178,-275,-189,-246,-181,-271},{-236,-277,-259,-260,-242,-188},{-276,-230,-199,-172,-193,-168},{-195,-190,-229,-283,-208,-278},{-267,-204,-176,-223,-271,-199},{-181,-270,-259,-198,-206,-242},{-212,-247,-169,-161,-166,-206},{-171,-204,-215,-193,-202,-208},{-240,-284,-213,-237,-161,-224},{-214,-228,-203,-267,-208,-228},{-221,-204,-240,-163,-166,-195},{-274,-164,-178,-161,-251,-282},{-243,-214,-280,-276,-262,-186},{-262,-186,-243,-269,-215,-262},{-286,-228,-196,-267,-179,-269},{-200,-172,-224,-269,-175,-291},{-171,-240,-187,-177,-159,-289},{-288,-235,-166,-251,-208,-228},{-195,-287,-273,-184,-264,-282},{-202,-258,-180,-297,-179,-222}},{{-187,-237,-280,-161,-152,-260},{-224,-197,-202,-174,-241,-241},{-191,-206,-195,-193,-234,-161},{-227,-265,-191,-232,-232,-254},{-233,-258,-267,-241,-217,-252},{-198,-206,-174,-267,-184,-213},{-262,-226,-210,-176,-278,-254},{-183,-163,-258,-171,-226,-241},{-286,-232,-226,-187,-193,-178},{-235,-215,-217,-280,-195,-154},{-220,-176,-197,-258,-273,-176},{-273,-232,-178,-174,-189,-182},{-235,-158,-271,-234,-193,-221},{-213,-167,-258,-252,-232,-167},{-191,-171,-254,-206,-243,-267},{-216,-174,-250,-200,-282,-176},{-227,-208,-282,-158,-182,-158},{-205,-156,-161,-197,-187,-263},{-227,-217,-210,-250,-215,-180},{-284,-263,-256,-273,-237,-278}},{{-254,-224,-273,-197,-178,-237},{-219,-193,-204,-182,-161,-156},{-180,-187,-228,-169,-193,-206},{-161,-276,-195,-204,-202,-193},{-241,-232,-215,-239,-237,-202},{-152,-174,-230,-234,-228,-247},{-180,-278,-278,-189,-230,-226},{-197,-278,-241,-247,-250,-239},{-234,-161,-165,-252,-208,-202},{-221,-182,-200,-180,-169,-197},{-224,-156,-254,-219,-187,-232},{-250,-226,-247,-260,-180,-267},{-228,-250,-154,-247,-282,-158},{-228,-195,-189,-230,-230,-176},{-228,-161,-154,-193,-219,-252},{-252,-163,-213,-241,-184,-280},{-171,-263,-167,-267,-195,-180},{-226,-167,-224,-180,-271,-263},{-180,-230,-171,-215,-158,-213},{-256,-258,-219,-215,-254,-200}},{{-241,-276,-246,-218,-259,-242},{-192,-159,-197,-290,-256,-174},{-172,-206,-213,-294,-293,-179},{-206,-206,-204,-216,-243,-230},{-234,-161,-193,-184,-164,-233},{-190,-199,-273,-232,-196,-226},{-223,-222,-224,-193,-280,-237},{-256,-233,-291,-283,-298,-284},{-250,-199,-251,-271,-226,-188},{-281,-271,-204,-239,-284,-275},{-199,-188,-166,-198,-182,-233},{-239,-291,-269,-223,-268,-216},{-278,-193,-195,-163,-215,-296},{-263,-258,-287,-177,-199,-183},{-197,-195,-235,-186,-291,-223},{-166,-260,-206,-269,-217,-167},{-208,-197,-217,-276,-275,-277},{-254,-253,-199,-170,-178,-291},{-175,-287,-240,-209,-245,-193},{-234,-206,-179,-175,-243,-214}},{{-293,-261,-238,-300,-234,-321},{-243,-293,-194,-315,-222,-268},{-262,-172,-279,-303,-292,-245},{-238,-191,-316,-181,-265,-329},{-248,-184,-318,-208,-325,-248},{-257,-169,-294,-223,-325,-192},{-288,-240,-235,-317,-214,-180},{-205,-218,-314,-268,-242,-202},{-248,-218,-267,-221,-280,-210},{-271,-242,-314,-317,-267,-286},{-264,-252,-218,-243,-237,-311},{-200,-203,-176,-268,-247,-210},{-176,-206,-282,-208,-287,-235},{-228,-186,-306,-193,-212,-256},{-309,-189,-186,-250,-300,-202},{-202,-218,-245,-280,-244,-324},{-248,-249,-314,-317,-300,-215},{-257,-295,-238,-186,-214,-197},{-171,-182,-279,-293,-280,-258},{-167,-169,-294,-258,-280,-326}},{{-285,-280,-330,-277,-226,-303},{-246,-192,-217,-314,-255,-189},{-215,-272,-307,-274,-237,-327},{-282,-225,-249,-327,-322,-239},{-269,-306,-299,-293,-226,-314},{-311,-321,-286,-325,-255,-186},{-223,-324,-257,-237,-197,-197},{-300,-218,-309,-231,-274,-205},{-334,-210,-267,-266,-229,-332},{-207,-321,-286,-266,-269,-200},{-337,-256,-312,-234,-340,-332},{-277,-254,-259,-194,-274,-295},{-280,-231,-320,-189,-263,-234},{-220,-212,-333,-194,-213,-314},{-332,-272,-257,-335,-295,-335},{-207,-332,-296,-266,-293,-290},{-303,-246,-272,-343,-311,-327},{-290,-202,-217,-192,-335,-231},{-194,-306,-241,-229,-343,-332},{-192,-306,-238,-221,-322,-258}}},{{{-310,-373,-346,-211,-232,-379},{-247,-325,-223,-376,-316,-361},{-292,-298,-301,-220,-313,-305},{-376,-307,-244,-220,-340,-379},{-211,-310,-268,-286,-280,-382},{-232,-238,-241,-313,-385,-334},{-331,-328,-289,-217,-283,-287},{-352,-244,-319,-271,-301,-317},{-238,-331,-268,-262,-358,-349},{-370,-214,-241,-361,-340,-376},{-346,-289,-391,-214,-352,-367},{-346,-289,-241,-217,-286,-361},{-358,-286,-385,-226,-373,-379},{-355,-247,-229,-346,-334,-326},{-223,-277,-268,-316,-220,-358},{-313,-253,-223,-265,-325,-334},{-364,-220,-310,-310,-334,-296},{-271,-271,-349,-301,-286,-349},{-235,-298,-247,-259,-376,-258},{-340,-328,-355,-313,-295,-296}},{{-366,-327,-322,-339,-193,-193},{-296,-270,-241,-240,-212,-293},{-346,-362,-227,-235,-188,-308},{-319,-270,-358,-254,-241,-203},{-355,-344,-291,-257,-307,-324},{-343,-367,-305,-319,-321,-206},{-340,-304,-319,-229,-297,-288},{-246,-232,-266,-308,-217,-260},{-319,-238,-330,-287,-284,-198},{-352,-218,-333,-191,-299,-326},{-328,-215,-252,-240,-310,-270},{-352,-310,-252,-197,-268,-211},{-211,-287,-227,-284,-329,-272},{-349,-353,-344,-325,-337,-326},{-346,-290,-294,-306,-249,-306},{-275,-333,-255,-341,-323,-234},{-340,-293,-235,-210,-246,-298},{-272,-204,-202,-257,-231,-265},{-325,-212,-213,-273,-278,-316},{-226,-293,-277,-300,-262,-188}},{{-305,-295,-206,-243,-271,-200},{-243,-264,-298,-177,-159,-184},{-303,-228,-224,-201,-204,-196},{-315,-182,-229,-186,-263,-170},{-265,-230,-188,-276,-220,-194},{-315,-295,-245,-194,-174,-196},{-268,-199,-167,-212,-257,-263},{-188,-175,-229,-225,-165,-204},{-238,-168,-213,-157,-269,-234},{-290,-274,-245,-254,-191,-145},{-228,-204,-211,-212,-189,-224},{-280,-211,-188,-239,-176,-156},{-295,-295,-268,-172,-206,-196},{-206,-238,-254,-287,-235,-246},{-233,-242,-236,-272,-235,-162},{-260,-235,-224,-283,-267,-208},{-298,-278,-174,-250,-269,-174},{-228,-221,-211,-283,-216,-222},{-273,-254,-286,-161,-167,-252},{-218,-168,-254,-186,-180,-232}},{{-217,-223,-206,-201,-188,-137},{-136,-154,-219,-218,-154,-124},{-211,-240,-199,-196,-209,-167},{-231,-195,-217,-218,-156,-134},{-211,-240,-215,-158,-168,-190},{-235,-225,-212,-134,-148,-143},{-190,-132,-126,-224,-194,-155},{-151,-186,-224,-213,-173,-192},{-175,-242,-187,-163,-204,-209},{-219,-190,-162,-132,-181,-172},{-177,-171,-125,-194,-120,-151},{-171,-141,-206,-194,-171,-135},{-157,-203,-169,-165,-139,-182},{-208,-216,-166,-191,-193,-147},{-227,-238,-144,-224,-203,-209},{-198,-151,-206,-222,-138,-114},{-142,-208,-176,-158,-134,-179},{-248,-166,-185,-153,-166,-201},{-194,-143,-130,-222,-159,-155},{-149,-141,-214,-175,-153,-147}},{{-117,-126,-165,-199,-194,-145},{-136,-112,-137,-134,-165,-111},{-136,-160,-108,-188,-125,-120},{-139,-188,-116,-136,-140,-129},{-137,-186,-188,-108,-192,-119},{-173,-120,-125,-168,-119,-152},{-151,-200,-159,-183,-197,-152},{-179,-111,-136,-186,-148,-189},{-115,-176,-146,-176,-169,-136},{-144,-169,-165,-148,-148,-143},{-112,-189,-146,-139,-162,-129},{-154,-123,-172,-160,-142,-168},{-198,-182,-116,-156,-199,-180},{-173,-134,-160,-139,-176,-191},{-198,-180,-169,-169,-146,-166},{-189,-180,-109,-126,-131,-109},{-173,-119,-126,-117,-111,-109},{-139,-145,-177,-159,-188,-183},{-120,-169,-128,-189,-192,-117},{-122,-197,-114,-146,-122,-156}},{{-157,-145,-170,-148,-189,-214},{-189,-119,-128,-217,-168,-210},{-168,-167,-204,-205,-215,-199},{-156,-114,-199,-178,-184,-186},{-111,-137,-173,-150,-124,-138},{-137,-118,-138,-218,-215,-217},{-146,-162,-122,-205,-140,-208},{-200,-148,-144,-141,-166,-223},{-142,-127,-131,-138,-133,-170},{-169,-137,-199,-198,-196,-134},{-160,-170,-177,-155,-217,-150},{-200,-119,-193,-175,-124,-206},{-185,-153,-118,-175,-215,-186},{-162,-176,-120,-190,-163,-148},{-119,-126,-170,-188,-135,-197},{-148,-178,-168,-163,-164,-129},{-145,-121,-207,-178,-149,-226},{-131,-184,-130,-128,-145,-214},{-146,-167,-125,-181,-191,-201},{-116,-183,-152,-141,-140,-163}},{{-190,-141,-169,-153,-189,-255},{-238,-230,-220,-170,-176,-183},{-177,-208,-173,-277,-160,-192},{-207,-251,-239,-243,-272,-257},{-222,-194,-220,-243,-184,-178},{-171,-200,-260,-258,-160,-173},{-150,-240,-159,-211,-238,-264},{-186,-255,-229,-206,-286,-220},{-192,-214,-268,-161,-182,-278},{-224,-251,-194,-228,-158,-297},{-165,-174,-198,-247,-189,-278},{-188,-190,-262,-166,-279,-278},{-150,-152,-264,-174,-277,-222},{-241,-143,-183,-204,-245,-274},{-220,-180,-194,-228,-178,-190},{-133,-244,-218,-185,-182,-257},{-141,-168,-237,-176,-272,-183},{-194,-156,-218,-230,-209,-236},{-207,-168,-157,-150,-158,-222},{-154,-248,-233,-254,-205,-267}},{{-289,-247,-269,-239,-323,-224},{-180,-237,-331,-301,-323,-201},{-270,-328,-245,-229,-210,-306},{-207,-212,-308,-258,-326,-218},{-258,-310,-198,-347,-210,-235},{-177,-229,-185,-323,-328,-359},{-226,-310,-235,-331,-345,-198},{-185,-325,-329,-344,-317,-300},{-245,-217,-243,-188,-207,-218},{-258,-265,-217,-218,-257,-260},{-236,-277,-232,-293,-265,-255},{-207,-209,-193,-288,-312,-241},{-253,-212,-224,-339,-224,-221},{-265,-186,-311,-350,-320,-306},{-306,-267,-339,-266,-298,-291},{-248,-186,-271,-272,-359,-249},{-233,-219,-201,-274,-287,-209},{-228,-217,-324,-226,-331,-300},{-238,-239,-211,-317,-248,-207},{-236,-186,-277,-288,-229,-218}},{{-277,-226,-338,-361,-295,-229},{-376,-338,-290,-217,-340,-223},{-208,-209,-353,-316,-247,-292},{-329,-326,-260,-382,-367,-241},{-257,-241,-365,-340,-373,-229},{-246,-329,-257,-391,-304,-319},{-234,-356,-335,-277,-292,-253},{-269,-209,-380,-265,-241,-355},{-318,-279,-278,-316,-352,-334},{-303,-279,-266,-253,-286,-229},{-367,-300,-374,-235,-316,-259},{-370,-318,-215,-316,-331,-346},{-243,-215,-284,-247,-274,-319},{-364,-332,-275,-259,-376,-319},{-376,-376,-227,-256,-373,-370},{-251,-359,-293,-253,-376,-241},{-318,-379,-272,-361,-310,-211},{-295,-253,-353,-364,-223,-259},{-228,-338,-380,-379,-274,-262},{-249,-209,-254,-253,-325,-376}}},{{{-452,-304,-329,-350,-441,-444},{-350,-284,-424,-424,-336,-262},{-444,-252,-427,-245,-416,-438},{-304,-287,-371,-410,-364,-452},{-434,-438,-413,-259,-357,-259},{-245,-298,-371,-385,-346,-318},{-430,-434,-368,-252,-270,-438},{-346,-287,-346,-326,-434,-413},{-312,-455,-378,-273,-343,-452},{-448,-354,-382,-392,-266,-354},{-304,-346,-304,-354,-350,-385},{-441,-294,-444,-392,-420,-290},{-455,-308,-301,-378,-312,-350},{-368,-371,-427,-294,-452,-266},{-452,-392,-298,-329,-298,-399},{-354,-304,-410,-301,-318,-248},{-315,-430,-354,-245,-343,-340},{-448,-304,-290,-364,-346,-304},{-301,-301,-304,-430,-270,-308},{-284,-312,-290,-438,-452,-276}},{{-365,-425,-261,-250,-331,-274},{-414,-316,-278,-267,-328,-296},{-390,-370,-342,-341,-256,-390},{-327,-257,-271,-371,-403,-242},{-271,-292,-346,-287,-279,-396},{-421,-247,-237,-254,-269,-335},{-418,-415,-420,-237,-394,-248},{-306,-370,-305,-421,-390,-409},{-324,-329,-383,-361,-269,-280},{-390,-446,-308,-261,-420,-396},{-296,-268,-420,-357,-387,-290},{-355,-302,-251,-337,-387,-393},{-278,-302,-380,-297,-344,-412},{-432,-446,-298,-237,-377,-390},{-351,-268,-275,-244,-335,-293},{-358,-370,-261,-344,-335,-412},{-334,-278,-336,-418,-246,-396},{-244,-442,-363,-311,-367,-312},{-404,-292,-308,-301,-420,-251},{-432,-333,-400,-257,-423,-319}},{{-236,-277,-231,-302,-365,-314},{-321,-351,-336,-314,-217,-331},{-252,-296,-270,-223,-271,-195},{-233,-357,-315,-355,-279,-228},{-224,-367,-384,-281,-259,-345},{-350,-342,-330,-340,-322,-331},{-384,-339,-210,-328,-222,-345},{-220,-222,-213,-308,-274,-356},{-284,-308,-234,-229,-302,-334},{-233,-234,-300,-302,-291,-211},{-346,-290,-246,-249,-242,-203},{-287,-219,-219,-346,-296,-208},{-280,-222,-345,-314,-274,-286},{-312,-326,-375,-229,-279,-261},{-236,-283,-225,-290,-322,-356},{-410,-271,-291,-267,-345,-234},{-397,-326,-216,-211,-305,-328},{-346,-268,-345,-243,-205,-278},{-381,-333,-267,-208,-202,-328},{-258,-330,-285,-264,-294,-236}},{{-294,-300,-306,-289,-274,-292},{-343,-205,-267,-188,-196,-296},{-300,-203,-239,-203,-184,-167},{-227,-226,-252,-266,-211,-191},{-251,-203,-262,-261,-274,-220},{-332,-260,-314,-311,-240,-265},{-338,-284,-280,-291,-252,-189},{-308,-342,-236,-316,-257,-239},{-297,-313,-283,-261,-260,-210},{-235,-268,-275,-271,-299,-311},{-286,-210,-267,-241,-225,-294},{-243,-321,-316,-309,-299,-258},{-205,-224,-288,-186,-184,-272},{-286,-226,-332,-289,-289,-210},{-335,-239,-224,-291,-311,-277},{-273,-255,-270,-198,-213,-215},{-200,-310,-252,-216,-265,-213},{-208,-326,-290,-311,-218,-268},{-208,-289,-314,-241,-284,-189},{-235,-281,-188,-206,-296,-280}},{{-192,-286,-182,-284,-270,-277},{-270,-171,-226,-273,-206,-215},{-254,-213,-192,-254,-176,-226},{-173,-164,-229,-187,-300,-236},{-218,-238,-169,-249,-231,-256},{-178,-289,-254,-169,-261,-249},{-223,-224,-291,-203,-245,-298},{-251,-249,-210,-189,-286,-176},{-256,-189,-270,-261,-293,-263},{-273,-199,-162,-219,-275,-201},{-277,-196,-252,-176,-173,-261},{-194,-162,-208,-256,-224,-222},{-185,-236,-249,-176,-199,-280},{-206,-280,-280,-236,-182,-293},{-199,-243,-259,-293,-254,-217},{-173,-219,-238,-298,-263,-270},{-201,-289,-199,-217,-263,-166},{-223,-291,-210,-266,-182,-277},{-292,-187,-247,-217,-196,-180},{-301,-203,-296,-217,-270,-236}},{{-206,-273,-205,-255,-261,-226},{-224,-208,-177,-212,-179,-219},{-282,-210,-242,-264,-237,-258},{-187,-201,-214,-295,-179,-214},{-238,-201,-200,-221,-286,-278},{-226,-178,-296,-243,-259,-187},{-162,-178,-217,-219,-269,-244},{-224,-210,-287,-276,-276,-253},{-213,-249,-212,-209,-186,-258},{-256,-208,-249,-259,-174,-295},{-296,-293,-231,-290,-213,-317},{-275,-215,-179,-171,-283,-256},{-189,-259,-189,-262,-223,-184},{-199,-169,-301,-212,-169,-317},{-296,-208,-198,-264,-312,-251},{-261,-259,-277,-195,-242,-244},{-259,-180,-186,-226,-288,-229},{-289,-286,-282,-300,-276,-226},{-238,-254,-186,-198,-172,-207},{-192,-196,-184,-202,-278,-197}},{{-280,-233,-229,-218,-233,-207},{-320,-316,-261,-257,-202,-225},{-199,-218,-338,-317,-329,-366},{-272,-262,-343,-292,-323,-311},{-199,-275,-221,-300,-351,-320},{-176,-223,-317,-202,-205,-331},{-325,-243,-200,-276,-326,-230},{-199,-192,-277,-251,-197,-239},{-202,-189,-319,-270,-351,-331},{-265,-259,-332,-257,-275,-236},{-292,-311,-192,-205,-225,-279},{-270,-311,-293,-207,-264,-204},{-227,-311,-242,-341,-365,-230},{-209,-194,-311,-292,-261,-216},{-307,-264,-205,-199,-354,-288},{-217,-277,-282,-328,-320,-300},{-184,-236,-266,-289,-334,-219},{-204,-256,-210,-232,-250,-265},{-255,-282,-309,-344,-334,-291},{-255,-233,-332,-300,-303,-300}},{{-296,-391,-384,-406,-253,-370},{-367,-300,-288,-298,-369,-271},{-340,-303,-363,-355,-343,-261},{-314,-367,-378,-301,-389,-386},{-296,-282,-288,-314,-347,-244},{-258,-233,-229,-244,-343,-277},{-243,-358,-372,-346,-330,-406},{-373,-224,-307,-235,-237,-396},{-302,-245,-294,-403,-399,-304},{-358,-227,-276,-349,-275,-254},{-364,-309,-273,-368,-343,-300},{-255,-230,-232,-368,-295,-274},{-323,-306,-294,-304,-337,-386},{-293,-370,-257,-235,-233,-376},{-376,-391,-332,-339,-386,-307},{-314,-361,-270,-346,-237,-343},{-234,-218,-223,-339,-408,-323},{-281,-270,-381,-250,-301,-274},{-258,-306,-353,-311,-369,-271},{-222,-227,-400,-235,-301,-241}},{{-423,-327,-427,-290,-354,-430},{-235,-355,-416,-416,-340,-332},{-302,-321,-423,-354,-385,-392},{-292,-276,-354,-452,-304,-270},{-272,-365,-327,-280,-430,-252},{-430,-334,-433,-360,-413,-389},{-437,-266,-341,-438,-262,-270},{-262,-399,-416,-340,-284,-444},{-333,-300,-244,-290,-340,-434},{-299,-348,-437,-294,-273,-385},{-265,-256,-447,-256,-374,-406},{-259,-310,-396,-318,-252,-262},{-309,-368,-303,-389,-395,-294},{-433,-430,-402,-276,-354,-252},{-420,-331,-347,-301,-452,-413},{-430,-423,-344,-315,-294,-332},{-262,-379,-433,-455,-371,-444},{-383,-392,-292,-406,-374,-294},{-326,-338,-368,-301,-329,-444},{-380,-314,-251,-406,-315,-378}}}}; // 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,9,24,13,8,24,12,8,25,13,9,26,13,9,25,13,9,26,13,9,26,13,9,26,13,9,25,13,9,25,13,9,26,13,9,26,13,9,27,13,9,26,13,9,26,13,9,27,14,9,26,13,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}}; // set of shipments in each bid 
int SHsts[SPN]={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,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,0,4,8,12,16,20,24,28,32,36,40,44,48,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,2,6,10,14,18,22,26,30,34,38,42,46,2,8,14,20,26,32,38,44,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,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,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,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,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,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,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,0,4,8,12,16,20,24,28,32,36,40,44,48,0,6,12,18,24,30,36,42,48,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,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,52,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,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,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,1,5,9,13,17,21,25,29,33,37,41,45,49,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,0,4,8,12,16,20,24,28,32,36,40,44,48,52,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,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,1,5,9,13,17,21,25,29,33,37,41,45,49,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,1,5,9,13,17,21,25,29,33,37,41,45,49,0,6,12,18,24,30,36,42,48,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,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,2,6,10,14,18,22,26,30,34,38,42,46,50,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,0,4,8,12,16,20,24,28,32,36,40,44,48,0,6,12,18,24,30,36,42,48,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}; // set of start times of each shipment 
int SHets[SPN]={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,5,11,17,23,29,35,41,47,53,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,6,12,18,24,30,36,42,48,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,7,11,15,19,23,27,31,35,39,43,47,51,7,13,19,25,31,37,43,49,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,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,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,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,4,8,12,16,20,24,28,32,36,40,44,48,52,4,10,16,22,28,34,40,46,52,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,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,2,6,10,14,18,22,26,30,34,38,42,46,50,2,8,14,20,26,32,38,44,50,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,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,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,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,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,2,6,10,14,18,22,26,30,34,38,42,46,50,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,1,5,9,13,17,21,25,29,33,37,41,45,49,53,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,1,7,13,19,25,31,37,43,49,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,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,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,2,8,14,20,26,32,38,44,50,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,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,3,7,11,15,19,23,27,31,35,39,43,47,51,3,9,15,21,27,33,39,45,51,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,5,11,17,23,29,35,41,47,53}; // set of end times of each shipment 
