int Dev = 30;// Deviation
extern const int CNN = 3;// Case Index
extern const int P = 6;// Number of phases
extern const int PT = 6;// Number of periods in a phase
extern const int T = 36;// 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 = 744;//Number of shipments
extern const int SN = 20;//Number of scenarios at each stage
extern const int MBSN = 18;//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}}; // the probability of each scenario at each phase 
// timing parameters: 
int PTN[P]={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}}; // set of periods in each phase 
// distribution parameters: 
int sup[I][P][SN][PT]={{{{12677,0,0,0,0,0},{12634,0,0,0,0,0},{12971,0,0,0,0,0},{12364,0,0,0,0,0},{12536,0,0,0,0,0},{12247,0,0,0,0,0},{12688,0,0,0,0,0},{12184,0,0,0,0,0},{12437,0,0,0,0,0},{12008,0,0,0,0,0},{12429,0,0,0,0,0},{11942,0,0,0,0,0},{12797,0,0,0,0,0},{12040,0,0,0,0,0},{12136,0,0,0,0,0},{13009,0,0,0,0,0},{12354,0,0,0,0,0},{12325,0,0,0,0,0},{11846,0,0,0,0,0},{12701,0,0,0,0,0}},{{12724,0,0,0,0,0},{12870,0,0,0,0,0},{12531,0,0,0,0,0},{12196,0,0,0,0,0},{12580,0,0,0,0,0},{12456,0,0,0,0,0},{12514,0,0,0,0,0},{12283,0,0,0,0,0},{12129,0,0,0,0,0},{12327,0,0,0,0,0},{12783,0,0,0,0,0},{12888,0,0,0,0,0},{12190,0,0,0,0,0},{12074,0,0,0,0,0},{12504,0,0,0,0,0},{11830,0,0,0,0,0},{12375,0,0,0,0,0},{12033,0,0,0,0,0},{12592,0,0,0,0,0},{12370,0,0,0,0,0}},{{11431,0,0,0,0,0},{11003,0,0,0,0,0},{11449,0,0,0,0,0},{11138,0,0,0,0,0},{11529,0,0,0,0,0},{11948,0,0,0,0,0},{11756,0,0,0,0,0},{11088,0,0,0,0,0},{11671,0,0,0,0,0},{11386,0,0,0,0,0},{11669,0,0,0,0,0},{11442,0,0,0,0,0},{11155,0,0,0,0,0},{11254,0,0,0,0,0},{11136,0,0,0,0,0},{11510,0,0,0,0,0},{11675,0,0,0,0,0},{12109,0,0,0,0,0},{11820,0,0,0,0,0},{11822,0,0,0,0,0}},{{10240,0,0,0,0,0},{10756,0,0,0,0,0},{10171,0,0,0,0,0},{9856,0,0,0,0,0},{9900,0,0,0,0,0},{10088,0,0,0,0,0},{10364,0,0,0,0,0},{10742,0,0,0,0,0},{10462,0,0,0,0,0},{10390,0,0,0,0,0},{10388,0,0,0,0,0},{10647,0,0,0,0,0},{9946,0,0,0,0,0},{10242,0,0,0,0,0},{10166,0,0,0,0,0},{10547,0,0,0,0,0},{10308,0,0,0,0,0},{10037,0,0,0,0,0},{10343,0,0,0,0,0},{10313,0,0,0,0,0}},{{9375,0,0,0,0,0},{9356,0,0,0,0,0},{9808,0,0,0,0,0},{9524,0,0,0,0,0},{9472,0,0,0,0,0},{9413,0,0,0,0,0},{9263,0,0,0,0,0},{9677,0,0,0,0,0},{9526,0,0,0,0,0},{8985,0,0,0,0,0},{9257,0,0,0,0,0},{9464,0,0,0,0,0},{9783,0,0,0,0,0},{9189,0,0,0,0,0},{9653,0,0,0,0,0},{9530,0,0,0,0,0},{9191,0,0,0,0,0},{9819,0,0,0,0,0},{8919,0,0,0,0,0},{9040,0,0,0,0,0}},{{8785,0,0,0,0,0},{9054,0,0,0,0,0},{9396,0,0,0,0,0},{9103,0,0,0,0,0},{9343,0,0,0,0,0},{9482,0,0,0,0,0},{9356,0,0,0,0,0},{9621,0,0,0,0,0},{9252,0,0,0,0,0},{9232,0,0,0,0,0},{9172,0,0,0,0,0},{9437,0,0,0,0,0},{9493,0,0,0,0,0},{9336,0,0,0,0,0},{9416,0,0,0,0,0},{9431,0,0,0,0,0},{9567,0,0,0,0,0},{8751,0,0,0,0,0},{9271,0,0,0,0,0},{9469,0,0,0,0,0}}},{{{-309,-382,-297,-370,-309,-282},{-226,-250,-379,-273,-247,-376},{-347,-365,-259,-362,-294,-320},{-247,-332,-297,-215,-259,-279},{-232,-223,-379,-294,-247,-247},{-212,-268,-376,-244,-279,-273},{-288,-329,-265,-206,-376,-238},{-253,-323,-303,-347,-303,-279},{-279,-353,-335,-288,-376,-291},{-344,-215,-259,-332,-256,-206},{-379,-247,-259,-294,-226,-297},{-276,-268,-288,-253,-218,-244},{-285,-288,-306,-376,-326,-338},{-347,-297,-306,-262,-370,-259},{-368,-270,-320,-259,-259,-291},{-338,-288,-285,-268,-332,-356},{-306,-335,-379,-368,-379,-353},{-244,-309,-344,-209,-338,-370},{-282,-288,-244,-247,-338,-244},{-350,-326,-273,-338,-323,-273}},{{-345,-303,-277,-332,-256,-313},{-342,-232,-350,-288,-267,-256},{-313,-272,-258,-315,-307,-287},{-255,-372,-241,-203,-192,-272},{-351,-237,-218,-214,-315,-275},{-336,-306,-364,-326,-216,-264},{-296,-200,-235,-329,-304,-223},{-244,-263,-204,-279,-219,-210},{-258,-272,-316,-315,-203,-212},{-371,-326,-288,-247,-254,-210},{-374,-277,-300,-271,-296,-225},{-293,-355,-358,-241,-190,-228},{-325,-260,-358,-208,-222,-329},{-206,-235,-255,-197,-224,-199},{-284,-240,-291,-269,-315,-334},{-229,-237,-230,-238,-267,-275},{-374,-200,-196,-269,-299,-287},{-331,-372,-319,-290,-190,-220},{-284,-249,-221,-323,-302,-254},{-296,-200,-232,-356,-347,-228}},{{-228,-223,-296,-157,-274,-206},{-265,-179,-259,-190,-193,-181},{-230,-264,-256,-282,-182,-233},{-220,-249,-301,-233,-233,-200},{-290,-244,-165,-186,-197,-179},{-225,-182,-170,-260,-257,-247},{-278,-315,-179,-222,-274,-190},{-178,-218,-235,-195,-240,-235},{-250,-249,-179,-199,-240,-181},{-220,-232,-247,-258,-278,-185},{-305,-232,-254,-195,-214,-262},{-205,-201,-298,-195,-184,-177},{-255,-184,-247,-157,-193,-196},{-272,-254,-196,-237,-171,-179},{-180,-247,-289,-157,-220,-255},{-252,-211,-189,-244,-250,-148},{-182,-196,-219,-276,-212,-187},{-252,-257,-189,-224,-257,-237},{-288,-211,-301,-190,-214,-249},{-325,-266,-266,-197,-163,-146}},{{-203,-241,-200,-163,-201,-203},{-181,-183,-188,-224,-182,-155},{-252,-189,-156,-181,-190,-155},{-175,-193,-174,-148,-158,-152},{-201,-215,-156,-210,-150,-123},{-140,-131,-136,-215,-144,-126},{-197,-232,-209,-141,-175,-200},{-185,-163,-140,-162,-205,-152},{-183,-189,-206,-181,-191,-165},{-164,-234,-190,-206,-208,-157},{-154,-236,-204,-179,-148,-179},{-246,-187,-147,-138,-191,-118},{-142,-153,-127,-141,-132,-186},{-195,-155,-131,-157,-206,-182},{-165,-204,-222,-148,-140,-160},{-193,-144,-136,-153,-155,-198},{-244,-232,-233,-187,-200,-179},{-219,-165,-215,-124,-203,-136},{-158,-193,-149,-213,-145,-149},{-162,-241,-145,-141,-147,-125}},{{-112,-118,-179,-132,-129,-115},{-129,-192,-143,-188,-151,-113},{-196,-107,-116,-126,-157,-143},{-112,-122,-165,-162,-129,-137},{-159,-165,-115,-166,-143,-148},{-145,-158,-140,-179,-129,-168},{-134,-162,-181,-116,-135,-144},{-199,-191,-175,-109,-146,-106},{-192,-179,-121,-173,-165,-135},{-143,-170,-162,-173,-107,-103},{-192,-179,-163,-181,-171,-104},{-172,-149,-156,-129,-128,-178},{-157,-177,-112,-159,-160,-191},{-109,-140,-106,-122,-110,-154},{-166,-145,-190,-148,-160,-171},{-165,-148,-148,-182,-165,-150},{-192,-152,-125,-126,-176,-150},{-137,-192,-168,-150,-185,-131},{-108,-133,-109,-115,-109,-175},{-152,-158,-125,-116,-188,-146}},{{-107,-172,-133,-112,-163,-132},{-138,-104,-121,-186,-137,-144},{-169,-113,-130,-162,-166,-185},{-112,-126,-125,-171,-158,-147},{-121,-163,-174,-123,-158,-205},{-179,-116,-143,-168,-140,-189},{-140,-182,-184,-157,-164,-204},{-131,-144,-119,-165,-166,-179},{-184,-143,-160,-172,-150,-127},{-156,-148,-153,-192,-192,-169},{-148,-126,-175,-134,-124,-127},{-146,-159,-143,-154,-177,-172},{-144,-112,-151,-183,-185,-162},{-146,-132,-124,-154,-164,-165},{-181,-190,-174,-109,-126,-184},{-176,-129,-121,-156,-209,-207},{-118,-104,-178,-132,-180,-150},{-103,-141,-151,-142,-114,-200},{-163,-185,-131,-152,-161,-140},{-160,-119,-156,-156,-195,-124}}},{{{-181,-166,-182,-140,-160,-231},{-190,-128,-208,-227,-228,-212},{-180,-208,-126,-177,-191,-187},{-175,-220,-126,-127,-228,-212},{-195,-196,-184,-181,-167,-243},{-146,-145,-210,-168,-212,-227},{-171,-123,-206,-183,-160,-170},{-193,-132,-196,-147,-186,-212},{-165,-196,-201,-149,-223,-180},{-181,-211,-172,-215,-162,-197},{-190,-186,-208,-193,-129,-176},{-123,-122,-147,-202,-190,-136},{-212,-150,-122,-156,-210,-212},{-118,-127,-156,-140,-193,-237},{-180,-171,-175,-183,-177,-202},{-205,-210,-172,-193,-186,-214},{-136,-188,-172,-138,-175,-149},{-192,-186,-177,-229,-186,-159},{-146,-150,-168,-134,-145,-218},{-180,-208,-152,-213,-144,-204}},{{-257,-254,-213,-199,-188,-240},{-143,-228,-196,-274,-261,-278},{-178,-226,-230,-208,-234,-236},{-145,-189,-256,-223,-240,-205},{-202,-144,-277,-199,-236,-264},{-202,-148,-256,-188,-229,-219},{-244,-172,-236,-245,-268,-219},{-174,-193,-271,-274,-176,-295},{-234,-262,-175,-177,-160,-295},{-190,-244,-222,-248,-160,-276},{-170,-191,-232,-261,-185,-259},{-178,-223,-253,-170,-185,-305},{-166,-195,-183,-192,-167,-236},{-242,-166,-241,-183,-227,-178},{-255,-172,-179,-272,-167,-236},{-162,-158,-251,-157,-197,-259},{-248,-211,-275,-248,-220,-231},{-218,-150,-153,-157,-250,-188},{-170,-211,-256,-250,-266,-231},{-214,-254,-198,-179,-188,-278}},{{-316,-237,-238,-270,-357,-297},{-269,-222,-196,-235,-302,-246},{-314,-204,-296,-213,-283,-258},{-178,-242,-189,-281,-227,-269},{-225,-189,-196,-238,-313,-325},{-264,-273,-338,-197,-324,-229},{-175,-314,-328,-238,-341,-266},{-274,-278,-244,-270,-352,-263},{-245,-209,-328,-297,-197,-325},{-212,-240,-301,-300,-327,-283},{-242,-212,-217,-270,-249,-317},{-240,-314,-257,-289,-208,-275},{-222,-201,-291,-300,-296,-198},{-257,-270,-207,-351,-321,-269},{-175,-207,-241,-205,-258,-314},{-316,-283,-204,-221,-208,-289},{-190,-219,-220,-219,-227,-308},{-274,-194,-236,-319,-269,-260},{-178,-242,-265,-194,-197,-359},{-287,-332,-223,-340,-319,-272}},{{-275,-294,-358,-328,-349,-376},{-318,-370,-316,-244,-385,-340},{-243,-338,-235,-253,-226,-376},{-246,-376,-226,-367,-283,-325},{-220,-206,-232,-313,-211,-331},{-237,-300,-387,-247,-232,-232},{-269,-315,-218,-367,-313,-349},{-257,-288,-232,-253,-283,-289},{-217,-356,-244,-319,-229,-331},{-228,-276,-316,-361,-262,-253},{-220,-379,-322,-358,-343,-247},{-321,-235,-209,-376,-235,-253},{-353,-294,-238,-232,-253,-382},{-277,-303,-310,-334,-316,-217},{-240,-368,-292,-346,-298,-280},{-240,-300,-226,-361,-304,-253},{-257,-215,-334,-241,-346,-268},{-249,-309,-212,-361,-313,-274},{-306,-209,-262,-226,-388,-391},{-298,-312,-244,-373,-343,-316}},{{-382,-247,-304,-219,-288,-212},{-214,-214,-229,-309,-326,-299},{-217,-379,-250,-309,-350,-212},{-247,-391,-259,-237,-341,-293},{-361,-211,-292,-351,-276,-348},{-235,-220,-322,-333,-220,-302},{-286,-337,-301,-351,-285,-334},{-349,-343,-313,-273,-270,-212},{-337,-325,-313,-321,-320,-290},{-376,-337,-235,-273,-244,-203},{-355,-346,-253,-225,-229,-215},{-223,-316,-289,-339,-318,-261},{-229,-325,-316,-309,-335,-316},{-211,-334,-388,-258,-241,-290},{-250,-292,-217,-246,-323,-374},{-289,-343,-376,-279,-359,-267},{-334,-250,-229,-312,-300,-238},{-295,-355,-223,-285,-309,-206},{-364,-247,-253,-288,-235,-238},{-271,-232,-274,-384,-220,-278}},{{-296,-315,-247,-224,-276,-255},{-276,-254,-263,-211,-223,-312},{-308,-346,-209,-325,-294,-315},{-316,-246,-352,-251,-251,-308},{-322,-240,-238,-330,-274,-233},{-345,-324,-190,-285,-220,-246},{-353,-246,-290,-285,-294,-231},{-251,-310,-255,-301,-320,-298},{-276,-273,-314,-193,-212,-315},{-200,-357,-341,-195,-256,-203},{-262,-268,-301,-232,-184,-253},{-291,-237,-328,-216,-236,-300},{-316,-265,-304,-251,-274,-223},{-305,-251,-230,-240,-205,-188},{-242,-276,-195,-343,-223,-283},{-274,-279,-282,-272,-195,-270},{-368,-218,-344,-232,-248,-191},{-302,-206,-257,-216,-307,-258},{-325,-340,-331,-240,-261,-184},{-294,-201,-352,-259,-238,-290}}},{{{-398,-316,-240,-405,-359,-385},{-349,-247,-385,-243,-237,-247},{-306,-316,-296,-418,-309,-398},{-385,-273,-401,-395,-336,-286},{-322,-372,-332,-345,-382,-359},{-332,-266,-322,-240,-306,-362},{-303,-247,-385,-339,-352,-273},{-257,-428,-352,-237,-303,-253},{-299,-352,-263,-329,-257,-339},{-293,-240,-382,-342,-286,-250},{-336,-283,-283,-322,-303,-378},{-260,-385,-266,-336,-365,-286},{-424,-270,-359,-375,-424,-392},{-273,-260,-276,-336,-336,-309},{-234,-415,-286,-398,-368,-303},{-401,-234,-405,-418,-375,-392},{-398,-388,-263,-283,-362,-359},{-388,-240,-250,-293,-362,-355},{-322,-253,-405,-247,-316,-250},{-260,-306,-263,-329,-382,-263}},{{-230,-409,-239,-283,-265,-358},{-410,-296,-360,-383,-216,-238},{-331,-377,-281,-371,-308,-238},{-403,-225,-338,-301,-262,-346},{-410,-290,-223,-239,-317,-340},{-387,-290,-268,-389,-259,-346},{-302,-370,-402,-279,-231,-214},{-285,-374,-316,-305,-351,-331},{-262,-261,-265,-364,-256,-322},{-236,-229,-290,-251,-243,-271},{-390,-396,-348,-317,-354,-361},{-315,-390,-325,-320,-370,-358},{-233,-357,-274,-276,-382,-331},{-400,-374,-396,-361,-256,-268},{-380,-374,-316,-239,-330,-316},{-266,-229,-364,-232,-357,-343},{-230,-370,-373,-264,-271,-256},{-269,-248,-415,-276,-253,-244},{-298,-348,-402,-283,-351,-340},{-315,-406,-274,-283,-336,-331}},{{-239,-265,-213,-212,-278,-324},{-351,-285,-308,-272,-329,-198},{-384,-328,-286,-296,-299,-308},{-330,-274,-241,-226,-231,-316},{-333,-337,-246,-305,-278,-270},{-336,-279,-297,-313,-323,-288},{-313,-374,-347,-335,-204,-208},{-251,-256,-274,-209,-297,-249},{-360,-279,-305,-196,-249,-319},{-298,-334,-230,-283,-337,-185},{-351,-242,-232,-288,-284,-254},{-313,-228,-339,-250,-342,-190},{-286,-225,-230,-242,-244,-324},{-245,-334,-364,-212,-297,-288},{-254,-262,-213,-215,-186,-224},{-360,-334,-218,-324,-196,-314},{-277,-328,-274,-329,-297,-236},{-381,-351,-308,-272,-246,-296},{-372,-314,-361,-294,-236,-332},{-221,-340,-258,-318,-244,-303}},{{-192,-301,-166,-233,-226,-265},{-325,-267,-261,-277,-159,-221},{-200,-187,-254,-166,-211,-160},{-235,-199,-209,-196,-197,-184},{-222,-197,-225,-213,-291,-283},{-255,-238,-292,-263,-186,-241},{-252,-211,-263,-176,-215,-269},{-275,-207,-251,-289,-267,-265},{-175,-177,-199,-182,-287,-285},{-278,-202,-270,-164,-215,-261},{-228,-226,-168,-282,-287,-232},{-250,-236,-180,-298,-228,-171},{-178,-267,-246,-284,-168,-234},{-320,-304,-256,-291,-161,-166},{-222,-204,-292,-180,-282,-158},{-270,-177,-284,-293,-287,-272},{-215,-182,-254,-259,-193,-252},{-315,-187,-194,-162,-255,-153},{-295,-270,-209,-289,-240,-217},{-185,-279,-277,-178,-269,-241}},{{-252,-248,-244,-225,-273,-250},{-189,-172,-183,-200,-193,-233},{-184,-241,-231,-227,-223,-231},{-217,-153,-195,-248,-216,-237},{-191,-248,-210,-195,-212,-189},{-280,-250,-178,-162,-214,-254},{-169,-147,-197,-225,-225,-149},{-280,-220,-149,-223,-250,-250},{-265,-168,-147,-252,-183,-260},{-256,-178,-174,-178,-260,-178},{-184,-244,-216,-168,-220,-187},{-208,-189,-210,-187,-254,-158},{-224,-166,-153,-252,-260,-258},{-224,-269,-227,-187,-202,-187},{-187,-248,-233,-181,-258,-235},{-239,-250,-233,-214,-147,-250},{-178,-158,-204,-220,-210,-252},{-256,-250,-191,-160,-218,-166},{-167,-204,-155,-149,-244,-216},{-154,-235,-214,-151,-227,-149}},{{-162,-191,-215,-176,-218,-182},{-195,-210,-175,-191,-257,-173},{-254,-178,-268,-204,-279,-189},{-267,-244,-167,-171,-198,-232},{-248,-223,-184,-178,-268,-162},{-208,-235,-154,-224,-244,-268},{-174,-231,-150,-241,-286,-202},{-200,-229,-192,-265,-242,-266},{-225,-189,-268,-219,-176,-169},{-229,-191,-179,-254,-231,-198},{-214,-210,-264,-254,-240,-277},{-265,-267,-190,-260,-167,-286},{-195,-246,-211,-221,-266,-254},{-170,-151,-213,-182,-246,-290},{-206,-185,-158,-202,-154,-272},{-220,-191,-222,-269,-200,-234},{-218,-265,-268,-276,-260,-263},{-178,-210,-255,-156,-154,-230},{-239,-185,-236,-226,-187,-230},{-200,-237,-179,-178,-231,-241}}},{{{-78,-113,-121,-118,-127,-99},{-113,-100,-122,-139,-127,-102},{-74,-126,-114,-109,-118,-128},{-108,-82,-137,-82,-129,-160},{-85,-109,-134,-116,-150,-101},{-128,-92,-81,-115,-155,-128},{-82,-75,-92,-149,-155,-97},{-74,-106,-83,-116,-148,-154},{-127,-109,-144,-102,-116,-136},{-78,-94,-88,-124,-113,-157},{-114,-111,-127,-130,-87,-99},{-104,-124,-139,-115,-156,-116},{-120,-126,-113,-96,-127,-134},{-102,-74,-121,-125,-101,-93},{-77,-96,-110,-83,-120,-152},{-81,-95,-127,-97,-100,-125},{-75,-112,-137,-90,-88,-123},{-87,-86,-143,-123,-104,-165},{-80,-88,-112,-83,-126,-133},{-90,-99,-129,-108,-140,-109}},{{-120,-127,-167,-188,-113,-156},{-163,-125,-184,-158,-188,-170},{-124,-179,-157,-153,-179,-166},{-94,-140,-178,-140,-187,-190},{-117,-176,-104,-200,-140,-212},{-155,-180,-170,-161,-204,-161},{-134,-178,-188,-157,-132,-146},{-127,-175,-111,-150,-195,-203},{-105,-165,-179,-194,-203,-146},{-169,-111,-188,-144,-179,-205},{-173,-120,-121,-186,-132,-202},{-122,-154,-185,-144,-159,-143},{-115,-128,-107,-147,-122,-133},{-139,-140,-142,-150,-206,-163},{-96,-114,-175,-195,-134,-155},{-127,-120,-139,-127,-180,-141},{-142,-151,-112,-146,-155,-192},{-166,-125,-108,-147,-196,-124},{-96,-141,-166,-129,-114,-183},{-140,-106,-117,-197,-185,-166}},{{-126,-139,-158,-154,-196,-180},{-161,-167,-208,-184,-216,-154},{-149,-155,-205,-158,-188,-145},{-164,-196,-229,-203,-200,-251},{-131,-166,-138,-154,-255,-248},{-138,-189,-203,-241,-180,-192},{-175,-126,-173,-224,-188,-242},{-159,-142,-175,-247,-220,-246},{-128,-203,-229,-192,-165,-255},{-177,-142,-151,-179,-208,-218},{-193,-173,-208,-200,-216,-154},{-210,-193,-164,-184,-186,-192},{-198,-184,-147,-133,-225,-255},{-184,-173,-192,-179,-192,-232},{-178,-229,-136,-175,-218,-182},{-142,-198,-173,-215,-243,-251},{-217,-162,-188,-184,-194,-230},{-205,-178,-199,-179,-233,-150},{-147,-171,-167,-142,-214,-226},{-147,-167,-210,-137,-182,-174}},{{-240,-142,-173,-189,-160,-197},{-215,-260,-168,-244,-250,-207},{-144,-209,-154,-179,-254,-225},{-250,-179,-225,-179,-144,-179},{-209,-142,-168,-229,-142,-246},{-195,-195,-258,-181,-187,-201},{-248,-252,-244,-171,-229,-150},{-248,-246,-258,-252,-217,-205},{-152,-175,-185,-175,-250,-260},{-189,-195,-179,-201,-258,-207},{-175,-162,-193,-217,-229,-223},{-221,-248,-229,-205,-225,-246},{-205,-160,-162,-168,-201,-166},{-205,-252,-181,-185,-240,-177},{-144,-156,-250,-221,-166,-217},{-246,-160,-156,-229,-246,-248},{-242,-154,-203,-181,-227,-256},{-191,-146,-233,-179,-240,-201},{-242,-211,-205,-229,-248,-166},{-242,-160,-183,-181,-156,-211}},{{-205,-262,-207,-177,-174,-129},{-148,-219,-207,-160,-225,-191},{-203,-191,-207,-244,-187,-188},{-154,-187,-213,-215,-189,-219},{-158,-203,-160,-232,-153,-169},{-233,-258,-203,-176,-200,-237},{-144,-175,-250,-195,-146,-191},{-209,-221,-193,-252,-246,-147},{-213,-144,-225,-197,-170,-166},{-191,-233,-191,-209,-212,-173},{-154,-219,-203,-211,-219,-208},{-142,-215,-144,-191,-206,-237},{-250,-193,-150,-191,-153,-228},{-201,-225,-207,-218,-157,-213},{-235,-191,-254,-199,-170,-166},{-201,-185,-248,-203,-197,-201},{-223,-168,-183,-176,-136,-144},{-152,-250,-252,-236,-221,-204},{-166,-201,-183,-150,-163,-167},{-193,-242,-193,-152,-189,-221}},{{-192,-215,-210,-136,-184,-140},{-233,-159,-155,-117,-125,-156},{-177,-164,-127,-139,-109,-129},{-192,-138,-122,-126,-187,-150},{-136,-140,-179,-194,-187,-106},{-233,-187,-164,-174,-156,-157},{-136,-170,-204,-125,-179,-134},{-195,-159,-145,-154,-147,-118},{-220,-164,-217,-117,-122,-137},{-200,-138,-180,-178,-184,-175},{-159,-135,-140,-144,-165,-126},{-156,-161,-204,-133,-193,-168},{-211,-204,-197,-158,-109,-118},{-186,-154,-204,-125,-182,-157},{-179,-225,-190,-194,-171,-125},{-149,-218,-212,-131,-167,-169},{-170,-201,-189,-182,-187,-157},{-183,-135,-189,-170,-171,-131},{-211,-194,-180,-208,-142,-138},{-125,-209,-207,-208,-124,-187}}},{{{-212,-305,-178,-278,-245,-202},{-182,-243,-276,-293,-307,-231},{-168,-283,-250,-295,-305,-174},{-226,-186,-248,-259,-198,-250},{-240,-183,-238,-219,-293,-252},{-196,-176,-309,-233,-264,-262},{-284,-217,-214,-183,-224,-295},{-268,-298,-262,-231,-252,-257},{-170,-217,-259,-271,-283,-188},{-186,-245,-274,-171,-228,-245},{-212,-300,-202,-193,-309,-298},{-226,-274,-190,-267,-188,-262},{-179,-257,-202,-259,-176,-193},{-303,-276,-183,-283,-181,-190},{-219,-181,-228,-176,-226,-217},{-207,-248,-271,-226,-233,-209},{-231,-219,-250,-224,-252,-295},{-231,-243,-178,-293,-224,-293},{-280,-267,-183,-176,-290,-252},{-303,-250,-240,-290,-255,-195}},{{-226,-278,-242,-256,-188,-248},{-219,-305,-188,-289,-228,-276},{-300,-205,-195,-259,-170,-159},{-174,-207,-214,-233,-203,-190},{-281,-190,-219,-289,-255,-210},{-226,-174,-221,-273,-194,-201},{-228,-309,-258,-275,-190,-245},{-238,-243,-268,-210,-215,-219},{-228,-188,-254,-213,-242,-166},{-264,-212,-280,-298,-231,-210},{-298,-178,-268,-282,-167,-239},{-295,-262,-258,-243,-244,-267},{-243,-302,-242,-169,-212,-208},{-288,-228,-207,-164,-285,-155},{-283,-290,-254,-185,-294,-263},{-267,-269,-282,-164,-289,-239},{-181,-212,-280,-171,-267,-214},{-307,-183,-237,-273,-242,-188},{-243,-231,-214,-219,-192,-250},{-186,-288,-294,-282,-183,-161}},{{-269,-190,-228,-140,-239,-220},{-275,-205,-250,-172,-140,-202},{-245,-263,-192,-181,-223,-184},{-185,-265,-141,-187,-226,-169},{-150,-219,-250,-240,-157,-207},{-252,-215,-234,-168,-230,-137},{-260,-150,-240,-142,-159,-216},{-249,-180,-228,-148,-234,-140},{-172,-180,-190,-195,-221,-220},{-168,-228,-212,-215,-133,-158},{-254,-228,-190,-207,-204,-140},{-230,-268,-182,-236,-202,-155},{-194,-215,-202,-158,-165,-202},{-252,-270,-182,-162,-194,-158},{-262,-253,-196,-201,-241,-135},{-198,-213,-240,-152,-170,-212},{-258,-234,-244,-168,-204,-158},{-280,-232,-200,-193,-133,-227},{-280,-245,-252,-201,-213,-214},{-166,-255,-170,-195,-208,-133}},{{-194,-155,-121,-132,-181,-113},{-158,-206,-122,-108,-147,-168},{-213,-208,-149,-182,-121,-155},{-169,-191,-187,-124,-105,-117},{-169,-117,-122,-142,-156,-178},{-146,-122,-124,-114,-180,-124},{-143,-145,-155,-152,-128,-101},{-160,-196,-163,-110,-150,-172},{-218,-124,-124,-132,-170,-168},{-158,-145,-160,-168,-166,-170},{-218,-144,-148,-117,-147,-124},{-182,-196,-174,-180,-141,-108},{-143,-203,-181,-156,-180,-127},{-189,-188,-179,-190,-177,-144},{-122,-152,-152,-171,-134,-170},{-177,-132,-149,-134,-112,-132},{-201,-167,-116,-148,-151,-120},{-162,-208,-177,-188,-109,-175},{-186,-163,-143,-130,-181,-102},{-194,-165,-151,-123,-164,-157}},{{-134,-103,-95,-104,-105,-83},{-133,-152,-139,-101,-123,-106},{-150,-155,-113,-155,-109,-114},{-117,-158,-126,-146,-106,-140},{-96,-89,-89,-118,-146,-104},{-146,-122,-150,-149,-127,-87},{-126,-88,-118,-123,-143,-127},{-153,-130,-129,-131,-114,-94},{-122,-97,-122,-118,-86,-90},{-122,-103,-97,-145,-115,-107},{-117,-111,-109,-89,-89,-113},{-173,-144,-136,-148,-129,-126},{-172,-164,-98,-134,-106,-134},{-160,-89,-151,-108,-126,-152},{-93,-89,-153,-154,-93,-117},{-157,-106,-139,-127,-88,-95},{-96,-115,-160,-87,-89,-154},{-168,-159,-151,-148,-92,-136},{-93,-163,-99,-102,-98,-104},{-116,-91,-104,-143,-114,-111}},{{-99,-104,-87,-149,-93,-163},{-113,-100,-148,-83,-104,-102},{-149,-105,-144,-152,-105,-127},{-106,-107,-98,-119,-155,-130},{-112,-101,-151,-126,-87,-110},{-155,-130,-126,-95,-134,-129},{-119,-152,-139,-105,-117,-116},{-124,-106,-93,-151,-157,-96},{-142,-133,-152,-155,-102,-137},{-143,-152,-101,-143,-112,-118},{-111,-140,-146,-121,-99,-134},{-92,-112,-144,-150,-151,-122},{-130,-99,-149,-100,-120,-107},{-145,-130,-126,-146,-111,-98},{-126,-154,-108,-129,-140,-100},{-121,-98,-92,-134,-143,-149},{-121,-109,-111,-106,-155,-115},{-92,-120,-124,-89,-148,-158},{-144,-83,-154,-144,-128,-144},{-112,-150,-114,-120,-101,-161}}},{{{-277,-298,-295,-189,-242,-295},{-340,-231,-250,-340,-335,-317},{-258,-322,-205,-290,-340,-325},{-309,-301,-314,-346,-239,-298},{-332,-255,-186,-226,-274,-346},{-213,-282,-274,-269,-202,-293},{-285,-269,-277,-325,-290,-285},{-250,-290,-319,-237,-213,-247},{-221,-192,-223,-282,-298,-250},{-290,-263,-239,-250,-311,-311},{-335,-200,-346,-287,-231,-210},{-332,-335,-202,-205,-223,-242},{-250,-279,-290,-290,-202,-303},{-192,-258,-325,-231,-325,-194},{-298,-247,-218,-346,-287,-317},{-314,-295,-253,-325,-306,-223},{-309,-221,-197,-253,-247,-194},{-325,-207,-221,-343,-319,-309},{-237,-210,-298,-271,-293,-293},{-207,-340,-192,-327,-298,-237}},{{-332,-215,-258,-290,-288,-334},{-282,-253,-263,-346,-207,-326},{-290,-197,-306,-306,-259,-298},{-255,-293,-229,-266,-338,-251},{-247,-287,-223,-255,-301,-251},{-229,-269,-253,-340,-189,-332},{-255,-197,-263,-306,-322,-311},{-231,-247,-223,-338,-259,-231},{-250,-317,-263,-207,-244,-194},{-245,-200,-290,-301,-293,-228},{-346,-255,-213,-237,-191,-220},{-274,-245,-303,-290,-325,-267},{-245,-271,-205,-322,-328,-300},{-335,-285,-261,-282,-333,-313},{-271,-202,-200,-269,-215,-282},{-261,-239,-266,-343,-238,-300},{-234,-325,-223,-311,-325,-207},{-269,-317,-218,-309,-291,-319},{-255,-200,-335,-327,-314,-293},{-301,-263,-258,-205,-333,-332}},{{-249,-245,-229,-322,-198,-183},{-228,-177,-197,-174,-213,-169},{-207,-200,-202,-263,-252,-186},{-243,-309,-239,-181,-238,-183},{-218,-245,-318,-236,-243,-304},{-228,-266,-194,-295,-223,-313},{-337,-190,-189,-191,-289,-248},{-243,-258,-287,-203,-277,-239},{-275,-316,-247,-263,-316,-229},{-280,-192,-302,-216,-176,-255},{-298,-286,-312,-218,-318,-198},{-197,-253,-325,-241,-292,-169},{-316,-256,-214,-208,-296,-200},{-337,-245,-199,-181,-172,-229},{-220,-248,-292,-226,-230,-287},{-215,-278,-318,-226,-203,-301},{-228,-293,-325,-298,-311,-287},{-321,-268,-181,-226,-274,-299},{-218,-235,-207,-317,-247,-195},{-243,-180,-247,-300,-260,-239}},{{-167,-195,-166,-260,-172,-287},{-169,-212,-219,-274,-157,-177},{-171,-216,-282,-184,-282,-271},{-183,-294,-171,-288,-190,-253},{-236,-244,-259,-166,-264,-242},{-271,-169,-162,-292,-177,-244},{-226,-256,-169,-182,-278,-289},{-269,-179,-284,-244,-211,-255},{-307,-280,-164,-253,-224,-255},{-255,-249,-222,-216,-195,-166},{-176,-174,-236,-248,-262,-262},{-198,-294,-213,-228,-195,-170},{-167,-188,-284,-172,-237,-282},{-186,-249,-196,-196,-264,-164},{-212,-219,-270,-281,-215,-258},{-269,-207,-162,-288,-276,-276},{-195,-233,-263,-172,-269,-184},{-205,-223,-298,-214,-237,-161},{-183,-261,-210,-248,-240,-282},{-233,-202,-182,-172,-269,-213}},{{-242,-200,-256,-247,-161,-224},{-273,-221,-154,-265,-273,-224},{-279,-215,-213,-195,-256,-256},{-240,-263,-197,-161,-273,-230},{-242,-191,-239,-276,-282,-224},{-231,-169,-189,-156,-178,-265},{-196,-152,-176,-276,-265,-204},{-268,-232,-269,-210,-219,-252},{-191,-178,-217,-174,-278,-276},{-191,-156,-161,-187,-237,-265},{-163,-269,-213,-174,-206,-174},{-202,-174,-191,-215,-200,-252},{-218,-228,-200,-260,-169,-182},{-233,-241,-280,-193,-167,-195},{-227,-241,-169,-230,-252,-276},{-161,-193,-174,-215,-282,-221},{-222,-273,-265,-217,-152,-241},{-156,-210,-243,-206,-269,-245},{-200,-176,-226,-191,-221,-245},{-185,-197,-280,-169,-224,-224}},{{-184,-247,-169,-174,-247,-154},{-163,-237,-260,-271,-197,-243},{-197,-282,-189,-176,-256,-256},{-221,-232,-193,-247,-210,-178},{-224,-204,-230,-230,-258,-176},{-221,-256,-180,-189,-208,-178},{-158,-230,-247,-167,-156,-195},{-182,-282,-239,-247,-210,-269},{-239,-219,-228,-228,-152,-187},{-154,-169,-204,-219,-152,-156},{-247,-200,-273,-193,-265,-219},{-152,-278,-276,-215,-178,-217},{-156,-189,-280,-280,-202,-250},{-278,-154,-276,-278,-252,-195},{-215,-184,-260,-174,-239,-174},{-208,-197,-265,-178,-273,-226},{-243,-265,-158,-282,-197,-180},{-178,-189,-224,-258,-232,-156},{-191,-191,-154,-182,-280,-219},{-250,-282,-254,-163,-280,-282}}},{{{-388,-247,-370,-334,-232,-370},{-304,-268,-259,-283,-376,-299},{-217,-301,-367,-220,-283,-355},{-295,-220,-361,-346,-355,-281},{-325,-322,-268,-214,-322,-266},{-385,-337,-235,-310,-256,-228},{-307,-304,-370,-379,-349,-240},{-385,-301,-256,-250,-334,-260},{-358,-256,-244,-361,-280,-358},{-355,-295,-229,-262,-361,-263},{-346,-211,-295,-223,-280,-210},{-331,-289,-319,-349,-298,-222},{-232,-316,-358,-334,-361,-373},{-340,-235,-379,-238,-262,-222},{-235,-265,-247,-277,-256,-281},{-256,-292,-367,-265,-349,-311},{-253,-283,-223,-334,-322,-225},{-232,-283,-385,-256,-262,-379},{-343,-343,-325,-220,-217,-332},{-289,-349,-379,-211,-316,-240}},{{-302,-367,-328,-229,-215,-288},{-249,-324,-263,-308,-215,-285},{-372,-287,-291,-322,-262,-249},{-340,-253,-342,-268,-217,-272},{-302,-367,-364,-273,-289,-303},{-360,-255,-210,-213,-254,-301},{-302,-350,-224,-257,-302,-306},{-346,-270,-249,-210,-273,-185},{-355,-290,-361,-248,-241,-195},{-340,-276,-196,-248,-246,-296},{-302,-310,-350,-262,-193,-319},{-322,-359,-246,-314,-252,-329},{-223,-298,-207,-306,-273,-288},{-325,-316,-232,-213,-209,-203},{-275,-304,-361,-295,-315,-195},{-223,-230,-199,-333,-233,-242},{-217,-258,-344,-240,-329,-319},{-264,-250,-238,-325,-191,-293},{-305,-218,-238,-248,-249,-224},{-246,-204,-316,-308,-209,-185}},{{-179,-194,-206,-241,-214,-261},{-196,-286,-289,-192,-254,-206},{-196,-175,-197,-188,-208,-208},{-211,-199,-211,-265,-248,-147},{-186,-298,-259,-265,-176,-186},{-226,-286,-160,-225,-167,-255},{-181,-218,-222,-278,-187,-246},{-181,-182,-254,-168,-174,-190},{-300,-274,-256,-223,-204,-152},{-293,-173,-179,-281,-259,-170},{-223,-182,-218,-208,-197,-152},{-186,-264,-202,-259,-229,-257},{-228,-197,-204,-177,-193,-252},{-310,-259,-185,-208,-151,-156},{-290,-206,-204,-267,-176,-212},{-305,-245,-250,-265,-261,-232},{-213,-300,-199,-219,-231,-263},{-206,-192,-252,-276,-153,-238},{-221,-262,-295,-241,-220,-194},{-250,-254,-202,-225,-235,-230}},{{-194,-134,-125,-150,-154,-180},{-167,-179,-210,-179,-149,-156},{-213,-225,-215,-218,-189,-206},{-227,-242,-144,-165,-148,-156},{-194,-182,-157,-208,-121,-140},{-188,-212,-208,-193,-168,-156},{-140,-193,-190,-217,-156,-145},{-242,-197,-210,-153,-212,-198},{-244,-227,-151,-201,-136,-126},{-213,-210,-148,-129,-146,-198},{-190,-214,-128,-124,-139,-148},{-244,-232,-201,-208,-144,-171},{-190,-188,-187,-163,-211,-153},{-194,-145,-162,-169,-133,-179},{-159,-171,-164,-162,-161,-201},{-192,-156,-215,-191,-154,-187},{-217,-141,-151,-163,-173,-135},{-173,-242,-194,-165,-128,-127},{-163,-158,-174,-191,-178,-151},{-180,-164,-167,-144,-171,-196}},{{-162,-122,-132,-132,-145,-192},{-165,-125,-171,-189,-151,-148},{-122,-199,-109,-128,-177,-174},{-186,-154,-129,-185,-149,-117},{-189,-176,-168,-176,-174,-125},{-159,-132,-125,-185,-137,-117},{-203,-122,-108,-142,-119,-117},{-117,-114,-117,-179,-112,-108},{-172,-186,-165,-119,-185,-128},{-167,-186,-126,-139,-112,-114},{-184,-200,-191,-159,-129,-154},{-167,-192,-111,-137,-197,-199},{-173,-151,-136,-199,-116,-148},{-147,-139,-122,-126,-200,-117},{-156,-131,-160,-129,-188,-160},{-158,-151,-108,-119,-117,-136},{-111,-148,-189,-122,-151,-142},{-184,-137,-182,-194,-128,-197},{-186,-123,-196,-180,-154,-131},{-154,-119,-157,-160,-126,-149}},{{-171,-130,-125,-192,-130,-129},{-192,-127,-199,-176,-206,-134},{-163,-181,-131,-213,-144,-172},{-139,-138,-202,-151,-126,-168},{-191,-173,-211,-124,-135,-197},{-129,-196,-128,-202,-222,-235},{-126,-143,-196,-212,-173,-145},{-165,-205,-194,-212,-198,-228},{-157,-167,-156,-193,-219,-156},{-177,-189,-138,-203,-187,-192},{-194,-205,-113,-119,-214,-203},{-122,-132,-120,-160,-126,-214},{-142,-197,-131,-155,-128,-226},{-192,-164,-194,-144,-175,-138},{-114,-192,-204,-176,-178,-183},{-148,-119,-162,-139,-135,-148},{-197,-154,-178,-153,-124,-194},{-140,-118,-117,-170,-226,-130},{-145,-143,-159,-131,-144,-170},{-186,-192,-154,-175,-168,-130}}},{{{-273,-266,-374,-340,-395,-304},{-420,-336,-343,-444,-308,-294},{-406,-368,-332,-434,-301,-444},{-336,-332,-273,-245,-329,-326},{-444,-287,-413,-364,-273,-399},{-259,-252,-413,-430,-430,-452},{-430,-385,-420,-259,-378,-455},{-318,-262,-343,-270,-448,-248},{-455,-259,-385,-318,-340,-360},{-248,-308,-374,-322,-340,-441},{-259,-427,-448,-424,-374,-452},{-308,-360,-350,-424,-326,-301},{-332,-364,-382,-304,-256,-364},{-336,-427,-346,-385,-298,-413},{-424,-346,-248,-382,-284,-434},{-395,-395,-301,-287,-452,-332},{-270,-427,-329,-315,-389,-336},{-329,-298,-322,-245,-322,-287},{-326,-357,-444,-290,-318,-262},{-354,-455,-406,-389,-304,-413}},{{-393,-271,-366,-381,-230,-367},{-258,-415,-336,-374,-262,-393},{-264,-412,-373,-264,-289,-274},{-254,-302,-434,-381,-380,-303},{-442,-446,-237,-281,-243,-325},{-268,-250,-407,-297,-400,-316},{-390,-257,-346,-234,-367,-316},{-421,-271,-336,-421,-374,-280},{-278,-436,-363,-361,-367,-267},{-278,-254,-414,-434,-348,-393},{-341,-360,-237,-404,-400,-270},{-271,-336,-298,-234,-397,-293},{-376,-278,-417,-394,-318,-319},{-271,-343,-356,-327,-315,-280},{-362,-398,-244,-294,-338,-277},{-261,-370,-302,-341,-335,-319},{-351,-408,-359,-240,-312,-328},{-261,-278,-268,-397,-384,-322},{-418,-415,-298,-314,-312,-412},{-289,-412,-434,-291,-335,-229}},{{-403,-302,-318,-255,-368,-195},{-246,-280,-228,-337,-217,-300},{-252,-391,-372,-252,-296,-200},{-309,-225,-366,-281,-205,-222},{-230,-382,-246,-255,-351,-300},{-387,-348,-264,-366,-222,-342},{-372,-348,-318,-278,-234,-234},{-287,-237,-225,-249,-251,-297},{-261,-342,-225,-278,-319,-234},{-280,-265,-282,-223,-276,-345},{-372,-357,-285,-337,-276,-245},{-224,-253,-282,-226,-331,-345},{-246,-357,-381,-240,-268,-353},{-220,-363,-213,-240,-242,-250},{-340,-283,-348,-311,-274,-214},{-246,-265,-225,-249,-205,-253},{-391,-219,-225,-331,-219,-286},{-350,-280,-387,-255,-370,-350},{-255,-228,-237,-357,-308,-314},{-403,-348,-309,-352,-311,-270}},{{-224,-263,-198,-266,-262,-272},{-259,-255,-296,-271,-274,-304},{-211,-287,-206,-183,-179,-268},{-235,-205,-257,-176,-186,-244},{-300,-189,-319,-201,-230,-229},{-213,-268,-267,-309,-311,-251},{-300,-184,-275,-243,-265,-167},{-300,-216,-247,-301,-262,-222},{-338,-229,-324,-279,-279,-196},{-302,-237,-308,-284,-196,-275},{-335,-287,-182,-279,-240,-275},{-329,-313,-298,-276,-284,-275},{-329,-216,-195,-231,-223,-268},{-200,-226,-296,-193,-294,-208},{-216,-192,-249,-233,-243,-304},{-327,-289,-278,-218,-211,-284},{-221,-308,-267,-228,-304,-227},{-278,-329,-221,-176,-203,-208},{-192,-339,-190,-226,-265,-177},{-335,-231,-301,-309,-194,-287}},{{-166,-215,-249,-282,-273,-268},{-273,-196,-215,-233,-201,-298},{-249,-282,-252,-249,-275,-263},{-249,-231,-298,-252,-162,-217},{-244,-203,-252,-203,-162,-249},{-173,-215,-233,-210,-282,-280},{-239,-245,-291,-233,-263,-208},{-244,-249,-296,-203,-192,-219},{-273,-171,-201,-215,-254,-247},{-209,-249,-238,-185,-196,-219},{-168,-254,-194,-282,-189,-280},{-230,-273,-236,-185,-282,-166},{-277,-300,-201,-219,-282,-252},{-228,-166,-236,-185,-268,-180},{-166,-263,-256,-210,-215,-286},{-209,-247,-233,-240,-219,-196},{-270,-185,-284,-215,-275,-192},{-171,-291,-249,-215,-219,-277},{-263,-273,-270,-289,-203,-194},{-292,-185,-273,-182,-206,-215}},{{-289,-213,-191,-252,-196,-244},{-169,-219,-268,-233,-300,-295},{-233,-185,-191,-195,-290,-221},{-176,-256,-270,-195,-310,-219},{-238,-300,-259,-174,-266,-280},{-277,-263,-226,-240,-230,-184},{-289,-217,-259,-286,-211,-236},{-189,-247,-245,-167,-225,-239},{-180,-233,-242,-224,-302,-207},{-169,-293,-226,-240,-302,-194},{-236,-254,-224,-207,-189,-204},{-178,-206,-263,-271,-264,-285},{-247,-224,-189,-245,-302,-285},{-245,-238,-291,-298,-194,-310},{-291,-300,-242,-250,-186,-310},{-196,-270,-214,-295,-271,-298},{-291,-166,-235,-267,-179,-288},{-291,-162,-221,-293,-184,-172},{-224,-194,-238,-176,-232,-312},{-215,-245,-287,-195,-169,-214}}}}; // 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]={15,8,5,15,8,6,15,8,5,16,8,6,16,8,6,16,8,6,17,9,6,17,9,6,17,9,6,16,9,6,17,8,6,17,8,6,17,9,6,18,9,6,18,9,6,17,9,6,18,9,6,17,9,6,17,9,6,16,8,6,17,8,6,16,8,6,17,8,6,17,8,6}; // 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}}; // set of shipments in each bid 
int SHsts[SPN]={2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,0,4,8,12,16,20,24,28,2,8,14,20,26,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,0,4,8,12,16,20,24,28,0,6,12,18,24,30,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,1,5,9,13,17,21,25,29,1,7,13,19,25,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,2,6,10,14,18,22,26,30,2,8,14,20,26,32,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,1,5,9,13,17,21,25,29,1,7,13,19,25,31,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,1,5,9,13,17,21,25,29,1,7,13,19,25,31,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,1,5,9,13,17,21,25,29,33,1,7,13,19,25,31,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,1,5,9,13,17,21,25,29,33,0,6,12,18,24,30,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,1,5,9,13,17,21,25,29,33,0,6,12,18,24,30,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,0,4,8,12,16,20,24,28,32,0,6,12,18,24,30,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,2,6,10,14,18,22,26,30,0,6,12,18,24,30,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,2,6,10,14,18,22,26,30,0,6,12,18,24,30,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,1,5,9,13,17,21,25,29,33,2,8,14,20,26,32,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,0,4,8,12,16,20,24,28,32,0,6,12,18,24,30,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,0,4,8,12,16,20,24,28,32,1,7,13,19,25,31,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,1,5,9,13,17,21,25,29,33,1,7,13,19,25,31,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,2,6,10,14,18,22,26,30,34,0,6,12,18,24,30,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,2,6,10,14,18,22,26,30,34,0,6,12,18,24,30,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,0,4,8,12,16,20,24,28,32,0,6,12,18,24,30,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,2,6,10,14,18,22,26,30,1,7,13,19,25,31,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,2,6,10,14,18,22,26,30,2,8,14,20,26,32,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,2,6,10,14,18,22,26,30,2,8,14,20,26,32,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,2,6,10,14,18,22,26,30,2,8,14,20,26,32,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,1,5,9,13,17,21,25,29,1,7,13,19,25,31}; // set of start times of each shipment 
int SHets[SPN]={7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,5,9,13,17,21,25,29,33,7,13,19,25,31,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,5,9,13,17,21,25,29,33,5,11,17,23,29,35,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,6,10,14,18,22,26,30,34,6,12,18,24,30,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,5,9,13,17,21,25,29,33,5,11,17,23,29,35,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,4,8,12,16,20,24,28,32,4,10,16,22,28,34,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,4,8,12,16,20,24,28,32,4,10,16,22,28,34,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,3,7,11,15,19,23,27,31,35,3,9,15,21,27,33,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,3,7,11,15,19,23,27,31,35,2,8,14,20,26,32,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,3,7,11,15,19,23,27,31,35,2,8,14,20,26,32,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,2,6,10,14,18,22,26,30,34,2,8,14,20,26,32,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,4,8,12,16,20,24,28,32,2,8,14,20,26,32,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,4,8,12,16,20,24,28,32,2,8,14,20,26,32,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,2,6,10,14,18,22,26,30,34,3,9,15,21,27,33,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,1,5,9,13,17,21,25,29,33,1,7,13,19,25,31,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,1,5,9,13,17,21,25,29,33,2,8,14,20,26,32,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,2,6,10,14,18,22,26,30,34,2,8,14,20,26,32,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,3,7,11,15,19,23,27,31,35,1,7,13,19,25,31,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,3,7,11,15,19,23,27,31,35,1,7,13,19,25,31,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,2,6,10,14,18,22,26,30,34,2,8,14,20,26,32,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,4,8,12,16,20,24,28,32,3,9,15,21,27,33,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,4,8,12,16,20,24,28,32,4,10,16,22,28,34,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,5,9,13,17,21,25,29,33,5,11,17,23,29,35,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,5,9,13,17,21,25,29,33,5,11,17,23,29,35,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,4,8,12,16,20,24,28,32,4,10,16,22,28,34}; // set of end times of each shipment 
