int Dev = 20;// 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 = 735;//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]={{{{11451,0,0,0,0,0},{11230,0,0,0,0,0},{11316,0,0,0,0,0},{11697,0,0,0,0,0},{11745,0,0,0,0,0},{11061,0,0,0,0,0},{11429,0,0,0,0,0},{11459,0,0,0,0,0},{11362,0,0,0,0,0},{11839,0,0,0,0,0},{11423,0,0,0,0,0},{11113,0,0,0,0,0},{11795,0,0,0,0,0},{11402,0,0,0,0,0},{11551,0,0,0,0,0},{11674,0,0,0,0,0},{11578,0,0,0,0,0},{11507,0,0,0,0,0},{11221,0,0,0,0,0},{11614,0,0,0,0,0}},{{11695,0,0,0,0,0},{11760,0,0,0,0,0},{11642,0,0,0,0,0},{11173,0,0,0,0,0},{11116,0,0,0,0,0},{11712,0,0,0,0,0},{11818,0,0,0,0,0},{11209,0,0,0,0,0},{11483,0,0,0,0,0},{11582,0,0,0,0,0},{11630,0,0,0,0,0},{11357,0,0,0,0,0},{11714,0,0,0,0,0},{11481,0,0,0,0,0},{11402,0,0,0,0,0},{11124,0,0,0,0,0},{11644,0,0,0,0,0},{11322,0,0,0,0,0},{11223,0,0,0,0,0},{11317,0,0,0,0,0}},{{11635,0,0,0,0,0},{11626,0,0,0,0,0},{11474,0,0,0,0,0},{11606,0,0,0,0,0},{11174,0,0,0,0,0},{11491,0,0,0,0,0},{11762,0,0,0,0,0},{11649,0,0,0,0,0},{11536,0,0,0,0,0},{11478,0,0,0,0,0},{11790,0,0,0,0,0},{11438,0,0,0,0,0},{11600,0,0,0,0,0},{11371,0,0,0,0,0},{11704,0,0,0,0,0},{11404,0,0,0,0,0},{11330,0,0,0,0,0},{11612,0,0,0,0,0},{11552,0,0,0,0,0},{11483,0,0,0,0,0}},{{11357,0,0,0,0,0},{11366,0,0,0,0,0},{11730,0,0,0,0,0},{11607,0,0,0,0,0},{11159,0,0,0,0,0},{11433,0,0,0,0,0},{11407,0,0,0,0,0},{11502,0,0,0,0,0},{11408,0,0,0,0,0},{11785,0,0,0,0,0},{11368,0,0,0,0,0},{11423,0,0,0,0,0},{11256,0,0,0,0,0},{11215,0,0,0,0,0},{11501,0,0,0,0,0},{11225,0,0,0,0,0},{11602,0,0,0,0,0},{11634,0,0,0,0,0},{11318,0,0,0,0,0},{11894,0,0,0,0,0}},{{11495,0,0,0,0,0},{11657,0,0,0,0,0},{11398,0,0,0,0,0},{11385,0,0,0,0,0},{11243,0,0,0,0,0},{11296,0,0,0,0,0},{11390,0,0,0,0,0},{11357,0,0,0,0,0},{11655,0,0,0,0,0},{11452,0,0,0,0,0},{11296,0,0,0,0,0},{11656,0,0,0,0,0},{11498,0,0,0,0,0},{11189,0,0,0,0,0},{11455,0,0,0,0,0},{11565,0,0,0,0,0},{11468,0,0,0,0,0},{11361,0,0,0,0,0},{11840,0,0,0,0,0},{11402,0,0,0,0,0}},{{11464,0,0,0,0,0},{11627,0,0,0,0,0},{11692,0,0,0,0,0},{11287,0,0,0,0,0},{11508,0,0,0,0,0},{11659,0,0,0,0,0},{11560,0,0,0,0,0},{11655,0,0,0,0,0},{11382,0,0,0,0,0},{11416,0,0,0,0,0},{11358,0,0,0,0,0},{11200,0,0,0,0,0},{11886,0,0,0,0,0},{11731,0,0,0,0,0},{11891,0,0,0,0,0},{11450,0,0,0,0,0},{11878,0,0,0,0,0},{11938,0,0,0,0,0},{11582,0,0,0,0,0},{11336,0,0,0,0,0}}},{{{-207,-211,-231,-207,-193,-185},{-219,-187,-183,-197,-195,-173},{-213,-166,-199,-205,-164,-166},{-187,-244,-191,-233,-240,-185},{-217,-240,-205,-201,-183,-235},{-171,-175,-238,-177,-187,-235},{-223,-244,-242,-219,-217,-238},{-177,-193,-219,-177,-189,-225},{-164,-175,-229,-215,-211,-193},{-217,-193,-187,-175,-179,-240},{-233,-229,-238,-189,-213,-197},{-195,-225,-164,-164,-179,-211},{-219,-235,-242,-223,-213,-227},{-191,-185,-221,-162,-185,-195},{-221,-203,-199,-223,-162,-238},{-195,-207,-207,-217,-209,-229},{-240,-189,-199,-215,-173,-205},{-229,-211,-238,-193,-201,-227},{-225,-199,-185,-217,-168,-215},{-177,-235,-219,-185,-179,-179}},{{-223,-238,-233,-205,-175,-201},{-197,-238,-207,-207,-219,-201},{-215,-187,-203,-179,-244,-238},{-168,-215,-189,-164,-187,-173},{-199,-217,-183,-203,-211,-215},{-168,-181,-203,-211,-168,-201},{-185,-242,-177,-177,-183,-238},{-233,-171,-177,-175,-175,-195},{-213,-193,-162,-209,-166,-205},{-215,-238,-183,-240,-173,-191},{-242,-209,-225,-199,-193,-168},{-240,-175,-166,-207,-173,-197},{-227,-175,-168,-221,-201,-185},{-193,-201,-240,-223,-185,-201},{-238,-164,-173,-201,-171,-205},{-213,-203,-168,-177,-209,-221},{-164,-189,-223,-225,-181,-189},{-221,-225,-166,-211,-201,-199},{-197,-191,-173,-193,-179,-185},{-235,-177,-240,-187,-168,-166}},{{-244,-223,-219,-244,-189,-244},{-191,-207,-235,-164,-211,-191},{-213,-187,-195,-199,-203,-187},{-207,-183,-244,-189,-217,-240},{-177,-205,-221,-199,-215,-181},{-199,-166,-199,-221,-244,-244},{-205,-221,-197,-235,-191,-244},{-240,-213,-205,-191,-193,-242},{-195,-227,-197,-177,-201,-211},{-231,-203,-183,-244,-242,-235},{-209,-213,-207,-209,-191,-244},{-227,-175,-173,-177,-209,-223},{-244,-244,-173,-211,-175,-195},{-177,-168,-209,-223,-233,-217},{-242,-229,-171,-244,-223,-233},{-171,-185,-199,-189,-215,-229},{-171,-181,-219,-215,-175,-162},{-203,-179,-211,-185,-244,-240},{-209,-213,-209,-244,-235,-181},{-221,-235,-173,-225,-171,-185}},{{-164,-227,-189,-164,-217,-168},{-185,-177,-227,-181,-197,-213},{-195,-205,-221,-207,-191,-209},{-199,-211,-162,-179,-195,-187},{-227,-209,-171,-193,-171,-166},{-193,-213,-219,-203,-166,-242},{-199,-213,-238,-164,-175,-219},{-199,-213,-185,-217,-185,-201},{-207,-201,-207,-179,-238,-166},{-238,-191,-197,-229,-211,-213},{-181,-183,-197,-185,-175,-242},{-213,-187,-219,-193,-215,-187},{-191,-209,-164,-207,-193,-189},{-179,-211,-193,-231,-209,-183},{-240,-162,-242,-209,-181,-173},{-199,-166,-173,-235,-168,-199},{-235,-201,-179,-227,-166,-183},{-227,-209,-171,-240,-211,-171},{-162,-173,-179,-209,-183,-195},{-203,-229,-191,-164,-240,-189}},{{-177,-185,-195,-223,-173,-171},{-244,-219,-185,-217,-171,-219},{-189,-219,-225,-207,-183,-189},{-189,-185,-187,-207,-235,-175},{-193,-203,-205,-195,-221,-201},{-195,-215,-195,-211,-173,-189},{-231,-191,-221,-217,-183,-162},{-219,-203,-244,-199,-207,-213},{-164,-179,-238,-197,-193,-179},{-166,-203,-177,-185,-231,-238},{-193,-191,-213,-207,-166,-217},{-223,-207,-187,-181,-189,-197},{-166,-201,-244,-213,-193,-240},{-173,-171,-215,-233,-173,-223},{-173,-209,-219,-217,-177,-189},{-235,-215,-223,-199,-201,-219},{-240,-175,-215,-207,-203,-189},{-219,-177,-197,-227,-215,-215},{-223,-164,-207,-225,-227,-191},{-233,-191,-203,-227,-171,-197}},{{-168,-162,-231,-217,-177,-189},{-213,-179,-193,-187,-166,-229},{-162,-238,-215,-211,-223,-177},{-191,-229,-227,-162,-185,-215},{-238,-203,-185,-179,-193,-179},{-185,-231,-191,-238,-242,-227},{-225,-173,-223,-191,-215,-242},{-231,-173,-164,-223,-244,-207},{-217,-231,-199,-177,-213,-179},{-201,-240,-215,-213,-207,-193},{-175,-231,-242,-187,-209,-166},{-164,-166,-203,-203,-179,-242},{-229,-221,-227,-229,-238,-209},{-221,-229,-217,-183,-209,-240},{-177,-227,-181,-231,-164,-175},{-164,-164,-211,-235,-185,-213},{-211,-181,-233,-238,-209,-217},{-223,-171,-173,-191,-225,-229},{-173,-162,-185,-215,-238,-179},{-201,-238,-199,-211,-197,-177}}},{{{-167,-192,-150,-187,-135,-135},{-167,-156,-158,-177,-184,-143},{-129,-147,-137,-158,-164,-156},{-130,-171,-143,-137,-163,-190},{-135,-145,-163,-172,-130,-185},{-179,-172,-174,-161,-161,-159},{-138,-140,-193,-164,-180,-182},{-159,-150,-188,-148,-193,-156},{-159,-145,-163,-129,-150,-129},{-164,-177,-134,-134,-184,-158},{-130,-158,-151,-185,-151,-147},{-145,-137,-132,-145,-164,-134},{-174,-185,-142,-164,-164,-185},{-134,-132,-175,-156,-158,-167},{-169,-174,-153,-163,-161,-150},{-151,-180,-151,-155,-140,-164},{-190,-185,-193,-185,-193,-132},{-187,-143,-148,-158,-169,-134},{-177,-166,-130,-148,-156,-185},{-132,-159,-148,-179,-172,-179}},{{-151,-190,-180,-158,-188,-153},{-175,-137,-179,-172,-172,-193},{-153,-190,-147,-177,-169,-138},{-184,-174,-156,-148,-148,-143},{-164,-142,-147,-147,-166,-140},{-177,-153,-142,-145,-179,-159},{-171,-166,-187,-140,-166,-137},{-163,-167,-155,-159,-179,-175},{-132,-167,-135,-163,-179,-134},{-190,-174,-159,-145,-129,-193},{-148,-188,-190,-193,-135,-142},{-175,-167,-132,-155,-175,-179},{-180,-156,-184,-155,-150,-158},{-151,-171,-187,-134,-167,-169},{-158,-193,-147,-188,-180,-140},{-167,-153,-145,-164,-138,-135},{-169,-138,-169,-129,-182,-130},{-158,-156,-175,-147,-177,-142},{-147,-129,-179,-174,-163,-134},{-132,-164,-159,-163,-179,-158}},{{-151,-134,-151,-163,-150,-166},{-184,-166,-159,-135,-135,-137},{-185,-148,-142,-142,-171,-140},{-135,-145,-177,-180,-140,-134},{-142,-172,-166,-145,-166,-164},{-179,-156,-155,-192,-167,-153},{-184,-188,-175,-164,-171,-175},{-151,-147,-158,-192,-192,-134},{-192,-138,-192,-187,-147,-143},{-142,-169,-142,-163,-167,-159},{-180,-167,-147,-158,-161,-140},{-167,-140,-142,-138,-130,-137},{-140,-161,-175,-148,-185,-158},{-192,-182,-140,-161,-134,-143},{-129,-184,-177,-135,-188,-164},{-166,-156,-135,-137,-190,-175},{-185,-150,-138,-143,-153,-164},{-153,-163,-142,-150,-182,-158},{-185,-180,-142,-163,-179,-158},{-159,-140,-171,-153,-166,-153}},{{-132,-188,-169,-172,-169,-184},{-180,-163,-147,-155,-140,-143},{-171,-192,-193,-174,-184,-172},{-169,-130,-185,-142,-188,-143},{-177,-151,-167,-148,-151,-150},{-134,-184,-130,-148,-158,-171},{-158,-171,-184,-142,-145,-130},{-143,-135,-180,-180,-163,-182},{-190,-159,-159,-129,-158,-153},{-166,-192,-193,-163,-177,-166},{-134,-135,-135,-161,-185,-158},{-159,-148,-135,-175,-167,-161},{-169,-158,-179,-148,-142,-148},{-156,-151,-166,-143,-153,-130},{-148,-155,-175,-147,-184,-130},{-145,-188,-179,-129,-156,-156},{-143,-138,-135,-145,-171,-142},{-167,-140,-132,-169,-135,-145},{-156,-177,-163,-143,-148,-180},{-172,-188,-175,-134,-175,-188}},{{-150,-164,-129,-175,-172,-179},{-151,-158,-138,-192,-145,-188},{-190,-156,-174,-143,-134,-166},{-129,-179,-153,-177,-180,-145},{-129,-175,-145,-140,-132,-140},{-158,-143,-147,-171,-135,-129},{-185,-132,-130,-158,-147,-156},{-130,-167,-159,-156,-150,-171},{-130,-150,-134,-135,-179,-180},{-155,-147,-193,-129,-171,-185},{-177,-151,-148,-143,-153,-177},{-163,-192,-187,-134,-159,-193},{-143,-188,-145,-190,-187,-137},{-145,-135,-148,-137,-140,-167},{-129,-193,-153,-169,-129,-161},{-188,-182,-151,-177,-155,-151},{-159,-177,-151,-172,-138,-132},{-138,-132,-150,-156,-130,-158},{-134,-175,-192,-142,-161,-190},{-180,-153,-180,-148,-153,-143}},{{-138,-193,-187,-190,-129,-171},{-179,-153,-155,-177,-130,-142},{-188,-164,-174,-193,-177,-188},{-145,-129,-138,-177,-135,-163},{-169,-187,-155,-185,-148,-159},{-138,-153,-148,-135,-166,-137},{-151,-185,-182,-172,-129,-156},{-166,-138,-142,-153,-135,-158},{-169,-158,-137,-151,-180,-164},{-151,-137,-166,-145,-155,-159},{-163,-192,-169,-184,-130,-132},{-130,-137,-134,-177,-192,-190},{-147,-188,-148,-184,-138,-159},{-172,-174,-134,-148,-147,-167},{-153,-158,-187,-192,-155,-177},{-184,-161,-169,-142,-164,-169},{-184,-159,-148,-187,-147,-155},{-134,-140,-159,-177,-188,-171},{-140,-184,-169,-130,-187,-167},{-147,-140,-145,-185,-192,-129}}},{{{-187,-268,-206,-236,-243,-256},{-189,-247,-192,-222,-249,-249},{-201,-206,-273,-261,-192,-189},{-194,-229,-233,-229,-192,-245},{-222,-270,-266,-217,-273,-199},{-224,-273,-224,-213,-277,-247},{-189,-201,-206,-247,-231,-266},{-238,-268,-213,-187,-275,-194},{-199,-215,-229,-226,-275,-201},{-203,-256,-238,-266,-275,-210},{-224,-224,-266,-236,-261,-201},{-185,-189,-270,-201,-277,-243},{-213,-229,-247,-219,-243,-226},{-231,-277,-277,-222,-215,-236},{-231,-236,-268,-233,-226,-259},{-277,-199,-231,-252,-254,-201},{-277,-249,-194,-196,-270,-249},{-254,-189,-189,-245,-277,-194},{-222,-245,-210,-187,-196,-261},{-224,-236,-261,-270,-236,-203}},{{-196,-229,-201,-196,-268,-222},{-192,-208,-196,-249,-252,-187},{-226,-277,-263,-217,-229,-224},{-215,-219,-259,-233,-185,-249},{-243,-226,-236,-185,-196,-185},{-277,-199,-275,-270,-275,-268},{-236,-245,-247,-224,-231,-277},{-206,-226,-261,-222,-187,-222},{-236,-240,-189,-233,-236,-240},{-275,-247,-270,-273,-203,-222},{-187,-217,-277,-270,-266,-189},{-196,-238,-187,-219,-259,-238},{-219,-252,-245,-249,-206,-263},{-189,-266,-233,-270,-277,-240},{-208,-215,-224,-217,-238,-266},{-196,-199,-240,-259,-261,-252},{-268,-277,-208,-208,-236,-275},{-243,-196,-259,-219,-231,-240},{-185,-268,-238,-224,-275,-266},{-206,-208,-256,-206,-252,-236}},{{-233,-185,-199,-233,-219,-261},{-233,-275,-226,-277,-277,-208},{-206,-226,-233,-224,-187,-273},{-224,-226,-240,-194,-277,-192},{-217,-196,-208,-247,-215,-259},{-252,-245,-199,-261,-273,-229},{-194,-277,-277,-243,-245,-185},{-194,-189,-243,-277,-194,-224},{-219,-219,-231,-213,-210,-273},{-217,-249,-233,-189,-206,-233},{-266,-273,-203,-268,-217,-231},{-254,-243,-252,-213,-238,-189},{-194,-259,-222,-233,-263,-259},{-222,-224,-192,-201,-203,-238},{-194,-266,-277,-203,-270,-259},{-231,-206,-222,-275,-233,-252},{-185,-210,-256,-266,-245,-187},{-247,-263,-217,-245,-270,-231},{-277,-256,-217,-187,-245,-196},{-196,-238,-268,-203,-189,-222}},{{-219,-261,-215,-213,-259,-229},{-275,-254,-203,-243,-275,-217},{-231,-268,-254,-273,-252,-263},{-245,-249,-259,-233,-277,-224},{-194,-196,-247,-215,-210,-189},{-261,-224,-256,-215,-243,-261},{-249,-275,-206,-196,-187,-226},{-210,-247,-208,-217,-199,-196},{-226,-213,-263,-233,-238,-277},{-273,-196,-259,-243,-261,-231},{-194,-245,-196,-266,-252,-252},{-270,-203,-213,-217,-222,-247},{-187,-266,-259,-247,-254,-203},{-266,-233,-231,-243,-194,-226},{-201,-199,-247,-240,-231,-245},{-245,-210,-229,-194,-222,-213},{-208,-247,-219,-252,-217,-215},{-215,-208,-229,-252,-196,-275},{-270,-259,-261,-222,-201,-203},{-252,-249,-226,-213,-222,-275}},{{-199,-270,-243,-236,-275,-208},{-256,-224,-261,-275,-208,-210},{-217,-215,-266,-229,-268,-240},{-215,-226,-199,-229,-208,-233},{-199,-210,-215,-187,-199,-201},{-268,-203,-206,-194,-256,-219},{-263,-256,-256,-213,-199,-240},{-249,-208,-226,-275,-196,-256},{-226,-247,-215,-236,-222,-243},{-194,-273,-249,-194,-187,-187},{-192,-233,-238,-196,-187,-266},{-252,-196,-196,-256,-277,-185},{-238,-261,-192,-194,-277,-233},{-245,-263,-224,-201,-263,-231},{-277,-254,-243,-217,-187,-203},{-254,-208,-213,-252,-226,-199},{-261,-259,-185,-229,-222,-240},{-277,-259,-273,-203,-210,-192},{-226,-256,-236,-275,-194,-266},{-266,-192,-201,-229,-217,-222}},{{-203,-208,-206,-226,-243,-192},{-208,-277,-210,-222,-236,-189},{-203,-263,-261,-215,-199,-224},{-266,-219,-196,-224,-187,-254},{-233,-196,-254,-233,-238,-187},{-268,-263,-203,-231,-206,-263},{-273,-259,-243,-222,-208,-252},{-233,-233,-192,-256,-259,-215},{-277,-236,-210,-185,-249,-210},{-236,-266,-266,-196,-219,-275},{-215,-215,-252,-210,-252,-210},{-243,-189,-215,-210,-273,-192},{-263,-256,-245,-238,-245,-210},{-194,-222,-219,-208,-249,-270},{-263,-243,-196,-210,-270,-266},{-217,-222,-247,-185,-247,-233},{-185,-206,-252,-226,-263,-236},{-275,-277,-275,-185,-275,-213},{-273,-236,-259,-268,-240,-261},{-199,-203,-256,-252,-259,-189}}},{{{-219,-210,-234,-260,-210,-197},{-237,-234,-224,-258,-187,-182},{-208,-250,-210,-180,-237,-258},{-252,-247,-243,-247,-187,-210},{-213,-213,-191,-208,-232,-260},{-250,-200,-182,-184,-234,-208},{-237,-226,-204,-226,-178,-213},{-193,-178,-234,-254,-178,-184},{-219,-213,-206,-254,-208,-254},{-174,-260,-224,-234,-215,-219},{-189,-252,-184,-191,-208,-202},{-226,-189,-239,-243,-184,-195},{-239,-226,-204,-219,-210,-176},{-245,-184,-260,-197,-184,-241},{-245,-208,-245,-232,-226,-208},{-241,-208,-202,-202,-210,-195},{-193,-239,-243,-180,-237,-224},{-247,-219,-202,-204,-213,-206},{-221,-184,-202,-245,-252,-197},{-174,-180,-258,-204,-206,-250}},{{-252,-260,-210,-250,-184,-234},{-260,-241,-224,-252,-204,-184},{-180,-180,-215,-252,-217,-195},{-243,-180,-245,-174,-210,-189},{-219,-219,-258,-189,-178,-250},{-256,-247,-256,-252,-191,-189},{-250,-243,-234,-260,-247,-228},{-245,-187,-237,-213,-189,-221},{-176,-191,-200,-193,-239,-202},{-191,-193,-213,-187,-189,-234},{-256,-239,-176,-178,-178,-206},{-230,-208,-200,-232,-217,-228},{-195,-191,-232,-252,-176,-232},{-204,-224,-189,-230,-213,-254},{-215,-200,-200,-202,-189,-193},{-239,-191,-243,-258,-176,-228},{-215,-215,-224,-256,-228,-230},{-210,-202,-200,-189,-219,-239},{-180,-247,-193,-200,-254,-250},{-239,-252,-219,-176,-237,-260}},{{-197,-191,-224,-202,-178,-237},{-219,-232,-254,-219,-208,-258},{-204,-226,-180,-256,-208,-176},{-215,-187,-204,-239,-258,-176},{-230,-224,-180,-228,-241,-195},{-245,-241,-178,-174,-182,-226},{-245,-204,-208,-204,-250,-213},{-202,-250,-200,-241,-204,-184},{-237,-210,-213,-226,-226,-228},{-176,-221,-178,-187,-213,-254},{-204,-215,-245,-195,-193,-239},{-215,-180,-258,-217,-234,-243},{-252,-234,-250,-187,-204,-252},{-219,-187,-191,-247,-193,-206},{-213,-260,-202,-237,-250,-180},{-174,-208,-234,-206,-174,-260},{-217,-217,-182,-219,-228,-243},{-195,-215,-252,-195,-184,-208},{-178,-187,-176,-206,-228,-234},{-208,-187,-230,-232,-182,-193}},{{-250,-234,-247,-228,-256,-239},{-232,-206,-228,-256,-191,-228},{-256,-191,-232,-230,-260,-234},{-232,-197,-217,-184,-228,-197},{-200,-184,-193,-234,-182,-206},{-206,-191,-245,-189,-254,-200},{-210,-210,-217,-215,-260,-200},{-200,-180,-254,-189,-221,-202},{-195,-189,-174,-232,-250,-243},{-213,-230,-197,-215,-234,-243},{-221,-184,-224,-180,-234,-241},{-191,-180,-256,-239,-191,-219},{-176,-245,-184,-219,-182,-230},{-187,-174,-187,-208,-258,-217},{-241,-226,-241,-180,-250,-184},{-241,-258,-178,-232,-215,-258},{-226,-193,-213,-200,-237,-258},{-210,-245,-206,-221,-243,-213},{-174,-206,-208,-180,-210,-176},{-247,-256,-176,-180,-178,-200}},{{-213,-224,-241,-210,-174,-217},{-204,-247,-234,-254,-202,-184},{-193,-195,-189,-184,-200,-219},{-182,-191,-191,-260,-187,-210},{-215,-252,-241,-180,-230,-234},{-208,-243,-250,-200,-215,-221},{-228,-232,-226,-245,-176,-208},{-213,-180,-204,-239,-174,-176},{-224,-215,-191,-260,-197,-197},{-239,-217,-206,-178,-258,-191},{-189,-204,-187,-224,-208,-174},{-243,-217,-215,-260,-256,-260},{-260,-226,-224,-208,-184,-176},{-202,-213,-189,-221,-243,-184},{-250,-224,-226,-200,-200,-189},{-178,-245,-232,-258,-180,-230},{-182,-243,-174,-243,-178,-187},{-176,-215,-210,-221,-204,-213},{-202,-241,-250,-191,-193,-260},{-239,-226,-189,-174,-208,-215}},{{-195,-208,-213,-234,-232,-254},{-221,-254,-213,-239,-200,-189},{-215,-250,-234,-187,-200,-228},{-187,-202,-189,-219,-187,-247},{-230,-230,-232,-219,-234,-221},{-208,-176,-234,-258,-182,-245},{-245,-195,-256,-200,-191,-180},{-256,-213,-204,-180,-230,-200},{-228,-204,-174,-256,-193,-256},{-215,-184,-215,-206,-226,-230},{-252,-254,-254,-180,-256,-174},{-180,-204,-206,-250,-202,-243},{-237,-252,-180,-250,-174,-237},{-208,-252,-217,-195,-204,-252},{-221,-258,-215,-226,-234,-226},{-202,-219,-247,-230,-224,-195},{-224,-184,-245,-260,-195,-215},{-228,-184,-217,-204,-174,-245},{-217,-260,-184,-213,-182,-219},{-208,-193,-219,-221,-215,-180}}},{{{-237,-287,-239,-282,-319,-263},{-258,-250,-309,-319,-247,-213},{-237,-301,-298,-263,-274,-221},{-282,-221,-279,-277,-250,-301},{-314,-317,-221,-263,-298,-239},{-213,-266,-250,-279,-239,-221},{-226,-234,-277,-258,-213,-250},{-234,-290,-247,-279,-301,-229},{-250,-255,-250,-213,-258,-319},{-319,-234,-309,-237,-282,-309},{-271,-290,-213,-250,-221,-319},{-221,-237,-311,-247,-282,-290},{-282,-261,-295,-285,-314,-306},{-237,-253,-309,-226,-319,-266},{-258,-311,-277,-282,-287,-258},{-266,-266,-290,-298,-314,-314},{-258,-223,-255,-319,-269,-231},{-290,-263,-255,-261,-261,-263},{-231,-218,-309,-290,-247,-301},{-303,-319,-245,-277,-234,-266}},{{-221,-306,-274,-234,-317,-303},{-309,-226,-303,-279,-295,-317},{-231,-306,-215,-293,-234,-255},{-237,-245,-242,-263,-282,-266},{-287,-237,-274,-279,-271,-242},{-309,-261,-255,-255,-303,-245},{-277,-269,-221,-285,-263,-215},{-245,-285,-261,-261,-245,-271},{-287,-295,-231,-215,-290,-287},{-271,-271,-229,-271,-279,-253},{-255,-231,-314,-301,-282,-263},{-277,-306,-245,-215,-279,-311},{-279,-279,-261,-269,-317,-303},{-290,-282,-282,-303,-266,-303},{-290,-303,-255,-242,-319,-290},{-306,-269,-221,-218,-239,-218},{-266,-242,-263,-311,-317,-287},{-290,-239,-255,-293,-223,-247},{-218,-279,-255,-234,-213,-295},{-237,-279,-218,-253,-263,-306}},{{-279,-306,-266,-309,-269,-311},{-277,-258,-314,-239,-311,-221},{-301,-295,-239,-242,-287,-319},{-239,-298,-271,-279,-311,-287},{-213,-231,-218,-271,-221,-279},{-263,-274,-295,-261,-271,-237},{-221,-269,-237,-215,-263,-314},{-303,-250,-234,-309,-303,-298},{-274,-269,-245,-229,-255,-234},{-317,-269,-309,-239,-234,-306},{-295,-277,-218,-311,-287,-250},{-231,-295,-285,-282,-317,-287},{-239,-293,-213,-293,-306,-242},{-245,-261,-221,-258,-242,-237},{-314,-285,-266,-295,-298,-282},{-237,-311,-229,-245,-311,-218},{-247,-293,-215,-269,-223,-237},{-274,-229,-277,-277,-277,-309},{-247,-221,-247,-223,-309,-306},{-279,-218,-223,-247,-271,-242}},{{-306,-242,-255,-274,-255,-255},{-237,-215,-237,-237,-263,-277},{-253,-237,-247,-255,-213,-242},{-309,-303,-277,-231,-255,-221},{-253,-250,-282,-242,-311,-239},{-245,-223,-274,-261,-319,-239},{-261,-253,-247,-258,-279,-250},{-229,-250,-303,-250,-311,-218},{-237,-229,-314,-218,-229,-279},{-295,-221,-215,-301,-229,-231},{-266,-309,-242,-239,-261,-223},{-223,-250,-229,-274,-239,-231},{-258,-287,-213,-274,-213,-247},{-215,-226,-301,-253,-245,-242},{-231,-215,-309,-223,-303,-319},{-277,-250,-255,-215,-255,-237},{-306,-303,-303,-253,-311,-309},{-269,-306,-282,-263,-277,-215},{-239,-218,-287,-311,-239,-319},{-309,-229,-282,-250,-279,-317}},{{-269,-309,-221,-290,-274,-255},{-229,-215,-263,-271,-234,-301},{-234,-290,-218,-255,-279,-253},{-306,-231,-221,-295,-277,-295},{-250,-282,-226,-271,-253,-266},{-229,-213,-314,-229,-290,-274},{-247,-261,-237,-229,-274,-242},{-290,-285,-290,-293,-231,-306},{-298,-314,-223,-239,-298,-261},{-306,-274,-311,-237,-285,-215},{-245,-317,-223,-266,-266,-247},{-306,-269,-226,-287,-263,-290},{-274,-242,-298,-287,-261,-245},{-290,-317,-269,-311,-226,-218},{-245,-314,-303,-218,-237,-253},{-245,-295,-234,-317,-319,-247},{-306,-287,-314,-213,-271,-306},{-317,-319,-231,-301,-255,-279},{-317,-287,-253,-247,-287,-229},{-213,-277,-319,-285,-271,-303}},{{-231,-234,-266,-269,-279,-306},{-266,-237,-295,-255,-298,-231},{-226,-258,-279,-261,-261,-319},{-215,-263,-287,-258,-290,-269},{-274,-258,-309,-298,-242,-255},{-247,-282,-261,-306,-282,-242},{-250,-293,-271,-285,-250,-253},{-319,-301,-269,-234,-309,-309},{-309,-247,-263,-282,-218,-261},{-309,-298,-247,-245,-261,-309},{-226,-242,-309,-253,-242,-306},{-255,-287,-223,-269,-250,-223},{-285,-239,-285,-306,-269,-255},{-303,-287,-250,-253,-213,-309},{-311,-231,-314,-229,-306,-303},{-245,-215,-274,-245,-314,-255},{-301,-247,-319,-293,-287,-229},{-279,-290,-253,-293,-298,-255},{-258,-319,-271,-269,-290,-218},{-287,-231,-319,-285,-223,-271}}},{{{-280,-294,-258,-255,-319,-330},{-274,-266,-227,-246,-272,-260},{-311,-302,-316,-291,-246,-272},{-336,-302,-280,-319,-302,-252},{-263,-297,-235,-224,-319,-302},{-272,-286,-288,-235,-311,-241},{-322,-328,-274,-336,-266,-235},{-336,-291,-283,-314,-322,-244},{-258,-280,-300,-241,-238,-238},{-316,-305,-227,-227,-308,-322},{-230,-238,-302,-258,-291,-322},{-286,-227,-269,-302,-280,-249},{-286,-288,-328,-255,-322,-244},{-336,-314,-224,-269,-260,-246},{-230,-258,-305,-238,-255,-302},{-319,-336,-311,-283,-300,-283},{-260,-325,-269,-272,-325,-260},{-291,-249,-252,-258,-297,-269},{-230,-308,-311,-241,-300,-288},{-283,-302,-260,-328,-288,-260}},{{-333,-314,-302,-325,-308,-258},{-311,-300,-288,-252,-224,-311},{-316,-316,-288,-325,-277,-244},{-272,-249,-249,-300,-336,-291},{-302,-244,-244,-308,-286,-272},{-258,-308,-294,-330,-297,-297},{-246,-252,-291,-244,-297,-305},{-230,-305,-230,-272,-249,-232},{-227,-288,-302,-319,-232,-286},{-238,-302,-249,-230,-330,-333},{-311,-280,-288,-272,-249,-319},{-314,-272,-230,-336,-288,-263},{-302,-232,-305,-333,-258,-302},{-266,-230,-252,-230,-269,-274},{-297,-269,-244,-230,-260,-269},{-274,-227,-260,-280,-235,-294},{-319,-322,-249,-246,-319,-260},{-274,-302,-272,-333,-232,-311},{-230,-302,-249,-238,-316,-297},{-263,-280,-314,-232,-227,-325}},{{-246,-311,-238,-319,-260,-235},{-305,-274,-224,-274,-241,-325},{-311,-258,-288,-235,-291,-244},{-255,-328,-232,-274,-316,-294},{-241,-263,-294,-333,-291,-333},{-272,-244,-224,-288,-305,-336},{-291,-263,-283,-227,-308,-272},{-288,-330,-255,-224,-227,-252},{-286,-300,-227,-316,-291,-328},{-241,-294,-255,-230,-274,-269},{-252,-294,-286,-277,-235,-260},{-291,-311,-252,-252,-291,-322},{-277,-274,-241,-283,-238,-328},{-286,-305,-269,-252,-280,-316},{-314,-232,-316,-244,-246,-260},{-286,-246,-230,-260,-328,-328},{-238,-238,-319,-308,-322,-286},{-277,-263,-280,-336,-263,-333},{-255,-255,-325,-302,-227,-291},{-322,-238,-246,-308,-280,-328}},{{-227,-230,-316,-244,-266,-246},{-322,-258,-255,-230,-330,-330},{-336,-227,-260,-277,-311,-235},{-291,-322,-244,-288,-305,-300},{-238,-330,-258,-241,-319,-277},{-263,-246,-255,-302,-246,-232},{-302,-330,-266,-249,-232,-333},{-300,-227,-274,-266,-314,-252},{-305,-319,-255,-280,-305,-258},{-305,-328,-280,-252,-244,-330},{-258,-328,-232,-227,-274,-311},{-300,-263,-286,-274,-286,-283},{-302,-291,-272,-241,-316,-300},{-283,-224,-336,-314,-305,-252},{-305,-277,-325,-260,-272,-294},{-255,-316,-232,-283,-283,-249},{-286,-258,-297,-294,-302,-244},{-286,-235,-333,-274,-328,-336},{-283,-302,-230,-336,-258,-255},{-316,-333,-319,-280,-328,-328}},{{-291,-272,-230,-294,-294,-328},{-314,-300,-252,-308,-232,-230},{-244,-274,-269,-283,-316,-336},{-319,-297,-297,-322,-314,-260},{-328,-311,-294,-280,-294,-269},{-286,-302,-311,-238,-297,-269},{-244,-314,-308,-297,-322,-319},{-241,-263,-241,-311,-333,-305},{-263,-286,-280,-230,-330,-308},{-325,-260,-325,-328,-230,-235},{-300,-333,-272,-328,-246,-230},{-235,-280,-230,-286,-255,-297},{-311,-263,-308,-244,-258,-249},{-224,-227,-227,-330,-314,-333},{-336,-238,-302,-319,-302,-258},{-227,-260,-260,-308,-328,-263},{-294,-325,-277,-238,-325,-333},{-255,-249,-227,-305,-252,-316},{-311,-322,-330,-280,-288,-252},{-333,-252,-246,-241,-244,-227}},{{-283,-272,-260,-336,-316,-311},{-288,-294,-241,-333,-280,-300},{-333,-274,-232,-232,-249,-308},{-241,-258,-272,-288,-283,-280},{-291,-322,-305,-232,-328,-246},{-291,-258,-246,-316,-272,-283},{-302,-274,-308,-255,-322,-260},{-319,-308,-266,-330,-232,-227},{-288,-325,-266,-311,-288,-297},{-232,-288,-263,-269,-333,-241},{-308,-241,-283,-244,-241,-277},{-224,-330,-311,-246,-274,-246},{-322,-297,-241,-227,-258,-238},{-288,-294,-330,-224,-258,-330},{-319,-314,-333,-328,-263,-269},{-336,-311,-300,-277,-294,-232},{-269,-319,-328,-266,-316,-277},{-330,-241,-305,-280,-255,-269},{-274,-230,-230,-227,-258,-277},{-241,-319,-336,-311,-272,-305}}},{{{-235,-297,-272,-269,-277,-249},{-263,-252,-252,-333,-300,-283},{-238,-286,-288,-288,-308,-308},{-227,-314,-302,-300,-288,-333},{-274,-272,-266,-330,-325,-311},{-238,-305,-246,-238,-246,-230},{-238,-258,-300,-308,-246,-294},{-325,-302,-246,-260,-291,-244},{-305,-302,-286,-336,-274,-316},{-260,-288,-308,-288,-227,-328},{-302,-316,-305,-333,-286,-238},{-286,-330,-235,-297,-263,-325},{-224,-255,-291,-300,-224,-230},{-266,-314,-288,-283,-255,-291},{-319,-286,-280,-288,-227,-252},{-255,-258,-305,-260,-314,-291},{-314,-319,-252,-238,-286,-255},{-305,-297,-322,-260,-294,-280},{-230,-241,-263,-272,-297,-314},{-255,-297,-302,-333,-302,-241}},{{-311,-263,-249,-224,-297,-258},{-232,-333,-291,-322,-336,-266},{-308,-302,-263,-227,-322,-302},{-283,-286,-291,-280,-230,-263},{-224,-294,-274,-263,-235,-235},{-230,-249,-269,-297,-308,-252},{-314,-314,-291,-272,-227,-308},{-291,-269,-269,-319,-280,-286},{-336,-333,-333,-263,-328,-269},{-235,-224,-241,-235,-277,-336},{-311,-336,-333,-249,-252,-274},{-238,-255,-300,-230,-302,-319},{-288,-300,-294,-333,-230,-224},{-241,-230,-255,-297,-244,-238},{-328,-238,-274,-280,-232,-319},{-269,-314,-330,-238,-246,-230},{-283,-266,-230,-274,-288,-325},{-238,-230,-238,-300,-252,-249},{-311,-241,-272,-258,-230,-238},{-244,-224,-244,-266,-286,-316}},{{-241,-300,-322,-232,-328,-274},{-314,-244,-311,-241,-286,-238},{-330,-311,-308,-246,-235,-255},{-230,-291,-244,-314,-258,-249},{-316,-300,-330,-288,-235,-277},{-305,-260,-297,-246,-280,-302},{-227,-333,-328,-336,-300,-255},{-286,-308,-314,-325,-224,-314},{-263,-260,-246,-288,-230,-314},{-300,-258,-291,-227,-330,-333},{-263,-328,-258,-305,-308,-305},{-280,-263,-274,-294,-252,-252},{-232,-244,-297,-291,-263,-269},{-294,-288,-274,-249,-255,-272},{-305,-305,-232,-246,-224,-274},{-249,-266,-266,-297,-272,-311},{-314,-322,-274,-333,-291,-274},{-269,-249,-238,-297,-258,-288},{-302,-274,-297,-255,-232,-325},{-322,-308,-311,-300,-288,-294}},{{-246,-258,-235,-294,-224,-308},{-260,-266,-235,-283,-249,-291},{-272,-260,-263,-330,-235,-319},{-319,-260,-314,-272,-302,-280},{-241,-232,-311,-294,-286,-269},{-333,-232,-255,-333,-322,-286},{-272,-280,-269,-314,-277,-322},{-336,-330,-330,-325,-232,-258},{-302,-311,-230,-238,-330,-266},{-311,-294,-263,-325,-286,-241},{-336,-230,-319,-314,-319,-238},{-305,-266,-258,-330,-277,-308},{-294,-252,-263,-294,-241,-241},{-330,-266,-241,-280,-235,-288},{-274,-322,-235,-252,-274,-330},{-336,-277,-319,-224,-244,-333},{-258,-269,-286,-328,-305,-308},{-241,-300,-305,-274,-258,-232},{-316,-330,-252,-272,-319,-269},{-333,-232,-238,-238,-266,-336}},{{-302,-294,-305,-252,-255,-308},{-274,-311,-333,-238,-283,-325},{-255,-300,-288,-319,-235,-274},{-302,-328,-272,-305,-238,-294},{-255,-260,-274,-291,-286,-230},{-333,-238,-249,-260,-272,-263},{-260,-269,-269,-311,-238,-305},{-224,-224,-286,-316,-230,-241},{-325,-330,-336,-252,-291,-232},{-288,-263,-297,-288,-314,-258},{-294,-280,-302,-294,-330,-308},{-274,-322,-294,-328,-269,-241},{-272,-263,-277,-311,-260,-232},{-333,-283,-227,-232,-244,-308},{-280,-328,-252,-255,-322,-325},{-325,-230,-291,-227,-333,-277},{-224,-232,-235,-322,-330,-260},{-246,-305,-291,-330,-260,-260},{-252,-272,-300,-319,-286,-238},{-300,-263,-244,-246,-266,-280}},{{-333,-283,-308,-291,-244,-238},{-325,-311,-322,-227,-330,-277},{-286,-297,-294,-322,-274,-294},{-224,-302,-288,-330,-280,-336},{-241,-328,-263,-274,-300,-316},{-277,-325,-283,-314,-336,-241},{-336,-300,-255,-305,-235,-291},{-336,-302,-316,-272,-311,-330},{-291,-230,-227,-300,-252,-286},{-328,-227,-263,-227,-314,-308},{-230,-252,-316,-274,-246,-319},{-252,-244,-300,-266,-263,-336},{-277,-258,-286,-316,-311,-286},{-308,-325,-325,-300,-274,-246},{-297,-224,-308,-277,-314,-286},{-224,-325,-260,-294,-314,-330},{-280,-238,-305,-277,-328,-272},{-302,-255,-319,-300,-333,-258},{-297,-269,-325,-322,-235,-336},{-311,-235,-272,-258,-235,-252}}},{{{-274,-258,-241,-280,-258,-252},{-235,-300,-241,-297,-244,-280},{-288,-300,-288,-269,-230,-224},{-246,-305,-244,-311,-252,-252},{-258,-266,-283,-316,-319,-258},{-300,-235,-230,-308,-230,-249},{-272,-235,-316,-255,-238,-246},{-232,-291,-311,-322,-260,-235},{-277,-277,-230,-288,-294,-316},{-322,-322,-314,-272,-263,-336},{-252,-252,-277,-230,-308,-260},{-227,-277,-241,-294,-249,-252},{-302,-330,-314,-297,-258,-280},{-227,-238,-294,-288,-325,-244},{-241,-274,-258,-297,-258,-277},{-230,-241,-263,-280,-232,-288},{-235,-263,-305,-249,-272,-274},{-314,-263,-288,-252,-255,-291},{-280,-238,-224,-269,-260,-266},{-255,-283,-235,-330,-333,-238}},{{-302,-235,-249,-277,-244,-294},{-322,-277,-258,-274,-244,-244},{-230,-244,-336,-308,-305,-280},{-283,-266,-246,-258,-300,-305},{-241,-274,-272,-269,-246,-325},{-300,-235,-269,-319,-286,-244},{-333,-325,-294,-246,-336,-302},{-232,-272,-238,-319,-272,-336},{-308,-283,-300,-297,-311,-230},{-314,-316,-300,-330,-314,-277},{-255,-227,-269,-272,-286,-330},{-322,-297,-235,-238,-246,-246},{-252,-269,-316,-255,-325,-316},{-260,-283,-302,-238,-316,-319},{-235,-255,-333,-274,-330,-311},{-246,-232,-258,-283,-308,-294},{-294,-258,-272,-288,-274,-263},{-263,-308,-319,-244,-277,-308},{-308,-246,-288,-305,-302,-274},{-274,-246,-258,-305,-266,-316}},{{-305,-322,-288,-325,-263,-249},{-305,-258,-305,-258,-283,-319},{-302,-288,-280,-288,-319,-291},{-288,-336,-330,-302,-249,-308},{-224,-277,-232,-235,-252,-227},{-249,-244,-249,-249,-232,-328},{-330,-241,-269,-288,-328,-269},{-297,-330,-311,-252,-269,-286},{-316,-325,-325,-235,-305,-263},{-272,-336,-308,-224,-252,-274},{-288,-311,-328,-224,-333,-322},{-252,-314,-302,-241,-238,-286},{-224,-311,-325,-308,-263,-328},{-330,-300,-333,-314,-274,-314},{-269,-258,-258,-319,-232,-300},{-328,-291,-266,-297,-255,-255},{-232,-294,-238,-272,-266,-314},{-277,-291,-241,-249,-314,-314},{-305,-249,-336,-249,-319,-316},{-274,-336,-319,-244,-308,-277}},{{-294,-286,-232,-227,-316,-328},{-230,-308,-316,-311,-252,-258},{-336,-252,-235,-286,-328,-263},{-269,-232,-232,-316,-300,-333},{-336,-266,-319,-302,-238,-294},{-286,-277,-235,-269,-336,-258},{-319,-263,-283,-227,-286,-246},{-311,-302,-280,-280,-316,-302},{-224,-314,-246,-224,-291,-325},{-325,-316,-255,-249,-300,-258},{-300,-291,-316,-238,-274,-263},{-314,-297,-305,-272,-244,-302},{-291,-316,-241,-316,-230,-314},{-246,-288,-246,-288,-308,-274},{-272,-230,-325,-277,-316,-230},{-291,-224,-302,-232,-232,-316},{-277,-241,-238,-277,-311,-288},{-286,-314,-297,-274,-297,-322},{-241,-260,-260,-246,-319,-319},{-325,-328,-230,-333,-283,-260}},{{-227,-297,-232,-336,-319,-238},{-224,-336,-325,-322,-232,-319},{-294,-244,-322,-294,-258,-274},{-336,-232,-255,-224,-255,-238},{-272,-252,-311,-224,-325,-297},{-322,-263,-244,-302,-294,-260},{-246,-302,-272,-232,-260,-277},{-249,-328,-286,-288,-230,-252},{-274,-325,-269,-294,-330,-336},{-325,-308,-263,-235,-274,-255},{-274,-260,-246,-246,-255,-300},{-246,-241,-288,-336,-238,-330},{-319,-258,-241,-311,-272,-322},{-246,-283,-283,-232,-224,-269},{-280,-300,-227,-246,-286,-241},{-244,-308,-328,-224,-263,-241},{-333,-232,-235,-269,-308,-238},{-260,-238,-322,-266,-272,-238},{-227,-272,-325,-286,-311,-328},{-297,-286,-305,-297,-325,-325}},{{-255,-232,-232,-333,-258,-328},{-314,-308,-336,-336,-232,-230},{-274,-336,-288,-238,-252,-316},{-249,-244,-266,-333,-272,-286},{-232,-291,-235,-266,-232,-283},{-246,-274,-244,-286,-300,-319},{-280,-232,-274,-266,-235,-260},{-230,-272,-246,-241,-283,-288},{-291,-224,-230,-291,-328,-224},{-230,-230,-224,-302,-255,-297},{-272,-336,-258,-249,-300,-230},{-272,-263,-297,-288,-311,-246},{-230,-336,-325,-291,-333,-311},{-308,-333,-241,-325,-246,-230},{-252,-319,-224,-316,-244,-305},{-249,-294,-224,-244,-274,-291},{-255,-328,-319,-277,-288,-300},{-328,-319,-319,-286,-302,-336},{-319,-255,-238,-336,-286,-302},{-232,-280,-283,-274,-263,-286}}}}; // 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,16,9,6,16,8,6,15,7,5,15,7,5,15,8,5,17,9,6,16,9,6,17,8,6,16,9,6,17,9,6,17,8,6,16,8,6,16,8,6,16,8,6,17,8,6,16,9,6,17,8,6,17,9,6,17,8,6,16,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}}; // set of shipments in each bid 
int SHsts[SPN]={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,0,4,8,12,16,20,24,28,32,2,8,14,20,26,32,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,2,6,10,14,18,22,26,30,1,7,13,19,25,31,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,2,6,10,14,18,22,26,0,6,12,18,24,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,2,6,10,14,18,22,26,0,6,12,18,24,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,1,5,9,13,17,21,25,29,1,7,13,19,25,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,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,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,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,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,2,8,14,20,26,32,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,1,5,9,13,17,21,25,29,0,6,12,18,24,30,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,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,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,1,7,13,19,25,31,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,2,6,10,14,18,22,26,30,2,8,14,20,26,32,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,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,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,2,6,10,14,18,22,26,30,34,2,8,14,20,26,32}; // 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,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,5,11,17,23,29,35,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,8,12,16,20,24,28,32,6,12,18,24,30,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,8,12,16,20,24,28,32,6,12,18,24,30,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,7,11,15,19,23,27,31,35,7,13,19,25,31,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,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,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,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,5,9,13,17,21,25,29,33,5,11,17,23,29,35,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,4,8,12,16,20,24,28,32,3,9,15,21,27,33,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,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,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,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,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,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,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,2,6,10,14,18,22,26,30,34,3,9,15,21,27,33,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,2,6,10,14,18,22,26,30,34,1,7,13,19,25,31,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,3,7,11,15,19,23,27,31,35,2,8,14,20,26,32,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}; // set of end times of each shipment 
