int Dev = 40;// 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 = 748;//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]={{{{12265,0,0,0,0,0},{13218,0,0,0,0,0},{12514,0,0,0,0,0},{12882,0,0,0,0,0},{12474,0,0,0,0,0},{12701,0,0,0,0,0},{12549,0,0,0,0,0},{12819,0,0,0,0,0},{12617,0,0,0,0,0},{12676,0,0,0,0,0},{12949,0,0,0,0,0},{12029,0,0,0,0,0},{12303,0,0,0,0,0},{12162,0,0,0,0,0},{13067,0,0,0,0,0},{12417,0,0,0,0,0},{11940,0,0,0,0,0},{11900,0,0,0,0,0},{12934,0,0,0,0,0},{12911,0,0,0,0,0}},{{12489,0,0,0,0,0},{12512,0,0,0,0,0},{12721,0,0,0,0,0},{11348,0,0,0,0,0},{12076,0,0,0,0,0},{12423,0,0,0,0,0},{12729,0,0,0,0,0},{12492,0,0,0,0,0},{12198,0,0,0,0,0},{12432,0,0,0,0,0},{12413,0,0,0,0,0},{12196,0,0,0,0,0},{12167,0,0,0,0,0},{11484,0,0,0,0,0},{12542,0,0,0,0,0},{12658,0,0,0,0,0},{12227,0,0,0,0,0},{12533,0,0,0,0,0},{12684,0,0,0,0,0},{11783,0,0,0,0,0}},{{10664,0,0,0,0,0},{10943,0,0,0,0,0},{11817,0,0,0,0,0},{11966,0,0,0,0,0},{11679,0,0,0,0,0},{12010,0,0,0,0,0},{11680,0,0,0,0,0},{11748,0,0,0,0,0},{11250,0,0,0,0,0},{11356,0,0,0,0,0},{11301,0,0,0,0,0},{11734,0,0,0,0,0},{11838,0,0,0,0,0},{11381,0,0,0,0,0},{11182,0,0,0,0,0},{11505,0,0,0,0,0},{11150,0,0,0,0,0},{11452,0,0,0,0,0},{11933,0,0,0,0,0},{11248,0,0,0,0,0}},{{10019,0,0,0,0,0},{9844,0,0,0,0,0},{9909,0,0,0,0,0},{10401,0,0,0,0,0},{10349,0,0,0,0,0},{10031,0,0,0,0,0},{10486,0,0,0,0,0},{10131,0,0,0,0,0},{10178,0,0,0,0,0},{11134,0,0,0,0,0},{10580,0,0,0,0,0},{10124,0,0,0,0,0},{9881,0,0,0,0,0},{10258,0,0,0,0,0},{10648,0,0,0,0,0},{10677,0,0,0,0,0},{10480,0,0,0,0,0},{10168,0,0,0,0,0},{10646,0,0,0,0,0},{10637,0,0,0,0,0}},{{9364,0,0,0,0,0},{9178,0,0,0,0,0},{9642,0,0,0,0,0},{9846,0,0,0,0,0},{9439,0,0,0,0,0},{9672,0,0,0,0,0},{8769,0,0,0,0,0},{9614,0,0,0,0,0},{9668,0,0,0,0,0},{8820,0,0,0,0,0},{9488,0,0,0,0,0},{9338,0,0,0,0,0},{9690,0,0,0,0,0},{9267,0,0,0,0,0},{8931,0,0,0,0,0},{9887,0,0,0,0,0},{9301,0,0,0,0,0},{9654,0,0,0,0,0},{9342,0,0,0,0,0},{9488,0,0,0,0,0}},{{9765,0,0,0,0,0},{9557,0,0,0,0,0},{9277,0,0,0,0,0},{8798,0,0,0,0,0},{8925,0,0,0,0,0},{9139,0,0,0,0,0},{8878,0,0,0,0,0},{9281,0,0,0,0,0},{9098,0,0,0,0,0},{9107,0,0,0,0,0},{9066,0,0,0,0,0},{9615,0,0,0,0,0},{9485,0,0,0,0,0},{9397,0,0,0,0,0},{8976,0,0,0,0,0},{8686,0,0,0,0,0},{9199,0,0,0,0,0},{9271,0,0,0,0,0},{9374,0,0,0,0,0},{9295,0,0,0,0,0}}},{{{-391,-179,-215,-232,-335,-323},{-368,-344,-191,-370,-253,-323},{-397,-347,-294,-179,-235,-270},{-341,-326,-376,-279,-253,-247},{-206,-241,-376,-382,-350,-353},{-279,-265,-259,-347,-297,-338},{-373,-194,-394,-265,-373,-362},{-197,-409,-320,-297,-341,-273},{-365,-306,-288,-220,-259,-215},{-368,-206,-253,-368,-332,-350},{-200,-403,-285,-362,-382,-376},{-200,-394,-218,-306,-306,-376},{-279,-347,-315,-385,-176,-215},{-412,-259,-300,-297,-385,-238},{-332,-368,-262,-394,-332,-300},{-347,-197,-259,-238,-350,-212},{-379,-212,-203,-188,-206,-270},{-353,-185,-318,-270,-200,-235},{-400,-400,-335,-347,-335,-323},{-235,-273,-332,-197,-368,-335}},{{-246,-315,-210,-266,-174,-329},{-360,-172,-272,-332,-163,-181},{-345,-183,-252,-252,-270,-256},{-365,-286,-260,-279,-230,-290},{-241,-240,-235,-326,-230,-233},{-235,-375,-300,-200,-211,-334},{-290,-252,-372,-301,-272,-210},{-194,-352,-384,-216,-280,-363},{-348,-243,-258,-375,-312,-168},{-328,-369,-246,-370,-192,-295},{-304,-172,-263,-370,-190,-225},{-299,-277,-280,-362,-352,-174},{-258,-206,-232,-345,-171,-246},{-235,-200,-381,-186,-304,-243},{-406,-337,-283,-244,-272,-303},{-406,-243,-241,-216,-187,-233},{-313,-232,-297,-260,-174,-259},{-270,-289,-353,-219,-307,-306},{-403,-194,-202,-307,-184,-332},{-183,-335,-235,-214,-176,-205}},{{-220,-227,-158,-137,-137,-144},{-260,-213,-177,-273,-203,-225},{-228,-334,-247,-276,-188,-216},{-350,-322,-312,-287,-280,-229},{-198,-160,-326,-300,-220,-260},{-335,-322,-319,-186,-171,-245},{-198,-307,-263,-302,-233,-282},{-325,-162,-233,-139,-242,-144},{-210,-167,-207,-172,-285,-142},{-278,-148,-226,-148,-268,-175},{-198,-278,-263,-242,-165,-260},{-235,-172,-156,-202,-184,-144},{-322,-201,-263,-172,-195,-237},{-172,-184,-273,-170,-272,-146},{-232,-145,-179,-213,-246,-253},{-305,-261,-256,-199,-160,-130},{-242,-295,-221,-264,-197,-185},{-240,-162,-268,-264,-214,-210},{-162,-206,-303,-193,-210,-222},{-262,-155,-147,-237,-128,-222}},{{-148,-232,-107,-189,-147,-219},{-230,-198,-111,-222,-124,-219},{-165,-172,-231,-132,-210,-109},{-136,-262,-245,-119,-200,-187},{-272,-127,-145,-213,-180,-144},{-128,-204,-147,-105,-224,-147},{-213,-165,-229,-114,-196,-218},{-219,-174,-206,-241,-119,-142},{-268,-217,-175,-217,-175,-168},{-162,-254,-145,-144,-120,-163},{-197,-193,-172,-187,-178,-109},{-191,-189,-143,-206,-177,-147},{-229,-243,-247,-237,-117,-123},{-150,-187,-242,-144,-229,-154},{-167,-157,-174,-184,-106,-184},{-193,-208,-183,-236,-177,-179},{-258,-223,-213,-124,-180,-162},{-132,-230,-199,-210,-124,-168},{-238,-254,-165,-220,-120,-195},{-126,-258,-122,-163,-101,-152}},{{-139,-140,-126,-203,-143,-203},{-189,-103,-204,-144,-157,-109},{-105,-109,-151,-185,-148,-138},{-185,-136,-97,-107,-179,-154},{-176,-124,-201,-171,-188,-148},{-139,-171,-184,-179,-140,-104},{-105,-152,-197,-137,-129,-96},{-148,-142,-126,-90,-182,-137},{-188,-140,-146,-188,-198,-147},{-103,-91,-200,-165,-191,-98},{-114,-101,-93,-190,-197,-153},{-172,-113,-201,-129,-206,-132},{-102,-203,-96,-187,-128,-146},{-211,-153,-138,-121,-200,-146},{-156,-173,-98,-190,-135,-88},{-125,-206,-131,-206,-132,-176},{-116,-95,-123,-163,-197,-116},{-172,-197,-150,-175,-182,-113},{-191,-197,-116,-135,-141,-128},{-112,-89,-206,-147,-113,-123}},{{-88,-151,-143,-171,-213,-234},{-125,-203,-205,-116,-119,-202},{-196,-143,-110,-205,-143,-194},{-140,-103,-148,-185,-180,-150},{-172,-147,-121,-176,-222,-124},{-129,-110,-149,-213,-100,-150},{-90,-154,-199,-163,-134,-230},{-194,-201,-187,-154,-103,-167},{-125,-163,-92,-191,-130,-109},{-132,-153,-175,-94,-156,-114},{-160,-203,-112,-108,-166,-142},{-147,-178,-178,-109,-209,-222},{-100,-146,-122,-196,-184,-137},{-131,-106,-192,-151,-180,-130},{-126,-110,-106,-111,-171,-147},{-90,-123,-128,-122,-130,-152},{-97,-119,-156,-185,-163,-104},{-129,-88,-142,-137,-156,-222},{-90,-175,-127,-165,-221,-234},{-191,-98,-160,-117,-219,-214}}},{{{-193,-171,-193,-234,-223,-172},{-118,-189,-163,-118,-223,-197},{-126,-167,-124,-193,-199,-151},{-208,-137,-212,-132,-247,-235},{-126,-194,-156,-229,-123,-239},{-186,-218,-107,-192,-166,-231},{-166,-172,-194,-158,-210,-147},{-166,-221,-124,-168,-164,-134},{-144,-204,-224,-107,-201,-189},{-212,-177,-231,-188,-149,-237},{-165,-115,-229,-243,-224,-143},{-104,-152,-201,-251,-184,-130},{-146,-142,-168,-168,-138,-174},{-170,-171,-142,-172,-171,-118},{-138,-199,-173,-109,-177,-126},{-148,-154,-219,-159,-190,-204},{-217,-204,-175,-251,-171,-174},{-203,-206,-107,-200,-234,-252},{-200,-152,-135,-134,-195,-189},{-155,-199,-107,-227,-142,-250}},{{-158,-146,-160,-217,-247,-264},{-186,-256,-224,-283,-192,-262},{-226,-195,-181,-248,-259,-307},{-222,-152,-138,-137,-289,-276},{-208,-287,-207,-170,-147,-274},{-119,-283,-234,-294,-172,-181},{-190,-148,-181,-259,-298,-269},{-162,-207,-226,-170,-236,-252},{-147,-178,-256,-141,-227,-317},{-208,-127,-149,-183,-174,-302},{-174,-154,-222,-236,-208,-171},{-220,-139,-177,-265,-220,-276},{-121,-228,-192,-234,-147,-190},{-218,-287,-147,-210,-153,-312},{-228,-139,-273,-303,-236,-148},{-214,-205,-232,-221,-252,-269},{-135,-228,-185,-307,-174,-200},{-196,-266,-149,-212,-160,-326},{-265,-144,-236,-133,-321,-193},{-228,-283,-134,-252,-172,-148}},{{-217,-309,-301,-356,-388,-229},{-156,-344,-162,-192,-186,-249},{-237,-329,-362,-270,-202,-190},{-225,-252,-320,-216,-316,-328},{-321,-199,-191,-181,-363,-294},{-324,-158,-254,-300,-224,-294},{-242,-168,-246,-278,-224,-388},{-247,-306,-157,-321,-202,-283},{-274,-171,-217,-184,-338,-283},{-220,-201,-246,-362,-327,-334},{-346,-201,-160,-232,-224,-374},{-316,-339,-241,-324,-177,-272},{-225,-247,-364,-219,-321,-359},{-178,-344,-217,-189,-241,-277},{-272,-173,-231,-278,-230,-311},{-309,-316,-220,-221,-260,-376},{-316,-191,-262,-205,-258,-173},{-306,-354,-173,-289,-219,-289},{-259,-255,-367,-240,-222,-297},{-274,-334,-354,-308,-241,-280}},{{-286,-326,-253,-265,-181,-184},{-179,-306,-298,-280,-217,-274},{-231,-241,-185,-349,-280,-184},{-214,-356,-346,-391,-286,-349},{-191,-253,-319,-190,-223,-301},{-254,-294,-268,-421,-400,-331},{-364,-362,-352,-277,-304,-352},{-315,-215,-283,-244,-370,-316},{-327,-315,-232,-406,-196,-322},{-370,-294,-393,-352,-334,-385},{-185,-276,-316,-277,-355,-376},{-301,-176,-289,-253,-406,-262},{-347,-262,-259,-325,-346,-364},{-228,-215,-238,-229,-361,-340},{-277,-368,-295,-244,-286,-343},{-179,-341,-295,-403,-334,-337},{-379,-359,-402,-235,-346,-223},{-269,-247,-367,-304,-376,-229},{-286,-379,-221,-370,-238,-373},{-329,-309,-414,-313,-400,-295}},{{-232,-334,-331,-198,-391,-371},{-190,-352,-274,-354,-388,-342},{-334,-214,-409,-216,-373,-249},{-355,-370,-319,-303,-350,-389},{-385,-313,-199,-186,-223,-249},{-226,-355,-208,-378,-238,-206},{-202,-346,-196,-204,-250,-267},{-349,-307,-208,-294,-253,-336},{-187,-235,-403,-417,-259,-270},{-217,-406,-316,-246,-268,-400},{-331,-316,-298,-321,-247,-278},{-250,-277,-340,-216,-200,-177},{-292,-382,-319,-246,-206,-212},{-208,-319,-376,-348,-200,-287},{-214,-295,-277,-243,-188,-226},{-364,-400,-361,-297,-232,-354},{-349,-223,-181,-267,-312,-368},{-205,-391,-394,-384,-353,-200},{-370,-421,-415,-270,-276,-296},{-298,-205,-256,-411,-359,-281}},{{-305,-299,-371,-364,-223,-325},{-396,-279,-263,-169,-269,-268},{-399,-206,-168,-325,-302,-273},{-171,-204,-241,-166,-261,-308},{-311,-246,-295,-187,-279,-248},{-237,-271,-298,-280,-310,-208},{-239,-321,-355,-161,-184,-238},{-368,-212,-347,-319,-159,-305},{-211,-265,-328,-348,-220,-223},{-396,-179,-179,-330,-187,-211},{-396,-193,-222,-309,-353,-164},{-174,-290,-252,-293,-161,-159},{-219,-368,-206,-354,-320,-317},{-200,-335,-244,-264,-261,-164},{-291,-324,-306,-312,-164,-231},{-325,-368,-238,-227,-172,-169},{-274,-190,-184,-354,-174,-310},{-262,-206,-317,-354,-323,-233},{-259,-382,-279,-193,-346,-241},{-248,-388,-236,-335,-197,-241}}},{{{-260,-378,-211,-243,-197,-365},{-368,-359,-207,-447,-454,-286},{-260,-392,-421,-444,-329,-230},{-451,-375,-451,-392,-438,-303},{-214,-401,-224,-421,-240,-290},{-217,-339,-441,-270,-273,-434},{-230,-395,-220,-415,-424,-204},{-303,-441,-382,-378,-243,-237},{-253,-204,-395,-401,-411,-378},{-378,-276,-286,-418,-392,-428},{-457,-283,-299,-451,-293,-355},{-283,-273,-293,-214,-197,-421},{-197,-368,-339,-214,-431,-457},{-329,-283,-342,-375,-418,-243},{-313,-293,-378,-355,-392,-224},{-266,-313,-368,-447,-316,-266},{-434,-250,-240,-415,-401,-447},{-201,-217,-237,-227,-217,-234},{-418,-329,-405,-240,-290,-276},{-382,-431,-345,-332,-342,-392}},{{-384,-312,-405,-220,-382,-226},{-308,-225,-265,-226,-413,-295},{-358,-370,-239,-210,-228,-352},{-216,-444,-268,-232,-194,-391},{-407,-341,-262,-389,-268,-295},{-446,-377,-195,-411,-302,-211},{-371,-412,-274,-292,-370,-235},{-384,-399,-440,-408,-400,-271},{-220,-312,-345,-236,-293,-259},{-423,-390,-252,-333,-407,-340},{-453,-383,-325,-424,-243,-193},{-308,-225,-191,-276,-206,-394},{-423,-399,-322,-358,-240,-298},{-269,-219,-405,-217,-394,-205},{-213,-319,-415,-201,-354,-202},{-367,-435,-341,-195,-265,-415},{-236,-280,-357,-317,-305,-238},{-285,-406,-262,-226,-413,-217},{-312,-303,-360,-267,-357,-259},{-449,-287,-303,-292,-283,-253}},{{-263,-251,-171,-163,-276,-236},{-268,-372,-283,-212,-201,-334},{-177,-251,-218,-364,-331,-355},{-242,-372,-330,-381,-164,-198},{-372,-236,-232,-305,-175,-231},{-307,-213,-316,-316,-175,-308},{-280,-363,-375,-378,-302,-167},{-360,-210,-300,-242,-186,-257},{-413,-193,-319,-196,-315,-342},{-251,-181,-378,-190,-175,-216},{-386,-397,-202,-269,-228,-157},{-313,-268,-302,-237,-344,-278},{-366,-395,-218,-340,-201,-154},{-384,-204,-210,-190,-268,-319},{-395,-196,-174,-226,-217,-306},{-239,-377,-207,-166,-321,-319},{-375,-400,-258,-226,-299,-296},{-257,-251,-174,-234,-238,-182},{-375,-392,-330,-204,-191,-175},{-266,-320,-168,-163,-172,-265}},{{-200,-180,-166,-252,-309,-283},{-222,-194,-258,-321,-206,-206},{-315,-180,-201,-280,-137,-134},{-290,-192,-249,-254,-202,-208},{-298,-284,-244,-310,-186,-230},{-182,-173,-235,-182,-267,-158},{-195,-146,-289,-266,-249,-217},{-202,-270,-185,-176,-186,-191},{-242,-146,-152,-247,-152,-151},{-305,-148,-282,-296,-211,-278},{-342,-158,-287,-182,-217,-278},{-312,-207,-182,-201,-293,-138},{-245,-250,-166,-263,-168,-276},{-240,-216,-246,-270,-179,-215},{-308,-311,-258,-155,-175,-221},{-165,-219,-192,-296,-302,-243},{-215,-173,-159,-210,-193,-184},{-180,-173,-209,-180,-228,-171},{-242,-267,-173,-166,-242,-278},{-232,-245,-249,-203,-305,-215}},{{-217,-220,-271,-168,-143,-212},{-241,-273,-204,-139,-290,-269},{-145,-273,-193,-294,-202,-288},{-265,-147,-181,-128,-214,-269},{-206,-189,-273,-241,-248,-246},{-263,-262,-248,-292,-269,-166},{-276,-204,-166,-155,-267,-151},{-278,-214,-239,-172,-218,-246},{-247,-151,-197,-141,-214,-235},{-154,-178,-178,-260,-246,-147},{-135,-267,-160,-212,-202,-275},{-291,-193,-181,-172,-262,-239},{-156,-174,-134,-273,-193,-164},{-208,-168,-183,-250,-132,-214},{-161,-202,-216,-128,-149,-254},{-200,-172,-139,-164,-281,-277},{-130,-271,-206,-235,-271,-185},{-230,-246,-214,-288,-202,-210},{-163,-172,-204,-158,-158,-216},{-295,-178,-279,-132,-181,-172}},{{-258,-241,-268,-252,-262,-218},{-225,-294,-279,-241,-299,-148},{-273,-176,-169,-200,-262,-171},{-143,-254,-177,-208,-174,-250},{-130,-189,-253,-239,-211,-263},{-160,-168,-129,-226,-255,-160},{-206,-273,-188,-148,-143,-288},{-286,-197,-251,-219,-205,-146},{-204,-160,-207,-282,-169,-261},{-286,-229,-241,-250,-174,-261},{-181,-181,-209,-195,-273,-268},{-214,-262,-154,-282,-251,-274},{-225,-260,-152,-191,-185,-248},{-265,-281,-251,-224,-242,-146},{-183,-204,-295,-232,-260,-196},{-155,-218,-203,-210,-273,-194},{-290,-168,-127,-258,-167,-310},{-254,-288,-194,-202,-180,-218},{-227,-193,-236,-276,-189,-218},{-290,-237,-281,-247,-297,-241}}},{{{-129,-147,-143,-111,-129,-137},{-132,-90,-101,-138,-138,-152},{-140,-83,-137,-163,-95,-83},{-146,-71,-143,-150,-168,-159},{-126,-135,-71,-138,-87,-175},{-134,-139,-149,-164,-99,-138},{-127,-88,-92,-133,-81,-165},{-144,-72,-125,-117,-89,-124},{-123,-77,-103,-156,-120,-143},{-146,-80,-118,-117,-162,-87},{-134,-117,-139,-82,-137,-156},{-105,-74,-100,-154,-144,-88},{-98,-142,-94,-84,-95,-116},{-70,-141,-115,-133,-160,-93},{-123,-70,-69,-130,-95,-163},{-127,-71,-71,-143,-99,-178},{-76,-88,-92,-129,-111,-116},{-80,-84,-130,-81,-150,-142},{-78,-139,-149,-106,-94,-87},{-116,-128,-81,-96,-126,-125}},{{-113,-116,-163,-138,-201,-158},{-81,-137,-139,-127,-180,-153},{-135,-106,-207,-126,-216,-230},{-105,-192,-178,-191,-225,-212},{-123,-172,-107,-146,-124,-171},{-131,-125,-147,-98,-148,-143},{-134,-147,-195,-217,-130,-181},{-186,-110,-206,-118,-182,-106},{-84,-175,-139,-135,-163,-133},{-126,-165,-157,-166,-200,-207},{-96,-196,-129,-116,-175,-128},{-146,-113,-107,-143,-156,-210},{-169,-127,-164,-170,-203,-144},{-112,-189,-163,-101,-206,-183},{-174,-131,-189,-138,-111,-217},{-97,-173,-105,-96,-129,-228},{-188,-113,-207,-188,-214,-161},{-147,-162,-157,-108,-138,-227},{-181,-90,-194,-212,-217,-227},{-86,-145,-151,-189,-209,-222}},{{-164,-171,-151,-118,-214,-147},{-159,-175,-244,-160,-167,-204},{-208,-189,-115,-241,-218,-271},{-117,-207,-128,-127,-210,-249},{-203,-117,-136,-163,-239,-261},{-186,-248,-140,-144,-161,-277},{-186,-151,-123,-205,-147,-168},{-164,-180,-227,-180,-125,-139},{-150,-146,-206,-165,-159,-194},{-222,-180,-143,-125,-192,-127},{-115,-178,-214,-167,-161,-212},{-234,-151,-259,-192,-235,-265},{-241,-202,-208,-228,-188,-257},{-156,-247,-173,-209,-155,-154},{-228,-173,-128,-177,-127,-135},{-170,-155,-232,-258,-261,-166},{-163,-108,-225,-150,-141,-194},{-105,-191,-197,-262,-221,-234},{-177,-248,-162,-228,-263,-222},{-110,-187,-214,-245,-218,-218}},{{-238,-268,-122,-219,-235,-215},{-213,-160,-187,-274,-229,-246},{-173,-262,-142,-171,-246,-160},{-164,-130,-177,-156,-156,-179},{-250,-238,-238,-207,-227,-266},{-262,-231,-235,-164,-148,-124},{-156,-272,-146,-158,-276,-158},{-187,-142,-195,-244,-209,-191},{-142,-152,-211,-211,-146,-231},{-242,-235,-280,-162,-140,-179},{-195,-256,-191,-138,-276,-225},{-242,-227,-179,-209,-183,-138},{-175,-126,-183,-191,-215,-203},{-242,-177,-191,-227,-219,-138},{-256,-195,-217,-248,-262,-248},{-284,-227,-211,-254,-130,-183},{-142,-274,-238,-250,-144,-209},{-191,-225,-282,-175,-144,-207},{-262,-229,-221,-242,-229,-171},{-189,-272,-156,-152,-278,-242}},{{-217,-264,-197,-150,-191,-197},{-146,-258,-165,-160,-132,-142},{-126,-199,-221,-152,-249,-180},{-154,-211,-211,-203,-253,-258},{-154,-158,-242,-230,-134,-127},{-274,-140,-191,-170,-249,-250},{-207,-136,-219,-195,-117,-134},{-162,-221,-219,-203,-130,-254},{-195,-156,-187,-156,-221,-217},{-223,-158,-219,-119,-123,-132},{-217,-152,-197,-152,-168,-112},{-168,-136,-276,-193,-265,-171},{-262,-221,-221,-148,-181,-210},{-284,-142,-270,-201,-255,-239},{-268,-134,-148,-164,-187,-156},{-227,-266,-262,-195,-251,-243},{-272,-258,-268,-140,-153,-158},{-193,-233,-118,-146,-249,-208},{-130,-158,-187,-207,-215,-254},{-217,-197,-132,-205,-223,-224}},{{-245,-154,-100,-165,-118,-201},{-188,-131,-104,-182,-99,-103},{-168,-164,-114,-179,-210,-119},{-131,-137,-129,-117,-185,-104},{-145,-216,-130,-150,-187,-190},{-138,-240,-139,-190,-165,-198},{-197,-192,-109,-179,-205,-148},{-129,-149,-100,-102,-211,-144},{-242,-187,-204,-107,-116,-119},{-138,-242,-157,-210,-127,-159},{-113,-138,-184,-104,-145,-188},{-238,-237,-215,-173,-107,-157},{-215,-223,-212,-110,-116,-98},{-152,-164,-210,-222,-182,-197},{-231,-135,-142,-198,-182,-88},{-213,-171,-152,-221,-104,-107},{-208,-187,-170,-134,-138,-134},{-231,-157,-149,-166,-207,-128},{-165,-137,-209,-184,-101,-201},{-245,-168,-227,-139,-135,-106}}},{{{-233,-238,-221,-198,-267,-271},{-317,-212,-190,-298,-319,-262},{-315,-233,-226,-252,-238,-319},{-219,-214,-267,-259,-312,-186},{-163,-162,-302,-221,-198,-228},{-224,-300,-243,-233,-245,-174},{-303,-212,-228,-198,-169,-198},{-231,-317,-171,-321,-181,-295},{-256,-298,-248,-228,-233,-159},{-247,-143,-169,-205,-226,-159},{-182,-305,-328,-209,-298,-238},{-249,-150,-145,-295,-309,-224},{-154,-321,-269,-271,-326,-226},{-266,-252,-143,-207,-181,-162},{-203,-152,-331,-205,-309,-274},{-294,-276,-195,-193,-305,-212},{-210,-324,-167,-183,-331,-233},{-305,-238,-288,-307,-207,-255},{-198,-276,-202,-295,-319,-209},{-268,-193,-307,-157,-276,-169}},{{-186,-243,-174,-219,-228,-274},{-157,-236,-291,-291,-312,-270},{-212,-238,-287,-185,-312,-181},{-167,-219,-254,-141,-149,-301},{-167,-264,-216,-280,-160,-135},{-145,-171,-202,-312,-217,-203},{-250,-300,-251,-178,-185,-234},{-250,-312,-157,-201,-192,-157},{-181,-145,-195,-266,-312,-144},{-167,-224,-216,-159,-226,-281},{-248,-290,-266,-236,-149,-267},{-155,-150,-268,-296,-280,-219},{-226,-240,-221,-254,-163,-278},{-167,-274,-190,-224,-210,-252},{-245,-150,-176,-307,-294,-221},{-221,-295,-190,-280,-199,-188},{-195,-262,-249,-256,-194,-133},{-305,-162,-249,-231,-251,-281},{-209,-262,-235,-307,-176,-256},{-190,-174,-172,-162,-210,-181}},{{-140,-211,-127,-234,-213,-149},{-254,-138,-149,-125,-123,-153},{-129,-284,-261,-172,-116,-234},{-232,-282,-234,-150,-163,-175},{-129,-182,-190,-121,-118,-211},{-140,-201,-174,-144,-258,-247},{-181,-238,-149,-216,-223,-151},{-170,-259,-236,-242,-194,-119},{-286,-249,-168,-199,-129,-110},{-239,-169,-242,-185,-159,-216},{-243,-194,-224,-269,-206,-212},{-209,-257,-166,-119,-137,-153},{-234,-176,-184,-150,-129,-193},{-275,-157,-188,-211,-204,-225},{-178,-224,-194,-154,-138,-146},{-176,-169,-283,-158,-120,-205},{-163,-259,-156,-138,-183,-151},{-217,-286,-248,-131,-137,-135},{-297,-130,-267,-146,-226,-248},{-219,-234,-145,-166,-165,-182}},{{-112,-229,-137,-167,-163,-150},{-232,-155,-122,-92,-107,-102},{-181,-125,-94,-180,-109,-177},{-193,-165,-135,-171,-127,-163},{-229,-162,-170,-99,-141,-116},{-143,-152,-133,-100,-187,-92},{-182,-109,-187,-120,-190,-127},{-119,-223,-97,-120,-107,-87},{-181,-102,-209,-188,-143,-102},{-122,-185,-155,-135,-118,-127},{-126,-188,-155,-182,-164,-86},{-114,-167,-179,-202,-148,-178},{-141,-144,-100,-108,-132,-150},{-158,-165,-184,-190,-98,-167},{-208,-228,-177,-172,-125,-166},{-134,-219,-195,-188,-86,-153},{-120,-191,-193,-140,-107,-155},{-136,-111,-133,-141,-127,-188},{-146,-129,-155,-178,-197,-146},{-129,-216,-122,-103,-183,-193}},{{-105,-123,-130,-117,-83,-95},{-136,-98,-79,-154,-87,-127},{-86,-147,-95,-154,-143,-76},{-148,-83,-160,-87,-137,-117},{-153,-160,-130,-164,-82,-106},{-116,-170,-167,-108,-126,-87},{-121,-141,-124,-115,-81,-95},{-136,-107,-136,-167,-76,-142},{-180,-116,-78,-127,-150,-159},{-100,-101,-97,-127,-154,-115},{-132,-134,-144,-115,-163,-71},{-185,-152,-146,-139,-148,-88},{-129,-164,-174,-123,-140,-106},{-104,-142,-133,-88,-75,-117},{-186,-107,-110,-146,-136,-93},{-130,-152,-110,-83,-131,-137},{-133,-136,-131,-98,-107,-124},{-178,-112,-134,-94,-74,-127},{-166,-108,-115,-73,-146,-96},{-160,-145,-136,-123,-107,-96}},{{-149,-76,-167,-151,-140,-76},{-151,-137,-129,-158,-78,-137},{-77,-159,-73,-165,-94,-131},{-93,-167,-125,-111,-139,-101},{-120,-124,-132,-106,-78,-83},{-146,-88,-130,-87,-132,-147},{-154,-130,-101,-75,-74,-97},{-120,-101,-151,-71,-150,-76},{-118,-80,-136,-83,-117,-107},{-112,-107,-150,-96,-157,-176},{-115,-142,-81,-79,-132,-113},{-129,-131,-151,-124,-109,-118},{-156,-162,-88,-130,-100,-94},{-112,-77,-106,-71,-171,-105},{-73,-112,-99,-161,-84,-78},{-114,-158,-107,-93,-123,-158},{-109,-130,-114,-115,-113,-136},{-80,-165,-143,-146,-111,-163},{-80,-90,-94,-102,-102,-101},{-142,-76,-130,-144,-137,-108}}},{{{-250,-298,-237,-221,-234,-298},{-234,-351,-340,-231,-162,-160},{-184,-168,-263,-237,-269,-178},{-207,-223,-362,-277,-215,-181},{-226,-314,-160,-332,-354,-356},{-197,-327,-162,-367,-186,-298},{-340,-234,-348,-359,-215,-221},{-346,-271,-215,-192,-322,-176},{-207,-370,-295,-223,-250,-372},{-255,-309,-367,-290,-253,-223},{-184,-317,-231,-245,-223,-242},{-351,-309,-327,-192,-282,-322},{-226,-287,-295,-210,-290,-234},{-332,-354,-194,-170,-290,-263},{-362,-356,-322,-338,-202,-317},{-231,-229,-263,-271,-367,-160},{-277,-287,-250,-261,-210,-218},{-332,-279,-245,-250,-346,-303},{-372,-178,-282,-207,-237,-266},{-253,-274,-356,-325,-370,-330}},{{-332,-205,-343,-303,-364,-355},{-261,-338,-181,-317,-220,-197},{-231,-338,-314,-338,-168,-308},{-245,-330,-263,-162,-176,-186},{-335,-170,-181,-330,-196,-337},{-301,-317,-181,-221,-338,-355},{-332,-194,-367,-359,-348,-267},{-285,-290,-170,-253,-204,-342},{-218,-247,-359,-255,-291,-339},{-314,-277,-239,-165,-304,-241},{-277,-215,-221,-263,-367,-319},{-282,-277,-309,-367,-362,-233},{-229,-181,-372,-266,-199,-155},{-202,-237,-306,-189,-160,-174},{-192,-168,-263,-226,-288,-228},{-354,-325,-258,-348,-354,-215},{-303,-218,-176,-173,-288,-298},{-359,-250,-309,-306,-228,-171},{-247,-351,-362,-173,-244,-311},{-370,-207,-229,-253,-194,-223}},{{-189,-331,-219,-201,-252,-258},{-357,-233,-194,-203,-162,-159},{-298,-207,-328,-156,-333,-277},{-306,-192,-249,-176,-265,-333},{-228,-276,-275,-238,-255,-306},{-319,-240,-290,-166,-296,-202},{-275,-286,-164,-312,-306,-316},{-303,-329,-227,-337,-247,-299},{-321,-243,-192,-176,-174,-200},{-326,-342,-333,-322,-176,-149},{-329,-200,-307,-228,-154,-186},{-293,-331,-323,-213,-265,-265},{-321,-195,-270,-258,-211,-157},{-295,-268,-320,-216,-245,-282},{-339,-253,-154,-275,-343,-328},{-158,-152,-300,-228,-213,-255},{-256,-243,-312,-191,-267,-212},{-163,-258,-292,-322,-260,-270},{-158,-324,-310,-275,-289,-229},{-339,-278,-318,-188,-245,-217}},{{-217,-235,-176,-175,-172,-269},{-236,-197,-224,-320,-222,-137},{-152,-282,-182,-269,-273,-271},{-159,-212,-247,-242,-213,-284},{-181,-282,-303,-200,-155,-269},{-207,-212,-233,-221,-280,-204},{-276,-284,-284,-196,-240,-215},{-176,-291,-240,-269,-249,-226},{-143,-226,-206,-255,-282,-253},{-288,-202,-298,-294,-139,-282},{-333,-200,-157,-202,-244,-224},{-159,-221,-273,-255,-242,-269},{-205,-244,-199,-140,-143,-186},{-274,-181,-219,-200,-204,-271},{-238,-261,-185,-228,-159,-217},{-155,-214,-280,-205,-139,-296},{-333,-317,-162,-262,-253,-164},{-171,-251,-293,-288,-244,-271},{-162,-256,-249,-228,-181,-298},{-238,-209,-268,-198,-284,-276}},{{-150,-143,-139,-293,-302,-293},{-180,-193,-286,-148,-195,-139},{-145,-269,-282,-193,-150,-299},{-240,-171,-247,-247,-200,-271},{-229,-232,-295,-241,-228,-150},{-147,-234,-245,-206,-297,-210},{-227,-206,-263,-213,-158,-154},{-169,-150,-132,-176,-299,-141},{-282,-276,-304,-269,-167,-234},{-242,-158,-271,-152,-158,-137},{-202,-232,-182,-267,-254,-228},{-156,-267,-202,-228,-148,-219},{-200,-174,-265,-295,-148,-295},{-268,-139,-161,-241,-228,-145},{-183,-230,-137,-289,-191,-230},{-260,-295,-161,-256,-178,-217},{-169,-208,-180,-271,-167,-250},{-194,-187,-130,-304,-254,-213},{-231,-230,-256,-180,-202,-161},{-141,-291,-163,-232,-250,-239}},{{-154,-260,-206,-221,-132,-295},{-221,-217,-187,-158,-273,-217},{-161,-213,-230,-152,-241,-302},{-269,-193,-265,-152,-228,-258},{-154,-193,-171,-145,-200,-174},{-263,-210,-215,-184,-169,-289},{-139,-260,-237,-176,-243,-137},{-304,-197,-265,-150,-237,-200},{-150,-250,-226,-234,-139,-297},{-252,-163,-202,-137,-204,-204},{-239,-150,-141,-256,-167,-184},{-293,-228,-299,-276,-273,-280},{-282,-210,-256,-161,-182,-256},{-200,-195,-158,-286,-241,-304},{-232,-182,-282,-208,-282,-243},{-273,-154,-302,-280,-167,-247},{-169,-234,-284,-228,-197,-245},{-252,-195,-187,-169,-197,-171},{-143,-197,-182,-191,-210,-202},{-148,-263,-154,-252,-215,-150}}},{{{-220,-361,-361,-346,-331,-181},{-397,-418,-322,-388,-334,-195},{-379,-232,-340,-250,-415,-320},{-340,-190,-205,-235,-271,-255},{-289,-226,-418,-199,-202,-411},{-256,-274,-298,-223,-319,-263},{-202,-361,-388,-220,-187,-296},{-316,-421,-352,-238,-277,-385},{-331,-274,-418,-184,-253,-219},{-355,-310,-271,-331,-334,-376},{-274,-196,-217,-364,-238,-263},{-382,-283,-247,-358,-376,-272},{-244,-373,-304,-190,-280,-260},{-241,-256,-316,-301,-181,-346},{-247,-373,-376,-229,-289,-400},{-268,-181,-376,-313,-403,-346},{-238,-316,-217,-220,-340,-305},{-394,-193,-235,-223,-298,-272},{-277,-412,-337,-337,-232,-204},{-400,-301,-229,-349,-355,-320}},{{-337,-339,-182,-298,-344,-288},{-384,-195,-207,-243,-262,-344},{-381,-215,-238,-186,-252,-218},{-249,-316,-297,-175,-162,-190},{-384,-255,-314,-167,-363,-249},{-293,-319,-182,-284,-321,-249},{-284,-402,-316,-270,-159,-182},{-243,-362,-316,-276,-162,-185},{-407,-301,-305,-270,-337,-190},{-396,-364,-232,-188,-228,-267},{-308,-284,-378,-202,-305,-326},{-272,-373,-202,-358,-231,-170},{-375,-244,-230,-289,-299,-244},{-366,-187,-244,-314,-347,-154},{-369,-287,-182,-366,-297,-242},{-340,-238,-272,-167,-188,-337},{-308,-192,-339,-273,-339,-357},{-208,-333,-297,-262,-270,-247},{-275,-287,-381,-229,-321,-290},{-366,-232,-286,-254,-347,-157}},{{-246,-226,-227,-148,-184,-248},{-226,-175,-245,-261,-144,-220},{-179,-149,-263,-236,-189,-125},{-248,-226,-243,-135,-240,-149},{-310,-199,-284,-228,-146,-269},{-335,-226,-245,-206,-204,-149},{-171,-302,-181,-137,-231,-192},{-342,-245,-282,-250,-284,-188},{-208,-329,-321,-166,-282,-230},{-283,-242,-218,-197,-273,-190},{-270,-271,-316,-164,-131,-178},{-290,-218,-224,-217,-252,-212},{-308,-182,-277,-259,-223,-208},{-164,-317,-206,-137,-180,-283},{-198,-178,-263,-197,-269,-232},{-236,-281,-218,-201,-167,-279},{-347,-240,-192,-168,-201,-230},{-312,-173,-167,-245,-216,-166},{-268,-334,-266,-170,-161,-127},{-250,-173,-277,-276,-267,-224}},{{-248,-260,-123,-143,-232,-129},{-256,-130,-224,-114,-106,-164},{-171,-206,-135,-213,-206,-113},{-237,-117,-242,-222,-108,-113},{-142,-117,-146,-175,-204,-142},{-163,-218,-121,-175,-149,-174},{-246,-171,-135,-187,-139,-208},{-254,-143,-206,-210,-224,-122},{-149,-167,-123,-122,-176,-113},{-268,-158,-142,-210,-128,-172},{-192,-231,-166,-167,-226,-167},{-252,-143,-219,-169,-143,-188},{-132,-158,-199,-175,-208,-204},{-239,-246,-134,-186,-229,-158},{-217,-180,-222,-194,-211,-200},{-124,-112,-130,-165,-161,-145},{-151,-253,-148,-122,-199,-217},{-260,-119,-130,-187,-214,-196},{-233,-121,-212,-237,-208,-159},{-248,-201,-167,-103,-128,-109}},{{-95,-139,-92,-168,-176,-179},{-128,-165,-102,-114,-102,-182},{-168,-216,-208,-160,-146,-116},{-170,-92,-146,-192,-123,-162},{-129,-102,-209,-120,-194,-117},{-162,-149,-97,-131,-125,-168},{-120,-102,-125,-154,-182,-163},{-203,-191,-111,-154,-146,-196},{-175,-102,-196,-159,-169,-109},{-214,-211,-137,-159,-183,-95},{-179,-213,-186,-179,-92,-180},{-125,-126,-126,-99,-189,-154},{-178,-156,-211,-182,-208,-196},{-134,-171,-148,-162,-102,-125},{-197,-163,-148,-136,-166,-214},{-161,-105,-119,-163,-136,-191},{-186,-151,-179,-151,-145,-179},{-125,-112,-154,-208,-213,-97},{-126,-125,-142,-120,-151,-112},{-209,-208,-117,-159,-139,-119}},{{-134,-137,-212,-118,-145,-243},{-102,-99,-177,-181,-124,-221},{-209,-140,-215,-235,-133,-145},{-109,-173,-151,-190,-206,-148},{-179,-164,-165,-180,-131,-165},{-208,-105,-138,-227,-173,-134},{-145,-156,-131,-197,-208,-130},{-106,-219,-105,-155,-193,-136},{-119,-108,-156,-218,-110,-224},{-188,-180,-157,-129,-107,-217},{-197,-137,-199,-181,-178,-139},{-194,-213,-102,-101,-212,-132},{-112,-221,-212,-215,-196,-214},{-180,-183,-152,-166,-126,-228},{-112,-156,-107,-218,-193,-168},{-109,-99,-207,-108,-121,-181},{-108,-154,-211,-141,-210,-154},{-172,-149,-134,-109,-177,-167},{-163,-199,-156,-141,-163,-237},{-106,-99,-211,-202,-149,-159}}},{{{-294,-322,-368,-402,-410,-392},{-413,-438,-434,-322,-350,-402},{-368,-406,-374,-256,-455,-378},{-343,-368,-378,-424,-273,-438},{-476,-315,-329,-480,-308,-308},{-231,-466,-469,-487,-385,-392},{-455,-290,-448,-294,-483,-318},{-220,-392,-476,-385,-416,-434},{-294,-458,-343,-448,-402,-368},{-294,-354,-270,-343,-395,-238},{-238,-462,-416,-430,-424,-395},{-374,-304,-371,-217,-228,-294},{-466,-332,-266,-382,-399,-410},{-476,-270,-392,-357,-385,-290},{-420,-276,-483,-458,-214,-416},{-483,-326,-322,-252,-455,-354},{-298,-392,-469,-231,-241,-273},{-238,-329,-483,-420,-214,-483},{-410,-392,-322,-483,-413,-318},{-382,-234,-262,-410,-346,-329}},{{-313,-425,-241,-227,-384,-335},{-473,-439,-458,-374,-417,-213},{-480,-364,-336,-458,-440,-290},{-285,-223,-370,-244,-272,-200},{-237,-439,-444,-237,-420,-193},{-233,-460,-359,-240,-426,-422},{-299,-206,-315,-407,-292,-332},{-282,-298,-329,-321,-279,-374},{-383,-285,-220,-271,-417,-396},{-278,-316,-224,-441,-380,-196},{-397,-209,-285,-344,-272,-435},{-320,-213,-332,-301,-394,-316},{-484,-312,-308,-354,-377,-280},{-292,-398,-224,-311,-269,-254},{-473,-477,-332,-237,-364,-322},{-452,-412,-271,-301,-282,-406},{-209,-388,-464,-367,-456,-222},{-463,-230,-353,-234,-456,-277},{-456,-326,-264,-207,-374,-248},{-327,-298,-308,-451,-423,-335}},{{-280,-256,-354,-325,-256,-242},{-397,-293,-408,-284,-262,-359},{-261,-314,-342,-340,-376,-231},{-265,-296,-303,-261,-308,-373},{-416,-394,-282,-390,-285,-264},{-369,-416,-336,-355,-191,-378},{-350,-277,-396,-237,-191,-222},{-205,-428,-372,-410,-171,-278},{-438,-299,-189,-220,-359,-314},{-239,-209,-240,-393,-365,-336},{-211,-382,-372,-217,-200,-208},{-277,-200,-333,-316,-368,-256},{-239,-385,-414,-284,-177,-281},{-296,-271,-399,-278,-362,-270},{-438,-299,-384,-237,-305,-211},{-306,-336,-315,-325,-231,-309},{-233,-299,-198,-190,-302,-375},{-369,-219,-384,-176,-399,-373},{-410,-311,-195,-366,-262,-261},{-328,-283,-228,-231,-202,-325}},{{-354,-176,-213,-233,-233,-249},{-359,-218,-216,-181,-172,-184},{-216,-347,-316,-276,-274,-251},{-300,-174,-218,-349,-309,-253},{-310,-297,-229,-251,-206,-287},{-216,-281,-316,-241,-314,-215},{-219,-176,-231,-241,-184,-265},{-364,-166,-272,-228,-272,-244},{-373,-308,-326,-223,-282,-325},{-289,-337,-224,-349,-323,-315},{-224,-218,-303,-294,-314,-251},{-319,-163,-175,-218,-216,-261},{-308,-200,-175,-271,-186,-213},{-319,-268,-239,-223,-164,-265},{-194,-276,-190,-236,-284,-241},{-265,-355,-347,-341,-270,-227},{-197,-221,-280,-274,-203,-323},{-310,-226,-180,-299,-198,-275},{-367,-171,-180,-254,-250,-148},{-270,-174,-339,-344,-162,-253}},{{-156,-201,-178,-289,-310,-150},{-315,-270,-199,-159,-139,-256},{-204,-284,-176,-300,-280,-192},{-301,-173,-185,-275,-243,-238},{-322,-162,-164,-300,-277,-162},{-152,-245,-289,-150,-305,-284},{-303,-316,-231,-316,-185,-166},{-251,-266,-305,-312,-243,-277},{-332,-201,-139,-150,-310,-189},{-270,-182,-150,-180,-146,-243},{-308,-157,-201,-240,-289,-252},{-287,-275,-182,-164,-298,-275},{-270,-219,-312,-252,-243,-194},{-197,-293,-238,-215,-215,-173},{-175,-203,-323,-173,-305,-240},{-209,-173,-152,-247,-305,-155},{-185,-187,-219,-270,-275,-143},{-201,-196,-289,-150,-178,-277},{-299,-321,-280,-155,-203,-166},{-301,-261,-210,-217,-201,-229}},{{-226,-291,-142,-269,-240,-212},{-284,-319,-287,-176,-332,-285},{-298,-176,-228,-198,-271,-162},{-159,-286,-305,-198,-324,-182},{-194,-231,-277,-314,-259,-155},{-162,-210,-315,-324,-152,-308},{-206,-176,-214,-295,-276,-177},{-215,-293,-170,-243,-259,-310},{-231,-263,-287,-167,-327,-288},{-298,-185,-273,-143,-278,-212},{-245,-219,-326,-309,-177,-253},{-316,-152,-142,-324,-213,-167},{-155,-176,-233,-186,-276,-308},{-155,-178,-305,-324,-310,-170},{-159,-229,-147,-269,-198,-239},{-141,-146,-305,-145,-252,-231},{-256,-289,-219,-305,-327,-150},{-289,-259,-305,-259,-145,-184},{-210,-206,-261,-259,-339,-298},{-178,-171,-184,-181,-218,-261}}}}; // 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,5,16,8,5,16,9,6,16,9,6,16,9,6,16,8,6,17,9,6,16,8,6,17,8,6,17,9,6,17,9,6,17,9,6,18,9,6,18,9,6,18,9,6,18,9,6,17,9,6,17,9,6,17,8,6,17,8,6,17,9,6,17,8,6,16,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,744,745,746,747}}; // 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,1,7,13,19,25,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,2,6,10,14,18,22,26,30,2,8,14,20,26,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,0,4,8,12,16,20,24,28,1,7,13,19,25,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,0,4,8,12,16,20,24,28,32,2,8,14,20,26,32,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,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,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,2,8,14,20,26,32,0,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,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,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,0,4,8,12,16,20,24,28,32,2,8,14,20,26,32,0,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,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,2,6,10,14,18,22,26,30,34,2,8,14,20,26,32,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,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,1,7,13,19,25,31,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,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,1,7,13,19,25,31,0,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,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,1,7,13,19,25,31,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,2,8,14,20,26,32,0,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,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,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,0,6,12,18,24,30}; // 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,6,12,18,24,30,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,7,11,15,19,23,27,31,35,7,13,19,25,31,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,5,9,13,17,21,25,29,33,6,12,18,24,30,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,5,11,17,23,29,35,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,4,10,16,22,28,34,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,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,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,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,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,2,6,10,14,18,22,26,30,34,4,10,16,22,28,34,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,2,8,14,20,26,32,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,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,3,9,15,21,27,33,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,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,2,8,14,20,26,32,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,3,9,15,21,27,33,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,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,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,3,9,15,21,27,33,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,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,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,3,9,15,21,27,33,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,5,9,13,17,21,25,29,33,3,9,15,21,27,33}; // set of end times of each shipment 
