int Dev = 30;// 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 = 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]={{{{12222,0,0,0,0,0},{12530,0,0,0,0,0},{12439,0,0,0,0,0},{12227,0,0,0,0,0},{12830,0,0,0,0,0},{13019,0,0,0,0,0},{12493,0,0,0,0,0},{11875,0,0,0,0,0},{12568,0,0,0,0,0},{12488,0,0,0,0,0},{12347,0,0,0,0,0},{12301,0,0,0,0,0},{12596,0,0,0,0,0},{12323,0,0,0,0,0},{12488,0,0,0,0,0},{12857,0,0,0,0,0},{12699,0,0,0,0,0},{12869,0,0,0,0,0},{12701,0,0,0,0,0},{12079,0,0,0,0,0}},{{13029,0,0,0,0,0},{12466,0,0,0,0,0},{12321,0,0,0,0,0},{12820,0,0,0,0,0},{12529,0,0,0,0,0},{12750,0,0,0,0,0},{12887,0,0,0,0,0},{12548,0,0,0,0,0},{12447,0,0,0,0,0},{12819,0,0,0,0,0},{12607,0,0,0,0,0},{12660,0,0,0,0,0},{12666,0,0,0,0,0},{12378,0,0,0,0,0},{12884,0,0,0,0,0},{12184,0,0,0,0,0},{12434,0,0,0,0,0},{12723,0,0,0,0,0},{12517,0,0,0,0,0},{12249,0,0,0,0,0}},{{11367,0,0,0,0,0},{11802,0,0,0,0,0},{11144,0,0,0,0,0},{11805,0,0,0,0,0},{11853,0,0,0,0,0},{12122,0,0,0,0,0},{11951,0,0,0,0,0},{11821,0,0,0,0,0},{11097,0,0,0,0,0},{11806,0,0,0,0,0},{11206,0,0,0,0,0},{11742,0,0,0,0,0},{11942,0,0,0,0,0},{11120,0,0,0,0,0},{12192,0,0,0,0,0},{11781,0,0,0,0,0},{11815,0,0,0,0,0},{11573,0,0,0,0,0},{11501,0,0,0,0,0},{11204,0,0,0,0,0}},{{10248,0,0,0,0,0},{9914,0,0,0,0,0},{10568,0,0,0,0,0},{10180,0,0,0,0,0},{10764,0,0,0,0,0},{10107,0,0,0,0,0},{9833,0,0,0,0,0},{10537,0,0,0,0,0},{9975,0,0,0,0,0},{10047,0,0,0,0,0},{9939,0,0,0,0,0},{10755,0,0,0,0,0},{10486,0,0,0,0,0},{10675,0,0,0,0,0},{10925,0,0,0,0,0},{10369,0,0,0,0,0},{9632,0,0,0,0,0},{10310,0,0,0,0,0},{10559,0,0,0,0,0},{10530,0,0,0,0,0}},{{9454,0,0,0,0,0},{9887,0,0,0,0,0},{9055,0,0,0,0,0},{9668,0,0,0,0,0},{9608,0,0,0,0,0},{9651,0,0,0,0,0},{9454,0,0,0,0,0},{9367,0,0,0,0,0},{9511,0,0,0,0,0},{9343,0,0,0,0,0},{8905,0,0,0,0,0},{9797,0,0,0,0,0},{9063,0,0,0,0,0},{9432,0,0,0,0,0},{9467,0,0,0,0,0},{9655,0,0,0,0,0},{9231,0,0,0,0,0},{9347,0,0,0,0,0},{9528,0,0,0,0,0},{9498,0,0,0,0,0}},{{9687,0,0,0,0,0},{9310,0,0,0,0,0},{9134,0,0,0,0,0},{9114,0,0,0,0,0},{9162,0,0,0,0,0},{8962,0,0,0,0,0},{9386,0,0,0,0,0},{9519,0,0,0,0,0},{9110,0,0,0,0,0},{8916,0,0,0,0,0},{9141,0,0,0,0,0},{9096,0,0,0,0,0},{9640,0,0,0,0,0},{9490,0,0,0,0,0},{9617,0,0,0,0,0},{9379,0,0,0,0,0},{9102,0,0,0,0,0},{9051,0,0,0,0,0},{9346,0,0,0,0,0},{9392,0,0,0,0,0}},{{9918,0,0,0,0,0},{10154,0,0,0,0,0},{9933,0,0,0,0,0},{9882,0,0,0,0,0},{10350,0,0,0,0,0},{9716,0,0,0,0,0},{10173,0,0,0,0,0},{9628,0,0,0,0,0},{9640,0,0,0,0,0},{9605,0,0,0,0,0},{9689,0,0,0,0,0},{10068,0,0,0,0,0},{9690,0,0,0,0,0},{9897,0,0,0,0,0},{9573,0,0,0,0,0},{9817,0,0,0,0,0},{9959,0,0,0,0,0},{10359,0,0,0,0,0},{9900,0,0,0,0,0},{9787,0,0,0,0,0}},{{11111,0,0,0,0,0},{10864,0,0,0,0,0},{10785,0,0,0,0,0},{10608,0,0,0,0,0},{11281,0,0,0,0,0},{10876,0,0,0,0,0},{10952,0,0,0,0,0},{11427,0,0,0,0,0},{11065,0,0,0,0,0},{11066,0,0,0,0,0},{11140,0,0,0,0,0},{10981,0,0,0,0,0},{11103,0,0,0,0,0},{10774,0,0,0,0,0},{10728,0,0,0,0,0},{11102,0,0,0,0,0},{10678,0,0,0,0,0},{11546,0,0,0,0,0},{10962,0,0,0,0,0},{11061,0,0,0,0,0}},{{12056,0,0,0,0,0},{11915,0,0,0,0,0},{12643,0,0,0,0,0},{12484,0,0,0,0,0},{11729,0,0,0,0,0},{12123,0,0,0,0,0},{11785,0,0,0,0,0},{11915,0,0,0,0,0},{12540,0,0,0,0,0},{12355,0,0,0,0,0},{12294,0,0,0,0,0},{11988,0,0,0,0,0},{11699,0,0,0,0,0},{12122,0,0,0,0,0},{12614,0,0,0,0,0},{11860,0,0,0,0,0},{12115,0,0,0,0,0},{12146,0,0,0,0,0},{12785,0,0,0,0,0},{12141,0,0,0,0,0}}},{{{-335,-353,-229,-373,-241,-212},{-232,-326,-303,-376,-282,-226},{-282,-206,-282,-332,-376,-238},{-329,-359,-279,-344,-297,-218},{-212,-300,-376,-273,-320,-356},{-379,-368,-297,-376,-376,-282},{-379,-382,-326,-212,-220,-206},{-353,-232,-291,-320,-220,-368},{-370,-320,-247,-250,-373,-256},{-232,-382,-356,-232,-315,-365},{-223,-353,-318,-209,-220,-353},{-332,-303,-382,-247,-300,-241},{-341,-335,-285,-285,-315,-259},{-323,-297,-220,-362,-326,-244},{-218,-276,-226,-341,-235,-250},{-368,-323,-323,-370,-315,-359},{-362,-220,-332,-247,-365,-291},{-279,-365,-241,-359,-282,-209},{-370,-265,-241,-344,-370,-206},{-265,-244,-218,-332,-320,-259}},{{-276,-329,-235,-211,-262,-280},{-319,-217,-258,-203,-248,-295},{-310,-272,-283,-337,-206,-202},{-264,-289,-328,-260,-326,-236},{-360,-329,-316,-334,-267,-215},{-270,-289,-330,-337,-227,-220},{-357,-326,-280,-293,-315,-329},{-351,-277,-297,-310,-222,-290},{-302,-343,-232,-214,-262,-324},{-313,-315,-339,-200,-296,-205},{-351,-235,-314,-329,-302,-285},{-206,-303,-246,-342,-280,-199},{-377,-332,-235,-244,-326,-236},{-287,-297,-344,-351,-331,-192},{-328,-263,-244,-282,-296,-184},{-246,-232,-311,-351,-336,-220},{-209,-277,-196,-252,-259,-264},{-351,-323,-294,-277,-267,-202},{-252,-312,-283,-342,-248,-262},{-212,-263,-246,-345,-318,-308}},{{-202,-194,-163,-177,-214,-165},{-192,-230,-172,-246,-246,-258},{-268,-182,-256,-177,-160,-185},{-272,-235,-277,-226,-205,-183},{-232,-295,-233,-251,-268,-171},{-275,-298,-177,-235,-244,-233},{-288,-257,-252,-168,-263,-198},{-220,-273,-219,-220,-250,-150},{-212,-249,-168,-289,-197,-235},{-302,-310,-247,-231,-265,-229},{-188,-225,-212,-222,-184,-239},{-228,-169,-277,-188,-182,-144},{-192,-235,-287,-260,-240,-146},{-182,-215,-205,-199,-173,-183},{-190,-186,-284,-195,-238,-157},{-185,-220,-296,-193,-210,-171},{-260,-227,-214,-213,-235,-249},{-310,-201,-224,-282,-261,-245},{-312,-201,-186,-224,-163,-262},{-218,-240,-175,-220,-182,-214}},{{-207,-217,-233,-127,-125,-168},{-162,-196,-193,-157,-163,-147},{-205,-224,-149,-182,-165,-136},{-191,-135,-158,-143,-155,-130},{-209,-144,-140,-163,-185,-162},{-162,-137,-211,-172,-130,-198},{-167,-142,-188,-155,-144,-152},{-165,-181,-215,-162,-173,-176},{-213,-135,-170,-144,-186,-118},{-201,-174,-129,-198,-167,-158},{-167,-153,-192,-120,-188,-149},{-183,-236,-208,-218,-152,-187},{-150,-166,-131,-158,-208,-126},{-242,-153,-183,-120,-122,-176},{-205,-209,-193,-193,-208,-125},{-205,-194,-147,-174,-155,-194},{-232,-159,-206,-151,-117,-157},{-167,-243,-227,-126,-150,-158},{-179,-239,-193,-224,-180,-173},{-229,-237,-172,-138,-137,-114}},{{-146,-109,-141,-171,-182,-125},{-171,-143,-150,-162,-185,-134},{-180,-153,-123,-110,-115,-163},{-120,-107,-113,-112,-190,-154},{-162,-112,-104,-187,-178,-181},{-120,-148,-191,-191,-154,-129},{-116,-161,-135,-140,-134,-175},{-188,-136,-131,-148,-176,-141},{-196,-121,-168,-113,-162,-151},{-108,-139,-109,-121,-115,-123},{-146,-119,-106,-107,-184,-163},{-159,-153,-112,-162,-190,-131},{-180,-140,-185,-191,-144,-106},{-200,-137,-173,-135,-125,-181},{-125,-125,-126,-147,-116,-157},{-182,-186,-182,-137,-132,-157},{-125,-143,-178,-162,-134,-141},{-182,-164,-172,-171,-156,-179},{-128,-116,-134,-166,-173,-109},{-199,-106,-138,-168,-118,-129}},{{-160,-148,-180,-148,-198,-204},{-122,-131,-145,-174,-163,-169},{-159,-106,-121,-146,-155,-210},{-159,-121,-134,-145,-122,-152},{-103,-140,-165,-183,-151,-134},{-113,-153,-151,-139,-129,-184},{-175,-187,-183,-142,-164,-162},{-188,-147,-113,-137,-188,-200},{-103,-157,-174,-171,-208,-130},{-176,-147,-163,-140,-163,-210},{-131,-165,-171,-200,-196,-177},{-112,-148,-121,-180,-163,-177},{-168,-146,-171,-143,-187,-117},{-134,-188,-140,-189,-198,-199},{-184,-178,-193,-136,-156,-215},{-123,-190,-122,-134,-124,-145},{-116,-151,-113,-169,-150,-135},{-134,-115,-109,-131,-198,-179},{-109,-175,-157,-162,-193,-184},{-165,-115,-137,-189,-151,-159}},{{-224,-185,-158,-183,-184,-224},{-205,-177,-209,-147,-267,-245},{-183,-154,-188,-203,-255,-208},{-186,-208,-232,-163,-209,-265},{-224,-181,-234,-201,-219,-165},{-177,-136,-141,-227,-166,-265},{-197,-228,-180,-155,-230,-256},{-130,-183,-198,-229,-188,-210},{-221,-132,-156,-201,-215,-226},{-176,-145,-203,-237,-193,-191},{-209,-163,-209,-245,-234,-202},{-127,-147,-165,-177,-219,-239},{-184,-157,-196,-249,-244,-163},{-127,-192,-222,-151,-161,-219},{-218,-224,-211,-199,-230,-191},{-141,-163,-226,-187,-238,-195},{-202,-199,-236,-173,-234,-167},{-176,-215,-224,-243,-224,-208},{-179,-232,-169,-225,-240,-263},{-191,-179,-144,-253,-203,-245}},{{-250,-216,-315,-240,-271,-339},{-186,-193,-195,-301,-274,-266},{-168,-209,-215,-299,-209,-291},{-197,-207,-178,-233,-264,-253},{-218,-221,-312,-207,-196,-250},{-291,-237,-193,-321,-303,-291},{-220,-228,-237,-223,-222,-285},{-213,-266,-283,-288,-253,-301},{-159,-226,-307,-314,-258,-325},{-220,-275,-217,-329,-214,-250},{-175,-219,-234,-293,-227,-312},{-193,-280,-176,-238,-290,-328},{-247,-200,-185,-213,-331,-293},{-275,-188,-271,-250,-292,-269},{-213,-251,-305,-245,-316,-237},{-281,-204,-268,-233,-217,-280},{-234,-242,-259,-250,-256,-213},{-241,-296,-261,-309,-183,-261},{-293,-289,-207,-185,-277,-266},{-295,-303,-224,-306,-298,-207}},{{-215,-298,-218,-380,-332,-335},{-224,-244,-347,-242,-309,-315},{-353,-301,-241,-283,-344,-282},{-243,-357,-327,-210,-297,-218},{-295,-292,-221,-280,-206,-232},{-207,-306,-324,-368,-359,-250},{-199,-295,-232,-239,-291,-338},{-351,-247,-270,-327,-229,-320},{-290,-284,-204,-298,-303,-356},{-301,-200,-290,-342,-306,-312},{-298,-256,-356,-289,-285,-253},{-204,-250,-232,-301,-350,-303},{-235,-351,-278,-266,-241,-220},{-270,-289,-241,-362,-212,-312},{-276,-244,-359,-374,-344,-288},{-326,-242,-298,-356,-232,-379},{-353,-295,-224,-289,-209,-232},{-317,-301,-270,-312,-335,-212},{-351,-284,-310,-345,-235,-347},{-345,-337,-301,-272,-338,-241}}},{{{-153,-177,-138,-152,-144,-172},{-168,-216,-130,-143,-208,-220},{-185,-193,-150,-158,-213,-241},{-148,-186,-149,-163,-145,-151},{-210,-194,-126,-190,-184,-212},{-210,-128,-219,-136,-210,-145},{-217,-135,-214,-224,-230,-183},{-134,-128,-177,-202,-202,-164},{-192,-127,-168,-213,-131,-170},{-171,-171,-150,-186,-230,-220},{-126,-213,-168,-158,-182,-141},{-146,-184,-159,-177,-164,-160},{-188,-199,-210,-211,-215,-162},{-124,-188,-201,-229,-136,-136},{-141,-183,-226,-174,-239,-216},{-208,-206,-152,-204,-191,-181},{-183,-215,-156,-227,-178,-231},{-138,-179,-173,-199,-208,-237},{-124,-179,-180,-129,-215,-202},{-203,-166,-168,-149,-224,-189}},{{-182,-195,-264,-201,-163,-224},{-156,-244,-181,-214,-243,-207},{-222,-260,-217,-186,-213,-181},{-251,-164,-170,-197,-268,-233},{-216,-252,-196,-194,-190,-195},{-148,-207,-211,-172,-254,-228},{-184,-168,-249,-164,-254,-307},{-214,-205,-196,-166,-273,-286},{-220,-195,-226,-248,-174,-293},{-218,-254,-260,-175,-229,-248},{-244,-232,-168,-228,-240,-302},{-249,-205,-179,-276,-252,-286},{-222,-232,-204,-206,-289,-252},{-208,-146,-245,-239,-211,-214},{-249,-260,-258,-272,-293,-293},{-230,-172,-202,-190,-234,-195},{-184,-246,-219,-245,-218,-302},{-210,-154,-192,-263,-197,-245},{-184,-170,-211,-261,-165,-195},{-184,-244,-226,-161,-211,-195}},{{-203,-222,-265,-248,-307,-348},{-279,-319,-304,-213,-258,-328},{-249,-224,-244,-197,-343,-235},{-279,-222,-320,-278,-213,-258},{-222,-186,-328,-208,-244,-311},{-222,-232,-341,-338,-252,-368},{-185,-227,-341,-265,-271,-323},{-274,-227,-254,-232,-263,-323},{-212,-316,-325,-202,-357,-221},{-207,-240,-293,-240,-332,-354},{-306,-332,-272,-213,-296,-317},{-242,-280,-291,-208,-352,-340},{-279,-283,-191,-265,-283,-266},{-254,-314,-204,-351,-332,-212},{-309,-286,-320,-286,-213,-277},{-257,-303,-333,-321,-194,-291},{-237,-332,-204,-259,-327,-209},{-183,-201,-189,-313,-321,-238},{-264,-301,-220,-281,-285,-246},{-272,-286,-217,-284,-194,-297}},{{-295,-347,-241,-280,-214,-385},{-277,-250,-232,-262,-346,-271},{-223,-332,-340,-391,-292,-373},{-338,-376,-316,-241,-355,-379},{-364,-270,-331,-352,-346,-256},{-373,-312,-295,-286,-379,-235},{-214,-370,-346,-328,-226,-283},{-295,-288,-367,-310,-259,-232},{-214,-312,-304,-343,-262,-304},{-263,-359,-224,-211,-229,-343},{-309,-323,-331,-391,-217,-274},{-312,-259,-283,-325,-253,-334},{-321,-326,-343,-262,-256,-313},{-350,-270,-292,-382,-328,-304},{-361,-265,-280,-337,-313,-280},{-303,-232,-235,-262,-337,-361},{-277,-253,-221,-214,-277,-232},{-283,-297,-319,-325,-277,-214},{-254,-338,-322,-232,-313,-232},{-321,-350,-378,-262,-274,-262}},{{-385,-241,-247,-288,-306,-252},{-250,-238,-322,-267,-332,-374},{-337,-220,-385,-348,-220,-209},{-376,-355,-388,-234,-306,-229},{-298,-328,-328,-390,-368,-334},{-280,-283,-292,-357,-382,-307},{-232,-271,-331,-360,-312,-354},{-280,-214,-313,-294,-270,-334},{-229,-277,-355,-228,-376,-252},{-250,-376,-304,-315,-376,-261},{-382,-316,-292,-249,-265,-362},{-307,-220,-370,-390,-359,-284},{-238,-214,-289,-333,-279,-360},{-250,-322,-322,-252,-215,-255},{-337,-367,-301,-345,-270,-371},{-328,-247,-334,-222,-353,-339},{-247,-382,-340,-306,-288,-278},{-232,-382,-235,-282,-244,-302},{-274,-223,-340,-318,-273,-336},{-229,-385,-280,-246,-376,-258}},{{-231,-338,-306,-248,-312,-181},{-365,-329,-192,-306,-284,-181},{-314,-315,-309,-288,-195,-193},{-245,-259,-217,-293,-300,-255},{-245,-329,-322,-290,-236,-218},{-239,-198,-222,-333,-210,-250},{-279,-360,-252,-238,-218,-263},{-336,-229,-268,-248,-251,-260},{-368,-268,-274,-319,-184,-179},{-208,-349,-255,-335,-218,-288},{-268,-223,-274,-187,-246,-260},{-239,-343,-252,-214,-300,-236},{-368,-265,-257,-256,-305,-258},{-214,-248,-274,-319,-197,-278},{-248,-268,-325,-314,-266,-184},{-225,-268,-301,-338,-261,-278},{-274,-195,-352,-309,-315,-216},{-214,-290,-201,-285,-210,-273},{-322,-251,-220,-338,-202,-263},{-291,-301,-333,-211,-238,-298}},{{-170,-295,-277,-163,-201,-243},{-276,-174,-176,-191,-269,-249},{-290,-204,-187,-275,-238,-177},{-298,-237,-194,-196,-261,-165},{-298,-232,-185,-273,-207,-251},{-312,-269,-165,-157,-234,-249},{-226,-197,-212,-252,-228,-233},{-204,-225,-256,-204,-246,-197},{-257,-206,-198,-249,-151,-175},{-271,-186,-172,-153,-145,-145},{-269,-202,-190,-206,-147,-175},{-286,-295,-207,-176,-172,-171},{-206,-176,-277,-241,-238,-213},{-262,-167,-227,-256,-215,-255},{-290,-195,-288,-191,-170,-219},{-269,-190,-216,-155,-178,-155},{-175,-216,-201,-256,-244,-199},{-302,-302,-265,-202,-209,-253},{-245,-186,-241,-273,-176,-161},{-281,-255,-221,-256,-193,-177}},{{-188,-149,-148,-149,-142,-134},{-217,-162,-232,-182,-162,-202},{-200,-140,-235,-170,-132,-170},{-227,-205,-150,-222,-120,-192},{-177,-158,-219,-226,-157,-195},{-134,-182,-138,-126,-121,-141},{-219,-173,-127,-175,-120,-205},{-221,-130,-150,-164,-121,-124},{-140,-180,-230,-154,-173,-129},{-156,-199,-226,-158,-214,-170},{-207,-166,-194,-224,-147,-175},{-228,-210,-195,-187,-164,-197},{-207,-193,-185,-201,-209,-200},{-138,-175,-168,-156,-193,-215},{-192,-140,-194,-150,-152,-121},{-167,-203,-167,-206,-202,-185},{-146,-188,-219,-184,-195,-128},{-188,-143,-206,-214,-144,-197},{-240,-173,-185,-212,-120,-163},{-182,-240,-217,-191,-173,-151}},{{-144,-133,-175,-161,-121,-126},{-160,-181,-183,-156,-155,-203},{-168,-176,-180,-173,-133,-118},{-143,-190,-156,-129,-161,-126},{-197,-195,-144,-207,-138,-213},{-133,-171,-173,-192,-128,-183},{-178,-139,-170,-171,-118,-197},{-156,-197,-218,-190,-126,-148},{-198,-215,-183,-155,-141,-134},{-193,-208,-176,-217,-180,-192},{-192,-178,-166,-143,-134,-178},{-190,-121,-210,-185,-129,-134},{-210,-156,-192,-175,-118,-173},{-146,-176,-200,-133,-163,-193},{-171,-181,-207,-176,-151,-166},{-119,-183,-160,-166,-128,-146},{-190,-129,-217,-151,-118,-160},{-118,-175,-188,-193,-163,-193},{-193,-213,-208,-198,-124,-213},{-165,-118,-148,-119,-150,-200}}},{{{-296,-375,-296,-299,-405,-260},{-368,-349,-266,-326,-355,-395},{-276,-309,-253,-388,-234,-250},{-398,-253,-276,-401,-303,-273},{-375,-368,-421,-303,-257,-395},{-418,-398,-263,-401,-280,-428},{-290,-349,-266,-299,-336,-250},{-237,-293,-263,-303,-418,-276},{-283,-339,-415,-336,-411,-303},{-332,-345,-319,-339,-243,-352},{-276,-424,-286,-345,-329,-230},{-352,-401,-296,-240,-352,-296},{-418,-266,-349,-270,-280,-243},{-234,-319,-355,-418,-339,-309},{-326,-405,-237,-303,-345,-339},{-260,-368,-243,-329,-322,-276},{-280,-392,-395,-299,-408,-273},{-388,-257,-283,-359,-260,-398},{-253,-276,-306,-421,-240,-418},{-263,-283,-388,-296,-273,-378}},{{-380,-419,-351,-358,-379,-226},{-361,-309,-348,-257,-333,-370},{-262,-335,-389,-383,-271,-211},{-331,-370,-246,-358,-363,-211},{-325,-361,-309,-364,-222,-340},{-321,-409,-345,-257,-271,-334},{-367,-399,-402,-320,-314,-322},{-279,-319,-332,-270,-311,-277},{-387,-303,-319,-254,-234,-370},{-413,-380,-313,-374,-277,-271},{-351,-293,-383,-295,-385,-310},{-325,-322,-399,-367,-286,-274},{-279,-319,-345,-380,-240,-235},{-335,-415,-332,-345,-308,-355},{-312,-361,-396,-229,-363,-268},{-315,-332,-360,-245,-299,-292},{-374,-267,-408,-264,-243,-388},{-367,-242,-332,-383,-357,-316},{-423,-235,-389,-273,-320,-322},{-377,-283,-386,-358,-237,-280}},{{-369,-230,-204,-253,-299,-193},{-298,-248,-344,-280,-228,-285},{-263,-274,-230,-204,-212,-314},{-330,-302,-305,-264,-186,-218},{-310,-372,-230,-318,-254,-314},{-348,-259,-356,-337,-329,-278},{-342,-274,-241,-209,-244,-290},{-322,-340,-305,-345,-307,-275},{-289,-265,-199,-354,-244,-208},{-313,-245,-358,-302,-188,-314},{-212,-357,-272,-209,-201,-275},{-307,-253,-244,-223,-191,-275},{-319,-230,-361,-272,-342,-329},{-260,-314,-218,-348,-254,-303},{-254,-363,-286,-299,-339,-236},{-342,-262,-216,-326,-254,-314},{-330,-282,-218,-234,-196,-180},{-339,-216,-288,-204,-326,-326},{-233,-374,-227,-269,-212,-278},{-327,-233,-196,-280,-236,-278}},{{-235,-185,-265,-224,-284,-199},{-230,-233,-190,-259,-159,-261},{-252,-182,-230,-192,-197,-210},{-282,-255,-192,-217,-161,-201},{-180,-309,-228,-231,-291,-215},{-210,-214,-175,-217,-204,-153},{-248,-180,-216,-201,-208,-169},{-182,-224,-275,-296,-287,-191},{-215,-207,-171,-284,-231,-184},{-182,-199,-273,-238,-280,-204},{-320,-299,-197,-282,-273,-212},{-238,-301,-294,-293,-213,-254},{-322,-245,-289,-164,-287,-252},{-262,-304,-168,-176,-282,-201},{-208,-177,-201,-289,-291,-267},{-302,-299,-275,-178,-197,-155},{-275,-306,-282,-254,-202,-153},{-178,-289,-270,-162,-271,-206},{-218,-294,-235,-185,-213,-164},{-180,-221,-275,-178,-271,-191}},{{-280,-210,-218,-149,-172,-189},{-176,-170,-273,-197,-258,-164},{-189,-212,-262,-220,-176,-200},{-228,-208,-202,-151,-246,-202},{-152,-166,-248,-271,-151,-153},{-158,-260,-248,-206,-210,-174},{-174,-223,-187,-214,-197,-233},{-276,-195,-227,-189,-269,-189},{-252,-244,-260,-149,-204,-250},{-234,-206,-168,-233,-162,-231},{-169,-158,-248,-241,-210,-153},{-182,-252,-273,-218,-220,-229},{-208,-197,-227,-233,-204,-170},{-169,-176,-229,-252,-210,-220},{-278,-241,-244,-176,-262,-271},{-193,-244,-235,-267,-265,-260},{-156,-265,-208,-200,-176,-262},{-167,-271,-204,-267,-191,-214},{-241,-267,-237,-216,-204,-225},{-265,-195,-178,-185,-225,-193}},{{-181,-200,-224,-269,-158,-292},{-273,-172,-264,-180,-286,-225},{-231,-231,-253,-252,-185,-162},{-204,-206,-148,-152,-235,-263},{-237,-225,-177,-280,-216,-182},{-158,-250,-173,-154,-235,-200},{-258,-176,-196,-204,-180,-248},{-273,-260,-217,-280,-194,-202},{-235,-168,-230,-204,-271,-243},{-237,-160,-175,-158,-167,-196},{-235,-204,-205,-250,-174,-158},{-155,-153,-175,-250,-266,-284},{-269,-216,-247,-215,-255,-288},{-248,-237,-211,-204,-198,-169},{-273,-197,-272,-228,-275,-256},{-202,-153,-148,-234,-277,-272},{-149,-220,-179,-254,-198,-194},{-162,-178,-222,-217,-194,-252},{-206,-248,-257,-161,-249,-191},{-195,-160,-268,-197,-187,-158}},{{-231,-273,-288,-254,-255,-245},{-291,-287,-307,-306,-186,-207},{-245,-182,-193,-183,-304,-340},{-182,-263,-224,-236,-276,-274},{-284,-308,-173,-243,-294,-205},{-222,-211,-210,-241,-294,-234},{-298,-168,-188,-201,-302,-290},{-164,-171,-227,-231,-289,-282},{-249,-166,-281,-321,-224,-279},{-300,-296,-171,-183,-250,-314},{-245,-199,-232,-218,-273,-215},{-245,-204,-317,-198,-304,-303},{-219,-294,-285,-274,-281,-189},{-210,-268,-288,-319,-261,-186},{-196,-246,-190,-201,-255,-223},{-247,-230,-207,-316,-328,-205},{-180,-294,-256,-274,-219,-269},{-261,-228,-283,-284,-310,-290},{-196,-223,-261,-231,-222,-192},{-180,-256,-222,-296,-325,-194}},{{-219,-360,-338,-258,-329,-262},{-225,-360,-257,-237,-381,-290},{-340,-312,-260,-337,-245,-391},{-332,-292,-257,-275,-356,-299},{-337,-281,-361,-358,-353,-265},{-230,-253,-347,-210,-272,-253},{-315,-278,-306,-340,-269,-397},{-274,-242,-298,-317,-290,-379},{-356,-334,-211,-287,-257,-314},{-255,-337,-338,-213,-220,-345},{-197,-323,-263,-284,-368,-290},{-334,-259,-370,-293,-263,-311},{-238,-216,-338,-349,-230,-351},{-192,-216,-280,-346,-236,-296},{-299,-242,-286,-252,-284,-222},{-312,-360,-263,-246,-296,-240},{-269,-292,-246,-240,-341,-363},{-304,-247,-347,-337,-332,-379},{-279,-357,-234,-263,-281,-354},{-285,-228,-318,-272,-384,-323}},{{-384,-285,-283,-326,-283,-319},{-287,-378,-415,-349,-319,-263},{-274,-394,-354,-293,-316,-415},{-268,-358,-280,-332,-398,-401},{-384,-310,-280,-365,-276,-230},{-284,-227,-229,-260,-326,-342},{-224,-410,-361,-260,-303,-352},{-359,-323,-412,-257,-257,-326},{-324,-403,-251,-411,-405,-388},{-391,-282,-235,-401,-418,-385},{-280,-374,-406,-408,-319,-263},{-318,-416,-277,-378,-336,-306},{-334,-291,-325,-250,-243,-352},{-369,-314,-290,-408,-398,-421},{-346,-259,-377,-359,-322,-352},{-356,-358,-316,-299,-293,-253},{-224,-307,-393,-392,-293,-372},{-265,-285,-238,-263,-395,-332},{-381,-368,-354,-352,-263,-415},{-328,-355,-270,-276,-336,-260}}},{{{-122,-86,-113,-137,-107,-96},{-105,-86,-127,-106,-144,-148},{-103,-137,-105,-152,-123,-105},{-85,-96,-129,-122,-120,-138},{-123,-103,-122,-109,-139,-163},{-78,-104,-123,-142,-115,-105},{-116,-120,-92,-105,-123,-129},{-135,-81,-137,-108,-151,-96},{-117,-125,-122,-99,-128,-106},{-85,-126,-142,-99,-134,-164},{-113,-90,-82,-145,-92,-155},{-84,-99,-93,-143,-139,-137},{-78,-82,-123,-121,-122,-131},{-83,-77,-83,-150,-121,-110},{-134,-80,-143,-89,-140,-128},{-132,-84,-105,-82,-132,-97},{-80,-123,-112,-143,-150,-97},{-104,-134,-78,-106,-98,-150},{-83,-105,-138,-99,-142,-105},{-113,-114,-106,-146,-144,-155}},{{-146,-172,-151,-158,-145,-186},{-120,-120,-191,-147,-196,-213},{-134,-141,-155,-198,-140,-138},{-111,-103,-148,-166,-182,-203},{-154,-130,-186,-144,-182,-129},{-135,-148,-117,-200,-204,-126},{-138,-138,-130,-149,-185,-178},{-162,-142,-164,-186,-185,-193},{-117,-102,-136,-127,-200,-118},{-107,-123,-139,-202,-142,-131},{-100,-164,-127,-135,-163,-195},{-131,-183,-188,-181,-175,-176},{-163,-103,-185,-130,-158,-124},{-155,-138,-114,-198,-155,-136},{-166,-175,-157,-138,-184,-165},{-99,-145,-135,-122,-209,-129},{-176,-148,-160,-198,-137,-217},{-135,-111,-176,-157,-169,-188},{-146,-138,-176,-188,-193,-190},{-140,-100,-114,-158,-126,-148}},{{-198,-140,-180,-226,-163,-139},{-198,-214,-192,-205,-233,-145},{-133,-128,-184,-205,-151,-214},{-193,-142,-166,-207,-194,-196},{-186,-151,-238,-182,-235,-200},{-187,-140,-149,-163,-214,-194},{-138,-178,-151,-226,-235,-251},{-191,-216,-223,-184,-167,-248},{-191,-158,-169,-144,-184,-226},{-150,-142,-193,-213,-225,-236},{-210,-207,-149,-171,-251,-220},{-224,-216,-186,-247,-249,-251},{-177,-230,-214,-171,-202,-226},{-150,-137,-182,-165,-186,-170},{-150,-220,-182,-150,-145,-218},{-170,-202,-160,-243,-172,-218},{-196,-216,-231,-152,-190,-224},{-203,-180,-179,-234,-184,-158},{-124,-184,-153,-245,-169,-188},{-158,-169,-162,-196,-198,-150}},{{-175,-215,-152,-177,-233,-162},{-162,-227,-215,-156,-179,-164},{-173,-244,-256,-246,-187,-162},{-203,-246,-148,-240,-162,-209},{-250,-195,-256,-221,-191,-142},{-195,-258,-221,-183,-177,-193},{-227,-197,-185,-193,-244,-219},{-260,-162,-231,-197,-181,-205},{-177,-217,-215,-191,-189,-244},{-173,-203,-152,-260,-185,-246},{-183,-158,-207,-160,-183,-215},{-242,-185,-254,-242,-166,-179},{-150,-166,-254,-175,-246,-231},{-156,-242,-215,-225,-162,-213},{-179,-240,-252,-158,-154,-221},{-221,-227,-173,-152,-235,-183},{-166,-156,-154,-146,-171,-179},{-205,-219,-183,-225,-235,-258},{-256,-203,-250,-254,-179,-256},{-225,-171,-195,-166,-179,-240}},{{-158,-197,-221,-232,-191,-217},{-148,-193,-144,-203,-198,-223},{-142,-177,-144,-152,-202,-206},{-215,-195,-236,-236,-244,-237},{-195,-242,-142,-203,-174,-188},{-248,-168,-191,-218,-166,-132},{-156,-183,-150,-254,-215,-226},{-238,-238,-221,-172,-153,-177},{-207,-144,-169,-181,-151,-234},{-203,-258,-169,-254,-151,-237},{-146,-191,-179,-240,-164,-184},{-173,-146,-154,-246,-195,-193},{-185,-171,-160,-218,-189,-177},{-211,-227,-197,-168,-232,-197},{-158,-156,-162,-136,-244,-129},{-187,-252,-211,-164,-166,-160},{-156,-162,-213,-181,-163,-199},{-148,-217,-165,-240,-147,-153},{-191,-227,-173,-215,-221,-155},{-168,-166,-240,-203,-231,-184}},{{-218,-220,-140,-131,-132,-118},{-211,-199,-199,-112,-167,-141},{-202,-199,-152,-187,-109,-151},{-179,-185,-120,-206,-141,-116},{-181,-138,-142,-160,-136,-166},{-179,-176,-142,-138,-133,-159},{-129,-215,-142,-134,-136,-153},{-227,-189,-172,-141,-147,-181},{-156,-208,-165,-142,-170,-112},{-150,-170,-120,-173,-124,-125},{-179,-220,-165,-170,-191,-179},{-215,-131,-167,-146,-142,-132},{-183,-152,-207,-176,-167,-138},{-132,-135,-187,-181,-197,-162},{-166,-147,-190,-202,-158,-162},{-231,-121,-207,-147,-150,-148},{-231,-180,-162,-165,-181,-109},{-163,-157,-210,-139,-155,-159},{-145,-183,-207,-166,-197,-131},{-165,-183,-210,-192,-173,-107}},{{-174,-93,-133,-122,-90,-97},{-146,-121,-124,-137,-97,-82},{-160,-113,-118,-154,-100,-141},{-162,-122,-94,-116,-110,-131},{-104,-137,-156,-85,-137,-122},{-181,-114,-138,-114,-88,-80},{-165,-172,-152,-143,-132,-105},{-127,-118,-147,-111,-107,-104},{-153,-138,-105,-139,-93,-138},{-158,-170,-147,-126,-148,-85},{-106,-105,-135,-111,-138,-88},{-125,-117,-108,-145,-129,-86},{-129,-140,-147,-126,-126,-109},{-176,-93,-124,-90,-146,-116},{-115,-112,-165,-126,-143,-88},{-108,-153,-109,-128,-97,-136},{-140,-164,-93,-148,-123,-112},{-118,-124,-151,-125,-145,-88},{-172,-161,-107,-154,-119,-142},{-109,-118,-122,-94,-151,-112}},{{-74,-98,-109,-116,-110,-91},{-123,-109,-122,-107,-73,-79},{-120,-100,-110,-117,-118,-116},{-116,-108,-73,-95,-124,-82},{-99,-72,-115,-122,-120,-121},{-126,-77,-80,-98,-127,-118},{-92,-72,-105,-77,-92,-83},{-134,-127,-107,-117,-115,-84},{-77,-93,-109,-94,-103,-114},{-88,-88,-123,-73,-124,-122},{-135,-100,-101,-97,-103,-108},{-106,-73,-123,-108,-95,-100},{-89,-73,-117,-77,-124,-113},{-118,-124,-91,-80,-74,-106},{-110,-119,-109,-82,-83,-98},{-75,-93,-98,-113,-89,-121},{-76,-106,-110,-107,-82,-100},{-90,-106,-100,-74,-112,-122},{-96,-109,-88,-102,-100,-86},{-122,-81,-117,-122,-97,-79}},{{-118,-82,-78,-103,-98,-105},{-114,-84,-74,-125,-121,-85},{-123,-76,-105,-123,-74,-84},{-121,-123,-104,-85,-111,-91},{-104,-113,-87,-74,-108,-121},{-102,-107,-96,-122,-97,-126},{-103,-106,-82,-94,-112,-76},{-106,-117,-84,-92,-119,-77},{-102,-108,-69,-119,-96,-113},{-102,-124,-115,-120,-93,-114},{-85,-116,-81,-84,-115,-123},{-74,-115,-98,-91,-82,-79},{-100,-83,-71,-102,-83,-70},{-120,-101,-79,-74,-79,-74},{-73,-119,-110,-94,-90,-107},{-74,-70,-81,-82,-117,-74},{-119,-89,-71,-107,-72,-75},{-70,-87,-110,-89,-73,-81},{-127,-74,-125,-119,-107,-94},{-117,-102,-120,-71,-105,-110}}},{{{-186,-262,-252,-231,-257,-236},{-280,-264,-205,-207,-286,-305},{-270,-238,-236,-274,-219,-293},{-291,-195,-193,-212,-224,-288},{-203,-276,-233,-257,-217,-233},{-254,-209,-267,-219,-240,-240},{-301,-267,-271,-202,-198,-293},{-294,-271,-286,-171,-178,-252},{-207,-214,-286,-286,-286,-295},{-196,-238,-257,-243,-245,-255},{-240,-269,-245,-281,-255,-298},{-193,-205,-276,-188,-188,-257},{-252,-248,-183,-255,-259,-167},{-275,-267,-276,-169,-309,-188},{-249,-183,-243,-252,-293,-236},{-168,-200,-174,-283,-243,-264},{-268,-198,-174,-176,-221,-295},{-205,-276,-278,-274,-264,-228},{-198,-167,-302,-236,-169,-283},{-165,-205,-228,-286,-250,-198}},{{-238,-186,-251,-208,-276,-170},{-307,-207,-306,-213,-197,-250},{-202,-178,-176,-286,-289,-283},{-200,-236,-287,-240,-172,-239},{-255,-176,-289,-219,-282,-232},{-209,-293,-256,-270,-285,-217},{-298,-238,-266,-222,-269,-241},{-193,-190,-263,-210,-267,-278},{-252,-274,-186,-273,-269,-168},{-305,-198,-284,-213,-208,-217},{-217,-259,-219,-229,-158,-186},{-183,-250,-247,-275,-262,-217},{-274,-255,-183,-162,-249,-272},{-190,-224,-223,-173,-192,-263},{-240,-250,-249,-176,-192,-272},{-190,-231,-212,-180,-212,-212},{-233,-209,-282,-249,-235,-236},{-293,-200,-221,-229,-158,-274},{-193,-228,-275,-226,-170,-232},{-236,-255,-240,-282,-192,-214}},{{-260,-199,-232,-158,-157,-173},{-198,-165,-170,-240,-208,-131},{-176,-272,-184,-242,-224,-162},{-271,-249,-166,-244,-200,-232},{-228,-222,-198,-252,-168,-194},{-239,-203,-242,-205,-196,-187},{-198,-259,-192,-244,-228,-162},{-183,-232,-172,-230,-228,-169},{-245,-163,-212,-166,-206,-196},{-252,-150,-154,-199,-226,-149},{-215,-247,-226,-170,-223,-153},{-226,-270,-204,-181,-221,-144},{-172,-249,-170,-160,-198,-205},{-211,-157,-246,-183,-174,-198},{-243,-186,-200,-195,-230,-229},{-260,-265,-224,-138,-172,-137},{-237,-263,-246,-250,-144,-194},{-256,-236,-228,-236,-193,-135},{-157,-259,-250,-185,-185,-214},{-163,-261,-234,-248,-153,-185}},{{-215,-200,-143,-116,-131,-156},{-189,-130,-137,-123,-144,-97},{-208,-140,-118,-159,-166,-178},{-189,-122,-182,-110,-181,-120},{-172,-142,-179,-178,-137,-164},{-174,-122,-198,-186,-138,-157},{-198,-145,-129,-116,-140,-164},{-143,-140,-199,-195,-177,-164},{-139,-125,-173,-148,-125,-163},{-194,-140,-133,-116,-109,-149},{-203,-178,-116,-169,-122,-120},{-162,-201,-129,-188,-141,-163},{-182,-205,-173,-138,-157,-164},{-194,-188,-201,-123,-173,-124},{-181,-200,-146,-135,-187,-155},{-163,-160,-110,-150,-179,-121},{-172,-147,-190,-168,-101,-127},{-196,-153,-132,-114,-102,-130},{-132,-163,-196,-190,-122,-115},{-205,-200,-119,-186,-125,-163}},{{-158,-126,-149,-125,-105,-134},{-129,-158,-120,-134,-151,-140},{-132,-88,-148,-83,-90,-151},{-152,-145,-153,-117,-104,-130},{-138,-89,-131,-145,-144,-139},{-101,-164,-131,-118,-126,-111},{-156,-117,-87,-140,-109,-100},{-166,-98,-148,-109,-98,-111},{-150,-127,-146,-151,-139,-136},{-114,-152,-125,-95,-130,-123},{-168,-130,-141,-106,-133,-129},{-132,-132,-150,-95,-96,-84},{-130,-126,-108,-98,-87,-84},{-140,-97,-89,-84,-137,-112},{-142,-91,-138,-109,-83,-107},{-108,-100,-157,-120,-149,-145},{-161,-91,-125,-120,-123,-121},{-142,-134,-108,-125,-140,-83},{-104,-134,-95,-131,-126,-150},{-117,-121,-99,-98,-119,-102}},{{-84,-101,-98,-108,-157,-105},{-93,-132,-101,-142,-113,-126},{-90,-145,-111,-125,-155,-106},{-125,-104,-137,-118,-118,-102},{-101,-127,-150,-134,-98,-137},{-130,-149,-113,-107,-98,-155},{-119,-129,-92,-150,-105,-122},{-117,-108,-127,-117,-90,-89},{-123,-109,-129,-93,-149,-131},{-127,-130,-115,-94,-150,-112},{-92,-124,-101,-83,-120,-113},{-104,-89,-104,-107,-126,-89},{-117,-120,-84,-155,-102,-94},{-101,-100,-104,-155,-95,-163},{-125,-84,-95,-129,-113,-113},{-149,-89,-92,-144,-123,-100},{-92,-108,-126,-150,-159,-107},{-143,-143,-124,-107,-105,-108},{-151,-114,-89,-138,-93,-151},{-148,-149,-143,-109,-89,-117}},{{-127,-114,-144,-121,-191,-202},{-155,-113,-125,-115,-132,-151},{-151,-174,-182,-135,-153,-191},{-106,-114,-157,-129,-121,-196},{-155,-120,-116,-155,-189,-168},{-115,-117,-111,-124,-200,-209},{-107,-156,-159,-147,-195,-133},{-161,-135,-127,-154,-177,-126},{-166,-116,-175,-107,-155,-122},{-151,-156,-102,-164,-174,-133},{-123,-110,-169,-132,-166,-139},{-105,-166,-113,-176,-183,-172},{-102,-101,-173,-107,-161,-118},{-113,-114,-152,-152,-172,-126},{-134,-126,-133,-179,-149,-209},{-124,-158,-180,-136,-163,-181},{-94,-144,-120,-111,-202,-178},{-118,-167,-172,-144,-166,-117},{-169,-175,-109,-154,-147,-133},{-164,-101,-118,-126,-122,-130}},{{-121,-200,-157,-163,-143,-227},{-170,-202,-204,-248,-149,-179},{-207,-161,-152,-134,-167,-258},{-221,-165,-137,-192,-201,-212},{-150,-154,-159,-240,-193,-179},{-162,-142,-204,-142,-175,-268},{-168,-129,-183,-238,-231,-198},{-195,-204,-216,-159,-183,-214},{-199,-205,-228,-228,-153,-237},{-119,-182,-220,-150,-215,-144},{-121,-204,-209,-194,-245,-264},{-124,-129,-148,-182,-223,-268},{-158,-133,-198,-234,-179,-190},{-201,-166,-159,-182,-251,-247},{-155,-129,-179,-202,-201,-255},{-218,-161,-237,-182,-163,-173},{-173,-225,-183,-225,-241,-169},{-201,-129,-228,-242,-161,-190},{-218,-195,-202,-200,-187,-268},{-168,-173,-213,-190,-243,-161}},{{-153,-274,-262,-203,-300,-166},{-271,-182,-206,-187,-263,-180},{-198,-228,-217,-284,-164,-289},{-219,-265,-287,-180,-291,-194},{-166,-243,-177,-259,-270,-247},{-260,-182,-278,-162,-201,-240},{-194,-283,-166,-222,-196,-236},{-173,-221,-262,-196,-275,-256},{-209,-160,-206,-259,-298,-236},{-247,-177,-217,-166,-231,-176},{-219,-243,-273,-238,-254,-162},{-162,-226,-175,-289,-245,-300},{-241,-219,-222,-236,-282,-245},{-198,-247,-231,-217,-254,-210},{-260,-226,-273,-289,-196,-243},{-155,-243,-287,-263,-182,-176},{-190,-177,-276,-273,-291,-171},{-228,-258,-226,-268,-247,-166},{-185,-166,-264,-185,-169,-296},{-173,-230,-278,-270,-268,-217}}},{{{-293,-338,-325,-255,-242,-325},{-247,-200,-231,-207,-340,-279},{-287,-319,-242,-261,-266,-332},{-309,-245,-295,-338,-317,-301},{-303,-317,-346,-231,-197,-266},{-253,-258,-197,-335,-282,-279},{-192,-266,-200,-255,-221,-194},{-215,-229,-242,-215,-269,-269},{-346,-290,-314,-274,-346,-269},{-247,-298,-253,-231,-266,-258},{-279,-343,-192,-229,-293,-223},{-255,-330,-285,-202,-223,-245},{-258,-309,-282,-287,-322,-330},{-346,-327,-322,-279,-215,-325},{-338,-197,-306,-189,-242,-295},{-340,-295,-301,-335,-338,-207},{-258,-282,-253,-285,-317,-200},{-330,-340,-263,-242,-306,-205},{-250,-285,-247,-253,-202,-200},{-192,-282,-293,-247,-207,-301}},{{-277,-327,-335,-239,-325,-249},{-269,-279,-186,-303,-238,-202},{-287,-210,-311,-231,-314,-303},{-330,-234,-295,-322,-307,-319},{-205,-340,-343,-258,-278,-267},{-255,-215,-186,-309,-312,-285},{-295,-221,-314,-247,-286,-238},{-325,-330,-245,-346,-217,-218},{-306,-309,-303,-277,-189,-285},{-346,-325,-239,-346,-265,-194},{-269,-223,-335,-239,-288,-241},{-293,-197,-194,-327,-317,-228},{-231,-237,-309,-340,-299,-316},{-295,-290,-234,-207,-207,-264},{-282,-239,-287,-306,-328,-218},{-298,-338,-239,-229,-238,-326},{-335,-245,-261,-340,-296,-319},{-231,-234,-255,-234,-249,-262},{-221,-215,-186,-269,-325,-308},{-207,-271,-218,-332,-257,-264}},{{-311,-314,-267,-293,-247,-200},{-267,-271,-282,-258,-213,-251},{-275,-187,-219,-305,-250,-214},{-225,-261,-260,-263,-257,-272},{-298,-316,-179,-285,-189,-277},{-254,-276,-184,-253,-238,-176},{-306,-278,-229,-270,-240,-280},{-306,-266,-292,-198,-287,-243},{-189,-180,-229,-206,-179,-258},{-313,-268,-207,-273,-240,-169},{-186,-192,-209,-290,-174,-270},{-293,-200,-265,-218,-260,-241},{-241,-293,-292,-206,-174,-311},{-324,-293,-285,-218,-233,-217},{-293,-243,-270,-203,-309,-272},{-194,-286,-307,-315,-252,-306},{-290,-250,-257,-278,-194,-246},{-277,-205,-204,-308,-252,-239},{-326,-210,-189,-308,-255,-265},{-207,-258,-312,-265,-277,-284}},{{-198,-209,-180,-216,-213,-282},{-226,-209,-277,-235,-228,-253},{-190,-207,-201,-175,-291,-287},{-174,-212,-169,-262,-197,-161},{-236,-197,-236,-212,-262,-242},{-188,-249,-247,-175,-260,-215},{-226,-200,-208,-292,-222,-181},{-257,-284,-273,-223,-159,-269},{-245,-233,-180,-230,-172,-204},{-252,-254,-261,-276,-267,-157},{-183,-258,-286,-161,-242,-161},{-169,-261,-238,-230,-157,-258},{-236,-197,-286,-278,-253,-179},{-278,-235,-185,-258,-244,-269},{-278,-226,-263,-223,-251,-242},{-233,-294,-178,-218,-211,-240},{-167,-237,-180,-175,-264,-211},{-269,-195,-286,-260,-206,-246},{-193,-291,-240,-297,-237,-179},{-305,-273,-185,-163,-233,-271}},{{-216,-169,-241,-247,-269,-189},{-249,-273,-252,-241,-256,-273},{-216,-187,-210,-165,-260,-202},{-255,-247,-271,-191,-256,-161},{-218,-271,-178,-200,-204,-247},{-220,-174,-219,-232,-217,-247},{-216,-215,-167,-258,-158,-256},{-167,-182,-195,-197,-208,-254},{-268,-165,-195,-254,-165,-156},{-198,-206,-167,-193,-241,-254},{-222,-215,-165,-171,-197,-200},{-187,-228,-217,-256,-237,-215},{-163,-195,-217,-230,-265,-254},{-185,-267,-156,-224,-187,-202},{-240,-158,-169,-206,-206,-158},{-174,-217,-174,-247,-152,-195},{-161,-189,-230,-204,-250,-193},{-218,-258,-258,-208,-215,-278},{-260,-247,-232,-265,-250,-189},{-163,-247,-276,-197,-232,-230}},{{-247,-239,-250,-256,-230,-258},{-210,-228,-247,-197,-250,-265},{-226,-152,-165,-206,-167,-230},{-213,-176,-280,-280,-232,-165},{-210,-152,-167,-282,-213,-250},{-278,-161,-260,-191,-241,-213},{-278,-165,-282,-202,-245,-167},{-234,-204,-228,-195,-202,-245},{-226,-193,-163,-263,-158,-219},{-254,-280,-219,-178,-174,-154},{-243,-193,-189,-154,-243,-176},{-176,-228,-208,-191,-197,-226},{-171,-247,-219,-176,-158,-161},{-245,-182,-217,-273,-163,-171},{-193,-234,-245,-276,-208,-228},{-256,-193,-265,-219,-226,-241},{-161,-230,-191,-239,-243,-161},{-228,-241,-213,-256,-276,-239},{-282,-213,-256,-197,-189,-256},{-247,-228,-221,-260,-219,-200}},{{-267,-237,-278,-297,-280,-186},{-263,-284,-237,-163,-238,-235},{-199,-179,-237,-260,-189,-209},{-206,-206,-289,-228,-270,-254},{-219,-258,-222,-246,-256,-306},{-221,-222,-222,-200,-201,-249},{-239,-226,-269,-283,-182,-270},{-285,-220,-284,-177,-176,-237},{-243,-193,-213,-205,-238,-263},{-197,-228,-184,-212,-176,-249},{-259,-195,-276,-274,-226,-207},{-223,-278,-267,-202,-263,-263},{-210,-164,-213,-193,-194,-212},{-274,-269,-278,-191,-275,-287},{-159,-213,-267,-253,-169,-233},{-175,-278,-222,-214,-266,-169},{-190,-195,-164,-212,-268,-249},{-261,-260,-220,-163,-249,-190},{-276,-181,-184,-182,-199,-233},{-236,-193,-262,-299,-240,-212}},{{-257,-198,-201,-305,-217,-326},{-169,-302,-218,-255,-189,-228},{-290,-237,-277,-241,-229,-278},{-167,-307,-306,-275,-209,-210},{-236,-196,-304,-270,-302,-192},{-195,-223,-287,-213,-310,-187},{-212,-252,-194,-184,-224,-311},{-186,-189,-279,-293,-262,-273},{-286,-201,-230,-236,-242,-192},{-248,-223,-172,-258,-204,-276},{-176,-261,-294,-310,-192,-213},{-176,-286,-265,-275,-255,-207},{-231,-201,-216,-305,-310,-304},{-269,-312,-279,-268,-184,-200},{-186,-218,-265,-303,-217,-185},{-209,-247,-267,-308,-194,-228},{-209,-227,-274,-315,-287,-210},{-278,-257,-194,-288,-307,-225},{-295,-186,-306,-298,-229,-316},{-217,-298,-304,-191,-328,-187}},{{-277,-249,-312,-250,-261,-285},{-202,-311,-223,-290,-282,-285},{-311,-308,-293,-309,-309,-325},{-194,-267,-225,-314,-319,-330},{-207,-275,-293,-223,-205,-279},{-311,-192,-335,-332,-338,-239},{-215,-192,-330,-340,-295,-343},{-303,-306,-225,-242,-325,-197},{-295,-186,-278,-295,-274,-301},{-251,-238,-312,-194,-242,-298},{-181,-282,-262,-309,-290,-258},{-246,-246,-241,-207,-303,-255},{-282,-319,-307,-301,-223,-213},{-293,-194,-191,-218,-293,-215},{-236,-238,-262,-258,-319,-242},{-238,-280,-246,-269,-295,-317},{-264,-262,-328,-346,-279,-340},{-225,-243,-280,-226,-303,-247},{-311,-295,-335,-346,-332,-239},{-233,-238,-322,-210,-343,-247}}},{{{-328,-316,-364,-253,-316,-258},{-310,-280,-244,-346,-352,-308},{-349,-265,-244,-379,-319,-207},{-298,-265,-286,-262,-334,-234},{-385,-334,-214,-313,-352,-231},{-223,-280,-298,-358,-265,-207},{-316,-322,-301,-379,-319,-269},{-283,-229,-265,-349,-307,-210},{-211,-244,-391,-214,-271,-207},{-331,-370,-259,-211,-280,-207},{-373,-262,-229,-283,-313,-370},{-364,-328,-331,-274,-343,-367},{-349,-310,-280,-283,-373,-228},{-286,-226,-259,-247,-283,-352},{-325,-262,-340,-280,-256,-249},{-379,-262,-352,-313,-259,-355},{-274,-241,-388,-355,-373,-370},{-364,-376,-283,-361,-211,-272},{-358,-316,-355,-325,-367,-305},{-280,-274,-211,-280,-307,-281}},{{-243,-347,-249,-355,-281,-257},{-249,-244,-350,-289,-212,-203},{-331,-253,-300,-344,-207,-293},{-246,-298,-325,-322,-252,-203},{-220,-350,-224,-300,-220,-188},{-322,-290,-300,-339,-212,-298},{-281,-238,-196,-191,-339,-195},{-249,-261,-249,-295,-249,-308},{-314,-319,-272,-238,-315,-324},{-363,-353,-291,-254,-281,-224},{-360,-364,-274,-224,-334,-195},{-360,-278,-244,-194,-212,-311},{-287,-247,-227,-284,-307,-321},{-267,-364,-353,-268,-236,-200},{-229,-301,-263,-205,-321,-334},{-272,-330,-288,-311,-299,-185},{-290,-250,-221,-235,-342,-272},{-355,-218,-288,-303,-186,-290},{-322,-298,-358,-197,-289,-262},{-331,-336,-314,-197,-238,-198}},{{-231,-271,-298,-272,-257,-180},{-315,-286,-211,-172,-157,-216},{-216,-305,-188,-219,-155,-263},{-288,-216,-293,-270,-276,-208},{-176,-252,-240,-267,-167,-168},{-213,-312,-252,-245,-157,-156},{-181,-286,-273,-256,-214,-156},{-213,-173,-252,-199,-276,-234},{-253,-254,-227,-252,-220,-210},{-300,-204,-222,-232,-170,-248},{-308,-178,-160,-168,-180,-164},{-275,-257,-273,-272,-210,-246},{-305,-178,-190,-287,-208,-246},{-188,-190,-190,-225,-233,-204},{-273,-295,-268,-254,-276,-232},{-213,-300,-245,-250,-178,-230},{-198,-298,-234,-186,-248,-255},{-258,-240,-261,-250,-191,-216},{-308,-204,-172,-252,-180,-210},{-201,-182,-172,-194,-163,-202}},{{-178,-201,-224,-162,-171,-200},{-227,-203,-162,-163,-164,-164},{-196,-166,-205,-206,-139,-182},{-250,-195,-221,-181,-128,-166},{-151,-212,-166,-184,-209,-150},{-239,-232,-185,-160,-136,-155},{-136,-193,-139,-200,-143,-204},{-138,-158,-182,-184,-171,-134},{-173,-212,-205,-193,-153,-142},{-136,-231,-212,-213,-134,-114},{-221,-151,-126,-153,-214,-130},{-165,-223,-215,-127,-163,-118},{-167,-208,-132,-158,-126,-140},{-196,-229,-215,-187,-164,-151},{-167,-160,-194,-220,-181,-180},{-138,-208,-201,-155,-174,-140},{-239,-138,-167,-206,-141,-166},{-157,-238,-190,-175,-153,-193},{-155,-180,-166,-143,-191,-148},{-146,-188,-128,-212,-139,-137}},{{-137,-131,-145,-116,-172,-149},{-178,-177,-200,-136,-151,-123},{-175,-143,-123,-149,-176,-154},{-111,-120,-132,-132,-126,-200},{-145,-122,-125,-157,-112,-111},{-159,-132,-163,-180,-126,-168},{-112,-169,-163,-148,-196,-129},{-189,-109,-157,-199,-112,-172},{-164,-146,-159,-140,-186,-139},{-165,-176,-140,-154,-120,-183},{-178,-159,-116,-112,-149,-109},{-200,-179,-156,-182,-169,-196},{-178,-132,-122,-117,-136,-117},{-183,-162,-109,-188,-148,-200},{-115,-140,-131,-185,-174,-165},{-175,-111,-168,-134,-145,-156},{-165,-143,-177,-151,-143,-139},{-140,-186,-128,-145,-128,-132},{-178,-196,-176,-176,-149,-182},{-131,-114,-126,-132,-165,-188}},{{-159,-130,-113,-175,-193,-179},{-154,-146,-175,-121,-126,-194},{-131,-180,-199,-192,-178,-145},{-156,-124,-180,-200,-189,-139},{-185,-149,-201,-123,-191,-130},{-177,-157,-122,-123,-206,-152},{-140,-157,-181,-178,-180,-214},{-191,-149,-157,-168,-140,-232},{-108,-114,-157,-186,-182,-143},{-179,-119,-199,-126,-178,-212},{-146,-197,-125,-200,-186,-165},{-116,-204,-160,-119,-194,-219},{-188,-157,-178,-139,-228,-230},{-188,-207,-211,-218,-177,-197},{-119,-189,-175,-205,-182,-139},{-162,-172,-159,-173,-224,-197},{-140,-134,-188,-197,-128,-190},{-112,-173,-173,-124,-130,-219},{-165,-154,-196,-121,-145,-201},{-194,-126,-139,-183,-144,-228}},{{-228,-156,-210,-215,-252,-173},{-226,-257,-159,-226,-214,-302},{-141,-224,-185,-217,-261,-208},{-218,-210,-239,-234,-279,-206},{-224,-208,-208,-239,-248,-173},{-177,-249,-202,-258,-180,-211},{-160,-216,-258,-176,-209,-234},{-186,-188,-161,-187,-286,-243},{-232,-178,-255,-185,-223,-236},{-205,-176,-208,-245,-200,-248},{-247,-240,-210,-189,-243,-168},{-148,-139,-220,-280,-270,-199},{-238,-184,-171,-221,-196,-278},{-200,-139,-237,-196,-250,-194},{-144,-236,-247,-172,-162,-166},{-139,-242,-144,-241,-223,-269},{-241,-192,-192,-202,-232,-271},{-226,-147,-262,-189,-198,-187},{-247,-178,-222,-211,-223,-229},{-239,-164,-233,-200,-158,-267}},{{-270,-181,-274,-242,-293,-294},{-192,-202,-219,-344,-298,-320},{-197,-192,-198,-277,-232,-238},{-216,-302,-256,-274,-193,-311},{-294,-297,-274,-191,-257,-297},{-221,-290,-326,-293,-351,-357},{-211,-272,-313,-218,-317,-357},{-275,-325,-331,-266,-339,-272},{-243,-318,-196,-317,-334,-207},{-258,-272,-224,-299,-351,-320},{-216,-234,-271,-204,-229,-232},{-177,-234,-324,-242,-293,-212},{-304,-212,-206,-253,-224,-255},{-182,-275,-222,-239,-284,-255},{-262,-186,-271,-247,-328,-224},{-292,-202,-196,-288,-224,-359},{-233,-186,-222,-226,-251,-289},{-250,-207,-334,-304,-306,-260},{-180,-252,-258,-237,-218,-243},{-304,-197,-261,-234,-210,-294}},{{-306,-326,-353,-313,-229,-253},{-266,-359,-353,-340,-244,-367},{-208,-326,-383,-370,-364,-253},{-315,-379,-341,-370,-280,-271},{-347,-223,-353,-235,-262,-211},{-332,-300,-356,-250,-352,-376},{-370,-320,-224,-268,-310,-382},{-220,-303,-221,-241,-340,-217},{-315,-265,-362,-217,-325,-271},{-373,-265,-254,-220,-214,-238},{-234,-285,-383,-295,-373,-379},{-289,-276,-371,-220,-376,-211},{-214,-285,-269,-226,-379,-364},{-329,-353,-257,-295,-352,-349},{-254,-320,-347,-367,-340,-349},{-292,-232,-212,-376,-361,-307},{-260,-259,-251,-217,-304,-328},{-225,-253,-368,-385,-337,-307},{-358,-370,-224,-259,-298,-265},{-364,-285,-317,-238,-295,-238}}},{{{-350,-270,-374,-340,-318,-262},{-329,-245,-336,-438,-346,-340},{-395,-441,-326,-318,-308,-360},{-371,-252,-452,-256,-357,-290},{-326,-392,-312,-280,-340,-441},{-301,-410,-448,-434,-326,-455},{-420,-245,-420,-371,-452,-416},{-382,-256,-413,-420,-245,-336},{-371,-252,-385,-336,-259,-413},{-371,-318,-378,-438,-284,-364},{-402,-340,-270,-438,-276,-413},{-343,-385,-270,-308,-406,-308},{-368,-298,-312,-273,-455,-427},{-273,-315,-273,-336,-385,-406},{-448,-389,-448,-280,-434,-360},{-360,-395,-455,-410,-266,-273},{-424,-340,-336,-304,-276,-332},{-448,-340,-371,-413,-336,-399},{-322,-434,-441,-455,-368,-452},{-287,-382,-354,-322,-427,-424}},{{-362,-412,-441,-354,-380,-374},{-435,-418,-403,-257,-400,-299},{-317,-370,-342,-344,-230,-274},{-449,-381,-393,-414,-246,-332},{-404,-295,-353,-394,-298,-229},{-432,-388,-339,-324,-338,-316},{-331,-353,-400,-277,-367,-316},{-369,-412,-370,-237,-335,-225},{-306,-357,-329,-264,-325,-293},{-271,-353,-281,-291,-397,-396},{-251,-305,-417,-284,-344,-261},{-432,-353,-370,-271,-351,-264},{-411,-254,-441,-391,-295,-258},{-383,-364,-237,-367,-259,-267},{-282,-367,-295,-428,-417,-267},{-338,-295,-268,-321,-417,-354},{-379,-257,-342,-244,-282,-229},{-411,-442,-393,-354,-407,-328},{-372,-288,-417,-311,-390,-287},{-278,-312,-417,-434,-236,-370}},{{-384,-249,-264,-366,-276,-206},{-306,-243,-381,-264,-368,-314},{-312,-326,-357,-319,-214,-328},{-227,-216,-234,-375,-325,-306},{-290,-330,-273,-352,-271,-322},{-365,-271,-369,-296,-308,-356},{-353,-320,-333,-290,-333,-253},{-236,-259,-249,-352,-291,-253},{-324,-314,-213,-340,-222,-225},{-258,-293,-276,-363,-291,-220},{-394,-259,-318,-357,-217,-208},{-394,-351,-246,-208,-325,-195},{-387,-385,-276,-229,-333,-247},{-249,-259,-279,-211,-328,-314},{-397,-330,-324,-369,-234,-284},{-296,-237,-330,-243,-200,-350},{-321,-367,-318,-255,-351,-320},{-290,-274,-222,-296,-248,-253},{-280,-286,-357,-319,-237,-292},{-258,-400,-330,-305,-265,-303}},{{-313,-231,-239,-294,-216,-215},{-240,-245,-270,-276,-208,-253},{-338,-226,-306,-248,-299,-194},{-294,-300,-239,-206,-196,-292},{-351,-213,-324,-274,-267,-275},{-262,-229,-280,-178,-208,-244},{-192,-316,-193,-223,-289,-182},{-292,-224,-319,-231,-306,-201},{-197,-247,-326,-261,-279,-220},{-302,-281,-231,-246,-206,-182},{-289,-187,-218,-188,-176,-184},{-313,-245,-216,-321,-252,-289},{-300,-310,-221,-276,-184,-275},{-213,-205,-298,-266,-314,-237},{-340,-323,-326,-241,-292,-208},{-327,-284,-303,-311,-274,-201},{-254,-195,-324,-289,-233,-201},{-192,-234,-301,-238,-255,-208},{-302,-334,-193,-261,-296,-249},{-275,-326,-308,-326,-247,-304}},{{-294,-286,-243,-192,-231,-203},{-296,-196,-240,-240,-286,-213},{-171,-270,-252,-300,-173,-192},{-168,-273,-270,-182,-259,-229},{-265,-219,-166,-296,-263,-268},{-258,-284,-284,-256,-162,-206},{-187,-268,-284,-217,-206,-263},{-244,-289,-166,-229,-180,-219},{-211,-286,-169,-238,-266,-282},{-197,-224,-164,-185,-298,-236},{-213,-196,-187,-187,-182,-166},{-273,-231,-203,-194,-187,-280},{-268,-162,-229,-199,-252,-196},{-223,-231,-252,-268,-286,-247},{-277,-173,-252,-273,-240,-291},{-239,-252,-243,-273,-226,-192},{-280,-192,-270,-176,-196,-166},{-185,-182,-222,-226,-192,-229},{-168,-189,-196,-169,-182,-222},{-273,-286,-199,-254,-273,-291}},{{-296,-298,-282,-259,-225,-308},{-219,-164,-165,-288,-179,-285},{-247,-298,-193,-233,-206,-229},{-280,-208,-233,-307,-186,-305},{-254,-229,-301,-205,-186,-231},{-298,-189,-301,-190,-257,-276},{-231,-194,-212,-283,-288,-278},{-217,-238,-259,-278,-230,-256},{-189,-164,-266,-267,-281,-258},{-249,-243,-191,-269,-177,-180},{-266,-298,-182,-226,-257,-234},{-206,-296,-170,-288,-283,-295},{-270,-270,-294,-262,-247,-219},{-210,-247,-289,-238,-281,-219},{-215,-259,-175,-281,-201,-241},{-217,-192,-263,-276,-261,-187},{-289,-169,-301,-269,-189,-224},{-231,-229,-193,-250,-310,-177},{-173,-224,-280,-221,-211,-209},{-194,-249,-172,-281,-254,-315}},{{-262,-246,-247,-207,-202,-314},{-312,-246,-239,-328,-273,-285},{-295,-313,-335,-205,-270,-225},{-214,-262,-266,-248,-222,-204},{-184,-334,-247,-349,-360,-248},{-272,-207,-258,-284,-233,-369},{-297,-272,-255,-210,-244,-366},{-197,-303,-197,-199,-326,-348},{-194,-277,-192,-194,-236,-369},{-255,-225,-335,-216,-348,-253},{-222,-280,-287,-207,-362,-242},{-234,-329,-295,-311,-250,-320},{-320,-264,-242,-213,-278,-274},{-249,-282,-279,-213,-259,-265},{-197,-186,-306,-213,-323,-311},{-234,-194,-338,-308,-340,-302},{-297,-272,-338,-317,-242,-262},{-295,-272,-335,-319,-253,-219},{-252,-334,-319,-355,-205,-213},{-192,-246,-327,-257,-250,-274}},{{-323,-385,-267,-380,-399,-383},{-302,-324,-360,-260,-324,-271},{-349,-221,-260,-292,-275,-419},{-343,-221,-282,-228,-243,-280},{-326,-358,-270,-396,-253,-353},{-275,-285,-366,-304,-334,-297},{-249,-273,-391,-387,-237,-343},{-281,-382,-304,-384,-360,-257},{-358,-330,-356,-298,-227,-300},{-337,-364,-264,-314,-408,-290},{-385,-361,-394,-374,-311,-304},{-293,-230,-403,-320,-327,-267},{-266,-361,-403,-222,-350,-409},{-222,-385,-294,-406,-292,-251},{-252,-361,-279,-304,-418,-399},{-349,-291,-378,-311,-389,-317},{-231,-376,-267,-241,-272,-300},{-252,-339,-344,-336,-411,-310},{-314,-309,-236,-250,-253,-353},{-255,-327,-341,-273,-243,-234}},{{-326,-348,-389,-395,-290,-434},{-245,-317,-258,-262,-290,-399},{-363,-392,-289,-395,-280,-402},{-407,-426,-372,-438,-326,-245},{-336,-246,-323,-434,-427,-416},{-265,-348,-396,-340,-374,-252},{-346,-276,-244,-444,-259,-280},{-400,-307,-334,-315,-430,-298},{-363,-293,-375,-329,-444,-434},{-376,-433,-420,-248,-452,-416},{-407,-351,-351,-287,-340,-256},{-326,-375,-378,-402,-382,-308},{-353,-348,-244,-420,-266,-322},{-296,-341,-392,-262,-343,-368},{-282,-358,-296,-270,-406,-438},{-245,-436,-409,-290,-284,-357},{-339,-392,-382,-448,-262,-395},{-349,-423,-292,-452,-346,-427},{-376,-436,-320,-329,-273,-354},{-430,-358,-416,-385,-245,-357}}}}; // supply (positive for supply and negative for demand) under different scenarios 
int iniv[I]={1052,192,238,253,176,234,280,264,252}; // initial inventory 
int ubiv[I]={2104,384,476,507,352,468,350,495,504}; // the upper bounds of inventory 
int len[I1][I2]={{5,3,2,2,1,1,2,3}}; // the traveling time between two sites 
// cost parameters: 
double c1[I]={0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0}; // inventory holding cost 
double c2[I]={0.05,13.35,8.59,5.57,4.52,2.83,1.94,4.81,7.57}; // cost of leftover and unmet 
double c3[BN]={0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0}; // transportation cost for capacity contracts 
double c4[I1][I2]={{12.14,7.81,5.06,4.11,2.57,1.76,4.37,6.88}}; // cost of spot market 
// bid parameters: 
int RLBN[I1][I2]={{9,9,9,9,9,9,9,9}}; // number of bids on each arc 
int LBset[I1][I2][LBN]={{{0,1,2,3,4,5,6,7,8},{9,10,11,12,13,14,15,16,17},{18,19,20,21,22,23,24,25,26},{27,28,29,30,31,32,33,34,35},{36,37,38,39,40,41,42,43,44},{45,46,47,48,49,50,51,52,53},{54,55,56,57,58,59,60,61,62},{63,64,65,66,67,68,69,70,71}}}; // set of bids on each arc 
double frt[BN]={9.71,9.71,9.71,8.5,8.5,8.5,7.28,7.28,7.28,6.25,6.25,6.25,5.47,5.47,5.47,4.69,4.69,4.69,4.05,4.05,4.05,3.54,3.54,3.54,3.04,3.04,3.04,3.29,3.29,3.29,2.88,2.88,2.88,2.47,2.47,2.47,2.06,2.06,2.06,1.8,1.8,1.8,1.54,1.54,1.54,1.41,1.41,1.41,1.23,1.23,1.23,1.06,1.06,1.06,3.5,3.5,3.5,3.06,3.06,3.06,2.62,2.62,2.62,5.5,5.5,5.5,4.82,4.82,4.82,4.13,4.13,4.13}; // freight rate of each bid 
int lbcap[BN]={75,75,75,1,151,151,151,226,226,75,75,75,301,151,151,151,226,226,75,75,75,301,151,151,151,226,226,75,75,75,301,151,151,151,226,226,75,75,75,301,151,151,151,226,226,75,75,75,301,151,151,151,226,226,75,75,75,301,151,151,151,226,226,75,75,75,301,151,151,151,226,226}; // capacity lower bound of each bid 
int ubcap[BN]={150,150,150,225,225,225,300,300,300,150,150,150,225,225,225,300,300,300,150,150,150,225,225,225,300,300,300,150,150,150,225,225,225,300,300,300,150,150,150,225,225,225,300,300,300,150,150,150,225,225,225,300,300,300,150,150,150,225,225,225,300,300,300,150,150,150,225,225,225,300,300,300}; // capacity upper bound of each bid 
// shipment parameters: 
int SHN[BN]={24,12,8,25,12,9,25,12,9,25,13,9,25,13,9,26,13,9,25,13,9,26,13,9,25,13,9,25,13,9,25,13,9,26,13,9,27,13,9,26,14,9,26,13,9,27,13,9,27,13,9,26,13,9,25,13,9,26,13,9,25,13,9,25,13,9,25,13,9,26,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]={1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,1,5,9,13,17,21,25,29,33,37,41,45,1,7,13,19,25,31,37,43,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,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,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,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,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,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,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,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,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,1,5,9,13,17,21,25,29,33,37,41,45,49,0,6,12,18,24,30,36,42,48,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,2,6,10,14,18,22,26,30,34,38,42,46,50,1,7,13,19,25,31,37,43,49,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,1,7,13,19,25,31,37,43,49,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,0,4,8,12,16,20,24,28,32,36,40,44,48,52,0,6,12,18,24,30,36,42,48,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,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,2,6,10,14,18,22,26,30,34,38,42,46,50,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,2,6,10,14,18,22,26,30,34,38,42,46,50,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,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,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,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,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,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,2,6,10,14,18,22,26,30,34,38,42,46,50,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,6,10,14,18,22,26,30,34,38,42,46,50,6,12,18,24,30,36,42,48,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,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,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,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,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,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,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,4,8,12,16,20,24,28,32,36,40,44,48,52,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,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,3,7,11,15,19,23,27,31,35,39,43,47,51,2,8,14,20,26,32,38,44,50,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,4,8,12,16,20,24,28,32,36,40,44,48,52,3,9,15,21,27,33,39,45,51,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,2,8,14,20,26,32,38,44,50,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,1,5,9,13,17,21,25,29,33,37,41,45,49,53,1,7,13,19,25,31,37,43,49,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,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,3,7,11,15,19,23,27,31,35,39,43,47,51,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,3,7,11,15,19,23,27,31,35,39,43,47,51,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,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,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,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,3,7,11,15,19,23,27,31,35,39,43,47,51,5,11,17,23,29,35,41,47,53,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,3,7,11,15,19,23,27,31,35,39,43,47,51,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,5,9,13,17,21,25,29,33,37,41,45,49,53,3,9,15,21,27,33,39,45,51}; // set of end times of each shipment 
