int Dev = 20;// Deviation
extern const int CNN = 1;// Case Index
extern const int P = 3;// Number of phases
extern const int PT = 6;// Number of periods in a phase
extern const int T = 18;// 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 = 341;//Number of shipments
extern const int SN = 50;//Number of scenarios at each stage
extern const int MBSN = 9;//Number of shipments in a bid
// tree parameters:
double PRO[P][SN]={{0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02},{0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02},{0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02}}; // the probability of each scenario at each phase 
// timing parameters: 
int PTN[P]={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}}; // set of periods in each phase 
// distribution parameters: 
int sup[I][P][SN][PT]={{{{11372,0,0,0,0,0},{11747,0,0,0,0,0},{11532,0,0,0,0,0},{11222,0,0,0,0,0},{11733,0,0,0,0,0},{11643,0,0,0,0,0},{11577,0,0,0,0,0},{11575,0,0,0,0,0},{12029,0,0,0,0,0},{11670,0,0,0,0,0},{11559,0,0,0,0,0},{11371,0,0,0,0,0},{11422,0,0,0,0,0},{11322,0,0,0,0,0},{11560,0,0,0,0,0},{11404,0,0,0,0,0},{11275,0,0,0,0,0},{11408,0,0,0,0,0},{11449,0,0,0,0,0},{12012,0,0,0,0,0},{11184,0,0,0,0,0},{11467,0,0,0,0,0},{11279,0,0,0,0,0},{11529,0,0,0,0,0},{11461,0,0,0,0,0},{11185,0,0,0,0,0},{11444,0,0,0,0,0},{12065,0,0,0,0,0},{11757,0,0,0,0,0},{11522,0,0,0,0,0},{11192,0,0,0,0,0},{11664,0,0,0,0,0},{11823,0,0,0,0,0},{11449,0,0,0,0,0},{11370,0,0,0,0,0},{11659,0,0,0,0,0},{11373,0,0,0,0,0},{11364,0,0,0,0,0},{11637,0,0,0,0,0},{11671,0,0,0,0,0},{11288,0,0,0,0,0},{11792,0,0,0,0,0},{11693,0,0,0,0,0},{11768,0,0,0,0,0},{11671,0,0,0,0,0},{11291,0,0,0,0,0},{11608,0,0,0,0,0},{11350,0,0,0,0,0},{11694,0,0,0,0,0},{11447,0,0,0,0,0}},{{11404,0,0,0,0,0},{11430,0,0,0,0,0},{11272,0,0,0,0,0},{11703,0,0,0,0,0},{11995,0,0,0,0,0},{11893,0,0,0,0,0},{11496,0,0,0,0,0},{11359,0,0,0,0,0},{11408,0,0,0,0,0},{11480,0,0,0,0,0},{11626,0,0,0,0,0},{11744,0,0,0,0,0},{11489,0,0,0,0,0},{11563,0,0,0,0,0},{11550,0,0,0,0,0},{11792,0,0,0,0,0},{11528,0,0,0,0,0},{11631,0,0,0,0,0},{11215,0,0,0,0,0},{11519,0,0,0,0,0},{11405,0,0,0,0,0},{11862,0,0,0,0,0},{11760,0,0,0,0,0},{11788,0,0,0,0,0},{11534,0,0,0,0,0},{11598,0,0,0,0,0},{11450,0,0,0,0,0},{11496,0,0,0,0,0},{11653,0,0,0,0,0},{11229,0,0,0,0,0},{11092,0,0,0,0,0},{11296,0,0,0,0,0},{11317,0,0,0,0,0},{11603,0,0,0,0,0},{11644,0,0,0,0,0},{11374,0,0,0,0,0},{11739,0,0,0,0,0},{11413,0,0,0,0,0},{11297,0,0,0,0,0},{11727,0,0,0,0,0},{11816,0,0,0,0,0},{11724,0,0,0,0,0},{11233,0,0,0,0,0},{11340,0,0,0,0,0},{11349,0,0,0,0,0},{11488,0,0,0,0,0},{11698,0,0,0,0,0},{11418,0,0,0,0,0},{11329,0,0,0,0,0},{11036,0,0,0,0,0}},{{11508,0,0,0,0,0},{11504,0,0,0,0,0},{11271,0,0,0,0,0},{11587,0,0,0,0,0},{11410,0,0,0,0,0},{11467,0,0,0,0,0},{11095,0,0,0,0,0},{11109,0,0,0,0,0},{11356,0,0,0,0,0},{11280,0,0,0,0,0},{11449,0,0,0,0,0},{11295,0,0,0,0,0},{11388,0,0,0,0,0},{12020,0,0,0,0,0},{11228,0,0,0,0,0},{11448,0,0,0,0,0},{11467,0,0,0,0,0},{11277,0,0,0,0,0},{10903,0,0,0,0,0},{11342,0,0,0,0,0},{11830,0,0,0,0,0},{11414,0,0,0,0,0},{11393,0,0,0,0,0},{11517,0,0,0,0,0},{11464,0,0,0,0,0},{11519,0,0,0,0,0},{11226,0,0,0,0,0},{11294,0,0,0,0,0},{11689,0,0,0,0,0},{11195,0,0,0,0,0},{11648,0,0,0,0,0},{11295,0,0,0,0,0},{11386,0,0,0,0,0},{11559,0,0,0,0,0},{11527,0,0,0,0,0},{11727,0,0,0,0,0},{11554,0,0,0,0,0},{11494,0,0,0,0,0},{11462,0,0,0,0,0},{11422,0,0,0,0,0},{11580,0,0,0,0,0},{11492,0,0,0,0,0},{11468,0,0,0,0,0},{11752,0,0,0,0,0},{11275,0,0,0,0,0},{11173,0,0,0,0,0},{11246,0,0,0,0,0},{11466,0,0,0,0,0},{11303,0,0,0,0,0},{11789,0,0,0,0,0}}},{{{-207,-233,-173,-168,-240,-173},{-179,-189,-211,-209,-233,-205},{-195,-193,-215,-233,-183,-244},{-189,-162,-207,-215,-227,-193},{-209,-235,-201,-209,-235,-183},{-213,-197,-231,-179,-195,-193},{-238,-207,-168,-231,-225,-207},{-191,-233,-162,-235,-244,-166},{-193,-227,-235,-211,-229,-183},{-242,-195,-233,-229,-205,-221},{-197,-229,-201,-211,-168,-193},{-215,-219,-227,-195,-185,-195},{-211,-162,-209,-199,-197,-181},{-185,-173,-199,-207,-191,-201},{-240,-221,-215,-223,-244,-223},{-205,-201,-213,-183,-191,-199},{-240,-171,-195,-185,-193,-189},{-240,-175,-233,-213,-179,-209},{-215,-221,-219,-162,-217,-189},{-205,-203,-219,-205,-168,-197},{-213,-187,-195,-162,-185,-205},{-177,-166,-209,-227,-183,-164},{-231,-168,-235,-229,-168,-225},{-181,-175,-195,-175,-201,-187},{-223,-179,-242,-166,-238,-217},{-162,-201,-240,-168,-211,-235},{-168,-183,-231,-242,-171,-229},{-235,-227,-240,-240,-162,-209},{-238,-199,-240,-197,-203,-197},{-185,-187,-231,-225,-240,-162},{-164,-235,-209,-242,-187,-235},{-205,-225,-187,-215,-221,-183},{-171,-211,-238,-221,-229,-242},{-181,-227,-221,-233,-195,-162},{-189,-166,-207,-193,-207,-215},{-215,-195,-168,-164,-217,-191},{-213,-225,-187,-244,-181,-209},{-185,-187,-201,-195,-244,-229},{-205,-231,-171,-191,-223,-215},{-177,-173,-164,-217,-207,-240},{-209,-181,-209,-173,-189,-183},{-244,-227,-217,-217,-229,-225},{-235,-185,-219,-229,-201,-191},{-233,-225,-207,-219,-195,-207},{-235,-162,-173,-168,-168,-201},{-195,-213,-191,-164,-205,-162},{-173,-187,-175,-189,-207,-187},{-223,-225,-219,-187,-217,-233},{-187,-164,-209,-211,-171,-207},{-195,-175,-213,-193,-195,-191}},{{-181,-199,-213,-199,-179,-231},{-171,-193,-235,-240,-187,-233},{-181,-168,-191,-171,-213,-242},{-215,-215,-219,-209,-209,-217},{-244,-227,-193,-203,-242,-209},{-177,-207,-183,-223,-213,-179},{-209,-191,-173,-203,-189,-227},{-217,-201,-189,-179,-219,-162},{-187,-193,-166,-244,-171,-179},{-193,-191,-168,-187,-238,-207},{-219,-191,-213,-193,-191,-240},{-197,-240,-187,-223,-244,-238},{-213,-203,-221,-162,-223,-211},{-177,-229,-215,-215,-227,-189},{-242,-207,-240,-231,-195,-207},{-221,-231,-164,-187,-215,-240},{-193,-207,-227,-195,-179,-209},{-179,-197,-181,-219,-173,-175},{-193,-219,-183,-225,-175,-199},{-183,-209,-244,-199,-173,-223},{-223,-181,-217,-189,-191,-199},{-229,-240,-229,-211,-195,-203},{-168,-166,-229,-229,-233,-217},{-227,-171,-201,-193,-177,-225},{-168,-217,-229,-171,-175,-215},{-242,-179,-242,-217,-207,-187},{-205,-199,-235,-219,-233,-171},{-207,-238,-215,-177,-179,-233},{-171,-203,-183,-235,-197,-231},{-223,-217,-231,-215,-211,-168},{-181,-191,-164,-185,-244,-201},{-225,-233,-183,-225,-235,-164},{-168,-199,-164,-215,-240,-162},{-238,-191,-207,-235,-177,-223},{-168,-185,-223,-201,-195,-221},{-189,-189,-225,-195,-162,-205},{-225,-177,-193,-209,-211,-205},{-201,-217,-193,-207,-242,-168},{-238,-187,-205,-231,-244,-235},{-240,-162,-168,-195,-219,-225},{-193,-197,-189,-219,-183,-162},{-175,-225,-221,-209,-171,-238},{-205,-219,-197,-179,-217,-199},{-199,-173,-203,-233,-217,-166},{-183,-223,-181,-215,-173,-201},{-221,-229,-199,-213,-215,-235},{-207,-209,-219,-185,-227,-201},{-171,-171,-233,-191,-217,-213},{-175,-215,-179,-217,-195,-238},{-213,-238,-185,-221,-185,-191}},{{-215,-197,-240,-201,-201,-217},{-181,-205,-193,-175,-177,-185},{-164,-199,-235,-171,-244,-191},{-181,-229,-181,-211,-179,-223},{-168,-211,-219,-207,-207,-217},{-205,-173,-197,-233,-221,-244},{-229,-164,-201,-166,-185,-179},{-168,-195,-231,-183,-221,-168},{-238,-213,-207,-201,-242,-164},{-195,-238,-177,-162,-166,-162},{-179,-177,-207,-244,-211,-164},{-203,-177,-201,-229,-211,-207},{-205,-221,-233,-195,-168,-215},{-173,-225,-205,-219,-238,-185},{-175,-209,-209,-225,-223,-193},{-171,-231,-195,-166,-181,-235},{-215,-201,-217,-209,-233,-244},{-223,-185,-242,-215,-213,-201},{-189,-177,-197,-195,-203,-240},{-244,-231,-171,-164,-244,-191},{-209,-171,-235,-166,-201,-168},{-227,-164,-189,-195,-175,-183},{-185,-238,-223,-201,-211,-219},{-219,-179,-227,-191,-240,-185},{-189,-187,-189,-231,-193,-242},{-238,-217,-185,-203,-238,-191},{-219,-213,-223,-227,-229,-189},{-187,-242,-193,-225,-173,-225},{-166,-199,-242,-207,-201,-201},{-201,-179,-168,-199,-207,-199},{-207,-195,-213,-201,-221,-205},{-162,-217,-177,-219,-197,-189},{-240,-181,-215,-175,-229,-185},{-217,-242,-209,-203,-199,-240},{-187,-227,-201,-225,-179,-185},{-175,-171,-183,-207,-227,-229},{-219,-177,-166,-235,-185,-225},{-203,-219,-175,-193,-195,-221},{-179,-183,-240,-235,-223,-189},{-215,-201,-242,-223,-235,-195},{-189,-242,-199,-225,-235,-195},{-209,-177,-162,-244,-225,-199},{-166,-201,-199,-171,-207,-205},{-240,-219,-195,-231,-179,-177},{-185,-177,-171,-207,-177,-199},{-177,-177,-181,-240,-205,-233},{-211,-240,-207,-207,-162,-203},{-168,-240,-166,-231,-233,-223},{-199,-179,-242,-193,-162,-201},{-233,-164,-244,-205,-227,-185}}},{{{-163,-179,-140,-150,-158,-135},{-142,-167,-153,-161,-175,-163},{-192,-167,-148,-140,-163,-190},{-174,-134,-155,-135,-147,-169},{-169,-193,-129,-190,-137,-190},{-177,-148,-158,-171,-172,-129},{-135,-143,-129,-184,-130,-132},{-175,-172,-130,-163,-175,-155},{-164,-147,-143,-177,-158,-140},{-145,-180,-155,-156,-161,-188},{-153,-174,-142,-190,-188,-158},{-193,-171,-155,-142,-174,-142},{-155,-159,-163,-190,-185,-142},{-161,-188,-138,-192,-171,-172},{-167,-137,-158,-175,-164,-142},{-156,-172,-130,-148,-185,-177},{-185,-177,-166,-179,-177,-137},{-134,-175,-145,-180,-137,-175},{-155,-132,-175,-138,-174,-143},{-148,-142,-188,-172,-163,-190},{-129,-177,-188,-164,-147,-172},{-150,-187,-129,-147,-147,-148},{-190,-180,-169,-130,-142,-188},{-164,-167,-169,-155,-184,-187},{-182,-164,-150,-177,-138,-163},{-150,-155,-142,-163,-158,-192},{-132,-167,-177,-193,-138,-161},{-161,-187,-190,-171,-174,-184},{-135,-150,-166,-167,-190,-158},{-190,-143,-135,-129,-145,-153},{-161,-129,-164,-166,-174,-175},{-130,-138,-188,-182,-145,-192},{-184,-166,-166,-129,-169,-129},{-145,-137,-182,-147,-153,-182},{-174,-179,-138,-190,-132,-163},{-151,-174,-148,-184,-188,-147},{-190,-148,-180,-143,-171,-134},{-167,-142,-180,-134,-137,-190},{-185,-193,-185,-169,-129,-161},{-193,-167,-161,-185,-184,-175},{-132,-163,-169,-163,-129,-159},{-145,-135,-164,-158,-161,-188},{-192,-184,-182,-193,-156,-147},{-135,-132,-156,-192,-188,-192},{-137,-147,-161,-150,-190,-142},{-130,-153,-177,-164,-174,-142},{-177,-172,-193,-140,-145,-135},{-151,-179,-175,-193,-163,-171},{-172,-177,-174,-172,-188,-166},{-182,-158,-188,-171,-193,-142}},{{-179,-153,-172,-143,-175,-145},{-185,-190,-166,-159,-180,-171},{-180,-138,-145,-179,-137,-171},{-192,-188,-137,-180,-150,-190},{-187,-140,-145,-171,-148,-169},{-138,-188,-134,-143,-185,-190},{-193,-148,-137,-147,-134,-161},{-148,-134,-147,-145,-169,-161},{-138,-177,-150,-143,-192,-192},{-172,-164,-142,-164,-153,-129},{-159,-177,-192,-192,-179,-166},{-169,-134,-192,-167,-193,-171},{-143,-140,-171,-135,-180,-158},{-166,-172,-150,-161,-150,-148},{-134,-140,-190,-137,-147,-135},{-187,-175,-167,-193,-184,-148},{-150,-184,-180,-151,-179,-193},{-163,-161,-132,-167,-180,-192},{-137,-148,-147,-184,-184,-192},{-140,-156,-179,-132,-159,-158},{-172,-155,-135,-138,-179,-180},{-188,-142,-145,-143,-185,-130},{-190,-129,-169,-188,-192,-145},{-143,-132,-184,-132,-156,-193},{-192,-156,-140,-184,-192,-134},{-171,-140,-163,-156,-167,-164},{-159,-163,-138,-134,-182,-179},{-140,-140,-193,-193,-140,-137},{-188,-175,-142,-132,-182,-177},{-172,-130,-179,-193,-142,-156},{-134,-134,-192,-166,-147,-135},{-192,-153,-130,-164,-159,-187},{-179,-155,-155,-158,-177,-184},{-142,-166,-137,-137,-155,-174},{-164,-153,-163,-148,-175,-169},{-150,-180,-171,-177,-147,-148},{-145,-130,-171,-193,-150,-192},{-135,-150,-150,-193,-155,-163},{-172,-130,-156,-180,-174,-158},{-145,-177,-130,-190,-175,-140},{-163,-187,-169,-188,-179,-158},{-175,-179,-132,-190,-166,-174},{-135,-143,-190,-135,-166,-140},{-172,-175,-138,-129,-171,-177},{-143,-163,-172,-151,-135,-150},{-174,-143,-147,-169,-188,-164},{-130,-187,-151,-161,-182,-158},{-132,-161,-129,-192,-179,-172},{-140,-156,-142,-140,-138,-169},{-145,-148,-140,-192,-150,-159}},{{-188,-138,-171,-140,-182,-151},{-174,-175,-137,-166,-177,-184},{-134,-163,-184,-171,-135,-147},{-172,-138,-179,-158,-175,-137},{-179,-148,-169,-188,-159,-129},{-143,-155,-179,-180,-185,-132},{-180,-147,-163,-142,-175,-135},{-138,-129,-171,-163,-140,-158},{-179,-138,-148,-155,-174,-158},{-180,-192,-151,-140,-177,-164},{-172,-188,-163,-190,-159,-177},{-166,-147,-169,-129,-175,-184},{-193,-138,-132,-130,-137,-151},{-142,-192,-129,-166,-192,-156},{-142,-174,-182,-137,-135,-129},{-171,-167,-169,-156,-182,-142},{-137,-150,-129,-175,-148,-187},{-135,-190,-143,-174,-156,-192},{-169,-180,-130,-137,-142,-148},{-143,-164,-180,-148,-175,-192},{-135,-185,-138,-143,-151,-180},{-150,-174,-193,-156,-143,-153},{-174,-171,-156,-129,-159,-193},{-132,-130,-150,-185,-150,-177},{-190,-155,-184,-167,-193,-169},{-145,-192,-132,-145,-147,-145},{-130,-143,-140,-167,-174,-158},{-188,-155,-155,-187,-137,-135},{-171,-185,-148,-137,-153,-190},{-134,-158,-177,-142,-190,-159},{-140,-159,-143,-151,-145,-147},{-130,-129,-185,-148,-137,-163},{-177,-156,-171,-187,-138,-163},{-140,-169,-148,-174,-158,-155},{-151,-184,-159,-180,-159,-179},{-151,-164,-163,-161,-147,-167},{-137,-180,-190,-169,-156,-147},{-169,-155,-130,-175,-174,-150},{-177,-135,-150,-151,-188,-188},{-134,-153,-134,-182,-171,-132},{-167,-148,-145,-135,-169,-188},{-143,-172,-180,-153,-129,-155},{-180,-148,-190,-193,-166,-137},{-161,-161,-172,-135,-150,-180},{-135,-134,-130,-182,-156,-174},{-172,-174,-164,-151,-129,-175},{-171,-156,-134,-150,-147,-182},{-174,-177,-158,-150,-174,-167},{-140,-142,-187,-147,-161,-164},{-187,-167,-138,-140,-132,-140}}},{{{-217,-240,-199,-245,-189,-224},{-210,-222,-238,-243,-252,-268},{-226,-203,-203,-263,-238,-189},{-210,-192,-236,-215,-219,-256},{-256,-249,-196,-263,-199,-236},{-259,-222,-256,-263,-215,-210},{-233,-273,-268,-266,-189,-196},{-224,-249,-203,-208,-187,-203},{-249,-215,-196,-266,-263,-256},{-208,-196,-224,-203,-238,-243},{-189,-243,-259,-273,-266,-189},{-231,-254,-245,-261,-229,-189},{-194,-185,-273,-254,-229,-245},{-256,-192,-249,-229,-196,-199},{-213,-243,-187,-243,-249,-266},{-185,-222,-226,-213,-189,-252},{-224,-243,-266,-206,-270,-238},{-187,-240,-275,-273,-185,-194},{-208,-187,-261,-206,-217,-199},{-259,-268,-249,-275,-240,-215},{-194,-275,-219,-256,-266,-222},{-201,-201,-238,-263,-185,-273},{-199,-196,-263,-254,-259,-192},{-203,-185,-270,-236,-247,-194},{-266,-192,-243,-215,-189,-233},{-236,-187,-187,-238,-277,-196},{-187,-189,-192,-261,-196,-213},{-263,-233,-222,-236,-189,-201},{-185,-213,-254,-252,-236,-275},{-266,-245,-252,-226,-194,-226},{-226,-249,-213,-219,-222,-270},{-261,-266,-268,-210,-229,-247},{-208,-222,-236,-192,-273,-210},{-236,-210,-266,-226,-261,-201},{-252,-270,-247,-252,-233,-199},{-199,-249,-203,-196,-275,-231},{-203,-236,-203,-213,-263,-187},{-233,-268,-189,-185,-215,-275},{-261,-266,-249,-273,-215,-185},{-245,-229,-268,-208,-256,-217},{-277,-224,-231,-226,-263,-259},{-238,-256,-245,-277,-187,-203},{-194,-245,-226,-189,-187,-201},{-222,-247,-224,-275,-217,-206},{-277,-210,-270,-196,-261,-192},{-275,-194,-199,-203,-222,-187},{-217,-185,-231,-275,-240,-277},{-270,-213,-229,-240,-226,-185},{-185,-256,-210,-256,-268,-219},{-192,-231,-263,-236,-238,-261}},{{-249,-196,-203,-273,-213,-203},{-185,-238,-219,-247,-238,-187},{-215,-261,-215,-185,-210,-219},{-187,-194,-245,-236,-224,-273},{-196,-229,-275,-222,-268,-275},{-189,-261,-194,-226,-263,-256},{-226,-185,-185,-243,-236,-277},{-189,-224,-194,-266,-224,-189},{-236,-215,-261,-226,-210,-270},{-268,-277,-256,-261,-185,-208},{-222,-268,-259,-222,-275,-201},{-217,-233,-273,-229,-217,-196},{-273,-238,-210,-213,-249,-277},{-243,-203,-233,-268,-238,-213},{-217,-203,-243,-222,-231,-247},{-243,-210,-226,-261,-189,-268},{-224,-185,-199,-203,-270,-208},{-277,-261,-263,-240,-192,-222},{-256,-189,-249,-256,-259,-254},{-206,-268,-210,-266,-268,-259},{-229,-256,-270,-222,-210,-266},{-226,-273,-217,-254,-229,-261},{-229,-224,-229,-266,-224,-270},{-243,-199,-203,-192,-266,-256},{-187,-249,-254,-219,-252,-189},{-206,-203,-252,-192,-256,-210},{-213,-270,-192,-189,-226,-210},{-194,-243,-201,-219,-273,-266},{-256,-203,-245,-203,-215,-210},{-206,-192,-224,-231,-238,-187},{-210,-277,-240,-243,-196,-249},{-199,-247,-219,-201,-208,-215},{-277,-231,-185,-210,-263,-249},{-252,-201,-243,-266,-252,-261},{-270,-231,-217,-256,-224,-219},{-222,-243,-236,-243,-259,-259},{-263,-245,-187,-266,-261,-238},{-259,-245,-217,-273,-192,-219},{-252,-185,-189,-194,-206,-222},{-245,-247,-187,-226,-226,-277},{-275,-226,-243,-254,-249,-275},{-236,-247,-185,-236,-187,-259},{-270,-215,-187,-196,-224,-254},{-187,-240,-273,-266,-222,-215},{-249,-229,-270,-210,-203,-203},{-210,-256,-219,-270,-275,-240},{-215,-196,-259,-213,-206,-210},{-217,-252,-238,-192,-185,-226},{-187,-277,-222,-273,-189,-261},{-277,-217,-208,-215,-189,-189}},{{-256,-268,-192,-187,-194,-224},{-249,-252,-275,-194,-203,-249},{-192,-245,-213,-213,-233,-249},{-231,-249,-229,-247,-256,-192},{-245,-259,-213,-268,-266,-268},{-219,-263,-201,-245,-208,-199},{-275,-203,-189,-213,-189,-203},{-196,-263,-249,-243,-222,-187},{-229,-208,-213,-231,-263,-249},{-224,-249,-203,-226,-256,-219},{-213,-203,-240,-273,-275,-210},{-240,-213,-236,-192,-245,-208},{-196,-192,-187,-252,-194,-261},{-233,-217,-256,-226,-273,-259},{-187,-196,-261,-273,-210,-192},{-203,-189,-196,-270,-273,-215},{-194,-263,-238,-208,-236,-238},{-187,-213,-196,-213,-226,-229},{-213,-226,-206,-240,-208,-192},{-229,-240,-194,-217,-259,-185},{-219,-210,-261,-236,-245,-263},{-203,-240,-210,-213,-201,-233},{-219,-233,-213,-238,-254,-263},{-219,-263,-233,-263,-240,-194},{-275,-233,-196,-210,-208,-240},{-199,-189,-252,-261,-236,-249},{-236,-213,-229,-263,-259,-192},{-226,-187,-199,-229,-189,-187},{-259,-219,-268,-256,-261,-196},{-206,-189,-231,-206,-185,-213},{-224,-268,-275,-273,-222,-252},{-231,-194,-263,-208,-238,-213},{-236,-222,-199,-189,-206,-231},{-231,-238,-187,-263,-213,-259},{-185,-208,-240,-268,-213,-224},{-263,-252,-261,-196,-187,-222},{-275,-215,-254,-247,-194,-254},{-233,-208,-247,-275,-219,-224},{-277,-215,-259,-261,-275,-266},{-201,-252,-196,-215,-208,-245},{-201,-266,-222,-192,-277,-187},{-206,-266,-217,-236,-222,-192},{-229,-270,-213,-261,-201,-196},{-192,-215,-229,-263,-266,-243},{-236,-263,-256,-196,-266,-219},{-187,-277,-206,-247,-206,-210},{-194,-249,-240,-213,-236,-203},{-263,-231,-196,-238,-224,-231},{-210,-213,-233,-249,-249,-206},{-224,-210,-213,-259,-215,-256}}},{{{-224,-195,-200,-180,-219,-210},{-234,-210,-254,-174,-245,-200},{-204,-206,-191,-221,-204,-241},{-178,-228,-176,-187,-226,-213},{-200,-195,-219,-176,-204,-195},{-204,-191,-252,-191,-243,-189},{-247,-232,-191,-191,-241,-193},{-217,-182,-250,-228,-232,-208},{-197,-258,-208,-256,-228,-252},{-178,-210,-206,-206,-247,-241},{-230,-184,-178,-239,-241,-241},{-250,-243,-232,-180,-226,-200},{-243,-224,-232,-195,-213,-206},{-213,-221,-187,-250,-178,-237},{-228,-226,-243,-224,-180,-174},{-184,-180,-215,-193,-228,-178},{-224,-232,-217,-182,-200,-210},{-250,-180,-258,-210,-206,-217},{-206,-224,-241,-250,-258,-202},{-191,-221,-206,-213,-254,-219},{-180,-202,-206,-243,-202,-189},{-232,-178,-241,-217,-245,-245},{-184,-193,-204,-217,-254,-193},{-176,-260,-191,-187,-184,-243},{-206,-182,-180,-234,-239,-226},{-213,-232,-204,-208,-226,-221},{-184,-258,-178,-219,-237,-245},{-219,-226,-239,-239,-213,-221},{-241,-182,-221,-237,-239,-245},{-202,-215,-258,-260,-243,-217},{-178,-193,-230,-180,-191,-184},{-210,-200,-224,-234,-202,-174},{-256,-174,-234,-241,-258,-217},{-182,-245,-260,-187,-247,-200},{-176,-184,-197,-247,-258,-213},{-200,-258,-213,-202,-206,-234},{-178,-239,-224,-260,-174,-176},{-208,-217,-245,-193,-230,-258},{-200,-180,-206,-245,-256,-200},{-219,-258,-228,-219,-258,-224},{-191,-187,-224,-247,-182,-176},{-195,-187,-224,-256,-245,-206},{-258,-197,-224,-204,-250,-219},{-182,-213,-239,-210,-226,-189},{-241,-187,-197,-250,-258,-258},{-239,-243,-200,-224,-228,-200},{-182,-182,-195,-215,-234,-184},{-250,-215,-247,-206,-230,-243},{-232,-256,-202,-210,-230,-256},{-178,-247,-217,-226,-243,-245}},{{-219,-200,-215,-208,-200,-217},{-208,-195,-224,-210,-219,-204},{-224,-226,-243,-245,-258,-195},{-200,-210,-226,-221,-208,-195},{-256,-193,-245,-243,-208,-243},{-250,-245,-245,-230,-224,-252},{-237,-250,-245,-230,-221,-208},{-245,-184,-208,-241,-258,-210},{-241,-178,-232,-224,-202,-230},{-178,-230,-202,-210,-189,-195},{-228,-174,-234,-239,-204,-254},{-176,-256,-239,-241,-195,-219},{-260,-174,-250,-202,-237,-178},{-237,-237,-239,-200,-228,-250},{-260,-200,-178,-217,-210,-210},{-191,-237,-241,-202,-213,-260},{-200,-258,-197,-195,-215,-237},{-226,-184,-232,-228,-228,-256},{-189,-241,-221,-208,-260,-174},{-187,-258,-221,-256,-219,-217},{-193,-208,-221,-219,-256,-206},{-221,-180,-260,-208,-234,-184},{-258,-260,-224,-254,-243,-245},{-191,-224,-237,-258,-239,-174},{-204,-226,-224,-245,-174,-195},{-245,-217,-226,-256,-195,-191},{-195,-247,-237,-208,-215,-197},{-243,-202,-226,-260,-208,-197},{-252,-258,-254,-254,-256,-250},{-221,-182,-176,-202,-174,-230},{-228,-184,-182,-197,-241,-189},{-178,-193,-200,-180,-202,-260},{-252,-206,-191,-230,-184,-206},{-247,-243,-256,-243,-208,-256},{-187,-187,-217,-258,-224,-191},{-195,-245,-252,-184,-247,-191},{-254,-237,-193,-197,-258,-247},{-202,-204,-243,-260,-243,-219},{-215,-200,-234,-243,-245,-232},{-247,-191,-226,-256,-252,-180},{-239,-219,-243,-184,-230,-189},{-254,-245,-176,-184,-241,-241},{-193,-202,-258,-219,-234,-258},{-245,-260,-178,-178,-224,-245},{-245,-245,-243,-252,-193,-195},{-193,-204,-237,-184,-202,-189},{-182,-193,-239,-180,-215,-256},{-178,-230,-182,-206,-247,-191},{-180,-191,-202,-226,-228,-213},{-219,-224,-184,-174,-237,-193}},{{-217,-210,-202,-224,-243,-224},{-184,-256,-232,-254,-224,-204},{-200,-204,-230,-202,-219,-195},{-178,-215,-193,-241,-176,-219},{-215,-224,-180,-234,-180,-243},{-197,-206,-239,-208,-197,-187},{-182,-180,-191,-219,-228,-219},{-219,-187,-208,-176,-228,-189},{-195,-239,-234,-247,-224,-226},{-230,-258,-184,-213,-208,-180},{-202,-184,-219,-197,-193,-252},{-232,-204,-208,-174,-237,-226},{-191,-206,-208,-202,-182,-228},{-250,-224,-184,-204,-182,-230},{-213,-197,-254,-239,-204,-247},{-213,-239,-260,-213,-221,-243},{-260,-189,-208,-234,-215,-217},{-206,-176,-178,-189,-239,-200},{-191,-215,-202,-247,-219,-191},{-197,-193,-228,-221,-197,-184},{-180,-200,-245,-250,-215,-234},{-219,-237,-191,-204,-237,-197},{-182,-219,-237,-213,-180,-180},{-224,-260,-256,-195,-234,-202},{-219,-184,-187,-243,-252,-176},{-247,-256,-217,-189,-237,-254},{-184,-189,-206,-234,-217,-221},{-197,-180,-187,-252,-247,-234},{-243,-204,-224,-230,-245,-239},{-228,-213,-213,-215,-243,-250},{-200,-206,-252,-208,-182,-260},{-210,-226,-213,-258,-213,-189},{-195,-191,-184,-180,-226,-189},{-206,-189,-215,-178,-224,-234},{-204,-193,-252,-219,-252,-219},{-258,-210,-200,-202,-230,-191},{-193,-217,-239,-202,-256,-254},{-258,-258,-187,-210,-208,-219},{-226,-204,-241,-213,-254,-260},{-204,-224,-250,-187,-213,-224},{-219,-258,-221,-258,-258,-206},{-230,-226,-258,-202,-176,-247},{-247,-224,-245,-243,-213,-202},{-221,-237,-232,-215,-174,-210},{-215,-180,-217,-189,-228,-204},{-226,-250,-241,-217,-193,-204},{-191,-182,-252,-237,-184,-195},{-191,-254,-213,-243,-208,-230},{-247,-245,-202,-182,-250,-243},{-217,-208,-184,-237,-256,-234}}},{{{-213,-290,-255,-221,-242,-306},{-271,-242,-295,-279,-298,-231},{-298,-287,-223,-317,-285,-226},{-231,-271,-229,-293,-223,-263},{-274,-255,-253,-309,-293,-239},{-282,-295,-282,-242,-221,-258},{-215,-298,-234,-301,-309,-239},{-266,-261,-287,-279,-285,-287},{-319,-263,-298,-234,-295,-277},{-266,-266,-295,-301,-261,-314},{-237,-285,-271,-237,-263,-309},{-237,-245,-271,-218,-239,-285},{-229,-309,-215,-250,-269,-277},{-287,-231,-250,-258,-221,-279},{-303,-226,-319,-213,-290,-242},{-298,-261,-255,-245,-282,-229},{-218,-319,-239,-226,-295,-287},{-319,-298,-301,-213,-293,-215},{-269,-226,-317,-237,-271,-226},{-277,-306,-245,-237,-223,-319},{-250,-226,-306,-314,-223,-301},{-253,-215,-266,-266,-266,-295},{-290,-309,-269,-258,-247,-261},{-301,-263,-258,-319,-269,-234},{-293,-239,-282,-317,-239,-314},{-245,-213,-221,-253,-226,-269},{-266,-266,-309,-218,-295,-215},{-303,-250,-314,-287,-317,-309},{-218,-221,-277,-279,-242,-271},{-231,-261,-319,-261,-282,-213},{-266,-237,-223,-314,-290,-223},{-269,-255,-221,-263,-269,-247},{-301,-269,-247,-253,-223,-277},{-218,-271,-301,-269,-242,-215},{-218,-253,-239,-258,-317,-303},{-311,-218,-317,-261,-317,-295},{-234,-290,-242,-314,-298,-271},{-247,-218,-285,-309,-226,-274},{-274,-293,-258,-229,-234,-261},{-279,-242,-245,-282,-221,-258},{-255,-285,-223,-253,-261,-261},{-239,-215,-269,-317,-311,-282},{-226,-234,-303,-306,-213,-293},{-298,-287,-319,-285,-247,-221},{-223,-226,-317,-258,-221,-295},{-263,-247,-239,-261,-229,-250},{-319,-287,-298,-314,-218,-317},{-237,-226,-215,-242,-309,-274},{-218,-218,-303,-287,-285,-250},{-245,-298,-261,-274,-287,-309}},{{-239,-242,-253,-234,-282,-309},{-319,-229,-263,-226,-309,-253},{-274,-290,-253,-309,-237,-295},{-306,-277,-226,-274,-237,-271},{-279,-261,-319,-290,-231,-293},{-282,-311,-258,-309,-306,-266},{-282,-269,-277,-237,-279,-234},{-226,-231,-213,-293,-255,-242},{-223,-215,-277,-295,-231,-298},{-287,-319,-290,-231,-287,-269},{-303,-245,-218,-218,-247,-226},{-298,-303,-234,-237,-242,-242},{-285,-250,-229,-287,-247,-287},{-301,-258,-223,-311,-258,-234},{-229,-309,-229,-223,-290,-218},{-285,-282,-277,-226,-298,-317},{-242,-221,-287,-287,-290,-309},{-295,-309,-261,-226,-285,-253},{-242,-250,-221,-226,-239,-255},{-242,-253,-218,-317,-290,-221},{-250,-319,-223,-271,-242,-271},{-213,-319,-319,-266,-274,-215},{-213,-282,-317,-242,-295,-221},{-303,-218,-258,-311,-221,-306},{-261,-306,-301,-311,-247,-234},{-258,-309,-223,-237,-309,-295},{-295,-255,-271,-303,-274,-261},{-250,-317,-319,-266,-247,-237},{-290,-266,-239,-301,-247,-231},{-261,-242,-279,-290,-290,-226},{-255,-223,-218,-285,-226,-301},{-245,-290,-221,-237,-234,-279},{-314,-223,-309,-303,-274,-287},{-234,-258,-237,-311,-218,-215},{-239,-309,-319,-282,-319,-223},{-317,-247,-298,-229,-242,-218},{-295,-218,-319,-247,-274,-215},{-311,-263,-213,-303,-221,-250},{-226,-253,-223,-234,-221,-250},{-258,-306,-277,-223,-319,-317},{-263,-277,-261,-250,-301,-247},{-317,-317,-285,-314,-255,-301},{-274,-213,-242,-231,-309,-253},{-317,-271,-226,-231,-234,-223},{-231,-295,-234,-226,-306,-253},{-250,-213,-255,-317,-274,-282},{-301,-293,-279,-298,-255,-306},{-261,-271,-282,-223,-215,-285},{-314,-221,-245,-279,-247,-271},{-223,-309,-301,-269,-218,-271}},{{-239,-303,-293,-221,-231,-277},{-242,-250,-255,-269,-242,-303},{-261,-261,-215,-263,-247,-258},{-237,-314,-231,-247,-266,-314},{-295,-277,-223,-237,-245,-242},{-274,-215,-301,-311,-237,-277},{-298,-279,-295,-223,-226,-274},{-311,-215,-269,-218,-271,-213},{-215,-306,-279,-301,-253,-223},{-239,-231,-285,-303,-231,-285},{-213,-269,-317,-239,-242,-287},{-319,-239,-247,-239,-215,-221},{-231,-303,-319,-303,-261,-301},{-301,-311,-277,-293,-309,-301},{-231,-221,-226,-319,-263,-290},{-298,-282,-317,-266,-242,-245},{-269,-239,-231,-266,-253,-274},{-298,-258,-213,-266,-229,-301},{-213,-213,-215,-242,-266,-279},{-261,-213,-242,-309,-237,-277},{-215,-287,-287,-311,-319,-311},{-317,-253,-303,-301,-269,-229},{-250,-309,-215,-250,-223,-229},{-298,-255,-271,-226,-319,-215},{-229,-266,-303,-215,-229,-317},{-303,-295,-245,-279,-231,-287},{-266,-266,-271,-261,-215,-293},{-295,-303,-258,-314,-277,-263},{-218,-298,-239,-279,-295,-213},{-314,-226,-295,-239,-290,-221},{-295,-215,-237,-319,-255,-301},{-234,-253,-319,-311,-317,-245},{-271,-231,-306,-290,-303,-213},{-269,-269,-311,-245,-314,-213},{-266,-295,-223,-221,-237,-253},{-285,-218,-317,-285,-245,-303},{-213,-234,-213,-285,-301,-266},{-258,-293,-258,-237,-213,-285},{-215,-223,-223,-242,-266,-218},{-311,-234,-314,-213,-295,-215},{-311,-253,-317,-215,-269,-295},{-279,-261,-231,-269,-226,-247},{-255,-261,-290,-213,-317,-293},{-253,-306,-298,-282,-245,-213},{-245,-237,-287,-261,-309,-298},{-223,-221,-303,-285,-245,-311},{-317,-269,-298,-261,-282,-247},{-223,-271,-255,-226,-290,-247},{-223,-218,-218,-237,-213,-271},{-245,-306,-311,-271,-319,-226}}},{{{-336,-308,-288,-224,-311,-272},{-291,-302,-302,-319,-255,-235},{-235,-246,-294,-328,-291,-277},{-308,-325,-260,-272,-316,-330},{-286,-316,-235,-336,-283,-297},{-288,-311,-263,-330,-328,-283},{-280,-311,-336,-263,-224,-269},{-255,-263,-308,-269,-330,-325},{-297,-263,-227,-274,-263,-277},{-249,-288,-277,-269,-286,-227},{-316,-336,-277,-300,-302,-297},{-322,-238,-263,-263,-277,-246},{-311,-277,-314,-230,-266,-291},{-260,-252,-258,-305,-283,-241},{-255,-260,-244,-330,-286,-235},{-308,-246,-232,-319,-230,-302},{-241,-266,-246,-330,-283,-241},{-241,-280,-288,-305,-224,-297},{-336,-224,-319,-232,-241,-269},{-272,-322,-333,-333,-302,-308},{-244,-224,-291,-232,-246,-314},{-333,-319,-328,-288,-308,-308},{-235,-232,-300,-286,-255,-244},{-286,-294,-311,-230,-280,-283},{-232,-288,-258,-260,-302,-283},{-316,-230,-235,-230,-322,-241},{-274,-241,-274,-244,-319,-277},{-325,-319,-274,-336,-308,-336},{-300,-294,-244,-272,-232,-308},{-314,-255,-294,-230,-316,-263},{-305,-255,-269,-252,-291,-274},{-297,-260,-305,-336,-249,-328},{-227,-277,-328,-330,-277,-260},{-280,-244,-305,-235,-322,-305},{-227,-246,-305,-308,-246,-269},{-263,-314,-336,-330,-227,-311},{-241,-314,-316,-280,-258,-227},{-246,-325,-232,-252,-266,-241},{-280,-305,-280,-269,-316,-305},{-260,-244,-328,-241,-260,-232},{-314,-255,-277,-336,-286,-244},{-277,-255,-328,-258,-314,-291},{-314,-241,-325,-305,-280,-274},{-283,-322,-291,-314,-294,-274},{-294,-294,-330,-283,-330,-333},{-274,-302,-277,-316,-314,-325},{-232,-294,-291,-230,-336,-246},{-322,-244,-272,-294,-227,-241},{-263,-308,-322,-322,-263,-316},{-238,-249,-235,-333,-263,-269}},{{-260,-283,-252,-291,-330,-272},{-249,-291,-316,-232,-274,-241},{-260,-260,-246,-246,-235,-286},{-277,-314,-283,-288,-288,-322},{-283,-258,-314,-249,-314,-311},{-249,-302,-255,-322,-224,-314},{-263,-291,-230,-232,-274,-322},{-319,-277,-246,-269,-252,-336},{-241,-274,-305,-305,-252,-291},{-300,-255,-263,-263,-297,-288},{-325,-269,-260,-280,-263,-246},{-224,-316,-302,-314,-322,-322},{-260,-308,-255,-224,-238,-235},{-266,-241,-311,-300,-300,-274},{-336,-286,-316,-328,-316,-316},{-238,-277,-280,-272,-291,-230},{-297,-272,-258,-325,-294,-283},{-252,-266,-246,-333,-277,-319},{-308,-249,-232,-232,-294,-297},{-272,-269,-224,-286,-336,-266},{-325,-283,-274,-255,-274,-241},{-322,-333,-316,-291,-325,-266},{-255,-305,-274,-252,-230,-286},{-269,-297,-263,-322,-336,-311},{-336,-263,-227,-300,-305,-308},{-308,-241,-325,-294,-297,-274},{-235,-258,-336,-230,-308,-252},{-241,-272,-269,-258,-277,-336},{-336,-238,-330,-258,-286,-227},{-255,-300,-325,-255,-330,-274},{-252,-308,-224,-266,-255,-274},{-288,-283,-316,-316,-238,-305},{-333,-235,-238,-232,-314,-336},{-263,-277,-230,-300,-263,-333},{-316,-300,-230,-302,-328,-235},{-246,-252,-314,-294,-230,-260},{-238,-246,-246,-336,-328,-246},{-235,-266,-291,-224,-241,-224},{-238,-328,-272,-244,-252,-319},{-330,-238,-235,-274,-280,-249},{-319,-300,-322,-328,-241,-336},{-322,-286,-305,-280,-311,-260},{-252,-316,-235,-266,-224,-244},{-230,-274,-227,-325,-266,-294},{-319,-283,-294,-230,-314,-302},{-232,-232,-277,-272,-316,-288},{-328,-319,-316,-235,-311,-308},{-283,-336,-266,-314,-269,-255},{-244,-328,-308,-269,-297,-305},{-238,-249,-333,-230,-274,-238}},{{-308,-235,-249,-274,-319,-316},{-266,-336,-280,-266,-227,-255},{-333,-224,-244,-246,-336,-316},{-300,-252,-314,-308,-263,-241},{-269,-274,-255,-266,-238,-280},{-246,-325,-274,-263,-246,-297},{-224,-286,-325,-286,-235,-263},{-263,-294,-252,-322,-322,-319},{-263,-314,-269,-244,-224,-246},{-269,-283,-241,-238,-316,-269},{-235,-244,-238,-300,-274,-319},{-230,-241,-297,-249,-241,-300},{-328,-286,-322,-322,-274,-232},{-252,-260,-277,-322,-269,-336},{-280,-227,-302,-311,-230,-232},{-316,-232,-280,-258,-224,-274},{-300,-311,-224,-311,-252,-252},{-274,-269,-227,-336,-258,-266},{-328,-294,-252,-230,-274,-230},{-252,-272,-244,-277,-266,-314},{-258,-322,-322,-305,-280,-319},{-260,-308,-269,-227,-302,-330},{-294,-311,-277,-235,-244,-235},{-272,-319,-246,-302,-260,-280},{-314,-274,-244,-252,-302,-280},{-291,-280,-258,-246,-272,-308},{-291,-241,-263,-260,-300,-314},{-286,-224,-232,-288,-294,-235},{-328,-288,-286,-235,-336,-258},{-294,-330,-308,-258,-246,-258},{-308,-291,-300,-328,-305,-252},{-232,-274,-235,-230,-241,-336},{-252,-311,-241,-336,-316,-280},{-274,-302,-336,-314,-269,-246},{-272,-269,-319,-283,-333,-255},{-328,-333,-249,-328,-336,-314},{-333,-297,-263,-238,-330,-272},{-255,-300,-308,-235,-260,-330},{-302,-283,-288,-241,-316,-314},{-235,-333,-305,-260,-269,-300},{-263,-319,-255,-266,-333,-288},{-224,-336,-294,-255,-319,-283},{-277,-249,-300,-316,-244,-283},{-330,-314,-305,-241,-322,-330},{-266,-230,-311,-227,-325,-232},{-269,-333,-252,-232,-274,-319},{-224,-249,-328,-252,-238,-241},{-322,-302,-244,-291,-288,-241},{-316,-249,-260,-330,-286,-305},{-294,-286,-241,-305,-300,-336}}},{{{-252,-294,-297,-286,-272,-314},{-244,-311,-241,-263,-325,-322},{-300,-252,-314,-300,-260,-319},{-300,-286,-314,-241,-266,-260},{-263,-249,-286,-272,-302,-274},{-269,-333,-288,-333,-224,-300},{-300,-249,-232,-325,-235,-330},{-238,-322,-272,-263,-336,-266},{-336,-252,-336,-328,-308,-283},{-314,-249,-272,-286,-333,-291},{-291,-308,-269,-280,-258,-283},{-238,-277,-280,-336,-330,-325},{-311,-277,-272,-235,-246,-266},{-246,-316,-258,-294,-272,-260},{-291,-328,-238,-319,-274,-322},{-336,-336,-241,-316,-308,-280},{-258,-258,-283,-319,-328,-258},{-235,-297,-291,-272,-286,-294},{-336,-325,-283,-300,-330,-266},{-238,-330,-328,-283,-333,-224},{-297,-235,-230,-266,-238,-308},{-277,-283,-249,-286,-230,-272},{-241,-224,-260,-235,-230,-263},{-300,-269,-263,-319,-311,-258},{-249,-266,-269,-302,-328,-246},{-308,-252,-258,-336,-232,-322},{-244,-297,-316,-322,-333,-230},{-288,-283,-227,-288,-274,-277},{-252,-328,-308,-244,-322,-333},{-241,-336,-266,-314,-297,-227},{-302,-227,-266,-246,-252,-249},{-246,-286,-302,-319,-230,-319},{-330,-291,-311,-249,-252,-286},{-316,-260,-294,-266,-266,-252},{-274,-238,-249,-291,-319,-314},{-305,-235,-325,-260,-227,-260},{-294,-238,-260,-283,-288,-238},{-269,-263,-238,-235,-235,-297},{-311,-319,-302,-232,-308,-322},{-333,-291,-300,-288,-274,-246},{-260,-252,-227,-246,-311,-235},{-269,-336,-325,-336,-263,-258},{-297,-336,-297,-308,-266,-255},{-294,-272,-297,-291,-294,-319},{-291,-230,-272,-319,-294,-246},{-249,-311,-269,-305,-235,-260},{-328,-291,-280,-230,-232,-336},{-244,-319,-246,-232,-305,-238},{-255,-280,-316,-325,-241,-325},{-230,-249,-244,-255,-328,-333}},{{-316,-286,-302,-288,-288,-288},{-260,-272,-305,-232,-288,-291},{-241,-277,-300,-283,-291,-291},{-316,-224,-258,-316,-274,-277},{-302,-266,-302,-241,-308,-316},{-328,-249,-280,-305,-319,-255},{-314,-311,-255,-288,-322,-266},{-280,-269,-330,-291,-272,-311},{-294,-300,-258,-263,-291,-314},{-232,-308,-260,-244,-269,-333},{-246,-302,-336,-227,-232,-232},{-260,-300,-274,-319,-291,-260},{-277,-277,-316,-272,-291,-333},{-266,-294,-302,-277,-300,-255},{-227,-280,-249,-224,-232,-249},{-336,-319,-266,-252,-336,-302},{-232,-325,-336,-238,-235,-258},{-277,-246,-302,-325,-316,-263},{-258,-224,-255,-322,-232,-258},{-322,-319,-235,-252,-263,-258},{-232,-280,-224,-330,-308,-328},{-336,-280,-297,-294,-224,-255},{-277,-333,-294,-330,-230,-277},{-308,-302,-328,-330,-322,-244},{-305,-291,-266,-249,-269,-319},{-249,-272,-277,-255,-230,-325},{-311,-319,-249,-305,-277,-260},{-246,-291,-280,-260,-314,-305},{-294,-230,-272,-330,-252,-300},{-244,-235,-263,-227,-241,-297},{-314,-291,-232,-319,-244,-232},{-260,-263,-288,-314,-325,-263},{-283,-325,-238,-297,-224,-266},{-322,-260,-252,-300,-322,-300},{-283,-258,-274,-311,-249,-311},{-283,-311,-258,-255,-302,-241},{-272,-286,-330,-291,-266,-280},{-297,-274,-249,-277,-300,-255},{-235,-249,-277,-305,-286,-246},{-333,-266,-252,-325,-266,-238},{-322,-260,-291,-232,-330,-319},{-291,-232,-227,-252,-246,-227},{-286,-230,-311,-263,-328,-255},{-260,-308,-277,-308,-266,-319},{-232,-238,-227,-322,-272,-328},{-255,-246,-244,-297,-328,-328},{-308,-235,-316,-263,-325,-224},{-272,-288,-283,-325,-277,-297},{-260,-316,-235,-319,-232,-252},{-328,-263,-258,-235,-258,-246}},{{-283,-300,-255,-297,-305,-283},{-328,-263,-249,-336,-328,-280},{-294,-241,-246,-328,-297,-330},{-336,-325,-232,-294,-283,-328},{-249,-288,-333,-224,-311,-263},{-308,-333,-277,-232,-258,-283},{-238,-314,-328,-330,-258,-274},{-305,-263,-255,-246,-316,-241},{-266,-302,-232,-266,-263,-244},{-294,-252,-260,-311,-224,-260},{-330,-241,-230,-258,-232,-294},{-316,-244,-294,-333,-319,-277},{-302,-288,-272,-227,-252,-305},{-297,-258,-246,-328,-280,-330},{-241,-235,-314,-272,-277,-244},{-274,-235,-294,-291,-255,-319},{-258,-232,-274,-322,-246,-311},{-322,-232,-249,-266,-333,-336},{-252,-227,-241,-255,-272,-269},{-241,-291,-227,-328,-311,-328},{-302,-249,-283,-330,-325,-316},{-333,-274,-291,-232,-252,-283},{-230,-249,-333,-297,-269,-333},{-230,-266,-305,-291,-319,-232},{-294,-286,-280,-300,-255,-314},{-297,-336,-274,-230,-252,-300},{-291,-224,-283,-302,-227,-230},{-224,-328,-291,-269,-263,-230},{-319,-280,-244,-308,-286,-274},{-255,-269,-249,-297,-305,-322},{-260,-336,-269,-286,-260,-249},{-305,-291,-224,-274,-314,-274},{-325,-263,-230,-333,-260,-252},{-330,-291,-249,-277,-283,-266},{-260,-336,-336,-244,-238,-260},{-328,-258,-244,-325,-286,-246},{-336,-297,-263,-302,-274,-277},{-297,-274,-333,-288,-235,-260},{-311,-235,-260,-294,-302,-230},{-280,-238,-266,-333,-269,-258},{-260,-288,-316,-244,-297,-283},{-286,-258,-316,-322,-286,-280},{-252,-246,-336,-283,-258,-235},{-300,-333,-249,-260,-286,-274},{-328,-232,-288,-224,-266,-286},{-224,-246,-244,-227,-316,-280},{-269,-311,-333,-286,-274,-238},{-336,-235,-328,-269,-325,-316},{-227,-305,-232,-272,-288,-291},{-227,-316,-235,-333,-286,-230}}},{{{-263,-227,-333,-269,-302,-336},{-294,-286,-274,-300,-316,-314},{-308,-230,-244,-319,-269,-258},{-277,-291,-244,-241,-294,-244},{-333,-294,-311,-297,-283,-325},{-269,-263,-269,-252,-283,-319},{-294,-314,-308,-241,-316,-305},{-280,-277,-238,-260,-314,-302},{-274,-300,-330,-314,-300,-330},{-322,-255,-333,-288,-291,-227},{-286,-244,-232,-235,-266,-241},{-274,-227,-238,-260,-263,-266},{-272,-269,-302,-297,-305,-286},{-235,-249,-333,-288,-328,-333},{-227,-255,-252,-314,-230,-322},{-258,-283,-330,-294,-302,-288},{-244,-272,-230,-246,-230,-252},{-235,-274,-238,-260,-319,-263},{-297,-255,-235,-302,-238,-316},{-314,-291,-294,-297,-305,-288},{-300,-235,-255,-224,-328,-319},{-241,-319,-325,-246,-300,-241},{-330,-316,-302,-280,-311,-238},{-328,-269,-328,-333,-272,-235},{-294,-280,-263,-286,-255,-272},{-235,-305,-333,-258,-311,-232},{-328,-246,-333,-283,-319,-244},{-269,-302,-252,-314,-227,-305},{-308,-336,-286,-230,-316,-316},{-230,-328,-249,-328,-252,-286},{-328,-232,-300,-227,-266,-302},{-322,-277,-291,-241,-308,-288},{-277,-325,-269,-319,-336,-333},{-252,-227,-260,-333,-305,-325},{-300,-249,-235,-224,-274,-333},{-272,-249,-305,-260,-325,-328},{-224,-316,-314,-280,-286,-286},{-227,-311,-328,-305,-300,-328},{-246,-224,-255,-266,-266,-288},{-330,-246,-241,-314,-330,-314},{-328,-227,-319,-277,-277,-333},{-258,-252,-230,-280,-314,-286},{-308,-308,-269,-272,-314,-241},{-280,-286,-316,-246,-269,-238},{-311,-227,-305,-325,-336,-280},{-330,-283,-258,-224,-300,-286},{-322,-330,-314,-325,-255,-286},{-266,-249,-280,-316,-230,-232},{-255,-269,-230,-322,-308,-235},{-288,-258,-230,-224,-255,-319}},{{-330,-305,-230,-227,-227,-305},{-336,-288,-336,-224,-277,-235},{-336,-238,-286,-227,-241,-258},{-260,-300,-333,-246,-260,-336},{-283,-297,-249,-316,-291,-291},{-232,-319,-311,-294,-314,-294},{-235,-283,-258,-325,-308,-286},{-328,-277,-330,-308,-249,-252},{-269,-314,-232,-330,-238,-241},{-300,-272,-328,-230,-311,-277},{-300,-325,-325,-316,-302,-291},{-238,-308,-288,-311,-227,-266},{-269,-241,-230,-330,-333,-294},{-288,-227,-274,-241,-263,-311},{-288,-330,-336,-283,-302,-311},{-336,-227,-314,-308,-235,-235},{-316,-314,-232,-277,-246,-316},{-266,-314,-333,-269,-235,-235},{-333,-246,-224,-325,-260,-291},{-308,-241,-252,-333,-244,-308},{-249,-235,-272,-244,-325,-235},{-297,-266,-288,-297,-263,-319},{-266,-336,-255,-238,-333,-238},{-305,-244,-311,-255,-325,-283},{-246,-316,-238,-319,-277,-249},{-328,-333,-227,-319,-277,-252},{-241,-280,-330,-232,-230,-322},{-272,-302,-280,-235,-235,-263},{-274,-238,-302,-258,-288,-294},{-255,-319,-283,-252,-272,-314},{-280,-241,-322,-330,-263,-227},{-255,-244,-260,-241,-305,-274},{-252,-258,-230,-224,-258,-224},{-238,-260,-249,-319,-286,-246},{-305,-308,-232,-319,-274,-272},{-336,-258,-277,-288,-263,-241},{-294,-294,-311,-297,-325,-238},{-328,-246,-330,-319,-286,-260},{-300,-252,-325,-319,-230,-286},{-291,-266,-314,-314,-333,-297},{-283,-246,-263,-322,-235,-255},{-255,-336,-325,-294,-316,-224},{-232,-336,-274,-255,-314,-255},{-260,-249,-288,-241,-263,-297},{-325,-277,-230,-328,-232,-224},{-227,-283,-311,-230,-283,-272},{-291,-283,-224,-288,-283,-328},{-322,-232,-244,-297,-328,-288},{-302,-260,-241,-274,-241,-316},{-274,-244,-241,-336,-258,-249}},{{-283,-297,-241,-263,-319,-235},{-308,-235,-280,-308,-252,-241},{-305,-235,-263,-235,-252,-308},{-302,-274,-316,-286,-291,-244},{-297,-274,-232,-294,-260,-288},{-308,-308,-241,-325,-288,-224},{-246,-230,-258,-302,-224,-322},{-300,-227,-224,-224,-291,-316},{-260,-288,-294,-266,-286,-277},{-263,-316,-336,-274,-235,-311},{-336,-283,-325,-311,-260,-280},{-235,-297,-314,-224,-297,-294},{-224,-249,-283,-288,-311,-288},{-286,-314,-328,-333,-325,-227},{-316,-288,-314,-305,-238,-246},{-266,-249,-328,-244,-328,-230},{-249,-241,-280,-294,-328,-305},{-252,-263,-235,-235,-305,-333},{-224,-336,-260,-322,-300,-252},{-255,-260,-294,-314,-272,-266},{-252,-272,-333,-252,-224,-316},{-308,-266,-260,-336,-272,-252},{-283,-300,-319,-328,-266,-224},{-308,-266,-319,-238,-286,-246},{-316,-232,-325,-244,-235,-246},{-224,-230,-269,-291,-255,-302},{-305,-235,-277,-258,-274,-224},{-330,-260,-249,-297,-252,-316},{-230,-308,-316,-314,-269,-224},{-260,-316,-232,-227,-235,-244},{-227,-333,-235,-258,-244,-336},{-286,-255,-283,-291,-232,-330},{-280,-319,-288,-300,-241,-280},{-277,-244,-255,-246,-266,-322},{-232,-286,-305,-325,-300,-286},{-272,-232,-232,-325,-305,-316},{-314,-224,-263,-319,-224,-230},{-277,-333,-272,-230,-244,-314},{-305,-230,-224,-224,-258,-269},{-227,-232,-277,-308,-328,-286},{-224,-260,-224,-283,-260,-255},{-305,-325,-260,-241,-230,-333},{-272,-230,-286,-319,-297,-249},{-238,-336,-274,-272,-311,-283},{-308,-255,-260,-308,-277,-319},{-230,-227,-283,-302,-258,-227},{-277,-252,-328,-255,-244,-227},{-235,-244,-255,-272,-230,-238},{-305,-241,-330,-249,-333,-258},{-333,-266,-302,-325,-333,-288}}}}; // 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]={7,4,3,7,4,3,8,4,3,6,3,2,6,3,2,5,3,2,7,4,3,7,4,3,8,4,3,7,4,3,7,4,3,8,4,3,7,4,3,8,4,3,8,4,3,8,4,3,8,4,3,7,4,3,8,4,3,8,4,3,8,4,3,8,4,3,8,5,3,9,4,3}; // 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}}; // set of shipments in each bid 
int SHsts[SPN]={1,3,5,7,9,11,13,0,4,8,12,2,8,14,1,3,5,7,9,11,13,2,6,10,14,1,7,13,0,2,4,6,8,10,12,14,2,6,10,14,2,8,14,0,2,4,6,8,10,0,4,8,2,8,1,3,5,7,9,11,1,5,9,1,7,2,4,6,8,10,2,6,10,2,8,2,4,6,8,10,12,14,2,6,10,14,1,7,13,2,4,6,8,10,12,14,2,6,10,14,2,8,14,0,2,4,6,8,10,12,14,0,4,8,12,2,8,14,2,4,6,8,10,12,14,0,4,8,12,2,8,14,2,4,6,8,10,12,14,0,4,8,12,1,7,13,1,3,5,7,9,11,13,15,1,5,9,13,0,6,12,2,4,6,8,10,12,14,1,5,9,13,1,7,13,0,2,4,6,8,10,12,14,2,6,10,14,1,7,13,0,2,4,6,8,10,12,14,0,4,8,12,1,7,13,0,2,4,6,8,10,12,14,0,4,8,12,1,7,13,0,2,4,6,8,10,12,14,0,4,8,12,2,8,14,1,3,5,7,9,11,13,0,4,8,12,2,8,14,1,3,5,7,9,11,13,15,2,6,10,14,0,6,12,0,2,4,6,8,10,12,14,0,4,8,12,2,8,14,0,2,4,6,8,10,12,14,2,6,10,14,1,7,13,2,4,6,8,10,12,14,16,2,6,10,14,0,6,12,2,4,6,8,10,12,14,16,0,4,8,12,16,1,7,13,0,2,4,6,8,10,12,14,16,2,6,10,14,1,7,13}; // set of start times of each shipment 
int SHets[SPN]={4,6,8,10,12,14,16,3,7,11,15,5,11,17,4,6,8,10,12,14,16,5,9,13,17,4,10,16,3,5,7,9,11,13,15,17,5,9,13,17,5,11,17,6,8,10,12,14,16,6,10,14,8,14,7,9,11,13,15,17,7,11,15,7,13,8,10,12,14,16,8,12,16,8,14,4,6,8,10,12,14,16,4,8,12,16,3,9,15,4,6,8,10,12,14,16,4,8,12,16,4,10,16,2,4,6,8,10,12,14,16,2,6,10,14,4,10,16,4,6,8,10,12,14,16,2,6,10,14,4,10,16,4,6,8,10,12,14,16,2,6,10,14,3,9,15,3,5,7,9,11,13,15,17,3,7,11,15,2,8,14,5,7,9,11,13,15,17,4,8,12,16,4,10,16,3,5,7,9,11,13,15,17,5,9,13,17,4,10,16,3,5,7,9,11,13,15,17,3,7,11,15,4,10,16,3,5,7,9,11,13,15,17,3,7,11,15,4,10,16,3,5,7,9,11,13,15,17,3,7,11,15,5,11,17,4,6,8,10,12,14,16,3,7,11,15,5,11,17,3,5,7,9,11,13,15,17,4,8,12,16,2,8,14,2,4,6,8,10,12,14,16,2,6,10,14,4,10,16,2,4,6,8,10,12,14,16,4,8,12,16,3,9,15,3,5,7,9,11,13,15,17,3,7,11,15,1,7,13,3,5,7,9,11,13,15,17,1,5,9,13,17,2,8,14,1,3,5,7,9,11,13,15,17,3,7,11,15,2,8,14}; // set of end times of each shipment 
