int Dev = 40;// Deviation
extern const int CNN = 1;// 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 = 739;//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]={{{{11624,0,0,0,0,0},{10939,0,0,0,0,0},{11381,0,0,0,0,0},{11745,0,0,0,0,0},{11465,0,0,0,0,0},{10870,0,0,0,0,0},{11215,0,0,0,0,0},{11887,0,0,0,0,0},{11616,0,0,0,0,0},{11575,0,0,0,0,0},{12238,0,0,0,0,0},{11592,0,0,0,0,0},{11645,0,0,0,0,0},{11399,0,0,0,0,0},{11591,0,0,0,0,0},{10841,0,0,0,0,0},{11692,0,0,0,0,0},{11341,0,0,0,0,0},{11529,0,0,0,0,0},{11035,0,0,0,0,0}},{{11252,0,0,0,0,0},{10861,0,0,0,0,0},{11071,0,0,0,0,0},{11094,0,0,0,0,0},{12015,0,0,0,0,0},{12420,0,0,0,0,0},{11490,0,0,0,0,0},{11276,0,0,0,0,0},{11199,0,0,0,0,0},{11530,0,0,0,0,0},{11357,0,0,0,0,0},{11538,0,0,0,0,0},{12039,0,0,0,0,0},{11816,0,0,0,0,0},{12098,0,0,0,0,0},{11474,0,0,0,0,0},{10979,0,0,0,0,0},{12035,0,0,0,0,0},{11003,0,0,0,0,0},{11062,0,0,0,0,0}},{{12102,0,0,0,0,0},{11171,0,0,0,0,0},{11650,0,0,0,0,0},{11946,0,0,0,0,0},{12240,0,0,0,0,0},{11225,0,0,0,0,0},{11378,0,0,0,0,0},{11489,0,0,0,0,0},{11453,0,0,0,0,0},{11684,0,0,0,0,0},{11033,0,0,0,0,0},{11593,0,0,0,0,0},{11923,0,0,0,0,0},{11386,0,0,0,0,0},{11470,0,0,0,0,0},{11229,0,0,0,0,0},{11098,0,0,0,0,0},{11745,0,0,0,0,0},{11267,0,0,0,0,0},{11996,0,0,0,0,0}},{{11897,0,0,0,0,0},{10910,0,0,0,0,0},{11001,0,0,0,0,0},{11552,0,0,0,0,0},{11284,0,0,0,0,0},{12305,0,0,0,0,0},{11259,0,0,0,0,0},{11766,0,0,0,0,0},{11671,0,0,0,0,0},{11687,0,0,0,0,0},{11667,0,0,0,0,0},{11929,0,0,0,0,0},{11123,0,0,0,0,0},{12200,0,0,0,0,0},{11410,0,0,0,0,0},{12815,0,0,0,0,0},{11644,0,0,0,0,0},{11177,0,0,0,0,0},{11514,0,0,0,0,0},{11528,0,0,0,0,0}},{{12546,0,0,0,0,0},{11662,0,0,0,0,0},{11510,0,0,0,0,0},{11244,0,0,0,0,0},{11679,0,0,0,0,0},{11824,0,0,0,0,0},{11609,0,0,0,0,0},{11449,0,0,0,0,0},{11578,0,0,0,0,0},{11660,0,0,0,0,0},{11436,0,0,0,0,0},{11876,0,0,0,0,0},{10718,0,0,0,0,0},{11697,0,0,0,0,0},{11572,0,0,0,0,0},{11323,0,0,0,0,0},{11135,0,0,0,0,0},{11206,0,0,0,0,0},{11620,0,0,0,0,0},{11948,0,0,0,0,0}},{{10794,0,0,0,0,0},{11575,0,0,0,0,0},{11654,0,0,0,0,0},{11372,0,0,0,0,0},{11060,0,0,0,0,0},{11528,0,0,0,0,0},{11969,0,0,0,0,0},{11548,0,0,0,0,0},{11589,0,0,0,0,0},{11711,0,0,0,0,0},{11132,0,0,0,0,0},{11136,0,0,0,0,0},{11843,0,0,0,0,0},{11131,0,0,0,0,0},{12233,0,0,0,0,0},{12244,0,0,0,0,0},{11684,0,0,0,0,0},{11607,0,0,0,0,0},{11966,0,0,0,0,0},{11929,0,0,0,0,0}}},{{{-227,-248,-168,-254,-282,-282},{-183,-160,-195,-244,-122,-217},{-221,-175,-156,-128,-215,-280},{-156,-187,-136,-207,-183,-282},{-158,-122,-264,-160,-144,-217},{-193,-205,-250,-225,-244,-276},{-191,-177,-144,-138,-177,-154},{-189,-274,-201,-122,-205,-221},{-195,-280,-183,-197,-140,-242},{-171,-238,-217,-284,-181,-215},{-148,-268,-270,-246,-276,-248},{-254,-284,-166,-189,-128,-278},{-244,-254,-221,-197,-270,-264},{-138,-154,-252,-138,-258,-166},{-240,-179,-213,-191,-183,-158},{-168,-130,-266,-219,-173,-166},{-148,-144,-199,-284,-282,-262},{-134,-278,-152,-156,-252,-215},{-268,-215,-276,-122,-278,-238},{-231,-173,-221,-136,-187,-150}},{{-173,-140,-138,-215,-140,-211},{-252,-130,-136,-187,-284,-164},{-233,-266,-264,-250,-183,-203},{-233,-175,-189,-171,-235,-221},{-187,-207,-221,-166,-235,-246},{-211,-246,-278,-244,-205,-211},{-240,-138,-124,-191,-258,-154},{-221,-146,-160,-166,-146,-124},{-158,-171,-211,-164,-138,-158},{-274,-280,-175,-142,-132,-211},{-246,-240,-195,-252,-260,-242},{-264,-205,-223,-162,-260,-264},{-193,-256,-179,-274,-164,-262},{-225,-181,-258,-177,-173,-148},{-189,-229,-211,-205,-219,-183},{-168,-238,-160,-187,-136,-134},{-185,-242,-246,-268,-193,-152},{-274,-138,-256,-201,-166,-227},{-242,-130,-240,-160,-217,-183},{-223,-199,-128,-215,-124,-240}},{{-203,-154,-272,-136,-238,-189},{-134,-238,-244,-276,-130,-124},{-280,-211,-181,-280,-156,-205},{-150,-225,-207,-270,-136,-221},{-171,-227,-207,-231,-274,-238},{-221,-227,-262,-197,-258,-217},{-274,-211,-171,-242,-175,-144},{-205,-203,-268,-156,-197,-250},{-219,-179,-193,-227,-122,-150},{-225,-278,-278,-189,-262,-185},{-152,-217,-156,-274,-171,-187},{-272,-201,-168,-284,-166,-177},{-199,-164,-183,-213,-124,-268},{-205,-195,-173,-254,-187,-136},{-175,-276,-126,-260,-124,-227},{-274,-158,-278,-229,-248,-284},{-142,-152,-152,-187,-160,-152},{-231,-276,-144,-233,-185,-264},{-158,-158,-156,-282,-272,-134},{-124,-168,-229,-209,-264,-136}},{{-189,-185,-264,-148,-189,-284},{-213,-231,-223,-122,-231,-195},{-160,-162,-276,-215,-144,-207},{-248,-284,-215,-254,-252,-173},{-276,-248,-205,-244,-148,-146},{-254,-213,-260,-191,-211,-122},{-272,-144,-284,-144,-199,-276},{-181,-276,-264,-181,-158,-256},{-211,-189,-256,-217,-264,-264},{-284,-282,-213,-242,-240,-242},{-140,-122,-250,-215,-211,-183},{-276,-284,-191,-189,-183,-238},{-276,-136,-225,-158,-274,-122},{-144,-284,-256,-260,-225,-187},{-193,-168,-266,-132,-272,-179},{-274,-195,-235,-181,-258,-274},{-142,-229,-132,-148,-128,-136},{-156,-124,-144,-144,-235,-138},{-254,-221,-205,-150,-262,-233},{-248,-158,-154,-235,-235,-227}},{{-225,-146,-215,-225,-201,-280},{-150,-264,-175,-248,-238,-138},{-248,-136,-217,-187,-142,-195},{-126,-124,-280,-205,-223,-282},{-179,-219,-146,-223,-250,-278},{-248,-215,-274,-233,-191,-191},{-189,-138,-258,-231,-191,-231},{-168,-156,-244,-282,-158,-246},{-233,-124,-274,-203,-181,-142},{-142,-168,-221,-154,-207,-258},{-278,-205,-136,-282,-142,-227},{-276,-231,-278,-262,-207,-183},{-229,-221,-244,-185,-197,-225},{-134,-280,-225,-233,-256,-166},{-221,-270,-246,-132,-242,-179},{-246,-219,-262,-160,-246,-264},{-179,-138,-160,-270,-134,-223},{-152,-191,-185,-132,-122,-260},{-185,-203,-154,-276,-213,-225},{-126,-156,-177,-258,-252,-179}},{{-235,-140,-146,-260,-162,-233},{-203,-140,-233,-254,-199,-256},{-162,-203,-162,-240,-280,-173},{-181,-197,-156,-205,-183,-268},{-201,-193,-185,-215,-128,-250},{-235,-150,-195,-154,-217,-148},{-225,-240,-130,-199,-132,-278},{-207,-140,-217,-203,-233,-179},{-274,-150,-254,-240,-128,-242},{-175,-207,-242,-213,-177,-193},{-211,-250,-158,-185,-166,-246},{-154,-274,-274,-254,-227,-258},{-229,-181,-235,-146,-250,-215},{-128,-256,-207,-138,-164,-187},{-195,-201,-146,-256,-128,-140},{-256,-276,-219,-223,-132,-274},{-215,-221,-132,-160,-268,-270},{-264,-162,-154,-280,-203,-166},{-140,-203,-132,-126,-270,-225},{-197,-130,-144,-284,-179,-181}}},{{{-158,-163,-130,-217,-151,-143},{-97,-214,-200,-180,-203,-113},{-105,-174,-108,-225,-225,-116},{-151,-221,-124,-114,-175,-143},{-208,-209,-188,-179,-198,-108},{-109,-130,-106,-166,-167,-180},{-134,-216,-114,-108,-135,-164},{-151,-113,-179,-147,-113,-172},{-211,-148,-103,-208,-143,-142},{-216,-193,-124,-196,-161,-203},{-196,-137,-147,-214,-225,-188},{-161,-200,-116,-147,-195,-105},{-193,-134,-211,-196,-119,-175},{-114,-171,-211,-122,-180,-180},{-147,-143,-166,-159,-97,-224},{-147,-142,-208,-101,-203,-137},{-166,-174,-187,-161,-175,-143},{-151,-193,-195,-190,-221,-188},{-147,-151,-111,-158,-114,-180},{-177,-134,-180,-203,-100,-156}},{{-221,-225,-138,-134,-217,-175},{-132,-192,-98,-203,-126,-158},{-119,-122,-211,-113,-158,-118},{-143,-100,-180,-163,-116,-177},{-185,-219,-108,-213,-172,-182},{-113,-214,-224,-188,-222,-209},{-130,-167,-130,-153,-192,-116},{-108,-188,-148,-206,-203,-187},{-196,-200,-101,-204,-219,-130},{-109,-177,-111,-119,-188,-200},{-100,-206,-143,-163,-163,-150},{-103,-187,-217,-179,-119,-190},{-119,-225,-221,-217,-187,-167},{-188,-217,-224,-204,-166,-217},{-161,-135,-143,-137,-217,-111},{-182,-156,-134,-213,-98,-142},{-153,-138,-155,-116,-98,-121},{-100,-206,-203,-187,-169,-138},{-137,-155,-118,-198,-193,-177},{-174,-105,-203,-101,-221,-182}},{{-132,-169,-177,-200,-98,-169},{-138,-130,-214,-109,-147,-135},{-167,-208,-135,-121,-100,-140},{-150,-98,-161,-142,-224,-208},{-150,-158,-182,-147,-142,-185},{-219,-167,-217,-174,-224,-114},{-193,-135,-167,-97,-196,-134},{-175,-111,-142,-135,-200,-97},{-211,-192,-151,-150,-148,-105},{-171,-203,-216,-151,-109,-151},{-124,-137,-195,-219,-192,-222},{-213,-174,-171,-203,-108,-158},{-201,-219,-97,-164,-109,-126},{-195,-118,-151,-203,-204,-159},{-105,-225,-213,-134,-101,-129},{-158,-116,-169,-200,-101,-177},{-134,-105,-203,-180,-111,-124},{-116,-187,-174,-209,-126,-184},{-163,-204,-211,-150,-116,-192},{-167,-164,-156,-98,-221,-219}},{{-224,-225,-198,-150,-190,-201},{-129,-179,-109,-132,-196,-167},{-106,-163,-211,-137,-134,-105},{-172,-130,-127,-177,-114,-185},{-179,-109,-166,-196,-171,-172},{-204,-216,-148,-206,-177,-209},{-177,-114,-129,-174,-130,-179},{-126,-222,-132,-177,-196,-130},{-137,-97,-164,-147,-116,-222},{-179,-103,-147,-158,-111,-158},{-130,-188,-153,-98,-171,-172},{-108,-175,-118,-135,-204,-172},{-179,-108,-211,-126,-225,-122},{-137,-211,-187,-188,-190,-135},{-180,-208,-190,-130,-180,-158},{-221,-203,-190,-130,-200,-187},{-156,-180,-97,-167,-185,-158},{-214,-208,-119,-169,-138,-221},{-221,-167,-159,-98,-175,-198},{-206,-100,-113,-167,-204,-175}},{{-177,-193,-114,-155,-211,-184},{-101,-177,-135,-109,-221,-161},{-198,-187,-148,-208,-213,-121},{-113,-119,-190,-153,-193,-192},{-172,-211,-196,-116,-135,-185},{-190,-206,-145,-167,-211,-224},{-114,-158,-225,-124,-190,-203},{-103,-116,-153,-217,-208,-142},{-140,-214,-188,-121,-137,-166},{-142,-122,-124,-211,-127,-130},{-129,-108,-219,-114,-192,-159},{-111,-130,-203,-221,-222,-148},{-153,-145,-209,-147,-203,-214},{-180,-195,-195,-158,-196,-201},{-201,-122,-130,-169,-151,-116},{-174,-109,-184,-108,-217,-142},{-108,-214,-161,-203,-126,-216},{-180,-158,-206,-113,-113,-132},{-156,-142,-145,-198,-158,-164},{-122,-190,-180,-140,-138,-188}},{{-116,-132,-121,-145,-103,-114},{-113,-225,-177,-103,-138,-148},{-209,-163,-171,-213,-156,-198},{-214,-132,-180,-203,-97,-134},{-101,-109,-140,-177,-167,-163},{-219,-148,-213,-161,-164,-174},{-111,-177,-138,-106,-145,-213},{-163,-164,-113,-222,-169,-196},{-156,-100,-130,-206,-145,-166},{-171,-208,-179,-148,-143,-103},{-132,-180,-180,-143,-161,-221},{-122,-172,-98,-174,-137,-121},{-118,-222,-164,-209,-118,-119},{-216,-148,-179,-193,-156,-106},{-113,-113,-148,-224,-98,-198},{-130,-153,-190,-150,-147,-216},{-214,-148,-113,-101,-171,-124},{-193,-138,-121,-135,-216,-169},{-163,-182,-225,-208,-134,-138},{-114,-175,-103,-213,-97,-211}}},{{{-270,-219,-300,-286,-298,-157},{-321,-164,-185,-139,-187,-143},{-321,-261,-182,-173,-298,-226},{-159,-256,-296,-314,-245,-233},{-192,-247,-152,-240,-150,-189},{-243,-169,-296,-231,-252,-314},{-201,-210,-249,-201,-162,-319},{-146,-286,-187,-173,-176,-303},{-263,-224,-247,-141,-152,-245},{-236,-176,-282,-146,-231,-222},{-312,-148,-178,-194,-254,-312},{-226,-291,-233,-176,-243,-310},{-215,-305,-176,-164,-169,-196},{-150,-222,-187,-215,-259,-139},{-233,-219,-176,-192,-298,-245},{-192,-146,-217,-173,-141,-282},{-314,-291,-275,-157,-206,-252},{-182,-293,-252,-256,-229,-199},{-189,-270,-284,-319,-231,-155},{-166,-199,-213,-166,-146,-300}},{{-201,-284,-323,-203,-164,-233},{-185,-261,-215,-233,-226,-194},{-196,-210,-219,-233,-231,-182},{-284,-192,-185,-312,-143,-312},{-249,-187,-199,-261,-166,-192},{-196,-305,-210,-238,-316,-296},{-176,-233,-173,-247,-284,-296},{-215,-141,-171,-252,-180,-319},{-245,-319,-171,-261,-277,-206},{-238,-240,-187,-176,-256,-286},{-219,-203,-310,-273,-240,-252},{-150,-289,-226,-321,-289,-319},{-319,-231,-273,-224,-233,-261},{-298,-282,-164,-187,-263,-224},{-268,-298,-261,-296,-155,-192},{-210,-213,-266,-189,-261,-180},{-176,-194,-139,-298,-296,-180},{-231,-312,-164,-229,-282,-307},{-208,-164,-316,-155,-159,-203},{-316,-303,-146,-243,-157,-293}},{{-217,-173,-256,-319,-270,-314},{-166,-224,-199,-307,-196,-139},{-199,-194,-247,-296,-148,-316},{-141,-187,-282,-268,-238,-169},{-319,-192,-270,-148,-143,-162},{-210,-261,-173,-314,-291,-169},{-185,-284,-236,-192,-282,-268},{-182,-314,-319,-289,-157,-199},{-314,-143,-187,-316,-148,-270},{-307,-171,-143,-169,-157,-236},{-259,-273,-303,-233,-171,-321},{-206,-229,-180,-321,-307,-148},{-171,-323,-289,-303,-256,-240},{-206,-323,-199,-273,-169,-166},{-206,-275,-233,-146,-298,-277},{-166,-314,-157,-215,-176,-259},{-247,-194,-222,-171,-157,-249},{-310,-303,-150,-310,-266,-270},{-213,-319,-323,-321,-196,-146},{-196,-203,-233,-229,-275,-203}},{{-280,-277,-173,-296,-222,-226},{-323,-206,-139,-210,-245,-176},{-208,-159,-201,-323,-152,-254},{-208,-307,-236,-303,-157,-249},{-148,-252,-180,-152,-187,-273},{-312,-321,-321,-245,-252,-146},{-185,-293,-245,-180,-196,-208},{-268,-286,-316,-224,-275,-245},{-171,-139,-323,-284,-173,-259},{-312,-155,-249,-206,-263,-249},{-143,-261,-282,-284,-259,-293},{-203,-256,-277,-173,-169,-192},{-169,-222,-256,-263,-155,-224},{-305,-199,-284,-305,-196,-203},{-219,-166,-270,-316,-231,-215},{-238,-277,-203,-243,-268,-291},{-166,-307,-141,-282,-254,-208},{-256,-215,-141,-166,-141,-215},{-233,-224,-201,-314,-293,-162},{-261,-268,-208,-171,-192,-178}},{{-245,-319,-185,-233,-303,-259},{-199,-210,-222,-150,-289,-213},{-243,-180,-307,-240,-224,-229},{-201,-155,-189,-187,-286,-201},{-314,-263,-196,-300,-307,-293},{-273,-275,-238,-182,-245,-282},{-286,-173,-152,-201,-275,-256},{-143,-199,-231,-213,-208,-201},{-296,-263,-219,-323,-194,-314},{-182,-266,-270,-141,-282,-243},{-159,-305,-254,-266,-213,-316},{-178,-185,-180,-254,-226,-310},{-219,-266,-155,-196,-180,-199},{-303,-270,-286,-199,-182,-146},{-277,-152,-233,-178,-238,-268},{-166,-293,-155,-240,-266,-252},{-148,-178,-319,-201,-270,-180},{-289,-284,-277,-245,-201,-280},{-314,-284,-171,-303,-282,-208},{-199,-254,-231,-307,-316,-256}},{{-159,-270,-282,-291,-231,-289},{-141,-289,-159,-196,-252,-213},{-169,-238,-180,-293,-289,-323},{-310,-224,-141,-143,-150,-286},{-139,-252,-266,-215,-249,-263},{-240,-150,-273,-263,-298,-277},{-166,-266,-208,-243,-289,-226},{-259,-178,-233,-171,-146,-141},{-298,-312,-206,-282,-171,-245},{-157,-176,-233,-268,-180,-203},{-146,-236,-166,-284,-298,-243},{-226,-229,-199,-159,-182,-164},{-139,-143,-296,-182,-176,-277},{-187,-266,-312,-219,-196,-178},{-293,-321,-266,-268,-210,-176},{-201,-284,-266,-261,-282,-268},{-245,-321,-249,-173,-141,-268},{-155,-270,-162,-256,-206,-219},{-282,-289,-263,-247,-286,-245},{-139,-194,-296,-298,-270,-268}}},{{{-213,-191,-284,-239,-200,-241},{-299,-228,-204,-230,-256,-252},{-215,-291,-158,-273,-280,-208},{-208,-297,-137,-215,-232,-213},{-139,-258,-271,-193,-204,-206},{-167,-132,-156,-208,-135,-169},{-182,-171,-200,-187,-293,-260},{-299,-260,-245,-217,-152,-180},{-245,-156,-226,-256,-291,-145},{-252,-202,-206,-184,-206,-184},{-299,-169,-226,-171,-254,-302},{-256,-241,-237,-228,-224,-204},{-280,-263,-273,-141,-269,-169},{-176,-213,-165,-243,-139,-156},{-171,-295,-280,-130,-137,-204},{-280,-137,-141,-184,-139,-304},{-234,-197,-245,-208,-299,-204},{-130,-260,-202,-137,-254,-182},{-152,-260,-213,-299,-132,-187},{-165,-297,-130,-245,-143,-302}},{{-171,-145,-258,-289,-169,-187},{-165,-278,-184,-195,-291,-267},{-239,-276,-150,-256,-130,-193},{-145,-234,-293,-208,-167,-273},{-132,-282,-213,-293,-195,-152},{-228,-210,-171,-226,-169,-174},{-280,-280,-182,-250,-163,-289},{-204,-230,-178,-269,-297,-215},{-219,-237,-243,-269,-202,-258},{-278,-252,-291,-184,-210,-145},{-145,-180,-189,-176,-158,-224},{-167,-158,-132,-226,-174,-241},{-154,-208,-286,-191,-219,-265},{-154,-219,-295,-226,-189,-245},{-154,-219,-156,-208,-180,-273},{-302,-174,-158,-132,-267,-182},{-226,-158,-184,-180,-252,-180},{-260,-265,-271,-152,-163,-284},{-243,-228,-265,-167,-224,-221},{-178,-254,-286,-150,-150,-284}},{{-217,-297,-282,-237,-258,-232},{-210,-143,-130,-245,-139,-135},{-219,-221,-158,-191,-273,-271},{-265,-176,-182,-197,-204,-304},{-267,-169,-299,-295,-260,-276},{-224,-193,-148,-219,-278,-250},{-221,-245,-150,-247,-187,-135},{-297,-293,-228,-239,-195,-169},{-180,-187,-226,-150,-271,-258},{-254,-263,-271,-169,-254,-247},{-169,-239,-171,-241,-176,-256},{-200,-289,-195,-299,-267,-213},{-145,-206,-189,-252,-206,-295},{-247,-180,-293,-178,-176,-158},{-187,-139,-150,-247,-295,-286},{-289,-299,-202,-228,-184,-158},{-284,-295,-304,-232,-245,-182},{-269,-304,-180,-221,-197,-148},{-193,-132,-135,-210,-295,-200},{-247,-226,-295,-239,-304,-171}},{{-213,-182,-141,-291,-215,-182},{-184,-161,-154,-156,-208,-169},{-297,-289,-276,-286,-182,-169},{-226,-221,-243,-169,-213,-145},{-152,-237,-299,-182,-158,-215},{-206,-206,-267,-302,-226,-273},{-141,-158,-232,-135,-258,-145},{-245,-187,-252,-156,-208,-234},{-213,-269,-176,-297,-132,-221},{-141,-234,-273,-252,-182,-284},{-219,-226,-245,-302,-280,-210},{-295,-213,-276,-271,-237,-156},{-260,-282,-163,-247,-152,-302},{-150,-239,-202,-130,-191,-215},{-219,-210,-143,-278,-213,-291},{-169,-204,-234,-182,-161,-234},{-245,-302,-234,-273,-284,-258},{-215,-260,-200,-241,-289,-286},{-150,-221,-243,-139,-226,-187},{-210,-219,-299,-189,-191,-189}},{{-273,-232,-289,-304,-295,-291},{-247,-130,-267,-226,-271,-250},{-189,-213,-299,-161,-234,-169},{-234,-145,-243,-250,-293,-267},{-230,-187,-204,-158,-202,-184},{-158,-263,-265,-263,-206,-293},{-263,-263,-187,-150,-161,-189},{-265,-161,-278,-215,-282,-156},{-271,-273,-161,-150,-234,-286},{-304,-258,-269,-250,-156,-135},{-174,-232,-273,-293,-213,-286},{-269,-228,-278,-278,-269,-258},{-165,-176,-204,-150,-295,-161},{-171,-204,-282,-132,-215,-243},{-135,-286,-204,-187,-178,-278},{-250,-260,-252,-148,-202,-152},{-271,-221,-245,-302,-137,-273},{-224,-156,-182,-161,-169,-276},{-195,-182,-219,-130,-137,-130},{-293,-224,-276,-271,-241,-228}},{{-180,-245,-187,-184,-171,-295},{-187,-304,-245,-286,-178,-302},{-167,-150,-208,-278,-286,-154},{-178,-158,-191,-295,-163,-284},{-273,-161,-191,-219,-200,-165},{-193,-152,-217,-239,-263,-135},{-163,-224,-302,-254,-258,-163},{-204,-200,-278,-224,-271,-148},{-265,-189,-191,-291,-210,-167},{-291,-152,-161,-267,-208,-250},{-167,-228,-180,-208,-289,-273},{-193,-230,-187,-137,-139,-193},{-289,-213,-280,-171,-276,-297},{-217,-230,-234,-193,-217,-163},{-239,-293,-219,-245,-200,-289},{-208,-156,-286,-291,-254,-241},{-230,-195,-273,-239,-171,-163},{-265,-171,-295,-174,-284,-226},{-150,-130,-165,-252,-295,-197},{-271,-282,-234,-200,-171,-291}}},{{{-165,-218,-255,-189,-282,-295},{-176,-173,-213,-253,-226,-263},{-194,-218,-364,-226,-184,-237},{-189,-298,-218,-247,-274,-263},{-189,-332,-168,-162,-309,-247},{-181,-223,-162,-173,-173,-346},{-173,-194,-202,-372,-192,-210},{-269,-359,-314,-271,-301,-247},{-311,-160,-319,-293,-207,-330},{-160,-221,-367,-354,-176,-293},{-160,-168,-317,-351,-359,-348},{-234,-242,-229,-317,-266,-207},{-168,-221,-245,-293,-205,-295},{-263,-356,-255,-354,-330,-351},{-293,-239,-245,-277,-364,-231},{-192,-311,-160,-168,-279,-218},{-213,-277,-165,-330,-261,-327},{-332,-362,-293,-218,-359,-165},{-303,-338,-325,-282,-250,-226},{-327,-303,-285,-253,-250,-372}},{{-234,-170,-325,-162,-245,-223},{-325,-266,-351,-165,-229,-274},{-269,-290,-210,-181,-303,-223},{-189,-372,-192,-173,-213,-226},{-348,-200,-165,-231,-271,-362},{-301,-287,-245,-338,-319,-332},{-231,-250,-325,-234,-282,-370},{-266,-215,-176,-181,-213,-332},{-362,-255,-189,-266,-258,-178},{-194,-271,-205,-364,-343,-301},{-285,-245,-314,-197,-223,-221},{-367,-301,-250,-170,-162,-176},{-186,-210,-277,-266,-223,-287},{-176,-364,-303,-362,-364,-279},{-303,-354,-231,-205,-309,-274},{-346,-245,-340,-218,-367,-205},{-290,-285,-176,-210,-221,-290},{-250,-184,-372,-285,-314,-250},{-277,-237,-186,-210,-285,-173},{-189,-215,-287,-242,-285,-317}},{{-282,-213,-359,-327,-215,-295},{-290,-207,-269,-356,-346,-346},{-226,-258,-354,-226,-250,-255},{-237,-354,-309,-340,-255,-250},{-277,-285,-263,-348,-346,-181},{-205,-269,-168,-287,-269,-322},{-221,-322,-325,-213,-364,-277},{-221,-223,-266,-282,-370,-351},{-242,-229,-372,-218,-223,-279},{-221,-295,-372,-178,-184,-223},{-266,-277,-184,-263,-189,-184},{-239,-261,-207,-189,-184,-194},{-322,-356,-253,-237,-356,-162},{-367,-370,-253,-279,-266,-170},{-223,-223,-293,-319,-250,-234},{-245,-181,-207,-181,-311,-298},{-330,-181,-207,-266,-189,-160},{-255,-293,-170,-234,-173,-367},{-202,-160,-325,-293,-229,-189},{-303,-194,-306,-160,-372,-213}},{{-189,-239,-205,-269,-340,-194},{-293,-340,-322,-221,-176,-354},{-189,-343,-295,-330,-279,-194},{-215,-287,-168,-239,-200,-255},{-226,-247,-351,-277,-311,-362},{-348,-210,-162,-205,-200,-327},{-309,-340,-279,-346,-271,-215},{-335,-362,-309,-213,-237,-226},{-263,-306,-330,-200,-226,-266},{-298,-186,-362,-327,-293,-160},{-335,-253,-311,-197,-340,-330},{-168,-186,-327,-335,-298,-327},{-330,-189,-200,-215,-213,-176},{-367,-330,-317,-317,-245,-205},{-340,-223,-263,-160,-215,-367},{-295,-351,-370,-282,-309,-271},{-317,-202,-194,-269,-210,-239},{-160,-253,-335,-330,-253,-162},{-213,-258,-181,-237,-319,-189},{-269,-277,-181,-330,-295,-247}},{{-314,-253,-242,-269,-173,-173},{-200,-231,-311,-253,-245,-277},{-255,-250,-226,-186,-186,-279},{-335,-319,-181,-309,-325,-322},{-237,-229,-269,-263,-160,-338},{-340,-263,-221,-181,-338,-266},{-303,-213,-160,-279,-210,-162},{-184,-332,-266,-309,-293,-239},{-237,-242,-306,-274,-317,-192},{-364,-322,-293,-362,-274,-261},{-194,-253,-186,-282,-170,-210},{-317,-239,-370,-330,-255,-170},{-271,-255,-356,-189,-306,-255},{-370,-282,-205,-364,-277,-306},{-258,-226,-338,-335,-221,-348},{-250,-234,-295,-367,-213,-277},{-311,-239,-184,-354,-202,-176},{-330,-176,-322,-210,-253,-223},{-362,-231,-221,-338,-279,-364},{-266,-351,-370,-186,-285,-285}},{{-192,-245,-285,-282,-231,-215},{-194,-162,-322,-210,-231,-247},{-218,-226,-242,-186,-335,-165},{-372,-186,-237,-277,-266,-279},{-266,-239,-197,-362,-226,-282},{-354,-340,-346,-165,-266,-213},{-266,-207,-271,-332,-218,-271},{-162,-309,-223,-279,-165,-362},{-359,-301,-218,-215,-215,-162},{-301,-207,-351,-290,-351,-210},{-295,-200,-170,-266,-242,-194},{-234,-306,-231,-279,-160,-210},{-194,-194,-317,-287,-335,-245},{-285,-226,-202,-218,-221,-194},{-229,-290,-234,-362,-348,-317},{-178,-229,-364,-287,-372,-269},{-247,-354,-173,-295,-332,-258},{-322,-250,-279,-165,-287,-162},{-372,-253,-370,-322,-287,-370},{-346,-194,-303,-277,-250,-332}}},{{{-342,-381,-288,-311,-277,-235},{-199,-199,-308,-227,-291,-232},{-367,-305,-283,-375,-294,-232},{-224,-392,-339,-353,-344,-333},{-277,-386,-274,-392,-300,-316},{-269,-204,-204,-168,-342,-297},{-244,-221,-350,-272,-232,-314},{-249,-328,-316,-344,-319,-283},{-308,-308,-218,-179,-316,-361},{-210,-342,-361,-328,-255,-221},{-204,-249,-375,-188,-277,-370},{-361,-294,-255,-244,-367,-280},{-277,-244,-325,-364,-221,-336},{-255,-199,-353,-358,-190,-252},{-370,-255,-182,-353,-283,-213},{-280,-305,-381,-358,-297,-216},{-286,-386,-216,-325,-210,-249},{-185,-244,-274,-185,-204,-347},{-210,-330,-218,-300,-241,-182},{-269,-204,-246,-291,-221,-277}},{{-350,-305,-193,-314,-392,-339},{-238,-249,-218,-224,-311,-302},{-288,-314,-266,-182,-171,-300},{-361,-230,-305,-277,-266,-221},{-361,-244,-381,-342,-286,-386},{-266,-258,-356,-190,-311,-232},{-202,-241,-263,-202,-216,-367},{-171,-302,-235,-272,-244,-202},{-190,-213,-378,-350,-283,-179},{-227,-353,-230,-372,-370,-283},{-367,-207,-361,-210,-269,-280},{-283,-311,-230,-216,-384,-227},{-322,-358,-241,-342,-249,-224},{-190,-202,-266,-392,-252,-361},{-188,-171,-389,-277,-249,-392},{-288,-370,-280,-300,-381,-227},{-300,-171,-311,-364,-302,-300},{-347,-384,-230,-336,-325,-378},{-370,-322,-370,-174,-232,-277},{-286,-274,-213,-392,-266,-168}},{{-336,-272,-367,-375,-199,-288},{-185,-358,-258,-235,-227,-221},{-269,-350,-297,-232,-286,-255},{-168,-260,-392,-358,-213,-193},{-353,-202,-356,-314,-308,-193},{-202,-255,-272,-185,-255,-263},{-210,-333,-286,-381,-230,-328},{-174,-210,-207,-286,-216,-314},{-353,-252,-204,-294,-372,-300},{-314,-308,-319,-272,-347,-277},{-266,-325,-342,-342,-381,-185},{-364,-381,-218,-291,-305,-314},{-244,-286,-314,-384,-291,-277},{-185,-358,-249,-224,-196,-294},{-258,-204,-176,-227,-286,-185},{-370,-185,-213,-325,-238,-196},{-232,-291,-347,-372,-381,-171},{-272,-252,-246,-283,-325,-221},{-316,-308,-255,-272,-176,-370},{-235,-333,-314,-328,-347,-252}},{{-218,-294,-392,-179,-272,-333},{-235,-241,-204,-171,-353,-344},{-266,-246,-227,-176,-216,-176},{-330,-356,-185,-185,-356,-305},{-216,-336,-232,-174,-174,-244},{-207,-311,-216,-322,-328,-302},{-190,-196,-389,-244,-311,-350},{-364,-263,-367,-258,-193,-330},{-308,-336,-204,-238,-370,-235},{-302,-364,-204,-325,-356,-216},{-305,-202,-350,-227,-218,-328},{-389,-224,-238,-216,-258,-286},{-274,-311,-342,-213,-286,-196},{-314,-328,-336,-372,-174,-199},{-210,-389,-361,-241,-342,-249},{-370,-353,-286,-297,-330,-333},{-322,-288,-196,-339,-202,-356},{-328,-210,-300,-342,-384,-174},{-316,-176,-174,-361,-389,-286},{-244,-241,-297,-283,-288,-227}},{{-258,-258,-339,-375,-353,-372},{-353,-300,-274,-356,-260,-171},{-384,-221,-171,-204,-364,-375},{-255,-202,-207,-213,-227,-350},{-342,-344,-316,-216,-353,-171},{-179,-210,-300,-319,-230,-325},{-266,-378,-375,-367,-232,-182},{-336,-384,-386,-305,-263,-283},{-258,-269,-199,-255,-277,-300},{-375,-319,-174,-336,-193,-171},{-350,-263,-288,-344,-325,-280},{-266,-272,-330,-353,-297,-314},{-291,-188,-339,-176,-336,-392},{-207,-190,-305,-230,-319,-356},{-190,-221,-384,-232,-274,-216},{-277,-274,-263,-280,-210,-347},{-227,-246,-199,-294,-260,-263},{-350,-302,-213,-235,-207,-185},{-283,-260,-210,-221,-204,-372},{-185,-216,-227,-238,-274,-381}},{{-196,-232,-272,-246,-174,-367},{-302,-364,-308,-367,-171,-185},{-244,-249,-168,-246,-308,-319},{-378,-330,-328,-168,-171,-330},{-333,-353,-386,-202,-230,-297},{-375,-238,-244,-207,-255,-367},{-350,-235,-232,-328,-308,-339},{-297,-347,-182,-288,-196,-300},{-227,-224,-330,-291,-330,-232},{-235,-288,-370,-375,-342,-294},{-336,-381,-263,-294,-244,-258},{-300,-392,-218,-174,-372,-255},{-252,-204,-370,-336,-277,-227},{-314,-381,-258,-193,-283,-196},{-241,-347,-255,-330,-381,-302},{-378,-199,-353,-389,-272,-193},{-314,-372,-358,-168,-286,-249},{-384,-252,-353,-316,-336,-294},{-185,-252,-325,-288,-224,-182},{-358,-372,-353,-322,-272,-370}}},{{{-176,-221,-235,-252,-336,-252},{-384,-286,-249,-199,-269,-263},{-176,-182,-227,-353,-171,-370},{-252,-370,-342,-266,-216,-311},{-294,-389,-255,-384,-350,-224},{-249,-333,-389,-347,-216,-207},{-347,-364,-272,-330,-353,-353},{-314,-364,-224,-249,-280,-190},{-319,-188,-372,-322,-171,-356},{-286,-381,-246,-288,-179,-392},{-190,-358,-213,-244,-330,-190},{-302,-386,-302,-263,-224,-224},{-171,-266,-339,-342,-353,-356},{-241,-288,-392,-288,-319,-204},{-314,-255,-227,-266,-364,-238},{-221,-305,-258,-227,-300,-274},{-171,-255,-221,-252,-260,-367},{-356,-356,-179,-185,-210,-314},{-311,-392,-232,-266,-218,-283},{-311,-221,-232,-188,-353,-308}},{{-344,-224,-311,-342,-202,-269},{-356,-221,-232,-288,-266,-168},{-210,-241,-353,-353,-375,-227},{-227,-190,-330,-358,-274,-280},{-277,-339,-263,-302,-266,-288},{-185,-300,-384,-392,-389,-364},{-339,-386,-230,-244,-325,-224},{-322,-190,-316,-330,-367,-358},{-308,-302,-244,-277,-190,-190},{-188,-224,-381,-358,-196,-171},{-308,-339,-308,-314,-182,-266},{-168,-389,-353,-249,-263,-286},{-364,-339,-361,-364,-283,-213},{-325,-202,-372,-269,-171,-358},{-350,-372,-384,-353,-213,-252},{-347,-213,-246,-384,-224,-230},{-308,-244,-235,-182,-168,-325},{-333,-216,-207,-168,-246,-367},{-199,-185,-255,-375,-213,-300},{-174,-182,-358,-216,-179,-227}},{{-350,-330,-176,-258,-179,-364},{-353,-325,-260,-370,-322,-238},{-386,-384,-174,-171,-294,-179},{-364,-358,-339,-364,-238,-325},{-386,-269,-364,-378,-375,-216},{-372,-188,-171,-277,-185,-249},{-300,-286,-227,-266,-249,-255},{-302,-392,-308,-210,-277,-342},{-392,-244,-333,-258,-188,-311},{-255,-286,-213,-274,-224,-280},{-171,-260,-227,-258,-230,-202},{-266,-311,-344,-232,-204,-207},{-367,-333,-333,-277,-193,-389},{-361,-238,-325,-277,-378,-174},{-339,-238,-350,-367,-386,-249},{-350,-235,-218,-238,-224,-314},{-202,-322,-210,-244,-272,-227},{-252,-370,-235,-311,-244,-330},{-218,-258,-190,-176,-263,-272},{-353,-176,-370,-283,-249,-213}},{{-392,-364,-364,-269,-230,-235},{-347,-235,-260,-182,-174,-314},{-372,-252,-263,-297,-204,-199},{-370,-328,-185,-316,-286,-272},{-308,-252,-176,-325,-297,-230},{-280,-386,-297,-325,-361,-174},{-227,-305,-356,-291,-361,-227},{-207,-344,-353,-182,-277,-342},{-333,-378,-244,-277,-246,-283},{-185,-207,-381,-333,-196,-232},{-213,-263,-300,-333,-283,-185},{-381,-241,-392,-384,-381,-185},{-202,-356,-342,-238,-185,-370},{-389,-171,-258,-342,-386,-277},{-202,-179,-336,-232,-297,-302},{-277,-367,-319,-314,-344,-288},{-218,-230,-308,-372,-227,-283},{-392,-274,-193,-272,-266,-319},{-305,-294,-199,-297,-344,-274},{-204,-392,-364,-372,-266,-370}},{{-322,-202,-361,-330,-244,-347},{-386,-224,-269,-339,-325,-246},{-216,-174,-255,-392,-244,-367},{-196,-272,-238,-286,-171,-330},{-266,-274,-193,-202,-210,-372},{-193,-358,-224,-258,-314,-232},{-384,-207,-255,-344,-336,-364},{-168,-378,-185,-333,-238,-308},{-294,-232,-224,-204,-227,-350},{-381,-280,-182,-316,-344,-244},{-255,-353,-319,-185,-168,-218},{-213,-216,-188,-328,-238,-358},{-179,-210,-224,-263,-255,-185},{-185,-260,-375,-204,-216,-244},{-277,-216,-174,-263,-322,-238},{-367,-188,-255,-266,-238,-199},{-252,-325,-260,-216,-230,-286},{-361,-350,-342,-182,-316,-297},{-316,-367,-258,-311,-258,-322},{-266,-224,-305,-185,-297,-370}},{{-361,-221,-274,-204,-263,-328},{-213,-199,-328,-258,-381,-350},{-367,-294,-269,-364,-260,-356},{-358,-174,-185,-305,-311,-361},{-347,-168,-190,-176,-316,-266},{-378,-171,-311,-230,-196,-361},{-384,-333,-392,-328,-356,-339},{-274,-272,-386,-344,-308,-381},{-350,-241,-319,-249,-308,-244},{-286,-230,-238,-266,-342,-249},{-210,-384,-300,-230,-176,-235},{-342,-266,-308,-375,-372,-190},{-319,-274,-339,-300,-364,-356},{-244,-221,-336,-350,-378,-269},{-372,-244,-339,-344,-246,-344},{-378,-207,-286,-260,-316,-358},{-249,-319,-269,-356,-280,-174},{-235,-241,-336,-319,-311,-300},{-364,-246,-333,-263,-213,-199},{-224,-241,-269,-319,-218,-342}}},{{{-269,-196,-252,-196,-330,-350},{-302,-263,-330,-235,-274,-389},{-204,-179,-344,-277,-280,-325},{-291,-213,-185,-255,-322,-364},{-176,-336,-350,-252,-297,-210},{-286,-188,-328,-339,-316,-207},{-286,-330,-316,-288,-185,-328},{-378,-367,-328,-297,-311,-274},{-356,-249,-316,-210,-272,-392},{-255,-204,-319,-207,-218,-386},{-302,-305,-367,-249,-370,-372},{-277,-190,-221,-210,-342,-263},{-221,-252,-370,-213,-218,-252},{-266,-328,-358,-370,-277,-204},{-361,-302,-322,-361,-252,-344},{-294,-244,-367,-244,-171,-375},{-305,-272,-322,-252,-389,-174},{-182,-207,-280,-381,-325,-297},{-266,-361,-207,-260,-235,-344},{-263,-361,-188,-221,-316,-255}},{{-353,-235,-182,-224,-272,-288},{-260,-216,-288,-171,-213,-274},{-190,-367,-269,-297,-255,-182},{-224,-302,-308,-302,-202,-221},{-384,-297,-269,-311,-294,-286},{-269,-300,-216,-260,-230,-392},{-263,-311,-339,-378,-246,-176},{-246,-328,-389,-347,-342,-258},{-288,-367,-286,-179,-252,-258},{-216,-333,-375,-207,-255,-252},{-269,-196,-361,-185,-185,-336},{-227,-361,-238,-330,-325,-207},{-272,-221,-199,-232,-350,-328},{-182,-202,-291,-274,-258,-277},{-375,-367,-361,-302,-353,-274},{-308,-269,-297,-274,-328,-305},{-342,-311,-196,-280,-260,-378},{-370,-333,-311,-196,-266,-182},{-252,-249,-272,-280,-235,-372},{-356,-300,-227,-246,-333,-255}},{{-308,-322,-350,-252,-255,-221},{-168,-367,-378,-288,-297,-255},{-274,-384,-277,-330,-308,-314},{-356,-353,-269,-213,-300,-333},{-171,-381,-361,-300,-277,-224},{-266,-300,-213,-218,-386,-221},{-246,-333,-325,-196,-210,-224},{-190,-210,-325,-308,-213,-272},{-255,-328,-258,-249,-333,-269},{-305,-291,-375,-353,-182,-277},{-280,-258,-252,-230,-185,-218},{-263,-325,-375,-190,-280,-300},{-333,-185,-333,-230,-277,-249},{-361,-269,-260,-350,-227,-207},{-241,-392,-283,-372,-185,-356},{-333,-241,-230,-389,-244,-224},{-185,-325,-344,-328,-336,-392},{-339,-339,-190,-381,-182,-224},{-176,-375,-288,-330,-389,-358},{-356,-353,-386,-258,-361,-305}},{{-384,-232,-260,-302,-330,-266},{-230,-386,-179,-384,-255,-252},{-241,-182,-232,-258,-378,-370},{-190,-174,-342,-361,-328,-311},{-378,-311,-308,-277,-235,-342},{-266,-325,-350,-280,-277,-358},{-300,-266,-218,-216,-283,-171},{-171,-216,-176,-333,-311,-202},{-356,-185,-241,-283,-342,-280},{-280,-280,-218,-319,-204,-300},{-224,-305,-358,-328,-176,-266},{-252,-235,-294,-384,-210,-347},{-364,-269,-266,-328,-199,-202},{-378,-176,-291,-280,-344,-381},{-221,-182,-249,-364,-196,-263},{-258,-188,-392,-311,-322,-336},{-235,-378,-358,-389,-375,-325},{-277,-260,-174,-322,-386,-176},{-291,-389,-260,-319,-339,-168},{-193,-302,-356,-182,-372,-179}},{{-328,-336,-171,-283,-370,-319},{-330,-221,-255,-342,-389,-314},{-322,-283,-370,-288,-274,-336},{-255,-322,-216,-291,-227,-344},{-294,-384,-283,-255,-375,-185},{-185,-260,-263,-297,-316,-314},{-389,-314,-224,-232,-314,-311},{-190,-330,-322,-213,-255,-204},{-386,-384,-308,-308,-235,-193},{-246,-280,-238,-344,-235,-364},{-246,-342,-193,-319,-227,-291},{-241,-188,-190,-174,-358,-286},{-221,-344,-179,-202,-176,-188},{-308,-185,-297,-311,-347,-302},{-277,-378,-280,-392,-375,-344},{-230,-316,-168,-260,-358,-224},{-286,-325,-347,-207,-381,-188},{-328,-244,-207,-230,-305,-350},{-202,-199,-294,-389,-196,-389},{-280,-328,-358,-311,-188,-370}},{{-213,-232,-272,-305,-308,-185},{-210,-389,-339,-280,-260,-364},{-367,-193,-325,-389,-297,-202},{-314,-319,-260,-168,-364,-258},{-305,-235,-347,-311,-216,-188},{-283,-241,-378,-244,-199,-288},{-389,-260,-258,-182,-308,-227},{-204,-389,-322,-314,-196,-389},{-258,-392,-210,-235,-277,-384},{-314,-358,-342,-249,-196,-322},{-328,-221,-252,-235,-288,-179},{-210,-193,-277,-353,-333,-283},{-386,-196,-221,-255,-353,-297},{-311,-358,-311,-263,-213,-216},{-246,-213,-288,-372,-252,-358},{-168,-216,-266,-328,-328,-286},{-255,-384,-319,-344,-241,-283},{-316,-361,-168,-255,-246,-235},{-361,-361,-305,-286,-372,-286},{-188,-328,-185,-367,-316,-241}}}}; // supply (positive for supply and negative for demand) under different scenarios 
int iniv[I]={2070,261,23,150,170,304,400,300,160}; // initial inventory 
int ubiv[I]={2740,522,414,300,341,608,800,600,320}; // the upper bounds of inventory 
int len[I1][I2]={{3,6,2,2,3,3,2,1}}; // 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,7.19,13.32,4.32,2.64,5.16,6.85,4.63,1.82}; // 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]={{6.54,12.11,3.93,2.4,4.69,6.23,4.21,1.65}}; // 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]={5.23,5.23,5.23,4.58,4.58,4.58,3.92,3.92,3.92,9.69,9.69,9.69,8.48,8.48,8.48,7.27,7.27,7.27,3.14,3.14,3.14,2.75,2.75,2.75,2.36,2.36,2.36,1.92,1.92,1.92,1.68,1.68,1.68,1.44,1.44,1.44,3.75,3.75,3.75,3.28,3.28,3.28,2.81,2.81,2.81,4.98,4.98,4.98,4.36,4.36,4.36,3.74,3.74,3.74,3.37,3.37,3.37,2.95,2.95,2.95,2.53,2.53,2.53,1.32,1.32,1.32,1.16,1.16,1.16,0.99,0.99,0.99}; // 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,6,17,9,6,16,8,6,15,8,5,14,8,5,15,8,5,17,9,6,17,9,6,16,9,6,17,9,6,16,9,6,17,8,6,16,8,6,16,8,6,16,9,6,16,9,6,16,8,6,17,8,6,17,9,6,17,8,6,17,9,6,17,9,6,18,9,6,17,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}}; // set of shipments in each bid 
int SHsts[SPN]={1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,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,0,4,8,12,16,20,24,28,32,0,6,12,18,24,30,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,2,6,10,14,18,22,26,30,1,7,13,19,25,31,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,1,5,9,13,17,21,25,29,1,7,13,19,25,2,4,6,8,10,12,14,16,18,20,22,24,26,28,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,0,4,8,12,16,20,24,28,2,8,14,20,26,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,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,0,4,8,12,16,20,24,28,32,0,6,12,18,24,30,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,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,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,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,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,1,5,9,13,17,21,25,29,2,8,14,20,26,32,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,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,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,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,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,0,6,12,18,24,30,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,1,5,9,13,17,21,25,29,33,2,8,14,20,26,32,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,0,4,8,12,16,20,24,28,32,2,8,14,20,26,32,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}; // set of start times of each shipment 
int SHets[SPN]={4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,5,9,13,17,21,25,29,33,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,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,5,9,13,17,21,25,29,33,4,10,16,22,28,34,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,8,10,12,14,16,18,20,22,24,26,28,30,32,34,6,10,14,18,22,26,30,34,7,13,19,25,31,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,6,10,14,18,22,26,30,34,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,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,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,3,7,11,15,19,23,27,31,35,2,8,14,20,26,32,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,3,7,11,15,19,23,27,31,35,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,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,5,9,13,17,21,25,29,33,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,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,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,4,10,16,22,28,34,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,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,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,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,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,2,6,10,14,18,22,26,30,34,3,9,15,21,27,33,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,1,5,9,13,17,21,25,29,33,3,9,15,21,27,33,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}; // set of end times of each shipment 
