int Dev = 50;// Deviation
extern const int CNN = 4;// 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 = 746;//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]={{{{11458,0,0,0,0,0},{10265,0,0,0,0,0},{10080,0,0,0,0,0},{10966,0,0,0,0,0},{10882,0,0,0,0,0},{10470,0,0,0,0,0},{10617,0,0,0,0,0},{10739,0,0,0,0,0},{11182,0,0,0,0,0},{11466,0,0,0,0,0},{11531,0,0,0,0,0},{11078,0,0,0,0,0},{10967,0,0,0,0,0},{10894,0,0,0,0,0},{10854,0,0,0,0,0},{11023,0,0,0,0,0},{11177,0,0,0,0,0},{11311,0,0,0,0,0},{10001,0,0,0,0,0},{10380,0,0,0,0,0}},{{11099,0,0,0,0,0},{11274,0,0,0,0,0},{10186,0,0,0,0,0},{12041,0,0,0,0,0},{10778,0,0,0,0,0},{10688,0,0,0,0,0},{11084,0,0,0,0,0},{11048,0,0,0,0,0},{10726,0,0,0,0,0},{10796,0,0,0,0,0},{11238,0,0,0,0,0},{11458,0,0,0,0,0},{11450,0,0,0,0,0},{11381,0,0,0,0,0},{11098,0,0,0,0,0},{10715,0,0,0,0,0},{10906,0,0,0,0,0},{11047,0,0,0,0,0},{11006,0,0,0,0,0},{11340,0,0,0,0,0}},{{10098,0,0,0,0,0},{11667,0,0,0,0,0},{11300,0,0,0,0,0},{11082,0,0,0,0,0},{11481,0,0,0,0,0},{10610,0,0,0,0,0},{10980,0,0,0,0,0},{11870,0,0,0,0,0},{11304,0,0,0,0,0},{11537,0,0,0,0,0},{10704,0,0,0,0,0},{10707,0,0,0,0,0},{11246,0,0,0,0,0},{10388,0,0,0,0,0},{10546,0,0,0,0,0},{10580,0,0,0,0,0},{11489,0,0,0,0,0},{12290,0,0,0,0,0},{11435,0,0,0,0,0},{11073,0,0,0,0,0}},{{11030,0,0,0,0,0},{11231,0,0,0,0,0},{10691,0,0,0,0,0},{11910,0,0,0,0,0},{11114,0,0,0,0,0},{10591,0,0,0,0,0},{11197,0,0,0,0,0},{11346,0,0,0,0,0},{10651,0,0,0,0,0},{11525,0,0,0,0,0},{10191,0,0,0,0,0},{10743,0,0,0,0,0},{10778,0,0,0,0,0},{10740,0,0,0,0,0},{11787,0,0,0,0,0},{11556,0,0,0,0,0},{10747,0,0,0,0,0},{11452,0,0,0,0,0},{11118,0,0,0,0,0},{11849,0,0,0,0,0}},{{11419,0,0,0,0,0},{11007,0,0,0,0,0},{11474,0,0,0,0,0},{11799,0,0,0,0,0},{12079,0,0,0,0,0},{11157,0,0,0,0,0},{10627,0,0,0,0,0},{10886,0,0,0,0,0},{10931,0,0,0,0,0},{11473,0,0,0,0,0},{11377,0,0,0,0,0},{11080,0,0,0,0,0},{11492,0,0,0,0,0},{10532,0,0,0,0,0},{10704,0,0,0,0,0},{10750,0,0,0,0,0},{10580,0,0,0,0,0},{10840,0,0,0,0,0},{11172,0,0,0,0,0},{11384,0,0,0,0,0}},{{11036,0,0,0,0,0},{12004,0,0,0,0,0},{11210,0,0,0,0,0},{11590,0,0,0,0,0},{10948,0,0,0,0,0},{11092,0,0,0,0,0},{10876,0,0,0,0,0},{11835,0,0,0,0,0},{11318,0,0,0,0,0},{10785,0,0,0,0,0},{11139,0,0,0,0,0},{11497,0,0,0,0,0},{11135,0,0,0,0,0},{11243,0,0,0,0,0},{11595,0,0,0,0,0},{10504,0,0,0,0,0},{11120,0,0,0,0,0},{10943,0,0,0,0,0},{11404,0,0,0,0,0},{10231,0,0,0,0,0}}},{{{-332,-329,-213,-202,-164,-237},{-188,-309,-125,-116,-251,-181},{-132,-128,-242,-155,-224,-307},{-327,-320,-246,-278,-170,-213},{-298,-206,-300,-287,-197,-235},{-235,-302,-240,-287,-184,-146},{-327,-132,-258,-307,-121,-170},{-215,-121,-159,-280,-249,-148},{-284,-249,-186,-253,-121,-329},{-121,-314,-332,-199,-193,-112},{-235,-146,-320,-327,-305,-132},{-282,-121,-244,-260,-298,-125},{-307,-249,-186,-121,-309,-114},{-217,-121,-305,-157,-168,-186},{-208,-172,-130,-269,-276,-246},{-302,-255,-172,-251,-318,-134},{-175,-157,-253,-302,-251,-202},{-240,-282,-172,-137,-114,-148},{-258,-318,-121,-152,-152,-157},{-228,-282,-166,-271,-134,-264}},{{-188,-130,-318,-233,-334,-242},{-231,-298,-323,-291,-146,-320},{-193,-177,-114,-116,-282,-273},{-289,-116,-296,-258,-190,-172},{-235,-208,-260,-267,-220,-217},{-184,-208,-134,-130,-155,-253},{-137,-298,-220,-220,-208,-305},{-170,-323,-204,-300,-220,-208},{-267,-166,-300,-164,-112,-213},{-184,-184,-159,-260,-112,-139},{-291,-329,-237,-271,-300,-159},{-329,-269,-300,-280,-226,-224},{-125,-172,-309,-323,-249,-278},{-298,-206,-186,-172,-184,-325},{-267,-293,-307,-141,-190,-233},{-309,-211,-334,-132,-132,-121},{-249,-318,-280,-220,-159,-159},{-206,-267,-190,-159,-237,-231},{-166,-215,-137,-296,-152,-199},{-224,-157,-166,-287,-262,-181}},{{-155,-148,-284,-336,-202,-282},{-119,-197,-228,-316,-215,-323},{-211,-224,-235,-244,-217,-273},{-157,-170,-213,-172,-237,-332},{-320,-121,-231,-159,-258,-186},{-116,-220,-146,-287,-298,-157},{-177,-278,-226,-150,-116,-141},{-240,-175,-251,-269,-181,-249},{-280,-282,-273,-334,-186,-244},{-264,-152,-166,-114,-316,-311},{-323,-141,-186,-179,-278,-224},{-267,-267,-329,-260,-193,-132},{-305,-242,-278,-233,-251,-255},{-213,-204,-137,-296,-289,-184},{-217,-195,-123,-296,-197,-137},{-224,-197,-170,-242,-309,-159},{-157,-327,-318,-267,-152,-197},{-249,-119,-255,-139,-119,-334},{-318,-323,-204,-255,-125,-220},{-233,-211,-307,-224,-155,-199}},{{-249,-296,-269,-316,-226,-179},{-269,-305,-146,-132,-320,-246},{-204,-307,-242,-220,-150,-139},{-329,-228,-190,-213,-179,-155},{-273,-291,-132,-309,-323,-125},{-293,-186,-152,-237,-125,-260},{-123,-139,-327,-128,-267,-134},{-119,-329,-128,-146,-271,-318},{-148,-237,-132,-325,-195,-197},{-121,-258,-164,-255,-208,-224},{-199,-137,-253,-116,-155,-311},{-323,-137,-217,-215,-177,-217},{-215,-287,-181,-161,-329,-298},{-220,-329,-255,-181,-152,-164},{-293,-172,-258,-168,-112,-155},{-307,-146,-150,-128,-186,-271},{-215,-251,-298,-220,-179,-204},{-237,-177,-244,-112,-157,-255},{-141,-262,-141,-235,-168,-305},{-164,-148,-258,-298,-181,-311}},{{-172,-217,-244,-233,-222,-262},{-284,-164,-327,-199,-300,-181},{-152,-228,-246,-296,-309,-318},{-164,-244,-170,-302,-172,-170},{-139,-222,-220,-305,-311,-161},{-318,-311,-161,-130,-121,-112},{-148,-134,-121,-305,-215,-327},{-318,-116,-244,-146,-289,-181},{-188,-112,-211,-170,-242,-336},{-186,-119,-188,-320,-166,-235},{-251,-112,-309,-311,-242,-332},{-166,-123,-213,-298,-139,-289},{-323,-222,-164,-206,-195,-307},{-184,-289,-278,-302,-240,-217},{-220,-300,-320,-305,-296,-329},{-251,-289,-273,-289,-181,-166},{-114,-161,-249,-123,-150,-334},{-175,-278,-260,-255,-195,-130},{-190,-320,-159,-215,-123,-190},{-168,-204,-246,-233,-226,-148}},{{-175,-184,-222,-193,-177,-224},{-161,-155,-255,-323,-255,-327},{-305,-172,-264,-166,-255,-141},{-258,-311,-302,-298,-128,-123},{-197,-271,-336,-228,-152,-121},{-276,-211,-323,-139,-320,-311},{-311,-114,-298,-287,-199,-298},{-134,-114,-325,-220,-211,-161},{-141,-325,-296,-267,-237,-132},{-204,-213,-327,-130,-217,-251},{-222,-240,-112,-307,-116,-195},{-300,-155,-222,-211,-323,-197},{-269,-284,-298,-327,-258,-150},{-159,-141,-233,-224,-249,-197},{-193,-316,-195,-305,-267,-168},{-121,-298,-316,-291,-143,-211},{-307,-237,-329,-309,-220,-255},{-262,-251,-267,-161,-298,-251},{-269,-251,-137,-195,-186,-260},{-130,-139,-166,-132,-309,-276}}},{{{-231,-171,-333,-345,-283,-178},{-202,-295,-178,-138,-183,-171},{-131,-226,-205,-307,-307,-178},{-317,-283,-162,-207,-319,-181},{-214,-136,-357,-129,-245,-333},{-176,-281,-300,-355,-238,-167},{-262,-278,-276,-269,-283,-131},{-317,-240,-202,-314,-321,-174},{-138,-262,-343,-340,-150,-307},{-129,-240,-205,-345,-248,-355},{-278,-319,-138,-340,-176,-333},{-233,-298,-152,-343,-209,-226},{-271,-357,-155,-143,-314,-190},{-240,-143,-195,-245,-259,-278},{-286,-167,-140,-226,-324,-198},{-209,-319,-126,-231,-248,-138},{-355,-257,-169,-131,-133,-324},{-300,-143,-188,-186,-250,-255},{-164,-214,-312,-271,-205,-347},{-143,-200,-290,-155,-164,-159}},{{-231,-259,-293,-347,-236,-138},{-267,-252,-250,-350,-143,-129},{-221,-136,-195,-171,-150,-264},{-133,-317,-293,-290,-328,-176},{-164,-195,-340,-152,-324,-138},{-290,-288,-202,-243,-219,-145},{-264,-307,-307,-228,-236,-274},{-283,-169,-202,-174,-350,-152},{-347,-190,-264,-248,-245,-314},{-267,-281,-126,-298,-357,-347},{-138,-352,-314,-309,-264,-243},{-245,-219,-221,-298,-326,-121},{-278,-333,-252,-345,-345,-174},{-245,-231,-240,-355,-198,-195},{-302,-143,-317,-245,-248,-228},{-236,-152,-300,-131,-224,-274},{-274,-331,-131,-262,-138,-231},{-252,-302,-164,-286,-131,-219},{-162,-121,-317,-274,-212,-219},{-257,-281,-319,-350,-340,-195}},{{-343,-262,-136,-317,-121,-293},{-293,-236,-174,-312,-331,-276},{-267,-243,-328,-259,-248,-321},{-126,-347,-317,-259,-124,-188},{-331,-131,-338,-238,-343,-121},{-340,-136,-207,-271,-302,-259},{-338,-278,-140,-143,-236,-119},{-164,-226,-207,-278,-150,-243},{-214,-188,-188,-309,-129,-224},{-252,-338,-293,-338,-336,-336},{-319,-307,-214,-131,-333,-250},{-155,-264,-286,-205,-252,-119},{-248,-200,-271,-355,-278,-293},{-157,-193,-174,-231,-143,-276},{-305,-162,-269,-324,-136,-269},{-286,-243,-307,-233,-190,-321},{-355,-267,-214,-317,-136,-300},{-319,-288,-328,-214,-293,-317},{-321,-214,-181,-264,-300,-138},{-314,-181,-347,-188,-248,-328}},{{-302,-328,-352,-138,-159,-350},{-214,-152,-164,-355,-333,-276},{-155,-181,-186,-236,-300,-126},{-167,-183,-233,-221,-226,-171},{-259,-245,-150,-155,-259,-126},{-167,-343,-126,-126,-155,-252},{-143,-262,-288,-181,-286,-345},{-119,-231,-290,-248,-193,-129},{-276,-271,-217,-133,-126,-124},{-162,-257,-295,-336,-238,-248},{-145,-236,-248,-193,-252,-181},{-174,-340,-312,-262,-200,-288},{-190,-243,-167,-186,-152,-150},{-174,-119,-257,-347,-278,-286},{-326,-352,-345,-245,-238,-286},{-255,-226,-271,-224,-183,-252},{-221,-333,-264,-300,-212,-231},{-309,-164,-286,-293,-312,-133},{-145,-157,-324,-131,-150,-202},{-286,-243,-176,-131,-190,-286}},{{-133,-357,-188,-312,-252,-262},{-145,-267,-214,-157,-150,-274},{-312,-357,-138,-136,-238,-312},{-276,-269,-245,-314,-336,-219},{-228,-255,-152,-231,-331,-345},{-200,-295,-257,-278,-271,-317},{-228,-233,-217,-357,-240,-305},{-178,-164,-250,-169,-209,-307},{-343,-212,-274,-152,-124,-340},{-271,-238,-190,-281,-248,-212},{-264,-205,-224,-205,-343,-195},{-290,-152,-186,-267,-155,-202},{-233,-162,-169,-245,-298,-131},{-164,-174,-236,-226,-221,-269},{-150,-143,-205,-209,-212,-264},{-307,-200,-209,-350,-183,-267},{-305,-228,-243,-143,-140,-133},{-138,-309,-169,-169,-162,-243},{-226,-255,-131,-324,-155,-257},{-317,-264,-309,-200,-169,-226}},{{-133,-326,-321,-338,-181,-262},{-283,-255,-238,-214,-264,-321},{-214,-243,-338,-138,-133,-198},{-293,-324,-269,-333,-248,-233},{-255,-267,-295,-224,-283,-319},{-355,-212,-326,-193,-233,-219},{-155,-269,-238,-150,-226,-267},{-181,-347,-350,-274,-350,-136},{-233,-207,-314,-248,-228,-312},{-248,-324,-167,-231,-305,-305},{-231,-233,-159,-340,-238,-228},{-347,-336,-169,-352,-252,-212},{-262,-176,-278,-121,-217,-178},{-157,-240,-207,-278,-209,-188},{-219,-326,-207,-129,-345,-212},{-338,-176,-238,-205,-136,-157},{-324,-314,-138,-207,-236,-171},{-190,-207,-314,-150,-333,-336},{-136,-245,-262,-138,-200,-340},{-264,-281,-309,-255,-238,-186}}},{{{-358,-218,-314,-229,-213,-325},{-216,-311,-205,-358,-175,-191},{-284,-197,-319,-191,-390,-278},{-330,-254,-158,-401,-191,-382},{-366,-202,-393,-194,-379,-227},{-349,-188,-401,-147,-205,-254},{-358,-243,-240,-382,-235,-194},{-306,-156,-374,-142,-240,-180},{-311,-177,-396,-177,-276,-172},{-156,-278,-341,-240,-401,-188},{-235,-251,-175,-325,-385,-207},{-158,-191,-147,-183,-197,-156},{-161,-229,-186,-145,-202,-270},{-401,-341,-336,-322,-270,-355},{-194,-308,-210,-393,-213,-175},{-205,-177,-276,-360,-186,-366},{-358,-153,-158,-235,-328,-232},{-399,-325,-311,-257,-197,-216},{-227,-188,-207,-292,-147,-240},{-262,-276,-164,-284,-183,-161}},{{-295,-227,-276,-358,-262,-257},{-322,-314,-270,-396,-172,-251},{-317,-202,-270,-262,-330,-292},{-369,-333,-352,-308,-202,-410},{-311,-369,-142,-191,-158,-207},{-399,-147,-388,-248,-197,-379},{-229,-336,-262,-251,-330,-191},{-319,-358,-377,-180,-289,-161},{-145,-270,-317,-268,-289,-235},{-347,-194,-153,-311,-167,-205},{-270,-298,-139,-147,-136,-371},{-197,-347,-281,-199,-273,-216},{-388,-377,-248,-169,-213,-216},{-366,-369,-341,-259,-295,-262},{-145,-199,-139,-207,-377,-366},{-183,-227,-388,-221,-246,-352},{-393,-153,-210,-401,-374,-158},{-270,-379,-371,-303,-295,-308},{-276,-319,-390,-207,-278,-322},{-284,-221,-172,-300,-139,-232}},{{-369,-136,-175,-355,-270,-145},{-199,-314,-339,-298,-262,-259},{-213,-183,-281,-265,-360,-363},{-197,-167,-257,-298,-205,-202},{-248,-278,-303,-360,-328,-251},{-399,-191,-248,-172,-175,-207},{-259,-344,-292,-172,-330,-199},{-388,-390,-205,-407,-276,-289},{-311,-265,-188,-270,-142,-273},{-273,-238,-257,-145,-164,-289},{-161,-139,-136,-248,-366,-183},{-284,-243,-399,-243,-311,-224},{-366,-147,-319,-278,-292,-172},{-254,-169,-172,-347,-164,-360},{-136,-246,-393,-322,-153,-243},{-363,-333,-401,-311,-177,-341},{-145,-295,-194,-240,-172,-407},{-363,-336,-385,-382,-339,-246},{-268,-191,-295,-262,-336,-330},{-396,-229,-186,-399,-390,-292}},{{-202,-358,-322,-229,-262,-248},{-268,-243,-197,-227,-295,-369},{-169,-377,-341,-172,-147,-229},{-281,-358,-325,-385,-328,-344},{-347,-371,-202,-358,-235,-246},{-248,-292,-369,-371,-202,-360},{-382,-399,-202,-369,-325,-191},{-136,-410,-259,-308,-404,-399},{-194,-363,-139,-183,-355,-295},{-360,-136,-349,-385,-308,-300},{-352,-175,-341,-390,-164,-248},{-344,-142,-197,-147,-355,-205},{-349,-325,-183,-191,-273,-344},{-358,-377,-407,-300,-229,-194},{-216,-303,-382,-210,-366,-330},{-339,-319,-197,-172,-139,-295},{-221,-142,-344,-191,-298,-328},{-404,-322,-344,-246,-167,-314},{-289,-292,-175,-319,-352,-385},{-360,-139,-330,-210,-371,-319}},{{-172,-319,-202,-218,-257,-161},{-407,-322,-360,-169,-306,-333},{-161,-145,-379,-385,-202,-175},{-388,-355,-202,-336,-349,-188},{-344,-393,-295,-259,-404,-227},{-243,-379,-248,-188,-382,-259},{-139,-167,-328,-194,-248,-259},{-399,-273,-390,-287,-388,-363},{-390,-314,-218,-227,-246,-145},{-322,-330,-347,-390,-333,-169},{-336,-207,-227,-246,-360,-284},{-197,-164,-292,-319,-257,-207},{-377,-319,-377,-382,-385,-379},{-167,-216,-259,-336,-158,-349},{-175,-306,-232,-347,-341,-177},{-150,-319,-145,-330,-371,-276},{-238,-156,-369,-319,-404,-213},{-330,-314,-328,-328,-232,-164},{-229,-308,-213,-325,-161,-344},{-207,-377,-298,-319,-164,-136}},{{-210,-379,-268,-142,-393,-317},{-374,-262,-347,-390,-194,-259},{-396,-289,-207,-366,-314,-341},{-306,-156,-396,-295,-262,-328},{-153,-224,-333,-172,-202,-390},{-224,-188,-349,-352,-172,-161},{-371,-284,-167,-393,-194,-363},{-153,-199,-194,-333,-306,-270},{-292,-259,-221,-292,-339,-259},{-303,-341,-153,-308,-259,-410},{-246,-136,-314,-262,-352,-207},{-191,-289,-213,-333,-382,-281},{-393,-319,-167,-136,-339,-298},{-167,-270,-390,-317,-322,-363},{-341,-268,-363,-328,-158,-344},{-349,-388,-289,-197,-142,-227},{-205,-202,-139,-186,-377,-314},{-186,-213,-308,-216,-360,-232},{-292,-399,-300,-393,-369,-213},{-218,-164,-194,-221,-161,-314}}},{{{-152,-85,-216,-185,-209,-148},{-134,-146,-180,-226,-202,-95},{-168,-139,-214,-79,-166,-146},{-99,-109,-80,-92,-102,-126},{-95,-168,-177,-120,-126,-97},{-129,-160,-143,-112,-214,-132},{-160,-149,-226,-125,-109,-128},{-92,-156,-77,-151,-191,-152},{-225,-88,-102,-129,-202,-165},{-157,-134,-86,-217,-186,-156},{-177,-229,-106,-122,-205,-156},{-196,-231,-200,-229,-223,-140},{-220,-156,-116,-196,-217,-112},{-88,-148,-86,-125,-102,-223},{-80,-148,-116,-114,-99,-188},{-188,-126,-132,-112,-171,-194},{-160,-182,-211,-222,-223,-102},{-123,-132,-86,-202,-223,-214},{-79,-211,-108,-163,-219,-89},{-80,-183,-120,-194,-82,-129}},{{-126,-77,-106,-83,-148,-120},{-211,-205,-97,-140,-205,-154},{-149,-85,-202,-214,-171,-177},{-131,-149,-111,-95,-228,-129},{-125,-222,-186,-102,-108,-95},{-145,-169,-205,-231,-171,-99},{-163,-217,-157,-168,-146,-182},{-146,-216,-116,-151,-86,-95},{-211,-208,-171,-109,-196,-97},{-223,-83,-156,-116,-182,-95},{-166,-172,-129,-216,-80,-114},{-120,-91,-179,-172,-117,-209},{-208,-108,-174,-174,-169,-91},{-213,-192,-99,-186,-112,-162},{-132,-140,-85,-225,-79,-182},{-194,-149,-105,-91,-86,-172},{-154,-86,-80,-105,-83,-131},{-208,-92,-226,-111,-169,-139},{-136,-151,-139,-122,-134,-108},{-132,-114,-209,-183,-217,-183}},{{-88,-174,-217,-123,-80,-83},{-203,-95,-202,-117,-162,-199},{-125,-103,-220,-189,-166,-205},{-200,-231,-163,-91,-79,-100},{-122,-213,-129,-186,-222,-211},{-156,-94,-117,-146,-122,-183},{-132,-89,-137,-192,-200,-194},{-217,-228,-125,-122,-125,-229},{-222,-136,-79,-197,-159,-168},{-196,-228,-213,-146,-216,-169},{-220,-123,-136,-223,-146,-220},{-145,-117,-126,-199,-163,-142},{-174,-85,-140,-206,-209,-77},{-172,-91,-100,-111,-182,-139},{-142,-122,-219,-152,-172,-79},{-145,-217,-203,-116,-106,-172},{-134,-186,-217,-111,-131,-214},{-188,-203,-185,-117,-192,-186},{-125,-189,-125,-231,-185,-194},{-111,-159,-126,-214,-129,-91}},{{-213,-95,-77,-95,-111,-112},{-180,-123,-229,-182,-172,-220},{-176,-154,-188,-171,-128,-142},{-88,-196,-219,-119,-188,-134},{-197,-196,-160,-95,-125,-145},{-142,-100,-179,-171,-165,-114},{-191,-203,-116,-106,-163,-163},{-156,-214,-79,-132,-194,-183},{-166,-119,-223,-137,-186,-157},{-228,-139,-163,-117,-142,-116},{-89,-117,-156,-105,-188,-131},{-205,-116,-229,-205,-199,-142},{-99,-122,-192,-171,-209,-219},{-88,-108,-143,-80,-169,-149},{-151,-200,-146,-176,-176,-200},{-220,-216,-159,-225,-120,-220},{-162,-168,-223,-99,-123,-180},{-225,-196,-191,-172,-145,-189},{-169,-169,-80,-213,-159,-131},{-109,-189,-171,-134,-200,-223}},{{-160,-205,-94,-208,-208,-226},{-160,-166,-156,-105,-189,-177},{-80,-171,-169,-226,-160,-139},{-189,-80,-188,-179,-217,-189},{-209,-100,-165,-219,-165,-185},{-197,-122,-222,-214,-77,-112},{-123,-180,-131,-220,-140,-145},{-159,-140,-151,-109,-132,-102},{-213,-180,-154,-191,-142,-176},{-88,-197,-149,-163,-123,-112},{-192,-136,-148,-199,-223,-77},{-95,-99,-183,-214,-213,-117},{-79,-228,-95,-166,-206,-219},{-214,-136,-191,-82,-91,-180},{-128,-192,-122,-117,-226,-189},{-188,-188,-188,-142,-231,-205},{-142,-132,-205,-139,-139,-216},{-174,-160,-185,-156,-89,-202},{-189,-209,-149,-182,-106,-229},{-102,-143,-129,-213,-108,-171}},{{-88,-220,-94,-183,-194,-183},{-122,-216,-79,-140,-91,-86},{-223,-169,-148,-83,-200,-180},{-185,-109,-209,-123,-194,-216},{-149,-128,-117,-169,-222,-128},{-108,-223,-179,-148,-105,-91},{-185,-95,-143,-114,-120,-116},{-149,-220,-102,-136,-202,-194},{-217,-106,-83,-106,-129,-91},{-231,-180,-160,-169,-172,-82},{-162,-122,-117,-180,-108,-123},{-152,-172,-145,-86,-162,-188},{-89,-80,-154,-192,-137,-165},{-163,-197,-202,-188,-182,-116},{-134,-203,-125,-154,-152,-128},{-139,-213,-142,-122,-194,-99},{-148,-165,-197,-228,-159,-223},{-180,-162,-106,-157,-140,-102},{-103,-194,-217,-222,-100,-206},{-172,-154,-123,-109,-189,-191}}},{{{-169,-198,-182,-198,-158,-153},{-184,-271,-93,-153,-144,-116},{-129,-138,-200,-129,-102,-264},{-173,-95,-204,-131,-147,-147},{-242,-207,-180,-257,-167,-95},{-164,-269,-195,-215,-106,-113},{-144,-142,-258,-131,-158,-162},{-207,-235,-253,-142,-138,-193},{-186,-100,-155,-173,-193,-116},{-169,-169,-271,-91,-228,-177},{-235,-198,-129,-193,-215,-106},{-202,-229,-195,-98,-187,-189},{-166,-158,-246,-111,-229,-229},{-178,-91,-91,-204,-204,-142},{-189,-155,-167,-228,-153,-135},{-96,-124,-175,-107,-269,-191},{-151,-177,-106,-147,-228,-136},{-167,-218,-162,-93,-209,-149},{-147,-131,-187,-124,-222,-238},{-268,-246,-228,-124,-220,-220}},{{-206,-102,-144,-140,-124,-111},{-166,-180,-191,-237,-147,-166},{-118,-184,-146,-146,-107,-102},{-226,-260,-178,-253,-260,-235},{-153,-269,-129,-102,-248,-131},{-169,-151,-140,-126,-175,-238},{-98,-207,-262,-207,-155,-91},{-189,-262,-268,-169,-113,-142},{-187,-264,-217,-242,-135,-173},{-238,-109,-122,-233,-153,-202},{-184,-160,-169,-271,-164,-166},{-151,-142,-242,-260,-175,-204},{-206,-98,-100,-193,-218,-191},{-102,-249,-253,-107,-122,-200},{-197,-251,-262,-96,-175,-169},{-171,-167,-102,-182,-129,-169},{-136,-240,-224,-180,-116,-144},{-140,-224,-224,-184,-167,-184},{-240,-206,-142,-95,-186,-220},{-175,-242,-209,-160,-118,-271}},{{-102,-160,-106,-115,-271,-231},{-242,-147,-109,-215,-153,-186},{-189,-197,-111,-268,-153,-136},{-115,-115,-215,-253,-266,-209},{-220,-262,-180,-228,-191,-142},{-116,-189,-224,-237,-173,-217},{-167,-248,-237,-257,-129,-237},{-220,-140,-167,-198,-213,-271},{-229,-180,-178,-177,-158,-120},{-178,-160,-257,-126,-187,-237},{-93,-258,-155,-198,-109,-169},{-162,-215,-147,-182,-215,-186},{-113,-162,-189,-126,-228,-213},{-111,-138,-169,-96,-238,-138},{-242,-120,-220,-233,-171,-262},{-244,-237,-166,-231,-238,-173},{-96,-189,-264,-160,-142,-160},{-251,-273,-116,-229,-182,-242},{-131,-242,-133,-151,-211,-146},{-257,-260,-138,-175,-249,-238}},{{-266,-207,-271,-162,-226,-262},{-177,-144,-209,-255,-204,-220},{-147,-244,-257,-204,-198,-136},{-162,-251,-248,-217,-268,-129},{-155,-269,-220,-268,-155,-257},{-209,-189,-229,-266,-173,-207},{-202,-107,-222,-198,-135,-187},{-169,-111,-138,-224,-140,-171},{-173,-231,-266,-233,-220,-258},{-240,-266,-246,-237,-157,-193},{-226,-189,-262,-169,-126,-100},{-253,-195,-107,-96,-126,-146},{-93,-246,-93,-217,-200,-166},{-200,-173,-135,-116,-140,-151},{-191,-158,-211,-147,-258,-180},{-215,-220,-167,-158,-120,-193},{-98,-187,-184,-204,-109,-93},{-102,-244,-124,-242,-242,-209},{-269,-93,-155,-122,-175,-238},{-206,-258,-268,-140,-273,-200}},{{-222,-149,-213,-91,-113,-268},{-146,-149,-260,-235,-268,-167},{-167,-164,-138,-204,-273,-206},{-133,-207,-191,-157,-207,-180},{-229,-217,-237,-126,-240,-266},{-226,-178,-235,-191,-95,-175},{-244,-238,-207,-173,-177,-118},{-131,-95,-153,-116,-124,-238},{-202,-235,-271,-149,-187,-253},{-158,-271,-120,-269,-226,-140},{-169,-151,-197,-191,-146,-249},{-266,-191,-140,-266,-96,-262},{-248,-153,-189,-149,-224,-198},{-255,-257,-211,-204,-198,-122},{-213,-175,-144,-189,-244,-226},{-166,-133,-198,-184,-98,-262},{-102,-126,-222,-122,-182,-229},{-209,-197,-255,-153,-209,-129},{-218,-158,-149,-235,-169,-120},{-220,-222,-242,-204,-266,-202}},{{-238,-149,-115,-142,-151,-193},{-126,-153,-251,-218,-160,-222},{-187,-122,-264,-264,-171,-211},{-257,-217,-149,-215,-240,-197},{-213,-213,-135,-220,-218,-177},{-177,-146,-147,-253,-160,-158},{-180,-149,-116,-175,-211,-138},{-258,-191,-91,-186,-184,-266},{-158,-257,-200,-167,-233,-164},{-191,-140,-260,-104,-146,-228},{-193,-269,-164,-180,-153,-211},{-240,-189,-173,-171,-260,-96},{-228,-140,-155,-198,-264,-248},{-180,-164,-127,-228,-96,-231},{-178,-204,-218,-202,-189,-127},{-269,-91,-151,-217,-102,-202},{-240,-182,-115,-104,-178,-222},{-226,-164,-215,-157,-184,-100},{-106,-257,-269,-167,-98,-220},{-228,-124,-118,-248,-253,-116}}},{{{-132,-240,-172,-272,-284,-272},{-203,-176,-162,-201,-343,-358},{-172,-321,-198,-279,-260,-162},{-208,-306,-174,-289,-132,-350},{-220,-167,-225,-208,-267,-287},{-272,-154,-130,-223,-326,-152},{-140,-277,-238,-162,-365,-162},{-265,-328,-206,-135,-145,-176},{-181,-218,-162,-223,-164,-336},{-301,-228,-353,-294,-255,-164},{-345,-208,-159,-363,-174,-260},{-196,-279,-162,-326,-245,-299},{-304,-348,-272,-270,-235,-127},{-323,-316,-132,-184,-348,-311},{-225,-162,-353,-336,-358,-284},{-184,-270,-272,-345,-152,-164},{-350,-181,-257,-196,-164,-265},{-230,-323,-345,-250,-333,-240},{-162,-216,-186,-306,-186,-162},{-181,-218,-272,-174,-360,-198}},{{-311,-341,-196,-311,-353,-216},{-245,-149,-203,-186,-142,-167},{-167,-363,-169,-172,-338,-328},{-355,-272,-208,-299,-294,-201},{-304,-252,-328,-201,-252,-272},{-250,-216,-179,-235,-311,-147},{-316,-265,-223,-345,-154,-216},{-172,-323,-213,-130,-363,-355},{-238,-311,-223,-140,-174,-149},{-206,-358,-260,-216,-247,-142},{-154,-287,-167,-294,-216,-282},{-233,-184,-321,-321,-181,-296},{-331,-218,-152,-323,-265,-216},{-348,-125,-343,-127,-198,-279},{-355,-233,-181,-360,-140,-176},{-368,-355,-250,-355,-213,-172},{-309,-184,-336,-355,-287,-206},{-179,-220,-164,-287,-316,-196},{-191,-348,-294,-311,-306,-333},{-336,-211,-179,-331,-328,-265}},{{-176,-198,-137,-331,-265,-196},{-240,-309,-304,-191,-225,-230},{-348,-191,-201,-179,-292,-245},{-309,-164,-360,-243,-360,-289},{-365,-272,-343,-358,-208,-145},{-208,-154,-311,-292,-206,-245},{-321,-145,-140,-243,-314,-365},{-326,-225,-365,-216,-333,-279},{-250,-211,-365,-309,-125,-363},{-247,-152,-157,-348,-157,-287},{-365,-274,-152,-130,-247,-233},{-220,-154,-368,-149,-211,-250},{-289,-282,-225,-191,-257,-191},{-125,-255,-328,-289,-157,-336},{-203,-331,-296,-174,-181,-235},{-142,-140,-218,-365,-145,-189},{-216,-272,-130,-318,-289,-169},{-179,-350,-142,-149,-230,-321},{-277,-125,-348,-230,-292,-238},{-228,-164,-157,-265,-272,-284}},{{-157,-176,-132,-299,-211,-122},{-208,-181,-260,-265,-235,-284},{-159,-282,-363,-130,-301,-186},{-321,-284,-368,-296,-228,-270},{-201,-191,-311,-338,-294,-172},{-162,-137,-127,-304,-228,-132},{-284,-358,-162,-301,-179,-213},{-235,-301,-130,-282,-321,-167},{-355,-198,-145,-304,-196,-194},{-270,-255,-311,-235,-284,-225},{-142,-213,-220,-203,-172,-181},{-252,-149,-201,-245,-191,-368},{-216,-240,-191,-294,-341,-179},{-159,-326,-147,-164,-140,-363},{-326,-169,-127,-181,-299,-343},{-341,-265,-294,-363,-365,-260},{-240,-142,-130,-167,-167,-328},{-311,-289,-331,-137,-127,-172},{-304,-323,-225,-243,-245,-328},{-368,-211,-365,-225,-360,-341}},{{-299,-135,-174,-301,-338,-211},{-154,-238,-274,-287,-137,-252},{-223,-301,-228,-250,-211,-314},{-301,-179,-149,-328,-257,-301},{-208,-176,-318,-154,-368,-326},{-174,-208,-247,-321,-345,-314},{-154,-348,-179,-162,-309,-318},{-147,-326,-336,-306,-252,-345},{-311,-255,-260,-169,-125,-292},{-355,-294,-145,-243,-174,-333},{-326,-274,-135,-145,-368,-282},{-282,-208,-287,-174,-270,-296},{-169,-270,-162,-176,-125,-196},{-137,-252,-147,-179,-299,-279},{-145,-149,-122,-157,-230,-228},{-213,-172,-154,-287,-196,-240},{-294,-274,-230,-225,-218,-233},{-159,-267,-142,-142,-223,-176},{-172,-358,-363,-230,-172,-333},{-137,-162,-272,-350,-309,-365}},{{-270,-235,-270,-162,-304,-267},{-230,-345,-287,-360,-274,-331},{-230,-314,-341,-341,-216,-194},{-328,-284,-145,-162,-191,-127},{-331,-206,-262,-152,-196,-135},{-272,-365,-189,-365,-287,-142},{-287,-282,-149,-228,-360,-350},{-201,-314,-194,-309,-368,-159},{-179,-304,-306,-220,-338,-323},{-277,-127,-272,-159,-225,-127},{-296,-355,-287,-318,-355,-323},{-284,-245,-233,-169,-296,-296},{-294,-174,-233,-235,-368,-186},{-343,-279,-140,-296,-233,-238},{-127,-167,-363,-318,-257,-365},{-321,-149,-172,-274,-338,-272},{-140,-345,-179,-333,-176,-238},{-125,-157,-247,-279,-274,-363},{-289,-323,-294,-284,-272,-358},{-140,-208,-179,-172,-282,-243}}},{{{-319,-321,-340,-155,-215,-243},{-240,-201,-298,-238,-319,-314},{-243,-148,-243,-122,-303,-266},{-129,-148,-134,-189,-268,-261},{-266,-330,-213,-224,-321,-263},{-141,-296,-215,-268,-256,-143},{-270,-337,-129,-340,-259,-286},{-273,-328,-116,-178,-219,-146},{-236,-316,-231,-293,-289,-229},{-243,-346,-321,-256,-330,-199},{-252,-323,-247,-307,-321,-122},{-337,-192,-321,-254,-291,-155},{-273,-254,-180,-259,-286,-125},{-120,-231,-129,-176,-189,-335},{-284,-185,-238,-213,-178,-243},{-240,-141,-210,-321,-229,-203},{-286,-319,-296,-252,-280,-210},{-224,-291,-266,-219,-259,-323},{-203,-249,-120,-213,-300,-270},{-280,-280,-194,-199,-293,-139}},{{-231,-159,-187,-247,-326,-148},{-293,-252,-238,-173,-236,-316},{-120,-192,-305,-215,-312,-176},{-192,-208,-307,-321,-316,-245},{-346,-125,-284,-305,-305,-323},{-215,-270,-182,-263,-263,-268},{-333,-201,-206,-166,-215,-159},{-217,-268,-132,-310,-337,-143},{-238,-233,-259,-150,-238,-307},{-120,-307,-280,-296,-273,-136},{-238,-321,-314,-120,-342,-132},{-282,-236,-337,-169,-182,-189},{-291,-238,-118,-185,-157,-139},{-277,-307,-203,-254,-303,-291},{-176,-259,-282,-289,-247,-122},{-157,-157,-259,-116,-213,-219},{-146,-155,-321,-182,-185,-127},{-120,-286,-270,-305,-141,-273},{-206,-224,-293,-286,-146,-166},{-196,-169,-155,-176,-148,-215}},{{-155,-182,-203,-231,-139,-300},{-231,-268,-333,-346,-215,-252},{-316,-171,-122,-270,-185,-219},{-224,-164,-201,-122,-249,-340},{-152,-259,-282,-157,-203,-148},{-346,-289,-337,-178,-303,-268},{-284,-152,-266,-136,-155,-215},{-326,-314,-252,-125,-300,-132},{-192,-134,-238,-182,-210,-236},{-303,-240,-196,-182,-210,-314},{-141,-120,-243,-148,-252,-155},{-231,-139,-136,-319,-155,-132},{-122,-319,-139,-118,-280,-189},{-261,-215,-273,-282,-178,-275},{-208,-152,-236,-185,-300,-213},{-155,-120,-229,-150,-296,-152},{-319,-340,-226,-203,-346,-316},{-139,-344,-259,-268,-254,-296},{-210,-199,-164,-125,-346,-215},{-206,-171,-217,-116,-254,-157}},{{-344,-139,-284,-201,-233,-171},{-268,-305,-155,-116,-233,-116},{-240,-141,-307,-273,-217,-150},{-152,-321,-284,-323,-245,-152},{-125,-210,-152,-289,-148,-261},{-344,-335,-224,-213,-243,-157},{-344,-182,-342,-164,-226,-141},{-296,-310,-282,-289,-146,-201},{-157,-152,-118,-229,-280,-185},{-233,-238,-132,-266,-217,-150},{-157,-215,-319,-203,-240,-252},{-270,-243,-328,-231,-240,-159},{-134,-201,-159,-286,-125,-312},{-236,-162,-275,-139,-187,-316},{-291,-303,-282,-176,-194,-143},{-342,-270,-316,-261,-134,-305},{-120,-164,-298,-249,-314,-273},{-118,-247,-344,-185,-180,-247},{-261,-134,-152,-240,-319,-187},{-296,-298,-203,-268,-192,-280}},{{-148,-340,-291,-300,-247,-346},{-252,-307,-185,-146,-182,-245},{-199,-307,-310,-159,-178,-282},{-346,-321,-173,-122,-291,-319},{-321,-171,-252,-337,-210,-282},{-171,-333,-284,-118,-192,-166},{-150,-275,-192,-266,-203,-337},{-312,-185,-231,-148,-178,-182},{-164,-266,-222,-132,-275,-243},{-263,-231,-321,-328,-171,-201},{-229,-127,-224,-238,-273,-139},{-330,-326,-176,-224,-236,-305},{-245,-222,-143,-326,-261,-238},{-136,-182,-173,-224,-249,-162},{-252,-199,-182,-277,-208,-275},{-143,-238,-236,-291,-261,-116},{-229,-337,-210,-169,-275,-118},{-127,-189,-335,-312,-344,-286},{-231,-273,-307,-180,-245,-259},{-300,-219,-328,-213,-284,-185}},{{-270,-247,-206,-217,-293,-245},{-141,-344,-330,-263,-321,-316},{-125,-217,-291,-129,-187,-233},{-201,-226,-178,-330,-178,-129},{-229,-312,-180,-340,-185,-199},{-286,-226,-120,-213,-125,-203},{-122,-213,-273,-231,-259,-282},{-342,-284,-249,-231,-277,-249},{-210,-270,-182,-231,-148,-316},{-155,-157,-233,-127,-215,-229},{-136,-192,-222,-192,-182,-282},{-275,-208,-261,-247,-249,-298},{-122,-164,-210,-157,-328,-146},{-277,-146,-247,-337,-231,-245},{-305,-286,-243,-141,-136,-340},{-155,-261,-182,-280,-238,-129},{-249,-323,-240,-155,-222,-293},{-208,-323,-252,-229,-164,-229},{-164,-252,-150,-185,-203,-312},{-252,-157,-173,-330,-284,-171}}},{{{-432,-244,-159,-259,-365,-306},{-209,-179,-338,-203,-326,-220},{-218,-382,-153,-194,-159,-182},{-388,-376,-294,-370,-409,-297},{-171,-159,-173,-200,-341,-218},{-273,-206,-379,-220,-200,-209},{-406,-162,-150,-171,-223,-182},{-326,-441,-223,-315,-400,-394},{-241,-282,-315,-341,-379,-441},{-288,-326,-329,-409,-215,-171},{-376,-232,-262,-300,-429,-153},{-388,-309,-353,-253,-153,-423},{-173,-417,-356,-159,-435,-429},{-297,-285,-235,-356,-362,-344},{-406,-215,-344,-323,-397,-203},{-432,-320,-397,-368,-379,-238},{-356,-362,-165,-326,-415,-279},{-323,-176,-320,-370,-365,-356},{-250,-282,-417,-153,-171,-265},{-168,-323,-312,-332,-415,-162}},{{-318,-215,-388,-379,-315,-347},{-253,-206,-335,-265,-353,-438},{-179,-362,-270,-391,-182,-179},{-253,-409,-162,-347,-300,-265},{-400,-185,-244,-173,-179,-332},{-326,-185,-400,-268,-173,-309},{-350,-270,-429,-156,-209,-215},{-420,-244,-238,-312,-229,-250},{-235,-215,-194,-420,-262,-176},{-400,-368,-270,-435,-241,-238},{-312,-220,-315,-212,-318,-435},{-241,-385,-318,-288,-268,-394},{-256,-300,-370,-297,-435,-435},{-288,-209,-323,-338,-200,-244},{-356,-303,-150,-323,-391,-415},{-165,-356,-432,-426,-297,-315},{-329,-300,-412,-323,-253,-376},{-394,-223,-420,-200,-209,-206},{-185,-318,-241,-368,-326,-323},{-423,-238,-359,-420,-188,-423}},{{-276,-368,-200,-262,-206,-194},{-235,-341,-315,-388,-241,-282},{-315,-376,-244,-397,-282,-150},{-294,-429,-288,-438,-353,-250},{-212,-409,-329,-285,-253,-250},{-268,-253,-256,-147,-182,-262},{-423,-306,-347,-417,-182,-412},{-226,-344,-191,-429,-282,-362},{-403,-420,-385,-276,-420,-282},{-312,-209,-276,-197,-429,-426},{-215,-397,-241,-438,-362,-423},{-232,-318,-412,-432,-270,-147},{-379,-412,-315,-406,-165,-262},{-370,-391,-220,-197,-250,-338},{-285,-276,-162,-232,-379,-241},{-250,-162,-226,-162,-262,-162},{-356,-279,-347,-226,-291,-382},{-415,-373,-329,-309,-256,-288},{-388,-326,-332,-394,-215,-403},{-229,-259,-209,-323,-215,-373}},{{-338,-253,-182,-218,-423,-265},{-435,-338,-291,-156,-403,-156},{-288,-147,-285,-370,-388,-438},{-329,-432,-212,-300,-285,-373},{-406,-300,-168,-362,-256,-282},{-206,-309,-165,-350,-282,-265},{-394,-176,-368,-262,-270,-347},{-297,-215,-315,-429,-344,-438},{-312,-206,-318,-429,-347,-247},{-423,-268,-291,-435,-153,-291},{-162,-329,-429,-203,-209,-388},{-265,-265,-232,-206,-218,-409},{-423,-215,-429,-297,-206,-279},{-226,-318,-306,-244,-441,-312},{-309,-376,-312,-432,-341,-232},{-291,-347,-215,-329,-318,-247},{-438,-315,-168,-420,-223,-309},{-329,-320,-332,-329,-438,-259},{-265,-347,-400,-417,-259,-323},{-441,-168,-262,-185,-223,-391}},{{-259,-282,-391,-426,-400,-191},{-173,-341,-265,-238,-212,-382},{-253,-432,-294,-218,-403,-326},{-426,-320,-212,-391,-259,-288},{-209,-309,-191,-388,-247,-432},{-332,-332,-165,-347,-409,-185},{-350,-291,-220,-156,-303,-153},{-200,-420,-203,-315,-297,-182},{-209,-188,-388,-238,-329,-268},{-359,-432,-262,-244,-153,-403},{-426,-426,-173,-229,-259,-373},{-229,-306,-359,-347,-338,-329},{-232,-435,-244,-279,-303,-438},{-226,-329,-350,-223,-303,-256},{-400,-229,-176,-388,-226,-165},{-176,-312,-188,-150,-429,-209},{-300,-426,-256,-241,-179,-388},{-368,-315,-315,-332,-185,-326},{-194,-276,-318,-353,-253,-417},{-306,-391,-265,-350,-303,-212}},{{-306,-226,-235,-441,-165,-282},{-276,-250,-212,-362,-306,-315},{-226,-247,-273,-388,-403,-153},{-347,-250,-203,-323,-394,-420},{-182,-300,-226,-417,-265,-320},{-320,-323,-200,-268,-400,-329},{-194,-285,-226,-438,-168,-203},{-423,-382,-417,-300,-326,-373},{-329,-197,-156,-388,-329,-379},{-373,-268,-197,-191,-441,-253},{-197,-394,-335,-250,-262,-441},{-256,-235,-326,-229,-338,-253},{-417,-259,-323,-294,-423,-282},{-359,-150,-394,-270,-388,-285},{-388,-279,-347,-238,-415,-182},{-188,-385,-359,-212,-244,-182},{-156,-347,-220,-376,-268,-229},{-159,-344,-253,-403,-347,-159},{-203,-365,-215,-247,-232,-312},{-253,-412,-206,-223,-323,-241}}}}; // supply (positive for supply and negative for demand) under different scenarios 
int iniv[I]={1841,192,221,150,198,208,315,198,294}; // initial inventory 
int ubiv[I]={2104,384,442,300,396,416,630,396,588}; // 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.32,8.46,5.6,4.24,2.89,1.51,4.53,7.74}; // 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.11,7.69,5.09,3.85,2.63,1.37,4.12,7.04}}; // 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.69,9.69,9.69,8.48,8.48,8.48,7.27,7.27,7.27,6.15,6.15,6.15,5.38,5.38,5.38,4.61,4.61,4.61,4.07,4.07,4.07,3.56,3.56,3.56,3.05,3.05,3.05,3.08,3.08,3.08,2.7,2.7,2.7,2.31,2.31,2.31,2.1,2.1,2.1,1.84,1.84,1.84,1.58,1.58,1.58,1.1,1.1,1.1,0.96,0.96,0.96,0.82,0.82,0.82,3.3,3.3,3.3,2.88,2.88,2.88,2.47,2.47,2.47,5.63,5.63,5.63,4.93,4.93,4.93,4.22,4.22,4.22}; // 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]={16,8,5,15,8,5,16,8,6,17,8,6,16,8,6,16,8,6,17,8,6,17,8,6,17,9,6,16,9,6,16,9,6,17,8,6,18,9,6,17,9,6,17,9,6,18,9,6,18,9,6,17,9,6,17,9,6,17,8,6,17,8,6,16,9,6,16,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,744,745}}; // set of shipments in each bid 
int SHsts[SPN]={0,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,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,1,5,9,13,17,21,25,29,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,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,1,5,9,13,17,21,25,29,2,8,14,20,26,32,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,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,0,6,12,18,24,30,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,2,8,14,20,26,32,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,1,7,13,19,25,31,0,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,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,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,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,1,5,9,13,17,21,25,29,33,2,8,14,20,26,32,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,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,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,0,6,12,18,24,30,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,0,6,12,18,24,30,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,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,2,6,10,14,18,22,26,30,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,1,7,13,19,25,31}; // set of start times of each shipment 
int SHets[SPN]={5,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,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,6,10,14,18,22,26,30,34,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,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,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,4,8,12,16,20,24,28,32,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,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,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,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,4,10,16,22,28,34,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,1,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,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,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,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,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,2,6,10,14,18,22,26,30,34,1,7,13,19,25,31,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,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,2,8,14,20,26,32,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,2,8,14,20,26,32,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,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,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,4,8,12,16,20,24,28,32,4,10,16,22,28,34}; // set of end times of each shipment 
