int Dev = 20;// Deviation
extern const int CNN = 3;// Case Index
extern const int P = 3;// Number of phases
extern const int PT = 6;// Number of periods in a phase
extern const int T = 18;// Number of periods
extern const int I1 =1;// Number of suppliers
extern const int I2 = 8;// Number of customers
extern const int I = 9;// Number of sites
extern const int BN = 72;//Number of bids
extern const int LBN = 9;//Number of bids on each arc
extern const int SPN = 348;//Number of shipments
extern const int SN = 50;//Number of scenarios at each stage
extern const int MBSN = 9;//Number of shipments in a bid
// tree parameters:
double PRO[P][SN]={{0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02},{0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02},{0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02}}; // the probability of each scenario at each phase 
// timing parameters: 
int PTN[P]={6,6,6}; // number of periods in each phase 
int PTset[P][PT]={{0,1,2,3,4,5},{6,7,8,9,10,11},{12,13,14,15,16,17}}; // set of periods in each phase 
// distribution parameters: 
int sup[I][P][SN][PT]={{{{12189,0,0,0,0,0},{12154,0,0,0,0,0},{12335,0,0,0,0,0},{12402,0,0,0,0,0},{12808,0,0,0,0,0},{12307,0,0,0,0,0},{12559,0,0,0,0,0},{12623,0,0,0,0,0},{12492,0,0,0,0,0},{12325,0,0,0,0,0},{12396,0,0,0,0,0},{12473,0,0,0,0,0},{12523,0,0,0,0,0},{12837,0,0,0,0,0},{12643,0,0,0,0,0},{12542,0,0,0,0,0},{12661,0,0,0,0,0},{12659,0,0,0,0,0},{12207,0,0,0,0,0},{12355,0,0,0,0,0},{12378,0,0,0,0,0},{12270,0,0,0,0,0},{12481,0,0,0,0,0},{12209,0,0,0,0,0},{12264,0,0,0,0,0},{12323,0,0,0,0,0},{12395,0,0,0,0,0},{12461,0,0,0,0,0},{12772,0,0,0,0,0},{12686,0,0,0,0,0},{12682,0,0,0,0,0},{12417,0,0,0,0,0},{12203,0,0,0,0,0},{12367,0,0,0,0,0},{12364,0,0,0,0,0},{12315,0,0,0,0,0},{12289,0,0,0,0,0},{12801,0,0,0,0,0},{12030,0,0,0,0,0},{12404,0,0,0,0,0},{12429,0,0,0,0,0},{12668,0,0,0,0,0},{12160,0,0,0,0,0},{12444,0,0,0,0,0},{11894,0,0,0,0,0},{12574,0,0,0,0,0},{12616,0,0,0,0,0},{12470,0,0,0,0,0},{12206,0,0,0,0,0},{12363,0,0,0,0,0}},{{12264,0,0,0,0,0},{12394,0,0,0,0,0},{12281,0,0,0,0,0},{12215,0,0,0,0,0},{12599,0,0,0,0,0},{12552,0,0,0,0,0},{12419,0,0,0,0,0},{12178,0,0,0,0,0},{12310,0,0,0,0,0},{12070,0,0,0,0,0},{12462,0,0,0,0,0},{12489,0,0,0,0,0},{12115,0,0,0,0,0},{12683,0,0,0,0,0},{12557,0,0,0,0,0},{12121,0,0,0,0,0},{11950,0,0,0,0,0},{12452,0,0,0,0,0},{12244,0,0,0,0,0},{12552,0,0,0,0,0},{12211,0,0,0,0,0},{12386,0,0,0,0,0},{12635,0,0,0,0,0},{12333,0,0,0,0,0},{12336,0,0,0,0,0},{12263,0,0,0,0,0},{12341,0,0,0,0,0},{12535,0,0,0,0,0},{12647,0,0,0,0,0},{12544,0,0,0,0,0},{12336,0,0,0,0,0},{12266,0,0,0,0,0},{12378,0,0,0,0,0},{12080,0,0,0,0,0},{12298,0,0,0,0,0},{12462,0,0,0,0,0},{12277,0,0,0,0,0},{12251,0,0,0,0,0},{12573,0,0,0,0,0},{11958,0,0,0,0,0},{12283,0,0,0,0,0},{12722,0,0,0,0,0},{12299,0,0,0,0,0},{12247,0,0,0,0,0},{12602,0,0,0,0,0},{12219,0,0,0,0,0},{11893,0,0,0,0,0},{12661,0,0,0,0,0},{12620,0,0,0,0,0},{12519,0,0,0,0,0}},{{11586,0,0,0,0,0},{11491,0,0,0,0,0},{11353,0,0,0,0,0},{11553,0,0,0,0,0},{11700,0,0,0,0,0},{11843,0,0,0,0,0},{11492,0,0,0,0,0},{11551,0,0,0,0,0},{11821,0,0,0,0,0},{11930,0,0,0,0,0},{11562,0,0,0,0,0},{11301,0,0,0,0,0},{11202,0,0,0,0,0},{11601,0,0,0,0,0},{11291,0,0,0,0,0},{11545,0,0,0,0,0},{11317,0,0,0,0,0},{11734,0,0,0,0,0},{11695,0,0,0,0,0},{11426,0,0,0,0,0},{11427,0,0,0,0,0},{11635,0,0,0,0,0},{11558,0,0,0,0,0},{11569,0,0,0,0,0},{11809,0,0,0,0,0},{11898,0,0,0,0,0},{11547,0,0,0,0,0},{11766,0,0,0,0,0},{11492,0,0,0,0,0},{11304,0,0,0,0,0},{11622,0,0,0,0,0},{11795,0,0,0,0,0},{11352,0,0,0,0,0},{11709,0,0,0,0,0},{11694,0,0,0,0,0},{11276,0,0,0,0,0},{11304,0,0,0,0,0},{11406,0,0,0,0,0},{11787,0,0,0,0,0},{11174,0,0,0,0,0},{11534,0,0,0,0,0},{11401,0,0,0,0,0},{11881,0,0,0,0,0},{11735,0,0,0,0,0},{11617,0,0,0,0,0},{11528,0,0,0,0,0},{11751,0,0,0,0,0},{11582,0,0,0,0,0},{11323,0,0,0,0,0},{11727,0,0,0,0,0}}},{{{-253,-288,-294,-276,-344,-329},{-250,-306,-235,-315,-250,-285},{-241,-253,-323,-235,-279,-315},{-297,-238,-329,-347,-320,-235},{-297,-347,-323,-318,-285,-294},{-247,-247,-320,-323,-297,-306},{-323,-326,-315,-247,-353,-244},{-259,-238,-350,-326,-323,-247},{-279,-285,-338,-291,-309,-244},{-276,-344,-297,-297,-297,-244},{-318,-235,-244,-309,-273,-285},{-350,-312,-238,-335,-335,-241},{-350,-276,-335,-332,-238,-338},{-326,-344,-265,-315,-303,-323},{-276,-332,-259,-244,-312,-315},{-315,-347,-329,-329,-320,-270},{-300,-323,-344,-285,-279,-350},{-323,-344,-262,-288,-297,-347},{-282,-341,-320,-244,-335,-270},{-309,-353,-318,-265,-238,-297},{-338,-244,-235,-291,-285,-350},{-291,-300,-338,-315,-326,-306},{-323,-326,-335,-341,-297,-285},{-279,-344,-276,-312,-259,-323},{-288,-315,-262,-332,-341,-270},{-265,-273,-306,-315,-297,-320},{-347,-285,-291,-303,-320,-276},{-315,-329,-270,-235,-326,-332},{-282,-279,-294,-341,-282,-323},{-338,-282,-270,-279,-338,-312},{-265,-282,-294,-297,-288,-315},{-238,-309,-270,-291,-282,-332},{-285,-282,-244,-282,-270,-312},{-326,-294,-247,-332,-338,-268},{-244,-300,-297,-353,-335,-312},{-320,-238,-291,-279,-294,-279},{-335,-241,-335,-279,-247,-265},{-326,-297,-335,-332,-253,-332},{-294,-315,-235,-326,-250,-250},{-262,-312,-282,-282,-306,-309},{-241,-259,-332,-270,-323,-291},{-315,-282,-323,-294,-291,-253},{-247,-276,-270,-256,-320,-262},{-338,-297,-309,-238,-329,-350},{-253,-235,-265,-329,-329,-326},{-262,-332,-256,-344,-341,-347},{-326,-326,-244,-350,-285,-335},{-235,-256,-262,-279,-347,-353},{-265,-303,-347,-265,-241,-241},{-241,-326,-288,-253,-276,-344}},{{-281,-332,-252,-222,-315,-246},{-287,-317,-241,-263,-270,-287},{-235,-343,-288,-318,-318,-277},{-328,-269,-322,-269,-288,-231},{-348,-326,-328,-304,-275,-264},{-255,-255,-227,-249,-307,-267},{-345,-335,-266,-230,-288,-287},{-287,-237,-263,-271,-230,-306},{-267,-326,-269,-312,-280,-264},{-232,-257,-255,-310,-227,-308},{-261,-326,-232,-301,-232,-246},{-270,-303,-252,-312,-243,-311},{-273,-277,-252,-296,-299,-210},{-278,-255,-328,-304,-302,-298},{-258,-232,-283,-304,-272,-295},{-310,-235,-263,-301,-280,-246},{-238,-323,-224,-227,-270,-243},{-232,-320,-272,-310,-216,-277},{-264,-249,-333,-279,-264,-275},{-336,-312,-325,-299,-224,-308},{-255,-315,-238,-290,-243,-249},{-319,-309,-258,-288,-224,-267},{-264,-235,-319,-329,-264,-215},{-249,-326,-230,-236,-259,-285},{-261,-266,-238,-260,-278,-290},{-241,-252,-272,-236,-267,-282},{-264,-280,-227,-241,-238,-303},{-267,-280,-291,-244,-240,-285},{-319,-260,-294,-241,-302,-210},{-316,-260,-252,-219,-315,-236},{-313,-337,-333,-304,-310,-290},{-255,-257,-305,-258,-256,-210},{-241,-340,-283,-301,-238,-290},{-244,-332,-280,-296,-270,-262},{-331,-329,-277,-244,-318,-231},{-255,-275,-255,-304,-280,-306},{-276,-229,-328,-274,-318,-277},{-296,-312,-302,-233,-267,-238},{-273,-295,-319,-238,-318,-238},{-331,-335,-249,-233,-230,-254},{-252,-297,-260,-312,-304,-295},{-331,-277,-272,-310,-315,-308},{-276,-320,-252,-230,-296,-295},{-235,-295,-227,-233,-254,-256},{-232,-309,-291,-299,-235,-210},{-270,-272,-294,-299,-243,-259},{-296,-243,-302,-329,-267,-236},{-302,-300,-325,-310,-280,-236},{-296,-240,-230,-244,-283,-236},{-232,-337,-260,-285,-264,-290}},{{-200,-230,-219,-246,-218,-181},{-235,-203,-273,-190,-227,-210},{-228,-213,-191,-226,-250,-185},{-278,-247,-207,-231,-250,-171},{-278,-203,-212,-264,-201,-175},{-235,-220,-275,-269,-212,-194},{-235,-240,-254,-190,-253,-229},{-290,-196,-207,-186,-233,-169},{-258,-240,-189,-231,-171,-183},{-220,-194,-235,-249,-233,-167},{-282,-206,-196,-255,-203,-204},{-285,-264,-245,-269,-257,-192},{-215,-220,-231,-226,-248,-210},{-265,-223,-235,-264,-205,-239},{-255,-218,-214,-233,-244,-206},{-298,-273,-238,-179,-246,-204},{-238,-252,-196,-253,-182,-245},{-260,-242,-221,-231,-203,-206},{-225,-273,-205,-255,-223,-227},{-235,-201,-219,-255,-253,-235},{-245,-259,-219,-206,-212,-173},{-238,-278,-191,-262,-193,-204},{-250,-211,-189,-199,-208,-239},{-235,-254,-193,-195,-244,-169},{-240,-278,-280,-220,-233,-200},{-275,-227,-186,-184,-231,-229},{-300,-240,-273,-220,-208,-185},{-280,-249,-238,-220,-212,-231},{-295,-215,-203,-267,-188,-216},{-292,-218,-231,-179,-248,-247},{-240,-201,-205,-208,-248,-210},{-242,-290,-205,-264,-235,-243},{-232,-240,-256,-190,-220,-227},{-212,-288,-247,-190,-248,-198},{-248,-242,-212,-264,-257,-208},{-228,-266,-196,-193,-220,-202},{-232,-201,-252,-208,-220,-218},{-295,-213,-240,-226,-246,-235},{-295,-208,-263,-184,-248,-214},{-218,-257,-224,-193,-199,-229},{-218,-206,-252,-213,-225,-179},{-205,-288,-196,-240,-220,-216},{-238,-237,-259,-195,-184,-175},{-215,-198,-273,-260,-212,-241},{-225,-215,-205,-246,-233,-194},{-288,-266,-205,-246,-186,-231},{-205,-201,-228,-244,-244,-204},{-280,-198,-196,-186,-193,-200},{-202,-206,-240,-181,-255,-241},{-220,-215,-191,-186,-235,-229}}},{{{-138,-137,-177,-177,-149,-180},{-178,-155,-158,-215,-166,-185},{-186,-171,-168,-152,-155,-159},{-143,-161,-161,-150,-210,-208},{-181,-164,-196,-192,-160,-185},{-158,-167,-147,-202,-184,-220},{-148,-201,-177,-209,-219,-229},{-160,-145,-200,-161,-180,-216},{-144,-155,-210,-158,-164,-166},{-190,-145,-175,-190,-197,-166},{-146,-139,-210,-200,-156,-185},{-170,-162,-206,-195,-219,-189},{-186,-196,-158,-190,-169,-178},{-170,-196,-194,-209,-199,-208},{-166,-177,-191,-170,-188,-222},{-139,-186,-189,-181,-160,-199},{-175,-164,-154,-192,-219,-216},{-163,-171,-172,-215,-186,-187},{-146,-181,-163,-150,-149,-227},{-136,-194,-177,-206,-156,-197},{-165,-154,-163,-211,-164,-166},{-176,-201,-194,-149,-186,-155},{-178,-198,-147,-143,-215,-201},{-156,-179,-194,-156,-164,-204},{-141,-188,-177,-204,-184,-201},{-168,-159,-152,-186,-166,-193},{-193,-135,-172,-149,-215,-193},{-134,-139,-140,-175,-156,-199},{-171,-174,-164,-150,-197,-170},{-200,-159,-152,-209,-201,-164},{-141,-150,-189,-206,-202,-170},{-158,-189,-175,-156,-215,-174},{-195,-188,-144,-190,-158,-153},{-183,-179,-144,-206,-169,-178},{-186,-135,-149,-188,-158,-199},{-181,-139,-206,-199,-147,-204},{-161,-198,-161,-156,-210,-170},{-188,-167,-193,-184,-219,-180},{-165,-144,-154,-183,-204,-212},{-158,-147,-144,-186,-158,-162},{-170,-194,-186,-208,-221,-153},{-173,-201,-198,-156,-208,-187},{-200,-159,-200,-145,-217,-216},{-197,-174,-178,-168,-184,-176},{-163,-137,-184,-143,-213,-170},{-134,-166,-175,-190,-149,-155},{-160,-142,-161,-163,-190,-155},{-170,-171,-142,-147,-171,-176},{-175,-179,-163,-147,-164,-204},{-186,-183,-205,-215,-195,-181}},{{-180,-217,-181,-259,-234,-226},{-182,-176,-211,-263,-224,-238},{-212,-238,-173,-190,-218,-236},{-164,-240,-177,-194,-231,-202},{-158,-176,-177,-259,-245,-228},{-160,-246,-219,-243,-208,-259},{-212,-246,-226,-234,-261,-245},{-174,-166,-196,-232,-263,-190},{-170,-203,-215,-181,-195,-190},{-186,-176,-173,-259,-268,-217},{-214,-209,-256,-254,-261,-274},{-238,-184,-245,-223,-224,-228},{-210,-172,-249,-210,-236,-257},{-220,-238,-196,-228,-261,-226},{-188,-228,-190,-256,-197,-286},{-232,-205,-241,-194,-199,-219},{-182,-238,-187,-245,-243,-205},{-194,-166,-179,-201,-256,-212},{-210,-189,-253,-228,-236,-212},{-238,-238,-209,-250,-220,-217},{-206,-174,-234,-201,-185,-240},{-224,-178,-209,-261,-208,-248},{-232,-164,-247,-230,-275,-193},{-174,-217,-230,-206,-211,-257},{-188,-236,-247,-236,-213,-259},{-176,-189,-253,-234,-199,-219},{-202,-221,-251,-203,-185,-243},{-184,-172,-207,-210,-197,-269},{-178,-176,-224,-177,-275,-198},{-166,-234,-222,-245,-240,-281},{-192,-232,-200,-201,-227,-202},{-238,-234,-256,-223,-256,-233},{-176,-207,-179,-186,-183,-257},{-164,-191,-241,-254,-195,-212},{-218,-164,-209,-183,-202,-221},{-168,-221,-236,-221,-263,-193},{-158,-184,-179,-225,-275,-224},{-202,-178,-179,-221,-222,-195},{-176,-244,-234,-210,-185,-226},{-202,-201,-170,-188,-261,-202},{-206,-180,-251,-261,-199,-193},{-194,-242,-215,-241,-275,-224},{-200,-238,-239,-194,-231,-193},{-230,-176,-207,-179,-266,-283},{-210,-193,-194,-252,-240,-231},{-192,-203,-170,-186,-250,-257},{-176,-170,-232,-181,-250,-224},{-198,-166,-190,-217,-227,-250},{-220,-232,-215,-206,-256,-228},{-236,-174,-179,-194,-185,-193}},{{-259,-237,-283,-224,-266,-314},{-227,-303,-223,-238,-305,-317},{-267,-245,-291,-313,-316,-246},{-296,-268,-220,-270,-310,-258},{-254,-232,-288,-262,-288,-249},{-264,-263,-210,-254,-230,-235},{-198,-224,-220,-256,-255,-272},{-215,-247,-254,-243,-285,-229},{-203,-247,-257,-259,-271,-337},{-237,-293,-241,-235,-222,-323},{-277,-235,-265,-286,-271,-283},{-235,-237,-259,-324,-230,-246},{-279,-270,-212,-219,-299,-260},{-264,-219,-231,-292,-235,-263},{-203,-283,-272,-262,-241,-232},{-254,-209,-215,-278,-324,-269},{-249,-219,-233,-316,-263,-337},{-274,-255,-314,-216,-269,-252},{-274,-286,-304,-246,-283,-291},{-272,-263,-296,-273,-302,-263},{-287,-270,-215,-224,-307,-308},{-274,-219,-210,-273,-274,-320},{-200,-278,-215,-292,-269,-286},{-272,-306,-270,-262,-280,-229},{-282,-237,-301,-294,-285,-272},{-203,-306,-278,-321,-330,-246},{-264,-250,-252,-275,-302,-246},{-232,-250,-304,-219,-305,-294},{-284,-260,-217,-302,-269,-243},{-217,-204,-233,-243,-294,-286},{-269,-219,-215,-305,-249,-337},{-294,-291,-223,-227,-235,-311},{-242,-212,-301,-310,-305,-241},{-291,-273,-244,-308,-307,-323},{-291,-224,-231,-251,-291,-272},{-240,-283,-223,-246,-255,-297},{-264,-301,-312,-259,-271,-246},{-212,-270,-215,-219,-316,-286},{-210,-301,-293,-248,-294,-255},{-245,-245,-225,-235,-307,-232},{-252,-222,-301,-243,-235,-246},{-245,-255,-304,-286,-310,-283},{-254,-250,-299,-310,-227,-303},{-262,-247,-270,-302,-227,-303},{-217,-209,-254,-297,-313,-331},{-274,-298,-272,-240,-332,-243},{-254,-275,-233,-275,-260,-280},{-262,-278,-286,-319,-266,-260},{-225,-224,-299,-256,-327,-297},{-269,-283,-231,-286,-266,-294}}},{{{-273,-299,-263,-395,-345,-266},{-326,-378,-372,-382,-306,-266},{-349,-273,-342,-299,-365,-332},{-283,-319,-296,-266,-313,-303},{-378,-375,-392,-372,-382,-290},{-296,-372,-362,-329,-355,-388},{-362,-293,-349,-313,-375,-290},{-395,-365,-316,-385,-378,-336},{-368,-296,-355,-355,-372,-326},{-382,-313,-345,-293,-392,-296},{-355,-322,-365,-368,-382,-368},{-342,-270,-368,-395,-293,-283},{-342,-332,-375,-352,-313,-395},{-382,-299,-336,-368,-332,-303},{-276,-362,-385,-309,-349,-372},{-286,-382,-309,-382,-313,-342},{-382,-368,-326,-392,-336,-326},{-290,-375,-299,-372,-280,-299},{-322,-266,-329,-342,-385,-290},{-276,-283,-359,-332,-336,-303},{-345,-385,-316,-273,-395,-296},{-368,-303,-290,-355,-329,-293},{-385,-375,-388,-375,-336,-266},{-296,-326,-342,-339,-296,-368},{-342,-372,-362,-286,-388,-362},{-355,-329,-280,-355,-322,-306},{-316,-266,-359,-316,-303,-319},{-293,-339,-395,-368,-339,-306},{-372,-316,-342,-329,-273,-385},{-263,-392,-306,-372,-339,-345},{-345,-263,-352,-342,-296,-372},{-345,-378,-359,-270,-326,-286},{-322,-313,-316,-378,-368,-309},{-355,-309,-375,-345,-290,-306},{-283,-263,-339,-296,-368,-382},{-385,-263,-355,-329,-352,-280},{-352,-385,-280,-332,-349,-336},{-293,-316,-283,-319,-392,-332},{-316,-309,-276,-290,-365,-276},{-336,-286,-309,-395,-359,-270},{-345,-266,-392,-326,-378,-309},{-322,-362,-375,-375,-392,-266},{-336,-293,-355,-326,-329,-362},{-345,-372,-332,-303,-352,-273},{-299,-345,-273,-352,-286,-296},{-319,-368,-263,-299,-293,-365},{-378,-266,-283,-342,-349,-303},{-266,-326,-359,-296,-372,-309},{-326,-296,-388,-392,-286,-273},{-296,-368,-309,-280,-378,-349}},{{-394,-322,-325,-283,-317,-331},{-341,-319,-373,-301,-363,-268},{-285,-345,-313,-254,-246,-301},{-308,-274,-293,-264,-277,-259},{-285,-364,-348,-311,-280,-298},{-384,-377,-373,-377,-351,-325},{-295,-261,-265,-364,-253,-310},{-312,-338,-338,-261,-271,-289},{-374,-348,-325,-270,-320,-262},{-367,-303,-322,-264,-299,-250},{-315,-325,-329,-349,-277,-304},{-312,-374,-309,-345,-299,-325},{-321,-380,-313,-257,-290,-271},{-318,-367,-383,-295,-249,-280},{-387,-377,-360,-254,-302,-343},{-302,-345,-354,-301,-274,-283},{-354,-267,-293,-254,-345,-265},{-262,-322,-348,-327,-277,-331},{-305,-306,-287,-298,-283,-250},{-262,-306,-357,-352,-345,-340},{-348,-283,-364,-308,-326,-259},{-282,-264,-319,-345,-317,-313},{-276,-351,-265,-377,-342,-301},{-272,-348,-357,-339,-265,-295},{-305,-377,-293,-345,-305,-256},{-361,-364,-262,-374,-253,-256},{-331,-287,-341,-298,-360,-331},{-354,-325,-351,-254,-283,-313},{-394,-361,-351,-295,-317,-283},{-384,-367,-357,-276,-360,-325},{-269,-258,-262,-358,-280,-280},{-266,-287,-287,-298,-317,-244},{-272,-335,-341,-364,-259,-256},{-348,-267,-262,-327,-290,-271},{-364,-341,-364,-349,-283,-325},{-394,-383,-313,-251,-293,-325},{-282,-380,-262,-261,-367,-325},{-325,-309,-373,-314,-259,-250},{-321,-338,-303,-377,-246,-316},{-328,-290,-335,-273,-339,-274},{-295,-367,-290,-308,-299,-253},{-298,-303,-338,-320,-370,-247},{-331,-361,-329,-305,-259,-334},{-394,-345,-258,-261,-336,-337},{-338,-270,-360,-254,-259,-337},{-298,-299,-367,-295,-326,-310},{-318,-267,-303,-330,-271,-277},{-394,-312,-313,-323,-370,-262},{-384,-374,-278,-305,-363,-256},{-335,-287,-306,-342,-265,-304}},{{-277,-325,-266,-318,-246,-285},{-324,-239,-308,-313,-281,-208},{-327,-268,-224,-275,-223,-270},{-254,-305,-263,-234,-284,-231},{-251,-300,-305,-288,-228,-252},{-245,-331,-255,-305,-310,-280},{-351,-300,-314,-267,-217,-280},{-316,-311,-277,-321,-307,-211},{-345,-300,-311,-242,-244,-293},{-313,-343,-255,-272,-273,-278},{-266,-325,-302,-248,-292,-267},{-345,-230,-319,-231,-215,-285},{-295,-314,-336,-220,-265,-226},{-239,-239,-224,-307,-260,-296},{-239,-288,-322,-228,-260,-224},{-298,-346,-269,-242,-246,-270},{-280,-268,-269,-264,-310,-260},{-339,-340,-330,-258,-231,-298},{-354,-331,-316,-267,-299,-244},{-307,-236,-241,-250,-241,-275},{-351,-331,-314,-261,-215,-208},{-289,-239,-286,-316,-236,-298},{-301,-328,-252,-324,-265,-267},{-280,-294,-336,-316,-257,-221},{-266,-265,-283,-280,-315,-267},{-248,-346,-244,-318,-278,-252},{-280,-253,-336,-245,-289,-288},{-351,-300,-227,-258,-233,-265},{-319,-302,-263,-261,-217,-218},{-330,-259,-227,-223,-273,-267},{-239,-343,-311,-294,-292,-296},{-322,-300,-336,-291,-257,-265},{-313,-279,-232,-267,-212,-293},{-268,-245,-302,-316,-241,-221},{-280,-285,-252,-321,-292,-298},{-322,-262,-286,-248,-318,-229},{-310,-308,-319,-305,-292,-231},{-289,-311,-235,-242,-268,-239},{-248,-305,-328,-302,-289,-262},{-236,-328,-283,-242,-276,-244},{-298,-297,-277,-253,-265,-236},{-348,-325,-246,-280,-313,-206},{-316,-302,-277,-318,-289,-247},{-257,-239,-308,-286,-276,-296},{-313,-308,-286,-223,-294,-301},{-271,-233,-252,-261,-286,-301},{-307,-302,-311,-299,-262,-234},{-236,-291,-302,-326,-257,-285},{-254,-253,-305,-220,-228,-285},{-327,-271,-246,-307,-313,-308}}},{{{-109,-87,-128,-99,-138,-111},{-120,-95,-115,-110,-121,-142},{-118,-102,-101,-129,-139,-124},{-104,-100,-132,-103,-100,-151},{-126,-92,-95,-130,-104,-152},{-103,-86,-124,-104,-98,-152},{-102,-92,-93,-132,-137,-148},{-120,-123,-119,-139,-100,-113},{-110,-93,-131,-125,-143,-138},{-120,-109,-95,-129,-98,-116},{-86,-122,-103,-129,-143,-133},{-120,-94,-109,-135,-102,-134},{-117,-100,-111,-131,-140,-154},{-99,-107,-115,-130,-142,-118},{-96,-127,-102,-138,-126,-146},{-122,-111,-100,-126,-116,-119},{-124,-108,-90,-110,-116,-154},{-85,-122,-97,-125,-137,-148},{-85,-123,-90,-109,-104,-113},{-99,-93,-128,-133,-118,-111},{-124,-95,-109,-128,-106,-104},{-126,-90,-110,-140,-100,-131},{-90,-106,-91,-103,-102,-110},{-113,-85,-130,-109,-99,-115},{-87,-103,-110,-101,-135,-119},{-126,-109,-127,-101,-107,-102},{-97,-100,-130,-137,-106,-106},{-124,-106,-134,-110,-105,-123},{-91,-114,-103,-138,-143,-152},{-104,-96,-90,-116,-135,-104},{-112,-122,-92,-135,-144,-113},{-89,-117,-111,-113,-98,-152},{-94,-107,-113,-132,-101,-143},{-99,-123,-124,-122,-143,-128},{-108,-101,-113,-137,-144,-136},{-99,-101,-93,-110,-121,-113},{-117,-86,-93,-96,-118,-150},{-97,-107,-115,-118,-146,-142},{-120,-117,-131,-125,-99,-134},{-110,-90,-103,-119,-135,-108},{-104,-122,-90,-101,-144,-109},{-100,-113,-125,-99,-102,-141},{-92,-127,-94,-124,-104,-150},{-125,-99,-103,-119,-135,-146},{-108,-100,-112,-118,-140,-127},{-114,-125,-128,-95,-144,-110},{-106,-124,-106,-112,-98,-109},{-125,-113,-101,-133,-129,-110},{-110,-87,-96,-110,-118,-141},{-111,-110,-105,-128,-146,-116}},{{-151,-118,-167,-166,-172,-192},{-143,-125,-132,-141,-166,-163},{-128,-161,-154,-147,-158,-193},{-138,-118,-148,-140,-158,-155},{-120,-154,-170,-143,-185,-138},{-161,-125,-147,-180,-171,-188},{-157,-135,-151,-130,-143,-197},{-140,-169,-170,-161,-130,-171},{-108,-113,-123,-163,-148,-153},{-161,-155,-133,-150,-156,-188},{-138,-131,-155,-129,-148,-156},{-132,-166,-154,-130,-156,-193},{-112,-140,-147,-170,-153,-161},{-123,-149,-133,-180,-135,-165},{-128,-148,-151,-152,-187,-144},{-143,-124,-130,-169,-153,-153},{-150,-127,-149,-127,-148,-197},{-148,-130,-176,-166,-169,-158},{-138,-154,-132,-161,-155,-186},{-162,-169,-149,-186,-150,-143},{-123,-128,-120,-172,-161,-146},{-142,-120,-142,-157,-140,-198},{-117,-145,-149,-186,-151,-134},{-161,-121,-147,-166,-182,-186},{-111,-164,-173,-155,-150,-134},{-108,-154,-144,-124,-129,-165},{-147,-121,-142,-132,-143,-195},{-139,-162,-130,-147,-164,-180},{-132,-162,-136,-174,-184,-186},{-134,-147,-139,-172,-161,-155},{-139,-162,-154,-158,-161,-150},{-146,-151,-129,-181,-137,-144},{-142,-168,-144,-164,-169,-185},{-111,-135,-136,-136,-180,-190},{-144,-166,-126,-124,-153,-139},{-154,-128,-152,-175,-129,-156},{-135,-149,-178,-158,-179,-138},{-147,-154,-152,-181,-143,-161},{-119,-142,-161,-166,-155,-150},{-128,-138,-127,-146,-153,-173},{-143,-140,-139,-163,-129,-183},{-157,-155,-144,-149,-182,-178},{-126,-165,-158,-178,-138,-161},{-111,-138,-141,-126,-179,-193},{-115,-158,-121,-135,-161,-186},{-127,-117,-135,-152,-172,-153},{-147,-133,-170,-135,-185,-193},{-157,-144,-149,-157,-180,-178},{-132,-166,-138,-158,-145,-200},{-119,-161,-130,-150,-159,-192}},{{-193,-171,-184,-211,-227,-184},{-210,-178,-149,-188,-231,-158},{-142,-173,-219,-194,-208,-160},{-205,-155,-167,-182,-163,-202},{-156,-205,-218,-186,-184,-202},{-170,-198,-210,-184,-198,-216},{-198,-164,-164,-220,-200,-162},{-189,-175,-154,-201,-182,-220},{-173,-176,-173,-182,-235,-176},{-194,-184,-164,-190,-178,-230},{-198,-191,-184,-163,-188,-218},{-156,-194,-197,-169,-178,-172},{-175,-158,-223,-177,-216,-172},{-178,-149,-167,-209,-190,-212},{-158,-166,-171,-224,-216,-236},{-147,-160,-190,-209,-171,-174},{-158,-157,-167,-165,-190,-224},{-154,-184,-223,-194,-157,-170},{-154,-200,-175,-226,-198,-206},{-184,-144,-203,-192,-169,-172},{-150,-209,-216,-190,-178,-224},{-168,-194,-205,-188,-190,-210},{-177,-169,-179,-171,-227,-160},{-196,-185,-197,-173,-210,-162},{-164,-200,-151,-205,-233,-162},{-184,-194,-186,-207,-157,-222},{-142,-184,-184,-154,-212,-192},{-193,-180,-210,-182,-231,-196},{-152,-158,-206,-184,-190,-210},{-154,-158,-214,-180,-194,-234},{-154,-164,-203,-152,-216,-186},{-210,-180,-216,-173,-221,-174},{-140,-146,-177,-218,-161,-192},{-191,-176,-212,-203,-235,-196},{-200,-191,-169,-213,-227,-206},{-154,-214,-149,-154,-231,-182},{-186,-157,-166,-163,-167,-204},{-200,-200,-153,-220,-192,-190},{-205,-160,-214,-180,-227,-198},{-158,-164,-180,-182,-176,-194},{-200,-205,-208,-228,-196,-216},{-194,-158,-160,-163,-163,-158},{-173,-189,-193,-224,-214,-216},{-200,-202,-158,-224,-225,-186},{-170,-146,-167,-190,-194,-220},{-164,-173,-180,-203,-204,-192},{-178,-149,-199,-188,-186,-186},{-205,-151,-210,-177,-184,-222},{-145,-153,-221,-184,-182,-212},{-187,-207,-173,-186,-204,-210}}},{{{-189,-257,-207,-250,-217,-255},{-228,-193,-283,-195,-231,-264},{-256,-262,-233,-193,-221,-262},{-231,-228,-248,-217,-228,-195},{-263,-221,-248,-200,-269,-274},{-261,-271,-269,-195,-255,-250},{-214,-264,-195,-243,-281,-231},{-277,-276,-226,-195,-257,-262},{-238,-278,-236,-257,-202,-214},{-256,-209,-240,-248,-226,-250},{-219,-238,-198,-248,-207,-224},{-219,-212,-245,-255,-209,-248},{-196,-236,-283,-262,-276,-207},{-268,-276,-195,-207,-281,-240},{-235,-240,-276,-231,-262,-226},{-231,-224,-209,-240,-286,-278},{-247,-226,-207,-252,-193,-224},{-193,-271,-267,-271,-198,-226},{-228,-219,-250,-224,-200,-243},{-207,-269,-193,-252,-252,-286},{-277,-286,-255,-198,-195,-207},{-224,-248,-207,-274,-190,-255},{-231,-283,-271,-269,-190,-217},{-205,-245,-202,-221,-274,-274},{-221,-252,-209,-195,-240,-209},{-233,-214,-195,-236,-193,-219},{-240,-271,-195,-257,-243,-267},{-203,-212,-262,-274,-278,-267},{-252,-262,-207,-255,-262,-255},{-203,-252,-214,-233,-195,-238},{-259,-276,-259,-224,-274,-264},{-240,-221,-286,-207,-231,-255},{-226,-252,-274,-255,-283,-252},{-252,-207,-236,-259,-224,-195},{-261,-202,-233,-269,-190,-236},{-273,-243,-269,-283,-226,-214},{-245,-209,-281,-243,-286,-224},{-259,-262,-267,-283,-286,-195},{-217,-195,-267,-190,-245,-286},{-233,-252,-190,-236,-195,-217},{-268,-200,-193,-262,-286,-276},{-214,-226,-255,-283,-250,-202},{-191,-233,-240,-259,-212,-252},{-231,-190,-264,-190,-274,-209},{-203,-193,-248,-271,-243,-212},{-242,-286,-278,-278,-238,-267},{-254,-226,-193,-193,-257,-245},{-196,-221,-252,-236,-283,-200},{-203,-283,-231,-267,-278,-250},{-214,-283,-228,-207,-240,-236}},{{-205,-231,-256,-259,-210,-199},{-214,-214,-261,-213,-208,-250},{-212,-202,-247,-199,-212,-221},{-205,-257,-242,-240,-210,-263},{-236,-226,-261,-261,-237,-210},{-195,-207,-197,-256,-258,-177},{-267,-257,-212,-261,-206,-188},{-269,-248,-216,-201,-210,-208},{-209,-248,-216,-259,-264,-214},{-264,-193,-235,-259,-206,-188},{-274,-262,-268,-270,-264,-221},{-264,-243,-195,-273,-208,-186},{-190,-214,-263,-240,-249,-186},{-271,-267,-247,-201,-264,-239},{-269,-255,-230,-203,-208,-217},{-221,-257,-226,-215,-210,-232},{-217,-252,-251,-266,-258,-183},{-226,-259,-254,-206,-228,-265},{-274,-286,-268,-208,-194,-183},{-221,-238,-251,-187,-210,-245},{-274,-202,-240,-196,-244,-210},{-259,-271,-193,-277,-249,-183},{-209,-274,-277,-217,-197,-243},{-259,-276,-261,-229,-221,-181},{-193,-278,-195,-243,-249,-256},{-198,-269,-216,-226,-233,-248},{-245,-202,-190,-268,-183,-214},{-226,-250,-270,-226,-269,-230},{-217,-271,-268,-266,-242,-236},{-205,-267,-280,-238,-201,-241},{-248,-278,-195,-231,-188,-203},{-214,-228,-197,-259,-210,-192},{-283,-231,-202,-263,-246,-219},{-233,-236,-273,-240,-185,-203},{-202,-231,-214,-254,-215,-217},{-245,-198,-197,-219,-210,-203},{-228,-267,-280,-249,-212,-241},{-271,-228,-219,-266,-192,-248},{-190,-271,-204,-266,-197,-194},{-212,-226,-240,-275,-224,-250},{-238,-202,-195,-192,-258,-210},{-193,-228,-226,-268,-226,-243},{-226,-198,-209,-263,-185,-177},{-214,-281,-214,-261,-249,-261},{-264,-221,-247,-275,-242,-223},{-231,-238,-221,-222,-260,-265},{-245,-190,-275,-270,-210,-179},{-276,-248,-277,-263,-228,-232},{-269,-281,-280,-196,-255,-259},{-257,-228,-249,-210,-237,-181}},{{-178,-190,-232,-187,-189,-189},{-243,-178,-208,-162,-181,-194},{-196,-217,-240,-170,-181,-149},{-213,-196,-184,-164,-151,-160},{-256,-203,-218,-224,-191,-196},{-234,-242,-192,-203,-204,-160},{-174,-196,-178,-228,-219,-164},{-187,-251,-200,-213,-224,-198},{-219,-205,-192,-207,-187,-216},{-258,-167,-240,-230,-194,-193},{-219,-242,-236,-160,-174,-202},{-204,-178,-206,-166,-202,-198},{-213,-182,-218,-207,-198,-149},{-183,-226,-204,-220,-170,-202},{-198,-232,-192,-162,-217,-200},{-228,-242,-184,-211,-209,-205},{-254,-188,-208,-156,-196,-200},{-196,-242,-204,-197,-219,-166},{-174,-209,-216,-162,-208,-194},{-209,-245,-162,-160,-198,-207},{-174,-232,-184,-195,-198,-205},{-258,-203,-240,-218,-166,-194},{-178,-245,-228,-220,-198,-153},{-249,-192,-236,-195,-180,-155},{-245,-209,-198,-199,-170,-212},{-219,-240,-228,-187,-196,-180},{-174,-245,-242,-191,-180,-164},{-217,-222,-224,-172,-208,-211},{-256,-167,-232,-183,-180,-162},{-194,-251,-166,-187,-155,-153},{-198,-188,-226,-201,-180,-149},{-172,-194,-226,-228,-208,-157},{-183,-232,-198,-195,-159,-191},{-237,-184,-198,-232,-170,-203},{-206,-167,-220,-185,-168,-214},{-230,-211,-188,-209,-153,-189},{-221,-182,-168,-158,-185,-153},{-237,-217,-240,-174,-155,-209},{-189,-234,-176,-185,-208,-155},{-232,-190,-198,-222,-170,-209},{-187,-196,-172,-156,-202,-167},{-232,-205,-218,-209,-193,-194},{-237,-226,-236,-207,-151,-209},{-185,-169,-240,-160,-183,-166},{-202,-213,-174,-191,-172,-193},{-191,-196,-180,-193,-159,-194},{-226,-205,-238,-195,-187,-211},{-232,-219,-186,-211,-194,-176},{-191,-192,-162,-160,-204,-171},{-176,-171,-234,-201,-224,-202}}},{{{-282,-231,-234,-306,-314,-309},{-301,-319,-266,-215,-234,-231},{-266,-269,-314,-213,-303,-261},{-301,-314,-263,-298,-261,-239},{-290,-221,-263,-250,-229,-301},{-263,-213,-234,-261,-237,-223},{-301,-293,-261,-231,-226,-317},{-319,-303,-306,-266,-234,-213},{-226,-282,-287,-253,-301,-261},{-255,-287,-306,-306,-226,-293},{-309,-237,-314,-258,-301,-215},{-231,-237,-295,-301,-271,-266},{-234,-247,-263,-223,-266,-253},{-271,-314,-271,-290,-261,-274},{-271,-290,-266,-303,-234,-309},{-245,-255,-303,-306,-215,-221},{-213,-317,-271,-231,-215,-295},{-319,-282,-317,-234,-317,-301},{-266,-298,-223,-306,-253,-295},{-247,-317,-301,-250,-266,-221},{-287,-239,-253,-218,-298,-285},{-274,-311,-263,-215,-231,-258},{-263,-266,-247,-303,-231,-269},{-303,-237,-237,-277,-245,-223},{-277,-226,-261,-226,-279,-213},{-298,-303,-319,-221,-309,-234},{-242,-306,-311,-293,-247,-293},{-293,-245,-253,-319,-223,-239},{-314,-226,-309,-303,-290,-306},{-287,-314,-277,-290,-314,-287},{-279,-253,-245,-242,-271,-285},{-231,-287,-282,-317,-301,-234},{-293,-223,-245,-239,-221,-253},{-242,-306,-223,-295,-237,-253},{-266,-279,-277,-237,-285,-319},{-277,-290,-269,-215,-266,-319},{-229,-218,-250,-237,-317,-242},{-279,-234,-215,-234,-269,-285},{-277,-311,-239,-258,-298,-229},{-301,-282,-245,-282,-239,-309},{-234,-218,-295,-229,-298,-253},{-253,-263,-277,-263,-306,-301},{-253,-218,-247,-213,-239,-266},{-303,-223,-295,-258,-295,-309},{-303,-247,-221,-290,-269,-229},{-287,-266,-266,-290,-274,-229},{-266,-317,-229,-215,-290,-309},{-311,-301,-311,-215,-290,-250},{-279,-279,-258,-218,-279,-261},{-277,-301,-266,-247,-218,-303}},{{-287,-271,-213,-261,-231,-238},{-303,-317,-258,-298,-257,-287},{-266,-239,-263,-250,-246,-293},{-309,-301,-226,-253,-301,-254},{-295,-247,-271,-245,-307,-246},{-229,-298,-239,-266,-301,-287},{-226,-287,-287,-287,-238,-277},{-226,-229,-253,-311,-233,-256},{-293,-261,-258,-250,-238,-228},{-223,-234,-274,-269,-262,-256},{-319,-234,-317,-255,-241,-225},{-287,-234,-306,-258,-301,-308},{-245,-319,-309,-237,-283,-311},{-285,-263,-253,-234,-252,-246},{-242,-309,-253,-285,-304,-259},{-229,-298,-223,-279,-265,-275},{-242,-317,-213,-218,-220,-277},{-319,-247,-213,-253,-299,-272},{-271,-215,-239,-285,-254,-249},{-239,-239,-229,-277,-259,-300},{-255,-226,-301,-223,-241,-269},{-247,-215,-319,-226,-228,-231},{-277,-218,-285,-258,-231,-228},{-221,-287,-250,-282,-212,-269},{-274,-263,-247,-242,-252,-243},{-231,-258,-239,-231,-267,-293},{-317,-293,-282,-226,-238,-207},{-303,-311,-309,-255,-296,-215},{-301,-218,-309,-319,-238,-272},{-261,-298,-253,-282,-228,-311},{-266,-221,-253,-229,-296,-300},{-285,-298,-319,-223,-314,-295},{-266,-213,-242,-295,-265,-218},{-226,-319,-250,-309,-238,-212},{-247,-285,-234,-231,-244,-277},{-255,-301,-261,-303,-244,-293},{-215,-234,-245,-242,-212,-287},{-223,-237,-279,-298,-254,-267},{-255,-306,-317,-237,-257,-287},{-301,-231,-226,-269,-231,-212},{-266,-311,-301,-287,-231,-293},{-293,-226,-293,-213,-267,-285},{-247,-223,-271,-221,-262,-256},{-221,-234,-293,-234,-309,-290},{-314,-255,-314,-242,-278,-275},{-255,-258,-250,-277,-265,-251},{-253,-215,-223,-213,-283,-251},{-317,-287,-218,-237,-220,-238},{-223,-239,-317,-263,-270,-236},{-285,-287,-317,-261,-314,-285}},{{-220,-245,-260,-275,-287,-246},{-272,-261,-212,-198,-294,-207},{-210,-240,-207,-233,-213,-272},{-277,-271,-272,-295,-274,-282},{-243,-273,-282,-270,-238,-239},{-293,-207,-287,-203,-274,-275},{-212,-301,-295,-243,-277,-268},{-303,-266,-234,-236,-196,-210},{-241,-273,-247,-290,-240,-236},{-210,-286,-302,-268,-255,-289},{-241,-223,-285,-221,-274,-280},{-303,-288,-209,-231,-238,-212},{-220,-240,-204,-206,-223,-236},{-218,-286,-302,-283,-267,-277},{-272,-220,-249,-201,-282,-265},{-290,-238,-282,-208,-250,-207},{-264,-293,-209,-208,-213,-193},{-249,-233,-204,-201,-228,-243},{-293,-278,-219,-253,-260,-234},{-277,-218,-212,-241,-243,-253},{-306,-296,-219,-233,-211,-253},{-254,-291,-242,-233,-203,-282},{-251,-273,-242,-278,-267,-263},{-295,-248,-237,-273,-255,-227},{-220,-243,-212,-263,-250,-212},{-277,-301,-275,-295,-235,-236},{-220,-243,-282,-260,-211,-219},{-225,-291,-270,-243,-225,-258},{-308,-218,-234,-208,-228,-280},{-306,-253,-204,-231,-216,-239},{-254,-261,-277,-288,-257,-260},{-311,-266,-267,-241,-265,-241},{-254,-235,-265,-255,-203,-236},{-210,-258,-265,-273,-220,-239},{-308,-205,-270,-265,-289,-227},{-215,-245,-267,-238,-274,-231},{-298,-215,-212,-198,-230,-248},{-243,-225,-275,-285,-287,-243},{-220,-266,-234,-283,-292,-207},{-262,-238,-209,-250,-230,-198},{-306,-253,-275,-298,-255,-282},{-300,-230,-209,-198,-211,-222},{-215,-301,-282,-270,-262,-222},{-280,-238,-292,-218,-270,-272},{-277,-291,-247,-285,-270,-198},{-259,-286,-255,-298,-216,-263},{-220,-256,-247,-260,-277,-280},{-306,-202,-239,-263,-213,-217},{-277,-291,-292,-231,-201,-282},{-259,-278,-252,-250,-216,-243}}},{{{-268,-274,-310,-316,-265,-299},{-292,-313,-247,-268,-253,-269},{-259,-358,-328,-313,-244,-296},{-310,-280,-325,-340,-352,-305},{-268,-346,-277,-289,-280,-323},{-262,-307,-283,-253,-256,-320},{-247,-271,-328,-271,-277,-323},{-262,-334,-304,-313,-268,-326},{-268,-259,-331,-292,-304,-323},{-244,-349,-319,-316,-241,-317},{-331,-286,-283,-334,-262,-296},{-328,-277,-352,-268,-331,-287},{-325,-271,-331,-283,-310,-346},{-349,-295,-358,-361,-277,-278},{-268,-334,-304,-304,-259,-302},{-310,-316,-289,-355,-355,-299},{-349,-292,-307,-259,-301,-343},{-295,-256,-301,-262,-286,-305},{-358,-325,-253,-322,-271,-329},{-358,-307,-262,-313,-253,-320},{-325,-319,-361,-268,-319,-337},{-298,-286,-241,-298,-280,-281},{-259,-256,-277,-337,-322,-334},{-313,-253,-244,-256,-262,-326},{-307,-253,-250,-277,-301,-320},{-340,-274,-325,-247,-253,-258},{-358,-304,-280,-253,-283,-281},{-271,-313,-307,-304,-340,-352},{-250,-346,-304,-274,-265,-275},{-316,-304,-244,-316,-331,-260},{-280,-352,-268,-343,-271,-308},{-328,-307,-271,-334,-265,-266},{-304,-313,-262,-286,-253,-329},{-346,-250,-280,-358,-298,-269},{-292,-322,-247,-247,-295,-281},{-316,-358,-241,-349,-262,-258},{-319,-247,-337,-343,-253,-302},{-292,-325,-310,-325,-274,-263},{-331,-262,-250,-289,-304,-243},{-313,-334,-325,-331,-325,-275},{-298,-304,-346,-355,-301,-249},{-289,-334,-274,-256,-262,-284},{-301,-295,-331,-274,-325,-308},{-250,-268,-352,-352,-247,-266},{-262,-274,-280,-298,-250,-240},{-328,-319,-313,-283,-331,-275},{-361,-343,-292,-265,-298,-355},{-325,-271,-304,-343,-358,-296},{-304,-310,-313,-253,-247,-296},{-283,-289,-313,-262,-295,-296}},{{-275,-235,-311,-268,-257,-267},{-278,-261,-246,-229,-215,-211},{-334,-253,-333,-246,-286,-206},{-302,-330,-322,-287,-297,-242},{-284,-344,-266,-229,-305,-206},{-296,-327,-235,-278,-231,-218},{-275,-255,-272,-303,-223,-213},{-284,-344,-314,-254,-289,-254},{-308,-273,-336,-268,-313,-249},{-334,-255,-255,-221,-273,-221},{-302,-264,-244,-303,-220,-244},{-287,-319,-241,-240,-215,-221},{-270,-261,-252,-243,-315,-257},{-308,-324,-311,-325,-268,-236},{-319,-310,-238,-246,-238,-267},{-267,-232,-274,-235,-238,-218},{-270,-316,-235,-278,-315,-221},{-319,-342,-286,-232,-315,-229},{-258,-270,-232,-306,-265,-296},{-325,-235,-274,-240,-318,-288},{-299,-339,-336,-287,-292,-257},{-284,-339,-263,-306,-318,-288},{-275,-307,-224,-328,-292,-244},{-319,-293,-238,-268,-313,-252},{-243,-336,-300,-322,-284,-236},{-246,-339,-263,-325,-246,-275},{-275,-344,-277,-229,-284,-260},{-325,-342,-244,-238,-315,-229},{-270,-261,-286,-298,-294,-249},{-319,-264,-260,-276,-236,-262},{-240,-342,-238,-303,-231,-278},{-296,-264,-272,-311,-223,-229},{-234,-284,-280,-278,-278,-301},{-331,-287,-224,-265,-212,-290},{-278,-307,-286,-273,-262,-257},{-343,-261,-249,-311,-307,-280},{-319,-284,-333,-221,-278,-308},{-346,-342,-249,-248,-223,-267},{-331,-304,-333,-325,-307,-267},{-267,-284,-235,-232,-244,-275},{-234,-230,-227,-328,-294,-239},{-293,-290,-263,-300,-249,-260},{-319,-255,-330,-322,-294,-288},{-264,-290,-224,-259,-217,-290},{-349,-333,-300,-292,-281,-242},{-328,-247,-325,-289,-223,-306},{-261,-264,-319,-281,-276,-221},{-296,-301,-277,-259,-305,-267},{-346,-313,-230,-289,-310,-280},{-322,-253,-269,-322,-307,-213}},{{-213,-218,-224,-212,-180,-214},{-280,-286,-247,-199,-252,-182},{-228,-199,-211,-208,-244,-200},{-223,-257,-204,-212,-195,-182},{-290,-199,-275,-245,-229,-200},{-295,-245,-213,-221,-214,-238},{-206,-226,-206,-221,-210,-210},{-236,-218,-197,-232,-184,-240},{-253,-278,-195,-214,-233,-236},{-270,-223,-268,-230,-237,-200},{-223,-262,-213,-212,-210,-206},{-248,-214,-195,-188,-237,-178},{-246,-230,-270,-214,-201,-164},{-298,-286,-213,-201,-210,-178},{-228,-206,-202,-236,-172,-192},{-285,-257,-273,-261,-199,-234},{-211,-206,-240,-261,-208,-170},{-228,-278,-245,-261,-246,-194},{-238,-264,-208,-177,-189,-214},{-243,-286,-254,-206,-225,-216},{-223,-276,-199,-241,-242,-188},{-295,-264,-231,-188,-201,-180},{-253,-216,-215,-228,-195,-196},{-280,-257,-190,-201,-197,-196},{-260,-283,-252,-183,-223,-214},{-278,-233,-238,-201,-231,-218},{-273,-254,-273,-183,-240,-172},{-246,-283,-220,-194,-191,-192},{-208,-264,-247,-259,-250,-204},{-273,-214,-256,-256,-210,-174},{-260,-245,-206,-239,-201,-184},{-206,-226,-197,-217,-187,-232},{-263,-259,-197,-203,-210,-176},{-211,-206,-259,-206,-180,-222},{-198,-281,-183,-241,-216,-172},{-236,-230,-192,-248,-216,-222},{-198,-276,-240,-221,-208,-226},{-273,-204,-192,-199,-199,-182},{-295,-230,-213,-245,-212,-200},{-270,-202,-183,-250,-201,-184},{-208,-247,-254,-241,-227,-198},{-211,-235,-236,-259,-172,-168},{-298,-209,-199,-183,-223,-202},{-218,-242,-240,-177,-208,-196},{-243,-218,-218,-179,-210,-170},{-201,-226,-190,-206,-170,-166},{-238,-247,-266,-236,-254,-218},{-280,-223,-190,-190,-254,-234},{-221,-197,-268,-219,-212,-222},{-241,-254,-247,-203,-248,-174}}},{{{-318,-420,-346,-294,-374,-399},{-360,-340,-413,-340,-322,-346},{-284,-416,-308,-364,-389,-413},{-402,-287,-350,-340,-413,-406},{-336,-378,-336,-308,-406,-402},{-287,-364,-413,-416,-329,-298},{-322,-410,-340,-322,-371,-343},{-374,-298,-364,-315,-315,-322},{-360,-284,-346,-343,-410,-382},{-290,-350,-322,-308,-343,-318},{-336,-304,-416,-350,-374,-280},{-336,-280,-343,-336,-350,-399},{-357,-322,-284,-318,-332,-290},{-413,-312,-287,-280,-318,-378},{-301,-378,-413,-322,-315,-360},{-298,-284,-336,-298,-301,-416},{-360,-399,-284,-368,-371,-304},{-385,-336,-374,-413,-298,-368},{-382,-290,-329,-350,-329,-298},{-312,-374,-374,-290,-392,-322},{-280,-287,-378,-360,-298,-406},{-406,-402,-318,-290,-308,-340},{-326,-287,-368,-360,-301,-298},{-385,-402,-318,-343,-357,-343},{-371,-280,-287,-332,-402,-406},{-340,-385,-416,-406,-315,-371},{-304,-284,-374,-298,-382,-395},{-340,-340,-364,-350,-336,-284},{-410,-406,-304,-416,-402,-294},{-357,-385,-389,-392,-340,-382},{-374,-382,-416,-360,-406,-304},{-312,-294,-389,-336,-374,-416},{-374,-374,-284,-326,-382,-301},{-346,-301,-399,-364,-343,-301},{-315,-364,-410,-395,-326,-290},{-332,-340,-357,-290,-364,-326},{-399,-298,-312,-290,-350,-406},{-354,-395,-378,-332,-406,-413},{-340,-410,-298,-315,-294,-392},{-368,-298,-406,-357,-371,-392},{-392,-329,-298,-374,-336,-301},{-308,-354,-410,-346,-385,-420},{-416,-413,-290,-318,-308,-298},{-290,-378,-389,-395,-280,-294},{-336,-385,-287,-308,-402,-340},{-301,-290,-378,-301,-395,-385},{-402,-346,-406,-364,-382,-395},{-357,-378,-332,-413,-350,-329},{-336,-340,-298,-301,-406,-399},{-294,-336,-336,-357,-294,-399}},{{-278,-278,-403,-331,-321,-296},{-369,-336,-373,-391,-305,-306},{-369,-384,-325,-324,-292,-348},{-296,-322,-312,-281,-394,-322},{-338,-370,-403,-287,-358,-283},{-358,-274,-319,-357,-367,-328},{-369,-350,-376,-284,-380,-290},{-299,-357,-359,-371,-364,-264},{-418,-322,-370,-364,-282,-290},{-383,-305,-315,-371,-384,-274},{-278,-305,-393,-284,-302,-351},{-303,-305,-390,-347,-305,-325},{-303,-278,-353,-274,-272,-335},{-393,-305,-308,-341,-348,-283},{-310,-274,-376,-331,-341,-351},{-327,-281,-349,-354,-377,-383},{-313,-353,-288,-397,-282,-267},{-331,-412,-407,-274,-351,-264},{-355,-401,-322,-314,-266,-386},{-324,-353,-315,-317,-272,-299},{-348,-305,-278,-344,-358,-319},{-296,-367,-363,-321,-302,-309},{-397,-370,-376,-374,-387,-386},{-365,-394,-288,-314,-348,-274},{-289,-288,-356,-357,-325,-325},{-393,-364,-356,-387,-292,-354},{-327,-278,-407,-394,-341,-374},{-282,-353,-397,-277,-380,-345},{-334,-326,-342,-321,-361,-319},{-376,-319,-332,-291,-262,-319},{-345,-381,-285,-317,-374,-322},{-393,-309,-386,-377,-276,-328},{-365,-377,-403,-294,-358,-303},{-338,-360,-281,-317,-341,-316},{-306,-274,-366,-367,-315,-351},{-393,-312,-312,-291,-354,-290},{-327,-274,-363,-324,-315,-258},{-358,-401,-346,-334,-262,-280},{-338,-305,-376,-331,-364,-261},{-296,-322,-322,-354,-364,-306},{-331,-336,-400,-291,-348,-322},{-383,-357,-380,-307,-312,-322},{-289,-274,-329,-357,-338,-357},{-320,-367,-363,-364,-285,-283},{-372,-398,-332,-277,-338,-348},{-362,-274,-308,-297,-328,-293},{-282,-298,-281,-387,-262,-319},{-345,-340,-275,-271,-377,-367},{-348,-398,-349,-334,-292,-258},{-376,-322,-383,-347,-390,-325}},{{-287,-354,-291,-343,-254,-334},{-299,-354,-291,-243,-251,-259},{-350,-367,-330,-270,-328,-236},{-356,-286,-309,-331,-294,-314},{-321,-367,-261,-293,-231,-275},{-312,-302,-351,-281,-328,-306},{-309,-333,-336,-267,-294,-256},{-375,-308,-327,-308,-256,-334},{-375,-345,-351,-278,-308,-306},{-378,-336,-351,-290,-251,-281},{-268,-345,-261,-316,-237,-247},{-252,-259,-300,-316,-228,-317},{-277,-342,-243,-346,-237,-270},{-277,-326,-324,-328,-239,-278},{-369,-262,-240,-296,-333,-270},{-271,-259,-264,-234,-259,-286},{-346,-296,-279,-270,-256,-297},{-334,-367,-357,-246,-305,-270},{-287,-348,-294,-264,-228,-222},{-271,-296,-258,-234,-328,-303},{-268,-259,-303,-272,-256,-222},{-296,-320,-297,-270,-254,-300},{-328,-265,-336,-305,-333,-236},{-334,-348,-240,-349,-268,-231},{-340,-367,-312,-322,-254,-253},{-265,-305,-351,-252,-274,-331},{-369,-256,-282,-249,-305,-286},{-312,-339,-243,-334,-291,-295},{-277,-271,-285,-296,-314,-322},{-299,-274,-282,-278,-294,-334},{-365,-262,-243,-346,-251,-325},{-287,-299,-315,-234,-336,-278},{-299,-333,-333,-302,-248,-317},{-372,-277,-276,-302,-302,-272},{-315,-348,-270,-287,-237,-297},{-252,-299,-315,-331,-251,-236},{-306,-274,-273,-255,-308,-259},{-265,-253,-282,-275,-288,-292},{-369,-290,-318,-314,-285,-236},{-378,-268,-318,-252,-282,-306},{-280,-280,-252,-322,-316,-289},{-302,-265,-294,-322,-262,-292},{-321,-357,-318,-305,-328,-231},{-362,-274,-330,-322,-342,-284},{-362,-299,-291,-308,-333,-322},{-299,-348,-360,-328,-234,-309},{-321,-274,-327,-287,-305,-272},{-340,-283,-279,-316,-279,-286},{-274,-367,-318,-261,-248,-267},{-378,-299,-300,-258,-325,-250}}}}; // 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]={7,3,2,7,3,2,6,4,2,7,4,3,8,4,3,7,4,3,8,4,3,8,4,3,7,4,3,7,4,3,8,4,3,8,4,3,8,4,3,8,4,3,9,5,3,8,4,3,8,4,3,9,4,3,8,4,3,8,4,3,7,4,3,7,4,3,8,4,3,8,4,3}; // number of shipment for each bid 
int SHset[BN][MBSN]={{0,1,2,3,4,5,6},{7,8,9},{10,11},{12,13,14,15,16,17,18},{19,20,21},{22,23},{24,25,26,27,28,29},{30,31,32,33},{34,35},{36,37,38,39,40,41,42},{43,44,45,46},{47,48,49},{50,51,52,53,54,55,56,57},{58,59,60,61},{62,63,64},{65,66,67,68,69,70,71},{72,73,74,75},{76,77,78},{79,80,81,82,83,84,85,86},{87,88,89,90},{91,92,93},{94,95,96,97,98,99,100,101},{102,103,104,105},{106,107,108},{109,110,111,112,113,114,115},{116,117,118,119},{120,121,122},{123,124,125,126,127,128,129},{130,131,132,133},{134,135,136},{137,138,139,140,141,142,143,144},{145,146,147,148},{149,150,151},{152,153,154,155,156,157,158,159},{160,161,162,163},{164,165,166},{167,168,169,170,171,172,173,174},{175,176,177,178},{179,180,181},{182,183,184,185,186,187,188,189},{190,191,192,193},{194,195,196},{197,198,199,200,201,202,203,204,205},{206,207,208,209,210},{211,212,213},{214,215,216,217,218,219,220,221},{222,223,224,225},{226,227,228},{229,230,231,232,233,234,235,236},{237,238,239,240},{241,242,243},{244,245,246,247,248,249,250,251,252},{253,254,255,256},{257,258,259},{260,261,262,263,264,265,266,267},{268,269,270,271},{272,273,274},{275,276,277,278,279,280,281,282},{283,284,285,286},{287,288,289},{290,291,292,293,294,295,296},{297,298,299,300},{301,302,303},{304,305,306,307,308,309,310},{311,312,313,314},{315,316,317},{318,319,320,321,322,323,324,325},{326,327,328,329},{330,331,332},{333,334,335,336,337,338,339,340},{341,342,343,344},{345,346,347}}; // set of shipments in each bid 
int SHsts[SPN]={0,2,4,6,8,10,12,1,5,9,2,8,0,2,4,6,8,10,12,2,6,10,1,7,1,3,5,7,9,11,0,4,8,12,2,8,1,3,5,7,9,11,13,2,6,10,14,0,6,12,0,2,4,6,8,10,12,14,1,5,9,13,1,7,13,2,4,6,8,10,12,14,1,5,9,13,1,7,13,0,2,4,6,8,10,12,14,1,5,9,13,2,8,14,1,3,5,7,9,11,13,15,2,6,10,14,0,6,12,2,4,6,8,10,12,14,0,4,8,12,0,6,12,2,4,6,8,10,12,14,1,5,9,13,0,6,12,0,2,4,6,8,10,12,14,1,5,9,13,1,7,13,0,2,4,6,8,10,12,14,1,5,9,13,2,8,14,1,3,5,7,9,11,13,15,2,6,10,14,2,8,14,1,3,5,7,9,11,13,15,1,5,9,13,2,8,14,0,2,4,6,8,10,12,14,16,0,4,8,12,16,2,8,14,2,4,6,8,10,12,14,16,1,5,9,13,0,6,12,1,3,5,7,9,11,13,15,2,6,10,14,2,8,14,0,2,4,6,8,10,12,14,16,1,5,9,13,0,6,12,0,2,4,6,8,10,12,14,2,6,10,14,1,7,13,1,3,5,7,9,11,13,15,2,6,10,14,0,6,12,2,4,6,8,10,12,14,1,5,9,13,2,8,14,1,3,5,7,9,11,13,1,5,9,13,2,8,14,0,2,4,6,8,10,12,14,1,5,9,13,2,8,14,0,2,4,6,8,10,12,14,0,4,8,12,2,8,14}; // set of start times of each shipment 
int SHets[SPN]={5,7,9,11,13,15,17,6,10,14,7,13,5,7,9,11,13,15,17,7,11,15,6,12,6,8,10,12,14,16,5,9,13,17,7,13,4,6,8,10,12,14,16,5,9,13,17,3,9,15,3,5,7,9,11,13,15,17,4,8,12,16,4,10,16,5,7,9,11,13,15,17,4,8,12,16,4,10,16,2,4,6,8,10,12,14,16,3,7,11,15,4,10,16,3,5,7,9,11,13,15,17,4,8,12,16,2,8,14,4,6,8,10,12,14,16,2,6,10,14,2,8,14,4,6,8,10,12,14,16,3,7,11,15,2,8,14,2,4,6,8,10,12,14,16,3,7,11,15,3,9,15,2,4,6,8,10,12,14,16,3,7,11,15,4,10,16,2,4,6,8,10,12,14,16,3,7,11,15,3,9,15,2,4,6,8,10,12,14,16,2,6,10,14,3,9,15,1,3,5,7,9,11,13,15,17,1,5,9,13,17,3,9,15,3,5,7,9,11,13,15,17,2,6,10,14,1,7,13,2,4,6,8,10,12,14,16,3,7,11,15,3,9,15,1,3,5,7,9,11,13,15,17,2,6,10,14,1,7,13,2,4,6,8,10,12,14,16,4,8,12,16,3,9,15,3,5,7,9,11,13,15,17,4,8,12,16,2,8,14,4,6,8,10,12,14,16,3,7,11,15,4,10,16,4,6,8,10,12,14,16,4,8,12,16,5,11,17,3,5,7,9,11,13,15,17,4,8,12,16,5,11,17,3,5,7,9,11,13,15,17,3,7,11,15,5,11,17}; // set of end times of each shipment 
