int Dev = 50;// Deviation
extern const int CNN = 5;// 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 = 1141;//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]={{{{12270,0,0,0,0,0},{13095,0,0,0,0,0},{12454,0,0,0,0,0},{11808,0,0,0,0,0},{11916,0,0,0,0,0},{11134,0,0,0,0,0},{12840,0,0,0,0,0},{12898,0,0,0,0,0},{11880,0,0,0,0,0},{11730,0,0,0,0,0},{13037,0,0,0,0,0},{12229,0,0,0,0,0},{12590,0,0,0,0,0},{13116,0,0,0,0,0},{12669,0,0,0,0,0},{12934,0,0,0,0,0},{12057,0,0,0,0,0},{11774,0,0,0,0,0},{11690,0,0,0,0,0},{11872,0,0,0,0,0}},{{12158,0,0,0,0,0},{11790,0,0,0,0,0},{12900,0,0,0,0,0},{11500,0,0,0,0,0},{11988,0,0,0,0,0},{12457,0,0,0,0,0},{12274,0,0,0,0,0},{12183,0,0,0,0,0},{12194,0,0,0,0,0},{13205,0,0,0,0,0},{13044,0,0,0,0,0},{12514,0,0,0,0,0},{13548,0,0,0,0,0},{13561,0,0,0,0,0},{13305,0,0,0,0,0},{11191,0,0,0,0,0},{11726,0,0,0,0,0},{12310,0,0,0,0,0},{11921,0,0,0,0,0},{12694,0,0,0,0,0}},{{11515,0,0,0,0,0},{11569,0,0,0,0,0},{11419,0,0,0,0,0},{11361,0,0,0,0,0},{11119,0,0,0,0,0},{12514,0,0,0,0,0},{12261,0,0,0,0,0},{11896,0,0,0,0,0},{12109,0,0,0,0,0},{11218,0,0,0,0,0},{11312,0,0,0,0,0},{10740,0,0,0,0,0},{12315,0,0,0,0,0},{11277,0,0,0,0,0},{10966,0,0,0,0,0},{11778,0,0,0,0,0},{11187,0,0,0,0,0},{12238,0,0,0,0,0},{11683,0,0,0,0,0},{11773,0,0,0,0,0}},{{9920,0,0,0,0,0},{9962,0,0,0,0,0},{10491,0,0,0,0,0},{10553,0,0,0,0,0},{10577,0,0,0,0,0},{10687,0,0,0,0,0},{11266,0,0,0,0,0},{10518,0,0,0,0,0},{11271,0,0,0,0,0},{11328,0,0,0,0,0},{10355,0,0,0,0,0},{10802,0,0,0,0,0},{10385,0,0,0,0,0},{10394,0,0,0,0,0},{10483,0,0,0,0,0},{10660,0,0,0,0,0},{9600,0,0,0,0,0},{10404,0,0,0,0,0},{10407,0,0,0,0,0},{10941,0,0,0,0,0}},{{9275,0,0,0,0,0},{9137,0,0,0,0,0},{9206,0,0,0,0,0},{10001,0,0,0,0,0},{9189,0,0,0,0,0},{9986,0,0,0,0,0},{9686,0,0,0,0,0},{9543,0,0,0,0,0},{9319,0,0,0,0,0},{9487,0,0,0,0,0},{9446,0,0,0,0,0},{9293,0,0,0,0,0},{9647,0,0,0,0,0},{9582,0,0,0,0,0},{9524,0,0,0,0,0},{9510,0,0,0,0,0},{9848,0,0,0,0,0},{8892,0,0,0,0,0},{9975,0,0,0,0,0},{9993,0,0,0,0,0}},{{9145,0,0,0,0,0},{8676,0,0,0,0,0},{9730,0,0,0,0,0},{10020,0,0,0,0,0},{8580,0,0,0,0,0},{9512,0,0,0,0,0},{9441,0,0,0,0,0},{9393,0,0,0,0,0},{9685,0,0,0,0,0},{8962,0,0,0,0,0},{10077,0,0,0,0,0},{9483,0,0,0,0,0},{9457,0,0,0,0,0},{8956,0,0,0,0,0},{9847,0,0,0,0,0},{9352,0,0,0,0,0},{9226,0,0,0,0,0},{9527,0,0,0,0,0},{8612,0,0,0,0,0},{9669,0,0,0,0,0}},{{9715,0,0,0,0,0},{10176,0,0,0,0,0},{9756,0,0,0,0,0},{9455,0,0,0,0,0},{9928,0,0,0,0,0},{9693,0,0,0,0,0},{10202,0,0,0,0,0},{10055,0,0,0,0,0},{9058,0,0,0,0,0},{9967,0,0,0,0,0},{9637,0,0,0,0,0},{9389,0,0,0,0,0},{9930,0,0,0,0,0},{10220,0,0,0,0,0},{9951,0,0,0,0,0},{9881,0,0,0,0,0},{9318,0,0,0,0,0},{9977,0,0,0,0,0},{10086,0,0,0,0,0},{9445,0,0,0,0,0}},{{10831,0,0,0,0,0},{10566,0,0,0,0,0},{12148,0,0,0,0,0},{11267,0,0,0,0,0},{10502,0,0,0,0,0},{11055,0,0,0,0,0},{10401,0,0,0,0,0},{10900,0,0,0,0,0},{10230,0,0,0,0,0},{11420,0,0,0,0,0},{11035,0,0,0,0,0},{10840,0,0,0,0,0},{10611,0,0,0,0,0},{9897,0,0,0,0,0},{10449,0,0,0,0,0},{10980,0,0,0,0,0},{11490,0,0,0,0,0},{10988,0,0,0,0,0},{11733,0,0,0,0,0},{11863,0,0,0,0,0}},{{11622,0,0,0,0,0},{10600,0,0,0,0,0},{12324,0,0,0,0,0},{12157,0,0,0,0,0},{11803,0,0,0,0,0},{12341,0,0,0,0,0},{12035,0,0,0,0,0},{11982,0,0,0,0,0},{11648,0,0,0,0,0},{12252,0,0,0,0,0},{11453,0,0,0,0,0},{11580,0,0,0,0,0},{12108,0,0,0,0,0},{12499,0,0,0,0,0},{13706,0,0,0,0,0},{11466,0,0,0,0,0},{12069,0,0,0,0,0},{11710,0,0,0,0,0},{11692,0,0,0,0,0},{12193,0,0,0,0,0}}},{{{-147,-173,-368,-379,-320,-279},{-194,-385,-362,-429,-297,-206},{-379,-238,-373,-412,-300,-235},{-332,-235,-150,-391,-176,-206},{-403,-359,-153,-435,-388,-438},{-156,-285,-297,-306,-153,-159},{-370,-329,-329,-394,-432,-309},{-415,-394,-423,-368,-356,-362},{-429,-179,-370,-176,-315,-150},{-253,-244,-373,-385,-435,-332},{-288,-200,-435,-256,-379,-417},{-232,-415,-188,-276,-232,-235},{-368,-394,-318,-291,-415,-397},{-235,-426,-365,-353,-215,-417},{-250,-147,-391,-197,-176,-391},{-409,-370,-297,-373,-303,-338},{-397,-268,-370,-320,-191,-215},{-250,-350,-341,-429,-391,-171},{-276,-276,-253,-209,-188,-400},{-250,-182,-323,-338,-391,-356}},{{-339,-269,-325,-151,-195,-381},{-174,-143,-204,-167,-355,-243},{-420,-315,-179,-362,-243,-334},{-246,-329,-367,-244,-160,-171},{-145,-200,-238,-279,-328,-347},{-261,-212,-398,-315,-200,-316},{-261,-186,-311,-258,-358,-388},{-200,-249,-330,-178,-398,-220},{-334,-212,-305,-252,-206,-174},{-325,-398,-389,-362,-288,-313},{-360,-292,-322,-153,-334,-383},{-273,-398,-314,-334,-190,-140},{-258,-212,-269,-238,-291,-280},{-362,-383,-417,-222,-160,-179},{-319,-366,-238,-364,-342,-269},{-319,-398,-154,-337,-198,-337},{-273,-289,-263,-271,-219,-243},{-183,-237,-308,-384,-240,-135},{-299,-280,-224,-378,-288,-254},{-191,-317,-316,-340,-280,-350}},{{-198,-356,-317,-188,-113,-134},{-235,-196,-326,-186,-261,-266},{-290,-353,-221,-240,-282,-159},{-165,-191,-312,-211,-203,-276},{-362,-300,-126,-199,-120,-284},{-202,-162,-317,-289,-293,-192},{-288,-322,-161,-164,-223,-190},{-195,-290,-315,-282,-205,-157},{-202,-300,-245,-323,-186,-305},{-152,-319,-170,-311,-116,-177},{-148,-315,-301,-125,-165,-305},{-345,-254,-179,-224,-188,-212},{-212,-281,-242,-291,-124,-200},{-172,-315,-196,-318,-201,-258},{-165,-174,-336,-235,-282,-130},{-160,-203,-317,-251,-263,-282},{-167,-150,-326,-329,-124,-305},{-332,-126,-182,-316,-158,-266},{-338,-150,-200,-139,-180,-264},{-205,-155,-170,-305,-122,-173}},{{-219,-183,-150,-208,-102,-88},{-189,-194,-192,-98,-86,-166},{-181,-95,-156,-89,-182,-222},{-154,-226,-199,-155,-216,-197},{-260,-234,-267,-220,-125,-134},{-191,-206,-243,-98,-228,-158},{-128,-241,-113,-141,-183,-155},{-252,-157,-109,-213,-119,-235},{-164,-243,-263,-198,-150,-227},{-171,-230,-90,-237,-186,-91},{-288,-196,-104,-225,-153,-219},{-215,-170,-181,-110,-228,-195},{-152,-133,-260,-114,-224,-109},{-236,-157,-186,-170,-140,-226},{-173,-277,-249,-127,-127,-125},{-296,-105,-252,-198,-211,-150},{-165,-200,-154,-205,-99,-90},{-165,-223,-125,-237,-191,-115},{-134,-266,-124,-258,-213,-157},{-193,-269,-154,-244,-243,-205}},{{-180,-134,-137,-129,-150,-143},{-134,-195,-137,-150,-168,-84},{-139,-168,-181,-182,-122,-143},{-132,-110,-213,-172,-194,-196},{-131,-221,-191,-79,-190,-109},{-203,-131,-107,-198,-173,-172},{-136,-209,-194,-128,-216,-88},{-126,-149,-154,-191,-121,-219},{-99,-171,-160,-215,-153,-98},{-196,-152,-81,-122,-200,-169},{-143,-106,-97,-144,-81,-156},{-199,-204,-121,-93,-88,-76},{-176,-134,-200,-112,-203,-182},{-191,-95,-82,-98,-123,-157},{-120,-121,-138,-110,-218,-101},{-88,-98,-179,-165,-188,-115},{-197,-216,-175,-187,-104,-107},{-152,-194,-159,-162,-107,-193},{-192,-173,-193,-87,-109,-107},{-231,-183,-113,-169,-150,-121}},{{-209,-97,-216,-185,-179,-202},{-131,-212,-86,-176,-118,-217},{-212,-128,-76,-186,-118,-195},{-215,-187,-225,-122,-127,-130},{-103,-157,-92,-209,-156,-99},{-115,-169,-77,-200,-225,-187},{-162,-156,-86,-226,-203,-152},{-181,-176,-153,-103,-235,-215},{-184,-162,-140,-79,-130,-164},{-220,-147,-202,-94,-174,-242},{-171,-210,-110,-205,-204,-249},{-187,-190,-145,-213,-222,-172},{-119,-113,-177,-108,-153,-239},{-215,-144,-122,-169,-187,-129},{-200,-121,-88,-177,-138,-194},{-129,-185,-86,-125,-150,-144},{-75,-118,-225,-134,-193,-110},{-112,-219,-77,-134,-206,-125},{-106,-204,-133,-149,-155,-100},{-148,-96,-184,-132,-240,-225}},{{-224,-168,-179,-295,-141,-326},{-198,-253,-255,-199,-137,-171},{-165,-243,-125,-289,-108,-226},{-259,-253,-141,-125,-279,-256},{-245,-165,-194,-295,-238,-150},{-198,-114,-262,-193,-242,-213},{-258,-246,-243,-283,-186,-174},{-207,-194,-220,-183,-186,-321},{-150,-125,-201,-107,-122,-128},{-136,-103,-245,-187,-300,-304},{-171,-176,-251,-135,-224,-167},{-99,-264,-182,-141,-170,-200},{-117,-195,-272,-129,-120,-273},{-200,-208,-236,-261,-151,-315},{-245,-217,-177,-209,-110,-299},{-216,-94,-228,-143,-221,-132},{-226,-103,-169,-243,-242,-278},{-190,-183,-262,-241,-236,-252},{-176,-259,-268,-237,-124,-204},{-214,-228,-103,-187,-211,-321}},{{-225,-322,-232,-250,-303,-242},{-338,-214,-188,-157,-238,-264},{-284,-296,-295,-380,-321,-285},{-288,-150,-361,-185,-193,-156},{-327,-118,-161,-256,-240,-223},{-270,-207,-198,-271,-198,-247},{-161,-129,-354,-132,-279,-199},{-250,-157,-344,-286,-300,-207},{-218,-148,-183,-225,-204,-296},{-159,-120,-332,-263,-193,-336},{-275,-186,-168,-301,-378,-304},{-309,-343,-127,-162,-177,-188},{-336,-240,-288,-139,-162,-377},{-184,-280,-205,-296,-282,-145},{-129,-204,-232,-273,-198,-229},{-334,-172,-137,-162,-376,-342},{-202,-132,-298,-132,-206,-261},{-331,-306,-327,-319,-300,-352},{-245,-221,-300,-248,-321,-336},{-152,-329,-261,-182,-334,-183}},{{-381,-216,-359,-225,-426,-182},{-193,-140,-261,-295,-256,-282},{-414,-228,-247,-339,-300,-341},{-218,-194,-146,-295,-306,-212},{-157,-163,-353,-356,-382,-276},{-378,-211,-324,-254,-353,-276},{-257,-340,-204,-222,-218,-409},{-224,-225,-296,-289,-150,-226},{-362,-188,-201,-423,-423,-262},{-251,-365,-253,-295,-362,-197},{-345,-354,-201,-219,-232,-338},{-144,-337,-261,-248,-147,-294},{-276,-410,-273,-406,-176,-244},{-237,-250,-321,-339,-388,-165},{-243,-413,-316,-260,-385,-435},{-331,-216,-210,-286,-376,-209},{-392,-143,-261,-403,-188,-412},{-237,-382,-382,-406,-420,-212},{-144,-360,-353,-269,-435,-265},{-144,-306,-321,-166,-194,-209}}},{{{-180,-128,-187,-190,-184,-149},{-173,-152,-256,-138,-160,-141},{-163,-125,-220,-138,-274,-222},{-198,-161,-115,-254,-136,-111},{-240,-166,-220,-154,-226,-227},{-116,-155,-115,-166,-269,-109},{-166,-194,-259,-195,-149,-210},{-192,-135,-133,-174,-158,-139},{-161,-248,-177,-159,-217,-118},{-210,-188,-112,-168,-226,-162},{-173,-161,-149,-226,-213,-265},{-239,-242,-119,-136,-155,-113},{-150,-113,-189,-215,-236,-239},{-151,-113,-248,-165,-206,-286},{-170,-150,-145,-222,-232,-277},{-92,-243,-135,-249,-175,-235},{-86,-238,-215,-149,-250,-105},{-113,-169,-214,-172,-188,-183},{-215,-172,-164,-186,-248,-120},{-91,-188,-231,-131,-276,-281}},{{-135,-150,-219,-225,-114,-300},{-135,-283,-204,-199,-327,-319},{-160,-207,-115,-263,-332,-314},{-156,-105,-268,-124,-204,-148},{-131,-129,-224,-164,-165,-143},{-101,-269,-149,-117,-167,-217},{-244,-191,-241,-327,-195,-350},{-127,-187,-149,-245,-282,-145},{-224,-121,-262,-265,-252,-281},{-255,-135,-285,-254,-245,-276},{-253,-223,-162,-298,-286,-124},{-166,-107,-196,-175,-245,-252},{-238,-127,-317,-146,-270,-345},{-139,-238,-211,-190,-337,-321},{-275,-176,-115,-230,-344,-340},{-285,-219,-121,-144,-204,-293},{-206,-131,-128,-124,-282,-155},{-273,-299,-198,-303,-236,-136},{-143,-102,-196,-124,-133,-317},{-170,-281,-147,-172,-243,-178}},{{-151,-240,-383,-392,-199,-277},{-343,-314,-202,-184,-413,-419},{-353,-382,-136,-400,-224,-178},{-230,-209,-265,-324,-291,-212},{-200,-150,-265,-373,-321,-150},{-198,-201,-183,-386,-316,-393},{-343,-296,-330,-392,-294,-232},{-230,-344,-144,-359,-252,-258},{-247,-194,-333,-248,-310,-297},{-193,-311,-210,-302,-266,-181},{-198,-275,-139,-370,-355,-246},{-264,-354,-165,-310,-247,-187},{-358,-293,-259,-310,-410,-348},{-306,-298,-233,-402,-324,-379},{-259,-324,-194,-232,-269,-317},{-158,-382,-265,-381,-233,-382},{-183,-153,-139,-211,-269,-342},{-178,-324,-338,-348,-230,-357},{-180,-293,-299,-356,-147,-184},{-138,-278,-199,-340,-307,-393}},{{-266,-429,-256,-160,-205,-409},{-179,-403,-399,-229,-373,-379},{-199,-153,-426,-208,-319,-433},{-315,-379,-352,-301,-367,-304},{-266,-312,-402,-150,-415,-385},{-168,-415,-337,-445,-295,-421},{-301,-432,-179,-286,-310,-295},{-234,-182,-197,-217,-391,-253},{-324,-362,-259,-274,-448,-382},{-338,-176,-286,-448,-421,-346},{-283,-400,-355,-370,-361,-361},{-272,-350,-423,-367,-319,-298},{-205,-218,-408,-163,-403,-343},{-176,-309,-435,-187,-430,-286},{-387,-347,-343,-274,-334,-166},{-272,-262,-226,-424,-238,-400},{-416,-359,-435,-262,-163,-244},{-341,-238,-405,-235,-268,-436},{-298,-226,-390,-292,-235,-286},{-387,-362,-361,-418,-289,-421}},{{-328,-229,-331,-219,-176,-348},{-286,-244,-187,-402,-409,-389},{-388,-406,-154,-156,-173,-403},{-442,-385,-352,-387,-362,-226},{-412,-397,-406,-414,-191,-203},{-436,-337,-190,-294,-268,-290},{-193,-373,-397,-198,-368,-145},{-229,-199,-382,-243,-394,-284},{-388,-421,-448,-267,-220,-252},{-421,-442,-442,-156,-420,-197},{-184,-418,-193,-177,-235,-151},{-307,-373,-187,-195,-326,-186},{-397,-337,-199,-420,-168,-406},{-313,-439,-361,-444,-318,-400},{-286,-238,-268,-261,-441,-212},{-304,-385,-331,-339,-318,-148},{-406,-265,-214,-417,-412,-420},{-307,-367,-298,-351,-209,-258},{-409,-346,-430,-432,-194,-206},{-184,-316,-406,-258,-394,-334}},{{-325,-259,-274,-158,-317,-186},{-225,-312,-396,-259,-320,-186},{-202,-271,-336,-169,-243,-226},{-254,-310,-404,-348,-230,-228},{-408,-159,-238,-327,-302,-347},{-214,-365,-217,-341,-200,-186},{-419,-246,-306,-166,-184,-144},{-362,-418,-209,-137,-133,-337},{-422,-360,-331,-224,-156,-280},{-274,-338,-274,-275,-207,-310},{-268,-393,-225,-190,-348,-231},{-296,-248,-209,-346,-284,-186},{-177,-296,-390,-282,-279,-340},{-339,-299,-146,-156,-276,-330},{-356,-374,-282,-372,-333,-362},{-274,-273,-190,-145,-340,-164},{-305,-273,-363,-148,-200,-370},{-256,-399,-382,-383,-333,-255},{-379,-151,-152,-359,-358,-134},{-202,-279,-241,-209,-343,-238}},{{-209,-278,-196,-116,-176,-233},{-274,-174,-221,-144,-211,-109},{-266,-200,-207,-157,-112,-165},{-125,-218,-279,-176,-130,-213},{-247,-183,-172,-181,-273,-249},{-137,-251,-152,-176,-184,-195},{-305,-283,-270,-150,-224,-107},{-168,-297,-234,-307,-137,-245},{-326,-213,-132,-318,-217,-169},{-190,-260,-125,-256,-166,-167},{-305,-244,-301,-200,-226,-261},{-218,-290,-190,-196,-205,-117},{-341,-244,-303,-198,-141,-183},{-310,-230,-129,-120,-284,-293},{-214,-195,-203,-187,-130,-205},{-288,-278,-283,-252,-137,-283},{-149,-211,-290,-249,-292,-203},{-302,-278,-272,-172,-182,-149},{-281,-258,-239,-312,-195,-209},{-293,-174,-132,-150,-157,-217}},{{-131,-119,-203,-245,-202,-178},{-282,-236,-192,-173,-174,-217},{-138,-242,-167,-89,-89,-203},{-261,-182,-212,-236,-224,-208},{-209,-264,-250,-114,-168,-193},{-244,-232,-107,-248,-94,-139},{-111,-251,-130,-200,-202,-197},{-244,-219,-185,-257,-174,-104},{-278,-255,-129,-142,-92,-113},{-267,-113,-112,-140,-198,-217},{-230,-201,-183,-100,-229,-119},{-276,-201,-199,-205,-197,-116},{-200,-175,-176,-257,-173,-213},{-171,-253,-217,-198,-96,-114},{-286,-232,-105,-215,-171,-118},{-205,-125,-116,-112,-207,-101},{-184,-106,-130,-103,-226,-198},{-240,-193,-157,-122,-203,-220},{-125,-221,-141,-261,-243,-119},{-257,-179,-223,-159,-214,-183}},{{-158,-176,-168,-193,-143,-234},{-123,-166,-86,-124,-102,-176},{-239,-195,-181,-99,-208,-161},{-165,-111,-181,-109,-230,-218},{-141,-109,-116,-168,-202,-118},{-205,-108,-91,-165,-190,-101},{-205,-156,-144,-250,-86,-232},{-111,-136,-150,-195,-183,-173},{-213,-91,-92,-141,-119,-210},{-170,-237,-101,-198,-84,-180},{-138,-197,-123,-239,-138,-118},{-249,-131,-118,-104,-144,-213},{-175,-114,-186,-198,-185,-186},{-138,-220,-119,-89,-217,-176},{-161,-166,-234,-215,-208,-175},{-128,-245,-96,-190,-242,-198},{-183,-171,-126,-101,-180,-250},{-180,-102,-160,-101,-121,-141},{-124,-223,-150,-123,-228,-102},{-86,-175,-208,-188,-106,-180}}},{{{-188,-372,-286,-368,-434,-329},{-428,-188,-270,-230,-283,-438},{-164,-243,-428,-329,-365,-415},{-332,-494,-230,-428,-408,-164},{-204,-418,-352,-247,-392,-204},{-247,-250,-168,-319,-319,-178},{-477,-299,-184,-477,-424,-201},{-276,-240,-306,-421,-451,-171},{-392,-194,-378,-234,-336,-276},{-230,-171,-293,-237,-395,-365},{-322,-421,-243,-188,-224,-408},{-470,-408,-214,-411,-230,-378},{-214,-484,-184,-461,-480,-428},{-477,-480,-451,-494,-431,-224},{-398,-477,-467,-362,-408,-368},{-494,-421,-365,-204,-174,-359},{-490,-181,-349,-365,-273,-309},{-431,-405,-230,-283,-204,-188},{-164,-326,-444,-234,-441,-395},{-191,-273,-168,-480,-388,-283}},{{-325,-390,-450,-374,-231,-175},{-289,-335,-434,-229,-160,-253},{-190,-464,-211,-392,-397,-220},{-318,-306,-402,-298,-410,-388},{-397,-238,-185,-248,-293,-409},{-216,-406,-345,-427,-246,-343},{-397,-216,-188,-305,-271,-376},{-358,-245,-453,-173,-222,-403},{-321,-274,-195,-449,-259,-175},{-466,-328,-319,-232,-339,-418},{-361,-299,-354,-320,-363,-355},{-194,-171,-459,-333,-342,-358},{-440,-357,-389,-421,-373,-190},{-351,-399,-287,-217,-172,-340},{-423,-422,-191,-239,-397,-370},{-174,-470,-255,-160,-154,-199},{-285,-174,-389,-317,-265,-211},{-194,-435,-281,-449,-379,-190},{-266,-357,-217,-443,-336,-355},{-492,-319,-351,-214,-182,-193}},{{-419,-389,-213,-375,-156,-182},{-263,-380,-154,-139,-286,-260},{-165,-380,-389,-337,-315,-260},{-316,-179,-140,-267,-270,-226},{-336,-251,-179,-234,-286,-298},{-428,-196,-221,-386,-231,-339},{-363,-386,-409,-400,-246,-195},{-428,-305,-202,-283,-368,-311},{-198,-202,-213,-296,-379,-131},{-180,-276,-308,-218,-379,-206},{-150,-366,-277,-245,-276,-342},{-336,-144,-196,-340,-302,-285},{-404,-202,-238,-231,-374,-347},{-192,-409,-188,-141,-207,-352},{-310,-317,-148,-204,-199,-249},{-357,-207,-146,-310,-384,-206},{-280,-291,-238,-174,-326,-324},{-348,-285,-171,-367,-191,-283},{-310,-207,-202,-196,-323,-316},{-215,-305,-160,-286,-146,-278}},{{-275,-190,-173,-273,-143,-149},{-175,-330,-301,-254,-255,-274},{-285,-165,-232,-254,-175,-269},{-268,-153,-156,-346,-155,-265},{-235,-330,-246,-326,-213,-188},{-372,-364,-178,-136,-284,-158},{-312,-323,-306,-273,-150,-254},{-325,-216,-220,-256,-311,-204},{-242,-187,-310,-296,-132,-199},{-148,-364,-216,-238,-269,-261},{-262,-168,-308,-314,-323,-199},{-282,-185,-282,-196,-193,-261},{-148,-136,-356,-243,-168,-177},{-208,-236,-152,-277,-242,-191},{-195,-272,-156,-284,-244,-276},{-355,-182,-344,-229,-300,-123},{-138,-211,-299,-330,-150,-199},{-208,-170,-235,-192,-318,-149},{-130,-313,-152,-256,-130,-315},{-200,-182,-149,-213,-220,-265}},{{-135,-185,-170,-130,-309,-208},{-297,-126,-122,-241,-105,-187},{-169,-294,-158,-193,-132,-202},{-273,-298,-139,-286,-178,-143},{-124,-197,-244,-136,-271,-120},{-299,-183,-256,-126,-191,-275},{-115,-109,-237,-149,-200,-166},{-213,-279,-252,-241,-162,-227},{-260,-279,-281,-118,-185,-164},{-152,-258,-225,-225,-204,-170},{-280,-162,-244,-307,-126,-286},{-163,-235,-195,-193,-269,-187},{-130,-273,-304,-124,-300,-208},{-232,-160,-197,-294,-286,-111},{-258,-220,-237,-223,-170,-273},{-174,-290,-145,-300,-231,-223},{-119,-120,-208,-162,-284,-254},{-226,-244,-197,-120,-134,-176},{-243,-239,-185,-304,-204,-208},{-158,-164,-273,-307,-229,-153}},{{-162,-309,-118,-165,-196,-216},{-200,-214,-184,-130,-154,-209},{-298,-313,-213,-260,-323,-220},{-160,-116,-213,-278,-169,-338},{-130,-260,-120,-122,-235,-155},{-275,-128,-230,-124,-319,-272},{-277,-191,-268,-167,-284,-200},{-271,-187,-253,-119,-207,-223},{-170,-275,-304,-167,-139,-250},{-208,-145,-146,-234,-306,-117},{-116,-166,-228,-141,-284,-308},{-250,-181,-219,-224,-156,-234},{-258,-233,-118,-202,-194,-277},{-162,-267,-116,-234,-200,-169},{-197,-189,-200,-304,-156,-212},{-216,-267,-268,-171,-328,-126},{-122,-265,-264,-135,-136,-171},{-134,-206,-262,-239,-282,-198},{-315,-126,-169,-286,-253,-220},{-216,-193,-281,-208,-315,-122}},{{-215,-225,-283,-188,-132,-375},{-312,-284,-361,-206,-217,-340},{-182,-303,-142,-203,-338,-263},{-127,-142,-195,-138,-237,-290},{-169,-175,-251,-339,-248,-279},{-155,-244,-246,-329,-374,-210},{-323,-320,-190,-191,-129,-303},{-344,-353,-366,-171,-173,-295},{-266,-216,-129,-188,-137,-295},{-132,-209,-361,-291,-374,-330},{-150,-270,-217,-153,-335,-269},{-328,-322,-307,-136,-294,-226},{-268,-299,-315,-351,-377,-149},{-143,-337,-188,-254,-250,-162},{-307,-218,-320,-349,-204,-261},{-182,-249,-307,-226,-384,-388},{-259,-329,-293,-206,-284,-351},{-310,-192,-156,-349,-374,-309},{-152,-137,-139,-236,-361,-178},{-233,-341,-134,-331,-150,-298}},{{-296,-275,-425,-349,-230,-243},{-310,-244,-321,-207,-154,-425},{-378,-388,-327,-438,-381,-428},{-318,-407,-165,-406,-160,-419},{-200,-391,-225,-414,-202,-400},{-408,-247,-312,-213,-181,-200},{-258,-155,-324,-181,-453,-265},{-290,-191,-240,-326,-242,-314},{-225,-261,-234,-246,-175,-216},{-326,-211,-329,-258,-402,-447},{-214,-180,-353,-207,-205,-330},{-241,-236,-217,-210,-365,-444},{-206,-318,-272,-364,-166,-172},{-395,-155,-179,-160,-202,-348},{-269,-155,-182,-234,-275,-413},{-153,-185,-144,-332,-344,-370},{-392,-250,-353,-302,-187,-345},{-238,-169,-280,-364,-184,-160},{-299,-422,-231,-337,-359,-400},{-400,-320,-214,-332,-347,-283}},{{-274,-189,-280,-273,-253,-342},{-164,-291,-267,-201,-191,-474},{-161,-227,-390,-227,-451,-467},{-394,-480,-254,-217,-168,-234},{-400,-451,-406,-299,-336,-191},{-195,-198,-448,-405,-204,-408},{-365,-237,-306,-457,-191,-207},{-164,-262,-419,-378,-480,-457},{-198,-246,-322,-286,-444,-217},{-457,-205,-248,-250,-188,-388},{-239,-208,-319,-194,-211,-174},{-337,-250,-242,-188,-385,-227},{-450,-205,-435,-362,-345,-428},{-469,-432,-251,-276,-253,-484},{-362,-218,-380,-490,-359,-494},{-258,-426,-174,-197,-286,-398},{-296,-163,-467,-339,-408,-326},{-416,-435,-454,-395,-283,-290},{-466,-246,-258,-184,-392,-322},{-170,-314,-251,-276,-257,-299}}},{{{-55,-157,-66,-85,-95,-189},{-146,-142,-133,-113,-159,-64},{-142,-132,-64,-81,-155,-125},{-58,-53,-64,-96,-68,-92},{-123,-152,-97,-117,-87,-183},{-129,-72,-97,-156,-104,-70},{-114,-155,-84,-67,-181,-104},{-62,-81,-96,-92,-145,-160},{-101,-86,-80,-151,-107,-93},{-140,-136,-118,-161,-77,-91},{-129,-136,-60,-135,-159,-159},{-82,-106,-118,-135,-150,-168},{-155,-86,-92,-115,-93,-164},{-62,-70,-129,-82,-143,-143},{-61,-83,-137,-97,-82,-147},{-67,-117,-109,-152,-150,-122},{-154,-63,-162,-112,-128,-111},{-142,-105,-65,-101,-157,-81},{-66,-156,-62,-83,-123,-111},{-94,-120,-150,-133,-118,-192}},{{-116,-166,-170,-184,-161,-139},{-72,-85,-147,-202,-122,-245},{-100,-155,-195,-194,-109,-136},{-103,-93,-75,-191,-187,-227},{-127,-93,-133,-155,-153,-215},{-162,-207,-99,-146,-158,-163},{-84,-154,-215,-164,-185,-84},{-123,-161,-178,-79,-222,-207},{-74,-124,-102,-229,-167,-202},{-108,-149,-209,-167,-119,-136},{-103,-210,-126,-217,-166,-218},{-92,-168,-83,-127,-213,-176},{-202,-96,-130,-191,-108,-240},{-190,-173,-80,-194,-204,-197},{-126,-209,-151,-203,-174,-244},{-109,-130,-213,-104,-156,-158},{-181,-212,-123,-223,-203,-131},{-120,-207,-141,-150,-155,-171},{-188,-203,-84,-135,-150,-223},{-173,-82,-178,-215,-103,-239}},{{-203,-144,-193,-234,-204,-289},{-233,-119,-199,-184,-153,-123},{-91,-92,-143,-209,-253,-242},{-256,-103,-242,-112,-190,-150},{-93,-198,-268,-182,-167,-246},{-208,-153,-221,-285,-147,-222},{-203,-234,-219,-215,-108,-297},{-168,-256,-125,-112,-122,-236},{-107,-187,-277,-175,-253,-242},{-122,-203,-167,-163,-259,-277},{-180,-157,-190,-152,-276,-216},{-119,-158,-208,-97,-247,-121},{-254,-200,-208,-142,-172,-261},{-205,-229,-279,-179,-159,-279},{-108,-167,-210,-213,-102,-222},{-261,-266,-203,-169,-241,-150},{-245,-178,-138,-196,-157,-281},{-186,-122,-149,-207,-149,-216},{-182,-256,-214,-279,-153,-240},{-189,-266,-115,-124,-151,-293}},{{-160,-148,-154,-290,-132,-201},{-260,-166,-166,-258,-304,-140},{-215,-227,-235,-250,-158,-288},{-244,-254,-225,-189,-173,-227},{-300,-112,-254,-270,-225,-110},{-266,-296,-276,-229,-256,-162},{-136,-242,-211,-193,-205,-235},{-250,-262,-231,-209,-254,-146},{-166,-235,-120,-240,-130,-256},{-292,-233,-221,-154,-213,-122},{-217,-207,-162,-264,-116,-118},{-221,-262,-304,-138,-258,-211},{-274,-156,-189,-266,-166,-126},{-225,-296,-254,-211,-238,-276},{-134,-296,-175,-144,-264,-102},{-262,-219,-144,-128,-104,-256},{-134,-195,-189,-136,-104,-197},{-130,-158,-138,-185,-197,-219},{-150,-288,-246,-268,-118,-158},{-142,-272,-183,-150,-304,-110}},{{-219,-187,-124,-160,-219,-247},{-138,-246,-199,-230,-110,-184},{-187,-240,-193,-101,-100,-237},{-207,-171,-130,-156,-121,-254},{-106,-168,-118,-252,-189,-166},{-219,-193,-205,-254,-113,-202},{-270,-300,-106,-183,-236,-158},{-250,-110,-209,-136,-229,-151},{-112,-166,-193,-99,-159,-114},{-296,-106,-209,-273,-112,-116},{-126,-205,-286,-166,-234,-213},{-233,-250,-142,-154,-136,-276},{-136,-254,-160,-232,-191,-103},{-126,-116,-242,-129,-161,-138},{-221,-260,-221,-232,-181,-256},{-219,-280,-284,-115,-142,-232},{-175,-272,-207,-187,-183,-132},{-201,-278,-207,-115,-96,-236},{-140,-229,-181,-222,-259,-134},{-235,-288,-150,-136,-272,-204}},{{-252,-240,-135,-218,-86,-185},{-260,-119,-182,-149,-187,-187},{-238,-133,-207,-94,-216,-218},{-204,-109,-92,-165,-161,-162},{-260,-221,-130,-208,-90,-103},{-192,-197,-139,-106,-118,-193},{-131,-164,-219,-222,-202,-162},{-256,-135,-250,-110,-127,-165},{-254,-175,-124,-187,-150,-78},{-234,-97,-110,-173,-217,-123},{-256,-251,-127,-110,-179,-147},{-222,-175,-114,-195,-219,-178},{-188,-183,-245,-86,-208,-98},{-116,-260,-249,-229,-207,-109},{-131,-164,-185,-123,-173,-122},{-208,-254,-90,-184,-107,-213},{-245,-138,-177,-214,-136,-216},{-122,-170,-154,-179,-141,-212},{-158,-112,-95,-237,-194,-178},{-215,-99,-165,-166,-228,-160}},{{-147,-86,-184,-148,-101,-92},{-134,-93,-136,-62,-60,-69},{-202,-105,-152,-144,-165,-143},{-199,-136,-95,-67,-110,-122},{-80,-141,-188,-80,-70,-158},{-189,-146,-76,-137,-155,-78},{-80,-101,-103,-151,-88,-99},{-109,-188,-150,-62,-88,-121},{-120,-97,-164,-116,-103,-100},{-113,-93,-122,-114,-116,-120},{-97,-101,-107,-125,-87,-105},{-77,-80,-86,-70,-165,-158},{-83,-158,-64,-88,-157,-157},{-118,-89,-131,-123,-116,-100},{-97,-165,-185,-182,-103,-128},{-120,-198,-76,-98,-109,-97},{-119,-86,-93,-129,-124,-69},{-83,-130,-146,-148,-139,-110},{-102,-106,-168,-121,-122,-144},{-123,-141,-70,-169,-103,-157}},{{-126,-56,-84,-143,-82,-74},{-107,-116,-123,-113,-90,-84},{-130,-127,-93,-67,-140,-113},{-123,-75,-76,-83,-78,-87},{-58,-142,-75,-51,-71,-106},{-139,-135,-51,-112,-109,-78},{-52,-52,-112,-57,-66,-124},{-110,-67,-83,-109,-57,-54},{-148,-73,-56,-85,-125,-123},{-119,-141,-126,-141,-67,-78},{-87,-68,-120,-140,-104,-97},{-83,-144,-119,-70,-71,-102},{-146,-154,-100,-80,-110,-77},{-59,-77,-92,-142,-143,-105},{-140,-106,-74,-81,-98,-116},{-74,-99,-146,-93,-122,-122},{-94,-142,-96,-144,-120,-89},{-63,-88,-98,-133,-124,-108},{-57,-66,-79,-50,-99,-69},{-124,-98,-120,-137,-132,-106}},{{-134,-66,-99,-54,-70,-78},{-130,-115,-79,-74,-52,-143},{-50,-86,-96,-144,-62,-131},{-51,-115,-102,-131,-49,-73},{-68,-55,-51,-107,-141,-74},{-79,-125,-82,-69,-95,-110},{-112,-88,-88,-84,-118,-75},{-87,-140,-54,-92,-67,-147},{-68,-146,-124,-54,-129,-51},{-141,-110,-130,-80,-129,-93},{-131,-127,-64,-83,-142,-101},{-100,-53,-114,-56,-120,-147},{-64,-96,-96,-66,-131,-79},{-77,-79,-77,-62,-82,-56},{-136,-104,-101,-146,-102,-116},{-96,-122,-133,-57,-129,-60},{-120,-72,-137,-147,-85,-71},{-54,-51,-55,-91,-75,-141},{-136,-100,-114,-139,-106,-101},{-131,-74,-113,-127,-59,-146}}},{{{-217,-350,-219,-129,-188,-207},{-329,-290,-167,-195,-252,-319},{-245,-150,-193,-207,-293,-131},{-317,-190,-319,-340,-183,-271},{-144,-164,-264,-171,-186,-119},{-259,-124,-293,-171,-209,-169},{-275,-145,-193,-245,-140,-321},{-284,-214,-159,-321,-236,-174},{-228,-271,-217,-295,-209,-238},{-275,-209,-186,-283,-164,-169},{-303,-333,-262,-198,-217,-250},{-329,-271,-209,-286,-231,-186},{-305,-195,-338,-233,-126,-219},{-268,-217,-181,-338,-248,-248},{-298,-228,-126,-188,-305,-283},{-333,-200,-124,-183,-188,-238},{-128,-207,-331,-264,-205,-207},{-147,-148,-233,-278,-283,-319},{-324,-193,-248,-250,-169,-250},{-172,-176,-286,-267,-205,-245}},{{-333,-328,-134,-116,-122,-188},{-214,-231,-118,-286,-163,-217},{-188,-319,-226,-300,-325,-316},{-269,-314,-306,-340,-260,-179},{-136,-278,-280,-303,-154,-135},{-224,-328,-195,-196,-188,-119},{-345,-143,-270,-254,-158,-135},{-312,-152,-268,-270,-124,-230},{-121,-286,-207,-321,-203,-301},{-345,-298,-230,-134,-206,-192},{-293,-350,-223,-340,-328,-228},{-352,-269,-219,-182,-226,-230},{-328,-295,-266,-319,-273,-186},{-295,-286,-282,-189,-285,-263},{-198,-169,-228,-203,-118,-239},{-209,-221,-132,-238,-233,-274},{-167,-350,-329,-132,-170,-274},{-352,-357,-207,-189,-215,-265},{-274,-181,-195,-289,-160,-161},{-214,-333,-207,-247,-240,-192}},{{-200,-232,-240,-135,-95,-124},{-150,-134,-285,-246,-165,-202},{-144,-176,-133,-133,-211,-94},{-277,-280,-236,-230,-245,-112},{-131,-217,-224,-275,-157,-220},{-245,-113,-234,-107,-267,-234},{-258,-230,-166,-181,-133,-99},{-290,-132,-164,-238,-280,-97},{-256,-209,-242,-242,-267,-110},{-129,-182,-103,-140,-127,-149},{-125,-117,-206,-162,-131,-214},{-148,-173,-178,-254,-219,-106},{-271,-178,-188,-236,-191,-108},{-168,-295,-149,-224,-279,-151},{-249,-311,-137,-123,-193,-218},{-211,-314,-125,-109,-200,-266},{-123,-270,-170,-252,-142,-140},{-221,-190,-208,-181,-234,-220},{-269,-270,-198,-113,-273,-104},{-170,-245,-156,-162,-247,-191}},{{-167,-139,-196,-214,-135,-113},{-131,-210,-201,-90,-98,-72},{-138,-109,-201,-86,-166,-120},{-237,-84,-231,-140,-204,-99},{-139,-182,-116,-92,-82,-171},{-198,-120,-166,-108,-164,-106},{-150,-241,-133,-128,-194,-200},{-129,-238,-91,-102,-204,-190},{-182,-221,-207,-150,-145,-87},{-181,-165,-135,-147,-135,-117},{-163,-206,-152,-102,-78,-128},{-174,-167,-129,-154,-117,-160},{-241,-182,-203,-168,-131,-138},{-177,-183,-80,-118,-210,-164},{-169,-162,-185,-110,-194,-196},{-198,-91,-140,-96,-200,-188},{-172,-246,-168,-75,-130,-190},{-187,-145,-107,-111,-190,-135},{-167,-120,-151,-160,-150,-104},{-88,-107,-89,-124,-95,-131}},{{-161,-79,-149,-177,-73,-136},{-69,-131,-177,-117,-75,-138},{-160,-185,-140,-168,-106,-159},{-76,-142,-108,-107,-124,-177},{-148,-78,-93,-132,-170,-124},{-84,-147,-144,-70,-138,-127},{-90,-111,-89,-70,-106,-168},{-66,-92,-128,-68,-82,-124},{-112,-129,-157,-177,-176,-170},{-185,-168,-176,-74,-115,-115},{-166,-159,-161,-162,-127,-133},{-77,-89,-129,-92,-109,-95},{-186,-123,-153,-107,-145,-62},{-168,-125,-124,-129,-115,-76},{-122,-101,-128,-118,-129,-131},{-193,-76,-159,-69,-104,-114},{-181,-108,-77,-102,-88,-108},{-66,-179,-94,-121,-148,-126},{-150,-173,-140,-112,-76,-67},{-84,-76,-74,-93,-101,-92}},{{-139,-89,-73,-132,-140,-88},{-127,-69,-96,-70,-165,-175},{-113,-156,-88,-173,-124,-184},{-94,-80,-176,-90,-154,-189},{-93,-106,-77,-92,-122,-136},{-146,-155,-88,-100,-129,-168},{-136,-87,-67,-89,-104,-110},{-113,-64,-178,-117,-137,-155},{-173,-129,-118,-140,-98,-144},{-121,-104,-77,-167,-105,-110},{-136,-68,-94,-83,-83,-165},{-142,-174,-90,-109,-79,-123},{-161,-165,-86,-174,-172,-168},{-129,-175,-130,-94,-165,-96},{-83,-134,-175,-137,-95,-77},{-130,-86,-107,-167,-85,-150},{-64,-84,-95,-170,-161,-140},{-151,-60,-96,-87,-163,-87},{-129,-61,-80,-67,-167,-86},{-137,-171,-138,-149,-62,-189}},{{-156,-80,-206,-152,-110,-222},{-79,-126,-124,-145,-107,-156},{-71,-188,-87,-126,-138,-190},{-168,-162,-124,-144,-212,-105},{-89,-137,-114,-166,-127,-143},{-117,-174,-152,-169,-136,-149},{-157,-79,-206,-127,-219,-152},{-85,-105,-104,-118,-158,-165},{-72,-192,-128,-170,-99,-222},{-173,-188,-159,-209,-140,-104},{-144,-107,-164,-192,-82,-154},{-81,-185,-172,-195,-228,-91},{-186,-69,-142,-179,-169,-84},{-76,-171,-151,-188,-110,-211},{-191,-162,-155,-192,-124,-190},{-159,-128,-116,-209,-229,-128},{-68,-80,-82,-175,-180,-87},{-177,-105,-166,-198,-133,-94},{-139,-72,-109,-170,-85,-224},{-181,-147,-147,-218,-93,-94}},{{-158,-193,-228,-159,-213,-231},{-253,-145,-240,-175,-227,-303},{-85,-147,-233,-250,-197,-208},{-253,-266,-135,-205,-145,-276},{-177,-138,-253,-234,-113,-225},{-95,-124,-137,-171,-209,-297},{-175,-177,-142,-138,-257,-177},{-201,-163,-94,-211,-203,-280},{-112,-181,-213,-228,-231,-262},{-133,-163,-202,-200,-119,-266},{-177,-101,-155,-207,-297,-181},{-162,-173,-100,-180,-231,-286},{-223,-257,-250,-271,-117,-212},{-146,-145,-181,-213,-169,-177},{-128,-250,-144,-204,-289,-260},{-216,-214,-229,-96,-285,-146},{-168,-186,-211,-165,-211,-284},{-175,-182,-172,-146,-213,-274},{-228,-209,-196,-136,-135,-220},{-119,-255,-218,-144,-245,-299}},{{-192,-118,-253,-159,-330,-229},{-130,-215,-186,-148,-210,-129},{-187,-125,-222,-226,-300,-155},{-128,-195,-123,-335,-185,-270},{-239,-215,-264,-266,-162,-335},{-192,-298,-260,-333,-252,-122},{-294,-283,-130,-219,-199,-208},{-281,-129,-318,-319,-275,-270},{-141,-147,-134,-148,-157,-286},{-173,-324,-128,-240,-300,-326},{-262,-221,-197,-155,-342,-187},{-288,-118,-267,-194,-330,-199},{-243,-239,-242,-346,-231,-259},{-158,-256,-284,-303,-240,-314},{-307,-245,-170,-344,-326,-333},{-109,-166,-298,-252,-148,-203},{-256,-204,-166,-344,-273,-192},{-143,-112,-150,-245,-293,-136},{-202,-131,-199,-116,-337,-169},{-187,-276,-112,-254,-208,-259}}},{{{-359,-194,-186,-173,-330,-282},{-181,-364,-306,-186,-332,-221},{-332,-309,-394,-192,-362,-340},{-327,-181,-207,-359,-362,-186},{-325,-189,-221,-189,-356,-269},{-399,-192,-325,-346,-340,-282},{-274,-396,-335,-298,-152,-213},{-394,-317,-290,-285,-343,-173},{-364,-210,-314,-138,-223,-295},{-311,-325,-269,-154,-160,-178},{-165,-309,-391,-394,-277,-271},{-277,-332,-149,-303,-136,-319},{-210,-348,-136,-250,-226,-253},{-189,-231,-343,-205,-133,-380},{-372,-253,-176,-346,-261,-383},{-250,-263,-170,-348,-372,-277},{-383,-162,-282,-207,-133,-354},{-181,-261,-346,-237,-261,-194},{-144,-261,-396,-293,-269,-181},{-192,-247,-165,-309,-372,-138}},{{-136,-359,-298,-309,-191,-267},{-332,-255,-141,-279,-288,-153},{-338,-186,-322,-192,-262,-280},{-184,-210,-242,-250,-236,-179},{-258,-293,-271,-263,-307,-316},{-258,-242,-189,-317,-312,-238},{-215,-370,-255,-154,-165,-223},{-146,-359,-173,-266,-231,-275},{-287,-306,-338,-231,-362,-202},{-141,-301,-170,-258,-299,-277},{-271,-348,-253,-247,-312,-205},{-311,-325,-348,-250,-186,-150},{-141,-298,-340,-348,-283,-378},{-317,-380,-303,-367,-176,-212},{-327,-383,-250,-311,-212,-155},{-218,-136,-330,-239,-131,-218},{-149,-372,-154,-274,-380,-166},{-176,-200,-176,-367,-196,-228},{-234,-327,-277,-298,-278,-199},{-343,-314,-162,-335,-202,-251}},{{-285,-329,-131,-171,-186,-354},{-130,-139,-328,-198,-260,-171},{-130,-268,-277,-312,-135,-159},{-370,-132,-139,-208,-211,-270},{-249,-278,-325,-141,-140,-210},{-207,-225,-315,-193,-274,-352},{-215,-202,-300,-280,-208,-275},{-184,-316,-330,-149,-201,-188},{-316,-357,-353,-221,-348,-246},{-295,-281,-325,-154,-284,-176},{-158,-329,-184,-164,-154,-214},{-186,-215,-277,-241,-162,-280},{-231,-167,-310,-325,-350,-125},{-174,-180,-164,-193,-309,-195},{-223,-154,-353,-154,-167,-347},{-166,-283,-156,-243,-213,-193},{-181,-205,-262,-243,-326,-125},{-373,-369,-333,-213,-318,-359},{-386,-256,-134,-139,-149,-299},{-290,-253,-247,-320,-314,-263}},{{-305,-352,-192,-124,-323,-240},{-148,-157,-150,-345,-220,-139},{-231,-268,-146,-182,-251,-244},{-140,-150,-266,-345,-125,-318},{-355,-327,-166,-202,-222,-244},{-243,-141,-236,-143,-255,-242},{-317,-270,-263,-200,-284,-255},{-188,-331,-256,-145,-305,-255},{-221,-348,-141,-184,-332,-215},{-190,-313,-277,-338,-258,-336},{-257,-289,-162,-269,-269,-253},{-250,-301,-180,-200,-240,-226},{-217,-235,-182,-115,-307,-233},{-328,-125,-233,-200,-134,-255},{-305,-287,-127,-170,-273,-246},{-202,-155,-146,-343,-280,-280},{-231,-148,-127,-264,-188,-143},{-338,-277,-277,-218,-278,-314},{-295,-324,-127,-228,-309,-186},{-221,-190,-201,-274,-309,-244}},{{-240,-213,-263,-312,-187,-169},{-143,-265,-161,-191,-180,-210},{-244,-163,-265,-210,-152,-282},{-299,-206,-326,-228,-161,-308},{-207,-195,-169,-226,-247,-284},{-222,-280,-299,-250,-289,-169},{-209,-230,-304,-252,-304,-154},{-317,-171,-267,-182,-295,-143},{-231,-135,-241,-250,-187,-245},{-218,-108,-284,-156,-323,-319},{-121,-323,-267,-263,-286,-163},{-235,-187,-326,-299,-210,-184},{-238,-304,-204,-317,-265,-204},{-255,-291,-263,-224,-282,-108},{-310,-267,-219,-124,-299,-163},{-242,-247,-158,-139,-302,-286},{-216,-208,-280,-139,-271,-254},{-196,-221,-139,-111,-213,-323},{-286,-126,-243,-282,-165,-150},{-244,-284,-310,-254,-326,-319}},{{-165,-239,-195,-165,-299,-130},{-258,-191,-165,-195,-197,-117},{-237,-117,-234,-204,-293,-191},{-200,-152,-295,-319,-258,-304},{-154,-221,-260,-128,-161,-141},{-197,-306,-258,-171,-215,-180},{-230,-286,-122,-232,-310,-182},{-284,-115,-241,-122,-158,-206},{-184,-295,-230,-171,-280,-273},{-141,-148,-130,-139,-302,-247},{-317,-202,-234,-148,-200,-267},{-119,-150,-215,-234,-254,-141},{-232,-284,-124,-195,-241,-317},{-315,-321,-239,-139,-167,-115},{-176,-197,-195,-237,-326,-219},{-163,-154,-252,-180,-321,-276},{-237,-256,-171,-319,-271,-247},{-217,-122,-150,-137,-312,-267},{-117,-319,-317,-169,-180,-145},{-276,-258,-195,-241,-286,-180}},{{-294,-119,-320,-154,-337,-275},{-155,-293,-284,-313,-346,-291},{-248,-222,-168,-147,-134,-202},{-133,-224,-226,-317,-152,-345},{-177,-314,-190,-117,-293,-251},{-146,-184,-267,-301,-155,-195},{-122,-208,-282,-258,-136,-136},{-183,-231,-296,-200,-180,-233},{-188,-282,-134,-124,-194,-216},{-199,-249,-213,-345,-159,-125},{-194,-128,-168,-154,-291,-179},{-303,-296,-112,-115,-157,-230},{-201,-293,-112,-140,-316,-219},{-206,-226,-197,-262,-120,-230},{-128,-228,-161,-172,-120,-315},{-290,-143,-264,-212,-289,-153},{-128,-132,-282,-168,-127,-164},{-301,-329,-177,-239,-185,-212},{-316,-264,-316,-239,-219,-287},{-128,-164,-307,-262,-213,-188}},{{-131,-150,-238,-124,-199,-263},{-228,-174,-145,-280,-139,-344},{-345,-218,-323,-243,-328,-192},{-300,-211,-341,-293,-249,-177},{-138,-174,-164,-243,-214,-245},{-193,-324,-279,-315,-353,-261},{-355,-266,-331,-136,-282,-372},{-217,-218,-350,-146,-330,-316},{-281,-240,-149,-231,-234,-311},{-309,-227,-167,-310,-184,-377},{-305,-148,-172,-345,-161,-223},{-169,-152,-145,-298,-214,-235},{-305,-278,-309,-221,-166,-233},{-250,-121,-127,-263,-202,-170},{-321,-327,-265,-166,-237,-261},{-298,-155,-341,-134,-219,-271},{-331,-242,-181,-201,-323,-152},{-224,-329,-147,-270,-189,-306},{-157,-257,-238,-246,-136,-248},{-202,-194,-172,-246,-340,-162}},{{-311,-269,-296,-194,-266,-168},{-300,-280,-186,-192,-186,-322},{-148,-347,-246,-258,-290,-173},{-388,-212,-244,-282,-335,-279},{-269,-332,-267,-258,-192,-200},{-368,-313,-393,-290,-287,-207},{-386,-205,-354,-277,-266,-194},{-155,-267,-236,-359,-210,-285},{-130,-388,-262,-356,-375,-138},{-308,-303,-202,-247,-274,-181},{-373,-326,-176,-253,-348,-170},{-249,-256,-348,-178,-282,-303},{-231,-137,-220,-301,-149,-354},{-298,-355,-388,-229,-231,-330},{-241,-342,-338,-258,-210,-340},{-337,-132,-254,-160,-322,-173},{-199,-311,-320,-181,-162,-141},{-269,-197,-254,-332,-386,-332},{-161,-287,-246,-178,-290,-335},{-311,-282,-369,-146,-144,-348}}},{{{-211,-448,-388,-283,-253,-154},{-415,-196,-331,-424,-358,-204},{-298,-154,-160,-358,-157,-435},{-175,-175,-169,-163,-412,-189},{-301,-211,-394,-316,-268,-163},{-150,-265,-265,-265,-244,-332},{-334,-193,-295,-166,-367,-166},{-232,-247,-244,-418,-184,-172},{-238,-406,-169,-181,-172,-320},{-184,-304,-196,-403,-214,-252},{-160,-373,-433,-271,-202,-417},{-181,-211,-304,-427,-370,-195},{-178,-250,-259,-358,-283,-263},{-382,-241,-361,-220,-352,-444},{-277,-157,-322,-250,-310,-343},{-310,-154,-355,-199,-364,-408},{-442,-271,-175,-220,-298,-373},{-346,-193,-448,-220,-181,-293},{-208,-452,-184,-244,-157,-394},{-190,-154,-163,-442,-205,-198}},{{-428,-298,-417,-210,-132,-265},{-360,-181,-258,-349,-302,-290},{-404,-430,-160,-388,-398,-206},{-261,-169,-207,-186,-199,-347},{-355,-330,-193,-319,-292,-146},{-226,-192,-420,-311,-236,-193},{-193,-367,-204,-169,-307,-319},{-176,-393,-255,-158,-334,-265},{-440,-172,-266,-248,-321,-203},{-328,-215,-336,-396,-398,-221},{-208,-184,-283,-300,-323,-285},{-437,-385,-230,-317,-231,-234},{-258,-359,-241,-229,-233,-357},{-255,-390,-420,-369,-212,-285},{-220,-287,-325,-308,-273,-195},{-396,-327,-300,-221,-199,-128},{-158,-253,-202,-139,-313,-141},{-440,-287,-409,-177,-246,-344},{-220,-212,-148,-262,-360,-365},{-396,-359,-232,-401,-223,-270}},{{-285,-326,-174,-177,-240,-222},{-243,-358,-327,-139,-174,-180},{-188,-298,-250,-208,-216,-137},{-295,-312,-344,-172,-303,-210},{-181,-182,-291,-186,-136,-160},{-325,-281,-341,-283,-284,-204},{-367,-360,-126,-113,-189,-222},{-290,-226,-160,-325,-106,-240},{-154,-274,-295,-128,-216,-238},{-345,-278,-229,-230,-250,-115},{-325,-314,-135,-212,-297,-230},{-293,-125,-135,-122,-220,-238},{-305,-154,-302,-287,-316,-293},{-134,-156,-314,-128,-269,-123},{-216,-192,-332,-159,-180,-192},{-305,-334,-126,-144,-276,-261},{-169,-151,-179,-206,-165,-184},{-365,-314,-284,-179,-273,-194},{-144,-221,-215,-287,-138,-212},{-255,-310,-275,-259,-214,-170}},{{-250,-199,-151,-239,-106,-111},{-103,-244,-212,-95,-188,-150},{-198,-259,-258,-146,-161,-198},{-186,-119,-137,-108,-247,-184},{-126,-223,-137,-132,-116,-129},{-188,-158,-116,-239,-181,-103},{-270,-270,-190,-230,-163,-204},{-142,-184,-240,-258,-216,-163},{-169,-136,-162,-255,-221,-235},{-254,-201,-214,-248,-153,-90},{-184,-218,-166,-86,-154,-103},{-140,-169,-121,-208,-184,-92},{-229,-126,-150,-236,-236,-208},{-126,-260,-222,-212,-216,-106},{-157,-272,-158,-256,-158,-140},{-122,-188,-155,-89,-103,-227},{-198,-104,-100,-217,-224,-140},{-237,-97,-137,-255,-241,-211},{-165,-197,-94,-91,-151,-111},{-227,-247,-262,-230,-247,-124}},{{-170,-197,-223,-137,-120,-179},{-103,-152,-117,-168,-139,-108},{-148,-136,-194,-111,-77,-143},{-137,-219,-152,-220,-85,-142},{-117,-143,-199,-183,-111,-82},{-148,-89,-88,-162,-88,-226},{-150,-194,-166,-194,-123,-116},{-126,-146,-129,-165,-213,-191},{-80,-94,-225,-186,-143,-92},{-133,-77,-108,-149,-143,-188},{-117,-88,-213,-105,-146,-206},{-168,-183,-122,-108,-162,-220},{-101,-103,-162,-154,-205,-79},{-159,-148,-225,-112,-211,-86},{-106,-219,-214,-145,-125,-208},{-190,-142,-111,-176,-156,-183},{-218,-172,-214,-200,-94,-156},{-81,-131,-125,-100,-176,-199},{-83,-162,-134,-79,-128,-176},{-161,-197,-125,-131,-162,-88}},{{-216,-199,-99,-86,-182,-165},{-171,-94,-109,-102,-170,-226},{-100,-138,-178,-101,-262,-134},{-182,-124,-193,-175,-234,-259},{-196,-200,-230,-144,-170,-177},{-196,-173,-157,-215,-201,-183},{-169,-189,-198,-202,-248,-195},{-199,-176,-100,-139,-187,-172},{-202,-140,-222,-113,-250,-197},{-77,-134,-173,-104,-96,-259},{-123,-91,-243,-250,-191,-246},{-206,-180,-96,-118,-187,-134},{-213,-172,-232,-108,-135,-161},{-145,-114,-102,-232,-112,-114},{-197,-153,-237,-225,-212,-138},{-114,-121,-146,-252,-98,-105},{-194,-91,-128,-228,-161,-233},{-136,-132,-143,-225,-245,-141},{-95,-145,-202,-121,-124,-179},{-225,-221,-156,-104,-212,-270}},{{-253,-182,-152,-189,-216,-136},{-131,-121,-299,-286,-331,-257},{-249,-281,-196,-260,-308,-204},{-162,-123,-154,-135,-153,-192},{-285,-202,-214,-191,-308,-253},{-236,-279,-268,-269,-209,-283},{-264,-295,-218,-217,-333,-269},{-270,-228,-175,-243,-155,-281},{-180,-150,-183,-290,-333,-290},{-146,-129,-165,-271,-232,-166},{-125,-244,-295,-273,-191,-342},{-97,-263,-243,-273,-207,-243},{-209,-291,-115,-318,-128,-147},{-171,-238,-214,-295,-252,-297},{-222,-196,-293,-215,-119,-227},{-239,-107,-274,-131,-338,-307},{-220,-218,-144,-114,-304,-140},{-120,-156,-276,-138,-328,-307},{-112,-236,-268,-305,-173,-232},{-192,-184,-161,-178,-254,-192}},{{-292,-282,-224,-398,-174,-158},{-224,-340,-162,-239,-182,-249},{-187,-202,-209,-266,-356,-399},{-124,-129,-258,-178,-279,-396},{-287,-234,-355,-266,-295,-243},{-148,-237,-360,-360,-138,-402},{-141,-328,-329,-320,-301,-249},{-224,-252,-277,-288,-229,-218},{-338,-217,-175,-377,-171,-311},{-204,-310,-251,-199,-282,-323},{-352,-375,-235,-288,-406,-263},{-335,-242,-245,-145,-141,-340},{-126,-174,-243,-309,-235,-198},{-163,-323,-371,-210,-201,-181},{-304,-277,-245,-213,-215,-308},{-143,-315,-337,-377,-270,-359},{-163,-242,-274,-369,-378,-410},{-143,-330,-251,-256,-138,-204},{-289,-217,-201,-317,-290,-408},{-126,-129,-287,-371,-389,-328}},{{-425,-291,-422,-154,-352,-427},{-191,-409,-362,-217,-361,-280},{-211,-279,-401,-403,-196,-280},{-327,-350,-437,-187,-424,-223},{-303,-238,-410,-364,-223,-154},{-393,-156,-284,-376,-283,-376},{-350,-412,-416,-286,-286,-286},{-373,-256,-200,-298,-217,-208},{-309,-309,-185,-403,-286,-355},{-350,-241,-245,-244,-283,-406},{-376,-188,-410,-150,-280,-181},{-286,-432,-203,-223,-370,-445},{-263,-179,-290,-196,-340,-289},{-162,-173,-308,-316,-382,-388},{-387,-365,-203,-298,-452,-196},{-405,-315,-230,-277,-208,-439},{-399,-173,-308,-355,-286,-247},{-272,-403,-248,-211,-307,-445},{-280,-203,-446,-265,-376,-229},{-321,-432,-182,-406,-424,-340}}},{{{-389,-458,-304,-476,-424,-340},{-427,-480,-487,-525,-329,-290},{-336,-500,-430,-203,-259,-294},{-504,-462,-329,-441,-399,-196},{-193,-200,-203,-500,-259,-326},{-262,-262,-427,-234,-497,-427},{-385,-357,-357,-434,-455,-241},{-448,-420,-368,-371,-346,-508},{-364,-441,-406,-287,-508,-259},{-427,-228,-178,-508,-434,-217},{-252,-462,-343,-462,-259,-287},{-382,-315,-514,-346,-245,-259},{-287,-276,-266,-399,-193,-458},{-241,-256,-280,-494,-200,-298},{-340,-318,-234,-399,-448,-217},{-480,-350,-382,-308,-273,-452},{-469,-287,-252,-308,-182,-416},{-385,-452,-214,-301,-304,-186},{-382,-224,-336,-410,-178,-231},{-259,-452,-430,-196,-452,-329}},{{-233,-189,-342,-471,-289,-419},{-331,-487,-268,-341,-420,-200},{-177,-247,-380,-271,-282,-296},{-202,-484,-207,-224,-180,-345},{-355,-192,-437,-267,-492,-477},{-512,-353,-370,-488,-272,-438},{-313,-370,-220,-374,-351,-451},{-386,-466,-434,-197,-348,-431},{-404,-189,-298,-357,-430,-242},{-376,-223,-363,-307,-216,-460},{-345,-250,-220,-381,-282,-303},{-480,-487,-183,-254,-348,-374},{-498,-302,-254,-347,-485,-402},{-466,-309,-475,-418,-341,-303},{-512,-350,-461,-428,-207,-419},{-177,-432,-302,-207,-226,-406},{-244,-511,-349,-464,-479,-258},{-345,-189,-261,-170,-279,-431},{-498,-305,-264,-237,-276,-206},{-184,-487,-441,-277,-384,-274}},{{-180,-373,-429,-199,-248,-231},{-328,-317,-198,-290,-396,-373},{-350,-308,-333,-264,-259,-342},{-312,-240,-291,-243,-294,-295},{-271,-237,-333,-384,-328,-275},{-340,-431,-231,-372,-142,-345},{-296,-339,-162,-319,-316,-395},{-246,-333,-366,-305,-388,-395},{-328,-283,-306,-190,-291,-389},{-334,-453,-399,-413,-197,-164},{-328,-283,-444,-281,-302,-234},{-457,-157,-222,-305,-345,-200},{-290,-413,-162,-243,-214,-295},{-220,-179,-156,-302,-299,-295},{-296,-191,-225,-234,-362,-392},{-217,-388,-288,-193,-276,-314},{-460,-410,-375,-308,-248,-367},{-227,-330,-396,-199,-162,-267},{-457,-376,-417,-278,-379,-361},{-469,-447,-408,-355,-259,-181}},{{-154,-363,-134,-304,-181,-265},{-246,-308,-180,-141,-127,-237},{-297,-260,-370,-376,-250,-160},{-354,-153,-226,-216,-282,-182},{-235,-163,-337,-206,-238,-258},{-321,-279,-131,-186,-338,-143},{-284,-263,-254,-334,-355,-210},{-327,-137,-319,-254,-162,-239},{-378,-350,-357,-289,-125,-354},{-364,-260,-326,-248,-331,-296},{-151,-208,-368,-131,-130,-155},{-402,-181,-293,-158,-365,-270},{-240,-337,-311,-191,-309,-323},{-219,-326,-231,-138,-179,-208},{-135,-221,-139,-233,-365,-354},{-316,-387,-198,-314,-323,-239},{-346,-137,-334,-141,-343,-160},{-284,-250,-159,-143,-255,-280},{-335,-352,-324,-351,-201,-311},{-400,-158,-185,-336,-162,-354}},{{-348,-213,-162,-231,-180,-159},{-332,-284,-159,-249,-164,-335},{-282,-166,-217,-157,-236,-284},{-282,-189,-192,-125,-298,-171},{-154,-201,-275,-256,-219,-141},{-178,-321,-342,-346,-316,-148},{-310,-277,-199,-326,-337,-333},{-322,-259,-270,-182,-173,-282},{-145,-162,-293,-129,-293,-245},{-121,-136,-155,-249,-173,-270},{-171,-319,-196,-273,-247,-314},{-180,-240,-289,-256,-247,-298},{-133,-162,-270,-275,-136,-210},{-209,-162,-171,-319,-199,-208},{-166,-139,-328,-210,-141,-146},{-194,-185,-176,-139,-222,-254},{-329,-125,-268,-125,-316,-176},{-275,-132,-252,-136,-162,-199},{-270,-263,-323,-337,-328,-296},{-256,-243,-176,-293,-206,-270}},{{-284,-298,-319,-236,-126,-192},{-275,-201,-116,-257,-172,-145},{-293,-326,-333,-155,-152,-349},{-256,-298,-338,-298,-179,-226},{-164,-210,-158,-152,-327,-130},{-213,-300,-275,-207,-271,-219},{-194,-266,-261,-145,-288,-194},{-224,-326,-296,-228,-324,-170},{-342,-298,-198,-248,-123,-212},{-316,-185,-205,-195,-356,-204},{-256,-312,-319,-347,-339,-246},{-312,-157,-301,-317,-223,-357},{-185,-206,-163,-152,-310,-138},{-120,-169,-214,-259,-162,-298},{-342,-178,-317,-257,-232,-155},{-219,-286,-305,-293,-356,-349},{-206,-201,-163,-152,-206,-315},{-296,-333,-168,-219,-177,-283},{-129,-293,-168,-293,-148,-155},{-162,-340,-165,-314,-136,-177}},{{-333,-194,-149,-213,-357,-199},{-302,-215,-399,-363,-208,-225},{-378,-155,-354,-360,-298,-187},{-272,-360,-306,-240,-360,-374},{-272,-337,-277,-150,-329,-222},{-134,-145,-181,-270,-301,-317},{-136,-199,-364,-355,-309,-354},{-174,-300,-223,-311,-236,-282},{-164,-344,-210,-319,-256,-179},{-297,-290,-271,-262,-385,-276},{-297,-233,-205,-281,-157,-360},{-287,-189,-231,-306,-174,-190},{-277,-148,-237,-404,-253,-311},{-257,-303,-136,-347,-402,-412},{-280,-334,-165,-298,-326,-228},{-184,-135,-306,-164,-188,-199},{-186,-313,-314,-347,-155,-193},{-179,-140,-234,-308,-166,-144},{-126,-264,-367,-317,-244,-274},{-209,-199,-364,-175,-351,-207}},{{-278,-345,-260,-406,-204,-488},{-334,-203,-251,-197,-324,-241},{-441,-185,-217,-472,-408,-238},{-231,-424,-164,-399,-382,-399},{-201,-379,-260,-301,-191,-314},{-394,-333,-415,-244,-395,-231},{-231,-200,-335,-355,-162,-198},{-272,-167,-164,-437,-460,-373},{-157,-182,-428,-209,-343,-399},{-441,-276,-388,-260,-483,-251},{-172,-418,-183,-339,-314,-439},{-355,-454,-425,-333,-318,-360},{-157,-412,-282,-292,-249,-191},{-172,-242,-394,-365,-395,-218},{-201,-236,-239,-165,-204,-455},{-314,-312,-276,-415,-467,-218},{-352,-188,-443,-428,-408,-488},{-403,-318,-189,-292,-402,-356},{-388,-442,-326,-460,-450,-290},{-426,-270,-394,-406,-460,-412}},{{-269,-215,-189,-518,-332,-270},{-259,-334,-282,-196,-350,-490},{-326,-460,-488,-196,-476,-487},{-353,-430,-468,-444,-374,-511},{-403,-321,-334,-259,-360,-315},{-208,-477,-303,-430,-186,-480},{-343,-181,-475,-318,-259,-357},{-316,-406,-310,-441,-500,-248},{-353,-447,-286,-343,-514,-186},{-316,-372,-337,-525,-525,-290},{-460,-177,-368,-518,-402,-298},{-360,-488,-203,-343,-196,-410},{-363,-290,-282,-430,-175,-473},{-400,-286,-286,-389,-308,-458},{-343,-430,-268,-360,-399,-332},{-336,-321,-279,-343,-196,-500},{-319,-194,-433,-497,-360,-308},{-175,-194,-210,-228,-234,-350},{-464,-348,-244,-252,-304,-290},{-467,-505,-502,-357,-350,-511}}}}; // 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,13,8,25,12,9,24,12,8,25,13,9,25,13,9,25,13,9,26,13,9,26,13,9,26,13,9,25,13,9,26,13,9,26,13,9,27,14,9,26,13,9,26,13,9,26,14,9,26,14,9,27,14,9,25,13,9,25,13,9,26,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,1139,1140}}; // 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,0,4,8,12,16,20,24,28,32,36,40,44,48,2,8,14,20,26,32,38,44,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,2,6,10,14,18,22,26,30,34,38,42,46,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,1,5,9,13,17,21,25,29,33,37,41,45,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,0,4,8,12,16,20,24,28,32,36,40,44,48,0,6,12,18,24,30,36,42,48}; // 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,5,9,13,17,21,25,29,33,37,41,45,49,53,7,13,19,25,31,37,43,49,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,7,11,15,19,23,27,31,35,39,43,47,51,5,11,17,23,29,35,41,47,53,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,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,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,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,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,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,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,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,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,3,9,15,21,27,33,39,45,51,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,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,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,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,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,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,1,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,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,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,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,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,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,3,7,11,15,19,23,27,31,35,39,43,47,51,3,9,15,21,27,33,39,45,51}; // set of end times of each shipment 
