int Dev = 20;// Deviation
extern const int CNN = 5;// 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 = 1145;//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]={{{{11944,0,0,0,0,0},{12069,0,0,0,0,0},{12279,0,0,0,0,0},{12435,0,0,0,0,0},{12325,0,0,0,0,0},{12210,0,0,0,0,0},{12718,0,0,0,0,0},{12558,0,0,0,0,0},{12699,0,0,0,0,0},{12492,0,0,0,0,0},{12632,0,0,0,0,0},{12290,0,0,0,0,0},{12303,0,0,0,0,0},{12443,0,0,0,0,0},{12538,0,0,0,0,0},{12197,0,0,0,0,0},{12342,0,0,0,0,0},{12810,0,0,0,0,0},{12577,0,0,0,0,0},{12362,0,0,0,0,0}},{{12766,0,0,0,0,0},{12725,0,0,0,0,0},{12399,0,0,0,0,0},{12090,0,0,0,0,0},{12161,0,0,0,0,0},{12182,0,0,0,0,0},{12126,0,0,0,0,0},{12054,0,0,0,0,0},{12404,0,0,0,0,0},{12282,0,0,0,0,0},{12294,0,0,0,0,0},{12891,0,0,0,0,0},{12383,0,0,0,0,0},{12275,0,0,0,0,0},{12584,0,0,0,0,0},{12496,0,0,0,0,0},{12047,0,0,0,0,0},{12218,0,0,0,0,0},{12767,0,0,0,0,0},{12536,0,0,0,0,0}},{{11632,0,0,0,0,0},{11503,0,0,0,0,0},{11406,0,0,0,0,0},{11529,0,0,0,0,0},{11642,0,0,0,0,0},{11517,0,0,0,0,0},{11709,0,0,0,0,0},{11284,0,0,0,0,0},{11840,0,0,0,0,0},{11432,0,0,0,0,0},{11635,0,0,0,0,0},{11293,0,0,0,0,0},{11477,0,0,0,0,0},{11447,0,0,0,0,0},{11638,0,0,0,0,0},{11421,0,0,0,0,0},{11643,0,0,0,0,0},{11577,0,0,0,0,0},{11449,0,0,0,0,0},{11466,0,0,0,0,0}},{{10264,0,0,0,0,0},{10407,0,0,0,0,0},{10313,0,0,0,0,0},{10070,0,0,0,0,0},{10847,0,0,0,0,0},{10564,0,0,0,0,0},{10274,0,0,0,0,0},{10363,0,0,0,0,0},{10334,0,0,0,0,0},{10153,0,0,0,0,0},{10460,0,0,0,0,0},{10808,0,0,0,0,0},{10394,0,0,0,0,0},{10253,0,0,0,0,0},{10289,0,0,0,0,0},{10189,0,0,0,0,0},{10162,0,0,0,0,0},{10145,0,0,0,0,0},{10470,0,0,0,0,0},{10179,0,0,0,0,0}},{{9509,0,0,0,0,0},{9556,0,0,0,0,0},{9298,0,0,0,0,0},{9640,0,0,0,0,0},{9369,0,0,0,0,0},{9481,0,0,0,0,0},{9518,0,0,0,0,0},{9865,0,0,0,0,0},{9529,0,0,0,0,0},{9565,0,0,0,0,0},{9613,0,0,0,0,0},{9621,0,0,0,0,0},{9674,0,0,0,0,0},{9702,0,0,0,0,0},{9545,0,0,0,0,0},{9288,0,0,0,0,0},{9355,0,0,0,0,0},{9493,0,0,0,0,0},{9599,0,0,0,0,0},{9585,0,0,0,0,0}},{{8869,0,0,0,0,0},{9167,0,0,0,0,0},{8948,0,0,0,0,0},{9292,0,0,0,0,0},{9232,0,0,0,0,0},{9125,0,0,0,0,0},{9269,0,0,0,0,0},{9390,0,0,0,0,0},{9326,0,0,0,0,0},{9317,0,0,0,0,0},{9187,0,0,0,0,0},{9394,0,0,0,0,0},{9227,0,0,0,0,0},{9144,0,0,0,0,0},{9329,0,0,0,0,0},{9307,0,0,0,0,0},{9397,0,0,0,0,0},{9406,0,0,0,0,0},{9267,0,0,0,0,0},{9025,0,0,0,0,0}},{{9759,0,0,0,0,0},{9796,0,0,0,0,0},{9657,0,0,0,0,0},{9936,0,0,0,0,0},{9770,0,0,0,0,0},{9908,0,0,0,0,0},{9947,0,0,0,0,0},{10098,0,0,0,0,0},{9800,0,0,0,0,0},{9845,0,0,0,0,0},{9799,0,0,0,0,0},{9722,0,0,0,0,0},{9411,0,0,0,0,0},{9978,0,0,0,0,0},{9776,0,0,0,0,0},{10016,0,0,0,0,0},{9875,0,0,0,0,0},{9713,0,0,0,0,0},{9820,0,0,0,0,0},{9890,0,0,0,0,0}},{{10798,0,0,0,0,0},{10800,0,0,0,0,0},{11257,0,0,0,0,0},{10902,0,0,0,0,0},{11178,0,0,0,0,0},{11040,0,0,0,0,0},{10978,0,0,0,0,0},{10845,0,0,0,0,0},{10881,0,0,0,0,0},{10969,0,0,0,0,0},{10884,0,0,0,0,0},{10699,0,0,0,0,0},{10966,0,0,0,0,0},{11030,0,0,0,0,0},{10822,0,0,0,0,0},{11156,0,0,0,0,0},{11095,0,0,0,0,0},{10695,0,0,0,0,0},{11276,0,0,0,0,0},{10749,0,0,0,0,0}},{{11814,0,0,0,0,0},{12232,0,0,0,0,0},{11932,0,0,0,0,0},{11816,0,0,0,0,0},{12258,0,0,0,0,0},{12119,0,0,0,0,0},{12336,0,0,0,0,0},{12458,0,0,0,0,0},{12074,0,0,0,0,0},{11869,0,0,0,0,0},{11787,0,0,0,0,0},{11746,0,0,0,0,0},{11952,0,0,0,0,0},{11797,0,0,0,0,0},{12185,0,0,0,0,0},{11692,0,0,0,0,0},{11714,0,0,0,0,0},{12227,0,0,0,0,0},{11981,0,0,0,0,0},{12043,0,0,0,0,0}}},{{{-323,-253,-338,-335,-353,-273},{-291,-276,-244,-244,-294,-273},{-291,-253,-270,-259,-285,-238},{-344,-303,-320,-303,-291,-335},{-312,-320,-344,-276,-265,-338},{-338,-332,-309,-315,-244,-268},{-338,-268,-262,-326,-344,-279},{-238,-309,-350,-273,-259,-344},{-347,-329,-300,-323,-273,-291},{-338,-326,-291,-347,-303,-276},{-309,-270,-303,-326,-282,-318},{-250,-262,-253,-247,-344,-256},{-250,-297,-247,-291,-338,-250},{-353,-288,-312,-341,-244,-288},{-306,-291,-323,-291,-338,-320},{-347,-279,-326,-347,-259,-262},{-338,-276,-241,-247,-350,-338},{-329,-294,-265,-268,-318,-279},{-347,-270,-279,-238,-338,-276},{-273,-238,-312,-309,-294,-262}},{{-328,-289,-241,-258,-318,-251},{-270,-237,-274,-301,-227,-207},{-232,-237,-230,-244,-304,-207},{-325,-255,-238,-263,-216,-220},{-241,-260,-314,-310,-235,-236},{-249,-260,-291,-260,-251,-269},{-232,-320,-230,-255,-307,-259},{-290,-315,-252,-260,-214,-228},{-302,-277,-322,-260,-294,-298},{-249,-280,-272,-247,-318,-298},{-345,-249,-241,-233,-230,-277},{-299,-317,-319,-230,-312,-290},{-304,-286,-238,-301,-230,-241},{-246,-295,-291,-290,-264,-277},{-304,-323,-272,-326,-235,-249},{-270,-297,-238,-321,-230,-256},{-304,-243,-336,-244,-291,-220},{-244,-272,-241,-299,-214,-293},{-313,-289,-249,-329,-272,-295},{-281,-260,-316,-329,-232,-223}},{{-235,-227,-205,-258,-175,-192},{-298,-254,-205,-193,-178,-196},{-215,-220,-233,-267,-244,-208},{-208,-201,-266,-262,-188,-237},{-268,-254,-245,-184,-248,-227},{-230,-237,-254,-211,-238,-225},{-210,-257,-242,-258,-178,-190},{-248,-266,-207,-197,-175,-175},{-200,-244,-275,-220,-178,-247},{-212,-240,-191,-226,-246,-167},{-282,-283,-200,-244,-201,-190},{-265,-244,-249,-244,-231,-214},{-298,-211,-224,-255,-186,-227},{-265,-223,-277,-206,-250,-237},{-238,-283,-210,-190,-220,-202},{-202,-278,-198,-206,-203,-206},{-228,-194,-247,-269,-212,-218},{-230,-273,-245,-215,-223,-218},{-238,-281,-189,-208,-225,-192},{-228,-201,-200,-220,-197,-247}},{{-209,-191,-192,-139,-152,-181},{-211,-183,-215,-141,-148,-155},{-205,-187,-200,-196,-182,-149},{-171,-180,-200,-203,-150,-162},{-236,-151,-202,-157,-163,-192},{-191,-198,-172,-169,-153,-133},{-183,-213,-184,-175,-145,-131},{-189,-172,-172,-194,-162,-168},{-225,-157,-183,-167,-168,-190},{-217,-187,-174,-148,-178,-154},{-177,-219,-175,-170,-162,-142},{-171,-221,-179,-150,-150,-166},{-171,-151,-183,-153,-177,-162},{-229,-150,-195,-138,-170,-133},{-213,-165,-188,-203,-140,-181},{-209,-183,-197,-201,-152,-160},{-167,-151,-200,-174,-132,-160},{-162,-150,-192,-189,-140,-181},{-183,-155,-161,-200,-165,-181},{-185,-209,-179,-206,-193,-173}},{{-179,-164,-121,-122,-132,-175},{-169,-171,-138,-140,-141,-128},{-143,-125,-146,-118,-160,-162},{-176,-155,-168,-118,-129,-154},{-172,-171,-131,-160,-148,-122},{-174,-140,-154,-138,-175,-146},{-179,-174,-144,-144,-140,-134},{-165,-127,-137,-141,-172,-141},{-180,-174,-140,-165,-137,-131},{-142,-140,-151,-176,-138,-140},{-132,-149,-147,-150,-166,-153},{-123,-159,-162,-168,-156,-166},{-159,-173,-119,-154,-166,-162},{-185,-121,-148,-134,-118,-176},{-129,-167,-176,-159,-175,-123},{-154,-153,-176,-138,-118,-119},{-156,-174,-144,-123,-169,-132},{-129,-177,-138,-169,-166,-135},{-132,-146,-121,-166,-169,-163},{-145,-127,-131,-163,-151,-163}},{{-154,-134,-128,-154,-135,-167},{-169,-125,-169,-146,-167,-195},{-126,-173,-124,-157,-179,-162},{-143,-156,-163,-152,-134,-155},{-131,-125,-160,-171,-192,-150},{-140,-132,-139,-163,-184,-160},{-143,-118,-159,-166,-143,-172},{-162,-141,-139,-128,-184,-177},{-176,-147,-162,-160,-193,-152},{-144,-118,-136,-123,-193,-184},{-168,-140,-159,-168,-171,-195},{-134,-165,-121,-156,-190,-139},{-121,-163,-122,-165,-130,-197},{-162,-168,-160,-139,-147,-169},{-138,-118,-163,-145,-153,-157},{-163,-176,-159,-160,-188,-152},{-148,-154,-162,-182,-166,-192},{-159,-166,-151,-152,-166,-187},{-169,-169,-124,-162,-153,-177},{-168,-138,-131,-125,-164,-197}},{{-209,-217,-200,-229,-207,-224},{-200,-172,-215,-181,-186,-241},{-197,-165,-226,-201,-184,-193},{-177,-181,-190,-173,-234,-180},{-209,-210,-156,-175,-203,-191},{-184,-201,-162,-215,-195,-217},{-207,-172,-163,-167,-180,-230},{-184,-212,-182,-207,-226,-239},{-198,-192,-154,-213,-226,-250},{-198,-197,-205,-187,-219,-260},{-184,-203,-156,-223,-182,-234},{-177,-210,-200,-203,-234,-228},{-157,-157,-192,-173,-172,-189},{-188,-190,-169,-197,-248,-258},{-164,-145,-194,-231,-166,-200},{-165,-163,-182,-229,-168,-230},{-202,-159,-169,-191,-195,-260},{-141,-208,-192,-205,-180,-187},{-165,-181,-203,-201,-166,-215},{-174,-203,-188,-215,-178,-197}},{{-197,-209,-249,-240,-298,-315},{-259,-216,-222,-240,-269,-261},{-243,-249,-266,-288,-269,-277},{-182,-193,-217,-299,-277,-274},{-193,-200,-207,-293,-243,-285},{-200,-226,-271,-230,-217,-256},{-197,-270,-273,-299,-277,-256},{-261,-233,-293,-253,-214,-261},{-195,-247,-227,-207,-295,-274},{-259,-221,-278,-213,-253,-239},{-257,-195,-249,-230,-287,-234},{-191,-209,-271,-243,-303,-237},{-197,-214,-290,-278,-290,-258},{-259,-261,-283,-223,-258,-296},{-184,-226,-290,-299,-238,-242},{-243,-277,-195,-243,-269,-266},{-259,-240,-242,-238,-295,-320},{-207,-193,-249,-291,-256,-239},{-193,-273,-261,-213,-295,-304},{-266,-277,-220,-202,-311,-266}},{{-287,-318,-230,-274,-250,-273},{-254,-253,-232,-336,-262,-273},{-293,-334,-344,-295,-353,-241},{-287,-337,-267,-266,-344,-288},{-293,-267,-278,-312,-241,-262},{-221,-323,-319,-345,-353,-320},{-298,-301,-278,-248,-315,-323},{-317,-318,-313,-277,-332,-262},{-268,-332,-336,-280,-273,-297},{-265,-337,-276,-342,-282,-247},{-232,-225,-232,-245,-338,-282},{-229,-281,-281,-315,-312,-326},{-306,-228,-342,-307,-315,-341},{-221,-236,-321,-330,-235,-273},{-293,-236,-301,-336,-300,-294},{-273,-225,-270,-242,-253,-253},{-301,-233,-241,-333,-282,-270},{-312,-301,-296,-266,-338,-297},{-265,-230,-293,-339,-312,-315},{-254,-264,-232,-251,-238,-353}}},{{{-144,-164,-177,-193,-202,-223},{-155,-161,-200,-202,-147,-195},{-171,-150,-158,-166,-210,-212},{-168,-159,-189,-150,-195,-191},{-165,-140,-182,-143,-197,-208},{-138,-198,-177,-213,-182,-201},{-193,-201,-182,-143,-195,-201},{-143,-142,-163,-190,-221,-229},{-186,-166,-177,-165,-199,-157},{-166,-144,-186,-208,-188,-204},{-175,-147,-164,-206,-191,-220},{-155,-172,-186,-147,-153,-172},{-168,-193,-206,-183,-206,-157},{-155,-181,-182,-150,-162,-229},{-163,-150,-186,-152,-191,-176},{-168,-140,-140,-143,-212,-201},{-155,-154,-186,-208,-188,-172},{-190,-198,-163,-154,-162,-199},{-158,-177,-203,-181,-201,-218},{-183,-161,-210,-175,-169,-181}},{{-232,-215,-217,-265,-185,-248},{-222,-232,-211,-181,-273,-252},{-162,-211,-211,-239,-245,-255},{-176,-211,-179,-197,-256,-214},{-208,-178,-253,-225,-247,-233},{-172,-213,-217,-186,-204,-257},{-168,-215,-217,-188,-270,-245},{-180,-234,-209,-201,-254,-221},{-214,-238,-222,-265,-229,-236},{-228,-230,-190,-177,-197,-238},{-192,-201,-175,-223,-218,-212},{-230,-207,-241,-261,-250,-248},{-174,-187,-190,-228,-185,-200},{-220,-182,-181,-234,-183,-238},{-208,-187,-196,-228,-211,-264},{-194,-234,-196,-181,-231,-257},{-158,-191,-230,-252,-234,-248},{-162,-207,-173,-210,-238,-250},{-184,-246,-213,-250,-220,-228},{-200,-197,-219,-223,-206,-245}},{{-225,-214,-272,-216,-241,-235},{-210,-235,-252,-265,-330,-249},{-203,-288,-223,-273,-288,-238},{-282,-207,-231,-227,-263,-320},{-212,-232,-280,-254,-330,-241},{-291,-245,-314,-262,-310,-294},{-257,-265,-293,-305,-288,-238},{-245,-296,-215,-316,-241,-325},{-222,-240,-241,-248,-330,-241},{-198,-286,-312,-305,-258,-289},{-232,-255,-267,-310,-332,-337},{-225,-237,-225,-267,-222,-323},{-289,-286,-280,-273,-305,-289},{-247,-217,-233,-265,-241,-243},{-272,-217,-286,-251,-283,-232},{-287,-296,-304,-289,-271,-280},{-287,-245,-293,-294,-291,-269},{-287,-252,-275,-240,-321,-260},{-198,-258,-270,-243,-305,-263},{-272,-306,-233,-246,-288,-331}},{{-234,-256,-277,-349,-349,-313},{-324,-247,-337,-298,-256,-328},{-321,-253,-301,-265,-337,-301},{-277,-318,-313,-247,-241,-268},{-332,-247,-280,-352,-295,-331},{-335,-262,-349,-334,-256,-304},{-260,-238,-286,-343,-298,-244},{-289,-312,-271,-358,-346,-247},{-324,-259,-334,-268,-262,-259},{-289,-315,-349,-253,-268,-337},{-295,-247,-349,-310,-316,-343},{-329,-329,-262,-343,-304,-277},{-286,-265,-328,-316,-286,-328},{-295,-273,-349,-256,-268,-253},{-260,-282,-262,-244,-295,-310},{-344,-253,-268,-298,-250,-241},{-298,-241,-262,-301,-346,-253},{-249,-268,-271,-274,-346,-280},{-246,-279,-268,-262,-349,-241},{-243,-315,-334,-262,-268,-277}},{{-349,-322,-322,-276,-256,-290},{-328,-316,-337,-297,-320,-290},{-343,-277,-244,-267,-344,-232},{-289,-361,-301,-303,-268,-310},{-241,-346,-295,-339,-294,-336},{-295,-307,-331,-267,-235,-249},{-343,-361,-268,-339,-265,-273},{-331,-349,-361,-276,-268,-278},{-295,-292,-268,-264,-279,-322},{-349,-271,-307,-360,-341,-238},{-307,-328,-253,-300,-253,-316},{-289,-358,-274,-270,-265,-313},{-301,-331,-292,-291,-306,-325},{-358,-325,-298,-327,-297,-304},{-349,-331,-328,-309,-309,-334},{-283,-241,-292,-306,-244,-255},{-322,-298,-262,-258,-244,-258},{-268,-295,-301,-330,-253,-284},{-328,-256,-295,-333,-335,-270},{-325,-328,-346,-327,-279,-284}},{{-256,-237,-301,-253,-205,-208},{-291,-268,-228,-243,-241,-285},{-268,-232,-260,-290,-305,-208},{-228,-279,-322,-230,-207,-223},{-256,-237,-325,-256,-253,-206},{-279,-332,-220,-280,-261,-246},{-316,-265,-317,-238,-305,-283},{-302,-248,-228,-306,-253,-285},{-294,-248,-285,-293,-225,-298},{-291,-265,-260,-259,-220,-258},{-342,-232,-225,-240,-256,-246},{-231,-229,-228,-293,-251,-226},{-299,-315,-220,-275,-305,-241},{-285,-254,-255,-238,-276,-213},{-259,-246,-217,-314,-292,-270},{-328,-287,-249,-232,-297,-201},{-268,-279,-274,-259,-271,-213},{-231,-223,-301,-298,-241,-206},{-319,-285,-222,-248,-271,-228},{-328,-248,-225,-261,-210,-213}},{{-286,-258,-250,-206,-224,-213},{-211,-213,-239,-221,-193,-191},{-266,-251,-183,-174,-184,-233},{-216,-253,-265,-258,-168,-195},{-242,-220,-254,-221,-221,-187},{-197,-188,-201,-254,-215,-165},{-216,-274,-223,-245,-217,-237},{-216,-276,-214,-258,-215,-205},{-223,-218,-212,-189,-242,-239},{-223,-225,-178,-185,-180,-227},{-281,-200,-241,-234,-184,-219},{-264,-271,-207,-254,-199,-237},{-199,-206,-241,-176,-230,-213},{-226,-209,-232,-226,-184,-233},{-286,-239,-254,-181,-219,-177},{-288,-269,-185,-198,-186,-189},{-223,-186,-183,-224,-234,-215},{-281,-251,-234,-183,-172,-195},{-223,-190,-239,-178,-234,-163},{-259,-276,-192,-224,-172,-219}},{{-177,-179,-168,-168,-181,-175},{-198,-177,-156,-161,-157,-183},{-157,-192,-156,-189,-144,-188},{-215,-219,-214,-210,-149,-202},{-211,-193,-185,-187,-159,-160},{-159,-206,-208,-152,-205,-143},{-192,-186,-212,-208,-181,-193},{-163,-171,-165,-140,-137,-156},{-217,-164,-206,-184,-139,-138},{-165,-190,-167,-164,-176,-139},{-186,-179,-168,-196,-197,-198},{-175,-153,-150,-203,-150,-193},{-182,-156,-203,-172,-195,-170},{-204,-221,-179,-205,-159,-175},{-157,-156,-152,-156,-197,-148},{-157,-208,-210,-172,-190,-156},{-190,-164,-181,-198,-202,-151},{-225,-206,-150,-173,-150,-193},{-221,-221,-161,-205,-174,-171},{-180,-162,-185,-161,-157,-173}},{{-192,-168,-144,-171,-197,-168},{-163,-156,-180,-170,-192,-176},{-156,-155,-163,-136,-202,-153},{-198,-155,-176,-143,-186,-148},{-180,-141,-163,-202,-158,-155},{-153,-163,-138,-148,-186,-141},{-202,-168,-202,-160,-136,-186},{-170,-181,-153,-188,-150,-183},{-193,-170,-170,-170,-151,-202},{-166,-158,-193,-200,-200,-143},{-180,-202,-139,-148,-202,-200},{-136,-195,-171,-202,-156,-186},{-136,-148,-139,-136,-155,-183},{-158,-161,-163,-181,-171,-188},{-176,-176,-176,-138,-134,-143},{-163,-163,-144,-150,-143,-186},{-165,-158,-151,-161,-134,-197},{-155,-160,-158,-192,-139,-192},{-153,-202,-158,-153,-150,-143},{-163,-188,-156,-146,-176,-155}}},{{{-342,-316,-280,-303,-339,-273},{-339,-352,-263,-266,-395,-345},{-276,-273,-283,-290,-299,-309},{-368,-349,-352,-362,-382,-329},{-372,-276,-283,-299,-322,-296},{-326,-332,-290,-372,-306,-388},{-309,-365,-332,-332,-316,-375},{-329,-385,-273,-365,-329,-303},{-306,-392,-303,-280,-355,-319},{-276,-313,-263,-280,-378,-345},{-293,-382,-263,-313,-309,-266},{-339,-306,-332,-382,-345,-283},{-313,-355,-316,-263,-273,-280},{-270,-290,-266,-273,-299,-395},{-306,-336,-392,-270,-352,-306},{-342,-375,-336,-296,-266,-273},{-293,-276,-349,-286,-322,-270},{-299,-266,-395,-329,-395,-368},{-299,-349,-313,-316,-263,-362},{-352,-280,-322,-385,-276,-299}},{{-354,-267,-360,-339,-326,-295},{-361,-341,-313,-377,-351,-331},{-298,-332,-313,-286,-330,-361},{-394,-319,-306,-367,-345,-268},{-341,-270,-383,-267,-320,-322},{-354,-354,-332,-339,-348,-346},{-282,-345,-287,-314,-249,-268},{-269,-380,-255,-339,-333,-241},{-308,-283,-265,-355,-262,-343},{-341,-277,-258,-261,-268,-352},{-305,-361,-290,-377,-271,-244},{-344,-374,-297,-361,-323,-241},{-367,-383,-278,-289,-367,-304},{-266,-264,-380,-292,-259,-295},{-331,-348,-370,-371,-354,-241},{-321,-370,-309,-361,-370,-310},{-371,-361,-255,-295,-290,-340},{-354,-287,-265,-364,-363,-361},{-380,-267,-303,-273,-336,-334},{-262,-274,-332,-257,-360,-358}},{{-239,-302,-274,-283,-294,-257},{-295,-300,-300,-291,-249,-296},{-330,-288,-280,-248,-231,-308},{-348,-305,-230,-294,-270,-275},{-298,-317,-224,-226,-318,-298},{-268,-320,-322,-231,-318,-257},{-277,-242,-255,-275,-284,-278},{-248,-236,-300,-242,-310,-213},{-257,-239,-336,-302,-292,-234},{-248,-239,-269,-256,-268,-224},{-239,-230,-232,-228,-289,-285},{-354,-256,-232,-318,-244,-213},{-245,-230,-224,-253,-236,-252},{-257,-279,-336,-280,-254,-283},{-313,-305,-297,-296,-265,-293},{-236,-256,-263,-258,-294,-226},{-351,-230,-246,-307,-284,-224},{-307,-265,-272,-256,-305,-288},{-333,-288,-291,-321,-236,-267},{-254,-253,-280,-248,-212,-262}},{{-210,-236,-190,-196,-199,-188},{-228,-197,-256,-270,-228,-175},{-225,-260,-223,-199,-267,-247},{-270,-226,-192,-224,-262,-237},{-278,-289,-232,-261,-237,-239},{-280,-262,-232,-224,-264,-197},{-208,-255,-273,-217,-211,-177},{-202,-272,-237,-247,-220,-217},{-252,-284,-192,-219,-260,-239},{-222,-265,-268,-233,-228,-215},{-290,-292,-192,-256,-199,-245},{-255,-260,-244,-213,-253,-232},{-205,-282,-199,-208,-224,-263},{-255,-219,-244,-210,-228,-263},{-255,-255,-218,-208,-233,-228},{-272,-214,-228,-243,-231,-177},{-202,-209,-242,-219,-199,-243},{-250,-194,-239,-222,-251,-245},{-210,-194,-270,-224,-255,-204},{-272,-211,-218,-249,-244,-193}},{{-237,-231,-191,-235,-187,-176},{-247,-233,-229,-248,-220,-187},{-193,-231,-218,-174,-214,-208},{-195,-202,-250,-239,-220,-248},{-241,-191,-168,-202,-214,-229},{-176,-229,-218,-185,-191,-252},{-217,-202,-235,-250,-235,-244},{-189,-244,-223,-250,-237,-250},{-241,-233,-183,-208,-237,-189},{-182,-204,-248,-193,-246,-170},{-245,-214,-216,-227,-246,-246},{-234,-187,-202,-202,-229,-174},{-228,-214,-185,-202,-200,-197},{-202,-210,-174,-241,-235,-248},{-256,-191,-202,-225,-218,-216},{-193,-233,-204,-220,-208,-223},{-250,-231,-210,-193,-181,-185},{-247,-229,-174,-206,-229,-185},{-260,-202,-235,-218,-218,-248},{-204,-172,-227,-210,-195,-172}},{{-191,-235,-169,-254,-249,-198},{-235,-191,-184,-221,-183,-261},{-206,-210,-190,-215,-257,-187},{-244,-220,-232,-187,-251,-248},{-174,-181,-230,-176,-231,-243},{-195,-185,-226,-260,-176,-266},{-244,-193,-173,-234,-187,-241},{-168,-195,-192,-180,-260,-194},{-206,-227,-228,-189,-229,-261},{-246,-231,-184,-258,-227,-209},{-237,-178,-194,-189,-233,-202},{-241,-227,-249,-200,-229,-254},{-216,-181,-249,-210,-198,-205},{-239,-225,-222,-187,-189,-220},{-229,-183,-249,-250,-262,-223},{-191,-176,-215,-200,-238,-180},{-204,-193,-245,-260,-240,-189},{-225,-202,-217,-226,-235,-182},{-197,-227,-217,-202,-242,-189},{-218,-246,-224,-195,-264,-182}},{{-273,-211,-237,-211,-224,-295},{-270,-220,-212,-208,-284,-218},{-226,-206,-220,-271,-232,-223},{-226,-237,-234,-271,-263,-239},{-196,-209,-207,-241,-209,-314},{-231,-190,-266,-251,-219,-303},{-261,-194,-249,-296,-310,-237},{-261,-197,-254,-201,-240,-317},{-256,-213,-195,-216,-281,-263},{-194,-263,-207,-203,-299,-263},{-192,-256,-285,-256,-281,-221},{-252,-204,-246,-299,-219,-269},{-192,-284,-276,-256,-232,-221},{-236,-265,-276,-243,-268,-277},{-261,-192,-293,-221,-209,-234},{-233,-228,-276,-281,-245,-261},{-243,-197,-288,-286,-299,-293},{-206,-242,-246,-296,-232,-221},{-206,-254,-210,-266,-227,-282},{-238,-268,-198,-274,-266,-293}},{{-277,-278,-283,-299,-353,-317},{-304,-306,-289,-329,-281,-249},{-255,-281,-344,-237,-329,-345},{-249,-275,-246,-240,-332,-323},{-329,-301,-329,-269,-332,-262},{-304,-295,-243,-305,-308,-326},{-282,-225,-303,-269,-302,-286},{-247,-247,-338,-263,-332,-342},{-323,-250,-309,-349,-338,-262},{-271,-332,-243,-334,-362,-262},{-307,-273,-260,-296,-257,-308},{-269,-306,-269,-311,-338,-354},{-266,-281,-329,-329,-257,-370},{-274,-309,-286,-287,-242,-293},{-326,-261,-269,-302,-320,-363},{-263,-306,-254,-320,-296,-363},{-318,-295,-269,-302,-269,-280},{-279,-264,-257,-314,-323,-262},{-230,-320,-269,-275,-251,-302},{-329,-233,-318,-296,-338,-274}},{{-309,-346,-328,-266,-372,-273},{-290,-336,-261,-326,-280,-329},{-299,-282,-309,-306,-352,-299},{-353,-326,-383,-296,-290,-270},{-362,-371,-303,-342,-378,-332},{-350,-266,-322,-349,-306,-336},{-350,-288,-380,-378,-293,-326},{-309,-381,-386,-395,-382,-365},{-265,-339,-312,-355,-276,-395},{-261,-304,-364,-313,-359,-359},{-353,-374,-261,-270,-309,-339},{-271,-336,-283,-263,-375,-382},{-331,-282,-270,-375,-266,-382},{-369,-362,-332,-296,-372,-280},{-334,-352,-303,-276,-316,-313},{-277,-298,-270,-339,-306,-385},{-255,-262,-270,-368,-352,-263},{-306,-266,-296,-270,-280,-368},{-255,-304,-303,-382,-303,-329},{-309,-381,-274,-273,-352,-280}}},{{{-92,-110,-127,-109,-116,-114},{-93,-119,-108,-138,-105,-106},{-87,-87,-118,-135,-115,-136},{-124,-86,-119,-111,-122,-132},{-88,-96,-112,-124,-118,-124},{-94,-116,-119,-104,-102,-154},{-110,-110,-101,-128,-143,-142},{-98,-111,-122,-116,-129,-104},{-92,-109,-110,-116,-132,-138},{-98,-114,-103,-136,-142,-134},{-105,-117,-102,-138,-138,-140},{-125,-127,-122,-140,-128,-118},{-114,-112,-118,-115,-124,-136},{-121,-90,-127,-112,-145,-108},{-84,-87,-121,-115,-142,-140},{-111,-122,-120,-106,-102,-152},{-112,-87,-116,-115,-135,-125},{-96,-117,-93,-104,-104,-122},{-125,-100,-111,-102,-138,-123},{-122,-118,-127,-116,-140,-127}},{{-138,-144,-169,-157,-193,-166},{-115,-161,-178,-161,-188,-144},{-115,-155,-133,-174,-182,-168},{-154,-117,-132,-163,-182,-186},{-128,-162,-152,-155,-177,-171},{-115,-142,-145,-180,-140,-139},{-112,-117,-145,-152,-147,-158},{-113,-125,-126,-155,-142,-176},{-120,-144,-135,-144,-167,-143},{-126,-166,-124,-175,-172,-139},{-162,-137,-145,-177,-180,-153},{-117,-121,-167,-149,-184,-180},{-109,-145,-178,-136,-192,-136},{-142,-133,-145,-158,-177,-181},{-134,-116,-149,-177,-134,-153},{-119,-166,-148,-175,-151,-136},{-111,-120,-154,-152,-169,-197},{-136,-133,-121,-143,-142,-134},{-123,-124,-170,-181,-172,-173},{-158,-159,-120,-172,-187,-192}},{{-166,-175,-190,-192,-221,-220},{-198,-175,-188,-203,-188,-204},{-175,-167,-203,-169,-176,-228},{-205,-160,-158,-217,-180,-206},{-149,-148,-177,-156,-225,-186},{-154,-180,-221,-154,-161,-214},{-163,-185,-160,-163,-220,-236},{-208,-202,-154,-167,-200,-212},{-150,-207,-221,-158,-218,-226},{-154,-209,-167,-194,-227,-180},{-150,-153,-203,-226,-198,-172},{-154,-167,-167,-158,-161,-224},{-173,-162,-162,-158,-190,-168},{-206,-167,-180,-182,-221,-176},{-194,-171,-167,-218,-218,-220},{-206,-144,-158,-175,-210,-198},{-201,-196,-216,-200,-227,-236},{-168,-149,-184,-186,-167,-236},{-154,-185,-175,-224,-161,-216},{-170,-164,-218,-156,-184,-232}},{{-175,-175,-221,-197,-244,-191},{-175,-207,-185,-193,-215,-225},{-173,-175,-166,-207,-166,-242},{-175,-195,-199,-193,-223,-175},{-221,-183,-203,-175,-238,-213},{-168,-221,-183,-209,-185,-227},{-185,-183,-233,-215,-225,-223},{-207,-209,-168,-235,-221,-242},{-179,-213,-219,-205,-227,-211},{-231,-168,-205,-209,-162,-162},{-164,-175,-207,-175,-201,-211},{-191,-240,-183,-213,-193,-225},{-227,-233,-215,-181,-211,-199},{-219,-171,-191,-162,-221,-185},{-240,-193,-211,-187,-166,-207},{-244,-185,-205,-221,-213,-240},{-229,-179,-199,-166,-240,-187},{-164,-195,-221,-242,-223,-175},{-168,-209,-235,-207,-207,-233},{-199,-162,-213,-211,-205,-179}},{{-181,-203,-217,-160,-163,-219},{-187,-215,-236,-181,-166,-184},{-175,-162,-175,-220,-221,-210},{-197,-162,-164,-187,-183,-182},{-201,-201,-223,-179,-159,-178},{-223,-229,-221,-226,-159,-155},{-175,-185,-183,-174,-195,-177},{-201,-181,-227,-160,-214,-155},{-193,-166,-236,-185,-185,-212},{-231,-197,-207,-189,-208,-166},{-244,-201,-173,-176,-227,-166},{-229,-240,-236,-185,-200,-156},{-225,-217,-211,-230,-221,-180},{-242,-175,-219,-176,-176,-173},{-238,-209,-227,-226,-153,-188},{-227,-205,-165,-216,-170,-171},{-183,-240,-183,-218,-159,-156},{-195,-191,-189,-179,-191,-186},{-215,-171,-236,-191,-191,-164},{-227,-240,-201,-230,-176,-164}},{{-186,-147,-139,-166,-127,-122},{-193,-171,-167,-134,-141,-121},{-175,-156,-184,-178,-150,-166},{-209,-192,-187,-170,-125,-135},{-215,-183,-177,-181,-176,-156},{-199,-206,-159,-158,-165,-119},{-159,-185,-195,-187,-177,-166},{-190,-151,-137,-155,-135,-129},{-154,-156,-155,-128,-129,-159},{-192,-192,-189,-184,-174,-138},{-208,-189,-180,-179,-133,-157},{-179,-192,-164,-170,-165,-144},{-184,-190,-190,-170,-127,-134},{-188,-192,-164,-155,-164,-160},{-206,-152,-149,-179,-148,-165},{-166,-149,-200,-141,-158,-134},{-202,-154,-167,-184,-138,-129},{-200,-189,-187,-160,-165,-140},{-165,-140,-137,-154,-156,-175},{-143,-147,-147,-147,-122,-150}},{{-120,-118,-146,-106,-102,-103},{-160,-125,-119,-121,-117,-95},{-150,-152,-113,-110,-131,-118},{-122,-152,-147,-122,-138,-114},{-148,-150,-119,-128,-113,-133},{-161,-142,-122,-139,-107,-116},{-146,-118,-145,-138,-139,-133},{-130,-116,-141,-115,-138,-94},{-116,-130,-140,-121,-129,-112},{-129,-122,-130,-103,-138,-134},{-118,-116,-145,-114,-96,-96},{-113,-117,-137,-132,-119,-115},{-132,-157,-126,-97,-132,-99},{-164,-138,-145,-131,-96,-106},{-143,-141,-127,-116,-114,-101},{-147,-154,-133,-145,-119,-129},{-130,-145,-133,-126,-136,-104},{-120,-125,-151,-122,-109,-91},{-168,-153,-142,-121,-116,-119},{-112,-108,-127,-108,-93,-106}},{{-107,-106,-81,-109,-117,-115},{-86,-111,-104,-85,-81,-103},{-109,-96,-85,-94,-117,-118},{-93,-110,-110,-102,-101,-86},{-118,-111,-113,-108,-88,-104},{-124,-115,-87,-113,-109,-88},{-100,-83,-106,-79,-103,-98},{-117,-103,-94,-95,-98,-89},{-125,-103,-111,-97,-113,-80},{-85,-90,-107,-83,-112,-81},{-119,-92,-99,-85,-91,-114},{-110,-99,-101,-84,-92,-82},{-121,-104,-84,-118,-100,-111},{-90,-101,-105,-108,-115,-108},{-123,-101,-88,-110,-103,-78},{-112,-113,-80,-117,-81,-99},{-122,-107,-99,-88,-113,-100},{-106,-112,-90,-83,-91,-106},{-112,-118,-90,-101,-117,-96},{-85,-124,-82,-80,-108,-112}},{{-109,-93,-90,-80,-88,-78},{-106,-107,-113,-107,-100,-113},{-101,-108,-99,-92,-100,-91},{-88,-93,-101,-93,-95,-88},{-100,-90,-103,-95,-78,-104},{-113,-104,-96,-87,-94,-91},{-83,-117,-83,-106,-117,-97},{-90,-102,-83,-104,-83,-118},{-108,-92,-85,-101,-83,-105},{-91,-105,-82,-102,-112,-103},{-101,-108,-78,-114,-108,-87},{-86,-78,-111,-90,-114,-109},{-94,-85,-90,-108,-118,-116},{-95,-99,-116,-90,-110,-98},{-108,-84,-94,-106,-106,-116},{-87,-94,-79,-95,-101,-105},{-96,-104,-112,-83,-80,-88},{-115,-117,-83,-80,-99,-99},{-84,-89,-80,-111,-109,-116},{-97,-110,-81,-118,-85,-81}}},{{{-205,-221,-271,-195,-193,-231},{-200,-198,-231,-198,-248,-286},{-256,-228,-238,-262,-221,-269},{-268,-252,-221,-269,-233,-233},{-198,-283,-252,-190,-259,-259},{-198,-207,-195,-243,-195,-248},{-228,-219,-252,-255,-276,-200},{-207,-257,-207,-257,-198,-274},{-238,-233,-243,-226,-257,-245},{-198,-274,-281,-267,-219,-269},{-247,-264,-274,-217,-281,-226},{-224,-248,-221,-257,-264,-278},{-256,-228,-212,-240,-245,-224},{-268,-271,-198,-205,-238,-252},{-198,-269,-286,-271,-207,-193},{-191,-228,-205,-262,-257,-276},{-221,-274,-283,-224,-259,-202},{-249,-236,-269,-281,-219,-269},{-214,-252,-221,-250,-259,-231},{-261,-281,-264,-286,-248,-240}},{{-226,-233,-233,-199,-249,-206},{-214,-269,-280,-243,-271,-181},{-238,-264,-237,-217,-242,-234},{-250,-238,-190,-192,-258,-188},{-267,-190,-263,-231,-192,-248},{-274,-200,-193,-268,-255,-234},{-198,-240,-237,-270,-185,-212},{-243,-240,-223,-245,-188,-245},{-243,-278,-258,-233,-203,-199},{-262,-259,-235,-270,-258,-181},{-262,-193,-273,-263,-226,-208},{-264,-278,-266,-247,-260,-208},{-190,-278,-247,-240,-269,-261},{-200,-228,-277,-263,-264,-252},{-202,-238,-275,-219,-260,-250},{-259,-252,-263,-206,-255,-223},{-245,-224,-228,-224,-199,-183},{-243,-262,-228,-273,-194,-181},{-274,-283,-226,-270,-183,-265},{-257,-276,-242,-273,-240,-190}},{{-183,-234,-180,-187,-174,-207},{-249,-228,-182,-226,-198,-196},{-256,-169,-186,-166,-193,-166},{-178,-207,-234,-176,-202,-166},{-196,-167,-224,-158,-189,-160},{-224,-199,-224,-232,-178,-176},{-226,-209,-204,-185,-174,-157},{-196,-230,-220,-201,-194,-216},{-194,-251,-228,-207,-211,-198},{-202,-186,-218,-215,-221,-166},{-213,-236,-204,-209,-208,-180},{-219,-190,-224,-156,-211,-211},{-230,-213,-176,-228,-208,-182},{-241,-201,-178,-168,-174,-203},{-243,-215,-184,-181,-211,-203},{-237,-194,-204,-189,-189,-153},{-189,-167,-200,-207,-159,-191},{-243,-169,-236,-158,-178,-146},{-232,-186,-190,-160,-163,-184},{-215,-211,-226,-215,-170,-171}},{{-203,-163,-188,-128,-168,-117},{-165,-150,-179,-154,-160,-119},{-146,-175,-141,-134,-134,-144},{-187,-163,-170,-154,-164,-152},{-182,-177,-184,-136,-163,-142},{-163,-162,-173,-122,-134,-123},{-205,-167,-182,-141,-160,-150},{-187,-196,-140,-124,-127,-139},{-160,-193,-138,-135,-130,-131},{-163,-147,-141,-160,-128,-155},{-174,-191,-148,-169,-170,-157},{-203,-198,-154,-154,-125,-164},{-148,-193,-155,-168,-140,-132},{-200,-191,-159,-138,-156,-112},{-141,-198,-179,-159,-150,-155},{-184,-172,-163,-123,-131,-146},{-174,-157,-127,-156,-138,-163},{-191,-180,-179,-135,-148,-166},{-203,-175,-188,-126,-148,-121},{-194,-148,-127,-168,-124,-156}},{{-126,-106,-102,-142,-140,-119},{-116,-117,-119,-117,-102,-142},{-152,-103,-107,-118,-104,-143},{-157,-150,-123,-123,-108,-121},{-132,-120,-123,-123,-106,-112},{-158,-122,-119,-98,-125,-127},{-142,-103,-135,-138,-123,-117},{-154,-125,-146,-132,-105,-133},{-140,-147,-100,-115,-129,-137},{-160,-137,-113,-114,-118,-113},{-133,-110,-122,-142,-120,-119},{-144,-106,-120,-112,-118,-127},{-136,-108,-110,-130,-108,-127},{-133,-142,-134,-139,-134,-125},{-134,-113,-103,-100,-101,-114},{-126,-111,-131,-121,-125,-130},{-137,-139,-110,-130,-143,-129},{-124,-145,-143,-120,-133,-104},{-153,-141,-131,-132,-108,-134},{-117,-122,-102,-109,-143,-95}},{{-95,-123,-104,-131,-126,-107},{-104,-96,-140,-99,-106,-135},{-113,-125,-133,-119,-98,-101},{-108,-117,-117,-143,-135,-125},{-118,-129,-112,-100,-144,-126},{-136,-143,-102,-117,-99,-127},{-138,-120,-112,-98,-120,-107},{-130,-136,-121,-131,-133,-150},{-142,-114,-113,-107,-139,-101},{-98,-133,-102,-109,-122,-127},{-119,-109,-134,-114,-145,-137},{-143,-130,-107,-120,-145,-139},{-138,-121,-114,-106,-137,-135},{-104,-126,-100,-120,-98,-118},{-105,-143,-118,-130,-110,-135},{-113,-99,-114,-123,-134,-118},{-137,-139,-119,-143,-109,-147},{-132,-137,-101,-111,-129,-107},{-108,-105,-118,-133,-139,-120},{-100,-125,-140,-131,-126,-106}},{{-141,-121,-113,-152,-169,-185},{-121,-155,-123,-155,-157,-162},{-113,-140,-148,-163,-161,-152},{-138,-114,-141,-123,-157,-194},{-119,-112,-118,-136,-130,-191},{-136,-155,-131,-118,-158,-186},{-119,-136,-113,-123,-130,-134},{-151,-152,-131,-149,-140,-156},{-135,-163,-149,-127,-174,-131},{-111,-136,-149,-133,-169,-167},{-122,-116,-127,-142,-153,-143},{-128,-125,-114,-123,-143,-167},{-143,-154,-154,-167,-135,-154},{-106,-147,-133,-172,-169,-185},{-122,-128,-138,-169,-150,-162},{-147,-128,-125,-138,-143,-185},{-110,-118,-154,-163,-158,-191},{-126,-146,-168,-135,-174,-131},{-114,-136,-164,-173,-160,-173},{-138,-139,-133,-126,-147,-181}},{{-136,-165,-157,-177,-223,-187},{-202,-156,-157,-204,-173,-218},{-197,-147,-181,-217,-229,-204},{-156,-165,-196,-223,-191,-216},{-184,-143,-218,-165,-213,-225},{-187,-156,-211,-204,-177,-190},{-143,-149,-174,-194,-219,-206},{-170,-158,-191,-228,-181,-171},{-155,-179,-166,-169,-207,-165},{-150,-156,-198,-167,-219,-245},{-156,-204,-179,-230,-165,-235},{-177,-154,-185,-213,-177,-247},{-141,-154,-178,-167,-203,-220},{-195,-179,-176,-159,-173,-235},{-148,-152,-198,-161,-205,-210},{-143,-156,-222,-227,-221,-183},{-202,-175,-159,-175,-159,-216},{-136,-196,-187,-182,-163,-206},{-204,-188,-155,-209,-161,-218},{-153,-168,-187,-163,-193,-177}},{{-211,-201,-193,-259,-219,-259},{-222,-195,-240,-247,-203,-247},{-207,-230,-269,-224,-249,-233},{-183,-191,-269,-189,-215,-261},{-209,-206,-242,-263,-224,-224},{-194,-182,-267,-213,-243,-236},{-228,-191,-244,-270,-263,-224},{-187,-206,-199,-277,-261,-199},{-194,-180,-260,-226,-261,-199},{-243,-204,-208,-192,-245,-233},{-185,-182,-244,-213,-196,-199},{-170,-230,-188,-245,-199,-187},{-192,-241,-228,-245,-270,-240},{-198,-241,-206,-203,-236,-208},{-247,-191,-188,-219,-275,-268},{-198,-206,-267,-203,-215,-252},{-194,-210,-226,-254,-259,-203},{-241,-258,-224,-224,-270,-240},{-232,-245,-251,-275,-275,-233},{-187,-219,-213,-263,-263,-261}}},{{{-279,-253,-213,-245,-290,-258},{-237,-290,-239,-218,-247,-309},{-226,-271,-282,-263,-234,-285},{-226,-266,-215,-253,-274,-271},{-213,-298,-239,-231,-250,-218},{-258,-261,-258,-213,-250,-229},{-282,-301,-226,-223,-269,-317},{-306,-237,-282,-239,-255,-234},{-258,-237,-226,-239,-287,-221},{-213,-242,-237,-223,-301,-223},{-306,-263,-282,-317,-253,-261},{-237,-218,-311,-306,-213,-239},{-266,-245,-234,-282,-282,-277},{-215,-245,-298,-247,-293,-309},{-287,-213,-277,-317,-301,-282},{-266,-303,-242,-285,-298,-218},{-311,-277,-223,-221,-242,-314},{-261,-218,-237,-293,-303,-317},{-253,-229,-287,-253,-301,-218},{-274,-239,-287,-301,-258,-274}},{{-226,-303,-277,-255,-291,-262},{-311,-271,-274,-298,-280,-220},{-269,-250,-253,-309,-233,-269},{-317,-245,-285,-218,-280,-272},{-261,-253,-285,-303,-314,-218},{-221,-247,-242,-287,-265,-287},{-269,-242,-253,-306,-212,-267},{-319,-277,-253,-226,-259,-210},{-245,-242,-226,-253,-288,-306},{-231,-301,-274,-309,-244,-212},{-309,-311,-239,-213,-246,-300},{-306,-223,-250,-250,-293,-259},{-279,-285,-255,-306,-236,-231},{-287,-295,-266,-314,-291,-262},{-277,-215,-261,-266,-215,-298},{-269,-311,-274,-245,-270,-210},{-215,-266,-223,-303,-309,-236},{-319,-261,-239,-269,-296,-218},{-218,-290,-255,-229,-231,-293},{-311,-285,-306,-223,-299,-290}},{{-290,-268,-267,-275,-277,-280},{-228,-223,-202,-216,-245,-231},{-300,-281,-257,-298,-198,-207},{-269,-207,-212,-246,-252,-205},{-306,-278,-295,-265,-230,-222},{-238,-278,-282,-206,-228,-219},{-207,-243,-302,-273,-240,-219},{-238,-223,-275,-238,-213,-236},{-207,-304,-232,-293,-292,-260},{-262,-276,-290,-203,-230,-251},{-306,-293,-257,-250,-220,-275},{-269,-240,-209,-218,-238,-277},{-280,-291,-209,-231,-235,-277},{-262,-271,-267,-203,-228,-260},{-223,-225,-209,-211,-235,-231},{-275,-296,-255,-213,-257,-214},{-241,-235,-275,-206,-250,-212},{-238,-223,-277,-293,-230,-214},{-210,-248,-222,-231,-196,-198},{-290,-296,-204,-213,-223,-224}},{{-283,-207,-194,-264,-195,-190},{-221,-249,-199,-260,-253,-242},{-255,-209,-194,-251,-240,-199},{-219,-190,-268,-191,-188,-181},{-269,-266,-256,-253,-258,-253},{-193,-195,-266,-235,-242,-226},{-224,-261,-201,-216,-237,-262},{-248,-254,-229,-198,-179,-258},{-202,-254,-219,-205,-213,-233},{-281,-212,-185,-271,-206,-204},{-250,-226,-206,-216,-193,-211},{-240,-214,-266,-216,-235,-237},{-286,-280,-213,-228,-228,-249},{-236,-190,-238,-258,-206,-242},{-195,-263,-194,-191,-255,-260},{-224,-277,-206,-235,-197,-208},{-190,-207,-224,-244,-240,-222},{-205,-242,-201,-189,-246,-188},{-202,-266,-213,-207,-220,-249},{-209,-261,-194,-248,-240,-244}},{{-251,-178,-210,-230,-213,-195},{-242,-176,-221,-219,-174,-191},{-249,-189,-221,-254,-200,-182},{-198,-243,-258,-243,-237,-197},{-178,-219,-182,-260,-174,-193},{-242,-228,-258,-219,-215,-219},{-211,-243,-187,-206,-241,-208},{-213,-258,-252,-226,-256,-215},{-218,-213,-193,-204,-215,-254},{-233,-245,-239,-208,-184,-228},{-244,-241,-260,-189,-226,-217},{-180,-226,-232,-258,-200,-202},{-233,-224,-210,-224,-182,-254},{-242,-247,-232,-191,-245,-226},{-233,-208,-182,-189,-217,-191},{-198,-250,-195,-241,-237,-219},{-257,-237,-224,-189,-189,-195},{-238,-215,-260,-217,-230,-208},{-233,-228,-189,-215,-239,-219},{-249,-219,-191,-260,-200,-243}},{{-184,-200,-219,-260,-182,-252},{-237,-221,-184,-219,-230,-195},{-237,-226,-226,-254,-193,-193},{-200,-230,-219,-258,-230,-232},{-228,-189,-184,-180,-187,-234},{-219,-182,-215,-197,-178,-178},{-215,-221,-176,-193,-191,-184},{-180,-252,-208,-243,-260,-195},{-252,-226,-252,-208,-204,-243},{-193,-208,-197,-206,-256,-206},{-237,-226,-215,-176,-189,-230},{-191,-243,-219,-232,-228,-217},{-178,-195,-191,-237,-237,-247},{-258,-215,-184,-230,-208,-237},{-221,-226,-204,-226,-228,-260},{-187,-180,-210,-230,-245,-197},{-206,-241,-176,-206,-176,-258},{-256,-241,-204,-258,-189,-247},{-204,-254,-228,-232,-241,-215},{-176,-252,-228,-228,-234,-215}},{{-203,-188,-244,-186,-196,-188},{-179,-199,-253,-218,-189,-235},{-236,-224,-220,-196,-224,-212},{-210,-199,-235,-258,-252,-277},{-256,-249,-224,-244,-270,-207},{-248,-251,-260,-274,-229,-275},{-239,-224,-186,-242,-222,-219},{-239,-246,-233,-274,-268,-207},{-177,-217,-193,-244,-203,-261},{-214,-233,-181,-269,-273,-273},{-221,-233,-246,-258,-222,-275},{-206,-264,-224,-235,-222,-216},{-252,-202,-220,-193,-231,-223},{-230,-260,-199,-251,-252,-235},{-177,-190,-222,-271,-270,-188},{-214,-253,-233,-246,-249,-258},{-201,-186,-217,-228,-185,-221},{-261,-217,-251,-251,-206,-273},{-212,-193,-267,-253,-222,-223},{-265,-199,-222,-271,-192,-219}},{{-262,-290,-287,-231,-232,-233},{-198,-271,-240,-270,-217,-304},{-255,-244,-243,-260,-234,-202},{-281,-198,-218,-275,-242,-304},{-264,-278,-255,-278,-257,-220},{-269,-261,-257,-290,-239,-218},{-217,-281,-233,-255,-237,-258},{-252,-240,-211,-223,-257,-202},{-252,-276,-211,-211,-270,-235},{-245,-194,-228,-203,-285,-235},{-200,-283,-218,-250,-275,-230},{-238,-203,-228,-233,-219,-215},{-274,-201,-272,-208,-232,-205},{-264,-271,-198,-238,-272,-283},{-190,-244,-287,-255,-212,-273},{-257,-196,-289,-228,-297,-296},{-286,-196,-233,-201,-204,-240},{-217,-203,-220,-238,-212,-268},{-281,-235,-216,-273,-239,-263},{-248,-235,-230,-208,-295,-288}},{{-228,-233,-288,-218,-306,-237},{-282,-282,-312,-311,-311,-277},{-231,-210,-244,-293,-231,-237},{-233,-220,-265,-277,-215,-261},{-295,-303,-262,-306,-250,-274},{-225,-256,-244,-311,-314,-266},{-218,-259,-257,-277,-311,-239},{-215,-233,-257,-231,-255,-285},{-231,-207,-254,-317,-253,-226},{-254,-285,-223,-215,-309,-266},{-303,-254,-262,-218,-223,-250},{-241,-207,-278,-290,-279,-319},{-251,-243,-252,-274,-242,-215},{-238,-262,-259,-231,-215,-245},{-311,-238,-304,-293,-285,-282},{-249,-225,-291,-271,-285,-295},{-308,-290,-307,-287,-269,-231},{-308,-241,-212,-295,-250,-237},{-225,-306,-254,-221,-250,-221},{-298,-280,-254,-245,-314,-303}}},{{{-268,-298,-241,-265,-277,-317},{-307,-271,-304,-319,-253,-281},{-286,-328,-334,-307,-334,-355},{-298,-241,-334,-328,-244,-314},{-319,-304,-244,-358,-307,-290},{-334,-265,-295,-301,-355,-340},{-358,-313,-349,-241,-313,-334},{-304,-271,-301,-262,-244,-296},{-328,-295,-304,-358,-355,-334},{-325,-343,-271,-262,-346,-326},{-340,-289,-304,-292,-340,-275},{-268,-337,-274,-322,-292,-278},{-358,-319,-280,-301,-250,-332},{-352,-358,-253,-301,-322,-263},{-325,-253,-268,-316,-322,-272},{-361,-253,-250,-322,-265,-249},{-322,-241,-304,-319,-313,-308},{-247,-340,-271,-346,-355,-337},{-328,-280,-358,-289,-292,-287},{-262,-325,-289,-313,-328,-317}},{{-278,-344,-255,-322,-307,-288},{-337,-241,-328,-292,-228,-218},{-270,-253,-280,-232,-246,-221},{-255,-310,-252,-268,-220,-231},{-275,-247,-230,-265,-231,-208},{-267,-232,-274,-232,-212,-306},{-255,-293,-302,-319,-212,-283},{-293,-244,-297,-229,-270,-226},{-249,-270,-316,-235,-220,-285},{-337,-276,-266,-276,-276,-208},{-240,-290,-311,-278,-310,-288},{-319,-293,-252,-257,-313,-280},{-319,-230,-288,-221,-286,-293},{-258,-264,-300,-257,-313,-224},{-331,-342,-308,-243,-233,-218},{-349,-310,-252,-287,-265,-234},{-325,-230,-232,-265,-260,-308},{-349,-290,-255,-218,-223,-226},{-255,-273,-266,-325,-231,-283},{-325,-307,-288,-246,-252,-254}},{{-298,-202,-202,-219,-252,-218},{-243,-228,-220,-181,-218,-164},{-198,-209,-192,-223,-184,-204},{-228,-276,-190,-219,-240,-230},{-283,-199,-229,-212,-174,-242},{-208,-223,-188,-214,-178,-162},{-233,-233,-263,-186,-225,-218},{-293,-209,-208,-194,-180,-168},{-231,-206,-273,-259,-248,-220},{-298,-278,-227,-190,-199,-186},{-198,-214,-229,-179,-218,-226},{-246,-262,-238,-221,-229,-210},{-263,-226,-206,-203,-195,-174},{-231,-247,-204,-241,-248,-236},{-233,-254,-213,-190,-242,-228},{-270,-206,-247,-265,-197,-180},{-255,-199,-247,-250,-235,-218},{-221,-194,-222,-265,-189,-236},{-288,-230,-247,-241,-250,-188},{-260,-266,-256,-259,-254,-216}},{{-165,-193,-158,-193,-198,-192},{-229,-182,-171,-182,-161,-134},{-219,-153,-208,-153,-154,-167},{-227,-205,-189,-163,-196,-171},{-169,-221,-169,-182,-164,-184},{-190,-214,-189,-177,-198,-159},{-173,-160,-142,-179,-156,-147},{-208,-219,-178,-146,-143,-177},{-198,-151,-148,-165,-189,-135},{-159,-173,-150,-141,-178,-137},{-211,-208,-212,-186,-138,-137},{-229,-180,-206,-189,-156,-163},{-157,-166,-166,-177,-146,-180},{-167,-205,-148,-174,-166,-190},{-175,-164,-148,-187,-173,-174},{-204,-153,-203,-169,-174,-166},{-227,-167,-160,-170,-188,-188},{-186,-197,-206,-198,-164,-142},{-231,-166,-205,-193,-163,-188},{-196,-186,-146,-157,-169,-132}},{{-176,-185,-126,-157,-136,-156},{-186,-160,-162,-160,-126,-174},{-128,-163,-137,-146,-182,-162},{-151,-169,-149,-165,-163,-154},{-168,-137,-142,-154,-146,-154},{-165,-160,-137,-139,-152,-179},{-158,-143,-137,-166,-143,-136},{-175,-151,-168,-131,-132,-152},{-167,-125,-149,-177,-125,-146},{-140,-142,-131,-125,-183,-132},{-168,-183,-136,-126,-136,-136},{-183,-183,-177,-172,-137,-143},{-133,-176,-125,-177,-142,-185},{-148,-125,-128,-174,-129,-151},{-125,-126,-154,-145,-129,-174},{-154,-128,-160,-143,-182,-172},{-153,-183,-131,-131,-174,-179},{-140,-137,-179,-134,-137,-163},{-147,-157,-146,-148,-126,-140},{-187,-165,-171,-162,-185,-126}},{{-146,-137,-172,-165,-152,-172},{-142,-173,-159,-158,-166,-185},{-123,-151,-130,-168,-144,-150},{-139,-146,-173,-178,-164,-147},{-169,-167,-185,-197,-149,-179},{-149,-157,-152,-146,-173,-145},{-163,-189,-191,-160,-194,-206},{-154,-169,-177,-190,-163,-205},{-165,-169,-147,-197,-180,-156},{-185,-145,-178,-181,-140,-185},{-139,-129,-178,-148,-177,-165},{-142,-156,-167,-198,-170,-215},{-137,-175,-133,-153,-206,-195},{-157,-159,-165,-144,-152,-206},{-179,-172,-191,-163,-178,-177},{-145,-173,-162,-144,-208,-215},{-126,-167,-173,-158,-205,-188},{-160,-157,-173,-181,-177,-201},{-171,-189,-170,-192,-184,-195},{-168,-181,-181,-186,-154,-157}},{{-203,-196,-194,-194,-225,-271},{-215,-212,-235,-209,-248,-278},{-182,-172,-210,-181,-259,-194},{-215,-164,-175,-221,-256,-276},{-217,-234,-216,-178,-234,-220},{-175,-166,-247,-217,-252,-220},{-188,-238,-227,-187,-230,-241},{-198,-158,-169,-234,-268,-260},{-190,-164,-202,-187,-250,-197},{-154,-208,-206,-178,-263,-227},{-217,-210,-222,-181,-259,-218},{-224,-234,-175,-189,-198,-192},{-163,-198,-175,-172,-196,-250},{-169,-172,-179,-176,-214,-204},{-156,-196,-206,-226,-259,-250},{-194,-220,-218,-213,-216,-241},{-175,-210,-212,-191,-187,-276},{-156,-208,-171,-228,-256,-271},{-228,-160,-208,-194,-191,-239},{-186,-222,-241,-228,-245,-213}},{{-207,-202,-209,-247,-268,-243},{-228,-280,-240,-234,-328,-243},{-211,-270,-303,-218,-301,-323},{-202,-242,-219,-304,-243,-280},{-275,-270,-279,-299,-240,-300},{-282,-260,-277,-317,-317,-269},{-219,-247,-243,-256,-232,-260},{-211,-239,-224,-229,-320,-328},{-248,-267,-266,-245,-282,-255},{-226,-217,-271,-288,-293,-306},{-194,-260,-290,-223,-235,-308},{-250,-217,-251,-266,-279,-269},{-211,-287,-214,-317,-320,-255},{-224,-300,-217,-272,-295,-246},{-216,-267,-264,-239,-268,-226},{-228,-255,-284,-247,-259,-238},{-216,-265,-217,-315,-323,-314},{-238,-219,-222,-253,-317,-317},{-282,-244,-313,-299,-306,-300},{-224,-212,-238,-256,-224,-291}},{{-263,-291,-344,-313,-337,-259},{-344,-291,-344,-247,-331,-295},{-341,-294,-254,-289,-256,-355},{-295,-309,-251,-343,-277,-247},{-283,-309,-356,-349,-244,-346},{-243,-323,-338,-256,-352,-241},{-266,-303,-353,-259,-343,-361},{-283,-326,-293,-292,-328,-277},{-240,-241,-359,-313,-328,-307},{-324,-312,-251,-292,-334,-247},{-292,-329,-293,-253,-304,-316},{-289,-253,-290,-241,-286,-292},{-309,-235,-254,-295,-253,-340},{-312,-235,-290,-250,-274,-346},{-312,-341,-347,-355,-244,-256},{-286,-306,-257,-292,-277,-247},{-240,-241,-293,-277,-343,-292},{-275,-259,-239,-334,-355,-286},{-327,-256,-317,-268,-334,-346},{-347,-282,-314,-352,-325,-295}}},{{{-280,-354,-304,-371,-326,-290},{-332,-382,-410,-368,-336,-294},{-301,-406,-329,-378,-399,-416},{-318,-308,-284,-336,-301,-364},{-343,-308,-410,-382,-406,-364},{-280,-385,-346,-354,-298,-284},{-357,-395,-301,-416,-290,-308},{-399,-420,-340,-413,-420,-410},{-364,-420,-402,-340,-395,-329},{-368,-395,-385,-332,-290,-343},{-420,-301,-360,-410,-290,-343},{-340,-360,-364,-360,-357,-378},{-326,-301,-406,-374,-406,-354},{-284,-402,-385,-392,-368,-343},{-357,-389,-371,-304,-368,-354},{-399,-343,-294,-326,-399,-280},{-287,-346,-374,-392,-368,-378},{-340,-378,-382,-371,-399,-385},{-395,-378,-374,-385,-350,-406},{-315,-368,-329,-284,-284,-304}},{{-393,-336,-275,-367,-364,-322},{-411,-312,-336,-274,-371,-357},{-411,-333,-366,-387,-387,-374},{-334,-312,-278,-361,-344,-309},{-278,-298,-383,-284,-272,-377},{-292,-295,-271,-341,-354,-370},{-404,-329,-400,-274,-325,-357},{-414,-278,-292,-387,-394,-290},{-386,-322,-386,-337,-279,-319},{-400,-412,-292,-367,-279,-274},{-414,-285,-329,-294,-315,-299},{-397,-333,-322,-324,-361,-274},{-390,-285,-339,-367,-279,-361},{-351,-295,-329,-314,-279,-299},{-331,-350,-305,-367,-377,-322},{-369,-281,-295,-304,-308,-364},{-285,-364,-336,-271,-292,-258},{-345,-391,-332,-351,-298,-351},{-397,-401,-366,-337,-318,-374},{-289,-295,-325,-351,-354,-296}},{{-318,-317,-354,-316,-314,-292},{-365,-348,-270,-284,-339,-267},{-375,-308,-273,-264,-299,-297},{-375,-351,-303,-234,-333,-256},{-372,-330,-315,-293,-342,-264},{-296,-314,-282,-328,-248,-281},{-378,-290,-351,-340,-342,-292},{-290,-360,-246,-284,-274,-300},{-324,-367,-291,-261,-279,-278},{-258,-339,-333,-261,-314,-264},{-302,-293,-333,-331,-251,-272},{-296,-246,-279,-264,-285,-261},{-318,-311,-348,-261,-316,-320},{-280,-290,-243,-305,-294,-247},{-277,-290,-360,-302,-342,-295},{-375,-290,-246,-352,-239,-234},{-331,-351,-246,-302,-234,-278},{-378,-256,-357,-249,-294,-289},{-324,-326,-348,-311,-319,-236},{-296,-280,-354,-252,-291,-222}},{{-310,-287,-272,-201,-292,-239},{-289,-302,-257,-284,-198,-270},{-319,-260,-275,-223,-274,-239},{-230,-268,-208,-264,-208,-213},{-313,-276,-260,-223,-206,-234},{-324,-274,-298,-256,-292,-251},{-292,-234,-270,-254,-272,-284},{-289,-221,-211,-248,-255,-232},{-289,-276,-308,-241,-262,-263},{-262,-287,-218,-201,-282,-275},{-305,-226,-254,-299,-270,-191},{-308,-313,-270,-279,-289,-237},{-248,-213,-275,-294,-277,-222},{-310,-308,-208,-246,-272,-256},{-313,-279,-262,-281,-243,-206},{-308,-234,-206,-216,-220,-241},{-305,-224,-298,-294,-230,-270},{-246,-300,-260,-241,-216,-196},{-305,-313,-293,-301,-247,-241},{-308,-266,-213,-259,-238,-196}},{{-251,-215,-256,-236,-266,-229},{-246,-215,-215,-201,-224,-243},{-206,-266,-206,-266,-263,-189},{-270,-231,-208,-206,-240,-215},{-209,-219,-243,-226,-247,-261},{-235,-252,-206,-233,-196,-222},{-220,-254,-219,-229,-187,-236},{-277,-196,-226,-268,-236,-261},{-268,-231,-236,-194,-256,-275},{-204,-263,-252,-229,-259,-219},{-237,-208,-243,-210,-243,-229},{-190,-199,-266,-259,-247,-263},{-190,-213,-247,-224,-273,-254},{-194,-268,-217,-254,-233,-229},{-223,-194,-236,-254,-273,-189},{-190,-196,-233,-215,-254,-263},{-251,-238,-226,-224,-217,-240},{-270,-236,-245,-249,-219,-201},{-232,-247,-194,-273,-201,-203},{-194,-213,-254,-222,-208,-261}},{{-217,-261,-261,-209,-211,-268},{-263,-266,-238,-240,-211,-271},{-236,-194,-212,-193,-240,-231},{-231,-231,-277,-221,-203,-276},{-215,-192,-252,-245,-286,-280},{-229,-233,-261,-269,-259,-209},{-192,-233,-205,-248,-194,-253},{-266,-224,-277,-264,-247,-276},{-236,-192,-189,-228,-232,-280},{-233,-240,-224,-286,-237,-251},{-213,-206,-212,-262,-223,-283},{-196,-273,-275,-257,-215,-239},{-226,-215,-259,-224,-240,-221},{-247,-192,-263,-278,-198,-214},{-194,-206,-189,-219,-281,-207},{-275,-245,-268,-245,-261,-276},{-263,-247,-221,-240,-201,-278},{-206,-247,-263,-269,-220,-231},{-261,-185,-226,-198,-259,-212},{-236,-196,-212,-269,-215,-216}},{{-229,-262,-253,-224,-236,-317},{-277,-256,-247,-265,-250,-346},{-270,-246,-303,-311,-295,-236},{-287,-212,-277,-314,-244,-242},{-275,-251,-218,-238,-292,-285},{-244,-264,-266,-227,-225,-343},{-290,-254,-242,-281,-329,-256},{-227,-269,-295,-257,-239,-340},{-219,-267,-293,-287,-337,-305},{-227,-207,-263,-306,-309,-320},{-277,-233,-239,-254,-281,-233},{-237,-277,-229,-227,-225,-242},{-227,-243,-226,-218,-306,-300},{-272,-231,-239,-257,-284,-337},{-280,-308,-226,-248,-332,-294},{-300,-233,-237,-292,-242,-288},{-262,-311,-223,-246,-312,-317},{-204,-207,-239,-276,-228,-340},{-255,-293,-279,-300,-270,-291},{-295,-231,-250,-314,-292,-253}},{{-237,-306,-322,-339,-353,-287},{-240,-258,-372,-368,-301,-271},{-317,-309,-338,-349,-301,-376},{-272,-288,-347,-330,-292,-300},{-299,-255,-326,-327,-318,-310},{-252,-324,-257,-311,-295,-330},{-337,-242,-344,-368,-305,-379},{-326,-245,-356,-355,-327,-389},{-260,-261,-260,-349,-386,-353},{-349,-291,-347,-288,-386,-356},{-258,-291,-338,-292,-360,-333},{-272,-327,-248,-260,-308,-370},{-252,-355,-276,-380,-282,-287},{-311,-273,-273,-282,-389,-264},{-332,-315,-298,-339,-324,-310},{-302,-339,-353,-307,-279,-360},{-314,-318,-372,-292,-298,-363},{-246,-315,-332,-358,-327,-304},{-290,-318,-369,-273,-373,-294},{-329,-318,-307,-260,-266,-340}},{{-286,-331,-279,-343,-399,-413},{-366,-307,-389,-329,-360,-385},{-343,-273,-368,-304,-332,-402},{-333,-372,-341,-343,-284,-371},{-329,-280,-365,-354,-374,-301},{-383,-402,-368,-284,-322,-332},{-316,-290,-330,-395,-284,-420},{-370,-368,-399,-399,-382,-294},{-346,-355,-313,-326,-420,-360},{-296,-276,-282,-304,-416,-294},{-400,-382,-375,-318,-389,-280},{-346,-280,-299,-357,-402,-290},{-329,-409,-382,-392,-304,-304},{-356,-317,-389,-312,-357,-360},{-349,-365,-313,-350,-357,-284},{-376,-368,-334,-318,-374,-399},{-356,-310,-361,-315,-318,-371},{-396,-334,-406,-336,-402,-420},{-289,-290,-286,-287,-402,-413},{-282,-314,-372,-371,-322,-350}}}}; // supply (positive for supply and negative for demand) under different scenarios 
int iniv[I]={1052,192,238,253,176,234,280,264,252}; // initial inventory 
int ubiv[I]={2104,384,476,507,352,468,350,495,504}; // the upper bounds of inventory 
int len[I1][I2]={{5,3,2,2,1,1,2,3}}; // the traveling time between two sites 
// cost parameters: 
double c1[I]={0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0}; // inventory holding cost 
double c2[I]={0.05,13.35,8.59,5.57,4.52,2.83,1.94,4.81,7.57}; // cost of leftover and unmet 
double c3[BN]={0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0}; // transportation cost for capacity contracts 
double c4[I1][I2]={{12.14,7.81,5.06,4.11,2.57,1.76,4.37,6.88}}; // cost of spot market 
// bid parameters: 
int RLBN[I1][I2]={{9,9,9,9,9,9,9,9}}; // number of bids on each arc 
int LBset[I1][I2][LBN]={{{0,1,2,3,4,5,6,7,8},{9,10,11,12,13,14,15,16,17},{18,19,20,21,22,23,24,25,26},{27,28,29,30,31,32,33,34,35},{36,37,38,39,40,41,42,43,44},{45,46,47,48,49,50,51,52,53},{54,55,56,57,58,59,60,61,62},{63,64,65,66,67,68,69,70,71}}}; // set of bids on each arc 
double frt[BN]={9.71,9.71,9.71,8.5,8.5,8.5,7.28,7.28,7.28,6.25,6.25,6.25,5.47,5.47,5.47,4.69,4.69,4.69,4.05,4.05,4.05,3.54,3.54,3.54,3.04,3.04,3.04,3.29,3.29,3.29,2.88,2.88,2.88,2.47,2.47,2.47,2.06,2.06,2.06,1.8,1.8,1.8,1.54,1.54,1.54,1.41,1.41,1.41,1.23,1.23,1.23,1.06,1.06,1.06,3.5,3.5,3.5,3.06,3.06,3.06,2.62,2.62,2.62,5.5,5.5,5.5,4.82,4.82,4.82,4.13,4.13,4.13}; // 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,24,12,9,25,13,8,26,13,9,25,13,9,26,13,9,25,13,9,25,13,9,26,13,9,26,13,9,26,13,9,26,13,9,27,14,9,26,13,9,26,13,9,27,13,9,26,13,9,27,13,9,26,13,9,26,13,9,26,13,9,26,13,9,25,13,9,25,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,1131,1132,1133,1134,1135},{1136,1137,1138,1139,1140,1141,1142,1143,1144}}; // set of shipments in each bid 
int SHsts[SPN]={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,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,1,5,9,13,17,21,25,29,33,37,41,45,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,0,4,8,12,16,20,24,28,32,36,40,44,48,2,8,14,20,26,32,38,44,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,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,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,1,5,9,13,17,21,25,29,33,37,41,45,49,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,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,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,0,4,8,12,16,20,24,28,32,36,40,44,48,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,51,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,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,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,52,0,4,8,12,16,20,24,28,32,36,40,44,48,52,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,51,1,5,9,13,17,21,25,29,33,37,41,45,49,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,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,52,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,2,6,10,14,18,22,26,30,34,38,42,46,50,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,52,1,5,9,13,17,21,25,29,33,37,41,45,49,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,1,5,9,13,17,21,25,29,33,37,41,45,49,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,51,1,5,9,13,17,21,25,29,33,37,41,45,49,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,51,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,0,4,8,12,16,20,24,28,32,36,40,44,48,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,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,0,4,8,12,16,20,24,28,32,36,40,44,48,2,8,14,20,26,32,38,44,50}; // set of start times of each shipment 
int SHets[SPN]={5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,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,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,6,10,14,18,22,26,30,34,38,42,46,50,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,7,13,19,25,31,37,43,49,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,5,9,13,17,21,25,29,33,37,41,45,49,53,3,9,15,21,27,33,39,45,51,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,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,4,8,12,16,20,24,28,32,36,40,44,48,52,3,9,15,21,27,33,39,45,51,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,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,4,10,16,22,28,34,40,46,52,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,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,2,6,10,14,18,22,26,30,34,38,42,46,50,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,1,5,9,13,17,21,25,29,33,37,41,45,49,53,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,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,2,6,10,14,18,22,26,30,34,38,42,46,50,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,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,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,53,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,2,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,3,7,11,15,19,23,27,31,35,39,43,47,51,4,10,16,22,28,34,40,46,52,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,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,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,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,5,11,17,23,29,35,41,47,53}; // set of end times of each shipment 
