int Dev = 10;// 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 = 1138;//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]={{{{12433,0,0,0,0,0},{12238,0,0,0,0,0},{12632,0,0,0,0,0},{12337,0,0,0,0,0},{12146,0,0,0,0,0},{12462,0,0,0,0,0},{12552,0,0,0,0,0},{12229,0,0,0,0,0},{12395,0,0,0,0,0},{12376,0,0,0,0,0},{12389,0,0,0,0,0},{12332,0,0,0,0,0},{12710,0,0,0,0,0},{12361,0,0,0,0,0},{12316,0,0,0,0,0},{12374,0,0,0,0,0},{12424,0,0,0,0,0},{12513,0,0,0,0,0},{12258,0,0,0,0,0},{12470,0,0,0,0,0}},{{12476,0,0,0,0,0},{12643,0,0,0,0,0},{12278,0,0,0,0,0},{12418,0,0,0,0,0},{12445,0,0,0,0,0},{12368,0,0,0,0,0},{12472,0,0,0,0,0},{12377,0,0,0,0,0},{12437,0,0,0,0,0},{12344,0,0,0,0,0},{12412,0,0,0,0,0},{12713,0,0,0,0,0},{12434,0,0,0,0,0},{12439,0,0,0,0,0},{12376,0,0,0,0,0},{12342,0,0,0,0,0},{12444,0,0,0,0,0},{12426,0,0,0,0,0},{12385,0,0,0,0,0},{12513,0,0,0,0,0}},{{11575,0,0,0,0,0},{11499,0,0,0,0,0},{11666,0,0,0,0,0},{11527,0,0,0,0,0},{11436,0,0,0,0,0},{11760,0,0,0,0,0},{11523,0,0,0,0,0},{11567,0,0,0,0,0},{11672,0,0,0,0,0},{11571,0,0,0,0,0},{11661,0,0,0,0,0},{11612,0,0,0,0,0},{11660,0,0,0,0,0},{11552,0,0,0,0,0},{11472,0,0,0,0,0},{11511,0,0,0,0,0},{11718,0,0,0,0,0},{11644,0,0,0,0,0},{11492,0,0,0,0,0},{11520,0,0,0,0,0}},{{10476,0,0,0,0,0},{10239,0,0,0,0,0},{10358,0,0,0,0,0},{10341,0,0,0,0,0},{10452,0,0,0,0,0},{10338,0,0,0,0,0},{10426,0,0,0,0,0},{10364,0,0,0,0,0},{10497,0,0,0,0,0},{10406,0,0,0,0,0},{10453,0,0,0,0,0},{10257,0,0,0,0,0},{10386,0,0,0,0,0},{10372,0,0,0,0,0},{10295,0,0,0,0,0},{10447,0,0,0,0,0},{10353,0,0,0,0,0},{10410,0,0,0,0,0},{10283,0,0,0,0,0},{10278,0,0,0,0,0}},{{9648,0,0,0,0,0},{9475,0,0,0,0,0},{9452,0,0,0,0,0},{9500,0,0,0,0,0},{9509,0,0,0,0,0},{9445,0,0,0,0,0},{9504,0,0,0,0,0},{9504,0,0,0,0,0},{9493,0,0,0,0,0},{9557,0,0,0,0,0},{9485,0,0,0,0,0},{9256,0,0,0,0,0},{9511,0,0,0,0,0},{9405,0,0,0,0,0},{9432,0,0,0,0,0},{9516,0,0,0,0,0},{9382,0,0,0,0,0},{9404,0,0,0,0,0},{9481,0,0,0,0,0},{9499,0,0,0,0,0}},{{9270,0,0,0,0,0},{9320,0,0,0,0,0},{9253,0,0,0,0,0},{9391,0,0,0,0,0},{9218,0,0,0,0,0},{9364,0,0,0,0,0},{9231,0,0,0,0,0},{9082,0,0,0,0,0},{9232,0,0,0,0,0},{9209,0,0,0,0,0},{9131,0,0,0,0,0},{9162,0,0,0,0,0},{9338,0,0,0,0,0},{9132,0,0,0,0,0},{9256,0,0,0,0,0},{9273,0,0,0,0,0},{9266,0,0,0,0,0},{9365,0,0,0,0,0},{9297,0,0,0,0,0},{9218,0,0,0,0,0}},{{9770,0,0,0,0,0},{9993,0,0,0,0,0},{9864,0,0,0,0,0},{9827,0,0,0,0,0},{9997,0,0,0,0,0},{9758,0,0,0,0,0},{9756,0,0,0,0,0},{9875,0,0,0,0,0},{9861,0,0,0,0,0},{10039,0,0,0,0,0},{9796,0,0,0,0,0},{9762,0,0,0,0,0},{9869,0,0,0,0,0},{9947,0,0,0,0,0},{9861,0,0,0,0,0},{10066,0,0,0,0,0},{9701,0,0,0,0,0},{10011,0,0,0,0,0},{9744,0,0,0,0,0},{9946,0,0,0,0,0}},{{11081,0,0,0,0,0},{10863,0,0,0,0,0},{10948,0,0,0,0,0},{11108,0,0,0,0,0},{11014,0,0,0,0,0},{10992,0,0,0,0,0},{10993,0,0,0,0,0},{11076,0,0,0,0,0},{10980,0,0,0,0,0},{10961,0,0,0,0,0},{10926,0,0,0,0,0},{11141,0,0,0,0,0},{11113,0,0,0,0,0},{10864,0,0,0,0,0},{11058,0,0,0,0,0},{11014,0,0,0,0,0},{10880,0,0,0,0,0},{10848,0,0,0,0,0},{11104,0,0,0,0,0},{11083,0,0,0,0,0}},{{11891,0,0,0,0,0},{12094,0,0,0,0,0},{12043,0,0,0,0,0},{12057,0,0,0,0,0},{12105,0,0,0,0,0},{12074,0,0,0,0,0},{12133,0,0,0,0,0},{12067,0,0,0,0,0},{12094,0,0,0,0,0},{11880,0,0,0,0,0},{12151,0,0,0,0,0},{11910,0,0,0,0,0},{11988,0,0,0,0,0},{12027,0,0,0,0,0},{12011,0,0,0,0,0},{12175,0,0,0,0,0},{11951,0,0,0,0,0},{12079,0,0,0,0,0},{12079,0,0,0,0,0},{11860,0,0,0,0,0}}},{{{-323,-282,-297,-279,-312,-300},{-320,-285,-297,-297,-291,-312},{-268,-297,-273,-294,-318,-300},{-300,-300,-318,-273,-285,-306},{-297,-300,-268,-268,-285,-265},{-323,-320,-320,-265,-285,-318},{-318,-303,-312,-306,-288,-288},{-282,-273,-312,-270,-312,-265},{-279,-273,-291,-291,-282,-294},{-291,-300,-315,-323,-282,-306},{-323,-320,-282,-294,-294,-318},{-268,-291,-270,-265,-268,-288},{-323,-288,-318,-318,-315,-303},{-279,-273,-270,-285,-288,-288},{-297,-273,-273,-323,-318,-270},{-306,-303,-297,-276,-273,-312},{-273,-268,-285,-315,-265,-318},{-320,-285,-282,-273,-294,-312},{-294,-323,-265,-315,-268,-268},{-318,-315,-282,-288,-294,-294}},{{-287,-297,-283,-285,-283,-285},{-281,-277,-308,-258,-267,-249},{-276,-280,-272,-277,-262,-251},{-273,-280,-260,-247,-291,-251},{-296,-297,-255,-288,-288,-280},{-290,-283,-291,-279,-280,-246},{-319,-272,-252,-288,-267,-262},{-304,-272,-308,-285,-264,-285},{-313,-266,-266,-282,-246,-249},{-270,-306,-286,-279,-240,-238},{-287,-257,-300,-269,-283,-236},{-316,-292,-300,-285,-246,-249},{-281,-269,-283,-282,-270,-251},{-270,-269,-308,-282,-294,-251},{-307,-257,-269,-288,-259,-282},{-307,-283,-255,-299,-291,-280},{-302,-283,-280,-277,-283,-277},{-267,-266,-263,-290,-278,-282},{-284,-269,-302,-288,-267,-259},{-284,-300,-280,-269,-262,-280}},{{-262,-261,-228,-240,-195,-216},{-235,-235,-240,-211,-216,-212},{-255,-261,-214,-242,-214,-206},{-265,-237,-219,-231,-199,-222},{-255,-264,-210,-242,-220,-198},{-268,-242,-254,-220,-225,-200},{-262,-264,-226,-202,-212,-206},{-255,-220,-247,-208,-195,-218},{-242,-220,-217,-204,-197,-216},{-232,-244,-240,-213,-193,-204},{-260,-242,-256,-226,-210,-200},{-242,-257,-231,-215,-225,-200},{-240,-259,-233,-237,-197,-194},{-242,-257,-228,-213,-223,-187},{-225,-252,-247,-222,-227,-227},{-235,-249,-214,-222,-227,-202},{-232,-259,-214,-228,-235,-202},{-275,-235,-219,-226,-220,-206},{-270,-230,-228,-231,-214,-216},{-255,-244,-224,-231,-193,-214}},{{-215,-200,-174,-170,-182,-160},{-205,-170,-165,-157,-162,-144},{-203,-180,-181,-172,-168,-176},{-199,-185,-166,-158,-182,-173},{-191,-187,-192,-170,-162,-174},{-207,-176,-195,-187,-172,-149},{-185,-202,-175,-177,-175,-144},{-191,-178,-181,-158,-178,-152},{-195,-191,-172,-158,-170,-160},{-191,-191,-166,-175,-162,-155},{-217,-176,-197,-158,-170,-150},{-183,-178,-197,-179,-165,-146},{-209,-202,-177,-175,-173,-171},{-179,-200,-174,-186,-170,-170},{-195,-172,-170,-157,-172,-173},{-197,-178,-165,-170,-150,-168},{-217,-191,-175,-181,-168,-147},{-199,-198,-195,-165,-162,-165},{-207,-189,-175,-174,-168,-147},{-201,-196,-192,-182,-148,-176}},{{-157,-153,-144,-140,-156,-154},{-149,-153,-140,-135,-154,-148},{-143,-148,-153,-132,-159,-144},{-146,-155,-162,-137,-147,-148},{-168,-146,-137,-144,-135,-153},{-163,-148,-150,-154,-154,-150},{-166,-140,-151,-162,-154,-160},{-163,-158,-138,-147,-148,-138},{-139,-156,-134,-143,-144,-159},{-146,-145,-135,-138,-154,-153},{-152,-142,-132,-160,-140,-156},{-142,-148,-148,-138,-140,-134},{-149,-136,-147,-156,-134,-156},{-139,-148,-143,-134,-137,-160},{-166,-134,-160,-147,-147,-134},{-146,-155,-143,-135,-148,-154},{-160,-146,-151,-146,-153,-135},{-149,-150,-153,-135,-157,-141},{-166,-136,-160,-144,-144,-143},{-160,-153,-153,-156,-147,-135}},{{-138,-140,-148,-163,-177,-177},{-151,-153,-153,-162,-151,-180},{-135,-132,-139,-148,-174,-170},{-144,-151,-157,-169,-167,-167},{-153,-157,-153,-152,-147,-175},{-138,-156,-154,-165,-150,-169},{-160,-151,-139,-156,-177,-180},{-162,-162,-156,-139,-158,-159},{-160,-147,-142,-157,-175,-160},{-157,-135,-142,-140,-167,-167},{-134,-138,-145,-162,-148,-177},{-147,-138,-140,-166,-161,-174},{-160,-144,-162,-151,-151,-160},{-137,-138,-139,-169,-175,-152},{-160,-151,-156,-160,-166,-170},{-153,-162,-156,-149,-163,-169},{-146,-144,-160,-166,-159,-160},{-134,-151,-166,-162,-169,-150},{-137,-144,-160,-159,-172,-157},{-140,-140,-140,-156,-175,-164}},{{-176,-167,-184,-185,-224,-232},{-157,-185,-209,-217,-213,-200},{-158,-183,-180,-185,-221,-226},{-177,-163,-177,-183,-190,-208},{-174,-185,-188,-213,-215,-200},{-181,-194,-171,-209,-207,-206},{-184,-195,-201,-211,-197,-215},{-167,-197,-194,-191,-215,-228},{-162,-197,-200,-199,-207,-224},{-164,-183,-205,-201,-213,-234},{-167,-177,-201,-217,-226,-213},{-158,-170,-207,-213,-217,-195},{-158,-179,-188,-201,-213,-208},{-176,-174,-179,-215,-211,-234},{-183,-163,-209,-187,-203,-224},{-172,-168,-186,-187,-221,-228},{-167,-194,-171,-207,-201,-232},{-162,-177,-209,-207,-190,-230},{-181,-167,-171,-189,-228,-195},{-183,-186,-200,-195,-219,-217}},{{-234,-254,-259,-240,-277,-291},{-218,-242,-229,-278,-264,-253},{-211,-258,-266,-256,-238,-282},{-213,-216,-251,-240,-264,-253},{-232,-237,-266,-276,-258,-280},{-234,-233,-259,-271,-269,-280},{-211,-237,-224,-261,-282,-272},{-232,-256,-254,-266,-243,-280},{-245,-249,-244,-256,-261,-250},{-241,-240,-249,-240,-277,-282},{-204,-226,-246,-276,-269,-293},{-243,-230,-256,-266,-269,-272},{-245,-228,-268,-276,-271,-272},{-209,-226,-244,-276,-235,-293},{-250,-244,-224,-256,-271,-291},{-225,-212,-249,-228,-279,-269},{-247,-237,-254,-261,-258,-272},{-222,-223,-244,-273,-251,-274},{-218,-247,-259,-266,-261,-282},{-218,-249,-268,-233,-269,-285}},{{-293,-264,-258,-301,-312,-300},{-284,-309,-278,-280,-282,-303},{-257,-256,-276,-307,-270,-297},{-279,-278,-273,-266,-297,-303},{-262,-298,-278,-298,-318,-297},{-284,-259,-276,-315,-294,-273},{-304,-303,-278,-298,-265,-318},{-276,-284,-290,-298,-306,-297},{-273,-306,-278,-321,-320,-318},{-265,-298,-258,-280,-303,-279},{-293,-259,-281,-307,-285,-306},{-248,-270,-301,-315,-276,-276},{-251,-275,-293,-312,-285,-318},{-254,-303,-267,-301,-265,-282},{-268,-273,-264,-274,-294,-276},{-298,-289,-313,-286,-320,-282},{-248,-295,-273,-266,-270,-288},{-270,-273,-284,-283,-320,-291},{-295,-303,-281,-312,-309,-320},{-270,-256,-304,-277,-300,-270}}},{{{-163,-157,-158,-186,-202,-174},{-166,-154,-173,-163,-184,-204},{-176,-166,-187,-183,-195,-199},{-183,-164,-166,-175,-190,-180},{-155,-183,-191,-190,-197,-197},{-153,-174,-168,-195,-169,-172},{-175,-164,-189,-190,-177,-180},{-158,-176,-172,-172,-186,-210},{-161,-169,-177,-172,-186,-187},{-171,-184,-173,-161,-171,-172},{-166,-159,-158,-195,-190,-201},{-181,-177,-178,-165,-166,-172},{-183,-183,-180,-177,-167,-210},{-165,-176,-180,-193,-193,-174},{-155,-161,-163,-165,-202,-193},{-155,-166,-178,-195,-167,-187},{-173,-179,-175,-188,-178,-193},{-173,-184,-177,-193,-199,-180},{-161,-181,-168,-166,-166,-180},{-155,-172,-177,-186,-178,-176}},{{-180,-195,-196,-232,-238,-240},{-210,-226,-217,-243,-234,-214},{-178,-189,-200,-201,-236,-236},{-194,-219,-202,-234,-220,-250},{-180,-207,-207,-232,-224,-255},{-202,-193,-232,-234,-208,-228},{-216,-189,-222,-236,-206,-252},{-180,-207,-224,-234,-229,-257},{-182,-213,-234,-236,-220,-228},{-178,-209,-198,-199,-215,-250},{-204,-195,-234,-232,-211,-257},{-196,-199,-224,-219,-238,-233},{-206,-215,-232,-232,-211,-231},{-216,-223,-204,-199,-243,-219},{-200,-223,-219,-199,-218,-250},{-186,-223,-192,-228,-243,-257},{-200,-203,-204,-201,-252,-257},{-194,-223,-198,-228,-208,-224},{-206,-201,-204,-206,-215,-250},{-212,-195,-213,-230,-211,-257}},{{-232,-260,-278,-256,-294,-311},{-262,-265,-262,-273,-249,-306},{-242,-263,-275,-256,-296,-289},{-225,-270,-267,-267,-269,-300},{-252,-263,-259,-267,-283,-294},{-235,-242,-236,-246,-285,-297},{-225,-247,-246,-248,-266,-266},{-230,-263,-249,-262,-266,-311},{-254,-247,-272,-284,-249,-283},{-259,-247,-267,-246,-280,-306},{-237,-235,-257,-259,-277,-289},{-252,-260,-280,-262,-271,-277},{-230,-268,-270,-286,-249,-266},{-245,-270,-272,-267,-258,-277},{-227,-270,-286,-246,-255,-286},{-254,-250,-244,-281,-252,-300},{-249,-278,-280,-265,-255,-311},{-230,-268,-275,-254,-294,-266},{-227,-252,-278,-251,-296,-258},{-232,-270,-249,-248,-285,-308}},{{-315,-315,-313,-286,-313,-298},{-280,-323,-289,-274,-322,-307},{-306,-285,-307,-331,-316,-295},{-275,-318,-289,-286,-319,-289},{-315,-309,-298,-295,-280,-295},{-272,-268,-289,-298,-331,-289},{-277,-270,-319,-316,-274,-331},{-269,-285,-283,-301,-283,-289},{-289,-309,-310,-301,-316,-325},{-283,-268,-289,-307,-298,-283},{-292,-276,-322,-298,-307,-322},{-260,-323,-280,-292,-271,-271},{-309,-291,-319,-295,-313,-274},{-272,-303,-298,-289,-298,-277},{-275,-270,-280,-307,-310,-304},{-309,-279,-307,-280,-304,-307},{-289,-323,-274,-286,-307,-301},{-280,-291,-268,-304,-313,-280},{-280,-320,-271,-316,-310,-283},{-318,-276,-286,-301,-328,-289}},{{-328,-313,-328,-288,-315,-307},{-283,-271,-316,-324,-312,-287},{-283,-274,-280,-291,-306,-310},{-289,-301,-310,-285,-323,-302},{-325,-319,-307,-294,-320,-307},{-274,-277,-313,-273,-273,-304},{-292,-277,-301,-315,-320,-310},{-316,-277,-295,-276,-270,-293},{-271,-304,-313,-306,-303,-270},{-319,-298,-292,-279,-323,-290},{-277,-307,-307,-276,-320,-281},{-271,-280,-274,-294,-282,-267},{-289,-298,-328,-276,-306,-273},{-319,-295,-280,-285,-273,-278},{-283,-307,-301,-303,-276,-270},{-304,-298,-295,-321,-285,-302},{-286,-322,-292,-312,-291,-302},{-277,-271,-316,-276,-312,-276},{-322,-271,-274,-291,-273,-293},{-295,-331,-292,-321,-265,-302}},{{-311,-293,-268,-238,-269,-236},{-265,-279,-263,-285,-274,-255},{-305,-254,-255,-246,-274,-238},{-259,-290,-266,-288,-276,-250},{-294,-276,-271,-269,-246,-260},{-311,-296,-255,-264,-246,-250},{-256,-265,-260,-253,-241,-243},{-265,-254,-279,-269,-253,-228},{-279,-251,-249,-248,-259,-243},{-256,-299,-271,-246,-233,-238},{-279,-301,-274,-277,-241,-253},{-274,-251,-247,-288,-246,-241},{-256,-268,-298,-285,-246,-265},{-314,-299,-252,-243,-236,-246},{-302,-265,-263,-259,-269,-231},{-294,-293,-287,-251,-282,-263},{-265,-265,-293,-282,-259,-233},{-282,-282,-293,-248,-279,-250},{-274,-299,-263,-282,-248,-248},{-285,-262,-293,-246,-264,-243}},{{-240,-255,-216,-219,-199,-197},{-262,-251,-223,-204,-224,-217},{-230,-234,-236,-234,-197,-187},{-250,-246,-221,-200,-226,-215},{-252,-239,-210,-237,-221,-205},{-221,-251,-230,-198,-203,-219},{-218,-211,-205,-226,-205,-181},{-230,-237,-232,-198,-205,-189},{-223,-218,-201,-219,-213,-183},{-264,-246,-205,-198,-219,-181},{-221,-213,-234,-232,-211,-217},{-264,-216,-225,-196,-207,-197},{-264,-211,-241,-221,-213,-193},{-238,-253,-223,-217,-201,-209},{-226,-253,-212,-234,-211,-217},{-262,-220,-243,-237,-221,-191},{-221,-255,-212,-237,-186,-213},{-254,-239,-239,-224,-199,-213},{-250,-211,-236,-219,-226,-195},{-221,-255,-205,-200,-217,-201}},{{-180,-186,-192,-184,-161,-181},{-194,-188,-197,-166,-178,-180},{-175,-201,-170,-193,-157,-171},{-202,-193,-174,-182,-185,-175},{-184,-182,-195,-170,-186,-171},{-204,-171,-167,-175,-186,-171},{-211,-190,-179,-166,-176,-158},{-202,-184,-186,-173,-181,-153},{-179,-188,-167,-177,-162,-185},{-204,-167,-181,-164,-171,-183},{-180,-179,-188,-177,-159,-160},{-204,-179,-176,-177,-162,-155},{-196,-205,-172,-173,-166,-161},{-188,-193,-197,-164,-181,-160},{-196,-201,-185,-175,-183,-181},{-200,-201,-168,-186,-181,-175},{-175,-201,-172,-177,-166,-155},{-190,-180,-170,-161,-161,-171},{-184,-169,-168,-178,-154,-155},{-204,-186,-163,-168,-185,-166}},{{-168,-151,-156,-155,-185,-156},{-160,-173,-165,-181,-153,-166},{-156,-160,-175,-158,-166,-178},{-181,-180,-178,-185,-168,-153},{-185,-178,-180,-158,-173,-151},{-181,-176,-156,-165,-173,-170},{-166,-185,-166,-155,-153,-170},{-156,-168,-155,-178,-156,-158},{-155,-166,-161,-158,-155,-175},{-175,-166,-165,-185,-153,-185},{-168,-151,-175,-155,-180,-156},{-171,-181,-153,-163,-170,-183},{-158,-168,-171,-183,-168,-153},{-175,-170,-176,-156,-175,-178},{-156,-166,-180,-171,-175,-183},{-176,-181,-158,-155,-158,-165},{-180,-175,-151,-165,-173,-181},{-168,-161,-181,-170,-161,-173},{-183,-163,-181,-161,-165,-181},{-176,-151,-155,-168,-180,-183}}},{{{-355,-345,-349,-299,-306,-306},{-316,-332,-299,-313,-355,-299},{-349,-359,-342,-309,-345,-313},{-306,-316,-309,-352,-313,-296},{-296,-329,-309,-296,-296,-326},{-322,-352,-322,-359,-322,-329},{-359,-299,-362,-355,-359,-309},{-313,-345,-316,-322,-352,-303},{-316,-339,-326,-342,-296,-299},{-319,-313,-309,-309,-342,-339},{-329,-309,-299,-339,-303,-352},{-355,-303,-332,-359,-322,-352},{-326,-303,-345,-299,-359,-322},{-336,-296,-299,-352,-316,-355},{-296,-332,-319,-359,-296,-309},{-345,-296,-306,-336,-345,-329},{-322,-299,-359,-306,-313,-329},{-362,-309,-322,-329,-362,-345},{-339,-309,-313,-349,-296,-342},{-313,-326,-355,-296,-322,-306}},{{-305,-351,-325,-339,-305,-310},{-358,-332,-351,-323,-290,-301},{-344,-309,-332,-295,-308,-328},{-354,-325,-332,-342,-314,-325},{-325,-325,-319,-305,-305,-307},{-348,-306,-313,-283,-290,-271},{-361,-351,-306,-323,-339,-316},{-348,-290,-303,-308,-314,-283},{-335,-299,-293,-336,-336,-316},{-361,-312,-300,-323,-323,-289},{-344,-338,-322,-283,-311,-328},{-351,-328,-332,-323,-336,-307},{-318,-296,-338,-330,-317,-331},{-328,-316,-338,-314,-317,-292},{-318,-328,-338,-289,-333,-301},{-344,-338,-341,-286,-290,-292},{-325,-322,-293,-333,-317,-271},{-341,-316,-322,-311,-286,-292},{-318,-303,-332,-289,-308,-322},{-335,-348,-348,-317,-308,-289}},{{-268,-294,-280,-269,-254,-249},{-283,-297,-266,-272,-281,-260},{-292,-302,-305,-248,-281,-244},{-280,-285,-277,-250,-244,-257},{-280,-285,-272,-248,-281,-247},{-271,-314,-288,-286,-276,-252},{-283,-291,-300,-267,-241,-249},{-298,-259,-280,-256,-284,-270},{-316,-291,-277,-291,-257,-283},{-322,-311,-283,-269,-252,-270},{-322,-285,-272,-277,-254,-275},{-319,-300,-291,-264,-246,-278},{-316,-308,-274,-250,-249,-270},{-266,-302,-260,-291,-246,-272},{-322,-308,-263,-245,-244,-278},{-274,-288,-255,-269,-289,-260},{-322,-279,-280,-286,-241,-252},{-280,-305,-274,-277,-270,-249},{-295,-259,-283,-250,-246,-231},{-310,-311,-300,-253,-268,-265}},{{-255,-241,-258,-245,-228,-197},{-240,-228,-249,-252,-202,-204},{-248,-267,-256,-224,-231,-199},{-262,-258,-235,-245,-204,-215},{-235,-265,-216,-238,-237,-201},{-268,-255,-232,-208,-204,-234},{-250,-228,-228,-247,-217,-241},{-272,-255,-235,-226,-235,-215},{-235,-241,-258,-224,-242,-212},{-262,-253,-254,-233,-231,-217},{-238,-262,-249,-243,-226,-204},{-275,-226,-235,-224,-224,-219},{-260,-248,-230,-210,-224,-228},{-232,-255,-213,-233,-215,-234},{-232,-267,-220,-233,-213,-217},{-275,-250,-213,-252,-244,-223},{-272,-253,-232,-215,-244,-204},{-230,-258,-244,-224,-228,-232},{-268,-248,-251,-231,-233,-230},{-262,-258,-228,-208,-206,-208}},{{-234,-214,-195,-225,-231,-231},{-213,-229,-208,-206,-193,-208},{-219,-214,-200,-208,-220,-204},{-213,-216,-208,-227,-208,-200},{-228,-195,-223,-191,-227,-197},{-206,-229,-231,-195,-223,-223},{-204,-206,-212,-202,-189,-208},{-217,-193,-218,-210,-208,-206},{-239,-189,-214,-195,-225,-195},{-195,-204,-212,-231,-225,-231},{-215,-218,-212,-214,-208,-225},{-202,-231,-197,-189,-220,-191},{-195,-195,-197,-197,-208,-229},{-202,-227,-206,-206,-218,-231},{-219,-195,-223,-216,-214,-214},{-217,-189,-225,-191,-227,-204},{-208,-225,-206,-202,-210,-223},{-237,-229,-200,-202,-193,-225},{-219,-227,-200,-204,-218,-200},{-219,-216,-202,-212,-195,-216}},{{-197,-231,-217,-228,-211,-232},{-193,-210,-203,-232,-222,-245},{-218,-220,-207,-234,-227,-230},{-227,-212,-207,-206,-218,-248},{-220,-189,-200,-226,-209,-234},{-197,-229,-196,-239,-216,-225},{-197,-216,-219,-200,-198,-227},{-197,-216,-196,-195,-216,-207},{-227,-225,-230,-217,-216,-248},{-197,-208,-200,-239,-233,-238},{-206,-204,-190,-208,-200,-209},{-191,-231,-230,-210,-213,-232},{-214,-210,-228,-234,-231,-232},{-210,-200,-228,-219,-209,-202},{-189,-223,-217,-228,-224,-214},{-191,-216,-190,-200,-229,-232},{-200,-191,-198,-215,-229,-207},{-204,-193,-196,-237,-242,-238},{-218,-191,-203,-210,-211,-212},{-195,-227,-211,-213,-235,-227}},{{-229,-225,-234,-256,-266,-271},{-245,-249,-224,-243,-240,-242},{-217,-237,-220,-259,-263,-277},{-229,-232,-229,-256,-266,-263},{-231,-261,-261,-231,-253,-285},{-233,-258,-268,-228,-255,-293},{-238,-220,-249,-228,-281,-255},{-249,-225,-239,-236,-279,-245},{-222,-246,-239,-254,-261,-247},{-252,-223,-246,-264,-268,-290},{-229,-244,-254,-266,-235,-250},{-222,-232,-251,-246,-284,-271},{-254,-246,-259,-226,-248,-263},{-222,-242,-242,-241,-281,-279},{-247,-261,-268,-269,-243,-263},{-238,-256,-239,-276,-284,-239},{-215,-213,-227,-246,-243,-290},{-240,-256,-264,-259,-258,-285},{-222,-256,-227,-241,-232,-258},{-231,-216,-264,-271,-276,-293}},{{-282,-287,-306,-290,-323,-308},{-249,-267,-301,-311,-272,-293},{-277,-259,-263,-290,-329,-311},{-274,-303,-312,-317,-275,-339},{-252,-256,-309,-278,-308,-336},{-263,-261,-275,-296,-275,-283},{-279,-306,-306,-281,-329,-308},{-299,-301,-283,-293,-299,-290},{-263,-309,-283,-326,-302,-280},{-290,-275,-292,-284,-296,-277},{-293,-259,-298,-308,-308,-320},{-293,-267,-306,-311,-320,-317},{-282,-264,-318,-290,-302,-277},{-299,-309,-286,-272,-332,-286},{-260,-264,-295,-326,-314,-302},{-260,-278,-275,-320,-332,-336},{-247,-267,-295,-305,-287,-283},{-255,-295,-280,-278,-305,-323},{-296,-303,-277,-320,-293,-326},{-271,-278,-292,-323,-278,-302}},{{-312,-301,-293,-319,-313,-322},{-296,-291,-335,-345,-352,-339},{-290,-342,-299,-345,-339,-352},{-309,-304,-319,-336,-322,-339},{-340,-298,-306,-322,-319,-322},{-293,-314,-341,-362,-322,-345},{-302,-342,-354,-309,-349,-299},{-321,-339,-338,-306,-355,-332},{-315,-317,-319,-306,-352,-313},{-293,-320,-303,-309,-299,-296},{-334,-317,-354,-342,-342,-359},{-343,-294,-341,-316,-336,-319},{-302,-349,-345,-332,-316,-339},{-293,-317,-351,-313,-319,-329},{-340,-314,-332,-316,-299,-303},{-296,-330,-345,-313,-296,-326},{-315,-336,-335,-329,-332,-296},{-302,-320,-328,-332,-349,-313},{-306,-314,-309,-303,-303,-339},{-287,-333,-306,-326,-313,-342}}},{{{-100,-100,-101,-119,-111,-132},{-104,-103,-101,-123,-113,-115},{-107,-103,-110,-124,-123,-141},{-107,-110,-116,-128,-111,-129},{-99,-106,-101,-124,-132,-141},{-101,-108,-122,-124,-124,-138},{-100,-109,-120,-119,-132,-119},{-101,-101,-111,-124,-112,-118},{-108,-116,-120,-111,-123,-131},{-99,-112,-123,-110,-123,-140},{-102,-114,-119,-129,-120,-115},{-110,-102,-101,-117,-116,-118},{-102,-98,-108,-123,-133,-122},{-103,-98,-110,-124,-128,-124},{-100,-105,-121,-126,-131,-140},{-104,-101,-120,-123,-115,-140},{-101,-113,-121,-126,-120,-136},{-98,-104,-123,-111,-115,-138},{-100,-116,-105,-123,-131,-118},{-107,-105,-122,-124,-129,-133}},{{-130,-144,-145,-169,-156,-185},{-143,-135,-145,-164,-169,-165},{-131,-130,-138,-141,-153,-176},{-127,-147,-147,-169,-155,-166},{-128,-148,-148,-158,-148,-175},{-144,-148,-155,-150,-159,-181},{-134,-152,-145,-158,-169,-173},{-140,-131,-142,-170,-145,-165},{-143,-128,-158,-141,-151,-151},{-136,-154,-139,-146,-166,-178},{-122,-127,-139,-140,-148,-171},{-147,-138,-152,-160,-174,-170},{-122,-145,-139,-144,-151,-181},{-124,-151,-157,-153,-164,-183},{-146,-128,-145,-157,-167,-180},{-134,-155,-133,-166,-156,-155},{-126,-133,-158,-144,-151,-151},{-128,-133,-158,-164,-174,-163},{-136,-155,-163,-166,-167,-151},{-130,-133,-148,-143,-156,-176}},{{-175,-171,-201,-203,-180,-206},{-173,-175,-188,-190,-214,-192},{-166,-169,-182,-201,-206,-186},{-158,-182,-169,-205,-206,-208},{-163,-182,-167,-207,-190,-192},{-158,-193,-188,-192,-212,-180},{-170,-182,-171,-209,-186,-192},{-189,-173,-179,-203,-202,-216},{-173,-187,-186,-201,-200,-194},{-177,-196,-184,-201,-190,-180},{-189,-196,-180,-173,-198,-188},{-177,-176,-184,-207,-216,-178},{-163,-194,-201,-186,-206,-182},{-184,-178,-173,-177,-212,-182},{-177,-171,-175,-190,-176,-206},{-166,-169,-169,-207,-204,-196},{-177,-169,-175,-201,-176,-216},{-193,-184,-186,-173,-184,-196},{-161,-185,-173,-194,-208,-178},{-189,-191,-184,-198,-188,-192}},{{-215,-217,-189,-213,-217,-201},{-197,-201,-199,-211,-197,-209},{-217,-193,-201,-185,-199,-205},{-203,-207,-211,-223,-209,-223},{-217,-219,-197,-217,-215,-197},{-201,-223,-209,-213,-193,-193},{-185,-185,-205,-185,-207,-189},{-193,-213,-189,-195,-195,-211},{-203,-211,-211,-223,-219,-201},{-203,-191,-213,-223,-185,-193},{-219,-219,-191,-209,-211,-219},{-193,-205,-191,-209,-203,-183},{-189,-217,-209,-185,-213,-221},{-197,-203,-207,-217,-187,-191},{-199,-205,-197,-217,-197,-217},{-221,-207,-217,-189,-197,-205},{-211,-183,-195,-219,-187,-205},{-197,-205,-219,-209,-209,-185},{-205,-211,-187,-195,-205,-195},{-207,-203,-185,-189,-205,-191}},{{-193,-215,-183,-205,-200,-195},{-189,-205,-183,-201,-208,-202},{-219,-223,-187,-195,-170,-178},{-217,-197,-199,-197,-191,-202},{-193,-201,-181,-183,-200,-167},{-219,-217,-199,-213,-181,-195},{-187,-197,-197,-213,-178,-197},{-223,-187,-197,-195,-178,-197},{-189,-203,-183,-195,-185,-201},{-215,-211,-213,-197,-181,-193},{-211,-185,-177,-193,-200,-180},{-201,-205,-193,-213,-198,-167},{-219,-211,-217,-179,-200,-171},{-189,-209,-215,-181,-180,-173},{-215,-217,-209,-207,-198,-175},{-207,-221,-213,-195,-195,-169},{-189,-195,-183,-183,-174,-197},{-185,-215,-203,-185,-204,-180},{-193,-217,-199,-199,-176,-202},{-221,-201,-187,-207,-208,-184}},{{-163,-161,-167,-152,-159,-144},{-161,-178,-157,-165,-142,-157},{-181,-178,-164,-149,-159,-160},{-175,-187,-170,-171,-148,-138},{-177,-166,-159,-154,-162,-137},{-195,-183,-169,-163,-168,-135},{-166,-175,-175,-171,-155,-157},{-163,-180,-179,-173,-148,-132},{-177,-157,-177,-157,-165,-156},{-183,-166,-182,-147,-164,-160},{-172,-173,-150,-176,-141,-144},{-183,-183,-170,-168,-162,-147},{-174,-180,-177,-160,-153,-147},{-190,-161,-177,-158,-142,-143},{-183,-170,-182,-176,-138,-140},{-188,-190,-162,-154,-150,-135},{-193,-164,-164,-144,-167,-162},{-177,-175,-164,-168,-159,-162},{-168,-185,-182,-158,-144,-153},{-195,-168,-154,-165,-147,-159}},{{-127,-134,-114,-113,-113,-113},{-129,-124,-124,-131,-124,-118},{-140,-146,-127,-111,-104,-112},{-126,-142,-116,-128,-126,-115},{-150,-140,-133,-116,-115,-122},{-154,-146,-117,-119,-104,-111},{-130,-128,-140,-116,-117,-120},{-137,-138,-128,-132,-123,-114},{-141,-138,-138,-133,-115,-119},{-150,-140,-114,-133,-128,-119},{-133,-124,-119,-126,-117,-122},{-132,-144,-132,-110,-126,-102},{-140,-136,-121,-111,-121,-102},{-144,-145,-132,-125,-128,-120},{-132,-128,-118,-121,-107,-105},{-139,-144,-123,-116,-107,-123},{-126,-136,-114,-125,-118,-101},{-137,-125,-131,-132,-116,-121},{-140,-140,-128,-121,-126,-101},{-144,-122,-136,-121,-124,-106}},{{-109,-93,-90,-91,-105,-88},{-109,-111,-106,-93,-104,-103},{-94,-106,-96,-99,-89,-104},{-99,-112,-91,-104,-88,-89},{-96,-105,-107,-102,-89,-94},{-102,-108,-92,-95,-107,-108},{-112,-103,-90,-106,-88,-108},{-108,-107,-99,-99,-91,-93},{-110,-94,-107,-100,-94,-96},{-112,-107,-97,-101,-90,-108},{-106,-97,-88,-100,-89,-106},{-108,-94,-96,-101,-106,-102},{-113,-100,-97,-101,-108,-102},{-103,-93,-88,-105,-100,-92},{-107,-102,-103,-99,-97,-95},{-96,-104,-107,-94,-101,-108},{-104,-95,-90,-102,-94,-95},{-111,-108,-97,-104,-101,-94},{-109,-103,-91,-88,-99,-102},{-110,-100,-104,-99,-96,-96}},{{-103,-108,-89,-92,-105,-89},{-92,-103,-104,-104,-102,-100},{-95,-100,-106,-108,-88,-106},{-102,-95,-96,-107,-106,-103},{-95,-107,-96,-96,-88,-104},{-95,-88,-97,-100,-107,-105},{-106,-101,-102,-97,-107,-108},{-90,-91,-98,-103,-102,-90},{-92,-105,-104,-91,-97,-90},{-102,-97,-95,-89,-105,-107},{-108,-107,-91,-104,-94,-106},{-95,-103,-103,-101,-102,-105},{-92,-105,-103,-103,-96,-102},{-108,-94,-91,-98,-108,-105},{-94,-88,-108,-102,-108,-88},{-90,-107,-103,-105,-90,-95},{-92,-108,-103,-93,-103,-100},{-104,-97,-108,-103,-103,-104},{-104,-104,-91,-102,-99,-90},{-94,-95,-104,-93,-91,-89}}},{{{-212,-257,-255,-252,-262,-248},{-235,-219,-221,-214,-245,-228},{-254,-262,-248,-228,-214,-257},{-238,-238,-248,-245,-240,-233},{-210,-240,-219,-243,-224,-259},{-226,-250,-217,-259,-238,-238},{-226,-245,-240,-245,-226,-238},{-247,-236,-252,-238,-238,-252},{-254,-262,-214,-259,-252,-224},{-214,-221,-228,-233,-214,-217},{-214,-226,-245,-228,-217,-217},{-231,-248,-240,-248,-224,-252},{-233,-226,-259,-252,-252,-238},{-252,-231,-245,-224,-226,-257},{-247,-217,-228,-257,-243,-238},{-214,-262,-221,-257,-250,-231},{-224,-248,-240,-228,-238,-257},{-245,-243,-231,-228,-236,-236},{-210,-248,-248,-240,-217,-228},{-221,-217,-259,-248,-255,-245}},{{-240,-262,-216,-233,-206,-243},{-259,-233,-244,-213,-208,-230},{-252,-226,-254,-233,-206,-219},{-250,-255,-249,-219,-246,-212},{-257,-238,-221,-247,-242,-236},{-236,-219,-249,-219,-215,-212},{-236,-224,-247,-252,-224,-243},{-221,-257,-230,-240,-246,-214},{-226,-214,-249,-222,-224,-239},{-245,-221,-219,-252,-246,-243},{-219,-236,-258,-249,-210,-203},{-214,-259,-258,-231,-224,-206},{-245,-231,-240,-252,-224,-219},{-224,-214,-254,-208,-206,-201},{-252,-231,-212,-208,-233,-206},{-243,-217,-230,-222,-210,-203},{-238,-252,-223,-243,-244,-201},{-255,-217,-230,-249,-246,-214},{-219,-219,-240,-231,-217,-199},{-219,-236,-226,-213,-219,-241}},{{-228,-194,-210,-207,-204,-162},{-211,-209,-214,-195,-189,-175},{-224,-201,-196,-205,-183,-175},{-213,-203,-196,-193,-172,-193},{-211,-219,-202,-213,-178,-189},{-211,-226,-206,-201,-174,-189},{-221,-219,-204,-197,-183,-173},{-204,-228,-222,-213,-176,-167},{-234,-203,-198,-215,-204,-166},{-215,-188,-202,-207,-191,-167},{-219,-209,-204,-195,-168,-184},{-217,-211,-196,-181,-196,-182},{-213,-226,-194,-207,-180,-166},{-211,-213,-220,-191,-204,-162},{-226,-226,-210,-201,-176,-173},{-194,-217,-188,-203,-172,-171},{-226,-209,-182,-207,-189,-194},{-228,-201,-200,-197,-202,-182},{-198,-230,-196,-183,-174,-193},{-194,-228,-188,-179,-181,-175}},{{-160,-148,-143,-146,-153,-128},{-170,-163,-151,-152,-145,-127},{-167,-150,-141,-144,-131,-141},{-175,-160,-148,-135,-130,-141},{-155,-182,-155,-138,-145,-134},{-170,-157,-159,-141,-153,-141},{-162,-180,-173,-159,-137,-144},{-175,-150,-162,-135,-131,-138},{-155,-175,-154,-159,-147,-127},{-160,-153,-166,-164,-151,-150},{-189,-148,-162,-146,-137,-144},{-189,-150,-159,-141,-153,-141},{-170,-173,-166,-144,-148,-128},{-163,-160,-154,-160,-141,-130},{-172,-163,-159,-158,-151,-124},{-157,-173,-162,-136,-147,-138},{-157,-153,-149,-164,-147,-124},{-165,-157,-143,-162,-158,-137},{-162,-157,-166,-148,-140,-132},{-175,-162,-141,-146,-140,-127}},{{-129,-130,-115,-124,-131,-107},{-126,-127,-134,-124,-111,-107},{-122,-130,-126,-113,-119,-120},{-122,-130,-123,-127,-120,-113},{-137,-115,-115,-121,-124,-109},{-121,-113,-125,-123,-119,-112},{-126,-137,-115,-131,-112,-130},{-138,-129,-129,-130,-118,-121},{-136,-122,-129,-130,-115,-107},{-125,-122,-125,-112,-124,-123},{-144,-139,-125,-126,-108,-118},{-133,-118,-136,-120,-109,-118},{-124,-131,-135,-108,-109,-119},{-141,-132,-112,-107,-123,-118},{-132,-129,-133,-126,-109,-111},{-130,-126,-120,-109,-126,-108},{-120,-126,-113,-117,-109,-118},{-136,-122,-125,-107,-111,-126},{-140,-117,-125,-109,-121,-109},{-122,-127,-128,-118,-118,-109}},{{-109,-119,-121,-123,-126,-118},{-115,-113,-113,-113,-116,-130},{-129,-121,-118,-114,-129,-137},{-118,-129,-131,-119,-129,-137},{-129,-119,-121,-130,-113,-135},{-108,-123,-112,-117,-121,-125},{-126,-121,-123,-112,-129,-129},{-107,-130,-121,-115,-110,-130},{-119,-108,-111,-111,-132,-132},{-114,-124,-125,-121,-113,-129},{-124,-129,-115,-130,-126,-126},{-107,-117,-111,-112,-120,-127},{-123,-107,-112,-115,-127,-117},{-111,-119,-121,-113,-116,-136},{-131,-115,-125,-115,-132,-125},{-127,-121,-118,-120,-128,-131},{-131,-111,-131,-119,-118,-137},{-130,-126,-117,-113,-118,-115},{-117,-121,-129,-127,-129,-125},{-118,-112,-119,-112,-131,-132}},{{-131,-122,-144,-141,-155,-167},{-140,-128,-131,-160,-169,-160},{-135,-126,-134,-138,-164,-172},{-121,-133,-130,-158,-160,-168},{-119,-133,-140,-141,-160,-168},{-128,-133,-145,-158,-146,-156},{-139,-122,-133,-154,-158,-173},{-128,-147,-155,-141,-141,-152},{-124,-141,-128,-145,-164,-157},{-138,-146,-138,-160,-158,-160},{-118,-125,-148,-160,-143,-165},{-130,-125,-133,-149,-166,-149},{-132,-135,-138,-160,-150,-178},{-119,-129,-130,-138,-141,-175},{-128,-135,-148,-136,-157,-154},{-124,-133,-133,-144,-160,-165},{-121,-141,-135,-141,-158,-167},{-135,-122,-145,-141,-141,-167},{-119,-124,-127,-141,-163,-175},{-143,-131,-130,-142,-158,-177}},{{-184,-161,-202,-211,-189,-225},{-180,-177,-166,-200,-197,-190},{-170,-175,-187,-175,-179,-187},{-162,-175,-178,-173,-187,-227},{-163,-165,-179,-180,-181,-204},{-185,-166,-176,-184,-189,-187},{-178,-193,-168,-192,-201,-225},{-177,-161,-202,-184,-197,-200},{-167,-165,-183,-179,-219,-190},{-184,-161,-174,-196,-193,-204},{-160,-165,-166,-173,-219,-202},{-162,-177,-174,-192,-205,-220},{-170,-170,-166,-198,-209,-187},{-167,-172,-185,-209,-215,-192},{-162,-165,-202,-186,-199,-204},{-180,-191,-170,-173,-179,-216},{-158,-181,-204,-209,-203,-212},{-182,-193,-178,-194,-211,-202},{-156,-177,-191,-190,-187,-206},{-178,-191,-202,-211,-195,-210}},{{-217,-234,-213,-238,-208,-238},{-204,-228,-220,-238,-213,-252},{-222,-199,-242,-243,-210,-238},{-213,-212,-211,-229,-231,-233},{-222,-239,-231,-229,-249,-233},{-230,-237,-226,-219,-217,-217},{-211,-241,-228,-208,-217,-208},{-194,-210,-215,-249,-236,-219},{-207,-232,-237,-208,-247,-213},{-194,-239,-211,-252,-208,-236},{-207,-221,-222,-247,-215,-245},{-207,-201,-228,-219,-238,-252},{-230,-237,-213,-231,-238,-233},{-228,-228,-206,-249,-240,-247},{-219,-208,-240,-210,-222,-245},{-228,-201,-226,-224,-240,-219},{-228,-239,-228,-222,-233,-238},{-204,-215,-213,-254,-236,-222},{-202,-208,-202,-224,-231,-215},{-209,-221,-226,-236,-226,-213}}},{{{-287,-287,-282,-266,-245,-239},{-258,-277,-250,-293,-269,-255},{-287,-263,-271,-263,-285,-274},{-250,-239,-247,-274,-271,-239},{-245,-293,-239,-263,-282,-245},{-290,-258,-274,-258,-261,-274},{-250,-274,-263,-261,-285,-271},{-239,-245,-274,-261,-239,-269},{-277,-285,-279,-253,-245,-287},{-293,-242,-274,-285,-290,-290},{-277,-274,-266,-255,-261,-277},{-287,-258,-282,-266,-271,-263},{-277,-285,-266,-293,-261,-258},{-245,-274,-285,-255,-266,-247},{-247,-258,-245,-245,-261,-242},{-253,-279,-293,-242,-247,-253},{-258,-266,-293,-239,-290,-250},{-269,-287,-239,-242,-245,-287},{-287,-282,-277,-247,-247,-285},{-242,-282,-261,-279,-263,-293}},{{-282,-250,-250,-261,-252,-249},{-285,-247,-293,-290,-259,-282},{-269,-247,-279,-239,-267,-256},{-258,-282,-293,-271,-270,-254},{-261,-285,-245,-242,-241,-272},{-242,-255,-282,-293,-265,-272},{-245,-258,-269,-261,-257,-262},{-269,-279,-285,-239,-283,-259},{-266,-274,-293,-282,-265,-256},{-266,-285,-253,-266,-272,-238},{-255,-269,-261,-255,-286,-259},{-239,-282,-255,-263,-288,-282},{-255,-239,-274,-258,-270,-233},{-250,-258,-263,-269,-265,-238},{-253,-261,-261,-287,-244,-238},{-253,-290,-269,-271,-265,-256},{-261,-263,-242,-279,-249,-254},{-285,-261,-263,-266,-272,-272},{-287,-261,-269,-239,-280,-243},{-266,-279,-287,-261,-280,-272}},{{-251,-271,-234,-233,-223,-231},{-249,-250,-239,-243,-240,-265},{-285,-263,-249,-238,-255,-236},{-277,-271,-227,-228,-228,-248},{-233,-261,-227,-231,-233,-260},{-275,-268,-275,-248,-265,-258},{-236,-266,-270,-250,-260,-263},{-259,-261,-252,-228,-238,-263},{-272,-268,-277,-246,-245,-255},{-272,-228,-237,-268,-228,-246},{-275,-266,-262,-260,-245,-219},{-233,-258,-234,-236,-228,-236},{-275,-240,-272,-241,-255,-265},{-272,-271,-247,-238,-252,-258},{-246,-243,-229,-243,-238,-236},{-282,-238,-260,-241,-247,-253},{-241,-258,-265,-273,-240,-236},{-277,-230,-262,-270,-225,-263},{-254,-268,-267,-268,-238,-231},{-256,-228,-257,-260,-260,-224}},{{-226,-216,-238,-248,-228,-211},{-243,-240,-238,-237,-217,-240},{-240,-240,-249,-209,-235,-211},{-233,-249,-217,-230,-211,-215},{-252,-235,-243,-232,-204,-226},{-243,-235,-219,-242,-237,-233},{-259,-244,-229,-209,-231,-231},{-240,-240,-252,-221,-213,-246},{-250,-237,-247,-244,-211,-217},{-236,-242,-247,-216,-235,-204},{-257,-237,-219,-212,-237,-211},{-226,-242,-238,-225,-211,-244},{-231,-219,-252,-207,-222,-202},{-224,-256,-226,-248,-242,-228},{-219,-244,-247,-225,-235,-208},{-238,-244,-247,-225,-202,-211},{-252,-223,-208,-225,-206,-224},{-217,-258,-252,-244,-226,-224},{-217,-226,-222,-214,-240,-206},{-236,-233,-213,-244,-240,-222}},{{-211,-217,-228,-230,-213,-217},{-207,-217,-215,-217,-195,-230},{-207,-208,-234,-232,-213,-228},{-233,-230,-232,-208,-237,-208},{-211,-234,-221,-221,-208,-208},{-240,-213,-234,-237,-210,-202},{-202,-221,-210,-200,-210,-237},{-233,-200,-217,-215,-239,-237},{-229,-204,-232,-208,-232,-239},{-198,-237,-237,-217,-237,-202},{-220,-217,-208,-204,-202,-237},{-227,-208,-219,-213,-200,-208},{-231,-224,-208,-215,-239,-237},{-240,-213,-239,-204,-197,-234},{-200,-224,-200,-224,-230,-204},{-211,-208,-232,-210,-219,-232},{-211,-206,-202,-200,-230,-217},{-200,-230,-219,-204,-226,-200},{-198,-230,-210,-232,-226,-228},{-227,-195,-228,-219,-200,-224}},{{-224,-206,-237,-213,-195,-195},{-232,-234,-232,-208,-208,-230},{-237,-206,-228,-224,-230,-237},{-202,-232,-237,-206,-208,-230},{-219,-232,-206,-213,-226,-228},{-213,-195,-221,-226,-208,-210},{-204,-221,-221,-204,-206,-232},{-232,-208,-234,-213,-195,-200},{-237,-219,-228,-197,-228,-234},{-237,-239,-200,-217,-195,-208},{-232,-202,-219,-208,-206,-228},{-239,-210,-226,-208,-224,-195},{-195,-221,-217,-213,-210,-213},{-206,-230,-202,-206,-202,-234},{-228,-226,-197,-204,-202,-202},{-226,-228,-224,-219,-213,-200},{-215,-237,-226,-204,-217,-195},{-221,-232,-221,-202,-219,-208},{-239,-215,-217,-208,-219,-232},{-195,-204,-217,-239,-206,-237}},{{-201,-246,-208,-237,-219,-244},{-219,-242,-233,-218,-226,-254},{-210,-246,-237,-212,-245,-221},{-241,-206,-235,-209,-245,-251},{-232,-237,-242,-246,-224,-256},{-225,-208,-208,-221,-219,-216},{-223,-240,-208,-237,-226,-237},{-221,-222,-233,-228,-226,-212},{-230,-208,-224,-207,-219,-256},{-234,-242,-242,-230,-224,-244},{-228,-242,-220,-209,-219,-214},{-201,-215,-213,-207,-217,-237},{-241,-211,-235,-230,-226,-230},{-199,-224,-211,-248,-240,-251},{-230,-206,-220,-214,-247,-237},{-230,-233,-240,-225,-252,-228},{-210,-228,-202,-232,-231,-226},{-201,-240,-240,-239,-215,-233},{-203,-244,-228,-225,-233,-237},{-214,-206,-228,-218,-224,-237}},{{-240,-259,-252,-260,-267,-253},{-224,-225,-238,-241,-277,-256},{-255,-223,-243,-238,-227,-240},{-252,-237,-255,-226,-275,-256},{-240,-237,-245,-250,-229,-253},{-214,-220,-223,-265,-270,-276},{-228,-266,-225,-268,-275,-276},{-236,-252,-225,-258,-257,-243},{-233,-257,-250,-223,-234,-268},{-233,-218,-255,-255,-260,-266},{-255,-240,-247,-231,-262,-243},{-224,-257,-230,-223,-260,-228},{-243,-223,-267,-248,-237,-238},{-221,-227,-247,-268,-252,-240},{-221,-220,-240,-248,-249,-228},{-238,-252,-225,-253,-242,-261},{-238,-235,-270,-223,-275,-273},{-221,-220,-257,-241,-255,-261},{-221,-225,-260,-273,-232,-273},{-259,-261,-223,-250,-262,-278}},{{-267,-267,-257,-258,-255,-261},{-285,-236,-246,-271,-293,-266},{-264,-249,-246,-261,-250,-242},{-264,-251,-286,-293,-290,-277},{-251,-285,-241,-255,-247,-261},{-251,-243,-286,-258,-285,-250},{-272,-251,-262,-269,-245,-285},{-256,-256,-288,-287,-239,-274},{-275,-264,-283,-250,-282,-247},{-267,-269,-265,-263,-245,-245},{-238,-243,-238,-266,-271,-247},{-243,-256,-283,-290,-274,-242},{-241,-272,-246,-239,-263,-247},{-282,-267,-265,-261,-253,-277},{-275,-267,-288,-253,-269,-253},{-262,-280,-278,-287,-242,-247},{-262,-236,-246,-293,-277,-266},{-256,-262,-257,-290,-290,-266},{-249,-275,-288,-269,-255,-274},{-280,-256,-244,-255,-269,-239}}},{{{-277,-280,-295,-316,-295,-323},{-304,-280,-292,-283,-295,-305},{-322,-295,-298,-295,-283,-320},{-328,-292,-295,-331,-313,-284},{-295,-304,-295,-280,-307,-308},{-277,-316,-331,-286,-286,-272},{-301,-283,-295,-298,-277,-284},{-274,-322,-271,-316,-283,-299},{-292,-325,-271,-298,-319,-299},{-274,-304,-295,-322,-286,-293},{-322,-271,-310,-301,-331,-281},{-319,-298,-313,-295,-310,-269},{-277,-322,-301,-331,-304,-317},{-325,-289,-277,-328,-271,-302},{-331,-298,-286,-316,-307,-302},{-310,-271,-331,-331,-286,-281},{-331,-292,-319,-307,-325,-302},{-316,-331,-319,-325,-289,-269},{-316,-286,-280,-271,-277,-284},{-328,-319,-277,-289,-313,-296}},{{-267,-284,-286,-268,-254,-244},{-319,-301,-302,-257,-273,-239},{-314,-313,-255,-292,-292,-254},{-267,-281,-255,-270,-268,-267},{-272,-261,-297,-259,-257,-278},{-290,-307,-297,-259,-273,-278},{-319,-270,-269,-281,-254,-267},{-293,-298,-308,-265,-238,-252},{-287,-296,-258,-262,-270,-283},{-267,-276,-294,-268,-249,-262},{-322,-264,-269,-300,-252,-280},{-319,-304,-294,-265,-281,-262},{-272,-290,-274,-298,-244,-260},{-302,-313,-308,-278,-292,-265},{-319,-313,-291,-287,-270,-231},{-284,-304,-260,-270,-286,-267},{-293,-270,-308,-276,-254,-257},{-319,-270,-294,-265,-238,-272},{-293,-281,-288,-292,-244,-270},{-299,-296,-277,-281,-260,-272}},{{-265,-262,-224,-230,-197,-200},{-243,-218,-245,-212,-206,-192},{-270,-230,-245,-243,-233,-182},{-223,-257,-250,-225,-191,-204},{-233,-228,-211,-225,-201,-206},{-250,-245,-218,-232,-195,-194},{-243,-247,-231,-239,-212,-220},{-260,-245,-247,-217,-218,-196},{-223,-262,-240,-199,-223,-214},{-260,-230,-236,-203,-233,-194},{-260,-226,-234,-214,-231,-216},{-270,-247,-222,-230,-227,-206},{-268,-257,-245,-223,-233,-206},{-270,-252,-229,-212,-208,-184},{-228,-252,-250,-239,-212,-188},{-253,-264,-218,-241,-218,-218},{-273,-262,-218,-239,-220,-204},{-270,-238,-213,-206,-229,-222},{-268,-221,-250,-236,-214,-188},{-241,-226,-215,-232,-216,-190}},{{-186,-192,-162,-187,-173,-167},{-182,-190,-176,-157,-169,-161},{-175,-186,-169,-162,-166,-175},{-188,-195,-167,-165,-183,-169},{-208,-205,-190,-181,-168,-166},{-175,-184,-169,-158,-169,-158},{-202,-177,-194,-170,-171,-174},{-190,-182,-194,-174,-179,-172},{-190,-197,-174,-186,-181,-161},{-194,-197,-182,-184,-171,-177},{-202,-186,-182,-160,-174,-155},{-192,-188,-173,-182,-181,-159},{-192,-192,-166,-182,-159,-169},{-180,-188,-185,-174,-176,-150},{-213,-203,-162,-163,-181,-158},{-196,-203,-194,-167,-168,-166},{-206,-203,-194,-160,-159,-174},{-210,-192,-189,-165,-173,-177},{-184,-173,-190,-186,-154,-156},{-177,-169,-187,-165,-174,-169}},{{-147,-143,-143,-143,-168,-163},{-167,-151,-156,-156,-142,-148},{-159,-154,-145,-160,-154,-142},{-151,-159,-160,-160,-154,-151},{-167,-142,-160,-162,-169,-142},{-142,-159,-151,-162,-140,-152},{-151,-162,-156,-139,-157,-152},{-172,-163,-143,-168,-152,-145},{-168,-169,-154,-143,-151,-156},{-147,-149,-151,-160,-154,-168},{-154,-140,-160,-159,-162,-145},{-159,-148,-149,-163,-154,-169},{-147,-163,-145,-169,-142,-162},{-140,-149,-159,-154,-165,-143},{-158,-148,-148,-149,-162,-162},{-170,-148,-160,-163,-139,-152},{-161,-169,-146,-154,-149,-157},{-150,-151,-168,-156,-168,-165},{-159,-145,-165,-169,-159,-166},{-161,-143,-146,-165,-151,-169}},{{-165,-173,-172,-178,-170,-194},{-149,-149,-147,-166,-186,-183},{-148,-167,-154,-155,-161,-170},{-162,-169,-172,-151,-177,-194},{-142,-173,-162,-158,-168,-181},{-160,-169,-162,-170,-177,-194},{-159,-167,-160,-158,-182,-192},{-148,-157,-168,-175,-159,-179},{-156,-167,-154,-151,-175,-183},{-146,-149,-170,-181,-161,-163},{-160,-162,-149,-183,-189,-168},{-149,-170,-164,-171,-184,-177},{-166,-175,-165,-176,-163,-174},{-157,-172,-159,-165,-170,-183},{-140,-161,-152,-176,-189,-174},{-139,-170,-156,-158,-159,-174},{-169,-161,-160,-178,-193,-183},{-163,-149,-162,-171,-180,-192},{-166,-164,-159,-180,-182,-172},{-140,-148,-177,-170,-168,-181}},{{-171,-210,-212,-204,-238,-241},{-200,-214,-220,-234,-218,-253},{-192,-196,-196,-217,-209,-253},{-207,-184,-204,-209,-248,-211},{-190,-210,-206,-200,-248,-236},{-203,-200,-187,-237,-202,-213},{-198,-204,-200,-194,-234,-227},{-200,-198,-208,-234,-209,-213},{-190,-212,-200,-230,-248,-257},{-207,-190,-206,-232,-248,-241},{-194,-180,-225,-200,-243,-241},{-188,-192,-216,-232,-207,-250},{-182,-180,-210,-226,-207,-236},{-190,-206,-212,-234,-216,-255},{-173,-178,-216,-226,-223,-218},{-198,-210,-216,-234,-245,-250},{-175,-216,-206,-194,-205,-239},{-209,-182,-200,-224,-207,-248},{-190,-208,-190,-200,-202,-227},{-207,-186,-198,-200,-223,-222}},{{-219,-234,-248,-274,-287,-258},{-250,-232,-258,-242,-295,-266},{-221,-267,-287,-253,-301,-286},{-267,-265,-245,-293,-293,-297},{-241,-277,-274,-293,-293,-300},{-262,-249,-271,-282,-290,-308},{-226,-232,-243,-256,-295,-272},{-245,-277,-282,-282,-259,-286},{-260,-227,-238,-272,-276,-266},{-260,-242,-258,-245,-290,-260},{-224,-275,-274,-274,-262,-277},{-236,-270,-282,-277,-268,-311},{-238,-232,-251,-274,-304,-291},{-238,-257,-235,-245,-248,-286},{-260,-247,-284,-285,-287,-303},{-231,-265,-258,-266,-251,-260},{-221,-234,-238,-242,-287,-260},{-221,-257,-238,-261,-257,-291},{-265,-237,-284,-280,-262,-297},{-248,-270,-284,-253,-276,-303}},{{-289,-297,-311,-328,-283,-325},{-277,-279,-293,-328,-316,-319},{-309,-300,-308,-322,-310,-301},{-283,-320,-284,-286,-331,-292},{-272,-306,-293,-280,-319,-325},{-263,-285,-293,-274,-316,-295},{-295,-297,-326,-307,-274,-325},{-309,-285,-284,-322,-325,-310},{-306,-273,-299,-325,-313,-283},{-289,-265,-293,-295,-289,-307},{-306,-303,-290,-274,-331,-283},{-269,-268,-308,-274,-271,-271},{-263,-294,-302,-283,-328,-295},{-318,-291,-293,-298,-277,-316},{-295,-300,-281,-274,-322,-274},{-280,-306,-290,-289,-310,-325},{-286,-315,-269,-301,-301,-286},{-318,-297,-269,-286,-304,-289},{-275,-285,-305,-271,-274,-313},{-269,-265,-302,-316,-310,-289}}},{{{-340,-322,-360,-374,-318,-385},{-378,-318,-385,-343,-318,-354},{-326,-322,-374,-354,-374,-382},{-318,-360,-350,-354,-371,-346},{-357,-329,-322,-322,-354,-360},{-315,-346,-385,-354,-340,-326},{-357,-364,-374,-374,-318,-371},{-368,-315,-385,-332,-336,-332},{-371,-326,-346,-357,-382,-329},{-332,-364,-360,-354,-322,-382},{-343,-315,-364,-336,-360,-368},{-315,-360,-322,-385,-350,-350},{-329,-336,-374,-364,-368,-382},{-364,-371,-382,-326,-371,-343},{-340,-385,-371,-322,-346,-357},{-385,-382,-322,-322,-326,-350},{-357,-350,-329,-343,-343,-340},{-382,-336,-329,-332,-350,-357},{-343,-368,-329,-378,-354,-360},{-346,-371,-354,-346,-336,-357}},{{-376,-377,-356,-361,-298,-296},{-324,-346,-359,-367,-328,-325},{-369,-312,-339,-307,-348,-293},{-358,-319,-308,-331,-305,-306},{-351,-346,-336,-337,-361,-303},{-331,-336,-342,-361,-325,-296},{-313,-312,-346,-311,-312,-332},{-327,-370,-315,-307,-295,-299},{-351,-340,-305,-367,-341,-345},{-348,-333,-339,-314,-361,-332},{-355,-326,-366,-334,-308,-338},{-372,-364,-312,-364,-312,-348},{-362,-374,-305,-357,-351,-332},{-327,-346,-329,-367,-335,-312},{-379,-316,-339,-317,-318,-309},{-317,-309,-325,-327,-321,-309},{-362,-377,-305,-367,-358,-325},{-331,-322,-366,-347,-328,-335},{-365,-367,-356,-331,-321,-312},{-324,-357,-366,-337,-331,-290}},{{-302,-308,-309,-287,-299,-261},{-334,-311,-270,-272,-279,-281},{-284,-314,-330,-296,-259,-275},{-315,-330,-300,-314,-296,-281},{-290,-293,-318,-284,-308,-261},{-318,-326,-312,-322,-314,-278},{-306,-339,-294,-302,-265,-272},{-312,-286,-303,-299,-262,-278},{-315,-277,-288,-322,-285,-300},{-324,-305,-312,-308,-259,-292},{-337,-314,-294,-296,-276,-300},{-318,-308,-327,-278,-291,-272},{-312,-296,-282,-302,-285,-289},{-324,-330,-291,-270,-291,-270},{-306,-302,-294,-278,-259,-292},{-343,-280,-282,-281,-276,-295},{-324,-308,-330,-270,-268,-300},{-312,-339,-318,-264,-282,-275},{-309,-326,-327,-302,-265,-272},{-293,-336,-306,-275,-274,-284}},{{-281,-289,-254,-251,-243,-229},{-248,-279,-239,-236,-260,-232},{-246,-287,-267,-236,-247,-239},{-278,-255,-260,-226,-233,-244},{-254,-260,-265,-248,-240,-244},{-251,-284,-272,-236,-223,-263},{-297,-260,-278,-261,-257,-215},{-289,-279,-270,-274,-225,-251},{-246,-258,-267,-256,-233,-249},{-254,-250,-280,-261,-255,-251},{-251,-237,-260,-261,-260,-251},{-270,-284,-267,-238,-243,-229},{-294,-263,-254,-231,-243,-237},{-284,-284,-270,-274,-238,-237},{-251,-263,-257,-259,-235,-246},{-273,-281,-262,-241,-260,-249},{-259,-255,-283,-241,-250,-258},{-243,-260,-260,-256,-255,-227},{-267,-271,-252,-246,-250,-225},{-248,-237,-280,-271,-245,-234}},{{-216,-238,-236,-226,-222,-247},{-254,-238,-210,-243,-229,-254},{-213,-236,-254,-247,-222,-254},{-216,-213,-213,-231,-219,-210},{-246,-213,-213,-252,-226,-252},{-216,-213,-238,-215,-236,-208},{-220,-254,-226,-210,-254,-254},{-216,-249,-226,-240,-222,-254},{-258,-229,-243,-213,-240,-231},{-242,-238,-240,-231,-219,-219},{-261,-249,-210,-247,-236,-226},{-220,-208,-254,-236,-233,-229},{-239,-233,-249,-254,-243,-219},{-254,-222,-247,-247,-208,-229},{-235,-236,-208,-233,-231,-210},{-261,-213,-224,-254,-229,-233},{-239,-222,-229,-236,-238,-222},{-237,-217,-222,-215,-229,-249},{-256,-217,-213,-217,-245,-254},{-249,-219,-245,-215,-226,-217}},{{-219,-208,-235,-233,-261,-256},{-236,-222,-242,-252,-247,-261},{-252,-219,-221,-231,-220,-248},{-247,-215,-245,-217,-247,-226},{-226,-213,-226,-248,-230,-234},{-224,-247,-228,-255,-264,-266},{-231,-249,-217,-257,-223,-271},{-208,-243,-219,-262,-237,-246},{-208,-238,-210,-250,-218,-244},{-243,-224,-252,-245,-232,-253},{-249,-222,-224,-224,-218,-236},{-210,-224,-210,-231,-252,-231},{-238,-233,-254,-248,-259,-231},{-213,-222,-256,-243,-223,-234},{-233,-254,-242,-236,-240,-221},{-224,-247,-231,-257,-218,-226},{-243,-236,-240,-243,-227,-226},{-243,-224,-254,-228,-235,-261},{-219,-240,-242,-231,-225,-261},{-249,-219,-226,-217,-249,-248}},{{-242,-236,-269,-246,-292,-305},{-267,-282,-242,-276,-287,-265},{-272,-251,-287,-300,-267,-300},{-244,-262,-253,-278,-289,-297},{-257,-249,-242,-259,-289,-276},{-227,-272,-245,-281,-264,-288},{-249,-233,-247,-292,-289,-268},{-239,-264,-285,-300,-303,-288},{-255,-243,-253,-265,-301,-305},{-234,-251,-239,-251,-270,-314},{-249,-254,-271,-251,-270,-279},{-260,-277,-247,-262,-287,-285},{-252,-249,-282,-295,-253,-314},{-237,-251,-255,-287,-289,-279},{-257,-267,-282,-270,-281,-274},{-270,-241,-282,-278,-284,-271},{-227,-275,-279,-262,-267,-314},{-237,-272,-290,-278,-284,-294},{-242,-267,-274,-298,-253,-314},{-257,-251,-293,-287,-303,-308}},{{-275,-285,-319,-285,-350,-333},{-314,-291,-316,-323,-292,-307},{-308,-321,-310,-346,-347,-307},{-308,-279,-294,-349,-327,-337},{-269,-303,-294,-295,-347,-333},{-287,-306,-335,-295,-350,-317},{-290,-288,-307,-295,-301,-310},{-296,-309,-332,-323,-301,-320},{-299,-321,-316,-327,-337,-346},{-290,-279,-329,-314,-311,-356},{-302,-273,-288,-288,-337,-360},{-311,-327,-307,-320,-314,-356},{-299,-318,-298,-349,-353,-363},{-275,-306,-304,-307,-340,-297},{-281,-276,-294,-336,-330,-330},{-302,-333,-307,-333,-321,-323},{-293,-294,-288,-333,-347,-323},{-293,-315,-310,-317,-298,-304},{-314,-309,-326,-346,-308,-337},{-269,-306,-282,-301,-308,-320}},{{-316,-321,-368,-326,-340,-329},{-336,-321,-344,-371,-332,-329},{-353,-375,-313,-332,-354,-374},{-329,-344,-323,-332,-346,-318},{-363,-358,-310,-346,-350,-371},{-360,-317,-358,-382,-336,-385},{-312,-338,-361,-385,-336,-343},{-333,-341,-323,-360,-336,-329},{-366,-314,-375,-315,-357,-336},{-363,-327,-378,-360,-315,-378},{-346,-327,-358,-354,-385,-360},{-316,-338,-375,-350,-350,-322},{-360,-334,-323,-315,-350,-332},{-309,-327,-316,-382,-354,-315},{-333,-361,-327,-360,-385,-378},{-356,-372,-334,-368,-360,-374},{-329,-358,-320,-343,-332,-336},{-356,-372,-310,-343,-350,-322},{-366,-365,-365,-322,-350,-378},{-319,-358,-358,-326,-329,-382}}}}; // 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,8,24,13,8,24,12,8,26,13,9,25,13,9,25,13,9,26,13,9,26,13,9,25,13,9,25,13,9,26,13,9,26,13,9,27,13,9,26,14,9,26,13,9,26,13,9,26,13,9,27,13,9,26,13,9,25,13,9,25,13,9,25,13,9,26,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}}; // 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,1,7,13,19,25,31,37,43,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,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,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,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,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,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,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,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,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,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,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,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,0,4,8,12,16,20,24,28,32,36,40,44,48,52,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,52,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,2,6,10,14,18,22,26,30,34,38,42,46,50,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,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,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,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,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,0,4,8,12,16,20,24,28,32,36,40,44,48,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,1,5,9,13,17,21,25,29,33,37,41,45,49,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,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,1,7,13,19,25,31,37,43,49}; // 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,6,12,18,24,30,36,42,48,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,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,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,4,8,12,16,20,24,28,32,36,40,44,48,52,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,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,4,8,12,16,20,24,28,32,36,40,44,48,52,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,3,7,11,15,19,23,27,31,35,39,43,47,51,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,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,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,4,8,12,16,20,24,28,32,36,40,44,48,52,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,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,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,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,1,5,9,13,17,21,25,29,33,37,41,45,49,53,1,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,2,6,10,14,18,22,26,30,34,38,42,46,50,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,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,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,53,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,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,3,7,11,15,19,23,27,31,35,39,43,47,51,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,2,6,10,14,18,22,26,30,34,38,42,46,50,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,4,8,12,16,20,24,28,32,36,40,44,48,52,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,5,9,13,17,21,25,29,33,37,41,45,49,53,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,3,7,11,15,19,23,27,31,35,39,43,47,51,4,10,16,22,28,34,40,46,52}; // set of end times of each shipment 
