int Dev = 50;// Deviation
extern const int CNN = 1;// Case Index
extern const int P = 9;// Number of phases
extern const int PT = 6;// Number of periods in a phase
extern const int T = 54;// 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 = 1131;//Number of shipments
extern const int SN = 20;//Number of scenarios at each stage
extern const int MBSN = 27;//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},{0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05},{0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05},{0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,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,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},{36,37,38,39,40,41},{42,43,44,45,46,47},{48,49,50,51,52,53}}; // set of periods in each phase 
// distribution parameters: 
int sup[I][P][SN][PT]={{{{11875,0,0,0,0,0},{11708,0,0,0,0,0},{11368,0,0,0,0,0},{10428,0,0,0,0,0},{12073,0,0,0,0,0},{11459,0,0,0,0,0},{11487,0,0,0,0,0},{10909,0,0,0,0,0},{12728,0,0,0,0,0},{12021,0,0,0,0,0},{11578,0,0,0,0,0},{11825,0,0,0,0,0},{11364,0,0,0,0,0},{11488,0,0,0,0,0},{11581,0,0,0,0,0},{11396,0,0,0,0,0},{12148,0,0,0,0,0},{11772,0,0,0,0,0},{11819,0,0,0,0,0},{11178,0,0,0,0,0}},{{11890,0,0,0,0,0},{10739,0,0,0,0,0},{12527,0,0,0,0,0},{11923,0,0,0,0,0},{11469,0,0,0,0,0},{11688,0,0,0,0,0},{10875,0,0,0,0,0},{11430,0,0,0,0,0},{12264,0,0,0,0,0},{11026,0,0,0,0,0},{11266,0,0,0,0,0},{11835,0,0,0,0,0},{12768,0,0,0,0,0},{10921,0,0,0,0,0},{11659,0,0,0,0,0},{11496,0,0,0,0,0},{11895,0,0,0,0,0},{10836,0,0,0,0,0},{12042,0,0,0,0,0},{11546,0,0,0,0,0}},{{11298,0,0,0,0,0},{12643,0,0,0,0,0},{11212,0,0,0,0,0},{11411,0,0,0,0,0},{12310,0,0,0,0,0},{11552,0,0,0,0,0},{10737,0,0,0,0,0},{11359,0,0,0,0,0},{11469,0,0,0,0,0},{11993,0,0,0,0,0},{11682,0,0,0,0,0},{11469,0,0,0,0,0},{11814,0,0,0,0,0},{11967,0,0,0,0,0},{11689,0,0,0,0,0},{12419,0,0,0,0,0},{11329,0,0,0,0,0},{11501,0,0,0,0,0},{11757,0,0,0,0,0},{12057,0,0,0,0,0}},{{11649,0,0,0,0,0},{11285,0,0,0,0,0},{11910,0,0,0,0,0},{11571,0,0,0,0,0},{11690,0,0,0,0,0},{11443,0,0,0,0,0},{12086,0,0,0,0,0},{11427,0,0,0,0,0},{12194,0,0,0,0,0},{11183,0,0,0,0,0},{11537,0,0,0,0,0},{11790,0,0,0,0,0},{11210,0,0,0,0,0},{11142,0,0,0,0,0},{11085,0,0,0,0,0},{12031,0,0,0,0,0},{11979,0,0,0,0,0},{11221,0,0,0,0,0},{12116,0,0,0,0,0},{11112,0,0,0,0,0}},{{11436,0,0,0,0,0},{12199,0,0,0,0,0},{11271,0,0,0,0,0},{11711,0,0,0,0,0},{11175,0,0,0,0,0},{11637,0,0,0,0,0},{11352,0,0,0,0,0},{11333,0,0,0,0,0},{11670,0,0,0,0,0},{11386,0,0,0,0,0},{12036,0,0,0,0,0},{11991,0,0,0,0,0},{11912,0,0,0,0,0},{10215,0,0,0,0,0},{12127,0,0,0,0,0},{11893,0,0,0,0,0},{13248,0,0,0,0,0},{11820,0,0,0,0,0},{11559,0,0,0,0,0},{12176,0,0,0,0,0}},{{11923,0,0,0,0,0},{11411,0,0,0,0,0},{11162,0,0,0,0,0},{12293,0,0,0,0,0},{12206,0,0,0,0,0},{11622,0,0,0,0,0},{11849,0,0,0,0,0},{11895,0,0,0,0,0},{11453,0,0,0,0,0},{11090,0,0,0,0,0},{11638,0,0,0,0,0},{11859,0,0,0,0,0},{11322,0,0,0,0,0},{11283,0,0,0,0,0},{11958,0,0,0,0,0},{11096,0,0,0,0,0},{11263,0,0,0,0,0},{10714,0,0,0,0,0},{11567,0,0,0,0,0},{11181,0,0,0,0,0}},{{11676,0,0,0,0,0},{11359,0,0,0,0,0},{10827,0,0,0,0,0},{11903,0,0,0,0,0},{11150,0,0,0,0,0},{11709,0,0,0,0,0},{12033,0,0,0,0,0},{11107,0,0,0,0,0},{11825,0,0,0,0,0},{11151,0,0,0,0,0},{11090,0,0,0,0,0},{11644,0,0,0,0,0},{12265,0,0,0,0,0},{10718,0,0,0,0,0},{11960,0,0,0,0,0},{12149,0,0,0,0,0},{10904,0,0,0,0,0},{11082,0,0,0,0,0},{12072,0,0,0,0,0},{12222,0,0,0,0,0}},{{11826,0,0,0,0,0},{10699,0,0,0,0,0},{11389,0,0,0,0,0},{10835,0,0,0,0,0},{11774,0,0,0,0,0},{11391,0,0,0,0,0},{12633,0,0,0,0,0},{11256,0,0,0,0,0},{11090,0,0,0,0,0},{11216,0,0,0,0,0},{11958,0,0,0,0,0},{11913,0,0,0,0,0},{10702,0,0,0,0,0},{11943,0,0,0,0,0},{11479,0,0,0,0,0},{11474,0,0,0,0,0},{12297,0,0,0,0,0},{11233,0,0,0,0,0},{11558,0,0,0,0,0},{11248,0,0,0,0,0}},{{10999,0,0,0,0,0},{10819,0,0,0,0,0},{11302,0,0,0,0,0},{11760,0,0,0,0,0},{10693,0,0,0,0,0},{11164,0,0,0,0,0},{11887,0,0,0,0,0},{11544,0,0,0,0,0},{11762,0,0,0,0,0},{11746,0,0,0,0,0},{12013,0,0,0,0,0},{11041,0,0,0,0,0},{11574,0,0,0,0,0},{11832,0,0,0,0,0},{11314,0,0,0,0,0},{12113,0,0,0,0,0},{11346,0,0,0,0,0},{12957,0,0,0,0,0},{11540,0,0,0,0,0},{12099,0,0,0,0,0}}},{{{-134,-110,-185,-193,-128,-175},{-242,-229,-189,-207,-189,-282},{-181,-276,-238,-114,-199,-201},{-199,-300,-118,-254,-110,-158},{-284,-173,-106,-195,-132,-189},{-292,-211,-160,-126,-252,-274},{-260,-298,-162,-134,-164,-278},{-112,-195,-242,-150,-205,-244},{-262,-185,-181,-248,-128,-108},{-203,-278,-227,-124,-292,-154},{-213,-223,-189,-284,-266,-177},{-138,-262,-221,-240,-156,-229},{-146,-233,-211,-128,-304,-211},{-270,-173,-260,-278,-116,-134},{-256,-229,-187,-298,-274,-296},{-256,-179,-114,-268,-158,-296},{-168,-209,-278,-168,-179,-179},{-235,-114,-126,-140,-238,-203},{-199,-233,-154,-201,-154,-252},{-217,-110,-221,-195,-118,-215}},{{-250,-122,-166,-231,-181,-173},{-211,-240,-106,-207,-140,-252},{-171,-152,-282,-262,-152,-276},{-106,-300,-189,-276,-272,-173},{-191,-238,-225,-116,-231,-154},{-126,-207,-187,-290,-286,-225},{-146,-240,-124,-304,-233,-191},{-274,-146,-298,-209,-207,-270},{-158,-183,-238,-140,-223,-175},{-189,-215,-168,-199,-126,-270},{-168,-138,-128,-211,-288,-158},{-294,-286,-120,-150,-229,-242},{-223,-298,-160,-266,-268,-276},{-126,-260,-158,-128,-108,-152},{-266,-284,-102,-142,-126,-211},{-219,-266,-124,-304,-160,-150},{-242,-282,-266,-207,-244,-294},{-217,-250,-138,-120,-124,-225},{-124,-286,-229,-298,-304,-195},{-227,-142,-296,-296,-272,-110}},{{-162,-199,-225,-110,-106,-108},{-296,-148,-227,-300,-290,-244},{-150,-258,-292,-120,-221,-229},{-219,-215,-250,-246,-171,-302},{-179,-266,-132,-185,-258,-195},{-126,-211,-296,-276,-106,-268},{-154,-108,-254,-183,-166,-122},{-102,-209,-274,-187,-294,-160},{-104,-229,-130,-112,-290,-231},{-150,-274,-160,-298,-240,-227},{-116,-112,-175,-252,-132,-280},{-276,-217,-264,-120,-262,-260},{-304,-238,-166,-207,-290,-114},{-256,-195,-156,-284,-181,-252},{-258,-238,-294,-260,-181,-175},{-144,-175,-262,-248,-177,-244},{-272,-256,-189,-164,-304,-130},{-229,-126,-211,-104,-264,-266},{-187,-235,-209,-150,-187,-262},{-272,-256,-160,-270,-164,-231}},{{-300,-248,-110,-264,-168,-142},{-152,-114,-138,-278,-231,-168},{-223,-183,-164,-274,-193,-231},{-304,-256,-124,-132,-244,-268},{-177,-106,-248,-142,-302,-268},{-215,-195,-205,-276,-124,-213},{-300,-130,-215,-138,-215,-124},{-160,-126,-106,-276,-132,-262},{-290,-282,-280,-142,-183,-276},{-292,-130,-173,-134,-304,-219},{-296,-296,-252,-152,-144,-173},{-173,-233,-278,-207,-227,-160},{-278,-116,-154,-250,-302,-276},{-110,-233,-227,-233,-296,-209},{-235,-187,-164,-207,-193,-128},{-104,-254,-162,-238,-254,-140},{-158,-219,-134,-211,-240,-258},{-193,-173,-292,-152,-173,-203},{-166,-114,-189,-171,-116,-302},{-215,-138,-300,-205,-284,-290}},{{-274,-264,-177,-185,-296,-102},{-298,-191,-181,-211,-146,-246},{-260,-304,-242,-296,-183,-116},{-256,-260,-193,-183,-302,-166},{-294,-114,-195,-286,-132,-294},{-266,-238,-288,-162,-219,-256},{-164,-238,-152,-130,-242,-221},{-189,-108,-254,-122,-235,-276},{-148,-278,-217,-175,-181,-118},{-134,-270,-250,-162,-242,-201},{-270,-203,-268,-288,-168,-201},{-160,-173,-110,-168,-199,-260},{-298,-112,-252,-122,-284,-112},{-116,-122,-152,-286,-223,-215},{-116,-148,-168,-225,-290,-173},{-288,-183,-264,-296,-272,-150},{-286,-266,-302,-294,-191,-166},{-211,-195,-168,-185,-146,-177},{-282,-233,-177,-280,-252,-162},{-175,-160,-120,-193,-104,-298}},{{-122,-179,-116,-211,-152,-215},{-102,-108,-110,-248,-142,-219},{-270,-250,-294,-183,-110,-284},{-258,-248,-207,-152,-173,-294},{-213,-102,-246,-142,-280,-207},{-284,-256,-219,-242,-274,-294},{-270,-175,-213,-288,-142,-227},{-300,-104,-242,-152,-158,-256},{-278,-242,-114,-199,-225,-138},{-201,-102,-175,-276,-173,-250},{-211,-211,-118,-124,-195,-256},{-156,-278,-122,-140,-195,-246},{-191,-274,-171,-102,-240,-128},{-270,-244,-288,-260,-219,-162},{-110,-272,-148,-118,-189,-156},{-242,-221,-219,-116,-160,-173},{-104,-181,-294,-130,-201,-120},{-284,-177,-244,-114,-140,-278},{-233,-302,-286,-292,-288,-229},{-209,-140,-256,-108,-227,-134}},{{-201,-280,-304,-128,-144,-120},{-199,-148,-254,-302,-264,-258},{-122,-225,-136,-146,-231,-292},{-175,-296,-181,-272,-134,-132},{-280,-258,-215,-187,-288,-231},{-118,-229,-286,-152,-168,-302},{-102,-203,-152,-270,-191,-227},{-282,-136,-114,-244,-142,-274},{-240,-203,-195,-298,-209,-130},{-148,-132,-185,-173,-266,-235},{-229,-292,-179,-195,-136,-219},{-195,-112,-126,-122,-240,-195},{-282,-205,-140,-195,-116,-189},{-126,-156,-284,-120,-134,-102},{-233,-189,-292,-120,-223,-179},{-207,-272,-290,-112,-154,-225},{-282,-223,-189,-164,-128,-116},{-110,-233,-150,-134,-199,-148},{-282,-219,-201,-207,-108,-191},{-248,-233,-225,-266,-244,-207}},{{-290,-227,-256,-171,-292,-266},{-142,-233,-227,-108,-231,-128},{-274,-268,-276,-162,-278,-258},{-164,-116,-209,-233,-104,-235},{-215,-284,-274,-254,-238,-104},{-152,-146,-112,-254,-152,-102},{-187,-221,-246,-130,-266,-154},{-229,-254,-296,-250,-114,-286},{-150,-248,-270,-138,-164,-152},{-160,-150,-142,-296,-211,-302},{-185,-130,-233,-242,-193,-116},{-158,-114,-201,-102,-195,-292},{-102,-229,-134,-227,-116,-221},{-292,-264,-238,-154,-240,-282},{-207,-102,-266,-290,-201,-219},{-205,-229,-284,-250,-211,-164},{-142,-207,-203,-185,-195,-242},{-185,-248,-193,-150,-248,-156},{-246,-108,-268,-260,-154,-302},{-120,-197,-199,-106,-118,-244}},{{-142,-108,-272,-195,-207,-114},{-166,-242,-173,-148,-110,-122},{-223,-252,-227,-146,-104,-201},{-138,-304,-175,-221,-250,-280},{-229,-284,-183,-124,-298,-266},{-231,-102,-294,-108,-120,-146},{-276,-118,-195,-150,-296,-189},{-173,-215,-221,-164,-187,-302},{-270,-195,-231,-240,-302,-294},{-162,-106,-213,-302,-296,-171},{-211,-124,-280,-162,-248,-215},{-116,-106,-191,-288,-240,-223},{-108,-229,-187,-268,-294,-154},{-233,-280,-144,-164,-207,-209},{-294,-229,-280,-260,-258,-166},{-136,-154,-292,-233,-104,-256},{-195,-118,-272,-248,-235,-136},{-189,-235,-290,-244,-205,-166},{-298,-274,-193,-195,-114,-227},{-158,-272,-288,-296,-187,-221}}},{{{-235,-192,-93,-166,-235,-174},{-175,-208,-116,-208,-124,-224},{-204,-156,-193,-151,-101,-238},{-93,-147,-140,-137,-182,-93},{-235,-196,-82,-171,-135,-119},{-147,-100,-103,-229,-238,-105},{-229,-143,-172,-135,-230,-85},{-153,-138,-100,-200,-174,-118},{-216,-101,-114,-179,-182,-145},{-192,-106,-90,-166,-135,-175},{-225,-106,-103,-224,-127,-208},{-166,-237,-182,-237,-222,-148},{-166,-237,-156,-92,-209,-132},{-169,-161,-166,-214,-166,-109},{-101,-148,-229,-140,-103,-204},{-150,-126,-118,-171,-129,-105},{-169,-225,-203,-237,-224,-101},{-201,-109,-143,-147,-155,-164},{-195,-214,-132,-211,-203,-167},{-174,-105,-126,-179,-216,-208}},{{-174,-109,-227,-129,-137,-159},{-147,-95,-174,-87,-171,-109},{-180,-198,-113,-92,-156,-171},{-103,-113,-242,-217,-156,-206},{-109,-126,-89,-206,-135,-103},{-100,-195,-98,-193,-147,-233},{-227,-208,-140,-111,-121,-105},{-198,-195,-237,-206,-87,-175},{-106,-153,-200,-156,-224,-155},{-161,-209,-108,-89,-84,-229},{-118,-225,-151,-109,-134,-217},{-201,-106,-232,-185,-134,-89},{-204,-137,-103,-204,-153,-166},{-97,-130,-230,-116,-238,-93},{-92,-80,-111,-137,-148,-225},{-175,-190,-92,-200,-153,-229},{-161,-190,-130,-124,-158,-195},{-161,-122,-100,-122,-235,-198},{-140,-230,-188,-201,-209,-85},{-188,-238,-201,-92,-97,-93}},{{-100,-185,-132,-116,-209,-238},{-132,-242,-216,-158,-109,-195},{-188,-84,-147,-235,-150,-192},{-130,-137,-127,-130,-84,-89},{-217,-237,-164,-198,-134,-101},{-158,-230,-95,-153,-135,-142},{-227,-90,-109,-100,-89,-109},{-126,-206,-147,-229,-163,-130},{-179,-229,-159,-101,-179,-90},{-206,-121,-159,-161,-155,-90},{-213,-153,-172,-217,-150,-221},{-118,-135,-148,-122,-122,-147},{-201,-238,-222,-177,-119,-87},{-211,-180,-190,-171,-193,-82},{-167,-216,-211,-109,-180,-84},{-240,-166,-151,-193,-179,-90},{-148,-208,-164,-80,-192,-166},{-97,-121,-192,-230,-85,-184},{-122,-100,-105,-109,-145,-132},{-217,-227,-190,-130,-114,-158}},{{-142,-237,-216,-134,-106,-126},{-129,-135,-216,-156,-208,-175},{-84,-213,-122,-235,-132,-103},{-214,-158,-242,-214,-227,-188},{-87,-150,-196,-109,-167,-100},{-177,-187,-175,-130,-95,-90},{-219,-216,-121,-188,-179,-142},{-106,-132,-124,-122,-177,-230},{-198,-100,-217,-87,-177,-172},{-232,-122,-109,-222,-159,-80},{-192,-97,-90,-147,-171,-227},{-105,-227,-200,-208,-166,-93},{-90,-213,-100,-187,-180,-126},{-190,-114,-217,-155,-219,-169},{-242,-167,-225,-235,-106,-108},{-103,-195,-237,-148,-148,-90},{-242,-224,-187,-98,-127,-229},{-166,-105,-161,-87,-221,-145},{-118,-193,-180,-229,-148,-221},{-127,-151,-132,-80,-84,-187}},{{-169,-80,-175,-124,-85,-100},{-233,-211,-150,-237,-87,-163},{-196,-118,-172,-122,-135,-174},{-95,-227,-225,-180,-138,-87},{-108,-82,-80,-190,-216,-148},{-177,-193,-95,-127,-169,-169},{-214,-188,-182,-116,-124,-119},{-101,-190,-232,-82,-201,-232},{-167,-192,-182,-208,-230,-217},{-174,-225,-105,-143,-198,-204},{-196,-134,-132,-229,-143,-163},{-206,-195,-137,-237,-153,-163},{-137,-135,-224,-135,-92,-155},{-114,-95,-140,-84,-225,-92},{-98,-148,-208,-90,-116,-114},{-135,-137,-138,-221,-119,-180},{-233,-208,-221,-124,-153,-242},{-233,-127,-200,-161,-238,-129},{-193,-233,-182,-113,-238,-187},{-240,-118,-129,-196,-206,-209}},{{-89,-232,-219,-229,-169,-126},{-164,-233,-150,-193,-219,-113},{-171,-122,-143,-233,-140,-229},{-187,-156,-203,-159,-93,-140},{-206,-229,-80,-106,-101,-177},{-177,-155,-97,-175,-156,-214},{-119,-145,-159,-85,-237,-89},{-143,-158,-90,-200,-187,-240},{-151,-93,-101,-145,-184,-82},{-113,-188,-85,-158,-130,-137},{-238,-235,-85,-216,-126,-233},{-100,-211,-137,-203,-155,-225},{-114,-122,-98,-237,-184,-108},{-166,-90,-106,-140,-150,-95},{-111,-93,-118,-198,-122,-172},{-233,-97,-208,-108,-193,-132},{-119,-172,-206,-164,-151,-216},{-221,-142,-188,-82,-171,-235},{-114,-237,-167,-206,-179,-159},{-87,-219,-95,-222,-227,-118}},{{-151,-148,-95,-101,-217,-198},{-163,-122,-95,-92,-235,-177},{-129,-175,-158,-90,-163,-169},{-97,-97,-98,-180,-217,-242},{-155,-122,-225,-216,-101,-177},{-169,-211,-97,-188,-100,-167},{-137,-103,-163,-185,-214,-147},{-151,-206,-95,-196,-140,-229},{-206,-148,-185,-229,-184,-147},{-80,-169,-192,-80,-142,-171},{-166,-167,-240,-242,-211,-208},{-217,-196,-216,-200,-151,-169},{-155,-242,-204,-188,-198,-240},{-121,-147,-166,-114,-224,-216},{-95,-132,-90,-140,-155,-224},{-209,-98,-153,-92,-233,-132},{-118,-193,-93,-105,-119,-175},{-169,-143,-169,-140,-227,-235},{-195,-143,-179,-105,-200,-179},{-230,-209,-185,-129,-155,-203}},{{-208,-217,-126,-187,-227,-171},{-151,-100,-122,-113,-95,-130},{-200,-232,-209,-193,-116,-100},{-192,-90,-159,-158,-150,-214},{-113,-214,-200,-163,-180,-113},{-200,-148,-221,-129,-217,-224},{-232,-113,-143,-166,-221,-219},{-163,-114,-130,-138,-114,-130},{-174,-148,-232,-145,-180,-124},{-204,-198,-201,-85,-169,-235},{-213,-111,-92,-134,-179,-124},{-138,-135,-211,-185,-137,-206},{-132,-174,-221,-203,-95,-103},{-150,-134,-114,-98,-84,-87},{-192,-221,-193,-127,-200,-158},{-122,-190,-179,-204,-187,-121},{-209,-219,-224,-193,-148,-167},{-213,-121,-163,-182,-213,-229},{-169,-237,-93,-95,-195,-116},{-140,-195,-142,-177,-195,-109}},{{-216,-84,-179,-113,-118,-233},{-140,-169,-182,-90,-148,-195},{-90,-103,-124,-106,-214,-103},{-232,-150,-200,-195,-174,-150},{-118,-124,-169,-109,-227,-213},{-240,-169,-185,-225,-137,-233},{-187,-224,-217,-166,-129,-142},{-232,-90,-147,-147,-204,-122},{-179,-166,-237,-151,-87,-159},{-116,-216,-142,-233,-240,-206},{-119,-182,-206,-82,-200,-111},{-201,-122,-171,-161,-158,-151},{-229,-225,-82,-129,-105,-87},{-219,-185,-174,-92,-203,-159},{-132,-147,-184,-101,-216,-238},{-219,-200,-105,-187,-206,-201},{-164,-169,-188,-219,-109,-135},{-118,-192,-204,-190,-213,-185},{-229,-111,-95,-221,-126,-84},{-177,-217,-184,-111,-156,-171}}},{{{-201,-261,-171,-192,-314,-280},{-203,-344,-171,-333,-213,-273},{-303,-229,-319,-319,-224,-155},{-173,-127,-176,-152,-305,-120},{-284,-171,-210,-303,-208,-333},{-254,-307,-261,-333,-330,-296},{-178,-210,-222,-293,-180,-296},{-122,-289,-280,-321,-243,-333},{-326,-333,-245,-178,-307,-213},{-187,-270,-275,-208,-312,-236},{-233,-268,-146,-222,-118,-208},{-162,-166,-185,-323,-210,-245},{-182,-152,-203,-141,-215,-127},{-213,-275,-249,-310,-182,-219},{-162,-307,-159,-268,-312,-118},{-118,-122,-233,-273,-263,-226},{-280,-252,-270,-344,-206,-199},{-217,-249,-210,-337,-256,-134},{-344,-222,-346,-134,-173,-307},{-266,-289,-185,-187,-344,-152}},{{-298,-268,-282,-203,-261,-219},{-256,-132,-148,-169,-150,-150},{-342,-249,-293,-182,-143,-178},{-187,-206,-254,-270,-215,-298},{-213,-263,-249,-254,-162,-346},{-210,-254,-224,-310,-141,-162},{-219,-187,-196,-146,-120,-303},{-249,-146,-273,-118,-231,-256},{-323,-282,-319,-330,-303,-346},{-210,-303,-213,-164,-148,-256},{-155,-247,-169,-201,-293,-178},{-152,-247,-319,-344,-335,-233},{-310,-240,-236,-316,-245,-259},{-330,-268,-134,-176,-268,-136},{-136,-305,-125,-201,-286,-189},{-233,-263,-162,-116,-159,-307},{-231,-335,-178,-261,-312,-323},{-222,-286,-141,-143,-125,-194},{-162,-286,-273,-312,-326,-249},{-330,-152,-176,-229,-132,-171}},{{-337,-323,-319,-206,-176,-342},{-173,-171,-284,-182,-344,-178},{-169,-277,-270,-199,-326,-240},{-189,-263,-238,-143,-164,-166},{-307,-166,-333,-300,-321,-171},{-210,-333,-132,-224,-346,-215},{-245,-157,-323,-254,-319,-314},{-323,-296,-159,-208,-148,-148},{-215,-330,-337,-155,-152,-316},{-247,-303,-224,-238,-141,-346},{-273,-236,-210,-261,-346,-319},{-139,-217,-210,-155,-245,-224},{-166,-146,-162,-284,-196,-259},{-280,-141,-136,-316,-240,-326},{-155,-127,-146,-296,-159,-196},{-222,-139,-307,-280,-203,-238},{-129,-247,-330,-132,-289,-342},{-282,-252,-118,-159,-148,-229},{-164,-289,-224,-293,-291,-132},{-213,-132,-249,-127,-157,-247}},{{-263,-333,-233,-159,-340,-215},{-282,-305,-208,-333,-323,-120},{-321,-249,-291,-259,-127,-226},{-245,-280,-286,-280,-155,-206},{-236,-254,-340,-118,-157,-273},{-310,-259,-148,-316,-296,-231},{-284,-261,-282,-233,-162,-333},{-166,-335,-344,-159,-192,-182},{-213,-289,-152,-273,-150,-152},{-157,-152,-286,-185,-187,-224},{-206,-199,-328,-199,-141,-245},{-134,-340,-275,-298,-344,-293},{-326,-323,-125,-215,-166,-219},{-150,-129,-282,-143,-268,-277},{-289,-125,-310,-229,-134,-152},{-148,-314,-284,-150,-296,-321},{-222,-182,-215,-192,-303,-254},{-171,-310,-173,-344,-342,-342},{-333,-236,-169,-201,-270,-326},{-187,-300,-164,-155,-217,-224}},{{-259,-252,-245,-122,-277,-196},{-169,-141,-266,-178,-266,-150},{-249,-224,-275,-187,-215,-305},{-303,-291,-122,-127,-273,-169},{-189,-127,-182,-321,-323,-192},{-240,-162,-254,-208,-300,-284},{-256,-139,-185,-316,-238,-129},{-319,-196,-330,-166,-192,-136},{-146,-328,-127,-337,-187,-346},{-173,-247,-247,-238,-159,-213},{-231,-268,-141,-266,-312,-226},{-206,-180,-192,-335,-252,-182},{-270,-245,-224,-171,-270,-219},{-187,-143,-215,-346,-282,-275},{-171,-171,-148,-346,-208,-268},{-159,-118,-289,-162,-249,-226},{-215,-238,-256,-323,-208,-328},{-335,-139,-321,-152,-215,-312},{-298,-293,-136,-203,-236,-266},{-206,-226,-238,-310,-266,-176}},{{-187,-270,-296,-249,-178,-222},{-326,-346,-125,-173,-141,-245},{-122,-226,-166,-300,-291,-296},{-333,-233,-146,-187,-224,-280},{-326,-249,-224,-307,-233,-231},{-173,-259,-238,-316,-270,-344},{-203,-180,-143,-155,-289,-199},{-178,-333,-268,-180,-171,-217},{-303,-238,-319,-326,-261,-303},{-180,-176,-277,-296,-196,-326},{-116,-249,-275,-300,-125,-277},{-280,-340,-266,-328,-199,-189},{-277,-249,-284,-342,-236,-275},{-178,-328,-270,-219,-247,-118},{-178,-173,-245,-226,-280,-196},{-210,-122,-300,-136,-289,-296},{-201,-132,-196,-280,-316,-233},{-224,-134,-141,-187,-305,-238},{-229,-189,-296,-116,-143,-203},{-125,-335,-141,-152,-206,-236}},{{-289,-310,-132,-217,-182,-307},{-240,-169,-252,-150,-342,-286},{-143,-143,-226,-118,-148,-342},{-326,-162,-328,-178,-328,-268},{-201,-259,-134,-141,-247,-229},{-291,-185,-296,-125,-180,-263},{-164,-303,-155,-252,-300,-249},{-247,-196,-312,-164,-326,-215},{-213,-189,-268,-127,-273,-280},{-293,-122,-171,-249,-231,-122},{-122,-252,-340,-143,-189,-169},{-342,-215,-148,-132,-291,-231},{-169,-169,-319,-323,-141,-217},{-316,-176,-182,-270,-206,-282},{-252,-157,-129,-316,-307,-141},{-314,-326,-314,-273,-122,-328},{-249,-141,-171,-132,-238,-146},{-243,-166,-316,-275,-238,-314},{-236,-319,-330,-129,-203,-323},{-155,-282,-249,-143,-136,-217}},{{-333,-330,-303,-229,-148,-247},{-125,-337,-206,-245,-166,-166},{-162,-245,-219,-143,-189,-176},{-155,-222,-159,-166,-196,-162},{-185,-335,-210,-229,-118,-224},{-141,-129,-273,-152,-201,-206},{-284,-134,-335,-293,-256,-189},{-141,-300,-273,-333,-164,-240},{-150,-155,-245,-252,-222,-333},{-192,-245,-316,-300,-199,-150},{-259,-314,-217,-266,-346,-213},{-277,-180,-312,-143,-157,-231},{-125,-132,-139,-226,-129,-127},{-189,-266,-323,-249,-316,-196},{-229,-300,-148,-240,-312,-219},{-286,-319,-254,-259,-122,-129},{-139,-120,-249,-266,-189,-247},{-346,-233,-201,-189,-173,-303},{-316,-210,-247,-143,-229,-208},{-307,-132,-277,-229,-282,-213}},{{-256,-176,-162,-182,-192,-307},{-266,-219,-118,-139,-303,-305},{-164,-337,-157,-333,-256,-256},{-298,-270,-238,-187,-152,-240},{-238,-273,-173,-249,-233,-243},{-243,-296,-270,-233,-155,-243},{-261,-238,-219,-312,-326,-173},{-284,-277,-199,-266,-275,-342},{-222,-273,-328,-249,-162,-148},{-180,-330,-249,-120,-256,-141},{-182,-254,-166,-164,-289,-321},{-323,-189,-240,-141,-120,-259},{-178,-233,-335,-333,-134,-240},{-243,-337,-270,-176,-182,-164},{-259,-132,-328,-289,-187,-256},{-233,-268,-275,-162,-210,-132},{-152,-185,-247,-266,-236,-201},{-268,-226,-291,-152,-143,-310},{-303,-310,-330,-164,-266,-118},{-291,-206,-236,-182,-116,-185}}},{{{-137,-293,-250,-113,-200,-115},{-293,-122,-247,-169,-252,-260},{-113,-241,-195,-204,-148,-108},{-165,-150,-137,-200,-304,-128},{-239,-304,-145,-245,-226,-295},{-243,-304,-226,-297,-169,-143},{-130,-243,-189,-304,-137,-187},{-204,-193,-187,-195,-315,-269},{-174,-247,-174,-295,-250,-224},{-286,-239,-256,-230,-319,-319},{-260,-111,-202,-289,-265,-167},{-174,-256,-234,-111,-312,-319},{-208,-315,-273,-137,-202,-254},{-254,-171,-321,-126,-217,-263},{-221,-111,-189,-217,-224,-286},{-193,-258,-239,-265,-263,-226},{-302,-148,-135,-243,-128,-258},{-184,-137,-304,-302,-206,-232},{-302,-145,-228,-108,-267,-210},{-215,-282,-182,-200,-119,-217}},{{-323,-206,-143,-215,-122,-250},{-158,-115,-234,-143,-267,-224},{-269,-297,-174,-226,-241,-237},{-132,-310,-260,-169,-200,-239},{-143,-158,-278,-224,-265,-308},{-130,-180,-304,-200,-289,-139},{-180,-299,-282,-145,-135,-234},{-254,-260,-108,-312,-154,-182},{-230,-245,-169,-184,-171,-197},{-163,-217,-119,-252,-260,-122},{-317,-184,-297,-158,-137,-232},{-135,-221,-319,-193,-217,-119},{-206,-317,-197,-304,-204,-224},{-143,-171,-267,-130,-226,-323},{-326,-308,-326,-143,-267,-171},{-152,-176,-232,-319,-258,-143},{-321,-208,-108,-165,-241,-271},{-176,-291,-161,-150,-197,-161},{-163,-284,-326,-293,-271,-143},{-260,-224,-308,-239,-282,-178}},{{-128,-237,-239,-228,-239,-299},{-161,-299,-321,-241,-276,-150},{-156,-234,-171,-184,-174,-202},{-132,-167,-315,-286,-174,-326},{-289,-293,-145,-187,-191,-323},{-280,-210,-312,-122,-150,-263},{-141,-191,-302,-197,-213,-141},{-258,-208,-187,-163,-171,-119},{-124,-154,-139,-128,-258,-189},{-254,-189,-260,-200,-304,-308},{-169,-245,-234,-263,-217,-269},{-215,-217,-317,-174,-115,-260},{-139,-176,-219,-139,-291,-239},{-154,-245,-180,-171,-204,-243},{-297,-254,-217,-176,-269,-174},{-187,-271,-263,-321,-319,-189},{-182,-130,-310,-124,-143,-202},{-234,-256,-280,-243,-137,-217},{-256,-284,-139,-217,-115,-163},{-193,-217,-132,-132,-197,-145}},{{-282,-232,-319,-174,-263,-145},{-247,-297,-197,-184,-113,-276},{-111,-297,-191,-326,-271,-267},{-111,-215,-108,-135,-297,-206},{-165,-226,-150,-286,-111,-228},{-182,-156,-291,-165,-263,-117},{-250,-174,-250,-317,-302,-250},{-158,-284,-234,-243,-180,-317},{-117,-271,-187,-128,-267,-206},{-245,-308,-148,-152,-317,-119},{-317,-115,-117,-221,-289,-269},{-291,-312,-122,-310,-158,-267},{-241,-119,-108,-132,-200,-273},{-165,-317,-232,-230,-139,-158},{-130,-215,-163,-280,-210,-237},{-217,-224,-191,-156,-167,-206},{-293,-310,-273,-280,-273,-165},{-245,-193,-254,-306,-165,-154},{-263,-323,-221,-299,-115,-267},{-135,-221,-230,-247,-210,-182}},{{-119,-152,-284,-312,-237,-299},{-137,-304,-273,-187,-245,-276},{-234,-228,-143,-113,-219,-165},{-165,-260,-169,-126,-195,-228},{-289,-180,-115,-286,-117,-265},{-115,-152,-171,-210,-245,-122},{-286,-132,-165,-269,-289,-230},{-139,-156,-260,-317,-132,-202},{-273,-326,-137,-232,-167,-317},{-297,-111,-178,-237,-171,-158},{-191,-204,-115,-234,-132,-219},{-130,-124,-169,-152,-232,-193},{-130,-319,-243,-200,-271,-293},{-284,-122,-154,-132,-158,-141},{-315,-278,-143,-234,-139,-191},{-323,-154,-323,-204,-213,-273},{-200,-260,-306,-150,-113,-252},{-215,-126,-156,-137,-180,-263},{-124,-115,-276,-315,-113,-295},{-245,-308,-189,-306,-189,-167}},{{-310,-284,-154,-276,-241,-221},{-161,-111,-137,-187,-284,-137},{-108,-169,-243,-139,-108,-269},{-132,-310,-228,-286,-237,-312},{-113,-247,-315,-119,-284,-265},{-197,-293,-208,-241,-169,-197},{-291,-269,-176,-299,-321,-221},{-152,-195,-226,-228,-169,-206},{-267,-226,-171,-286,-137,-273},{-126,-245,-189,-282,-326,-282},{-243,-132,-247,-169,-143,-237},{-256,-256,-241,-299,-117,-167},{-206,-202,-145,-215,-217,-169},{-174,-132,-143,-254,-280,-237},{-291,-308,-321,-122,-260,-224},{-219,-169,-250,-237,-210,-108},{-167,-282,-315,-234,-200,-206},{-291,-269,-204,-215,-323,-165},{-228,-111,-304,-115,-135,-302},{-132,-219,-250,-130,-128,-306}},{{-132,-152,-234,-289,-161,-326},{-119,-184,-265,-163,-204,-202},{-258,-111,-278,-234,-267,-326},{-308,-113,-122,-119,-126,-295},{-200,-145,-243,-145,-265,-271},{-141,-302,-295,-317,-152,-239},{-139,-124,-250,-310,-308,-182},{-308,-132,-237,-182,-191,-215},{-132,-252,-317,-215,-180,-132},{-312,-312,-137,-221,-326,-126},{-224,-226,-111,-269,-169,-252},{-126,-291,-115,-200,-174,-184},{-282,-195,-273,-232,-282,-124},{-321,-111,-176,-135,-260,-234},{-319,-260,-115,-269,-145,-180},{-321,-269,-293,-141,-286,-130},{-132,-269,-208,-269,-135,-269},{-141,-310,-111,-141,-228,-219},{-252,-189,-113,-250,-280,-284},{-182,-169,-215,-154,-263,-193}},{{-210,-158,-126,-124,-224,-189},{-276,-210,-254,-256,-256,-312},{-150,-189,-167,-315,-178,-130},{-213,-180,-267,-289,-117,-224},{-271,-258,-247,-260,-260,-156},{-291,-200,-252,-265,-247,-130},{-293,-174,-297,-308,-317,-202},{-169,-221,-213,-130,-276,-293},{-237,-217,-165,-135,-165,-326},{-213,-139,-154,-286,-217,-237},{-317,-178,-111,-267,-226,-200},{-228,-304,-267,-280,-306,-226},{-267,-126,-167,-163,-286,-150},{-269,-315,-250,-256,-263,-250},{-289,-154,-137,-241,-182,-156},{-269,-148,-197,-284,-232,-219},{-280,-269,-228,-224,-276,-215},{-115,-119,-284,-254,-293,-228},{-200,-310,-241,-250,-108,-239},{-232,-321,-135,-180,-267,-271}},{{-241,-245,-299,-243,-158,-217},{-208,-210,-122,-169,-156,-184},{-299,-115,-263,-139,-278,-312},{-269,-237,-150,-263,-180,-317},{-197,-117,-115,-269,-312,-139},{-156,-113,-219,-221,-154,-254},{-143,-108,-167,-237,-256,-189},{-122,-291,-163,-158,-119,-221},{-265,-208,-247,-152,-263,-143},{-128,-187,-156,-130,-154,-213},{-195,-187,-115,-197,-297,-195},{-130,-152,-191,-139,-286,-265},{-145,-141,-180,-273,-156,-254},{-245,-154,-145,-139,-250,-280},{-245,-258,-135,-256,-126,-124},{-232,-312,-310,-319,-108,-230},{-317,-228,-252,-304,-108,-247},{-139,-206,-184,-193,-215,-312},{-312,-276,-306,-221,-111,-234},{-315,-219,-208,-204,-208,-228}}},{{{-269,-319,-194,-277,-210,-231},{-346,-306,-295,-242,-231,-258},{-197,-285,-189,-340,-364,-314},{-192,-359,-231,-266,-197,-332},{-258,-325,-359,-213,-184,-359},{-255,-301,-293,-221,-239,-194},{-362,-226,-375,-327,-277,-399},{-184,-378,-181,-133,-356,-141},{-391,-242,-136,-141,-340,-391},{-197,-338,-303,-327,-271,-362},{-263,-359,-178,-247,-346,-152},{-293,-269,-335,-178,-364,-141},{-152,-178,-207,-223,-394,-370},{-327,-391,-138,-237,-386,-383},{-223,-317,-388,-184,-231,-309},{-378,-282,-380,-399,-319,-136},{-293,-346,-269,-223,-338,-319},{-173,-215,-218,-293,-298,-346},{-364,-184,-207,-303,-234,-319},{-274,-279,-189,-362,-213,-192}},{{-338,-162,-332,-335,-394,-279},{-327,-364,-378,-229,-234,-184},{-394,-354,-375,-298,-309,-245},{-343,-141,-388,-170,-319,-330},{-311,-234,-231,-394,-205,-370},{-146,-144,-170,-239,-394,-303},{-133,-152,-221,-189,-237,-322},{-340,-242,-178,-207,-162,-388},{-303,-322,-351,-293,-239,-176},{-301,-314,-207,-346,-170,-330},{-391,-194,-351,-261,-319,-348},{-378,-279,-205,-261,-213,-378},{-356,-293,-367,-176,-394,-266},{-295,-338,-277,-138,-176,-346},{-253,-247,-269,-223,-287,-356},{-234,-261,-354,-309,-245,-178},{-136,-396,-263,-340,-239,-207},{-239,-223,-340,-343,-213,-383},{-189,-218,-165,-295,-221,-213},{-215,-138,-239,-250,-146,-306}},{{-375,-285,-160,-154,-234,-176},{-348,-247,-229,-325,-144,-207},{-245,-351,-144,-338,-327,-277},{-210,-200,-362,-229,-189,-325},{-380,-149,-327,-399,-343,-338},{-189,-343,-197,-383,-165,-136},{-253,-263,-388,-274,-269,-138},{-378,-306,-378,-306,-133,-311},{-290,-335,-380,-282,-247,-388},{-200,-351,-258,-218,-290,-330},{-202,-200,-306,-165,-160,-317},{-375,-335,-226,-245,-309,-202},{-138,-351,-383,-154,-213,-386},{-330,-348,-370,-205,-261,-133},{-383,-192,-388,-319,-327,-295},{-197,-173,-186,-168,-255,-325},{-301,-394,-266,-287,-332,-144},{-370,-370,-144,-170,-332,-362},{-266,-340,-386,-282,-266,-359},{-362,-351,-200,-303,-295,-332}},{{-303,-194,-293,-184,-200,-380},{-197,-335,-301,-380,-242,-178},{-234,-356,-247,-293,-258,-367},{-306,-189,-332,-295,-157,-210},{-317,-306,-295,-242,-178,-210},{-282,-138,-338,-269,-213,-356},{-258,-319,-285,-162,-332,-207},{-386,-346,-149,-303,-330,-144},{-189,-394,-388,-348,-343,-231},{-386,-367,-234,-189,-396,-152},{-245,-239,-165,-311,-348,-279},{-269,-237,-133,-146,-295,-197},{-253,-138,-213,-160,-178,-311},{-309,-343,-332,-301,-210,-359},{-242,-245,-202,-338,-176,-343},{-293,-250,-247,-202,-396,-189},{-239,-359,-386,-343,-181,-221},{-386,-194,-237,-372,-375,-239},{-367,-271,-200,-266,-391,-386},{-269,-213,-181,-263,-221,-239}},{{-170,-293,-364,-213,-223,-293},{-181,-317,-271,-348,-317,-258},{-213,-200,-213,-146,-253,-247},{-380,-170,-327,-173,-378,-200},{-295,-184,-181,-343,-317,-380},{-330,-178,-340,-247,-372,-205},{-380,-149,-176,-322,-303,-388},{-213,-184,-162,-168,-263,-184},{-301,-285,-354,-178,-282,-210},{-192,-263,-287,-277,-285,-210},{-364,-258,-184,-332,-348,-375},{-287,-386,-399,-178,-343,-332},{-372,-165,-234,-399,-170,-282},{-295,-152,-263,-144,-200,-383},{-218,-394,-303,-348,-351,-274},{-146,-237,-266,-138,-391,-380},{-298,-234,-396,-343,-340,-231},{-396,-378,-378,-335,-218,-290},{-330,-194,-168,-266,-253,-319},{-269,-152,-298,-354,-319,-386}},{{-322,-215,-261,-348,-346,-242},{-370,-386,-168,-189,-231,-192},{-348,-372,-181,-181,-205,-383},{-202,-399,-237,-247,-282,-391},{-399,-364,-144,-301,-396,-207},{-351,-354,-356,-176,-223,-194},{-141,-266,-136,-375,-386,-372},{-160,-322,-327,-223,-178,-309},{-200,-223,-359,-370,-160,-250},{-375,-210,-144,-383,-168,-338},{-239,-285,-231,-176,-293,-144},{-258,-218,-367,-378,-346,-335},{-152,-332,-314,-258,-269,-192},{-269,-388,-160,-133,-330,-178},{-383,-325,-364,-301,-372,-239},{-338,-146,-348,-274,-146,-309},{-146,-279,-229,-322,-367,-194},{-154,-279,-133,-192,-271,-173},{-231,-340,-354,-279,-255,-282},{-343,-301,-325,-255,-242,-253}},{{-391,-247,-348,-386,-370,-154},{-178,-335,-269,-234,-335,-394},{-231,-136,-170,-144,-189,-386},{-173,-346,-165,-327,-362,-375},{-197,-173,-170,-338,-290,-309},{-295,-234,-133,-351,-354,-245},{-229,-317,-359,-309,-133,-367},{-383,-223,-311,-263,-154,-399},{-274,-364,-301,-362,-181,-346},{-176,-221,-165,-165,-330,-314},{-261,-234,-231,-141,-266,-255},{-194,-314,-274,-375,-330,-136},{-380,-207,-311,-343,-309,-396},{-181,-133,-234,-287,-223,-165},{-165,-343,-348,-375,-378,-356},{-314,-184,-221,-133,-295,-372},{-215,-362,-367,-247,-356,-375},{-362,-375,-359,-255,-330,-234},{-266,-152,-317,-176,-271,-378},{-261,-330,-146,-266,-290,-184}},{{-221,-189,-295,-325,-173,-263},{-367,-186,-223,-160,-202,-215},{-290,-226,-186,-356,-141,-197},{-317,-295,-255,-325,-207,-396},{-184,-266,-380,-242,-383,-309},{-293,-197,-287,-189,-242,-348},{-348,-386,-136,-234,-391,-247},{-322,-162,-375,-263,-364,-346},{-309,-317,-213,-394,-277,-261},{-317,-266,-277,-226,-168,-237},{-301,-340,-362,-330,-346,-386},{-317,-325,-359,-351,-388,-170},{-277,-229,-226,-309,-247,-391},{-165,-319,-351,-154,-356,-247},{-229,-338,-245,-162,-317,-186},{-165,-237,-178,-258,-287,-213},{-205,-274,-388,-250,-359,-322},{-277,-152,-250,-133,-178,-255},{-210,-338,-317,-170,-332,-303},{-285,-157,-138,-271,-338,-335}},{{-202,-221,-160,-327,-293,-356},{-279,-223,-136,-380,-309,-386},{-359,-396,-317,-364,-210,-146},{-184,-356,-218,-237,-277,-226},{-178,-218,-362,-136,-247,-207},{-325,-351,-144,-210,-311,-306},{-348,-266,-197,-346,-239,-189},{-322,-330,-293,-348,-255,-192},{-192,-226,-239,-144,-168,-160},{-332,-394,-362,-340,-287,-239},{-223,-348,-301,-258,-287,-295},{-348,-218,-173,-269,-298,-274},{-176,-213,-319,-189,-391,-309},{-165,-146,-325,-234,-306,-266},{-149,-332,-351,-314,-234,-149},{-362,-165,-287,-301,-181,-170},{-247,-396,-399,-181,-237,-218},{-388,-202,-181,-306,-263,-340},{-327,-242,-160,-378,-162,-181},{-269,-386,-261,-391,-338,-370}}},{{{-188,-372,-190,-372,-204,-409},{-255,-300,-272,-269,-291,-230},{-244,-333,-280,-224,-311,-420},{-316,-176,-291,-294,-213,-412},{-372,-188,-314,-364,-255,-406},{-260,-386,-252,-143,-193,-151},{-146,-375,-409,-308,-378,-238},{-361,-143,-151,-272,-269,-196},{-246,-392,-238,-182,-185,-378},{-162,-238,-207,-277,-280,-314},{-190,-319,-370,-375,-361,-188},{-356,-274,-263,-190,-356,-381},{-277,-199,-218,-210,-185,-384},{-196,-202,-350,-230,-255,-297},{-157,-288,-204,-179,-283,-286},{-143,-333,-160,-395,-193,-190},{-252,-227,-193,-300,-378,-389},{-353,-361,-140,-308,-386,-162},{-269,-143,-291,-384,-381,-199},{-294,-252,-350,-294,-244,-344}},{{-316,-381,-358,-258,-367,-179},{-417,-378,-168,-322,-305,-297},{-370,-344,-403,-230,-182,-297},{-372,-384,-140,-241,-347,-252},{-148,-300,-157,-417,-143,-199},{-160,-378,-389,-395,-398,-168},{-280,-358,-241,-171,-409,-344},{-274,-412,-176,-308,-182,-367},{-213,-316,-286,-412,-322,-333},{-333,-176,-204,-325,-235,-204},{-230,-210,-330,-143,-182,-188},{-190,-406,-143,-297,-269,-412},{-171,-319,-185,-330,-417,-190},{-160,-160,-252,-367,-412,-361},{-258,-286,-378,-274,-277,-336},{-294,-358,-283,-230,-398,-269},{-241,-174,-176,-311,-302,-420},{-148,-216,-347,-185,-412,-316},{-378,-412,-336,-308,-300,-146},{-406,-218,-291,-218,-291,-263}},{{-342,-389,-400,-168,-358,-213},{-375,-409,-412,-160,-347,-176},{-202,-319,-288,-162,-283,-350},{-283,-246,-297,-414,-325,-199},{-361,-218,-339,-207,-168,-406},{-165,-347,-406,-308,-157,-162},{-328,-227,-182,-171,-196,-160},{-305,-291,-291,-409,-148,-283},{-232,-266,-221,-361,-375,-288},{-384,-213,-386,-196,-412,-305},{-263,-342,-162,-277,-333,-185},{-288,-417,-241,-246,-210,-213},{-204,-412,-420,-216,-314,-207},{-224,-386,-235,-221,-230,-182},{-291,-308,-146,-420,-314,-238},{-406,-384,-269,-412,-255,-412},{-160,-417,-196,-143,-325,-333},{-325,-277,-221,-316,-342,-224},{-143,-224,-314,-316,-417,-344},{-381,-319,-258,-400,-378,-417}},{{-210,-148,-378,-322,-185,-344},{-409,-403,-358,-330,-252,-230},{-409,-417,-386,-300,-162,-403},{-258,-255,-272,-417,-272,-249},{-188,-224,-389,-260,-392,-288},{-196,-277,-246,-400,-339,-308},{-182,-210,-241,-196,-344,-398},{-364,-199,-249,-218,-269,-238},{-263,-322,-400,-199,-151,-389},{-330,-202,-392,-319,-258,-280},{-370,-151,-165,-179,-260,-314},{-151,-274,-202,-230,-395,-294},{-350,-272,-269,-414,-283,-322},{-272,-146,-325,-235,-308,-283},{-151,-174,-151,-199,-398,-395},{-316,-196,-269,-302,-199,-311},{-216,-246,-255,-146,-350,-409},{-157,-165,-190,-154,-232,-216},{-241,-297,-311,-213,-241,-378},{-398,-308,-400,-381,-280,-185}},{{-339,-213,-358,-409,-283,-398},{-361,-272,-249,-333,-255,-367},{-272,-204,-174,-384,-420,-367},{-179,-241,-370,-403,-255,-339},{-420,-244,-333,-232,-269,-266},{-246,-202,-171,-274,-238,-277},{-171,-288,-269,-190,-384,-294},{-218,-196,-252,-249,-403,-266},{-280,-333,-361,-412,-182,-171},{-146,-202,-297,-207,-190,-389},{-367,-190,-232,-336,-395,-160},{-252,-277,-283,-151,-333,-280},{-216,-280,-308,-235,-148,-367},{-258,-400,-224,-157,-353,-154},{-277,-174,-350,-339,-283,-316},{-358,-140,-342,-305,-311,-384},{-372,-367,-375,-252,-297,-347},{-384,-224,-316,-213,-160,-392},{-288,-314,-350,-157,-190,-356},{-381,-193,-403,-269,-328,-272}},{{-392,-297,-300,-210,-336,-249},{-356,-274,-204,-406,-204,-370},{-255,-367,-258,-260,-389,-280},{-246,-174,-381,-364,-154,-218},{-420,-302,-395,-171,-350,-213},{-412,-196,-274,-168,-249,-325},{-367,-176,-372,-213,-403,-392},{-412,-199,-417,-300,-333,-395},{-165,-395,-291,-283,-190,-381},{-190,-249,-246,-188,-400,-213},{-260,-185,-232,-364,-350,-241},{-151,-288,-372,-235,-185,-255},{-168,-224,-280,-403,-358,-294},{-305,-157,-154,-157,-395,-207},{-322,-151,-280,-280,-241,-283},{-342,-171,-266,-286,-417,-342},{-196,-389,-347,-370,-160,-168},{-316,-148,-151,-232,-420,-179},{-311,-336,-280,-266,-249,-280},{-255,-364,-252,-367,-288,-288}},{{-199,-297,-246,-146,-325,-319},{-227,-210,-358,-361,-305,-218},{-263,-361,-207,-288,-342,-269},{-350,-358,-283,-151,-179,-294},{-232,-288,-160,-372,-274,-339},{-143,-210,-319,-314,-305,-300},{-322,-288,-202,-392,-403,-283},{-160,-274,-353,-160,-218,-409},{-353,-300,-378,-361,-269,-260},{-328,-227,-283,-252,-417,-185},{-333,-210,-272,-395,-258,-160},{-342,-252,-350,-241,-266,-143},{-395,-216,-325,-162,-185,-347},{-255,-269,-204,-361,-283,-392},{-258,-386,-199,-227,-291,-193},{-162,-160,-179,-232,-414,-409},{-305,-263,-213,-148,-171,-174},{-227,-300,-162,-350,-266,-207},{-364,-168,-372,-174,-325,-344},{-179,-398,-300,-291,-412,-311}},{{-361,-378,-353,-311,-179,-272},{-179,-182,-179,-168,-207,-358},{-398,-325,-417,-185,-190,-202},{-272,-412,-392,-227,-314,-210},{-199,-162,-302,-216,-308,-277},{-395,-213,-414,-386,-305,-386},{-344,-246,-305,-358,-308,-210},{-356,-272,-140,-151,-386,-336},{-140,-162,-218,-216,-255,-302},{-143,-328,-241,-171,-216,-330},{-322,-325,-297,-168,-241,-392},{-364,-207,-412,-339,-182,-288},{-328,-367,-316,-174,-249,-336},{-174,-400,-286,-392,-420,-255},{-252,-176,-190,-400,-168,-193},{-207,-252,-339,-367,-140,-384},{-350,-342,-364,-378,-330,-232},{-412,-193,-204,-146,-384,-280},{-403,-311,-218,-272,-302,-216},{-339,-288,-353,-221,-151,-224}},{{-328,-406,-213,-280,-185,-165},{-196,-246,-356,-202,-353,-398},{-140,-230,-202,-249,-367,-168},{-314,-185,-176,-260,-174,-417},{-190,-162,-272,-356,-174,-358},{-255,-328,-190,-386,-235,-154},{-378,-230,-140,-350,-291,-249},{-218,-400,-210,-258,-154,-342},{-196,-386,-232,-420,-140,-221},{-291,-406,-176,-403,-319,-395},{-252,-246,-221,-325,-358,-311},{-188,-384,-302,-179,-384,-218},{-339,-381,-316,-302,-202,-260},{-305,-342,-160,-246,-263,-395},{-143,-174,-305,-414,-367,-148},{-414,-378,-199,-381,-269,-274},{-288,-274,-213,-182,-174,-384},{-364,-353,-398,-386,-414,-375},{-202,-277,-288,-263,-386,-221},{-246,-224,-190,-162,-409,-162}}},{{{-305,-269,-344,-347,-392,-400},{-300,-314,-143,-409,-227,-174},{-353,-179,-372,-202,-330,-146},{-263,-305,-260,-386,-370,-235},{-316,-370,-311,-168,-280,-241},{-367,-283,-182,-260,-322,-263},{-207,-168,-230,-148,-179,-185},{-291,-176,-392,-409,-168,-384},{-336,-389,-414,-400,-202,-344},{-160,-241,-213,-414,-364,-364},{-322,-400,-207,-263,-367,-238},{-151,-389,-277,-311,-300,-353},{-274,-336,-174,-297,-420,-412},{-378,-241,-154,-260,-140,-378},{-204,-269,-372,-227,-316,-364},{-196,-160,-272,-300,-255,-420},{-218,-252,-347,-280,-300,-403},{-260,-409,-316,-361,-193,-325},{-350,-204,-350,-333,-188,-322},{-266,-328,-162,-182,-356,-274}},{{-356,-218,-294,-165,-140,-266},{-148,-361,-199,-179,-258,-210},{-238,-165,-294,-395,-386,-403},{-185,-316,-353,-342,-361,-238},{-302,-386,-246,-392,-330,-241},{-347,-207,-255,-213,-266,-403},{-386,-221,-333,-322,-221,-350},{-350,-249,-389,-288,-300,-160},{-325,-398,-221,-260,-238,-218},{-350,-235,-157,-154,-143,-356},{-207,-342,-176,-384,-358,-269},{-188,-151,-235,-272,-255,-392},{-302,-381,-395,-151,-384,-417},{-336,-269,-168,-392,-148,-246},{-199,-266,-227,-322,-210,-162},{-168,-216,-375,-174,-297,-316},{-179,-221,-207,-241,-330,-202},{-227,-297,-249,-232,-207,-314},{-235,-392,-227,-188,-162,-235},{-356,-372,-202,-367,-232,-384}},{{-188,-249,-216,-370,-165,-350},{-412,-367,-392,-291,-378,-258},{-227,-216,-325,-174,-260,-302},{-361,-238,-291,-392,-210,-392},{-389,-414,-398,-199,-291,-272},{-151,-244,-378,-286,-344,-378},{-286,-196,-386,-269,-221,-252},{-230,-249,-403,-151,-336,-146},{-283,-154,-353,-375,-249,-305},{-322,-174,-395,-272,-378,-143},{-263,-199,-344,-409,-406,-204},{-291,-176,-395,-328,-350,-176},{-311,-330,-216,-414,-403,-272},{-420,-199,-420,-300,-386,-384},{-269,-157,-154,-230,-308,-330},{-370,-305,-356,-319,-221,-322},{-350,-213,-398,-224,-182,-199},{-210,-146,-328,-272,-235,-344},{-330,-213,-255,-300,-350,-241},{-364,-288,-316,-400,-381,-241}},{{-174,-249,-230,-221,-151,-288},{-235,-272,-395,-246,-143,-176},{-157,-162,-249,-277,-311,-146},{-263,-269,-339,-204,-218,-277},{-325,-246,-157,-185,-406,-406},{-244,-263,-392,-314,-266,-263},{-347,-140,-330,-409,-347,-406},{-182,-316,-244,-364,-308,-160},{-347,-193,-395,-417,-305,-291},{-297,-286,-146,-274,-372,-316},{-171,-171,-269,-378,-375,-350},{-372,-398,-344,-300,-140,-308},{-294,-322,-300,-235,-314,-255},{-168,-148,-258,-255,-286,-283},{-316,-381,-409,-291,-213,-384},{-319,-414,-364,-358,-414,-344},{-384,-286,-353,-143,-288,-344},{-241,-286,-238,-406,-204,-280},{-232,-403,-395,-157,-154,-157},{-272,-322,-339,-272,-179,-148}},{{-381,-325,-188,-286,-260,-154},{-305,-370,-207,-244,-330,-311},{-417,-151,-358,-157,-235,-185},{-339,-185,-328,-420,-190,-185},{-230,-274,-196,-157,-409,-375},{-274,-258,-347,-356,-207,-406},{-143,-286,-179,-381,-266,-154},{-227,-370,-400,-179,-336,-249},{-342,-221,-353,-398,-199,-160},{-361,-216,-330,-389,-325,-356},{-330,-333,-252,-353,-364,-286},{-342,-412,-286,-244,-143,-370},{-160,-420,-358,-333,-328,-286},{-414,-216,-406,-288,-199,-190},{-272,-384,-333,-151,-333,-277},{-283,-330,-400,-283,-216,-213},{-378,-417,-252,-406,-361,-218},{-370,-260,-162,-420,-224,-221},{-148,-171,-258,-305,-221,-361},{-395,-165,-350,-297,-216,-288}},{{-342,-322,-269,-165,-328,-316},{-403,-319,-316,-378,-168,-207},{-188,-168,-143,-353,-168,-246},{-398,-406,-202,-367,-412,-255},{-252,-258,-328,-196,-400,-291},{-202,-162,-157,-230,-148,-288},{-160,-361,-146,-302,-174,-409},{-420,-361,-386,-272,-294,-221},{-246,-356,-171,-305,-227,-400},{-336,-291,-165,-300,-367,-235},{-322,-297,-330,-238,-414,-406},{-403,-260,-361,-272,-238,-269},{-356,-386,-249,-190,-316,-420},{-305,-406,-358,-372,-358,-297},{-316,-272,-412,-179,-325,-238},{-319,-272,-143,-356,-221,-162},{-288,-207,-381,-252,-263,-297},{-224,-154,-389,-146,-154,-392},{-143,-244,-196,-392,-277,-143},{-328,-174,-244,-316,-196,-154}},{{-230,-316,-216,-325,-412,-297},{-162,-255,-398,-227,-291,-258},{-283,-300,-216,-193,-280,-148},{-342,-218,-361,-216,-400,-227},{-272,-213,-328,-417,-157,-174},{-266,-238,-297,-420,-232,-364},{-168,-249,-420,-364,-286,-381},{-182,-148,-151,-294,-288,-258},{-339,-269,-199,-266,-151,-269},{-333,-202,-300,-235,-395,-238},{-316,-339,-260,-372,-230,-182},{-342,-386,-297,-336,-165,-381},{-412,-140,-213,-221,-406,-151},{-193,-280,-406,-244,-204,-316},{-238,-403,-412,-347,-322,-409},{-420,-308,-389,-406,-378,-221},{-400,-146,-311,-288,-146,-266},{-140,-210,-140,-196,-272,-272},{-353,-395,-160,-409,-347,-302},{-378,-342,-322,-260,-249,-420}},{{-274,-162,-311,-358,-280,-162},{-328,-277,-255,-409,-213,-283},{-412,-204,-395,-370,-356,-316},{-196,-207,-146,-213,-154,-330},{-336,-305,-400,-224,-381,-277},{-288,-280,-227,-314,-151,-207},{-235,-302,-414,-165,-342,-288},{-179,-350,-196,-291,-148,-148},{-381,-356,-356,-333,-258,-274},{-406,-381,-168,-347,-263,-238},{-232,-280,-263,-353,-378,-227},{-291,-244,-196,-263,-266,-330},{-174,-277,-274,-286,-400,-342},{-227,-297,-361,-311,-154,-241},{-314,-154,-196,-364,-316,-375},{-350,-347,-148,-364,-403,-202},{-403,-249,-367,-280,-263,-370},{-174,-196,-400,-255,-140,-305},{-333,-277,-146,-213,-417,-339},{-263,-353,-328,-199,-199,-274}},{{-154,-403,-353,-188,-409,-308},{-286,-291,-157,-258,-232,-302},{-370,-210,-364,-179,-409,-322},{-218,-381,-347,-375,-308,-143},{-171,-151,-266,-157,-389,-358},{-328,-202,-412,-300,-213,-249},{-246,-392,-356,-330,-358,-246},{-252,-154,-221,-395,-171,-375},{-160,-277,-378,-420,-328,-364},{-406,-325,-300,-218,-398,-162},{-361,-249,-389,-344,-224,-420},{-372,-364,-151,-412,-238,-146},{-392,-361,-188,-384,-274,-174},{-403,-314,-288,-305,-300,-216},{-179,-361,-146,-333,-342,-378},{-330,-283,-294,-319,-370,-162},{-367,-330,-263,-140,-204,-171},{-406,-392,-367,-389,-356,-162},{-314,-409,-199,-409,-232,-370},{-353,-188,-280,-409,-188,-403}}},{{{-367,-378,-308,-389,-188,-406},{-336,-148,-300,-190,-213,-386},{-224,-319,-269,-347,-176,-140},{-174,-316,-157,-162,-291,-162},{-283,-381,-165,-398,-188,-395},{-176,-162,-378,-300,-176,-302},{-381,-361,-266,-143,-350,-190},{-263,-244,-311,-188,-140,-196},{-358,-403,-384,-398,-403,-420},{-190,-288,-420,-300,-266,-246},{-174,-207,-168,-392,-305,-353},{-244,-339,-291,-193,-274,-168},{-305,-367,-330,-266,-227,-325},{-311,-316,-146,-162,-286,-308},{-361,-162,-409,-274,-193,-342},{-322,-302,-196,-272,-381,-263},{-190,-179,-412,-227,-372,-336},{-269,-322,-356,-417,-330,-218},{-249,-403,-358,-165,-291,-227},{-386,-160,-314,-235,-218,-288}},{{-400,-308,-398,-342,-176,-280},{-291,-367,-288,-204,-384,-162},{-269,-210,-375,-420,-199,-336},{-378,-241,-168,-216,-255,-350},{-297,-255,-179,-280,-392,-274},{-213,-336,-325,-286,-314,-409},{-381,-269,-182,-246,-165,-146},{-227,-342,-300,-227,-146,-171},{-300,-280,-392,-344,-350,-162},{-190,-367,-316,-322,-400,-417},{-168,-291,-344,-272,-300,-395},{-392,-190,-398,-157,-308,-364},{-224,-386,-232,-364,-384,-168},{-336,-146,-291,-308,-294,-297},{-412,-342,-330,-347,-347,-344},{-420,-266,-277,-196,-288,-308},{-297,-174,-375,-367,-328,-322},{-182,-216,-375,-350,-238,-325},{-381,-361,-336,-336,-241,-190},{-372,-216,-216,-395,-190,-330}},{{-190,-143,-224,-300,-384,-302},{-375,-370,-154,-333,-202,-395},{-294,-342,-224,-288,-160,-246},{-367,-162,-258,-151,-241,-406},{-353,-204,-146,-179,-171,-367},{-179,-143,-417,-364,-417,-300},{-244,-414,-188,-196,-353,-375},{-179,-260,-417,-330,-232,-272},{-325,-171,-213,-305,-300,-241},{-179,-221,-157,-330,-277,-347},{-140,-325,-364,-207,-288,-386},{-336,-364,-305,-227,-227,-308},{-297,-162,-224,-336,-370,-302},{-302,-302,-319,-294,-344,-185},{-378,-328,-232,-319,-336,-188},{-311,-291,-266,-255,-375,-378},{-420,-165,-252,-277,-162,-356},{-300,-274,-370,-213,-336,-356},{-384,-342,-176,-218,-406,-375},{-283,-157,-328,-221,-140,-412}},{{-389,-294,-297,-414,-297,-353},{-176,-235,-185,-146,-305,-171},{-182,-384,-302,-146,-372,-297},{-344,-148,-412,-230,-204,-356},{-316,-392,-420,-216,-333,-403},{-176,-157,-305,-305,-370,-210},{-246,-241,-375,-308,-291,-227},{-384,-361,-384,-258,-213,-311},{-316,-297,-364,-384,-185,-274},{-171,-367,-168,-151,-160,-314},{-294,-280,-330,-330,-414,-266},{-389,-216,-356,-238,-171,-314},{-328,-294,-196,-230,-294,-266},{-291,-232,-202,-269,-196,-269},{-179,-221,-258,-238,-280,-230},{-367,-358,-358,-151,-297,-370},{-202,-255,-199,-207,-420,-258},{-160,-378,-386,-176,-272,-207},{-330,-246,-277,-400,-398,-235},{-151,-297,-272,-364,-157,-336}},{{-185,-171,-342,-154,-414,-235},{-308,-297,-322,-414,-258,-358},{-302,-246,-384,-258,-277,-333},{-381,-252,-403,-255,-330,-288},{-140,-384,-160,-143,-252,-266},{-266,-372,-238,-255,-353,-403},{-272,-364,-370,-171,-395,-333},{-339,-398,-375,-216,-358,-361},{-218,-216,-241,-252,-157,-328},{-308,-358,-154,-154,-372,-381},{-218,-325,-319,-412,-207,-162},{-403,-311,-258,-412,-420,-381},{-143,-417,-294,-367,-319,-398},{-207,-230,-188,-190,-174,-227},{-406,-398,-384,-294,-409,-353},{-146,-322,-252,-288,-395,-291},{-255,-420,-330,-241,-199,-384},{-232,-386,-235,-202,-350,-353},{-165,-398,-210,-400,-157,-378},{-174,-417,-291,-344,-392,-249}},{{-322,-330,-347,-174,-207,-336},{-344,-199,-370,-342,-347,-294},{-356,-196,-176,-165,-384,-274},{-372,-232,-176,-213,-370,-417},{-258,-235,-162,-409,-375,-378},{-266,-392,-342,-241,-171,-297},{-386,-230,-193,-353,-277,-364},{-283,-238,-162,-241,-336,-353},{-148,-196,-311,-235,-171,-358},{-241,-263,-216,-179,-160,-344},{-190,-322,-400,-420,-266,-272},{-308,-151,-249,-190,-406,-258},{-227,-375,-154,-213,-199,-207},{-232,-246,-199,-221,-272,-414},{-412,-165,-375,-344,-350,-398},{-277,-386,-157,-199,-221,-350},{-274,-291,-157,-378,-342,-146},{-356,-210,-414,-174,-148,-333},{-386,-196,-406,-171,-182,-305},{-193,-277,-409,-381,-204,-370}},{{-358,-249,-157,-330,-386,-154},{-221,-350,-286,-202,-218,-182},{-330,-333,-364,-196,-151,-417},{-412,-288,-375,-288,-241,-378},{-322,-291,-350,-207,-157,-185},{-252,-328,-291,-238,-372,-235},{-420,-204,-322,-202,-384,-199},{-246,-356,-165,-232,-182,-364},{-322,-283,-386,-204,-260,-176},{-398,-174,-238,-294,-361,-325},{-165,-269,-260,-260,-157,-314},{-417,-375,-258,-260,-420,-202},{-420,-344,-218,-412,-364,-308},{-221,-168,-266,-213,-325,-316},{-372,-406,-347,-148,-204,-171},{-230,-420,-151,-417,-224,-216},{-409,-277,-140,-400,-364,-297},{-162,-297,-244,-356,-207,-400},{-406,-182,-325,-235,-274,-260},{-414,-367,-367,-319,-353,-171}},{{-314,-367,-302,-286,-269,-162},{-294,-210,-342,-330,-361,-182},{-207,-210,-263,-140,-350,-224},{-179,-378,-277,-283,-224,-252},{-218,-202,-176,-342,-308,-272},{-202,-232,-269,-322,-381,-319},{-333,-322,-339,-342,-370,-288},{-361,-232,-165,-227,-330,-185},{-238,-168,-400,-199,-154,-182},{-358,-140,-305,-308,-185,-196},{-213,-151,-384,-381,-196,-224},{-213,-230,-146,-305,-336,-406},{-182,-238,-230,-316,-389,-151},{-162,-364,-255,-378,-249,-146},{-409,-356,-420,-202,-260,-274},{-384,-417,-160,-174,-160,-274},{-300,-154,-207,-378,-314,-182},{-364,-297,-384,-417,-188,-210},{-210,-361,-308,-224,-148,-246},{-288,-297,-227,-277,-266,-389}},{{-241,-314,-154,-165,-361,-154},{-288,-350,-157,-294,-305,-151},{-283,-244,-165,-246,-193,-367},{-258,-409,-193,-207,-358,-269},{-398,-188,-221,-277,-162,-193},{-300,-342,-302,-188,-221,-165},{-216,-347,-171,-417,-272,-395},{-260,-400,-333,-336,-160,-244},{-378,-154,-420,-283,-403,-302},{-193,-165,-168,-325,-190,-305},{-272,-409,-286,-372,-196,-364},{-162,-213,-311,-311,-370,-193},{-325,-280,-356,-246,-274,-224},{-294,-246,-381,-392,-350,-336},{-384,-218,-235,-230,-168,-160},{-258,-417,-347,-260,-227,-381},{-202,-372,-230,-263,-294,-386},{-370,-291,-372,-269,-322,-221},{-255,-168,-232,-238,-260,-249},{-406,-420,-252,-232,-297,-227}}}}; // 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]={25,13,9,25,13,9,26,13,9,24,12,8,24,12,8,23,12,8,26,13,9,26,13,9,26,13,9,25,13,9,26,13,9,26,13,9,25,13,9,25,13,9,25,13,9,25,13,9,25,13,9,25,13,9,26,13,9,25,13,9,26,13,9,26,14,9,27,13,9,26,13,9}; // number of shipment for each bid 
int SHset[BN][MBSN]={{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24},{25,26,27,28,29,30,31,32,33,34,35,36,37},{38,39,40,41,42,43,44,45,46},{47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71},{72,73,74,75,76,77,78,79,80,81,82,83,84},{85,86,87,88,89,90,91,92,93},{94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119},{120,121,122,123,124,125,126,127,128,129,130,131,132},{133,134,135,136,137,138,139,140,141},{142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165},{166,167,168,169,170,171,172,173,174,175,176,177},{178,179,180,181,182,183,184,185},{186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209},{210,211,212,213,214,215,216,217,218,219,220,221},{222,223,224,225,226,227,228,229},{230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252},{253,254,255,256,257,258,259,260,261,262,263,264},{265,266,267,268,269,270,271,272},{273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298},{299,300,301,302,303,304,305,306,307,308,309,310,311},{312,313,314,315,316,317,318,319,320},{321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346},{347,348,349,350,351,352,353,354,355,356,357,358,359},{360,361,362,363,364,365,366,367,368},{369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394},{395,396,397,398,399,400,401,402,403,404,405,406,407},{408,409,410,411,412,413,414,415,416},{417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441},{442,443,444,445,446,447,448,449,450,451,452,453,454},{455,456,457,458,459,460,461,462,463},{464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489},{490,491,492,493,494,495,496,497,498,499,500,501,502},{503,504,505,506,507,508,509,510,511},{512,513,514,515,516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533,534,535,536,537},{538,539,540,541,542,543,544,545,546,547,548,549,550},{551,552,553,554,555,556,557,558,559},{560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584},{585,586,587,588,589,590,591,592,593,594,595,596,597},{598,599,600,601,602,603,604,605,606},{607,608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631},{632,633,634,635,636,637,638,639,640,641,642,643,644},{645,646,647,648,649,650,651,652,653},{654,655,656,657,658,659,660,661,662,663,664,665,666,667,668,669,670,671,672,673,674,675,676,677,678},{679,680,681,682,683,684,685,686,687,688,689,690,691},{692,693,694,695,696,697,698,699,700},{701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725},{726,727,728,729,730,731,732,733,734,735,736,737,738},{739,740,741,742,743,744,745,746,747},{748,749,750,751,752,753,754,755,756,757,758,759,760,761,762,763,764,765,766,767,768,769,770,771,772},{773,774,775,776,777,778,779,780,781,782,783,784,785},{786,787,788,789,790,791,792,793,794},{795,796,797,798,799,800,801,802,803,804,805,806,807,808,809,810,811,812,813,814,815,816,817,818,819},{820,821,822,823,824,825,826,827,828,829,830,831,832},{833,834,835,836,837,838,839,840,841},{842,843,844,845,846,847,848,849,850,851,852,853,854,855,856,857,858,859,860,861,862,863,864,865,866,867},{868,869,870,871,872,873,874,875,876,877,878,879,880},{881,882,883,884,885,886,887,888,889},{890,891,892,893,894,895,896,897,898,899,900,901,902,903,904,905,906,907,908,909,910,911,912,913,914},{915,916,917,918,919,920,921,922,923,924,925,926,927},{928,929,930,931,932,933,934,935,936},{937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962},{963,964,965,966,967,968,969,970,971,972,973,974,975},{976,977,978,979,980,981,982,983,984},{985,986,987,988,989,990,991,992,993,994,995,996,997,998,999,1000,1001,1002,1003,1004,1005,1006,1007,1008,1009,1010},{1011,1012,1013,1014,1015,1016,1017,1018,1019,1020,1021,1022,1023,1024},{1025,1026,1027,1028,1029,1030,1031,1032,1033},{1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060},{1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073},{1074,1075,1076,1077,1078,1079,1080,1081,1082},{1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108},{1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1120,1121},{1122,1123,1124,1125,1126,1127,1128,1129,1130}}; // set of shipments in each bid 
int SHsts[SPN]={1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,0,4,8,12,16,20,24,28,32,36,40,44,48,0,6,12,18,24,30,36,42,48,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,0,4,8,12,16,20,24,28,32,36,40,44,48,2,8,14,20,26,32,38,44,50,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,0,4,8,12,16,20,24,28,32,36,40,44,48,2,8,14,20,26,32,38,44,50,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,1,5,9,13,17,21,25,29,33,37,41,45,0,6,12,18,24,30,36,42,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,2,6,10,14,18,22,26,30,34,38,42,46,0,6,12,18,24,30,36,42,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,1,5,9,13,17,21,25,29,33,37,41,45,2,8,14,20,26,32,38,44,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,0,4,8,12,16,20,24,28,32,36,40,44,48,1,7,13,19,25,31,37,43,49,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,2,6,10,14,18,22,26,30,34,38,42,46,50,2,8,14,20,26,32,38,44,50,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,2,6,10,14,18,22,26,30,34,38,42,46,50,0,6,12,18,24,30,36,42,48,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,0,4,8,12,16,20,24,28,32,36,40,44,48,0,6,12,18,24,30,36,42,48,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,1,5,9,13,17,21,25,29,33,37,41,45,49,1,7,13,19,25,31,37,43,49,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,0,4,8,12,16,20,24,28,32,36,40,44,48,0,6,12,18,24,30,36,42,48,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,1,5,9,13,17,21,25,29,33,37,41,45,49,1,7,13,19,25,31,37,43,49,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,2,6,10,14,18,22,26,30,34,38,42,46,50,2,8,14,20,26,32,38,44,50,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,2,6,10,14,18,22,26,30,34,38,42,46,50,0,6,12,18,24,30,36,42,48,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,2,6,10,14,18,22,26,30,34,38,42,46,50,2,8,14,20,26,32,38,44,50,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,2,6,10,14,18,22,26,30,34,38,42,46,50,0,6,12,18,24,30,36,42,48,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,0,4,8,12,16,20,24,28,32,36,40,44,48,2,8,14,20,26,32,38,44,50,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,2,6,10,14,18,22,26,30,34,38,42,46,50,2,8,14,20,26,32,38,44,50,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,1,5,9,13,17,21,25,29,33,37,41,45,49,2,8,14,20,26,32,38,44,50,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,0,4,8,12,16,20,24,28,32,36,40,44,48,1,7,13,19,25,31,37,43,49,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,0,4,8,12,16,20,24,28,32,36,40,44,48,52,2,8,14,20,26,32,38,44,50,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,2,6,10,14,18,22,26,30,34,38,42,46,50,2,8,14,20,26,32,38,44,50,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,2,6,10,14,18,22,26,30,34,38,42,46,50,2,8,14,20,26,32,38,44,50}; // set of start times of each shipment 
int SHets[SPN]={4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,3,7,11,15,19,23,27,31,35,39,43,47,51,3,9,15,21,27,33,39,45,51,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,3,7,11,15,19,23,27,31,35,39,43,47,51,5,11,17,23,29,35,41,47,53,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,3,7,11,15,19,23,27,31,35,39,43,47,51,5,11,17,23,29,35,41,47,53,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,7,11,15,19,23,27,31,35,39,43,47,51,6,12,18,24,30,36,42,48,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,8,12,16,20,24,28,32,36,40,44,48,52,6,12,18,24,30,36,42,48,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,7,11,15,19,23,27,31,35,39,43,47,51,8,14,20,26,32,38,44,50,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,2,6,10,14,18,22,26,30,34,38,42,46,50,3,9,15,21,27,33,39,45,51,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,4,8,12,16,20,24,28,32,36,40,44,48,52,4,10,16,22,28,34,40,46,52,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,4,8,12,16,20,24,28,32,36,40,44,48,52,2,8,14,20,26,32,38,44,50,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,2,6,10,14,18,22,26,30,34,38,42,46,50,2,8,14,20,26,32,38,44,50,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,3,7,11,15,19,23,27,31,35,39,43,47,51,3,9,15,21,27,33,39,45,51,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,2,6,10,14,18,22,26,30,34,38,42,46,50,2,8,14,20,26,32,38,44,50,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,4,8,12,16,20,24,28,32,36,40,44,48,52,4,10,16,22,28,34,40,46,52,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,5,9,13,17,21,25,29,33,37,41,45,49,53,5,11,17,23,29,35,41,47,53,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,5,9,13,17,21,25,29,33,37,41,45,49,53,3,9,15,21,27,33,39,45,51,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,5,9,13,17,21,25,29,33,37,41,45,49,53,5,11,17,23,29,35,41,47,53,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,5,9,13,17,21,25,29,33,37,41,45,49,53,3,9,15,21,27,33,39,45,51,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,3,7,11,15,19,23,27,31,35,39,43,47,51,5,11,17,23,29,35,41,47,53,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,4,8,12,16,20,24,28,32,36,40,44,48,52,4,10,16,22,28,34,40,46,52,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,3,7,11,15,19,23,27,31,35,39,43,47,51,4,10,16,22,28,34,40,46,52,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,2,6,10,14,18,22,26,30,34,38,42,46,50,3,9,15,21,27,33,39,45,51,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,1,5,9,13,17,21,25,29,33,37,41,45,49,53,3,9,15,21,27,33,39,45,51,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,3,7,11,15,19,23,27,31,35,39,43,47,51,3,9,15,21,27,33,39,45,51,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,3,7,11,15,19,23,27,31,35,39,43,47,51,3,9,15,21,27,33,39,45,51}; // set of end times of each shipment 
