int Dev = 30;// Deviation
extern const int CNN = 2;// 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 = 1139;//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]={{{{10907,0,0,0,0,0},{10887,0,0,0,0,0},{10994,0,0,0,0,0},{10934,0,0,0,0,0},{11190,0,0,0,0,0},{11246,0,0,0,0,0},{11468,0,0,0,0,0},{10756,0,0,0,0,0},{11310,0,0,0,0,0},{11096,0,0,0,0,0},{10934,0,0,0,0,0},{11257,0,0,0,0,0},{11266,0,0,0,0,0},{10053,0,0,0,0,0},{10887,0,0,0,0,0},{10726,0,0,0,0,0},{11132,0,0,0,0,0},{10688,0,0,0,0,0},{11225,0,0,0,0,0},{10882,0,0,0,0,0}},{{10798,0,0,0,0,0},{11347,0,0,0,0,0},{11197,0,0,0,0,0},{11108,0,0,0,0,0},{10750,0,0,0,0,0},{11185,0,0,0,0,0},{11256,0,0,0,0,0},{10553,0,0,0,0,0},{11934,0,0,0,0,0},{10563,0,0,0,0,0},{10556,0,0,0,0,0},{11043,0,0,0,0,0},{10640,0,0,0,0,0},{11692,0,0,0,0,0},{10856,0,0,0,0,0},{11087,0,0,0,0,0},{10829,0,0,0,0,0},{10722,0,0,0,0,0},{10971,0,0,0,0,0},{11296,0,0,0,0,0}},{{11090,0,0,0,0,0},{11565,0,0,0,0,0},{10805,0,0,0,0,0},{11221,0,0,0,0,0},{11177,0,0,0,0,0},{10845,0,0,0,0,0},{10784,0,0,0,0,0},{11317,0,0,0,0,0},{11173,0,0,0,0,0},{10945,0,0,0,0,0},{11262,0,0,0,0,0},{11347,0,0,0,0,0},{10658,0,0,0,0,0},{10728,0,0,0,0,0},{11357,0,0,0,0,0},{11486,0,0,0,0,0},{10933,0,0,0,0,0},{10990,0,0,0,0,0},{11124,0,0,0,0,0},{10913,0,0,0,0,0}},{{10874,0,0,0,0,0},{11621,0,0,0,0,0},{11349,0,0,0,0,0},{11225,0,0,0,0,0},{10967,0,0,0,0,0},{10909,0,0,0,0,0},{11277,0,0,0,0,0},{11104,0,0,0,0,0},{10767,0,0,0,0,0},{11359,0,0,0,0,0},{11287,0,0,0,0,0},{11380,0,0,0,0,0},{11021,0,0,0,0,0},{11102,0,0,0,0,0},{11121,0,0,0,0,0},{10594,0,0,0,0,0},{10954,0,0,0,0,0},{11399,0,0,0,0,0},{11061,0,0,0,0,0},{11046,0,0,0,0,0}},{{10866,0,0,0,0,0},{10766,0,0,0,0,0},{11296,0,0,0,0,0},{10909,0,0,0,0,0},{11236,0,0,0,0,0},{11061,0,0,0,0,0},{10737,0,0,0,0,0},{10763,0,0,0,0,0},{10830,0,0,0,0,0},{11464,0,0,0,0,0},{10900,0,0,0,0,0},{11252,0,0,0,0,0},{10900,0,0,0,0,0},{10602,0,0,0,0,0},{10868,0,0,0,0,0},{11250,0,0,0,0,0},{10932,0,0,0,0,0},{11017,0,0,0,0,0},{10925,0,0,0,0,0},{11039,0,0,0,0,0}},{{10619,0,0,0,0,0},{11316,0,0,0,0,0},{10580,0,0,0,0,0},{10895,0,0,0,0,0},{11071,0,0,0,0,0},{11441,0,0,0,0,0},{11099,0,0,0,0,0},{10957,0,0,0,0,0},{11012,0,0,0,0,0},{10874,0,0,0,0,0},{11132,0,0,0,0,0},{11308,0,0,0,0,0},{11793,0,0,0,0,0},{10853,0,0,0,0,0},{10980,0,0,0,0,0},{11296,0,0,0,0,0},{11361,0,0,0,0,0},{11047,0,0,0,0,0},{10549,0,0,0,0,0},{10779,0,0,0,0,0}},{{11706,0,0,0,0,0},{11012,0,0,0,0,0},{11309,0,0,0,0,0},{11400,0,0,0,0,0},{11301,0,0,0,0,0},{11228,0,0,0,0,0},{11081,0,0,0,0,0},{10790,0,0,0,0,0},{11296,0,0,0,0,0},{10897,0,0,0,0,0},{11053,0,0,0,0,0},{11082,0,0,0,0,0},{11353,0,0,0,0,0},{11768,0,0,0,0,0},{10936,0,0,0,0,0},{10640,0,0,0,0,0},{11191,0,0,0,0,0},{10832,0,0,0,0,0},{10688,0,0,0,0,0},{11319,0,0,0,0,0}},{{11369,0,0,0,0,0},{11159,0,0,0,0,0},{10969,0,0,0,0,0},{11165,0,0,0,0,0},{10583,0,0,0,0,0},{10761,0,0,0,0,0},{10691,0,0,0,0,0},{10715,0,0,0,0,0},{11072,0,0,0,0,0},{11232,0,0,0,0,0},{11049,0,0,0,0,0},{11222,0,0,0,0,0},{11263,0,0,0,0,0},{10610,0,0,0,0,0},{10953,0,0,0,0,0},{11336,0,0,0,0,0},{11141,0,0,0,0,0},{11000,0,0,0,0,0},{10821,0,0,0,0,0},{11014,0,0,0,0,0}},{{10763,0,0,0,0,0},{10990,0,0,0,0,0},{10979,0,0,0,0,0},{10441,0,0,0,0,0},{11501,0,0,0,0,0},{11076,0,0,0,0,0},{10771,0,0,0,0,0},{10931,0,0,0,0,0},{10805,0,0,0,0,0},{11519,0,0,0,0,0},{10775,0,0,0,0,0},{11369,0,0,0,0,0},{11291,0,0,0,0,0},{11112,0,0,0,0,0},{11216,0,0,0,0,0},{11022,0,0,0,0,0},{10519,0,0,0,0,0},{10714,0,0,0,0,0},{10841,0,0,0,0,0},{10981,0,0,0,0,0}}},{{{-206,-202,-204,-206,-235,-179},{-246,-190,-287,-237,-267,-172},{-287,-188,-193,-271,-264,-249},{-175,-217,-181,-258,-217,-199},{-269,-202,-181,-224,-188,-235},{-179,-231,-177,-271,-276,-222},{-264,-240,-287,-258,-184,-280},{-220,-246,-170,-282,-161,-217},{-231,-249,-202,-264,-175,-233},{-287,-164,-262,-269,-280,-249},{-273,-206,-271,-222,-157,-276},{-237,-224,-186,-202,-193,-282},{-244,-253,-206,-267,-179,-246},{-170,-157,-208,-186,-166,-242},{-242,-186,-179,-226,-276,-244},{-271,-246,-220,-188,-249,-233},{-278,-172,-278,-253,-208,-224},{-267,-287,-220,-190,-184,-231},{-287,-244,-224,-195,-170,-186},{-280,-271,-240,-199,-260,-282}},{{-161,-175,-193,-240,-161,-222},{-262,-240,-273,-177,-166,-258},{-231,-220,-190,-199,-280,-291},{-251,-289,-222,-258,-181,-217},{-217,-269,-195,-195,-175,-157},{-289,-177,-253,-175,-253,-161},{-264,-226,-249,-273,-249,-280},{-202,-181,-177,-157,-249,-242},{-244,-222,-269,-220,-237,-255},{-226,-242,-157,-181,-220,-161},{-179,-199,-276,-211,-233,-255},{-190,-235,-255,-242,-226,-220},{-159,-260,-159,-170,-188,-204},{-240,-211,-269,-184,-280,-166},{-262,-262,-199,-289,-177,-278},{-253,-159,-157,-172,-246,-197},{-190,-181,-170,-208,-264,-235},{-249,-168,-181,-188,-228,-204},{-284,-269,-264,-220,-280,-159},{-199,-242,-231,-168,-184,-258}},{{-231,-204,-215,-213,-204,-258},{-217,-204,-224,-190,-291,-233},{-220,-175,-211,-215,-164,-280},{-267,-289,-233,-157,-251,-199},{-282,-166,-273,-190,-289,-244},{-181,-222,-186,-258,-217,-170},{-177,-202,-260,-246,-217,-211},{-267,-159,-199,-235,-204,-170},{-228,-190,-199,-280,-291,-284},{-253,-193,-159,-208,-264,-202},{-289,-251,-253,-280,-287,-204},{-258,-220,-172,-208,-249,-224},{-164,-213,-233,-284,-208,-159},{-267,-190,-190,-217,-233,-179},{-186,-244,-262,-240,-179,-195},{-199,-175,-217,-273,-188,-220},{-184,-202,-159,-237,-226,-170},{-220,-166,-168,-244,-233,-175},{-267,-170,-199,-186,-204,-284},{-278,-177,-255,-269,-181,-258}},{{-242,-202,-159,-249,-188,-237},{-278,-193,-258,-291,-271,-224},{-244,-197,-197,-269,-204,-289},{-159,-228,-258,-278,-175,-202},{-242,-253,-242,-228,-175,-195},{-269,-208,-251,-166,-222,-199},{-197,-217,-249,-222,-280,-168},{-228,-166,-222,-186,-237,-231},{-179,-168,-264,-251,-159,-228},{-206,-267,-244,-170,-228,-262},{-204,-226,-235,-181,-202,-177},{-280,-159,-177,-190,-177,-195},{-179,-224,-181,-208,-224,-211},{-177,-195,-224,-195,-195,-246},{-181,-215,-284,-280,-188,-253},{-255,-255,-262,-181,-179,-278},{-224,-253,-186,-206,-161,-195},{-237,-258,-224,-284,-244,-222},{-175,-258,-260,-184,-228,-278},{-240,-215,-255,-190,-271,-164}},{{-284,-217,-202,-172,-217,-253},{-186,-177,-244,-161,-226,-273},{-282,-179,-240,-255,-233,-278},{-186,-258,-282,-190,-170,-287},{-190,-244,-251,-231,-262,-195},{-251,-195,-190,-278,-267,-231},{-184,-267,-282,-188,-237,-224},{-168,-181,-244,-260,-251,-231},{-172,-262,-175,-179,-228,-271},{-235,-291,-233,-255,-186,-255},{-222,-284,-197,-177,-186,-159},{-258,-175,-289,-249,-267,-184},{-280,-253,-157,-195,-188,-166},{-251,-159,-222,-190,-249,-267},{-177,-246,-260,-237,-242,-213},{-273,-267,-164,-228,-284,-177},{-233,-195,-233,-220,-202,-278},{-199,-195,-188,-217,-179,-271},{-269,-255,-264,-197,-197,-246},{-287,-224,-172,-164,-226,-282}},{{-159,-282,-181,-186,-157,-197},{-253,-258,-251,-240,-166,-184},{-202,-264,-242,-197,-249,-168},{-197,-244,-249,-269,-267,-170},{-276,-240,-273,-170,-242,-226},{-179,-235,-195,-242,-273,-199},{-215,-215,-177,-164,-258,-267},{-244,-172,-262,-280,-273,-271},{-197,-199,-273,-237,-208,-175},{-184,-175,-164,-237,-287,-208},{-282,-172,-175,-267,-276,-190},{-179,-269,-177,-188,-260,-273},{-186,-206,-260,-278,-280,-264},{-211,-242,-186,-170,-222,-217},{-179,-175,-262,-249,-246,-175},{-175,-269,-282,-166,-215,-211},{-282,-258,-222,-249,-206,-253},{-291,-222,-264,-242,-289,-246},{-193,-186,-199,-197,-159,-208},{-175,-177,-177,-164,-249,-284}},{{-267,-233,-204,-267,-161,-164},{-177,-204,-255,-262,-278,-188},{-273,-289,-181,-235,-273,-202},{-246,-291,-289,-204,-204,-157},{-249,-193,-175,-246,-289,-199},{-287,-233,-260,-168,-222,-220},{-161,-235,-255,-168,-161,-208},{-224,-233,-260,-211,-278,-258},{-172,-197,-269,-273,-170,-267},{-175,-224,-264,-258,-249,-276},{-190,-184,-164,-291,-282,-181},{-262,-186,-249,-177,-258,-291},{-168,-164,-284,-206,-287,-282},{-224,-237,-235,-204,-222,-280},{-195,-217,-287,-271,-175,-264},{-161,-237,-246,-284,-220,-186},{-291,-179,-211,-228,-217,-251},{-237,-217,-255,-267,-204,-166},{-222,-166,-260,-199,-177,-264},{-211,-199,-284,-287,-186,-253}},{{-190,-253,-179,-264,-262,-280},{-264,-220,-193,-202,-220,-237},{-204,-242,-228,-267,-168,-237},{-235,-258,-161,-164,-188,-179},{-211,-217,-157,-222,-246,-193},{-157,-224,-168,-184,-228,-242},{-220,-168,-242,-282,-181,-175},{-193,-197,-271,-164,-197,-284},{-284,-226,-267,-211,-157,-237},{-228,-186,-220,-240,-242,-260},{-224,-240,-222,-208,-246,-184},{-258,-276,-170,-170,-217,-202},{-255,-188,-282,-284,-271,-217},{-262,-190,-177,-161,-157,-271},{-231,-235,-170,-271,-284,-175},{-289,-249,-186,-280,-177,-287},{-289,-199,-161,-184,-184,-168},{-264,-199,-197,-170,-215,-244},{-177,-291,-208,-186,-197,-179},{-267,-235,-157,-177,-168,-197}},{{-190,-235,-168,-278,-217,-166},{-237,-276,-166,-193,-181,-226},{-246,-175,-184,-260,-255,-231},{-157,-267,-235,-199,-217,-172},{-199,-269,-168,-228,-262,-170},{-282,-199,-237,-220,-260,-172},{-179,-262,-224,-206,-255,-161},{-258,-246,-246,-280,-235,-166},{-217,-251,-231,-271,-251,-228},{-291,-282,-231,-184,-188,-215},{-253,-260,-284,-177,-172,-188},{-157,-258,-215,-213,-284,-228},{-166,-211,-213,-237,-179,-276},{-231,-228,-242,-161,-284,-197},{-228,-255,-190,-159,-278,-276},{-202,-170,-188,-193,-206,-262},{-208,-215,-273,-199,-168,-159},{-168,-271,-215,-164,-206,-255},{-282,-280,-199,-172,-204,-228},{-220,-246,-260,-260,-208,-282}}},{{{-252,-286,-190,-276,-248,-267},{-252,-259,-228,-224,-240,-267},{-169,-300,-181,-240,-176,-276},{-240,-255,-221,-190,-252,-240},{-207,-298,-195,-259,-221,-169},{-186,-300,-228,-202,-238,-233},{-298,-281,-257,-240,-233,-281},{-178,-236,-181,-307,-178,-205},{-288,-252,-188,-274,-209,-217},{-202,-278,-219,-307,-209,-240},{-195,-243,-269,-290,-274,-286},{-169,-212,-293,-169,-286,-183},{-309,-195,-248,-217,-212,-224},{-221,-307,-176,-219,-178,-207},{-183,-250,-255,-240,-267,-205},{-298,-167,-190,-240,-226,-245},{-207,-238,-205,-202,-195,-295},{-267,-283,-236,-224,-178,-200},{-307,-288,-259,-193,-307,-257},{-293,-236,-255,-205,-281,-195}},{{-207,-202,-252,-167,-207,-257},{-224,-228,-217,-188,-224,-174},{-298,-169,-198,-195,-186,-207},{-236,-202,-183,-178,-190,-278},{-288,-245,-231,-198,-257,-221},{-217,-281,-295,-240,-302,-198},{-305,-243,-236,-198,-271,-248},{-228,-190,-293,-250,-169,-183},{-309,-302,-202,-248,-205,-286},{-252,-252,-190,-240,-195,-290},{-169,-200,-276,-243,-302,-252},{-283,-200,-243,-243,-231,-200},{-183,-171,-202,-200,-274,-298},{-252,-274,-252,-288,-214,-221},{-252,-198,-238,-231,-214,-309},{-274,-278,-240,-167,-190,-176},{-176,-217,-305,-293,-288,-264},{-248,-171,-305,-228,-207,-228},{-300,-231,-257,-178,-219,-276},{-278,-238,-243,-186,-257,-219}},{{-214,-224,-288,-186,-295,-271},{-298,-226,-238,-236,-262,-195},{-233,-188,-305,-300,-245,-255},{-214,-195,-243,-228,-248,-224},{-238,-221,-169,-205,-207,-278},{-209,-207,-167,-255,-171,-231},{-202,-224,-283,-255,-298,-267},{-264,-288,-293,-298,-305,-269},{-290,-240,-276,-305,-169,-190},{-178,-243,-269,-276,-176,-290},{-178,-171,-295,-309,-298,-195},{-219,-228,-276,-200,-248,-274},{-212,-200,-219,-286,-307,-252},{-171,-212,-252,-167,-245,-214},{-224,-257,-231,-298,-307,-231},{-198,-271,-183,-288,-236,-281},{-236,-217,-298,-200,-300,-169},{-240,-200,-207,-233,-205,-193},{-302,-262,-171,-286,-271,-257},{-271,-178,-188,-207,-205,-248}},{{-250,-243,-226,-178,-238,-295},{-217,-209,-307,-262,-309,-290},{-238,-252,-307,-259,-214,-224},{-231,-236,-302,-226,-305,-295},{-307,-167,-171,-205,-278,-219},{-190,-286,-262,-276,-202,-209},{-186,-286,-248,-171,-219,-307},{-169,-302,-174,-167,-276,-202},{-167,-167,-305,-224,-240,-181},{-214,-309,-174,-267,-309,-186},{-171,-305,-198,-238,-290,-252},{-207,-200,-278,-183,-269,-278},{-302,-267,-259,-267,-288,-212},{-257,-257,-271,-219,-257,-257},{-207,-240,-243,-190,-193,-248},{-200,-169,-238,-269,-207,-169},{-269,-243,-186,-219,-252,-231},{-195,-290,-209,-302,-302,-174},{-205,-259,-264,-186,-214,-240},{-281,-214,-286,-193,-245,-186}},{{-267,-286,-274,-309,-271,-300},{-257,-255,-188,-278,-212,-274},{-219,-259,-248,-243,-224,-262},{-233,-300,-188,-259,-207,-252},{-259,-228,-236,-290,-195,-243},{-195,-262,-228,-271,-174,-271},{-300,-214,-181,-219,-305,-255},{-214,-250,-171,-226,-174,-243},{-174,-176,-271,-195,-188,-267},{-224,-178,-281,-283,-169,-236},{-269,-262,-293,-257,-300,-255},{-307,-212,-190,-259,-271,-293},{-283,-233,-307,-245,-293,-231},{-178,-195,-178,-243,-176,-176},{-231,-259,-224,-217,-298,-169},{-190,-276,-255,-178,-302,-262},{-183,-305,-240,-290,-228,-240},{-217,-302,-259,-226,-228,-307},{-178,-252,-286,-231,-186,-274},{-269,-209,-309,-269,-188,-198}},{{-169,-228,-190,-226,-217,-250},{-202,-300,-233,-195,-186,-274},{-190,-288,-238,-219,-202,-298},{-181,-295,-221,-195,-226,-195},{-250,-205,-300,-205,-231,-212},{-233,-240,-300,-252,-271,-219},{-207,-214,-276,-174,-233,-283},{-288,-183,-262,-224,-198,-290},{-267,-171,-190,-271,-290,-269},{-248,-295,-200,-188,-255,-212},{-245,-243,-252,-171,-217,-259},{-212,-195,-283,-221,-171,-276},{-290,-269,-231,-207,-283,-233},{-302,-209,-183,-183,-181,-236},{-193,-193,-286,-214,-198,-255},{-238,-264,-274,-278,-214,-183},{-228,-183,-255,-221,-219,-243},{-207,-198,-205,-250,-205,-236},{-240,-214,-250,-269,-202,-305},{-176,-209,-214,-224,-228,-271}},{{-207,-224,-207,-259,-255,-238},{-190,-276,-209,-217,-302,-217},{-205,-302,-302,-183,-269,-271},{-281,-169,-307,-307,-193,-276},{-174,-269,-188,-278,-302,-290},{-264,-255,-250,-231,-178,-267},{-228,-198,-262,-267,-305,-255},{-198,-217,-267,-286,-205,-278},{-271,-267,-174,-259,-178,-281},{-224,-293,-259,-259,-181,-245},{-305,-255,-293,-226,-169,-236},{-205,-298,-198,-226,-276,-236},{-267,-202,-171,-250,-228,-243},{-295,-274,-298,-252,-288,-207},{-200,-221,-259,-198,-176,-178},{-248,-212,-252,-231,-240,-205},{-300,-274,-198,-238,-300,-252},{-205,-248,-267,-214,-271,-264},{-236,-195,-236,-295,-276,-202},{-214,-290,-257,-193,-286,-217}},{{-264,-169,-293,-212,-238,-228},{-286,-248,-221,-255,-193,-240},{-169,-198,-278,-264,-233,-195},{-248,-205,-231,-193,-245,-178},{-257,-300,-262,-195,-186,-309},{-221,-236,-217,-295,-181,-293},{-217,-257,-267,-262,-281,-190},{-236,-243,-202,-174,-286,-219},{-202,-248,-176,-309,-231,-212},{-190,-264,-231,-176,-300,-276},{-226,-228,-209,-252,-269,-209},{-264,-293,-267,-174,-183,-233},{-250,-212,-307,-224,-221,-276},{-309,-181,-238,-302,-219,-171},{-290,-264,-181,-193,-209,-238},{-167,-205,-269,-295,-283,-278},{-257,-298,-217,-243,-302,-245},{-240,-236,-286,-255,-262,-217},{-169,-262,-267,-207,-193,-238},{-171,-221,-214,-207,-195,-186}},{{-278,-205,-205,-231,-176,-300},{-169,-209,-250,-243,-274,-226},{-250,-200,-217,-176,-198,-264},{-167,-226,-228,-295,-255,-181},{-255,-274,-276,-271,-167,-240},{-174,-305,-267,-262,-281,-176},{-293,-298,-228,-276,-259,-288},{-274,-231,-307,-264,-183,-283},{-267,-233,-169,-224,-295,-307},{-209,-219,-295,-262,-302,-198},{-243,-207,-267,-195,-209,-255},{-171,-167,-205,-300,-171,-186},{-262,-171,-305,-209,-278,-178},{-245,-252,-269,-293,-205,-238},{-283,-300,-169,-269,-293,-193},{-205,-226,-274,-219,-283,-219},{-181,-221,-298,-243,-221,-193},{-200,-283,-298,-200,-188,-250},{-293,-240,-176,-212,-286,-233},{-205,-178,-209,-305,-167,-243}}},{{{-341,-295,-191,-355,-218,-352},{-205,-300,-238,-328,-194,-328},{-322,-224,-319,-229,-232,-229},{-289,-355,-336,-328,-300,-235},{-295,-308,-243,-352,-268,-344},{-339,-319,-227,-306,-287,-344},{-284,-202,-341,-341,-259,-284},{-281,-355,-295,-210,-314,-224},{-314,-300,-311,-199,-292,-352},{-248,-213,-229,-197,-213,-303},{-221,-317,-336,-281,-194,-259},{-246,-300,-344,-248,-344,-325},{-213,-330,-330,-330,-251,-319},{-278,-265,-221,-262,-205,-254},{-328,-303,-265,-248,-284,-289},{-295,-216,-317,-254,-240,-235},{-355,-344,-213,-298,-224,-341},{-314,-292,-273,-235,-202,-238},{-289,-339,-281,-265,-232,-194},{-276,-213,-235,-229,-251,-221}},{{-202,-308,-303,-311,-298,-205},{-341,-314,-347,-347,-314,-303},{-240,-333,-344,-254,-284,-251},{-325,-347,-322,-303,-295,-191},{-355,-248,-232,-289,-344,-270},{-205,-333,-278,-259,-191,-292},{-202,-289,-229,-333,-240,-202},{-205,-278,-325,-298,-248,-218},{-273,-333,-276,-278,-330,-333},{-191,-319,-341,-281,-243,-243},{-330,-238,-194,-278,-197,-210},{-284,-308,-218,-281,-248,-300},{-328,-300,-210,-298,-273,-235},{-221,-210,-339,-355,-339,-349},{-254,-276,-308,-284,-281,-207},{-336,-298,-314,-210,-248,-300},{-284,-311,-238,-268,-232,-330},{-276,-210,-311,-295,-268,-281},{-300,-292,-207,-273,-218,-278},{-319,-199,-344,-224,-325,-311}},{{-243,-349,-251,-235,-308,-347},{-298,-300,-254,-257,-262,-259},{-202,-298,-349,-205,-205,-287},{-349,-352,-229,-276,-319,-262},{-238,-289,-336,-339,-303,-300},{-194,-336,-216,-270,-268,-246},{-218,-224,-240,-317,-287,-284},{-352,-278,-284,-235,-347,-311},{-227,-199,-287,-257,-317,-262},{-235,-229,-281,-191,-216,-210},{-251,-216,-311,-278,-240,-202},{-216,-207,-238,-298,-287,-333},{-205,-270,-246,-262,-218,-243},{-311,-191,-341,-344,-336,-317},{-314,-319,-276,-317,-298,-227},{-295,-229,-330,-298,-265,-257},{-317,-248,-355,-306,-243,-218},{-300,-265,-295,-265,-317,-311},{-248,-284,-243,-341,-300,-207},{-229,-276,-248,-251,-344,-202}},{{-287,-218,-344,-300,-347,-254},{-191,-319,-311,-278,-270,-355},{-254,-229,-246,-339,-224,-298},{-289,-194,-303,-218,-210,-319},{-281,-289,-341,-232,-306,-330},{-268,-333,-352,-224,-199,-202},{-210,-213,-349,-336,-347,-235},{-319,-205,-248,-284,-344,-213},{-322,-281,-308,-235,-308,-344},{-314,-292,-210,-254,-213,-289},{-341,-194,-240,-319,-205,-328},{-339,-339,-311,-227,-289,-314},{-243,-314,-248,-221,-328,-336},{-314,-289,-333,-213,-281,-232},{-322,-333,-308,-328,-287,-289},{-336,-278,-194,-317,-317,-339},{-235,-273,-287,-232,-229,-194},{-207,-224,-221,-322,-341,-281},{-232,-333,-251,-284,-248,-268},{-254,-216,-295,-273,-194,-221}},{{-194,-224,-221,-232,-262,-197},{-218,-259,-322,-202,-259,-197},{-352,-218,-317,-246,-308,-259},{-292,-218,-347,-232,-303,-268},{-325,-210,-281,-330,-254,-333},{-213,-254,-213,-328,-268,-322},{-259,-336,-328,-216,-216,-259},{-227,-240,-224,-292,-330,-262},{-344,-347,-278,-298,-238,-298},{-339,-218,-268,-314,-238,-287},{-328,-251,-259,-227,-262,-259},{-273,-232,-298,-319,-322,-207},{-227,-197,-243,-240,-287,-344},{-205,-292,-216,-339,-295,-298},{-284,-273,-355,-300,-238,-349},{-287,-311,-352,-349,-289,-238},{-330,-205,-248,-224,-240,-311},{-224,-333,-306,-336,-243,-303},{-227,-262,-352,-341,-265,-213},{-229,-257,-257,-325,-235,-278}},{{-344,-251,-216,-347,-281,-199},{-349,-227,-355,-289,-344,-246},{-207,-218,-314,-281,-218,-292},{-248,-339,-197,-202,-284,-292},{-276,-339,-246,-248,-199,-257},{-251,-306,-328,-339,-295,-273},{-330,-303,-243,-330,-298,-339},{-229,-221,-199,-232,-289,-205},{-349,-199,-344,-229,-289,-205},{-229,-265,-287,-284,-273,-262},{-298,-191,-295,-218,-328,-246},{-273,-213,-300,-336,-319,-347},{-303,-238,-295,-344,-344,-246},{-330,-355,-265,-246,-270,-197},{-207,-325,-243,-276,-265,-339},{-314,-298,-308,-344,-295,-314},{-246,-262,-262,-322,-238,-319},{-262,-330,-333,-270,-330,-292},{-287,-199,-243,-311,-251,-259},{-218,-333,-278,-265,-308,-216}},{{-218,-289,-317,-317,-289,-314},{-246,-273,-210,-336,-314,-308},{-347,-276,-298,-349,-257,-347},{-257,-298,-218,-311,-355,-311},{-295,-341,-347,-221,-229,-336},{-284,-311,-333,-191,-344,-344},{-243,-213,-259,-333,-257,-257},{-229,-210,-205,-218,-276,-281},{-210,-317,-243,-259,-284,-259},{-352,-341,-259,-246,-251,-235},{-227,-314,-298,-254,-339,-207},{-328,-311,-257,-259,-317,-227},{-355,-262,-336,-287,-287,-287},{-349,-344,-259,-333,-281,-276},{-273,-322,-254,-221,-347,-246},{-311,-278,-202,-202,-265,-235},{-333,-259,-243,-199,-300,-289},{-308,-207,-227,-246,-199,-202},{-322,-308,-240,-295,-262,-221},{-306,-218,-254,-202,-243,-213}},{{-257,-199,-254,-303,-216,-311},{-229,-298,-306,-262,-207,-243},{-292,-295,-273,-210,-251,-251},{-295,-349,-325,-270,-194,-317},{-248,-303,-314,-243,-347,-221},{-300,-262,-328,-202,-289,-317},{-218,-306,-330,-216,-303,-314},{-281,-257,-218,-238,-341,-229},{-292,-330,-311,-355,-355,-232},{-336,-243,-336,-339,-259,-254},{-303,-197,-311,-314,-270,-243},{-322,-319,-197,-213,-308,-328},{-202,-270,-235,-251,-347,-254},{-273,-213,-292,-292,-314,-265},{-278,-341,-333,-254,-284,-317},{-205,-341,-259,-227,-314,-330},{-306,-265,-276,-344,-300,-300},{-262,-273,-322,-322,-268,-216},{-292,-218,-270,-243,-257,-221},{-284,-317,-341,-355,-319,-341}},{{-328,-276,-278,-191,-229,-227},{-306,-243,-221,-235,-319,-207},{-278,-194,-194,-238,-317,-292},{-355,-243,-341,-295,-240,-191},{-336,-347,-199,-254,-207,-349},{-341,-191,-191,-257,-270,-303},{-205,-246,-218,-205,-355,-306},{-251,-298,-240,-287,-216,-330},{-232,-295,-328,-243,-205,-221},{-194,-268,-306,-205,-349,-268},{-254,-336,-224,-202,-287,-322},{-246,-317,-194,-273,-333,-319},{-322,-295,-259,-295,-317,-227},{-207,-265,-289,-194,-202,-330},{-333,-205,-243,-306,-289,-229},{-268,-227,-311,-268,-218,-317},{-205,-268,-199,-265,-191,-210},{-205,-273,-322,-328,-205,-259},{-191,-227,-311,-270,-281,-251},{-292,-284,-341,-240,-311,-191}}},{{{-142,-168,-168,-111,-157,-149},{-154,-114,-179,-166,-176,-177},{-146,-166,-154,-169,-152,-165},{-114,-194,-179,-183,-128,-109},{-139,-125,-151,-160,-157,-148},{-129,-160,-183,-132,-199,-146},{-191,-131,-174,-125,-162,-182},{-200,-162,-119,-157,-156,-162},{-146,-143,-120,-128,-145,-176},{-160,-177,-197,-197,-120,-169},{-156,-112,-119,-160,-120,-180},{-126,-192,-200,-156,-134,-196},{-134,-117,-180,-111,-146,-120},{-126,-191,-109,-114,-111,-146},{-176,-129,-152,-128,-125,-151},{-172,-149,-120,-143,-142,-145},{-143,-149,-186,-166,-136,-136},{-132,-200,-160,-123,-131,-196},{-128,-166,-148,-132,-134,-177},{-126,-120,-125,-114,-114,-165}},{{-134,-137,-157,-186,-166,-163},{-188,-143,-119,-180,-136,-143},{-177,-152,-143,-132,-163,-154},{-119,-191,-162,-137,-191,-171},{-189,-162,-142,-125,-157,-191},{-200,-122,-157,-169,-136,-136},{-188,-182,-172,-134,-149,-162},{-120,-128,-146,-126,-185,-146},{-136,-188,-200,-112,-154,-114},{-119,-126,-111,-199,-134,-120},{-142,-179,-192,-177,-120,-188},{-200,-145,-192,-186,-183,-189},{-114,-157,-114,-162,-114,-186},{-122,-143,-172,-109,-139,-137},{-145,-128,-169,-194,-120,-112},{-123,-117,-145,-185,-109,-177},{-122,-129,-137,-166,-109,-112},{-111,-168,-163,-132,-176,-199},{-162,-129,-136,-162,-177,-196},{-192,-143,-162,-152,-180,-112}},{{-154,-151,-191,-165,-168,-189},{-194,-131,-186,-185,-191,-140},{-177,-171,-119,-136,-177,-120},{-157,-109,-112,-149,-120,-199},{-120,-137,-192,-134,-194,-179},{-197,-137,-199,-149,-186,-128},{-151,-154,-136,-125,-123,-136},{-185,-119,-151,-176,-183,-128},{-191,-134,-125,-182,-122,-182},{-177,-142,-197,-186,-174,-157},{-162,-154,-152,-114,-194,-120},{-197,-196,-142,-131,-148,-143},{-146,-157,-160,-177,-199,-149},{-148,-120,-154,-123,-179,-109},{-122,-162,-186,-194,-109,-160},{-182,-194,-122,-189,-191,-157},{-134,-160,-151,-132,-137,-182},{-151,-128,-191,-142,-183,-136},{-191,-163,-186,-157,-174,-194},{-129,-157,-171,-197,-160,-197}},{{-136,-111,-123,-156,-160,-157},{-136,-109,-166,-139,-163,-142},{-159,-174,-159,-163,-194,-160},{-192,-197,-189,-156,-186,-177},{-108,-120,-157,-136,-112,-114},{-165,-171,-116,-109,-111,-183},{-119,-123,-159,-140,-120,-179},{-111,-131,-185,-122,-171,-142},{-152,-189,-131,-139,-166,-163},{-129,-166,-154,-126,-123,-166},{-142,-114,-159,-149,-197,-149},{-162,-168,-111,-149,-185,-172},{-169,-197,-119,-149,-157,-139},{-197,-142,-131,-174,-134,-162},{-139,-151,-128,-199,-200,-122},{-166,-125,-120,-151,-174,-200},{-183,-120,-157,-125,-117,-122},{-112,-196,-159,-171,-180,-179},{-148,-180,-152,-146,-196,-197},{-142,-143,-151,-149,-179,-200}},{{-156,-126,-152,-196,-111,-125},{-117,-180,-168,-154,-152,-180},{-111,-123,-116,-151,-165,-137},{-152,-176,-146,-125,-131,-129},{-151,-120,-156,-136,-119,-119},{-157,-194,-172,-182,-149,-197},{-117,-168,-196,-148,-126,-157},{-163,-151,-168,-197,-192,-109},{-186,-139,-149,-166,-148,-119},{-199,-157,-154,-112,-151,-152},{-142,-185,-176,-177,-186,-168},{-128,-117,-122,-159,-114,-142},{-163,-182,-172,-171,-186,-109},{-114,-165,-177,-152,-122,-122},{-114,-117,-169,-122,-168,-119},{-137,-108,-174,-151,-148,-196},{-160,-152,-132,-123,-192,-132},{-157,-156,-109,-142,-160,-157},{-171,-119,-122,-157,-131,-169},{-192,-176,-154,-172,-197,-185}},{{-126,-131,-139,-200,-156,-152},{-183,-148,-177,-177,-183,-168},{-108,-196,-123,-140,-126,-112},{-183,-188,-169,-176,-143,-180},{-112,-120,-109,-154,-128,-116},{-145,-132,-196,-169,-165,-152},{-142,-191,-176,-148,-132,-120},{-192,-108,-122,-134,-143,-200},{-199,-149,-139,-126,-169,-117},{-168,-199,-177,-194,-172,-122},{-146,-160,-117,-180,-185,-122},{-120,-109,-192,-111,-136,-131},{-163,-139,-183,-154,-174,-183},{-126,-132,-152,-149,-139,-186},{-199,-136,-146,-165,-191,-111},{-168,-159,-109,-172,-176,-111},{-165,-143,-134,-188,-163,-174},{-108,-174,-189,-120,-140,-200},{-126,-136,-162,-192,-151,-162},{-116,-159,-108,-152,-126,-157}},{{-176,-162,-162,-180,-151,-177},{-112,-176,-176,-129,-160,-109},{-145,-131,-128,-134,-197,-123},{-176,-151,-176,-120,-156,-183},{-154,-140,-169,-154,-146,-191},{-149,-186,-128,-169,-109,-183},{-177,-149,-146,-165,-156,-199},{-148,-123,-125,-114,-120,-134},{-160,-154,-177,-122,-185,-142},{-123,-176,-185,-139,-139,-171},{-120,-116,-189,-145,-157,-108},{-132,-174,-117,-143,-186,-132},{-199,-183,-171,-134,-142,-166},{-149,-125,-200,-146,-114,-139},{-168,-194,-180,-189,-183,-149},{-197,-146,-171,-166,-137,-116},{-183,-148,-179,-136,-188,-129},{-145,-191,-152,-139,-192,-129},{-137,-177,-188,-134,-176,-132},{-166,-194,-189,-189,-139,-119}},{{-192,-197,-196,-188,-114,-145},{-171,-140,-185,-123,-183,-120},{-200,-183,-146,-200,-154,-151},{-180,-199,-134,-186,-119,-180},{-176,-122,-197,-197,-112,-179},{-182,-176,-136,-140,-108,-168},{-174,-120,-123,-134,-185,-168},{-199,-194,-188,-192,-183,-142},{-168,-108,-171,-194,-116,-183},{-189,-191,-194,-152,-108,-168},{-140,-125,-176,-149,-191,-125},{-189,-185,-179,-116,-140,-162},{-131,-163,-140,-143,-142,-179},{-149,-112,-177,-111,-112,-154},{-154,-136,-132,-176,-109,-171},{-143,-142,-126,-171,-116,-128},{-165,-126,-177,-139,-126,-165},{-116,-192,-157,-174,-152,-165},{-200,-146,-194,-149,-159,-194},{-149,-176,-188,-188,-142,-177}},{{-172,-152,-146,-200,-188,-119},{-111,-185,-111,-191,-152,-199},{-109,-172,-122,-168,-143,-182},{-125,-114,-163,-191,-151,-114},{-197,-156,-116,-160,-126,-157},{-154,-151,-197,-179,-148,-159},{-174,-177,-149,-129,-129,-183},{-159,-148,-180,-129,-149,-143},{-120,-176,-180,-120,-137,-116},{-183,-139,-163,-188,-156,-185},{-171,-197,-160,-176,-111,-197},{-145,-188,-197,-182,-168,-186},{-111,-116,-199,-148,-200,-139},{-194,-168,-171,-183,-119,-154},{-151,-125,-136,-142,-152,-131},{-192,-192,-123,-125,-185,-146},{-136,-162,-176,-132,-180,-114},{-174,-120,-156,-132,-117,-163},{-166,-172,-149,-108,-126,-128},{-188,-112,-137,-140,-188,-176}}},{{{-131,-129,-197,-167,-133,-182},{-217,-235,-131,-178,-127,-138},{-129,-228,-186,-129,-231,-226},{-202,-175,-146,-184,-187,-229},{-204,-147,-140,-167,-231,-191},{-204,-218,-222,-200,-155,-160},{-215,-235,-233,-131,-237,-202},{-206,-191,-222,-164,-164,-220},{-153,-224,-167,-197,-206,-158},{-142,-164,-129,-197,-155,-127},{-164,-226,-200,-178,-187,-200},{-157,-127,-162,-209,-189,-197},{-164,-222,-211,-207,-164,-207},{-218,-226,-129,-189,-186,-178},{-166,-140,-220,-224,-140,-180},{-200,-147,-147,-202,-144,-224},{-202,-209,-193,-186,-129,-207},{-164,-147,-224,-175,-135,-140},{-237,-206,-129,-218,-180,-184},{-226,-162,-217,-231,-207,-160}},{{-144,-228,-213,-175,-215,-166},{-233,-198,-144,-127,-204,-217},{-231,-146,-233,-228,-228,-140},{-193,-164,-206,-226,-207,-235},{-153,-164,-129,-207,-233,-175},{-138,-200,-233,-224,-217,-191},{-193,-162,-173,-204,-147,-178},{-209,-158,-229,-184,-182,-175},{-200,-160,-186,-233,-215,-231},{-198,-215,-160,-127,-226,-226},{-160,-177,-166,-167,-175,-178},{-131,-220,-171,-184,-127,-198},{-193,-164,-200,-184,-131,-167},{-224,-222,-209,-169,-182,-202},{-173,-138,-180,-158,-164,-147},{-133,-231,-202,-169,-198,-220},{-215,-217,-146,-237,-187,-235},{-213,-211,-213,-142,-233,-140},{-213,-182,-173,-217,-206,-131},{-202,-184,-151,-231,-180,-224}},{{-204,-135,-228,-211,-144,-197},{-215,-140,-226,-129,-217,-229},{-177,-215,-153,-166,-226,-135},{-129,-191,-191,-127,-142,-233},{-202,-147,-228,-133,-162,-171},{-140,-237,-169,-217,-191,-129},{-147,-166,-215,-166,-135,-129},{-149,-222,-220,-220,-233,-164},{-144,-222,-149,-147,-151,-151},{-211,-173,-209,-184,-166,-226},{-164,-209,-166,-237,-209,-231},{-204,-237,-186,-146,-166,-226},{-149,-147,-198,-135,-153,-204},{-131,-193,-177,-193,-209,-133},{-158,-131,-129,-186,-182,-237},{-195,-237,-224,-211,-237,-138},{-229,-229,-206,-173,-173,-235},{-147,-206,-224,-189,-169,-228},{-169,-186,-187,-235,-218,-175},{-157,-158,-200,-175,-153,-191}},{{-129,-220,-200,-138,-220,-127},{-229,-180,-235,-213,-180,-182},{-153,-173,-217,-167,-222,-151},{-136,-167,-231,-224,-131,-235},{-184,-133,-235,-157,-198,-171},{-155,-151,-195,-160,-133,-140},{-158,-218,-197,-189,-182,-191},{-136,-209,-166,-177,-144,-229},{-155,-144,-155,-191,-175,-129},{-147,-207,-135,-229,-235,-138},{-195,-186,-184,-184,-146,-186},{-182,-173,-220,-155,-224,-195},{-195,-186,-175,-193,-195,-162},{-164,-233,-237,-138,-178,-202},{-229,-197,-160,-135,-166,-157},{-189,-177,-173,-160,-182,-160},{-180,-229,-127,-231,-226,-235},{-151,-147,-195,-198,-228,-207},{-133,-231,-206,-224,-144,-142},{-207,-169,-146,-127,-213,-155}},{{-131,-207,-229,-231,-136,-237},{-207,-144,-207,-231,-229,-187},{-197,-140,-204,-175,-155,-195},{-146,-138,-178,-198,-222,-171},{-200,-146,-155,-187,-228,-184},{-198,-157,-187,-198,-135,-140},{-215,-189,-235,-153,-184,-127},{-217,-155,-167,-231,-151,-189},{-207,-136,-233,-149,-182,-166},{-140,-224,-224,-171,-184,-175},{-197,-200,-200,-133,-160,-224},{-193,-211,-197,-204,-142,-229},{-207,-224,-178,-133,-167,-202},{-207,-229,-138,-153,-177,-158},{-195,-147,-136,-153,-200,-193},{-158,-209,-131,-195,-157,-178},{-229,-235,-231,-133,-180,-144},{-215,-142,-155,-162,-178,-215},{-164,-184,-136,-186,-160,-218},{-140,-217,-171,-157,-222,-140}},{{-167,-146,-206,-144,-151,-207},{-233,-178,-178,-213,-233,-147},{-146,-147,-157,-206,-200,-135},{-186,-178,-233,-180,-136,-149},{-235,-151,-226,-166,-211,-189},{-215,-164,-180,-237,-169,-178},{-228,-151,-167,-136,-178,-191},{-162,-229,-215,-142,-233,-202},{-224,-222,-140,-200,-155,-222},{-144,-140,-202,-127,-222,-229},{-157,-129,-186,-149,-231,-160},{-218,-197,-142,-220,-237,-195},{-129,-231,-200,-160,-182,-182},{-187,-217,-164,-206,-209,-175},{-153,-149,-162,-173,-180,-213},{-207,-237,-209,-157,-151,-177},{-173,-187,-202,-157,-229,-171},{-213,-136,-129,-182,-167,-200},{-164,-206,-211,-206,-218,-135},{-135,-204,-211,-228,-184,-218}},{{-155,-193,-171,-218,-207,-197},{-133,-231,-187,-182,-175,-237},{-175,-135,-224,-193,-133,-186},{-180,-140,-187,-166,-195,-226},{-224,-136,-206,-151,-197,-171},{-224,-228,-178,-153,-151,-226},{-226,-187,-169,-129,-155,-180},{-222,-207,-226,-136,-204,-144},{-187,-226,-184,-146,-224,-217},{-224,-157,-164,-166,-224,-166},{-162,-233,-233,-158,-187,-209},{-173,-157,-175,-158,-180,-222},{-149,-229,-211,-189,-164,-140},{-202,-133,-195,-140,-209,-207},{-202,-138,-195,-171,-222,-158},{-162,-136,-207,-207,-160,-180},{-184,-209,-213,-169,-204,-173},{-215,-147,-198,-220,-189,-209},{-215,-133,-182,-213,-167,-226},{-226,-180,-207,-229,-178,-233}},{{-222,-157,-231,-136,-204,-164},{-235,-189,-195,-226,-213,-200},{-237,-220,-138,-162,-140,-189},{-186,-149,-167,-191,-184,-224},{-129,-142,-171,-127,-157,-224},{-144,-158,-151,-231,-184,-177},{-209,-140,-224,-131,-153,-142},{-167,-169,-175,-133,-140,-177},{-142,-202,-144,-211,-146,-169},{-182,-166,-189,-195,-237,-209},{-157,-169,-226,-200,-162,-209},{-189,-171,-200,-129,-144,-133},{-224,-207,-162,-138,-158,-138},{-224,-231,-138,-164,-177,-217},{-131,-164,-193,-177,-211,-160},{-195,-202,-155,-209,-189,-175},{-186,-235,-140,-184,-146,-195},{-217,-171,-147,-218,-231,-171},{-142,-191,-233,-226,-193,-173},{-147,-200,-171,-153,-177,-228}},{{-191,-186,-133,-197,-178,-127},{-160,-162,-211,-135,-157,-195},{-226,-198,-173,-173,-140,-206},{-164,-173,-136,-217,-187,-140},{-220,-217,-146,-204,-198,-217},{-218,-182,-167,-195,-209,-162},{-171,-167,-226,-202,-146,-198},{-142,-151,-175,-166,-127,-206},{-147,-153,-167,-198,-135,-211},{-166,-237,-237,-195,-136,-226},{-131,-187,-189,-193,-197,-147},{-222,-231,-200,-218,-235,-171},{-207,-235,-182,-187,-184,-218},{-180,-144,-215,-195,-171,-184},{-178,-129,-180,-233,-198,-229},{-144,-158,-206,-182,-213,-142},{-226,-215,-204,-180,-131,-138},{-198,-129,-220,-177,-135,-220},{-149,-235,-157,-178,-235,-157},{-206,-144,-226,-198,-211,-226}}},{{{-306,-179,-265,-194,-262,-282},{-233,-189,-252,-304,-189,-223},{-257,-218,-174,-203,-211,-203},{-233,-252,-198,-208,-198,-252},{-235,-294,-235,-223,-189,-255},{-172,-262,-181,-233,-304,-287},{-299,-230,-184,-216,-247,-198},{-174,-299,-191,-184,-240,-186},{-189,-203,-287,-223,-208,-309},{-267,-213,-255,-262,-299,-292},{-181,-201,-311,-247,-174,-228},{-289,-265,-230,-299,-292,-189},{-172,-189,-211,-296,-270,-260},{-174,-189,-270,-213,-301,-282},{-282,-218,-306,-220,-243,-299},{-235,-225,-172,-306,-198,-250},{-233,-260,-247,-301,-184,-176},{-289,-243,-184,-282,-201,-260},{-184,-247,-272,-220,-272,-223},{-201,-314,-306,-196,-206,-314}},{{-267,-213,-240,-198,-172,-301},{-265,-270,-252,-225,-179,-245},{-262,-304,-235,-247,-238,-191},{-240,-228,-318,-272,-284,-184},{-198,-174,-235,-294,-216,-194},{-191,-304,-201,-294,-208,-181},{-194,-174,-252,-287,-208,-314},{-172,-296,-203,-250,-225,-230},{-299,-267,-309,-279,-240,-304},{-201,-294,-201,-220,-223,-181},{-198,-179,-228,-179,-274,-223},{-208,-282,-172,-208,-257,-267},{-255,-314,-211,-287,-260,-172},{-304,-247,-220,-225,-184,-296},{-176,-223,-186,-306,-184,-318},{-262,-247,-255,-257,-294,-174},{-225,-262,-181,-213,-252,-277},{-252,-220,-225,-223,-211,-172},{-233,-274,-218,-267,-262,-255},{-318,-284,-184,-282,-189,-294}},{{-299,-262,-279,-172,-203,-211},{-292,-243,-274,-306,-277,-279},{-240,-203,-255,-198,-260,-257},{-208,-289,-296,-270,-311,-225},{-289,-260,-194,-218,-211,-184},{-306,-299,-247,-240,-260,-206},{-262,-235,-318,-243,-203,-299},{-179,-211,-250,-172,-181,-292},{-311,-289,-223,-296,-243,-247},{-233,-279,-208,-318,-235,-289},{-270,-184,-277,-196,-218,-243},{-316,-220,-245,-274,-240,-289},{-245,-306,-223,-240,-292,-250},{-201,-233,-172,-265,-255,-294},{-203,-184,-233,-235,-235,-265},{-316,-233,-208,-284,-277,-186},{-245,-282,-211,-225,-279,-294},{-174,-299,-304,-225,-238,-194},{-216,-179,-186,-272,-274,-238},{-176,-301,-223,-260,-267,-309}},{{-252,-211,-230,-260,-223,-272},{-294,-203,-181,-316,-238,-203},{-277,-260,-265,-296,-262,-314},{-267,-255,-247,-284,-272,-196},{-299,-292,-265,-184,-238,-176},{-172,-240,-230,-218,-225,-311},{-306,-265,-228,-267,-189,-267},{-196,-211,-309,-314,-274,-304},{-218,-191,-172,-318,-262,-284},{-314,-301,-284,-318,-311,-220},{-270,-213,-306,-274,-262,-299},{-201,-260,-296,-235,-294,-272},{-194,-262,-314,-314,-301,-311},{-255,-206,-314,-243,-228,-191},{-318,-218,-181,-260,-292,-277},{-186,-176,-211,-208,-252,-184},{-240,-306,-230,-245,-235,-318},{-304,-225,-245,-216,-255,-198},{-265,-218,-179,-238,-279,-299},{-208,-260,-309,-247,-176,-228}},{{-292,-196,-252,-277,-176,-230},{-289,-176,-191,-252,-274,-201},{-189,-314,-245,-294,-272,-208},{-194,-318,-216,-191,-179,-296},{-284,-270,-265,-311,-230,-216},{-238,-252,-184,-198,-186,-265},{-181,-194,-314,-172,-243,-235},{-206,-299,-189,-292,-274,-203},{-225,-287,-245,-316,-238,-184},{-267,-257,-238,-218,-213,-304},{-189,-184,-240,-191,-218,-206},{-206,-238,-208,-289,-311,-299},{-216,-189,-243,-172,-272,-247},{-282,-247,-223,-287,-208,-262},{-186,-191,-267,-316,-220,-306},{-311,-279,-194,-301,-172,-196},{-198,-270,-318,-184,-176,-257},{-243,-272,-270,-186,-265,-216},{-267,-179,-201,-235,-181,-292},{-184,-181,-196,-228,-179,-223}},{{-189,-277,-213,-223,-194,-211},{-194,-247,-255,-203,-203,-176},{-272,-223,-299,-262,-181,-274},{-208,-198,-306,-284,-176,-301},{-194,-282,-289,-220,-216,-272},{-284,-274,-235,-252,-267,-220},{-218,-309,-174,-296,-186,-257},{-223,-257,-238,-184,-287,-181},{-243,-289,-230,-176,-265,-277},{-282,-189,-223,-230,-314,-318},{-245,-243,-265,-299,-292,-314},{-294,-201,-228,-316,-260,-208},{-301,-304,-292,-245,-174,-223},{-186,-213,-196,-223,-189,-306},{-184,-294,-260,-186,-267,-279},{-191,-255,-294,-213,-186,-245},{-311,-186,-270,-260,-282,-292},{-257,-267,-172,-198,-198,-203},{-198,-282,-233,-191,-311,-179},{-304,-252,-230,-194,-250,-250}},{{-260,-282,-296,-265,-247,-267},{-235,-179,-252,-260,-265,-201},{-306,-220,-238,-306,-196,-240},{-274,-228,-314,-172,-289,-245},{-203,-274,-292,-299,-184,-230},{-213,-311,-252,-176,-314,-250},{-270,-230,-252,-201,-306,-186},{-191,-301,-309,-289,-194,-228},{-213,-272,-255,-277,-206,-250},{-225,-213,-206,-176,-203,-213},{-208,-176,-296,-318,-294,-287},{-174,-194,-233,-289,-218,-311},{-206,-216,-243,-314,-174,-223},{-238,-203,-304,-233,-245,-230},{-172,-274,-284,-284,-184,-181},{-179,-191,-238,-238,-203,-238},{-206,-189,-220,-304,-203,-218},{-201,-213,-245,-306,-282,-208},{-179,-201,-189,-314,-218,-225},{-316,-213,-245,-186,-211,-318}},{{-270,-245,-260,-245,-216,-213},{-194,-233,-289,-230,-270,-203},{-223,-233,-296,-201,-213,-211},{-198,-216,-198,-267,-206,-287},{-172,-314,-294,-194,-247,-176},{-309,-211,-274,-245,-196,-189},{-282,-194,-318,-247,-179,-289},{-284,-218,-186,-252,-184,-184},{-270,-203,-181,-198,-196,-240},{-218,-196,-245,-172,-218,-262},{-284,-184,-208,-176,-270,-194},{-247,-260,-228,-274,-294,-318},{-296,-174,-255,-211,-284,-213},{-201,-225,-191,-184,-208,-306},{-208,-203,-211,-240,-274,-260},{-211,-289,-238,-245,-289,-228},{-208,-316,-304,-223,-196,-301},{-216,-218,-225,-203,-211,-230},{-279,-282,-235,-208,-252,-174},{-191,-245,-181,-277,-208,-208}},{{-301,-179,-191,-267,-277,-213},{-262,-311,-289,-247,-228,-318},{-238,-301,-299,-260,-206,-309},{-176,-311,-184,-301,-184,-306},{-318,-304,-216,-218,-314,-218},{-287,-225,-311,-238,-223,-235},{-289,-235,-174,-189,-306,-184},{-201,-247,-223,-292,-292,-206},{-255,-243,-260,-304,-306,-250},{-301,-316,-225,-287,-272,-230},{-230,-220,-189,-296,-186,-223},{-225,-274,-235,-220,-306,-233},{-260,-282,-218,-172,-299,-265},{-172,-272,-270,-225,-314,-247},{-223,-270,-316,-174,-181,-309},{-311,-318,-184,-255,-318,-233},{-262,-223,-243,-272,-289,-272},{-191,-265,-213,-172,-184,-284},{-257,-206,-282,-220,-279,-235},{-206,-296,-206,-292,-181,-277}}},{{{-215,-182,-282,-293,-210,-180},{-162,-293,-162,-166,-282,-298},{-203,-293,-291,-219,-233,-189},{-259,-282,-173,-189,-222,-213},{-185,-291,-291,-224,-293,-187},{-210,-192,-206,-219,-243,-273},{-243,-180,-196,-261,-196,-254},{-291,-192,-194,-169,-196,-296},{-263,-268,-206,-182,-296,-196},{-263,-298,-171,-282,-164,-222},{-243,-178,-293,-185,-182,-166},{-171,-217,-236,-286,-259,-254},{-187,-238,-196,-194,-261,-286},{-277,-176,-259,-173,-185,-291},{-280,-182,-208,-226,-240,-194},{-215,-187,-270,-222,-208,-280},{-277,-224,-261,-213,-240,-236},{-208,-162,-247,-192,-286,-203},{-261,-217,-213,-270,-300,-284},{-280,-252,-229,-293,-169,-199}},{{-231,-187,-164,-300,-245,-231},{-206,-296,-231,-196,-164,-252},{-263,-231,-291,-199,-196,-240},{-261,-293,-247,-189,-217,-166},{-224,-173,-261,-249,-280,-263},{-217,-291,-245,-199,-178,-245},{-245,-291,-245,-273,-293,-270},{-259,-252,-277,-280,-173,-219},{-192,-273,-293,-284,-236,-252},{-231,-249,-192,-210,-187,-254},{-247,-231,-222,-293,-187,-213},{-282,-208,-284,-219,-256,-291},{-291,-275,-196,-185,-192,-252},{-266,-224,-286,-277,-289,-277},{-245,-245,-176,-178,-240,-196},{-173,-286,-171,-254,-243,-213},{-162,-286,-233,-194,-194,-164},{-166,-222,-296,-206,-266,-238},{-210,-245,-266,-189,-178,-254},{-245,-284,-219,-249,-194,-226}},{{-162,-189,-203,-224,-196,-208},{-298,-252,-178,-298,-217,-192},{-169,-180,-219,-224,-224,-236},{-291,-231,-192,-277,-300,-162},{-166,-284,-270,-249,-210,-289},{-275,-176,-194,-226,-247,-213},{-259,-180,-243,-166,-286,-189},{-240,-240,-215,-298,-263,-162},{-282,-171,-176,-252,-256,-213},{-240,-284,-199,-196,-185,-252},{-293,-210,-286,-226,-286,-270},{-236,-185,-240,-256,-215,-249},{-282,-189,-210,-263,-187,-270},{-233,-282,-185,-169,-192,-293},{-256,-296,-247,-273,-208,-233},{-296,-189,-189,-277,-210,-236},{-256,-162,-166,-213,-231,-226},{-259,-162,-238,-296,-229,-180},{-233,-169,-185,-199,-275,-296},{-277,-201,-187,-173,-270,-164}},{{-249,-249,-194,-289,-245,-203},{-296,-176,-266,-236,-291,-293},{-233,-270,-224,-208,-206,-224},{-266,-192,-254,-270,-192,-203},{-178,-284,-162,-176,-247,-291},{-192,-249,-263,-277,-243,-293},{-252,-238,-291,-280,-240,-217},{-300,-240,-249,-249,-187,-256},{-173,-300,-233,-261,-189,-300},{-289,-189,-261,-199,-213,-213},{-249,-282,-229,-210,-293,-203},{-233,-252,-256,-201,-233,-240},{-256,-208,-164,-240,-199,-231},{-166,-263,-245,-289,-268,-215},{-233,-286,-187,-286,-231,-166},{-289,-231,-206,-259,-229,-189},{-229,-280,-289,-217,-243,-164},{-229,-266,-284,-282,-192,-194},{-215,-247,-284,-169,-243,-231},{-275,-263,-261,-213,-194,-282}},{{-192,-213,-289,-187,-173,-192},{-224,-289,-273,-176,-187,-270},{-266,-256,-185,-240,-178,-203},{-187,-231,-171,-229,-247,-178},{-169,-268,-263,-231,-231,-254},{-180,-280,-252,-162,-280,-208},{-194,-206,-215,-164,-196,-247},{-210,-169,-187,-166,-222,-247},{-226,-238,-210,-192,-162,-215},{-231,-224,-261,-196,-243,-256},{-201,-296,-273,-291,-182,-238},{-256,-296,-178,-171,-252,-164},{-166,-247,-213,-249,-296,-166},{-229,-229,-224,-266,-233,-249},{-201,-268,-208,-185,-180,-215},{-229,-238,-266,-240,-268,-206},{-215,-243,-185,-289,-187,-201},{-192,-284,-222,-266,-245,-238},{-254,-213,-173,-162,-275,-282},{-162,-222,-247,-275,-298,-247}},{{-268,-252,-254,-231,-231,-296},{-296,-208,-266,-298,-224,-254},{-171,-222,-231,-229,-173,-231},{-238,-236,-238,-208,-236,-192},{-284,-224,-252,-210,-296,-296},{-249,-189,-238,-261,-226,-266},{-275,-171,-296,-187,-252,-266},{-277,-231,-266,-266,-282,-162},{-266,-210,-243,-249,-199,-192},{-222,-231,-219,-192,-210,-206},{-268,-194,-259,-203,-300,-296},{-261,-201,-289,-298,-173,-196},{-185,-238,-259,-282,-275,-280},{-280,-293,-208,-215,-236,-284},{-229,-192,-243,-284,-243,-268},{-162,-240,-201,-289,-182,-217},{-268,-254,-233,-201,-203,-189},{-187,-245,-219,-166,-185,-192},{-192,-194,-164,-169,-182,-252},{-213,-256,-240,-263,-206,-231}},{{-256,-259,-226,-266,-226,-261},{-263,-224,-199,-296,-275,-169},{-215,-210,-298,-252,-224,-238},{-256,-284,-249,-210,-166,-201},{-185,-256,-176,-263,-226,-215},{-196,-226,-206,-231,-208,-261},{-275,-270,-259,-178,-268,-298},{-162,-171,-245,-275,-254,-203},{-236,-210,-201,-189,-240,-277},{-229,-289,-247,-245,-180,-164},{-169,-162,-254,-208,-187,-275},{-231,-231,-219,-256,-240,-273},{-194,-261,-238,-259,-231,-189},{-256,-254,-243,-256,-206,-289},{-192,-236,-164,-199,-268,-210},{-213,-203,-256,-266,-229,-236},{-298,-268,-229,-182,-291,-224},{-180,-277,-166,-208,-203,-217},{-171,-176,-229,-166,-291,-199},{-254,-286,-243,-164,-178,-217}},{{-277,-291,-245,-210,-291,-162},{-291,-217,-169,-249,-275,-275},{-259,-245,-296,-263,-224,-249},{-236,-238,-226,-249,-252,-280},{-169,-249,-277,-173,-273,-173},{-240,-173,-252,-252,-298,-203},{-194,-226,-240,-219,-185,-240},{-171,-196,-296,-261,-240,-300},{-213,-222,-187,-199,-280,-213},{-270,-249,-187,-284,-238,-268},{-261,-247,-293,-180,-171,-236},{-226,-254,-164,-224,-208,-296},{-236,-298,-270,-217,-210,-196},{-222,-236,-215,-256,-266,-164},{-169,-224,-249,-169,-229,-162},{-210,-194,-217,-298,-210,-208},{-233,-178,-192,-203,-231,-256},{-178,-268,-273,-236,-176,-164},{-249,-289,-286,-199,-178,-182},{-201,-296,-280,-249,-213,-277}},{{-166,-222,-215,-247,-229,-254},{-178,-194,-247,-226,-296,-259},{-233,-282,-300,-296,-164,-187},{-180,-176,-173,-162,-164,-224},{-187,-284,-263,-247,-261,-166},{-194,-247,-166,-210,-166,-213},{-162,-268,-240,-291,-233,-215},{-261,-208,-166,-217,-282,-291},{-180,-178,-243,-187,-224,-169},{-247,-247,-196,-284,-231,-233},{-268,-222,-173,-231,-199,-277},{-300,-215,-236,-245,-224,-166},{-231,-268,-289,-261,-284,-266},{-201,-296,-192,-300,-277,-266},{-296,-229,-229,-277,-185,-233},{-199,-224,-280,-224,-219,-199},{-282,-277,-270,-162,-300,-171},{-240,-259,-273,-210,-240,-206},{-236,-231,-178,-282,-224,-286},{-245,-182,-286,-194,-208,-273}}},{{{-276,-291,-220,-359,-215,-359},{-320,-247,-220,-226,-285,-382},{-323,-265,-382,-359,-318,-223},{-379,-247,-226,-253,-353,-279},{-350,-297,-279,-353,-259,-332},{-306,-256,-332,-250,-379,-268},{-232,-323,-318,-250,-297,-312},{-279,-223,-309,-297,-309,-344},{-315,-368,-297,-373,-373,-241},{-376,-223,-350,-235,-356,-265},{-332,-218,-332,-265,-329,-297},{-373,-335,-218,-253,-356,-247},{-259,-350,-359,-344,-315,-323},{-265,-209,-232,-218,-209,-285},{-218,-294,-218,-223,-256,-379},{-220,-294,-259,-320,-297,-303},{-256,-323,-341,-250,-232,-306},{-362,-335,-350,-212,-209,-215},{-338,-356,-282,-247,-218,-265},{-241,-218,-282,-223,-329,-241}},{{-350,-326,-382,-268,-359,-209},{-382,-232,-323,-362,-332,-306},{-353,-256,-365,-288,-332,-209},{-215,-256,-259,-206,-344,-259},{-226,-232,-244,-288,-318,-268},{-218,-359,-356,-370,-309,-297},{-253,-294,-262,-241,-320,-259},{-218,-220,-259,-262,-312,-365},{-282,-223,-215,-365,-347,-323},{-288,-368,-353,-229,-268,-229},{-279,-318,-238,-235,-329,-220},{-273,-303,-268,-226,-265,-241},{-347,-285,-303,-347,-229,-241},{-356,-306,-244,-350,-353,-294},{-368,-232,-259,-318,-291,-368},{-241,-338,-382,-359,-376,-338},{-338,-270,-335,-312,-209,-256},{-300,-273,-206,-376,-300,-223},{-323,-223,-209,-309,-241,-226},{-279,-285,-312,-379,-232,-303}},{{-379,-262,-294,-318,-259,-297},{-215,-288,-370,-268,-350,-341},{-347,-276,-273,-294,-294,-347},{-291,-373,-344,-306,-241,-220},{-209,-341,-206,-370,-335,-326},{-368,-297,-262,-326,-323,-297},{-300,-265,-212,-265,-294,-370},{-297,-218,-270,-312,-318,-291},{-312,-312,-362,-273,-238,-326},{-365,-282,-218,-270,-341,-276},{-253,-206,-262,-247,-368,-347},{-320,-294,-291,-318,-329,-353},{-356,-256,-226,-212,-220,-276},{-220,-329,-338,-206,-300,-315},{-279,-379,-332,-209,-347,-382},{-288,-244,-373,-341,-347,-312},{-215,-344,-212,-344,-220,-382},{-370,-223,-353,-353,-209,-353},{-288,-320,-303,-244,-262,-268},{-370,-326,-294,-226,-270,-309}},{{-223,-238,-253,-335,-235,-379},{-209,-294,-256,-344,-356,-262},{-253,-226,-370,-297,-206,-382},{-259,-244,-347,-326,-226,-276},{-294,-229,-373,-376,-320,-297},{-306,-323,-232,-382,-270,-376},{-335,-338,-250,-250,-320,-329},{-382,-323,-288,-306,-270,-350},{-294,-273,-206,-265,-379,-229},{-356,-359,-238,-323,-235,-373},{-288,-238,-368,-279,-359,-368},{-229,-344,-365,-294,-379,-288},{-247,-335,-218,-232,-232,-215},{-265,-232,-303,-265,-268,-382},{-320,-376,-238,-209,-256,-215},{-220,-241,-223,-294,-303,-273},{-347,-279,-344,-329,-235,-297},{-279,-300,-379,-282,-303,-306},{-332,-259,-344,-285,-232,-276},{-315,-294,-300,-379,-362,-306}},{{-347,-253,-259,-320,-326,-273},{-218,-212,-323,-238,-306,-323},{-282,-373,-332,-344,-362,-262},{-300,-300,-382,-341,-303,-262},{-256,-226,-270,-329,-323,-382},{-288,-335,-350,-350,-306,-270},{-220,-368,-332,-218,-259,-294},{-259,-262,-206,-362,-379,-353},{-315,-285,-285,-223,-323,-320},{-368,-350,-323,-265,-335,-382},{-235,-206,-288,-206,-279,-382},{-318,-212,-362,-341,-288,-300},{-341,-306,-303,-244,-235,-332},{-309,-288,-218,-273,-232,-300},{-268,-279,-356,-370,-241,-206},{-270,-229,-315,-335,-365,-212},{-235,-238,-312,-300,-344,-332},{-218,-309,-270,-226,-282,-332},{-332,-241,-312,-315,-326,-273},{-288,-332,-382,-320,-356,-218}},{{-276,-279,-350,-220,-356,-294},{-220,-235,-300,-306,-376,-285},{-318,-226,-218,-262,-329,-376},{-332,-273,-320,-212,-347,-218},{-279,-318,-250,-297,-218,-362},{-235,-226,-373,-282,-353,-279},{-247,-350,-232,-300,-309,-288},{-350,-259,-229,-273,-262,-326},{-318,-370,-326,-209,-288,-238},{-276,-365,-215,-218,-268,-347},{-229,-368,-285,-270,-320,-235},{-265,-318,-356,-362,-262,-320},{-326,-229,-332,-376,-347,-288},{-268,-359,-315,-303,-206,-326},{-329,-318,-306,-244,-270,-326},{-288,-350,-320,-312,-326,-350},{-288,-370,-312,-215,-382,-291},{-297,-288,-376,-323,-368,-276},{-338,-265,-303,-238,-244,-373},{-323,-276,-212,-362,-206,-347}},{{-344,-373,-338,-353,-282,-326},{-320,-273,-212,-285,-376,-259},{-247,-320,-209,-309,-262,-256},{-229,-265,-320,-268,-318,-382},{-373,-241,-312,-318,-265,-329},{-297,-297,-279,-276,-291,-218},{-365,-344,-235,-241,-288,-312},{-326,-370,-250,-226,-312,-247},{-353,-353,-353,-320,-279,-338},{-232,-206,-294,-362,-241,-347},{-379,-279,-279,-206,-282,-362},{-206,-253,-294,-332,-368,-250},{-268,-338,-382,-318,-347,-309},{-344,-344,-232,-359,-350,-365},{-353,-282,-326,-268,-312,-294},{-335,-382,-268,-232,-218,-315},{-262,-303,-315,-223,-244,-335},{-273,-338,-297,-282,-347,-259},{-303,-347,-285,-318,-212,-209},{-212,-382,-262,-379,-359,-332}},{{-294,-347,-268,-335,-309,-373},{-370,-276,-294,-253,-291,-276},{-291,-270,-382,-270,-253,-215},{-300,-344,-335,-379,-370,-250},{-212,-226,-300,-218,-329,-223},{-353,-220,-303,-229,-247,-268},{-291,-241,-279,-235,-209,-291},{-244,-229,-285,-235,-282,-379},{-373,-318,-273,-270,-312,-335},{-353,-241,-362,-238,-265,-206},{-273,-347,-350,-350,-344,-297},{-306,-326,-320,-282,-338,-326},{-250,-368,-347,-320,-265,-382},{-268,-309,-359,-218,-291,-238},{-359,-335,-338,-241,-332,-288},{-268,-368,-350,-318,-262,-341},{-344,-279,-241,-338,-247,-329},{-270,-215,-338,-373,-309,-338},{-368,-312,-259,-259,-270,-265},{-241,-259,-370,-294,-353,-223}},{{-206,-279,-379,-303,-309,-359},{-370,-253,-218,-297,-382,-265},{-270,-309,-350,-262,-209,-323},{-335,-220,-259,-359,-285,-303},{-373,-300,-382,-256,-356,-253},{-315,-285,-259,-273,-350,-370},{-309,-232,-241,-244,-235,-209},{-226,-256,-238,-323,-247,-285},{-309,-220,-323,-332,-235,-259},{-212,-344,-332,-312,-282,-291},{-268,-235,-241,-315,-335,-276},{-335,-373,-297,-323,-212,-370},{-247,-320,-259,-232,-265,-347},{-373,-276,-215,-300,-253,-253},{-312,-344,-206,-241,-356,-353},{-341,-259,-285,-268,-323,-318},{-306,-218,-273,-220,-318,-250},{-312,-312,-335,-226,-241,-320},{-318,-268,-232,-288,-276,-247},{-347,-247,-206,-215,-294,-232}}}}; // supply (positive for supply and negative for demand) under different scenarios 
int iniv[I]={1841,192,221,150,198,208,315,198,294}; // initial inventory 
int ubiv[I]={2104,384,442,300,396,416,630,396,588}; // 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.32,8.46,5.6,4.24,2.89,1.51,4.53,7.74}; // 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.11,7.69,5.09,3.85,2.63,1.37,4.12,7.04}}; // 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.69,9.69,9.69,8.48,8.48,8.48,7.27,7.27,7.27,6.15,6.15,6.15,5.38,5.38,5.38,4.61,4.61,4.61,4.07,4.07,4.07,3.56,3.56,3.56,3.05,3.05,3.05,3.08,3.08,3.08,2.7,2.7,2.7,2.31,2.31,2.31,2.1,2.1,2.1,1.84,1.84,1.84,1.58,1.58,1.58,1.1,1.1,1.1,0.96,0.96,0.96,0.82,0.82,0.82,3.3,3.3,3.3,2.88,2.88,2.88,2.47,2.47,2.47,5.63,5.63,5.63,4.93,4.93,4.93,4.22,4.22,4.22}; // 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]={24,12,8,24,12,8,25,12,8,25,13,9,26,13,9,25,13,9,26,13,9,26,13,9,26,13,9,26,13,9,25,13,9,25,13,9,27,13,9,27,13,9,26,13,9,26,13,9,26,14,9,26,13,9,26,13,9,26,13,9,26,13,9,25,13,9,26,13,9,26,13,9}; // number of shipment for each bid 
int SHset[BN][MBSN]={{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23},{24,25,26,27,28,29,30,31,32,33,34,35},{36,37,38,39,40,41,42,43},{44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67},{68,69,70,71,72,73,74,75,76,77,78,79},{80,81,82,83,84,85,86,87},{88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112},{113,114,115,116,117,118,119,120,121,122,123,124},{125,126,127,128,129,130,131,132},{133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157},{158,159,160,161,162,163,164,165,166,167,168,169,170},{171,172,173,174,175,176,177,178,179},{180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205},{206,207,208,209,210,211,212,213,214,215,216,217,218},{219,220,221,222,223,224,225,226,227},{228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252},{253,254,255,256,257,258,259,260,261,262,263,264,265},{266,267,268,269,270,271,272,273,274},{275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300},{301,302,303,304,305,306,307,308,309,310,311,312,313},{314,315,316,317,318,319,320,321,322},{323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348},{349,350,351,352,353,354,355,356,357,358,359,360,361},{362,363,364,365,366,367,368,369,370},{371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396},{397,398,399,400,401,402,403,404,405,406,407,408,409},{410,411,412,413,414,415,416,417,418},{419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444},{445,446,447,448,449,450,451,452,453,454,455,456,457},{458,459,460,461,462,463,464,465,466},{467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491},{492,493,494,495,496,497,498,499,500,501,502,503,504},{505,506,507,508,509,510,511,512,513},{514,515,516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533,534,535,536,537,538},{539,540,541,542,543,544,545,546,547,548,549,550,551},{552,553,554,555,556,557,558,559,560},{561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587},{588,589,590,591,592,593,594,595,596,597,598,599,600},{601,602,603,604,605,606,607,608,609},{610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,632,633,634,635,636},{637,638,639,640,641,642,643,644,645,646,647,648,649},{650,651,652,653,654,655,656,657,658},{659,660,661,662,663,664,665,666,667,668,669,670,671,672,673,674,675,676,677,678,679,680,681,682,683,684},{685,686,687,688,689,690,691,692,693,694,695,696,697},{698,699,700,701,702,703,704,705,706},{707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732},{733,734,735,736,737,738,739,740,741,742,743,744,745},{746,747,748,749,750,751,752,753,754},{755,756,757,758,759,760,761,762,763,764,765,766,767,768,769,770,771,772,773,774,775,776,777,778,779,780},{781,782,783,784,785,786,787,788,789,790,791,792,793,794},{795,796,797,798,799,800,801,802,803},{804,805,806,807,808,809,810,811,812,813,814,815,816,817,818,819,820,821,822,823,824,825,826,827,828,829},{830,831,832,833,834,835,836,837,838,839,840,841,842},{843,844,845,846,847,848,849,850,851},{852,853,854,855,856,857,858,859,860,861,862,863,864,865,866,867,868,869,870,871,872,873,874,875,876,877},{878,879,880,881,882,883,884,885,886,887,888,889,890},{891,892,893,894,895,896,897,898,899},{900,901,902,903,904,905,906,907,908,909,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925},{926,927,928,929,930,931,932,933,934,935,936,937,938},{939,940,941,942,943,944,945,946,947},{948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973},{974,975,976,977,978,979,980,981,982,983,984,985,986},{987,988,989,990,991,992,993,994,995},{996,997,998,999,1000,1001,1002,1003,1004,1005,1006,1007,1008,1009,1010,1011,1012,1013,1014,1015,1016,1017,1018,1019,1020},{1021,1022,1023,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033},{1034,1035,1036,1037,1038,1039,1040,1041,1042},{1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068},{1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081},{1082,1083,1084,1085,1086,1087,1088,1089,1090},{1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116},{1117,1118,1119,1120,1121,1122,1123,1124,1125,1126,1127,1128,1129},{1130,1131,1132,1133,1134,1135,1136,1137,1138}}; // set of shipments in each bid 
int SHsts[SPN]={2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,2,6,10,14,18,22,26,30,34,38,42,46,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,2,6,10,14,18,22,26,30,34,38,42,46,1,7,13,19,25,31,37,43,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,1,5,9,13,17,21,25,29,33,37,41,45,1,7,13,19,25,31,37,43,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,0,6,12,18,24,30,36,42,48,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,1,5,9,13,17,21,25,29,33,37,41,45,49,0,6,12,18,24,30,36,42,48,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,2,6,10,14,18,22,26,30,34,38,42,46,50,2,8,14,20,26,32,38,44,50,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,0,4,8,12,16,20,24,28,32,36,40,44,48,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,1,7,13,19,25,31,37,43,49,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,1,5,9,13,17,21,25,29,33,37,41,45,49,0,6,12,18,24,30,36,42,48,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,0,4,8,12,16,20,24,28,32,36,40,44,48,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,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,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,2,6,10,14,18,22,26,30,34,38,42,46,50,2,8,14,20,26,32,38,44,50,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,1,5,9,13,17,21,25,29,33,37,41,45,49,2,8,14,20,26,32,38,44,50,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,0,4,8,12,16,20,24,28,32,36,40,44,48,52,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,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,2,8,14,20,26,32,38,44,50,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,2,6,10,14,18,22,26,30,34,38,42,46,50,0,6,12,18,24,30,36,42,48,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,0,4,8,12,16,20,24,28,32,36,40,44,48,1,7,13,19,25,31,37,43,49,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,0,4,8,12,16,20,24,28,32,36,40,44,48,0,6,12,18,24,30,36,42,48,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,2,6,10,14,18,22,26,30,34,38,42,46,50,2,8,14,20,26,32,38,44,50,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,2,6,10,14,18,22,26,30,34,38,42,46,50,2,8,14,20,26,32,38,44,50}; // set of start times of each shipment 
int SHets[SPN]={7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,7,11,15,19,23,27,31,35,39,43,47,51,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,7,11,15,19,23,27,31,35,39,43,47,51,6,12,18,24,30,36,42,48,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,6,10,14,18,22,26,30,34,38,42,46,50,6,12,18,24,30,36,42,48,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,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,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,4,8,12,16,20,24,28,32,36,40,44,48,52,4,10,16,22,28,34,40,46,52,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,2,6,10,14,18,22,26,30,34,38,42,46,50,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,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,2,8,14,20,26,32,38,44,50,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,2,6,10,14,18,22,26,30,34,38,42,46,50,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,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,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,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,2,6,10,14,18,22,26,30,34,38,42,46,50,3,9,15,21,27,33,39,45,51,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,1,5,9,13,17,21,25,29,33,37,41,45,49,53,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,2,6,10,14,18,22,26,30,34,38,42,46,50,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,4,10,16,22,28,34,40,46,52,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,4,8,12,16,20,24,28,32,36,40,44,48,52,2,8,14,20,26,32,38,44,50,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,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,3,7,11,15,19,23,27,31,35,39,43,47,51,3,9,15,21,27,33,39,45,51,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,5,9,13,17,21,25,29,33,37,41,45,49,53,5,11,17,23,29,35,41,47,53,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,5,9,13,17,21,25,29,33,37,41,45,49,53,5,11,17,23,29,35,41,47,53}; // set of end times of each shipment 
