int Dev = 50;// Deviation
extern const int CNN = 2;// 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 = 747;//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]={{{{11594,0,0,0,0,0},{11759,0,0,0,0,0},{10850,0,0,0,0,0},{10844,0,0,0,0,0},{11959,0,0,0,0,0},{11345,0,0,0,0,0},{10461,0,0,0,0,0},{10307,0,0,0,0,0},{11210,0,0,0,0,0},{10964,0,0,0,0,0},{9953,0,0,0,0,0},{11635,0,0,0,0,0},{10204,0,0,0,0,0},{11527,0,0,0,0,0},{11149,0,0,0,0,0},{10724,0,0,0,0,0},{11226,0,0,0,0,0},{10608,0,0,0,0,0},{10597,0,0,0,0,0},{10504,0,0,0,0,0}},{{10820,0,0,0,0,0},{10349,0,0,0,0,0},{10614,0,0,0,0,0},{9967,0,0,0,0,0},{11188,0,0,0,0,0},{11370,0,0,0,0,0},{11209,0,0,0,0,0},{10547,0,0,0,0,0},{10900,0,0,0,0,0},{10595,0,0,0,0,0},{10466,0,0,0,0,0},{10649,0,0,0,0,0},{11360,0,0,0,0,0},{11269,0,0,0,0,0},{11202,0,0,0,0,0},{10863,0,0,0,0,0},{10781,0,0,0,0,0},{11552,0,0,0,0,0},{11872,0,0,0,0,0},{10948,0,0,0,0,0}},{{10877,0,0,0,0,0},{11149,0,0,0,0,0},{11018,0,0,0,0,0},{10926,0,0,0,0,0},{11725,0,0,0,0,0},{11299,0,0,0,0,0},{11771,0,0,0,0,0},{12014,0,0,0,0,0},{10964,0,0,0,0,0},{11341,0,0,0,0,0},{11383,0,0,0,0,0},{11392,0,0,0,0,0},{10960,0,0,0,0,0},{11214,0,0,0,0,0},{11201,0,0,0,0,0},{12247,0,0,0,0,0},{11059,0,0,0,0,0},{10751,0,0,0,0,0},{11283,0,0,0,0,0},{10874,0,0,0,0,0}},{{11285,0,0,0,0,0},{11127,0,0,0,0,0},{11674,0,0,0,0,0},{11303,0,0,0,0,0},{10012,0,0,0,0,0},{10331,0,0,0,0,0},{11336,0,0,0,0,0},{11405,0,0,0,0,0},{10681,0,0,0,0,0},{10444,0,0,0,0,0},{11291,0,0,0,0,0},{10950,0,0,0,0,0},{11929,0,0,0,0,0},{10456,0,0,0,0,0},{10784,0,0,0,0,0},{11100,0,0,0,0,0},{10546,0,0,0,0,0},{10697,0,0,0,0,0},{10217,0,0,0,0,0},{11554,0,0,0,0,0}},{{11166,0,0,0,0,0},{10401,0,0,0,0,0},{10128,0,0,0,0,0},{11275,0,0,0,0,0},{11574,0,0,0,0,0},{11603,0,0,0,0,0},{11516,0,0,0,0,0},{10958,0,0,0,0,0},{10942,0,0,0,0,0},{11076,0,0,0,0,0},{10669,0,0,0,0,0},{11171,0,0,0,0,0},{10659,0,0,0,0,0},{11274,0,0,0,0,0},{11083,0,0,0,0,0},{10608,0,0,0,0,0},{11769,0,0,0,0,0},{11054,0,0,0,0,0},{11703,0,0,0,0,0},{10545,0,0,0,0,0}},{{11065,0,0,0,0,0},{11670,0,0,0,0,0},{11249,0,0,0,0,0},{11135,0,0,0,0,0},{11468,0,0,0,0,0},{10841,0,0,0,0,0},{11243,0,0,0,0,0},{10059,0,0,0,0,0},{12144,0,0,0,0,0},{11341,0,0,0,0,0},{10554,0,0,0,0,0},{10980,0,0,0,0,0},{11308,0,0,0,0,0},{10873,0,0,0,0,0},{11322,0,0,0,0,0},{10508,0,0,0,0,0},{12217,0,0,0,0,0},{11903,0,0,0,0,0},{11487,0,0,0,0,0},{10944,0,0,0,0,0}}},{{{-305,-262,-193,-258,-289,-307},{-114,-164,-251,-267,-291,-282},{-269,-157,-121,-329,-280,-235},{-211,-175,-249,-228,-202,-291},{-233,-253,-262,-150,-148,-276},{-150,-255,-318,-251,-188,-130},{-269,-316,-251,-226,-260,-166},{-316,-291,-170,-298,-128,-228},{-244,-211,-320,-260,-249,-336},{-139,-302,-293,-168,-231,-146},{-204,-217,-112,-287,-128,-287},{-280,-134,-202,-305,-186,-235},{-222,-141,-193,-146,-197,-217},{-329,-291,-222,-255,-177,-287},{-298,-128,-166,-206,-327,-152},{-123,-291,-215,-155,-237,-150},{-179,-159,-325,-242,-190,-188},{-177,-334,-231,-175,-197,-208},{-137,-193,-240,-217,-132,-311},{-166,-293,-148,-251,-300,-181}},{{-175,-130,-262,-181,-152,-327},{-130,-197,-172,-125,-217,-264},{-155,-139,-159,-320,-123,-181},{-186,-125,-264,-217,-233,-217},{-332,-284,-231,-224,-213,-125},{-300,-141,-146,-164,-296,-123},{-152,-213,-175,-332,-116,-289},{-152,-240,-235,-336,-121,-255},{-273,-128,-298,-273,-262,-184},{-320,-235,-231,-244,-139,-240},{-157,-114,-287,-240,-146,-168},{-150,-139,-323,-155,-139,-237},{-170,-280,-320,-177,-224,-293},{-132,-228,-260,-155,-152,-264},{-235,-155,-177,-302,-220,-287},{-177,-186,-184,-159,-215,-293},{-150,-112,-224,-125,-202,-164},{-336,-323,-298,-184,-289,-314},{-240,-246,-262,-181,-213,-318},{-249,-300,-235,-231,-208,-121}},{{-293,-116,-119,-179,-255,-123},{-262,-143,-188,-255,-300,-249},{-273,-276,-193,-146,-320,-157},{-329,-287,-123,-143,-222,-258},{-246,-300,-128,-139,-278,-300},{-208,-302,-260,-276,-264,-179},{-233,-260,-336,-195,-334,-148},{-244,-314,-300,-155,-155,-215},{-152,-146,-296,-172,-141,-217},{-255,-186,-267,-213,-143,-159},{-316,-336,-289,-291,-116,-287},{-166,-143,-188,-128,-264,-206},{-179,-123,-309,-287,-175,-119},{-121,-271,-226,-289,-190,-233},{-134,-253,-175,-311,-255,-280},{-284,-309,-231,-320,-157,-302},{-179,-121,-222,-251,-123,-242},{-143,-287,-130,-327,-289,-260},{-184,-278,-166,-314,-305,-309},{-222,-159,-267,-116,-217,-224}},{{-332,-293,-309,-141,-172,-206},{-298,-150,-255,-146,-197,-193},{-235,-168,-293,-170,-329,-269},{-152,-276,-287,-253,-231,-197},{-168,-336,-114,-271,-128,-208},{-202,-287,-155,-228,-190,-146},{-329,-237,-152,-249,-119,-159},{-134,-190,-309,-253,-246,-273},{-309,-148,-193,-134,-150,-242},{-134,-190,-334,-280,-177,-215},{-262,-244,-139,-320,-262,-128},{-235,-159,-132,-298,-327,-336},{-148,-177,-323,-314,-172,-258},{-211,-316,-181,-157,-159,-168},{-164,-260,-269,-116,-311,-244},{-123,-123,-148,-159,-253,-309},{-336,-116,-137,-213,-327,-271},{-168,-235,-276,-206,-276,-251},{-172,-177,-148,-305,-119,-134},{-139,-336,-150,-228,-155,-172}},{{-267,-177,-222,-134,-298,-155},{-181,-284,-143,-208,-255,-217},{-307,-233,-280,-211,-323,-150},{-197,-215,-302,-116,-128,-202},{-242,-141,-121,-186,-220,-235},{-157,-168,-112,-282,-244,-190},{-188,-318,-284,-128,-271,-211},{-325,-269,-175,-181,-164,-311},{-323,-235,-132,-314,-298,-195},{-226,-193,-224,-123,-121,-125},{-267,-231,-307,-152,-184,-130},{-159,-231,-130,-273,-235,-311},{-199,-134,-316,-188,-125,-215},{-177,-215,-327,-264,-316,-309},{-130,-253,-143,-177,-253,-249},{-204,-184,-314,-242,-273,-228},{-139,-224,-206,-197,-159,-121},{-123,-128,-128,-184,-128,-329},{-231,-293,-336,-195,-157,-150},{-177,-168,-240,-269,-130,-309}},{{-255,-175,-116,-253,-130,-222},{-137,-260,-146,-309,-193,-213},{-336,-130,-251,-287,-168,-150},{-278,-246,-298,-242,-302,-318},{-166,-224,-305,-244,-298,-152},{-222,-152,-224,-309,-199,-280},{-184,-327,-228,-302,-161,-119},{-170,-320,-246,-112,-159,-228},{-300,-293,-327,-172,-318,-179},{-226,-228,-211,-170,-289,-139},{-195,-213,-320,-226,-215,-125},{-146,-181,-329,-249,-332,-224},{-287,-150,-139,-233,-255,-325},{-114,-291,-226,-150,-186,-197},{-278,-262,-284,-170,-197,-314},{-172,-323,-278,-119,-139,-150},{-318,-157,-116,-170,-316,-305},{-287,-134,-336,-233,-150,-332},{-199,-323,-159,-125,-255,-224},{-193,-300,-211,-260,-172,-157}}},{{{-317,-219,-259,-281,-193,-133},{-350,-174,-138,-217,-167,-264},{-307,-321,-195,-233,-193,-167},{-188,-150,-259,-162,-233,-188},{-319,-148,-317,-347,-164,-312},{-236,-255,-245,-178,-276,-295},{-169,-321,-152,-288,-248,-143},{-300,-131,-317,-164,-228,-145},{-340,-181,-276,-162,-317,-340},{-262,-136,-209,-286,-209,-267},{-195,-126,-255,-243,-162,-159},{-217,-328,-281,-136,-314,-136},{-236,-252,-126,-317,-305,-300},{-278,-245,-259,-159,-190,-133},{-186,-298,-140,-317,-293,-193},{-186,-140,-267,-126,-293,-131},{-267,-209,-231,-281,-155,-231},{-312,-200,-240,-162,-219,-231},{-240,-252,-169,-131,-243,-159},{-140,-350,-140,-331,-217,-167}},{{-136,-340,-293,-288,-300,-198},{-195,-133,-255,-262,-264,-250},{-305,-269,-245,-305,-331,-202},{-214,-157,-333,-248,-283,-148},{-252,-300,-221,-124,-176,-231},{-219,-305,-283,-281,-274,-195},{-169,-269,-283,-321,-286,-231},{-219,-314,-300,-155,-126,-238},{-178,-307,-148,-219,-148,-264},{-255,-236,-133,-221,-305,-228},{-343,-217,-259,-148,-167,-236},{-290,-271,-138,-207,-324,-183},{-186,-357,-145,-312,-233,-190},{-276,-157,-300,-269,-248,-207},{-243,-248,-133,-245,-129,-345},{-357,-314,-157,-224,-300,-259},{-269,-340,-129,-295,-174,-148},{-257,-295,-298,-190,-140,-238},{-217,-243,-214,-205,-343,-195},{-357,-212,-233,-319,-228,-198}},{{-347,-319,-248,-257,-240,-126},{-181,-209,-121,-295,-331,-209},{-157,-312,-155,-221,-357,-259},{-228,-148,-190,-162,-195,-257},{-345,-124,-305,-138,-302,-298},{-193,-219,-352,-300,-331,-319},{-188,-269,-286,-252,-281,-357},{-283,-312,-336,-148,-293,-290},{-164,-183,-131,-124,-293,-157},{-252,-324,-333,-150,-357,-267},{-176,-157,-295,-174,-181,-219},{-202,-255,-331,-288,-136,-169},{-221,-290,-205,-321,-312,-162},{-319,-195,-188,-181,-321,-293},{-264,-186,-205,-314,-228,-293},{-338,-181,-355,-345,-331,-267},{-157,-286,-300,-269,-174,-302},{-193,-195,-169,-193,-119,-255},{-226,-150,-233,-317,-347,-169},{-183,-119,-169,-293,-347,-340}},{{-205,-262,-302,-309,-338,-333},{-307,-331,-138,-228,-193,-267},{-350,-305,-312,-240,-181,-298},{-288,-181,-186,-236,-312,-162},{-186,-176,-333,-302,-186,-121},{-145,-162,-221,-119,-140,-298},{-259,-345,-312,-169,-333,-281},{-309,-326,-319,-233,-295,-198},{-217,-209,-271,-340,-255,-162},{-307,-245,-157,-333,-145,-186},{-288,-250,-129,-319,-274,-293},{-143,-143,-319,-336,-328,-171},{-228,-298,-298,-190,-271,-133},{-150,-181,-276,-233,-145,-276},{-328,-248,-267,-174,-190,-355},{-257,-269,-219,-131,-164,-167},{-264,-336,-159,-167,-352,-309},{-357,-198,-243,-176,-169,-295},{-121,-238,-281,-164,-314,-228},{-302,-300,-148,-119,-355,-300}},{{-219,-183,-278,-119,-302,-202},{-178,-221,-162,-162,-243,-228},{-228,-293,-136,-228,-243,-198},{-238,-343,-290,-188,-257,-228},{-357,-138,-302,-340,-150,-281},{-174,-133,-143,-243,-124,-331},{-164,-319,-324,-300,-267,-347},{-252,-321,-167,-162,-293,-278},{-319,-143,-278,-129,-217,-328},{-314,-319,-248,-198,-228,-176},{-178,-119,-259,-162,-238,-307},{-250,-269,-331,-133,-302,-267},{-295,-152,-355,-202,-281,-252},{-159,-274,-347,-233,-164,-152},{-212,-314,-343,-157,-324,-290},{-224,-138,-221,-312,-226,-240},{-347,-276,-274,-295,-298,-326},{-347,-255,-321,-145,-205,-240},{-283,-293,-357,-328,-119,-340},{-305,-155,-145,-178,-178,-345}},{{-352,-195,-252,-319,-226,-200},{-250,-190,-336,-133,-288,-347},{-143,-317,-340,-174,-298,-343},{-228,-167,-231,-276,-188,-340},{-200,-131,-207,-283,-186,-200},{-131,-317,-312,-209,-305,-221},{-340,-314,-343,-231,-326,-169},{-131,-178,-150,-233,-190,-164},{-350,-319,-281,-150,-138,-214},{-274,-181,-298,-295,-326,-326},{-264,-262,-245,-238,-202,-240},{-150,-326,-338,-119,-148,-193},{-336,-214,-186,-207,-238,-207},{-159,-357,-174,-340,-188,-281},{-226,-126,-250,-298,-228,-162},{-245,-293,-212,-136,-198,-290},{-347,-319,-295,-269,-271,-345},{-124,-357,-340,-214,-219,-245},{-200,-355,-267,-133,-155,-240},{-138,-190,-274,-255,-248,-162}}},{{{-150,-401,-229,-404,-281,-363},{-349,-399,-360,-235,-360,-292},{-156,-194,-207,-363,-221,-161},{-197,-281,-278,-246,-341,-289},{-205,-183,-333,-393,-276,-374},{-347,-349,-153,-156,-216,-210},{-314,-229,-177,-355,-169,-142},{-235,-183,-281,-136,-191,-352},{-360,-311,-363,-385,-153,-325},{-333,-287,-281,-270,-251,-388},{-161,-379,-202,-396,-172,-254},{-333,-401,-191,-183,-355,-401},{-268,-238,-218,-374,-306,-207},{-139,-240,-300,-284,-276,-295},{-358,-218,-390,-322,-150,-379},{-218,-142,-164,-210,-210,-369},{-314,-401,-218,-205,-142,-207},{-202,-393,-158,-278,-268,-142},{-289,-202,-210,-366,-404,-396},{-161,-259,-401,-276,-210,-314}},{{-175,-205,-355,-319,-300,-292},{-202,-169,-169,-379,-218,-319},{-235,-240,-229,-235,-382,-147},{-202,-169,-390,-224,-147,-177},{-410,-167,-268,-238,-161,-404},{-268,-358,-399,-281,-347,-218},{-410,-251,-194,-268,-349,-216},{-333,-197,-213,-186,-158,-339},{-371,-369,-158,-161,-328,-254},{-147,-197,-388,-330,-194,-248},{-333,-216,-289,-300,-145,-210},{-393,-142,-251,-243,-213,-243},{-308,-251,-347,-369,-172,-347},{-205,-183,-341,-358,-210,-363},{-325,-210,-295,-259,-399,-379},{-292,-232,-167,-139,-213,-390},{-268,-268,-388,-156,-216,-273},{-317,-289,-330,-142,-308,-251},{-145,-352,-366,-306,-317,-399},{-325,-197,-186,-390,-251,-161}},{{-213,-360,-336,-382,-333,-136},{-188,-254,-254,-355,-216,-248},{-207,-393,-218,-341,-390,-243},{-248,-295,-352,-377,-257,-319},{-298,-339,-396,-227,-396,-284},{-379,-248,-360,-262,-254,-278},{-388,-352,-339,-224,-292,-167},{-317,-224,-235,-344,-292,-407},{-339,-289,-339,-360,-224,-333},{-251,-303,-349,-355,-161,-218},{-175,-401,-240,-240,-330,-259},{-390,-273,-287,-336,-314,-358},{-319,-278,-300,-169,-390,-317},{-385,-366,-199,-382,-303,-270},{-303,-388,-257,-308,-194,-139},{-311,-306,-339,-314,-276,-202},{-221,-145,-218,-259,-142,-167},{-172,-276,-232,-341,-147,-221},{-328,-306,-306,-273,-207,-191},{-344,-317,-180,-349,-210,-295}},{{-289,-243,-194,-404,-235,-287},{-188,-341,-369,-270,-205,-167},{-377,-197,-232,-344,-218,-363},{-336,-300,-308,-153,-330,-377},{-319,-194,-330,-156,-238,-169},{-347,-317,-216,-180,-207,-273},{-388,-306,-317,-191,-317,-202},{-156,-308,-328,-410,-238,-136},{-390,-235,-257,-210,-377,-246},{-289,-366,-145,-161,-298,-347},{-243,-235,-175,-333,-369,-265},{-308,-344,-273,-287,-265,-325},{-333,-317,-379,-221,-147,-374},{-371,-175,-194,-188,-369,-210},{-407,-227,-303,-292,-336,-306},{-377,-139,-207,-145,-254,-306},{-158,-358,-281,-284,-183,-161},{-145,-333,-213,-268,-330,-369},{-202,-139,-401,-303,-292,-202},{-167,-407,-374,-284,-216,-289}},{{-145,-385,-311,-292,-172,-188},{-278,-319,-213,-306,-172,-259},{-388,-265,-164,-221,-336,-218},{-407,-232,-399,-259,-238,-246},{-248,-369,-306,-150,-278,-289},{-352,-172,-344,-259,-399,-374},{-145,-150,-202,-164,-393,-404},{-306,-235,-319,-147,-175,-224},{-265,-295,-401,-298,-268,-218},{-287,-358,-333,-292,-169,-240},{-292,-254,-257,-199,-369,-197},{-235,-262,-238,-317,-254,-156},{-317,-238,-221,-221,-393,-172},{-358,-317,-243,-300,-265,-360},{-246,-401,-197,-197,-284,-339},{-300,-224,-336,-158,-221,-292},{-221,-363,-164,-410,-401,-287},{-328,-139,-308,-341,-202,-197},{-172,-341,-194,-388,-158,-393},{-227,-287,-287,-369,-153,-268}},{{-281,-240,-333,-150,-366,-156},{-349,-308,-240,-330,-145,-344},{-142,-270,-347,-270,-371,-227},{-295,-145,-240,-404,-167,-298},{-366,-352,-254,-197,-352,-284},{-202,-139,-303,-186,-295,-325},{-156,-385,-251,-177,-205,-197},{-295,-363,-251,-216,-319,-235},{-377,-205,-377,-308,-317,-298},{-399,-366,-401,-218,-262,-254},{-227,-292,-325,-284,-298,-268},{-339,-319,-371,-360,-349,-240},{-382,-169,-363,-347,-393,-295},{-172,-221,-240,-191,-161,-289},{-169,-276,-273,-374,-358,-295},{-158,-147,-186,-139,-390,-202},{-295,-254,-407,-164,-210,-366},{-349,-366,-401,-410,-328,-240},{-281,-175,-229,-167,-404,-336},{-240,-262,-265,-349,-330,-382}}},{{{-200,-95,-183,-169,-209,-142},{-136,-159,-211,-171,-182,-185},{-106,-112,-166,-140,-103,-194},{-205,-160,-179,-219,-216,-189},{-205,-205,-219,-225,-199,-106},{-120,-225,-209,-145,-185,-213},{-120,-103,-100,-188,-80,-152},{-117,-131,-95,-122,-103,-134},{-196,-180,-85,-205,-152,-165},{-183,-143,-183,-211,-109,-120},{-125,-162,-85,-105,-131,-117},{-223,-196,-116,-109,-94,-154},{-169,-228,-120,-105,-188,-88},{-117,-120,-172,-123,-180,-183},{-140,-154,-174,-179,-205,-116},{-188,-171,-209,-117,-79,-128},{-197,-220,-222,-132,-122,-145},{-105,-145,-122,-154,-174,-168},{-174,-91,-159,-162,-185,-165},{-128,-199,-102,-91,-154,-225}},{{-94,-172,-216,-192,-206,-125},{-149,-136,-149,-112,-83,-172},{-189,-199,-117,-186,-216,-222},{-114,-92,-83,-211,-188,-99},{-137,-177,-162,-146,-126,-122},{-146,-126,-114,-223,-100,-171},{-132,-94,-185,-203,-194,-169},{-105,-80,-174,-109,-105,-145},{-125,-206,-157,-225,-217,-160},{-145,-85,-203,-86,-177,-80},{-223,-131,-80,-136,-132,-208},{-148,-160,-97,-88,-206,-148},{-211,-228,-149,-120,-139,-168},{-126,-192,-103,-168,-214,-217},{-125,-202,-191,-99,-77,-129},{-159,-146,-211,-192,-189,-82},{-139,-183,-229,-213,-140,-152},{-179,-100,-216,-219,-159,-108},{-183,-94,-120,-216,-152,-182},{-223,-214,-77,-108,-209,-95}},{{-166,-189,-222,-106,-94,-159},{-162,-200,-97,-134,-223,-219},{-182,-111,-116,-140,-229,-211},{-131,-192,-194,-116,-176,-128},{-131,-202,-225,-126,-82,-168},{-225,-105,-203,-143,-80,-77},{-94,-202,-226,-85,-125,-149},{-183,-112,-185,-225,-109,-182},{-154,-192,-129,-105,-91,-116},{-142,-88,-229,-103,-102,-228},{-196,-177,-176,-116,-211,-179},{-231,-183,-105,-226,-199,-129},{-114,-168,-120,-120,-80,-208},{-94,-116,-92,-145,-188,-85},{-157,-123,-222,-157,-99,-192},{-223,-154,-219,-139,-159,-231},{-216,-146,-188,-171,-208,-125},{-132,-200,-146,-91,-120,-176},{-186,-128,-188,-116,-157,-168},{-157,-102,-188,-97,-143,-180}},{{-172,-88,-228,-154,-156,-83},{-223,-165,-217,-100,-168,-208},{-120,-166,-226,-188,-154,-152},{-122,-179,-94,-231,-165,-174},{-156,-149,-203,-114,-117,-160},{-122,-128,-169,-166,-82,-131},{-202,-83,-229,-111,-125,-172},{-206,-199,-95,-220,-112,-217},{-79,-92,-186,-186,-188,-188},{-82,-106,-91,-131,-179,-166},{-108,-208,-114,-169,-134,-95},{-82,-174,-80,-85,-206,-137},{-134,-128,-219,-86,-197,-114},{-222,-165,-145,-199,-125,-88},{-106,-152,-137,-132,-112,-168},{-103,-194,-216,-109,-172,-174},{-103,-154,-129,-94,-165,-77},{-126,-166,-142,-100,-143,-200},{-82,-196,-202,-176,-82,-148},{-168,-140,-208,-117,-131,-191}},{{-211,-168,-126,-134,-206,-214},{-183,-91,-200,-82,-106,-168},{-77,-172,-112,-83,-202,-79},{-217,-108,-80,-168,-103,-126},{-189,-165,-229,-94,-214,-134},{-92,-196,-100,-119,-137,-213},{-136,-220,-149,-163,-128,-120},{-217,-82,-189,-216,-214,-157},{-157,-136,-117,-92,-140,-156},{-172,-172,-149,-214,-179,-152},{-189,-222,-86,-105,-199,-197},{-148,-205,-117,-169,-126,-129},{-126,-139,-111,-168,-162,-194},{-131,-192,-226,-80,-108,-196},{-213,-217,-149,-99,-145,-125},{-77,-142,-165,-174,-217,-95},{-160,-182,-117,-86,-129,-154},{-231,-202,-222,-213,-122,-97},{-97,-220,-213,-185,-108,-152},{-77,-180,-154,-136,-219,-108}},{{-229,-216,-79,-109,-92,-176},{-222,-140,-200,-112,-225,-165},{-112,-205,-95,-140,-213,-176},{-165,-208,-146,-226,-154,-182},{-117,-222,-216,-122,-216,-225},{-100,-146,-89,-160,-148,-151},{-213,-122,-140,-162,-219,-180},{-106,-82,-79,-126,-156,-120},{-91,-168,-222,-137,-139,-105},{-196,-188,-174,-131,-156,-134},{-77,-216,-197,-151,-154,-168},{-228,-143,-152,-123,-225,-105},{-222,-123,-148,-89,-211,-91},{-200,-142,-134,-79,-228,-229},{-168,-163,-86,-134,-114,-188},{-102,-106,-134,-194,-157,-79},{-100,-137,-185,-122,-228,-223},{-192,-140,-114,-192,-220,-160},{-206,-108,-95,-183,-199,-216},{-179,-176,-166,-89,-116,-111}}},{{{-106,-186,-138,-235,-215,-255},{-96,-144,-171,-177,-135,-224},{-269,-264,-146,-160,-180,-207},{-127,-167,-224,-255,-133,-158},{-257,-246,-173,-226,-95,-200},{-182,-118,-257,-266,-251,-96},{-255,-175,-113,-244,-147,-191},{-116,-167,-189,-204,-266,-191},{-169,-115,-146,-146,-96,-153},{-135,-177,-160,-167,-167,-138},{-98,-244,-107,-213,-96,-195},{-206,-129,-195,-257,-240,-126},{-222,-173,-226,-151,-198,-162},{-136,-246,-222,-102,-229,-187},{-215,-116,-255,-127,-136,-122},{-204,-255,-111,-209,-228,-266},{-257,-207,-248,-96,-244,-147},{-228,-246,-111,-113,-95,-238},{-177,-155,-244,-218,-118,-129},{-118,-200,-98,-260,-151,-109}},{{-155,-149,-273,-162,-175,-146},{-122,-240,-266,-246,-180,-253},{-178,-93,-195,-157,-228,-142},{-166,-218,-100,-111,-268,-166},{-180,-113,-147,-158,-229,-109},{-200,-177,-240,-155,-207,-246},{-211,-209,-218,-96,-218,-258},{-142,-213,-127,-160,-211,-136},{-91,-257,-222,-242,-127,-178},{-158,-126,-231,-255,-202,-231},{-266,-200,-248,-231,-100,-113},{-122,-244,-200,-244,-213,-171},{-129,-166,-202,-237,-204,-111},{-240,-191,-116,-195,-191,-113},{-246,-107,-228,-106,-164,-126},{-160,-260,-120,-118,-96,-209},{-147,-107,-180,-269,-160,-186},{-242,-262,-173,-218,-102,-106},{-113,-177,-175,-173,-157,-246},{-195,-100,-169,-246,-271,-262}},{{-237,-240,-180,-169,-96,-166},{-153,-213,-257,-133,-91,-142},{-122,-153,-242,-193,-133,-166},{-120,-240,-173,-124,-91,-93},{-147,-226,-135,-249,-198,-198},{-178,-147,-140,-136,-209,-126},{-246,-173,-184,-93,-104,-158},{-248,-207,-93,-98,-229,-182},{-144,-120,-158,-273,-189,-268},{-211,-177,-249,-246,-158,-93},{-248,-260,-251,-177,-157,-175},{-229,-167,-233,-175,-175,-200},{-215,-264,-235,-151,-260,-215},{-146,-144,-255,-217,-95,-158},{-202,-147,-218,-109,-127,-191},{-91,-160,-237,-224,-246,-213},{-235,-140,-175,-118,-217,-215},{-229,-255,-104,-115,-273,-264},{-273,-149,-157,-140,-124,-222},{-215,-246,-169,-100,-237,-187}},{{-120,-135,-96,-222,-116,-151},{-102,-228,-164,-178,-197,-206},{-206,-140,-202,-228,-258,-226},{-273,-166,-206,-213,-178,-129},{-207,-255,-111,-136,-260,-226},{-218,-180,-218,-164,-206,-264},{-131,-189,-155,-195,-224,-249},{-129,-169,-122,-226,-258,-147},{-124,-95,-131,-235,-113,-169},{-113,-122,-142,-124,-186,-169},{-273,-207,-249,-202,-266,-266},{-136,-131,-122,-211,-169,-160},{-200,-264,-164,-251,-180,-198},{-91,-133,-198,-147,-147,-166},{-149,-93,-268,-249,-222,-191},{-217,-200,-258,-147,-231,-244},{-127,-187,-96,-162,-257,-237},{-93,-166,-111,-273,-244,-268},{-149,-200,-133,-169,-197,-215},{-246,-202,-268,-224,-178,-269}},{{-255,-133,-109,-197,-122,-111},{-217,-126,-184,-109,-213,-153},{-244,-113,-107,-138,-133,-109},{-193,-215,-175,-180,-248,-146},{-140,-215,-266,-266,-193,-268},{-155,-113,-158,-178,-177,-242},{-242,-238,-158,-269,-106,-100},{-98,-129,-166,-253,-153,-96},{-164,-135,-124,-184,-228,-249},{-224,-111,-118,-209,-144,-191},{-136,-266,-177,-111,-115,-158},{-237,-142,-151,-124,-100,-213},{-204,-213,-131,-107,-149,-155},{-211,-96,-146,-184,-235,-155},{-157,-157,-222,-131,-153,-215},{-100,-255,-100,-211,-173,-229},{-146,-266,-224,-237,-235,-268},{-177,-235,-191,-142,-169,-213},{-213,-220,-206,-113,-175,-98},{-195,-106,-187,-136,-218,-96}},{{-177,-142,-269,-133,-151,-93},{-113,-187,-251,-136,-151,-147},{-215,-96,-171,-229,-100,-233},{-240,-146,-242,-133,-129,-102},{-209,-158,-109,-204,-271,-120},{-171,-253,-162,-153,-158,-182},{-151,-224,-106,-142,-204,-200},{-96,-215,-206,-224,-162,-184},{-257,-246,-96,-120,-206,-147},{-204,-147,-166,-249,-226,-187},{-106,-113,-158,-98,-93,-100},{-260,-177,-124,-240,-257,-177},{-122,-197,-231,-118,-164,-253},{-220,-142,-184,-215,-104,-187},{-182,-238,-104,-187,-109,-153},{-204,-257,-160,-136,-153,-127},{-133,-211,-248,-262,-260,-268},{-133,-167,-231,-146,-160,-162},{-124,-96,-255,-237,-224,-166},{-182,-169,-136,-104,-157,-229}}},{{{-250,-137,-196,-304,-206,-284},{-368,-336,-189,-225,-360,-333},{-184,-162,-122,-296,-358,-189},{-130,-282,-316,-225,-243,-255},{-296,-142,-206,-350,-172,-292},{-306,-301,-306,-306,-176,-130},{-186,-292,-157,-321,-208,-240},{-270,-169,-208,-145,-365,-270},{-323,-326,-279,-186,-247,-225},{-191,-213,-341,-277,-262,-272},{-157,-353,-348,-262,-152,-318},{-225,-343,-355,-294,-341,-255},{-252,-149,-257,-198,-157,-127},{-218,-343,-167,-265,-235,-243},{-189,-265,-265,-181,-216,-363},{-198,-358,-287,-301,-145,-287},{-282,-255,-363,-240,-311,-191},{-152,-348,-211,-309,-323,-318},{-316,-142,-216,-260,-355,-296},{-292,-262,-186,-225,-363,-122}},{{-343,-194,-181,-127,-172,-206},{-122,-174,-176,-343,-218,-122},{-125,-154,-152,-135,-228,-257},{-238,-179,-132,-328,-174,-309},{-245,-176,-235,-230,-260,-213},{-198,-125,-309,-326,-262,-220},{-211,-162,-333,-294,-238,-132},{-228,-355,-350,-316,-184,-343},{-250,-274,-284,-137,-255,-179},{-159,-132,-140,-341,-235,-292},{-130,-338,-130,-213,-211,-235},{-203,-167,-125,-343,-365,-196},{-213,-296,-282,-255,-245,-132},{-345,-277,-309,-265,-238,-196},{-162,-152,-238,-348,-358,-203},{-252,-196,-240,-279,-360,-213},{-355,-314,-294,-162,-181,-270},{-172,-203,-289,-201,-289,-311},{-279,-265,-363,-350,-159,-191},{-326,-196,-245,-255,-282,-179}},{{-338,-184,-132,-238,-198,-296},{-201,-363,-277,-208,-203,-353},{-260,-145,-318,-238,-159,-270},{-255,-152,-343,-176,-228,-240},{-252,-162,-341,-203,-284,-255},{-135,-152,-345,-368,-289,-228},{-216,-274,-240,-194,-277,-345},{-220,-172,-365,-216,-353,-311},{-198,-343,-137,-368,-299,-309},{-147,-206,-218,-343,-228,-235},{-235,-294,-287,-172,-145,-260},{-152,-279,-176,-358,-228,-257},{-142,-208,-223,-360,-213,-152},{-287,-189,-353,-132,-142,-265},{-250,-223,-181,-363,-314,-247},{-201,-365,-122,-363,-140,-262},{-223,-272,-282,-299,-321,-355},{-142,-267,-328,-238,-323,-169},{-140,-336,-174,-323,-152,-149},{-247,-348,-145,-181,-130,-350}},{{-294,-326,-203,-365,-350,-238},{-338,-311,-172,-198,-198,-368},{-265,-338,-169,-145,-233,-176},{-137,-287,-132,-353,-341,-328},{-154,-145,-304,-186,-233,-140},{-137,-321,-216,-341,-184,-147},{-274,-208,-189,-122,-206,-255},{-179,-304,-186,-208,-164,-289},{-186,-223,-348,-360,-149,-206},{-336,-223,-206,-338,-355,-323},{-287,-137,-176,-176,-228,-191},{-360,-211,-321,-125,-179,-289},{-353,-316,-341,-189,-260,-333},{-132,-125,-321,-331,-228,-277},{-184,-191,-252,-125,-159,-220},{-299,-122,-350,-311,-294,-162},{-186,-301,-235,-240,-149,-179},{-223,-218,-252,-238,-240,-135},{-343,-360,-164,-164,-348,-174},{-157,-279,-152,-191,-279,-235}},{{-321,-247,-272,-287,-318,-211},{-279,-238,-142,-255,-279,-350},{-326,-299,-125,-255,-174,-201},{-277,-348,-267,-296,-350,-218},{-198,-289,-321,-159,-122,-122},{-363,-250,-270,-355,-355,-336},{-358,-250,-267,-176,-328,-243},{-284,-135,-306,-350,-184,-154},{-257,-326,-206,-147,-255,-238},{-292,-279,-358,-282,-206,-208},{-326,-216,-348,-179,-240,-176},{-201,-277,-228,-358,-360,-318},{-331,-149,-368,-135,-296,-142},{-252,-348,-201,-157,-137,-353},{-230,-282,-240,-172,-306,-186},{-250,-181,-137,-176,-318,-211},{-345,-338,-235,-243,-274,-233},{-265,-311,-216,-145,-186,-296},{-157,-343,-235,-169,-172,-274},{-228,-125,-159,-243,-262,-355}},{{-257,-267,-265,-309,-213,-252},{-287,-235,-230,-196,-299,-152},{-132,-294,-240,-208,-154,-147},{-294,-132,-311,-353,-206,-167},{-309,-169,-228,-247,-247,-287},{-181,-309,-167,-311,-296,-189},{-316,-169,-169,-353,-228,-363},{-154,-316,-289,-157,-262,-301},{-353,-167,-355,-348,-164,-316},{-135,-127,-279,-318,-184,-284},{-179,-306,-338,-279,-201,-159},{-218,-299,-174,-167,-243,-208},{-345,-142,-348,-132,-345,-318},{-294,-186,-157,-247,-147,-338},{-196,-176,-225,-157,-294,-277},{-127,-363,-220,-252,-331,-338},{-159,-284,-348,-262,-145,-336},{-267,-213,-301,-137,-304,-189},{-348,-270,-333,-360,-154,-299},{-196,-245,-350,-243,-213,-255}}},{{{-166,-178,-333,-166,-240,-226},{-159,-346,-178,-254,-310,-280},{-159,-303,-155,-231,-256,-152},{-273,-178,-127,-136,-259,-118},{-259,-132,-328,-330,-323,-284},{-139,-289,-152,-176,-236,-303},{-192,-125,-210,-268,-252,-245},{-150,-346,-169,-155,-254,-284},{-134,-132,-268,-122,-166,-300},{-143,-319,-233,-231,-344,-261},{-231,-134,-217,-192,-310,-132},{-316,-280,-120,-305,-116,-219},{-210,-157,-169,-289,-116,-125},{-303,-346,-162,-236,-310,-215},{-152,-330,-254,-194,-229,-143},{-303,-296,-171,-208,-136,-270},{-259,-236,-275,-236,-159,-139},{-346,-162,-118,-178,-330,-176},{-328,-224,-125,-141,-116,-249},{-254,-178,-328,-192,-178,-210}},{{-143,-330,-152,-335,-210,-291},{-245,-243,-243,-213,-213,-157},{-266,-152,-335,-254,-259,-273},{-173,-217,-150,-155,-182,-208},{-213,-298,-173,-337,-319,-303},{-273,-270,-245,-176,-307,-333},{-178,-291,-180,-293,-132,-337},{-300,-323,-215,-171,-233,-305},{-252,-201,-208,-129,-314,-273},{-316,-118,-316,-134,-300,-164},{-157,-201,-321,-254,-164,-328},{-243,-219,-132,-319,-120,-323},{-210,-243,-335,-125,-328,-187},{-263,-328,-127,-305,-187,-307},{-213,-148,-333,-194,-310,-303},{-146,-300,-273,-289,-213,-282},{-286,-194,-236,-189,-270,-196},{-266,-224,-199,-199,-273,-303},{-323,-143,-243,-312,-328,-238},{-213,-132,-134,-344,-337,-173}},{{-273,-268,-243,-141,-210,-136},{-155,-178,-157,-280,-249,-208},{-229,-344,-326,-169,-169,-166},{-273,-321,-155,-182,-127,-330},{-305,-213,-229,-256,-213,-125},{-171,-185,-125,-231,-316,-346},{-132,-136,-298,-323,-323,-189},{-164,-245,-256,-319,-275,-323},{-238,-305,-141,-314,-314,-316},{-249,-231,-330,-333,-222,-259},{-342,-261,-187,-210,-132,-323},{-296,-284,-263,-139,-277,-127},{-118,-282,-236,-342,-134,-310},{-259,-224,-289,-116,-261,-310},{-273,-238,-152,-233,-263,-303},{-236,-155,-335,-342,-231,-206},{-164,-328,-213,-245,-162,-346},{-116,-180,-342,-120,-277,-157},{-282,-259,-303,-298,-116,-337},{-266,-344,-127,-155,-162,-169}},{{-180,-266,-247,-210,-268,-249},{-293,-236,-273,-340,-182,-252},{-330,-132,-273,-122,-224,-305},{-213,-273,-120,-275,-316,-316},{-210,-152,-263,-286,-224,-286},{-224,-263,-143,-132,-247,-296},{-326,-187,-307,-247,-319,-252},{-187,-300,-238,-222,-210,-208},{-182,-185,-254,-259,-185,-139},{-323,-231,-125,-125,-199,-152},{-314,-273,-252,-208,-194,-159},{-245,-213,-344,-226,-226,-314},{-245,-247,-249,-261,-224,-330},{-134,-148,-268,-342,-226,-330},{-303,-273,-215,-143,-192,-182},{-319,-312,-245,-132,-335,-196},{-150,-261,-335,-328,-199,-189},{-224,-171,-268,-185,-252,-122},{-261,-132,-312,-139,-152,-136},{-323,-319,-243,-194,-245,-120}},{{-185,-173,-314,-328,-333,-305},{-201,-245,-296,-159,-182,-118},{-120,-171,-266,-305,-127,-152},{-270,-164,-199,-155,-215,-293},{-127,-199,-261,-293,-261,-291},{-164,-162,-291,-236,-337,-277},{-256,-215,-330,-129,-185,-219},{-305,-194,-330,-310,-247,-312},{-266,-277,-213,-120,-116,-296},{-132,-182,-289,-236,-284,-182},{-293,-312,-132,-215,-182,-203},{-125,-157,-337,-335,-143,-321},{-252,-245,-321,-136,-233,-157},{-173,-208,-180,-291,-210,-233},{-238,-312,-180,-222,-127,-116},{-201,-215,-196,-176,-180,-164},{-185,-340,-298,-157,-166,-206},{-199,-139,-316,-252,-261,-303},{-340,-340,-307,-194,-196,-152},{-164,-326,-303,-132,-252,-171}},{{-180,-337,-166,-148,-180,-346},{-291,-182,-310,-146,-275,-340},{-194,-171,-182,-217,-210,-342},{-196,-173,-185,-187,-180,-192},{-132,-344,-240,-178,-268,-268},{-312,-222,-305,-254,-129,-219},{-252,-132,-129,-277,-335,-213},{-245,-206,-201,-252,-122,-296},{-164,-252,-321,-247,-226,-328},{-289,-238,-157,-231,-328,-249},{-187,-152,-178,-296,-229,-335},{-182,-201,-249,-346,-132,-162},{-236,-300,-342,-337,-266,-284},{-280,-178,-129,-300,-333,-284},{-346,-326,-152,-171,-310,-206},{-125,-316,-187,-116,-335,-254},{-243,-116,-335,-298,-219,-289},{-194,-298,-178,-189,-215,-219},{-252,-233,-254,-316,-342,-261},{-314,-210,-263,-240,-330,-263}}},{{{-197,-294,-347,-420,-285,-388},{-300,-368,-329,-191,-215,-353},{-368,-400,-403,-347,-244,-365},{-268,-156,-294,-417,-423,-344},{-385,-218,-162,-326,-379,-326},{-285,-276,-403,-368,-353,-365},{-168,-285,-341,-391,-238,-279},{-188,-303,-394,-326,-235,-147},{-165,-256,-206,-432,-270,-232},{-212,-326,-235,-318,-173,-262},{-200,-168,-253,-171,-297,-441},{-368,-223,-244,-397,-312,-259},{-347,-256,-370,-209,-220,-303},{-338,-438,-423,-438,-212,-259},{-341,-303,-382,-385,-350,-147},{-223,-300,-382,-379,-432,-256},{-353,-356,-200,-338,-417,-235},{-194,-300,-297,-226,-376,-218},{-168,-365,-282,-173,-156,-417},{-171,-297,-423,-300,-218,-165}},{{-412,-232,-206,-326,-294,-173},{-388,-282,-165,-388,-247,-382},{-250,-262,-203,-415,-173,-397},{-191,-226,-303,-370,-262,-420},{-338,-388,-429,-156,-429,-279},{-218,-215,-294,-182,-285,-429},{-406,-306,-156,-256,-176,-417},{-159,-229,-150,-338,-168,-356},{-232,-171,-391,-326,-306,-188},{-171,-435,-176,-370,-285,-241},{-194,-262,-329,-288,-415,-253},{-168,-297,-350,-382,-265,-350},{-153,-162,-432,-256,-385,-376},{-153,-282,-323,-320,-294,-376},{-182,-282,-341,-373,-353,-323},{-347,-338,-262,-288,-220,-165},{-220,-385,-320,-215,-397,-291},{-379,-153,-294,-373,-347,-194},{-270,-441,-273,-300,-335,-309},{-218,-415,-232,-165,-312,-220}},{{-344,-300,-341,-270,-397,-162},{-365,-382,-388,-362,-300,-238},{-265,-373,-253,-168,-335,-215},{-194,-318,-441,-412,-335,-276},{-262,-218,-412,-318,-347,-400},{-326,-288,-171,-385,-270,-215},{-268,-438,-429,-182,-423,-344},{-370,-332,-226,-153,-362,-435},{-420,-265,-344,-218,-168,-268},{-265,-191,-350,-359,-244,-362},{-215,-362,-176,-206,-359,-412},{-332,-394,-241,-294,-218,-391},{-362,-279,-362,-256,-182,-173},{-256,-415,-417,-344,-153,-335},{-173,-332,-223,-391,-376,-235},{-262,-423,-226,-291,-247,-376},{-268,-388,-229,-397,-426,-209},{-359,-388,-362,-350,-191,-388},{-291,-300,-388,-350,-153,-315},{-420,-200,-229,-403,-435,-191}},{{-329,-294,-165,-344,-162,-220},{-171,-162,-350,-288,-423,-173},{-265,-409,-256,-391,-165,-329},{-150,-262,-159,-238,-326,-382},{-159,-165,-438,-147,-320,-171},{-344,-423,-282,-356,-191,-203},{-406,-338,-297,-179,-282,-212},{-173,-438,-165,-420,-438,-315},{-397,-350,-212,-300,-406,-209},{-212,-241,-247,-312,-206,-370},{-365,-409,-406,-276,-162,-259},{-165,-300,-309,-318,-212,-171},{-156,-209,-417,-350,-365,-368},{-268,-262,-285,-329,-429,-235},{-426,-232,-176,-209,-335,-191},{-397,-323,-412,-420,-162,-294},{-432,-147,-394,-259,-171,-191},{-191,-385,-265,-406,-173,-209},{-306,-250,-188,-335,-244,-320},{-273,-276,-312,-309,-441,-423}},{{-417,-435,-206,-253,-250,-276},{-288,-297,-188,-353,-376,-294},{-435,-326,-253,-179,-273,-150},{-215,-273,-159,-435,-397,-300},{-423,-279,-303,-435,-356,-409},{-353,-215,-417,-359,-376,-406},{-241,-294,-244,-435,-359,-379},{-250,-206,-420,-250,-156,-291},{-247,-332,-279,-344,-300,-185},{-244,-412,-423,-194,-385,-279},{-176,-294,-288,-412,-420,-194},{-309,-244,-147,-359,-309,-429},{-165,-359,-409,-262,-173,-391},{-200,-332,-403,-332,-315,-209},{-312,-318,-241,-368,-409,-332},{-382,-220,-318,-406,-270,-332},{-409,-229,-388,-200,-370,-241},{-250,-259,-315,-388,-423,-268},{-385,-206,-426,-353,-326,-400},{-376,-250,-412,-247,-347,-191}},{{-435,-194,-335,-403,-309,-382},{-315,-423,-438,-435,-320,-229},{-441,-165,-397,-432,-406,-368},{-350,-388,-273,-241,-318,-253},{-191,-441,-326,-385,-368,-250},{-238,-259,-279,-197,-353,-417},{-270,-400,-297,-188,-412,-262},{-250,-171,-238,-318,-315,-250},{-303,-303,-368,-417,-332,-323},{-203,-171,-168,-353,-394,-212},{-215,-156,-356,-165,-394,-359},{-282,-173,-300,-232,-256,-232},{-165,-153,-256,-156,-273,-215},{-197,-370,-432,-168,-415,-417},{-315,-291,-373,-400,-391,-350},{-338,-250,-356,-370,-268,-376},{-338,-359,-171,-382,-235,-397},{-409,-365,-323,-426,-259,-335},{-200,-406,-229,-356,-153,-385},{-294,-176,-268,-303,-326,-253}}}}; // 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]={15,8,5,15,8,6,16,8,5,17,8,6,17,8,6,17,9,6,16,8,6,16,9,6,16,9,6,16,8,6,17,9,6,17,9,6,18,9,6,17,9,6,17,9,6,17,9,6,18,9,6,18,9,6,16,9,6,16,9,6,17,8,6,17,8,6,17,8,6,16,9,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}}; // set of shipments in each bid 
int SHsts[SPN]={2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,1,5,9,13,17,21,25,29,2,8,14,20,26,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,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,1,5,9,13,17,21,25,29,2,8,14,20,26,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,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,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,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,33,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,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,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,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,34,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,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,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,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,2,8,14,20,26,32,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,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,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,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,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}; // 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,6,10,14,18,22,26,30,34,7,13,19,25,31,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,7,11,15,19,23,27,31,35,5,11,17,23,29,35,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,6,10,14,18,22,26,30,34,7,13,19,25,31,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,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,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,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,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,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,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,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,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,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,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,1,5,9,13,17,21,25,29,33,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,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,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,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,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,3,9,15,21,27,33,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}; // set of end times of each shipment 
