int Dev = 20;// Deviation
extern const int CNN = 4;// 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 = 1136;//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]={{{{10947,0,0,0,0,0},{10949,0,0,0,0,0},{11317,0,0,0,0,0},{10987,0,0,0,0,0},{10988,0,0,0,0,0},{10984,0,0,0,0,0},{11074,0,0,0,0,0},{11029,0,0,0,0,0},{11245,0,0,0,0,0},{11145,0,0,0,0,0},{11105,0,0,0,0,0},{10917,0,0,0,0,0},{11625,0,0,0,0,0},{11074,0,0,0,0,0},{11414,0,0,0,0,0},{11258,0,0,0,0,0},{11260,0,0,0,0,0},{10776,0,0,0,0,0},{10658,0,0,0,0,0},{11320,0,0,0,0,0}},{{11237,0,0,0,0,0},{10907,0,0,0,0,0},{11114,0,0,0,0,0},{11212,0,0,0,0,0},{11015,0,0,0,0,0},{11169,0,0,0,0,0},{11135,0,0,0,0,0},{11040,0,0,0,0,0},{10537,0,0,0,0,0},{10909,0,0,0,0,0},{10815,0,0,0,0,0},{10821,0,0,0,0,0},{10563,0,0,0,0,0},{10734,0,0,0,0,0},{11030,0,0,0,0,0},{11045,0,0,0,0,0},{10948,0,0,0,0,0},{10736,0,0,0,0,0},{10989,0,0,0,0,0},{10741,0,0,0,0,0}},{{10904,0,0,0,0,0},{10987,0,0,0,0,0},{10945,0,0,0,0,0},{10888,0,0,0,0,0},{11473,0,0,0,0,0},{10479,0,0,0,0,0},{10879,0,0,0,0,0},{11212,0,0,0,0,0},{11134,0,0,0,0,0},{10729,0,0,0,0,0},{11124,0,0,0,0,0},{11016,0,0,0,0,0},{11013,0,0,0,0,0},{11055,0,0,0,0,0},{11114,0,0,0,0,0},{10898,0,0,0,0,0},{10971,0,0,0,0,0},{11276,0,0,0,0,0},{11239,0,0,0,0,0},{11261,0,0,0,0,0}},{{10921,0,0,0,0,0},{11170,0,0,0,0,0},{10935,0,0,0,0,0},{10932,0,0,0,0,0},{11386,0,0,0,0,0},{11164,0,0,0,0,0},{11110,0,0,0,0,0},{10860,0,0,0,0,0},{11164,0,0,0,0,0},{11203,0,0,0,0,0},{10985,0,0,0,0,0},{11059,0,0,0,0,0},{11021,0,0,0,0,0},{10994,0,0,0,0,0},{10957,0,0,0,0,0},{10655,0,0,0,0,0},{11152,0,0,0,0,0},{11260,0,0,0,0,0},{10957,0,0,0,0,0},{10803,0,0,0,0,0}},{{11008,0,0,0,0,0},{11292,0,0,0,0,0},{10781,0,0,0,0,0},{11118,0,0,0,0,0},{11171,0,0,0,0,0},{10731,0,0,0,0,0},{11199,0,0,0,0,0},{10733,0,0,0,0,0},{11247,0,0,0,0,0},{11383,0,0,0,0,0},{10928,0,0,0,0,0},{11022,0,0,0,0,0},{11176,0,0,0,0,0},{11112,0,0,0,0,0},{11238,0,0,0,0,0},{10749,0,0,0,0,0},{11092,0,0,0,0,0},{11257,0,0,0,0,0},{10695,0,0,0,0,0},{11211,0,0,0,0,0}},{{11073,0,0,0,0,0},{11113,0,0,0,0,0},{10856,0,0,0,0,0},{11153,0,0,0,0,0},{11003,0,0,0,0,0},{10846,0,0,0,0,0},{11075,0,0,0,0,0},{11060,0,0,0,0,0},{11023,0,0,0,0,0},{11275,0,0,0,0,0},{10695,0,0,0,0,0},{11278,0,0,0,0,0},{10839,0,0,0,0,0},{10901,0,0,0,0,0},{11073,0,0,0,0,0},{10796,0,0,0,0,0},{10668,0,0,0,0,0},{11435,0,0,0,0,0},{11380,0,0,0,0,0},{10799,0,0,0,0,0}},{{11055,0,0,0,0,0},{11272,0,0,0,0,0},{11170,0,0,0,0,0},{11195,0,0,0,0,0},{11112,0,0,0,0,0},{10708,0,0,0,0,0},{10674,0,0,0,0,0},{10778,0,0,0,0,0},{10946,0,0,0,0,0},{10851,0,0,0,0,0},{11097,0,0,0,0,0},{10973,0,0,0,0,0},{11171,0,0,0,0,0},{11174,0,0,0,0,0},{11080,0,0,0,0,0},{11012,0,0,0,0,0},{11368,0,0,0,0,0},{11030,0,0,0,0,0},{11246,0,0,0,0,0},{11099,0,0,0,0,0}},{{11012,0,0,0,0,0},{11068,0,0,0,0,0},{11221,0,0,0,0,0},{11373,0,0,0,0,0},{10897,0,0,0,0,0},{11192,0,0,0,0,0},{11681,0,0,0,0,0},{11043,0,0,0,0,0},{11127,0,0,0,0,0},{10956,0,0,0,0,0},{11017,0,0,0,0,0},{10853,0,0,0,0,0},{11111,0,0,0,0,0},{10795,0,0,0,0,0},{10925,0,0,0,0,0},{10993,0,0,0,0,0},{11120,0,0,0,0,0},{11128,0,0,0,0,0},{10935,0,0,0,0,0},{11346,0,0,0,0,0}},{{11218,0,0,0,0,0},{10914,0,0,0,0,0},{11611,0,0,0,0,0},{11162,0,0,0,0,0},{10943,0,0,0,0,0},{11325,0,0,0,0,0},{11214,0,0,0,0,0},{11113,0,0,0,0,0},{11068,0,0,0,0,0},{11296,0,0,0,0,0},{11161,0,0,0,0,0},{11002,0,0,0,0,0},{10888,0,0,0,0,0},{11354,0,0,0,0,0},{10752,0,0,0,0,0},{11090,0,0,0,0,0},{10984,0,0,0,0,0},{11251,0,0,0,0,0},{11162,0,0,0,0,0},{11271,0,0,0,0,0}}},{{{-235,-244,-264,-197,-231,-190},{-226,-184,-242,-242,-199,-246},{-260,-208,-258,-179,-242,-217},{-213,-204,-255,-195,-222,-260},{-233,-204,-193,-237,-208,-186},{-235,-193,-184,-211,-242,-251},{-213,-195,-246,-249,-188,-199},{-217,-237,-235,-231,-242,-222},{-240,-237,-206,-208,-220,-226},{-188,-267,-215,-215,-246,-226},{-186,-226,-231,-242,-246,-190},{-211,-199,-255,-213,-233,-195},{-264,-237,-253,-237,-226,-264},{-240,-220,-184,-231,-188,-246},{-204,-269,-235,-199,-204,-233},{-228,-188,-199,-260,-228,-267},{-186,-231,-211,-186,-220,-190},{-217,-215,-184,-195,-199,-181},{-258,-179,-204,-233,-269,-228},{-181,-181,-258,-264,-228,-204}},{{-249,-217,-202,-242,-244,-253},{-264,-202,-235,-179,-235,-260},{-242,-235,-240,-204,-267,-231},{-242,-244,-208,-213,-255,-204},{-264,-237,-231,-220,-197,-262},{-246,-206,-199,-222,-199,-228},{-226,-264,-249,-251,-228,-251},{-249,-197,-222,-186,-179,-262},{-269,-204,-193,-195,-195,-246},{-269,-193,-258,-181,-237,-258},{-190,-222,-264,-267,-226,-206},{-197,-264,-195,-235,-208,-228},{-206,-213,-244,-190,-184,-206},{-237,-242,-249,-202,-188,-202},{-244,-186,-251,-181,-260,-220},{-267,-246,-195,-197,-179,-202},{-184,-233,-226,-228,-264,-255},{-188,-190,-222,-204,-264,-208},{-233,-211,-237,-208,-235,-233},{-253,-251,-231,-220,-267,-215}},{{-211,-251,-240,-222,-190,-249},{-231,-202,-242,-237,-211,-222},{-208,-206,-213,-251,-258,-217},{-190,-222,-217,-237,-193,-262},{-258,-267,-246,-251,-249,-224},{-184,-251,-179,-193,-202,-217},{-251,-208,-204,-237,-264,-188},{-237,-211,-246,-233,-246,-202},{-240,-228,-197,-255,-220,-206},{-184,-240,-195,-251,-222,-197},{-190,-217,-240,-179,-258,-213},{-233,-264,-188,-269,-206,-242},{-260,-267,-255,-213,-193,-267},{-224,-267,-217,-211,-188,-188},{-204,-190,-222,-267,-213,-264},{-226,-231,-228,-233,-242,-237},{-222,-190,-206,-202,-235,-213},{-262,-269,-240,-267,-269,-240},{-260,-224,-197,-244,-251,-262},{-206,-255,-267,-213,-188,-258}},{{-251,-179,-220,-253,-213,-255},{-202,-235,-193,-258,-226,-260},{-237,-220,-202,-244,-253,-237},{-246,-186,-186,-237,-246,-202},{-267,-242,-202,-184,-215,-206},{-251,-251,-184,-186,-267,-215},{-217,-222,-228,-253,-208,-206},{-224,-213,-242,-213,-231,-211},{-262,-202,-231,-222,-235,-262},{-269,-262,-204,-181,-235,-213},{-269,-222,-242,-213,-213,-208},{-255,-193,-231,-251,-186,-228},{-244,-228,-231,-184,-242,-255},{-255,-267,-231,-195,-217,-181},{-228,-224,-220,-186,-251,-186},{-193,-242,-181,-224,-237,-197},{-186,-211,-224,-235,-213,-233},{-251,-267,-204,-237,-262,-208},{-195,-186,-222,-253,-217,-269},{-197,-184,-179,-186,-222,-235}},{{-208,-190,-220,-255,-188,-179},{-226,-262,-269,-253,-208,-269},{-215,-211,-228,-226,-224,-213},{-231,-226,-269,-206,-188,-206},{-208,-235,-251,-217,-204,-208},{-188,-190,-237,-240,-184,-199},{-179,-226,-233,-220,-264,-267},{-269,-237,-202,-184,-208,-253},{-249,-197,-251,-186,-240,-228},{-253,-262,-211,-217,-202,-262},{-235,-211,-233,-220,-213,-217},{-228,-204,-228,-208,-231,-193},{-193,-269,-255,-217,-253,-251},{-213,-249,-249,-188,-222,-190},{-237,-258,-226,-206,-260,-258},{-253,-184,-188,-211,-222,-213},{-217,-211,-226,-190,-211,-255},{-208,-222,-233,-208,-184,-244},{-190,-269,-179,-181,-226,-186},{-235,-197,-255,-215,-251,-262}},{{-242,-213,-186,-213,-255,-199},{-264,-193,-237,-206,-188,-202},{-231,-255,-186,-251,-186,-199},{-211,-246,-197,-220,-206,-235},{-242,-231,-193,-233,-246,-242},{-237,-211,-197,-217,-249,-211},{-206,-231,-237,-181,-202,-251},{-237,-267,-233,-237,-213,-235},{-240,-269,-251,-249,-253,-220},{-204,-258,-195,-269,-264,-197},{-215,-199,-184,-253,-188,-240},{-197,-184,-224,-190,-260,-215},{-197,-226,-244,-251,-237,-193},{-190,-186,-251,-193,-244,-244},{-220,-184,-190,-202,-181,-260},{-258,-186,-242,-260,-249,-184},{-228,-213,-211,-213,-190,-220},{-235,-264,-228,-184,-267,-258},{-253,-260,-253,-255,-267,-258},{-258,-228,-199,-179,-244,-204}},{{-181,-213,-260,-190,-193,-251},{-215,-226,-188,-190,-208,-226},{-224,-190,-197,-211,-258,-262},{-246,-222,-181,-237,-217,-226},{-240,-244,-217,-246,-228,-208},{-195,-213,-224,-235,-264,-206},{-242,-186,-231,-206,-255,-211},{-222,-251,-262,-208,-204,-237},{-199,-193,-181,-244,-193,-202},{-228,-237,-202,-197,-244,-181},{-244,-208,-217,-262,-235,-193},{-179,-204,-208,-237,-242,-202},{-186,-228,-255,-215,-253,-226},{-258,-202,-255,-206,-202,-202},{-213,-197,-217,-181,-186,-258},{-264,-253,-215,-222,-195,-204},{-235,-220,-213,-255,-179,-242},{-193,-211,-184,-228,-217,-179},{-253,-255,-231,-226,-269,-186},{-226,-211,-240,-195,-242,-188}},{{-269,-199,-244,-228,-181,-224},{-220,-240,-242,-231,-217,-269},{-237,-258,-233,-251,-184,-249},{-233,-258,-258,-208,-253,-267},{-269,-179,-190,-269,-213,-202},{-217,-224,-235,-231,-202,-222},{-253,-199,-264,-253,-220,-231},{-246,-195,-262,-217,-215,-231},{-253,-186,-217,-181,-220,-237},{-195,-228,-222,-199,-197,-255},{-186,-188,-237,-224,-224,-215},{-217,-233,-233,-262,-199,-242},{-202,-222,-246,-202,-188,-262},{-224,-206,-222,-255,-195,-264},{-220,-211,-186,-208,-226,-220},{-255,-204,-208,-258,-233,-222},{-264,-251,-186,-215,-242,-199},{-208,-249,-211,-255,-228,-262},{-242,-262,-179,-202,-267,-195},{-217,-262,-213,-184,-224,-251}},{{-262,-213,-235,-267,-249,-235},{-215,-188,-255,-195,-211,-213},{-231,-267,-269,-262,-251,-251},{-240,-181,-269,-199,-224,-188},{-215,-264,-231,-195,-244,-181},{-237,-222,-217,-264,-186,-242},{-267,-269,-220,-208,-208,-231},{-255,-258,-260,-242,-208,-222},{-240,-242,-213,-208,-269,-253},{-267,-262,-240,-244,-231,-211},{-242,-197,-217,-222,-199,-204},{-217,-197,-190,-267,-220,-195},{-179,-264,-190,-226,-242,-204},{-220,-258,-197,-244,-228,-228},{-240,-179,-211,-255,-267,-199},{-186,-249,-181,-249,-197,-220},{-179,-244,-215,-269,-242,-233},{-188,-195,-195,-181,-233,-226},{-240,-224,-235,-195,-244,-224},{-220,-226,-244,-246,-222,-242}}},{{{-248,-259,-248,-252,-212,-212},{-195,-243,-224,-233,-190,-205},{-271,-243,-283,-214,-281,-233},{-198,-231,-281,-198,-250,-202},{-193,-281,-193,-190,-195,-252},{-245,-267,-267,-209,-193,-278},{-228,-252,-200,-200,-207,-243},{-217,-267,-264,-264,-264,-238},{-226,-233,-219,-193,-195,-243},{-240,-205,-259,-276,-226,-240},{-278,-278,-264,-255,-228,-198},{-231,-200,-214,-274,-233,-190},{-276,-259,-252,-274,-217,-281},{-233,-228,-286,-202,-262,-236},{-205,-228,-286,-224,-286,-240},{-257,-274,-262,-212,-219,-283},{-269,-283,-286,-267,-193,-269},{-264,-250,-245,-238,-219,-209},{-195,-243,-228,-202,-214,-195},{-283,-250,-281,-274,-250,-243}},{{-233,-190,-248,-267,-209,-245},{-283,-224,-236,-224,-200,-221},{-195,-259,-200,-274,-286,-255},{-221,-255,-221,-283,-245,-245},{-238,-283,-259,-221,-252,-198},{-198,-264,-209,-259,-271,-274},{-252,-221,-255,-283,-269,-214},{-274,-236,-224,-228,-245,-257},{-243,-198,-190,-214,-255,-283},{-259,-236,-281,-271,-262,-248},{-226,-231,-240,-283,-255,-226},{-228,-224,-236,-226,-200,-276},{-238,-202,-190,-190,-238,-193},{-219,-195,-231,-240,-283,-238},{-276,-255,-238,-228,-209,-198},{-226,-224,-276,-276,-243,-245},{-212,-202,-271,-214,-205,-190},{-271,-250,-262,-271,-255,-224},{-202,-278,-202,-264,-278,-233},{-217,-207,-286,-243,-271,-202}},{{-200,-217,-278,-221,-271,-259},{-271,-271,-198,-202,-228,-236},{-276,-240,-198,-221,-200,-195},{-238,-269,-209,-228,-259,-233},{-221,-281,-259,-233,-252,-233},{-262,-190,-264,-195,-219,-267},{-264,-202,-267,-240,-243,-276},{-276,-190,-236,-190,-233,-262},{-243,-274,-243,-217,-193,-231},{-259,-233,-202,-195,-281,-269},{-224,-193,-217,-212,-271,-226},{-217,-276,-264,-224,-236,-252},{-236,-212,-198,-205,-283,-217},{-217,-271,-209,-236,-202,-269},{-259,-269,-226,-276,-276,-219},{-262,-252,-219,-262,-228,-236},{-228,-243,-286,-238,-212,-240},{-207,-226,-259,-209,-276,-262},{-252,-274,-243,-259,-214,-202},{-281,-195,-236,-274,-238,-231}},{{-238,-255,-214,-226,-209,-214},{-264,-283,-257,-207,-202,-240},{-274,-252,-212,-233,-209,-269},{-207,-228,-286,-190,-212,-193},{-207,-214,-278,-281,-269,-236},{-209,-264,-250,-255,-195,-283},{-245,-278,-281,-250,-264,-250},{-250,-212,-278,-200,-214,-269},{-248,-219,-205,-243,-259,-217},{-278,-262,-214,-259,-226,-281},{-221,-190,-228,-207,-281,-217},{-283,-214,-221,-286,-250,-283},{-271,-200,-264,-267,-233,-209},{-250,-228,-205,-283,-252,-198},{-198,-200,-231,-228,-195,-207},{-245,-245,-231,-205,-198,-245},{-214,-248,-267,-193,-283,-202},{-195,-250,-283,-212,-224,-224},{-257,-236,-262,-271,-205,-243},{-252,-212,-226,-236,-224,-202}},{{-205,-209,-257,-252,-243,-245},{-236,-224,-221,-286,-276,-221},{-286,-252,-202,-200,-193,-245},{-207,-271,-281,-221,-271,-267},{-269,-212,-274,-207,-255,-286},{-202,-255,-286,-212,-267,-255},{-236,-224,-240,-255,-281,-259},{-209,-238,-238,-212,-271,-257},{-209,-276,-205,-269,-240,-190},{-252,-209,-264,-252,-224,-278},{-207,-205,-286,-257,-224,-221},{-198,-231,-259,-283,-250,-190},{-212,-209,-193,-221,-233,-267},{-257,-226,-255,-248,-243,-193},{-240,-190,-217,-286,-202,-276},{-214,-269,-281,-226,-198,-255},{-228,-259,-231,-198,-250,-240},{-219,-221,-267,-274,-250,-283},{-271,-231,-250,-202,-236,-286},{-217,-286,-274,-257,-190,-271}},{{-276,-262,-274,-190,-283,-269},{-250,-240,-281,-274,-212,-198},{-269,-231,-276,-243,-283,-240},{-238,-195,-248,-257,-245,-228},{-207,-264,-257,-226,-248,-236},{-217,-245,-198,-286,-274,-276},{-276,-219,-224,-262,-267,-236},{-224,-286,-228,-226,-243,-198},{-205,-212,-209,-231,-245,-205},{-269,-281,-224,-248,-248,-252},{-245,-248,-233,-271,-209,-286},{-245,-264,-224,-214,-278,-286},{-269,-221,-212,-233,-250,-236},{-217,-219,-278,-271,-226,-243},{-245,-274,-269,-257,-224,-198},{-226,-224,-202,-207,-231,-209},{-283,-271,-226,-243,-243,-233},{-228,-278,-205,-200,-286,-267},{-207,-278,-243,-236,-236,-248},{-228,-243,-271,-243,-198,-255}},{{-274,-245,-221,-252,-236,-214},{-212,-257,-240,-212,-207,-250},{-271,-245,-255,-190,-262,-250},{-240,-200,-283,-236,-233,-214},{-250,-259,-195,-231,-193,-286},{-219,-233,-221,-221,-219,-190},{-281,-195,-193,-257,-209,-193},{-195,-233,-248,-219,-269,-212},{-200,-198,-257,-236,-205,-209},{-195,-228,-198,-283,-231,-221},{-257,-269,-259,-207,-257,-278},{-193,-190,-278,-281,-252,-224},{-198,-233,-255,-233,-264,-262},{-286,-262,-276,-233,-205,-236},{-255,-212,-259,-255,-209,-267},{-276,-255,-281,-236,-264,-252},{-240,-264,-264,-214,-262,-248},{-205,-262,-231,-224,-252,-286},{-278,-226,-274,-286,-226,-228},{-281,-236,-245,-228,-286,-202}},{{-269,-286,-202,-271,-217,-281},{-269,-248,-217,-202,-202,-238},{-252,-264,-228,-267,-238,-276},{-195,-276,-259,-190,-283,-271},{-248,-200,-221,-243,-233,-269},{-276,-238,-221,-233,-193,-248},{-255,-236,-278,-286,-252,-278},{-236,-286,-205,-240,-200,-281},{-193,-209,-255,-259,-271,-286},{-281,-217,-281,-195,-255,-200},{-243,-271,-267,-198,-240,-231},{-286,-221,-228,-209,-221,-259},{-212,-238,-259,-283,-252,-190},{-231,-248,-255,-267,-248,-264},{-212,-195,-262,-214,-286,-238},{-274,-262,-281,-190,-221,-257},{-217,-224,-217,-281,-262,-233},{-238,-226,-271,-207,-262,-240},{-195,-198,-269,-286,-255,-207},{-195,-271,-205,-283,-233,-198}},{{-283,-226,-252,-226,-259,-245},{-245,-245,-238,-245,-283,-248},{-278,-221,-190,-236,-245,-209},{-214,-202,-214,-212,-193,-233},{-274,-252,-198,-221,-267,-193},{-281,-231,-278,-283,-271,-243},{-195,-243,-274,-255,-255,-274},{-224,-271,-257,-221,-262,-233},{-255,-281,-190,-243,-193,-202},{-233,-193,-243,-233,-193,-271},{-267,-202,-243,-224,-255,-255},{-243,-214,-190,-271,-252,-212},{-195,-274,-217,-250,-250,-233},{-274,-283,-252,-259,-257,-240},{-198,-281,-193,-238,-252,-248},{-198,-248,-198,-195,-278,-250},{-231,-200,-264,-198,-257,-252},{-221,-262,-209,-240,-255,-195},{-276,-236,-262,-276,-205,-228},{-283,-236,-255,-271,-214,-276}}},{{{-240,-248,-240,-278,-300,-308},{-287,-270,-300,-257,-268,-298},{-262,-273,-322,-325,-254,-319},{-251,-257,-306,-295,-265,-314},{-300,-278,-289,-246,-227,-284},{-317,-265,-246,-287,-218,-289},{-308,-276,-325,-319,-306,-218},{-248,-292,-270,-232,-218,-303},{-238,-265,-270,-314,-308,-319},{-308,-218,-319,-246,-248,-289},{-292,-273,-273,-246,-259,-325},{-295,-306,-224,-281,-289,-227},{-278,-303,-235,-289,-287,-284},{-322,-259,-308,-262,-262,-270},{-238,-238,-284,-270,-300,-300},{-295,-276,-322,-262,-328,-273},{-227,-273,-281,-328,-300,-322},{-322,-218,-224,-292,-284,-311},{-246,-248,-248,-254,-232,-328},{-265,-270,-289,-295,-265,-292}},{{-262,-227,-295,-306,-257,-319},{-235,-287,-227,-240,-248,-243},{-227,-262,-276,-295,-314,-298},{-240,-251,-311,-314,-246,-289},{-276,-276,-300,-278,-229,-243},{-306,-276,-224,-232,-273,-238},{-276,-289,-235,-243,-287,-276},{-295,-254,-262,-251,-276,-319},{-246,-303,-254,-227,-319,-224},{-259,-243,-248,-284,-221,-238},{-243,-287,-265,-248,-325,-322},{-287,-300,-221,-322,-328,-276},{-224,-224,-224,-306,-303,-322},{-243,-270,-303,-229,-298,-229},{-298,-292,-325,-319,-292,-268},{-314,-317,-284,-257,-325,-251},{-270,-246,-218,-325,-248,-224},{-289,-232,-246,-292,-224,-262},{-322,-325,-276,-235,-308,-265},{-259,-300,-278,-273,-240,-227}},{{-268,-278,-218,-221,-270,-300},{-311,-229,-325,-317,-287,-328},{-235,-235,-303,-300,-235,-224},{-311,-273,-221,-232,-254,-319},{-278,-278,-292,-218,-235,-284},{-248,-240,-235,-218,-238,-276},{-317,-284,-251,-254,-287,-218},{-311,-314,-262,-276,-257,-311},{-224,-248,-306,-319,-314,-240},{-229,-259,-284,-303,-328,-276},{-317,-268,-319,-300,-246,-317},{-328,-251,-287,-262,-273,-251},{-248,-240,-259,-273,-281,-243},{-248,-319,-284,-235,-322,-317},{-238,-221,-325,-295,-295,-238},{-218,-227,-273,-224,-259,-295},{-227,-268,-246,-308,-278,-300},{-246,-270,-303,-270,-262,-265},{-254,-218,-298,-278,-257,-306},{-224,-229,-328,-325,-227,-232}},{{-265,-262,-295,-227,-278,-246},{-306,-238,-317,-218,-221,-257},{-262,-278,-227,-276,-303,-298},{-300,-278,-259,-298,-311,-306},{-257,-322,-251,-314,-238,-300},{-314,-273,-292,-273,-229,-322},{-273,-300,-325,-224,-218,-273},{-308,-257,-317,-295,-298,-246},{-278,-308,-303,-273,-281,-317},{-311,-306,-254,-317,-259,-235},{-292,-289,-287,-257,-259,-265},{-254,-262,-240,-259,-229,-238},{-308,-224,-325,-292,-300,-238},{-319,-259,-273,-265,-292,-262},{-254,-322,-328,-306,-254,-251},{-243,-317,-257,-248,-262,-281},{-298,-262,-325,-298,-218,-251},{-251,-317,-259,-284,-240,-259},{-254,-295,-259,-308,-259,-224},{-240,-317,-259,-317,-273,-314}},{{-224,-287,-325,-218,-298,-319},{-235,-322,-289,-287,-276,-276},{-298,-227,-265,-295,-257,-317},{-292,-306,-218,-240,-257,-292},{-262,-268,-243,-328,-248,-278},{-248,-295,-268,-251,-235,-235},{-306,-278,-314,-317,-295,-227},{-284,-273,-240,-243,-235,-218},{-259,-325,-319,-257,-308,-262},{-227,-325,-259,-281,-314,-308},{-284,-273,-232,-278,-311,-306},{-270,-270,-287,-273,-273,-281},{-265,-298,-278,-238,-284,-276},{-243,-308,-227,-284,-268,-257},{-278,-295,-317,-238,-273,-254},{-317,-262,-257,-287,-284,-235},{-221,-314,-325,-325,-243,-328},{-311,-246,-300,-276,-227,-311},{-303,-227,-238,-265,-227,-328},{-289,-229,-254,-221,-281,-306}},{{-289,-254,-268,-273,-298,-240},{-221,-319,-295,-268,-314,-281},{-306,-298,-270,-289,-221,-238},{-325,-281,-311,-322,-308,-243},{-246,-284,-319,-295,-319,-246},{-281,-268,-306,-295,-311,-265},{-308,-292,-221,-218,-308,-314},{-268,-328,-303,-289,-265,-287},{-319,-276,-235,-284,-224,-227},{-235,-306,-322,-276,-251,-262},{-308,-298,-281,-254,-281,-270},{-322,-240,-259,-235,-300,-287},{-278,-259,-251,-303,-224,-287},{-251,-259,-319,-248,-251,-276},{-259,-224,-221,-322,-284,-300},{-295,-273,-319,-227,-273,-243},{-276,-300,-298,-240,-276,-298},{-289,-298,-254,-278,-284,-289},{-287,-229,-317,-303,-289,-259},{-262,-303,-270,-278,-278,-218}},{{-289,-270,-298,-278,-325,-276},{-243,-325,-311,-292,-325,-328},{-319,-270,-311,-218,-218,-281},{-254,-322,-254,-298,-328,-298},{-292,-224,-298,-224,-259,-308},{-276,-287,-240,-227,-243,-298},{-221,-240,-221,-243,-287,-314},{-218,-229,-221,-284,-257,-235},{-306,-262,-257,-322,-289,-295},{-240,-224,-238,-259,-273,-221},{-224,-281,-240,-240,-303,-224},{-300,-300,-276,-262,-268,-292},{-281,-243,-289,-243,-287,-257},{-273,-248,-289,-270,-235,-232},{-273,-240,-276,-281,-300,-273},{-251,-276,-292,-248,-224,-295},{-292,-319,-259,-232,-270,-303},{-262,-259,-232,-268,-295,-278},{-298,-284,-289,-292,-300,-295},{-300,-251,-276,-262,-314,-317}},{{-278,-268,-276,-284,-284,-268},{-265,-276,-259,-319,-317,-276},{-328,-319,-270,-254,-303,-289},{-284,-311,-303,-311,-229,-298},{-257,-265,-221,-238,-229,-229},{-248,-268,-224,-262,-306,-314},{-328,-284,-278,-289,-314,-281},{-221,-289,-287,-298,-240,-295},{-314,-325,-308,-227,-248,-221},{-235,-303,-229,-251,-227,-311},{-298,-311,-265,-278,-265,-314},{-300,-221,-218,-259,-246,-276},{-262,-227,-243,-243,-238,-229},{-262,-246,-276,-218,-224,-235},{-254,-292,-314,-257,-224,-300},{-221,-289,-224,-295,-270,-298},{-328,-262,-243,-319,-251,-224},{-235,-325,-300,-287,-254,-221},{-262,-289,-235,-298,-278,-276},{-289,-273,-311,-322,-303,-298}},{{-254,-238,-289,-284,-322,-295},{-317,-311,-276,-317,-235,-218},{-246,-235,-295,-224,-284,-276},{-284,-229,-227,-270,-317,-240},{-243,-218,-278,-270,-270,-314},{-311,-298,-240,-308,-227,-308},{-248,-221,-328,-268,-246,-287},{-298,-278,-251,-268,-278,-303},{-300,-308,-232,-248,-238,-243},{-281,-328,-298,-303,-268,-289},{-248,-273,-276,-300,-284,-254},{-224,-281,-224,-298,-311,-325},{-270,-317,-227,-325,-265,-265},{-243,-265,-232,-224,-278,-300},{-276,-257,-311,-243,-262,-303},{-284,-284,-287,-295,-235,-278},{-276,-240,-325,-308,-238,-325},{-262,-221,-287,-221,-317,-303},{-243,-259,-284,-221,-289,-281},{-281,-221,-276,-289,-273,-281}}},{{{-136,-143,-163,-125,-154,-132},{-125,-148,-159,-180,-162,-136},{-123,-137,-160,-145,-166,-125},{-126,-180,-174,-174,-182,-129},{-148,-183,-145,-169,-157,-151},{-180,-128,-146,-180,-149,-166},{-129,-166,-149,-165,-136,-137},{-143,-163,-142,-152,-140,-163},{-146,-142,-146,-148,-149,-165},{-140,-149,-171,-139,-176,-185},{-183,-123,-166,-146,-160,-182},{-162,-180,-149,-160,-177,-132},{-129,-179,-163,-154,-131,-131},{-123,-160,-165,-165,-151,-125},{-169,-177,-125,-142,-136,-126},{-176,-171,-159,-136,-154,-183},{-177,-174,-174,-131,-156,-146},{-149,-145,-165,-125,-151,-166},{-182,-136,-126,-137,-177,-152},{-183,-183,-148,-168,-125,-136}},{{-185,-151,-136,-162,-148,-157},{-171,-172,-136,-143,-126,-159},{-132,-157,-148,-163,-169,-185},{-129,-154,-128,-171,-143,-176},{-151,-137,-154,-171,-160,-183},{-163,-168,-126,-166,-136,-148},{-143,-159,-180,-129,-149,-183},{-148,-140,-169,-136,-163,-176},{-131,-126,-134,-171,-125,-168},{-174,-174,-125,-183,-145,-172},{-168,-126,-128,-140,-142,-148},{-128,-134,-140,-137,-146,-171},{-148,-159,-132,-128,-176,-142},{-154,-146,-145,-159,-143,-160},{-137,-134,-129,-128,-185,-134},{-125,-129,-139,-143,-123,-128},{-140,-125,-126,-172,-151,-171},{-148,-134,-152,-156,-129,-172},{-140,-160,-156,-154,-171,-163},{-132,-152,-142,-125,-129,-140}},{{-132,-142,-151,-162,-156,-148},{-174,-136,-172,-146,-159,-126},{-145,-160,-160,-182,-159,-145},{-169,-179,-136,-156,-143,-137},{-172,-143,-146,-171,-177,-140},{-171,-157,-185,-154,-131,-156},{-179,-132,-185,-183,-151,-156},{-166,-165,-156,-163,-156,-123},{-165,-179,-140,-140,-125,-163},{-154,-139,-159,-142,-145,-179},{-123,-157,-154,-156,-137,-163},{-129,-171,-140,-132,-162,-172},{-142,-163,-139,-176,-185,-166},{-131,-132,-145,-129,-154,-140},{-137,-172,-129,-162,-174,-176},{-156,-123,-165,-163,-146,-163},{-185,-151,-151,-132,-176,-136},{-125,-125,-152,-156,-145,-145},{-157,-125,-166,-174,-137,-143},{-140,-163,-168,-131,-169,-163}},{{-169,-168,-183,-128,-126,-154},{-177,-183,-171,-169,-125,-171},{-134,-180,-166,-159,-168,-174},{-157,-134,-183,-143,-148,-168},{-180,-177,-131,-145,-185,-183},{-126,-174,-156,-148,-139,-165},{-126,-140,-160,-157,-152,-125},{-143,-157,-131,-157,-129,-160},{-183,-136,-145,-149,-174,-142},{-128,-183,-156,-128,-123,-183},{-139,-182,-132,-160,-168,-176},{-148,-157,-143,-159,-139,-136},{-163,-128,-157,-136,-148,-165},{-143,-140,-128,-125,-166,-182},{-159,-145,-185,-151,-151,-168},{-179,-145,-154,-179,-176,-131},{-185,-146,-163,-163,-169,-180},{-168,-183,-176,-145,-156,-157},{-160,-148,-134,-183,-140,-129},{-149,-134,-146,-151,-179,-134}},{{-177,-126,-140,-166,-171,-163},{-151,-179,-132,-152,-149,-137},{-129,-176,-156,-179,-123,-171},{-176,-137,-125,-142,-154,-177},{-145,-149,-152,-134,-136,-132},{-162,-139,-143,-142,-179,-123},{-171,-136,-142,-128,-139,-131},{-154,-156,-151,-131,-176,-156},{-152,-165,-162,-140,-126,-148},{-128,-174,-163,-180,-163,-179},{-156,-126,-142,-172,-125,-154},{-156,-160,-160,-183,-136,-148},{-140,-132,-145,-172,-171,-163},{-171,-149,-159,-146,-180,-134},{-139,-149,-179,-168,-139,-136},{-185,-129,-139,-152,-154,-154},{-174,-179,-177,-149,-183,-185},{-165,-174,-179,-176,-136,-168},{-131,-151,-174,-152,-123,-136},{-145,-152,-163,-177,-168,-185}},{{-142,-156,-125,-132,-182,-134},{-166,-166,-148,-152,-180,-182},{-183,-123,-131,-146,-176,-142},{-148,-169,-145,-160,-134,-185},{-136,-163,-166,-143,-182,-183},{-136,-160,-159,-140,-149,-131},{-125,-172,-136,-174,-177,-168},{-123,-168,-182,-177,-152,-148},{-134,-156,-183,-154,-140,-183},{-128,-168,-132,-132,-169,-126},{-148,-176,-154,-145,-169,-177},{-177,-148,-165,-139,-146,-168},{-132,-136,-134,-157,-146,-146},{-156,-143,-185,-140,-140,-182},{-151,-146,-179,-176,-159,-125},{-168,-159,-168,-145,-142,-183},{-139,-143,-129,-132,-142,-148},{-163,-169,-176,-169,-169,-152},{-185,-159,-152,-182,-172,-139},{-166,-134,-157,-166,-143,-157}},{{-143,-136,-140,-159,-146,-157},{-165,-165,-131,-149,-131,-152},{-174,-159,-126,-176,-179,-168},{-163,-169,-151,-185,-180,-165},{-129,-125,-151,-159,-146,-183},{-171,-136,-179,-172,-156,-126},{-171,-149,-157,-159,-159,-148},{-163,-154,-165,-134,-151,-182},{-162,-179,-169,-157,-154,-168},{-176,-172,-148,-131,-180,-160},{-157,-162,-180,-134,-171,-166},{-143,-183,-166,-126,-163,-145},{-156,-180,-171,-174,-162,-174},{-146,-163,-160,-174,-169,-159},{-157,-162,-134,-134,-174,-176},{-125,-131,-142,-177,-174,-163},{-132,-166,-185,-165,-177,-180},{-160,-131,-132,-172,-143,-137},{-143,-157,-163,-142,-169,-145},{-151,-185,-149,-128,-180,-123}},{{-128,-169,-148,-156,-123,-151},{-159,-148,-171,-131,-136,-171},{-143,-129,-123,-140,-182,-162},{-128,-154,-179,-160,-176,-160},{-125,-174,-163,-128,-139,-179},{-165,-166,-185,-176,-162,-151},{-183,-169,-123,-183,-145,-156},{-143,-163,-142,-165,-136,-145},{-134,-185,-182,-145,-163,-183},{-131,-140,-174,-129,-151,-176},{-132,-183,-140,-162,-154,-123},{-183,-174,-160,-185,-145,-137},{-139,-143,-177,-179,-157,-149},{-176,-168,-128,-136,-152,-123},{-145,-136,-136,-169,-143,-163},{-160,-146,-174,-152,-123,-183},{-148,-172,-160,-163,-176,-152},{-160,-179,-137,-139,-162,-132},{-179,-160,-154,-154,-145,-174},{-182,-172,-168,-174,-165,-183}},{{-123,-146,-126,-123,-162,-180},{-171,-171,-174,-134,-159,-168},{-182,-168,-140,-165,-159,-174},{-179,-129,-185,-157,-163,-136},{-129,-139,-176,-180,-159,-169},{-136,-180,-168,-139,-123,-176},{-134,-171,-185,-137,-149,-180},{-137,-166,-131,-176,-160,-131},{-136,-185,-163,-166,-142,-174},{-166,-176,-157,-159,-183,-166},{-163,-165,-182,-174,-154,-171},{-139,-156,-163,-166,-171,-145},{-168,-125,-168,-125,-177,-125},{-166,-125,-183,-136,-177,-171},{-179,-149,-156,-146,-174,-156},{-159,-174,-162,-163,-163,-143},{-131,-129,-166,-143,-174,-123},{-165,-185,-151,-177,-180,-123},{-168,-131,-142,-125,-149,-152},{-146,-180,-166,-162,-125,-143}}},{{{-218,-209,-157,-177,-186,-177},{-182,-186,-197,-218,-202,-157},{-198,-146,-197,-189,-206,-146},{-151,-177,-160,-206,-204,-218},{-169,-153,-197,-177,-207,-217},{-177,-171,-207,-178,-189,-169},{-186,-171,-191,-180,-213,-177},{-202,-189,-213,-157,-169,-184},{-213,-213,-171,-171,-206,-160},{-178,-151,-173,-175,-204,-209},{-171,-195,-191,-211,-167,-155},{-197,-175,-158,-169,-171,-157},{-158,-204,-189,-184,-171,-182},{-207,-175,-164,-180,-202,-147},{-211,-209,-189,-206,-164,-164},{-146,-160,-191,-158,-146,-162},{-218,-146,-178,-155,-169,-187},{-164,-160,-171,-187,-160,-204},{-182,-173,-153,-197,-162,-171},{-167,-206,-189,-182,-169,-198}},{{-182,-164,-167,-184,-175,-187},{-207,-189,-200,-200,-197,-147},{-178,-153,-200,-215,-147,-209},{-204,-193,-200,-171,-215,-186},{-215,-146,-180,-189,-213,-204},{-217,-198,-207,-151,-189,-197},{-217,-155,-178,-189,-189,-197},{-162,-169,-160,-153,-182,-213},{-193,-191,-182,-164,-202,-198},{-171,-158,-146,-151,-158,-177},{-146,-186,-147,-171,-158,-198},{-184,-164,-169,-153,-198,-149},{-187,-151,-149,-171,-177,-155},{-169,-175,-218,-177,-191,-151},{-157,-157,-206,-198,-195,-153},{-155,-175,-158,-182,-193,-209},{-162,-191,-187,-160,-155,-173},{-184,-178,-147,-147,-193,-166},{-184,-204,-160,-160,-178,-193},{-164,-195,-169,-160,-160,-175}},{{-175,-207,-202,-166,-202,-209},{-160,-198,-160,-173,-155,-197},{-218,-217,-217,-171,-211,-175},{-213,-157,-195,-215,-184,-160},{-211,-198,-200,-218,-191,-173},{-195,-175,-153,-197,-197,-162},{-157,-200,-167,-166,-204,-215},{-173,-178,-215,-157,-162,-184},{-197,-217,-211,-213,-166,-164},{-160,-206,-211,-149,-153,-218},{-151,-191,-187,-211,-175,-180},{-175,-175,-200,-157,-169,-182},{-184,-149,-160,-186,-189,-164},{-184,-167,-158,-162,-213,-217},{-187,-218,-195,-166,-153,-200},{-157,-178,-204,-211,-215,-180},{-195,-158,-198,-147,-217,-162},{-177,-186,-206,-191,-158,-206},{-187,-207,-164,-147,-162,-187},{-195,-197,-217,-164,-146,-213}},{{-171,-157,-204,-207,-175,-178},{-200,-149,-211,-153,-155,-202},{-187,-146,-177,-166,-164,-198},{-146,-187,-157,-193,-171,-178},{-186,-155,-187,-198,-213,-206},{-202,-169,-184,-171,-182,-218},{-204,-175,-149,-215,-215,-146},{-200,-151,-178,-178,-164,-184},{-164,-193,-202,-146,-217,-166},{-182,-157,-184,-162,-184,-166},{-155,-218,-213,-191,-211,-160},{-177,-155,-149,-209,-155,-171},{-157,-171,-147,-209,-197,-147},{-146,-204,-146,-169,-218,-211},{-178,-187,-166,-166,-184,-166},{-166,-175,-167,-157,-166,-162},{-189,-171,-202,-160,-184,-177},{-177,-153,-191,-187,-191,-189},{-147,-202,-195,-207,-167,-178},{-147,-182,-209,-195,-207,-166}},{{-157,-209,-178,-195,-206,-191},{-178,-157,-169,-160,-175,-218},{-211,-158,-151,-200,-171,-187},{-207,-162,-158,-189,-193,-147},{-173,-160,-147,-189,-180,-187},{-200,-175,-186,-207,-166,-157},{-169,-147,-182,-191,-171,-215},{-155,-169,-191,-151,-215,-153},{-184,-197,-147,-191,-202,-151},{-180,-189,-164,-213,-191,-204},{-206,-146,-146,-215,-204,-146},{-173,-178,-173,-166,-178,-158},{-149,-153,-173,-207,-171,-211},{-177,-160,-207,-209,-180,-149},{-147,-157,-198,-178,-211,-195},{-193,-213,-166,-151,-158,-151},{-209,-198,-153,-171,-157,-173},{-200,-178,-207,-173,-198,-171},{-184,-164,-164,-171,-202,-153},{-215,-195,-167,-175,-215,-218}},{{-186,-209,-157,-202,-189,-149},{-160,-193,-178,-197,-155,-206},{-184,-167,-186,-186,-177,-153},{-191,-202,-182,-147,-202,-198},{-182,-202,-149,-191,-164,-211},{-155,-167,-153,-160,-157,-157},{-193,-178,-151,-180,-198,-149},{-189,-173,-167,-218,-178,-149},{-218,-215,-184,-209,-213,-177},{-167,-206,-160,-207,-197,-193},{-167,-171,-169,-187,-146,-189},{-158,-164,-218,-175,-166,-153},{-209,-164,-175,-198,-147,-184},{-202,-207,-211,-195,-151,-206},{-197,-206,-217,-151,-187,-147},{-175,-182,-184,-147,-147,-149},{-207,-204,-146,-171,-191,-167},{-202,-182,-200,-167,-177,-207},{-153,-213,-197,-175,-177,-213},{-158,-146,-146,-213,-147,-164}},{{-171,-166,-184,-218,-184,-211},{-146,-171,-175,-191,-171,-166},{-173,-184,-169,-160,-202,-186},{-158,-217,-187,-184,-195,-169},{-167,-153,-164,-175,-197,-189},{-213,-195,-164,-197,-187,-197},{-200,-166,-218,-164,-193,-169},{-211,-177,-191,-160,-206,-180},{-215,-200,-164,-206,-151,-155},{-187,-215,-209,-202,-197,-186},{-213,-151,-169,-191,-158,-193},{-198,-158,-182,-151,-157,-213},{-193,-187,-191,-193,-195,-175},{-158,-193,-169,-182,-166,-209},{-191,-204,-193,-200,-213,-175},{-153,-193,-169,-164,-153,-215},{-171,-173,-191,-195,-151,-204},{-169,-153,-217,-211,-195,-195},{-215,-167,-177,-147,-206,-193},{-197,-186,-207,-169,-200,-155}},{{-155,-147,-204,-171,-202,-162},{-191,-184,-167,-157,-209,-158},{-218,-175,-155,-202,-211,-149},{-146,-207,-184,-167,-198,-155},{-211,-164,-166,-169,-169,-147},{-153,-167,-186,-197,-195,-173},{-202,-198,-166,-167,-187,-158},{-149,-184,-206,-178,-211,-180},{-211,-184,-164,-167,-213,-171},{-207,-146,-202,-191,-215,-186},{-180,-160,-193,-197,-200,-177},{-162,-175,-187,-153,-171,-215},{-178,-151,-187,-149,-182,-177},{-149,-207,-169,-173,-158,-171},{-158,-155,-147,-157,-207,-166},{-189,-147,-153,-207,-166,-146},{-178,-157,-198,-162,-178,-178},{-169,-204,-175,-147,-180,-149},{-182,-173,-155,-157,-186,-189},{-169,-198,-218,-147,-195,-217}},{{-202,-202,-186,-166,-178,-184},{-197,-146,-207,-200,-202,-151},{-200,-167,-175,-200,-215,-198},{-217,-184,-217,-217,-197,-213},{-155,-149,-155,-217,-180,-155},{-177,-204,-211,-209,-193,-173},{-204,-173,-180,-184,-217,-209},{-166,-155,-164,-189,-175,-211},{-182,-182,-191,-149,-184,-177},{-175,-189,-177,-166,-171,-178},{-167,-206,-169,-166,-169,-215},{-167,-217,-184,-189,-177,-178},{-197,-197,-193,-177,-151,-151},{-153,-171,-218,-158,-171,-213},{-207,-167,-162,-151,-173,-180},{-217,-211,-197,-162,-158,-169},{-164,-207,-162,-157,-175,-211},{-189,-158,-215,-155,-173,-186},{-215,-187,-149,-200,-160,-186},{-155,-200,-169,-169,-211,-158}}},{{{-267,-279,-218,-287,-245,-274},{-257,-233,-250,-247,-282,-270},{-235,-252,-262,-223,-282,-292},{-211,-196,-223,-211,-240,-255},{-282,-282,-243,-287,-218,-252},{-225,-279,-220,-218,-270,-235},{-267,-196,-272,-211,-201,-277},{-228,-287,-238,-206,-218,-243},{-294,-284,-235,-282,-238,-240},{-289,-213,-289,-225,-252,-267},{-279,-240,-213,-257,-225,-279},{-208,-220,-196,-238,-292,-216},{-257,-289,-218,-294,-294,-257},{-250,-260,-201,-282,-240,-294},{-292,-282,-218,-284,-247,-294},{-255,-284,-208,-289,-243,-211},{-213,-272,-206,-279,-260,-262},{-228,-294,-257,-230,-198,-198},{-265,-284,-255,-198,-201,-220},{-272,-243,-228,-216,-255,-196}},{{-267,-255,-245,-233,-265,-243},{-213,-289,-270,-233,-250,-245},{-216,-257,-213,-267,-238,-287},{-220,-225,-277,-247,-274,-240},{-218,-257,-211,-216,-206,-272},{-289,-218,-228,-198,-220,-267},{-287,-218,-206,-196,-238,-294},{-257,-225,-255,-206,-245,-257},{-262,-211,-225,-196,-279,-233},{-213,-208,-206,-287,-272,-228},{-243,-211,-225,-238,-208,-289},{-247,-247,-196,-250,-196,-272},{-240,-284,-289,-272,-243,-225},{-262,-213,-208,-267,-235,-218},{-272,-245,-250,-206,-284,-213},{-243,-284,-274,-201,-289,-279},{-240,-272,-270,-245,-235,-282},{-213,-289,-203,-228,-257,-247},{-284,-235,-257,-201,-228,-220},{-223,-274,-213,-201,-262,-240}},{{-294,-201,-196,-292,-206,-282},{-243,-262,-265,-262,-240,-255},{-240,-279,-247,-272,-252,-216},{-223,-294,-292,-223,-218,-211},{-270,-257,-284,-255,-198,-277},{-203,-284,-260,-198,-225,-243},{-196,-255,-284,-284,-220,-216},{-213,-257,-292,-294,-198,-198},{-243,-284,-198,-287,-196,-238},{-228,-211,-252,-230,-201,-211},{-272,-230,-289,-233,-220,-265},{-196,-198,-247,-220,-203,-247},{-265,-218,-223,-228,-235,-255},{-277,-218,-262,-282,-238,-225},{-262,-255,-279,-247,-240,-230},{-201,-267,-265,-235,-265,-267},{-284,-245,-218,-216,-292,-267},{-233,-255,-282,-206,-196,-260},{-294,-282,-289,-262,-274,-196},{-196,-211,-257,-235,-274,-235}},{{-228,-243,-274,-255,-243,-277},{-203,-294,-198,-250,-294,-292},{-203,-240,-228,-272,-208,-211},{-238,-265,-223,-230,-201,-270},{-287,-282,-233,-287,-284,-211},{-208,-247,-208,-267,-274,-287},{-211,-213,-252,-201,-284,-262},{-223,-208,-238,-240,-243,-220},{-247,-272,-279,-233,-279,-274},{-277,-238,-272,-267,-243,-238},{-279,-252,-211,-250,-260,-201},{-196,-216,-282,-255,-243,-267},{-270,-201,-277,-230,-240,-250},{-213,-198,-228,-267,-196,-277},{-262,-250,-274,-235,-196,-233},{-201,-257,-255,-252,-279,-230},{-282,-201,-272,-277,-243,-201},{-220,-245,-294,-289,-196,-294},{-265,-247,-228,-206,-262,-292},{-247,-228,-228,-272,-220,-216}},{{-245,-223,-272,-235,-220,-208},{-262,-289,-270,-198,-220,-267},{-260,-282,-250,-245,-198,-247},{-218,-282,-203,-294,-243,-257},{-287,-274,-255,-265,-274,-230},{-255,-208,-223,-206,-203,-284},{-260,-247,-247,-284,-267,-255},{-265,-213,-211,-225,-272,-233},{-196,-282,-223,-294,-270,-255},{-233,-277,-255,-245,-203,-292},{-213,-235,-277,-238,-262,-211},{-218,-274,-206,-247,-267,-240},{-289,-265,-267,-265,-198,-206},{-284,-270,-284,-220,-274,-282},{-238,-294,-218,-203,-274,-252},{-279,-260,-245,-211,-225,-211},{-211,-292,-213,-247,-267,-198},{-243,-294,-220,-284,-208,-272},{-218,-208,-213,-287,-233,-223},{-213,-238,-240,-218,-208,-284}},{{-260,-235,-292,-228,-223,-223},{-255,-265,-235,-270,-208,-203},{-250,-238,-213,-218,-198,-220},{-252,-250,-238,-255,-284,-282},{-208,-203,-218,-270,-223,-208},{-235,-225,-218,-198,-294,-211},{-274,-238,-233,-292,-270,-213},{-198,-198,-243,-233,-213,-206},{-206,-196,-220,-201,-289,-255},{-230,-218,-240,-292,-216,-289},{-208,-223,-196,-206,-201,-289},{-255,-196,-292,-247,-247,-211},{-225,-282,-206,-252,-294,-206},{-238,-270,-198,-198,-240,-225},{-247,-292,-216,-270,-284,-206},{-267,-211,-198,-265,-257,-240},{-223,-230,-274,-247,-287,-201},{-250,-230,-277,-240,-198,-250},{-247,-292,-245,-270,-247,-198},{-201,-265,-211,-235,-245,-211}},{{-243,-282,-198,-211,-272,-208},{-270,-230,-228,-265,-277,-228},{-267,-260,-223,-218,-262,-265},{-198,-235,-262,-260,-262,-216},{-216,-272,-267,-247,-287,-223},{-238,-196,-203,-287,-230,-213},{-289,-274,-252,-198,-235,-218},{-265,-203,-223,-240,-233,-223},{-267,-228,-233,-277,-252,-250},{-243,-235,-211,-260,-196,-247},{-287,-257,-238,-257,-216,-243},{-250,-230,-201,-260,-206,-267},{-260,-218,-270,-245,-220,-257},{-220,-203,-228,-277,-223,-218},{-223,-235,-220,-223,-252,-238},{-294,-255,-220,-198,-247,-287},{-260,-252,-243,-218,-289,-294},{-243,-272,-284,-206,-274,-216},{-272,-220,-220,-240,-262,-216},{-201,-267,-277,-235,-228,-260}},{{-277,-220,-262,-213,-294,-208},{-233,-270,-196,-206,-270,-262},{-287,-220,-198,-287,-272,-240},{-240,-255,-252,-233,-272,-216},{-252,-208,-233,-294,-243,-279},{-274,-230,-289,-228,-240,-233},{-243,-216,-294,-294,-289,-235},{-262,-225,-287,-225,-201,-279},{-277,-218,-240,-203,-287,-279},{-292,-282,-277,-233,-289,-211},{-196,-196,-206,-252,-277,-223},{-216,-223,-250,-255,-247,-223},{-247,-252,-289,-250,-289,-257},{-223,-235,-216,-220,-252,-252},{-208,-282,-287,-198,-252,-284},{-267,-201,-262,-213,-198,-220},{-260,-279,-277,-208,-284,-274},{-287,-292,-206,-203,-228,-284},{-206,-223,-220,-223,-257,-201},{-250,-257,-198,-277,-279,-270}},{{-235,-228,-196,-220,-284,-235},{-235,-203,-220,-206,-243,-233},{-247,-284,-274,-289,-228,-289},{-292,-287,-260,-260,-270,-255},{-255,-277,-243,-198,-294,-208},{-277,-206,-240,-196,-203,-262},{-265,-196,-292,-218,-289,-257},{-228,-216,-240,-247,-255,-243},{-216,-284,-289,-274,-233,-230},{-294,-279,-213,-284,-267,-201},{-274,-282,-279,-198,-218,-218},{-233,-279,-277,-247,-270,-238},{-213,-272,-270,-203,-223,-230},{-270,-220,-289,-243,-216,-277},{-257,-208,-252,-223,-218,-230},{-277,-206,-267,-257,-292,-233},{-198,-247,-272,-233,-292,-274},{-223,-238,-252,-272,-294,-223},{-277,-203,-292,-238,-201,-292},{-274,-230,-206,-203,-238,-201}}},{{{-217,-268,-224,-236,-222,-275},{-203,-229,-187,-261,-208,-206},{-263,-256,-189,-219,-236,-194},{-266,-238,-219,-224,-249,-240},{-233,-236,-277,-275,-266,-203},{-199,-210,-249,-215,-243,-229},{-231,-273,-240,-213,-261,-199},{-208,-210,-236,-229,-238,-206},{-215,-259,-263,-229,-245,-275},{-213,-254,-277,-194,-254,-261},{-189,-226,-215,-226,-189,-187},{-245,-187,-240,-277,-219,-240},{-249,-275,-231,-252,-243,-240},{-213,-273,-215,-263,-189,-219},{-256,-206,-261,-238,-277,-219},{-217,-256,-229,-247,-201,-185},{-208,-199,-266,-259,-219,-231},{-240,-247,-199,-273,-254,-215},{-249,-245,-222,-189,-273,-189},{-277,-273,-270,-187,-270,-189}},{{-222,-273,-240,-185,-222,-252},{-203,-238,-196,-229,-275,-233},{-185,-275,-238,-249,-210,-231},{-266,-240,-185,-254,-187,-238},{-226,-199,-259,-270,-243,-219},{-277,-266,-275,-277,-229,-215},{-219,-196,-210,-199,-222,-203},{-277,-222,-259,-233,-263,-210},{-256,-236,-203,-196,-185,-236},{-240,-196,-226,-249,-194,-263},{-215,-194,-226,-208,-233,-256},{-194,-217,-226,-268,-252,-245},{-275,-196,-199,-206,-203,-236},{-189,-261,-226,-203,-203,-275},{-249,-203,-233,-247,-224,-208},{-243,-238,-196,-270,-256,-233},{-236,-240,-192,-219,-254,-245},{-249,-208,-249,-213,-226,-213},{-233,-185,-261,-229,-206,-226},{-187,-240,-194,-189,-256,-189}},{{-275,-243,-185,-275,-217,-206},{-247,-273,-185,-268,-263,-192},{-277,-236,-210,-252,-185,-194},{-277,-201,-210,-208,-222,-196},{-277,-238,-261,-270,-201,-208},{-224,-213,-192,-187,-189,-219},{-206,-206,-185,-185,-185,-273},{-213,-208,-236,-252,-240,-270},{-252,-210,-215,-263,-275,-210},{-192,-187,-199,-247,-254,-236},{-189,-268,-261,-201,-213,-240},{-226,-226,-189,-270,-252,-268},{-236,-213,-252,-256,-259,-277},{-201,-275,-196,-240,-208,-261},{-243,-240,-213,-270,-189,-194},{-208,-215,-201,-229,-215,-194},{-261,-222,-245,-185,-217,-203},{-273,-252,-199,-266,-222,-203},{-277,-231,-243,-210,-215,-256},{-270,-259,-249,-243,-226,-245}},{{-249,-208,-210,-229,-245,-187},{-273,-270,-210,-185,-226,-222},{-219,-266,-266,-201,-224,-210},{-240,-233,-206,-275,-199,-247},{-270,-219,-185,-233,-201,-261},{-208,-185,-219,-263,-233,-254},{-215,-261,-219,-245,-192,-261},{-273,-222,-231,-226,-210,-226},{-196,-185,-263,-192,-226,-203},{-243,-273,-229,-213,-275,-213},{-240,-233,-240,-277,-238,-243},{-236,-247,-245,-254,-233,-254},{-185,-245,-231,-208,-252,-201},{-240,-217,-270,-233,-252,-226},{-254,-213,-268,-238,-252,-273},{-192,-185,-210,-210,-201,-249},{-233,-226,-203,-277,-189,-231},{-254,-187,-275,-194,-236,-261},{-192,-210,-236,-192,-266,-247},{-210,-203,-261,-229,-261,-266}},{{-277,-277,-224,-199,-243,-236},{-256,-266,-273,-236,-192,-203},{-189,-270,-263,-203,-201,-196},{-219,-196,-256,-252,-206,-254},{-243,-224,-254,-277,-208,-273},{-210,-245,-247,-245,-201,-189},{-192,-247,-273,-196,-247,-245},{-196,-238,-231,-233,-219,-275},{-236,-273,-256,-226,-208,-238},{-261,-263,-196,-226,-249,-277},{-201,-273,-263,-238,-256,-226},{-266,-259,-247,-268,-243,-261},{-273,-201,-263,-254,-249,-254},{-238,-252,-240,-275,-192,-210},{-231,-243,-275,-226,-277,-226},{-256,-219,-208,-185,-233,-277},{-270,-247,-266,-259,-217,-199},{-275,-189,-187,-224,-185,-254},{-247,-275,-217,-263,-261,-206},{-245,-185,-196,-252,-270,-263}},{{-231,-263,-270,-187,-231,-243},{-275,-233,-185,-222,-243,-256},{-247,-210,-206,-206,-185,-245},{-185,-217,-243,-238,-229,-219},{-189,-268,-252,-185,-238,-210},{-231,-231,-217,-270,-194,-217},{-229,-266,-185,-189,-273,-236},{-261,-236,-194,-215,-261,-268},{-185,-222,-194,-185,-206,-245},{-268,-277,-240,-199,-245,-192},{-222,-252,-185,-208,-219,-261},{-268,-226,-240,-254,-233,-259},{-187,-247,-263,-229,-199,-224},{-215,-196,-226,-224,-273,-185},{-273,-185,-226,-256,-199,-268},{-203,-261,-233,-217,-224,-231},{-199,-231,-266,-199,-224,-192},{-254,-252,-240,-254,-247,-273},{-270,-210,-247,-256,-233,-247},{-210,-238,-192,-254,-249,-245}},{{-187,-252,-240,-203,-199,-210},{-277,-229,-245,-229,-263,-266},{-261,-247,-213,-247,-275,-187},{-275,-206,-222,-231,-215,-213},{-263,-273,-268,-222,-238,-261},{-194,-208,-185,-261,-275,-252},{-187,-196,-268,-249,-215,-259},{-261,-243,-226,-185,-226,-233},{-201,-240,-224,-222,-240,-261},{-263,-240,-203,-201,-210,-185},{-233,-270,-231,-249,-192,-203},{-222,-240,-236,-240,-233,-203},{-259,-226,-194,-231,-256,-219},{-259,-277,-270,-254,-222,-268},{-194,-263,-263,-226,-245,-259},{-226,-229,-215,-215,-194,-247},{-275,-236,-203,-249,-249,-224},{-254,-206,-266,-275,-240,-229},{-224,-206,-219,-240,-254,-236},{-189,-196,-192,-261,-224,-196}},{{-270,-231,-243,-192,-217,-217},{-187,-243,-217,-273,-254,-268},{-199,-252,-240,-187,-206,-236},{-256,-243,-192,-270,-189,-222},{-277,-201,-206,-268,-243,-196},{-247,-233,-201,-263,-252,-252},{-259,-252,-249,-240,-196,-199},{-196,-252,-203,-259,-219,-219},{-219,-233,-263,-261,-266,-231},{-194,-240,-243,-240,-196,-201},{-256,-192,-226,-229,-252,-266},{-215,-245,-238,-217,-185,-233},{-245,-261,-270,-236,-201,-263},{-229,-233,-206,-213,-277,-187},{-206,-194,-261,-203,-240,-270},{-231,-231,-252,-196,-266,-236},{-261,-196,-247,-245,-224,-187},{-233,-263,-217,-196,-208,-203},{-238,-240,-247,-206,-196,-275},{-217,-254,-208,-236,-206,-210}},{{-263,-219,-215,-226,-247,-254},{-261,-233,-252,-194,-192,-222},{-243,-277,-196,-222,-268,-245},{-189,-203,-256,-213,-224,-270},{-217,-203,-236,-249,-208,-249},{-240,-252,-236,-266,-196,-268},{-206,-215,-238,-210,-268,-185},{-229,-273,-201,-215,-268,-263},{-243,-233,-254,-238,-261,-222},{-259,-189,-199,-266,-245,-268},{-233,-266,-215,-249,-233,-210},{-247,-201,-219,-266,-238,-275},{-233,-247,-215,-224,-201,-249},{-185,-215,-254,-263,-222,-247},{-203,-240,-217,-210,-247,-210},{-192,-259,-240,-215,-229,-231},{-196,-254,-201,-226,-229,-185},{-268,-215,-270,-261,-252,-254},{-261,-240,-199,-256,-192,-249},{-245,-273,-243,-206,-273,-273}}},{{{-297,-270,-247,-244,-247,-247},{-276,-268,-241,-320,-315,-335},{-297,-256,-323,-291,-353,-312},{-241,-323,-341,-247,-262,-323},{-297,-250,-323,-259,-273,-270},{-276,-341,-244,-300,-341,-253},{-282,-344,-303,-300,-335,-297},{-270,-344,-347,-241,-326,-276},{-332,-315,-338,-256,-235,-320},{-291,-303,-238,-256,-341,-247},{-335,-270,-347,-250,-309,-329},{-315,-353,-338,-291,-276,-309},{-256,-350,-300,-341,-268,-320},{-323,-238,-326,-291,-338,-256},{-309,-344,-335,-341,-309,-241},{-347,-250,-259,-329,-335,-338},{-353,-312,-262,-338,-294,-294},{-315,-273,-262,-253,-291,-335},{-341,-276,-270,-235,-282,-312},{-265,-329,-285,-323,-318,-297}},{{-326,-344,-270,-253,-341,-338},{-300,-276,-318,-332,-270,-247},{-268,-235,-303,-250,-291,-285},{-300,-320,-315,-347,-285,-235},{-253,-309,-247,-291,-270,-282},{-318,-329,-259,-332,-344,-238},{-332,-244,-282,-285,-332,-335},{-318,-244,-303,-297,-244,-338},{-250,-341,-247,-244,-244,-250},{-294,-265,-291,-326,-268,-303},{-250,-315,-279,-262,-259,-320},{-253,-241,-350,-320,-235,-288},{-268,-250,-303,-244,-335,-323},{-268,-235,-253,-309,-285,-338},{-309,-288,-276,-244,-273,-353},{-235,-253,-344,-262,-259,-303},{-291,-353,-285,-297,-323,-341},{-250,-288,-276,-265,-320,-282},{-238,-303,-265,-288,-256,-306},{-282,-344,-332,-279,-312,-241}},{{-247,-244,-270,-285,-270,-300},{-244,-285,-235,-273,-256,-235},{-288,-256,-329,-282,-235,-320},{-265,-335,-338,-276,-253,-235},{-323,-335,-297,-241,-344,-238},{-282,-235,-326,-270,-268,-350},{-235,-273,-247,-291,-312,-276},{-338,-341,-253,-268,-350,-300},{-323,-315,-306,-247,-306,-288},{-323,-315,-253,-235,-268,-265},{-297,-326,-326,-244,-323,-335},{-338,-291,-341,-256,-276,-285},{-294,-341,-235,-285,-265,-323},{-282,-329,-326,-241,-300,-338},{-306,-309,-250,-253,-253,-315},{-238,-253,-259,-335,-341,-297},{-276,-323,-262,-270,-338,-297},{-344,-344,-256,-241,-338,-332},{-347,-303,-288,-288,-270,-265},{-341,-326,-306,-268,-315,-332}},{{-315,-338,-312,-262,-238,-288},{-268,-312,-341,-350,-259,-273},{-241,-300,-256,-294,-329,-262},{-323,-297,-300,-285,-323,-241},{-326,-332,-235,-294,-335,-282},{-279,-265,-268,-332,-338,-282},{-300,-285,-300,-312,-309,-309},{-270,-306,-297,-323,-244,-250},{-279,-323,-279,-250,-329,-273},{-235,-250,-341,-306,-259,-329},{-270,-244,-241,-315,-279,-247},{-288,-350,-288,-285,-312,-347},{-265,-350,-247,-291,-318,-320},{-288,-241,-320,-303,-268,-347},{-294,-270,-291,-276,-300,-303},{-235,-273,-256,-344,-312,-306},{-291,-329,-329,-300,-350,-268},{-315,-323,-253,-303,-312,-309},{-268,-323,-262,-253,-259,-344},{-238,-323,-253,-312,-259,-303}},{{-238,-235,-326,-329,-335,-285},{-335,-250,-241,-341,-285,-315},{-235,-247,-341,-256,-256,-276},{-353,-329,-262,-273,-323,-282},{-323,-332,-318,-297,-265,-235},{-329,-332,-282,-273,-329,-244},{-250,-282,-323,-241,-253,-347},{-238,-332,-285,-262,-285,-291},{-276,-315,-326,-332,-303,-303},{-259,-270,-244,-241,-320,-344},{-288,-276,-253,-279,-309,-279},{-235,-309,-315,-309,-291,-241},{-276,-344,-332,-253,-323,-265},{-300,-320,-303,-265,-300,-262},{-344,-315,-259,-297,-303,-256},{-273,-250,-270,-244,-273,-329},{-341,-285,-253,-262,-238,-247},{-270,-335,-341,-276,-309,-282},{-312,-315,-253,-235,-241,-288},{-318,-241,-279,-273,-332,-291}},{{-323,-300,-306,-288,-241,-282},{-320,-288,-294,-244,-250,-341},{-320,-350,-265,-250,-265,-344},{-282,-318,-262,-273,-244,-303},{-238,-259,-291,-326,-329,-282},{-262,-247,-320,-332,-238,-338},{-241,-244,-273,-332,-315,-318},{-297,-247,-291,-285,-326,-297},{-332,-285,-326,-300,-303,-353},{-273,-344,-312,-285,-262,-347},{-338,-262,-235,-238,-247,-244},{-315,-297,-320,-323,-353,-341},{-291,-241,-326,-238,-318,-312},{-312,-332,-250,-291,-265,-279},{-285,-353,-256,-273,-344,-285},{-306,-279,-262,-244,-303,-338},{-235,-241,-297,-253,-253,-235},{-285,-279,-329,-273,-247,-332},{-303,-241,-297,-265,-273,-244},{-341,-282,-323,-285,-303,-253}},{{-312,-323,-270,-270,-341,-353},{-329,-265,-300,-312,-350,-341},{-270,-323,-238,-297,-326,-303},{-291,-312,-250,-347,-320,-268},{-347,-256,-268,-323,-262,-279},{-338,-279,-253,-268,-256,-268},{-329,-285,-250,-238,-256,-238},{-265,-247,-309,-312,-253,-353},{-250,-303,-347,-244,-235,-344},{-253,-318,-347,-320,-350,-306},{-235,-341,-353,-297,-276,-276},{-323,-306,-306,-309,-303,-265},{-273,-238,-282,-347,-282,-335},{-344,-238,-329,-282,-344,-300},{-306,-265,-326,-262,-300,-315},{-332,-259,-288,-250,-306,-288},{-291,-326,-259,-238,-335,-326},{-312,-297,-270,-282,-291,-332},{-256,-300,-270,-303,-241,-347},{-335,-326,-306,-276,-282,-318}},{{-265,-329,-288,-306,-235,-300},{-276,-297,-288,-312,-262,-265},{-288,-306,-235,-285,-297,-297},{-265,-338,-291,-350,-235,-353},{-306,-318,-329,-262,-338,-335},{-338,-318,-312,-262,-253,-329},{-329,-347,-285,-262,-353,-323},{-335,-309,-318,-247,-270,-291},{-244,-244,-268,-244,-303,-335},{-288,-265,-270,-268,-338,-300},{-320,-294,-300,-332,-262,-282},{-270,-256,-262,-318,-279,-344},{-291,-318,-326,-250,-350,-350},{-268,-326,-344,-253,-320,-291},{-341,-326,-247,-332,-270,-323},{-265,-341,-300,-335,-262,-309},{-279,-253,-318,-276,-303,-309},{-329,-323,-265,-312,-347,-320},{-344,-318,-353,-244,-288,-253},{-300,-335,-353,-244,-262,-270}},{{-315,-323,-241,-347,-235,-323},{-303,-315,-294,-244,-285,-244},{-332,-270,-335,-329,-326,-344},{-312,-347,-273,-318,-306,-297},{-332,-326,-332,-273,-273,-279},{-268,-312,-318,-273,-273,-303},{-335,-268,-323,-235,-241,-353},{-265,-238,-273,-294,-306,-309},{-294,-306,-273,-253,-235,-341},{-270,-320,-315,-241,-265,-270},{-297,-300,-338,-285,-259,-344},{-244,-253,-288,-332,-262,-250},{-341,-262,-297,-329,-276,-256},{-309,-300,-291,-353,-341,-335},{-288,-247,-265,-268,-241,-315},{-250,-294,-320,-350,-347,-241},{-259,-306,-350,-259,-250,-315},{-344,-341,-312,-329,-312,-323},{-347,-291,-341,-285,-344,-268},{-259,-338,-303,-323,-323,-320}}}}; // 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,9,24,12,8,25,13,9,25,13,9,26,13,9,26,13,9,26,13,9,25,13,9,26,13,9,26,13,9,25,13,9,27,14,9,26,13,9,26,13,9,26,13,9,27,13,9,26,14,9,25,13,9,26,13,9,25,13,9,25,13,9,25,13,9,25,13,9}; // number of shipment for each bid 
int SHset[BN][MBSN]={{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23},{24,25,26,27,28,29,30,31,32,33,34,35},{36,37,38,39,40,41,42,43},{44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67},{68,69,70,71,72,73,74,75,76,77,78,79},{80,81,82,83,84,85,86,87,88},{89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112},{113,114,115,116,117,118,119,120,121,122,123,124},{125,126,127,128,129,130,131,132},{133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157},{158,159,160,161,162,163,164,165,166,167,168,169,170},{171,172,173,174,175,176,177,178,179},{180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204},{205,206,207,208,209,210,211,212,213,214,215,216,217},{218,219,220,221,222,223,224,225,226},{227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252},{253,254,255,256,257,258,259,260,261,262,263,264,265},{266,267,268,269,270,271,272,273,274},{275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300},{301,302,303,304,305,306,307,308,309,310,311,312,313},{314,315,316,317,318,319,320,321,322},{323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348},{349,350,351,352,353,354,355,356,357,358,359,360,361},{362,363,364,365,366,367,368,369,370},{371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395},{396,397,398,399,400,401,402,403,404,405,406,407,408},{409,410,411,412,413,414,415,416,417},{418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443},{444,445,446,447,448,449,450,451,452,453,454,455,456},{457,458,459,460,461,462,463,464,465},{466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491},{492,493,494,495,496,497,498,499,500,501,502,503,504},{505,506,507,508,509,510,511,512,513},{514,515,516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533,534,535,536,537,538},{539,540,541,542,543,544,545,546,547,548,549,550,551},{552,553,554,555,556,557,558,559,560},{561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587},{588,589,590,591,592,593,594,595,596,597,598,599,600,601},{602,603,604,605,606,607,608,609,610},{611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,632,633,634,635,636},{637,638,639,640,641,642,643,644,645,646,647,648,649},{650,651,652,653,654,655,656,657,658},{659,660,661,662,663,664,665,666,667,668,669,670,671,672,673,674,675,676,677,678,679,680,681,682,683,684},{685,686,687,688,689,690,691,692,693,694,695,696,697},{698,699,700,701,702,703,704,705,706},{707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732},{733,734,735,736,737,738,739,740,741,742,743,744,745},{746,747,748,749,750,751,752,753,754},{755,756,757,758,759,760,761,762,763,764,765,766,767,768,769,770,771,772,773,774,775,776,777,778,779,780,781},{782,783,784,785,786,787,788,789,790,791,792,793,794},{795,796,797,798,799,800,801,802,803},{804,805,806,807,808,809,810,811,812,813,814,815,816,817,818,819,820,821,822,823,824,825,826,827,828,829},{830,831,832,833,834,835,836,837,838,839,840,841,842,843},{844,845,846,847,848,849,850,851,852},{853,854,855,856,857,858,859,860,861,862,863,864,865,866,867,868,869,870,871,872,873,874,875,876,877},{878,879,880,881,882,883,884,885,886,887,888,889,890},{891,892,893,894,895,896,897,898,899},{900,901,902,903,904,905,906,907,908,909,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925},{926,927,928,929,930,931,932,933,934,935,936,937,938},{939,940,941,942,943,944,945,946,947},{948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972},{973,974,975,976,977,978,979,980,981,982,983,984,985},{986,987,988,989,990,991,992,993,994},{995,996,997,998,999,1000,1001,1002,1003,1004,1005,1006,1007,1008,1009,1010,1011,1012,1013,1014,1015,1016,1017,1018,1019},{1020,1021,1022,1023,1024,1025,1026,1027,1028,1029,1030,1031,1032},{1033,1034,1035,1036,1037,1038,1039,1040,1041},{1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066},{1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079},{1080,1081,1082,1083,1084,1085,1086,1087,1088},{1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113},{1114,1115,1116,1117,1118,1119,1120,1121,1122,1123,1124,1125,1126},{1127,1128,1129,1130,1131,1132,1133,1134,1135}}; // set of shipments in each bid 
int SHsts[SPN]={1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,2,6,10,14,18,22,26,30,34,38,42,46,2,8,14,20,26,32,38,44,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,1,5,9,13,17,21,25,29,33,37,41,45,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,2,6,10,14,18,22,26,30,34,38,42,46,2,8,14,20,26,32,38,44,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,1,5,9,13,17,21,25,29,33,37,41,45,49,2,8,14,20,26,32,38,44,50,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,0,4,8,12,16,20,24,28,32,36,40,44,48,1,7,13,19,25,31,37,43,49,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,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,1,5,9,13,17,21,25,29,33,37,41,45,49,2,8,14,20,26,32,38,44,50,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,1,5,9,13,17,21,25,29,33,37,41,45,49,1,7,13,19,25,31,37,43,49,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,1,5,9,13,17,21,25,29,33,37,41,45,49,1,7,13,19,25,31,37,43,49,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,2,6,10,14,18,22,26,30,34,38,42,46,50,1,7,13,19,25,31,37,43,49,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,0,4,8,12,16,20,24,28,32,36,40,44,48,52,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,2,8,14,20,26,32,38,44,50,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,2,6,10,14,18,22,26,30,34,38,42,46,50,2,8,14,20,26,32,38,44,50,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,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,1,5,9,13,17,21,25,29,33,37,41,45,49,0,6,12,18,24,30,36,42,48,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,0,4,8,12,16,20,24,28,32,36,40,44,48,52,2,8,14,20,26,32,38,44,50,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,1,5,9,13,17,21,25,29,33,37,41,45,49,2,8,14,20,26,32,38,44,50,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,1,5,9,13,17,21,25,29,33,37,41,45,49,1,7,13,19,25,31,37,43,49,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,1,5,9,13,17,21,25,29,33,37,41,45,49,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,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,1,5,9,13,17,21,25,29,33,37,41,45,49,1,7,13,19,25,31,37,43,49,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}; // set of start times of each shipment 
int SHets[SPN]={6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,7,11,15,19,23,27,31,35,39,43,47,51,7,13,19,25,31,37,43,49,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,6,10,14,18,22,26,30,34,38,42,46,50,5,11,17,23,29,35,41,47,53,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,7,13,19,25,31,37,43,49,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,3,7,11,15,19,23,27,31,35,39,43,47,51,5,11,17,23,29,35,41,47,53,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,4,8,12,16,20,24,28,32,36,40,44,48,52,5,11,17,23,29,35,41,47,53,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,3,7,11,15,19,23,27,31,35,39,43,47,51,4,10,16,22,28,34,40,46,52,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,4,8,12,16,20,24,28,32,36,40,44,48,52,4,10,16,22,28,34,40,46,52,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,2,6,10,14,18,22,26,30,34,38,42,46,50,3,9,15,21,27,33,39,45,51,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,3,7,11,15,19,23,27,31,35,39,43,47,51,4,10,16,22,28,34,40,46,52,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,3,7,11,15,19,23,27,31,35,39,43,47,51,3,9,15,21,27,33,39,45,51,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,3,7,11,15,19,23,27,31,35,39,43,47,51,3,9,15,21,27,33,39,45,51,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,4,8,12,16,20,24,28,32,36,40,44,48,52,3,9,15,21,27,33,39,45,51,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,1,5,9,13,17,21,25,29,33,37,41,45,49,53,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,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,3,9,15,21,27,33,39,45,51,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,2,6,10,14,18,22,26,30,34,38,42,46,50,1,7,13,19,25,31,37,43,49,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,1,5,9,13,17,21,25,29,33,37,41,45,49,53,3,9,15,21,27,33,39,45,51,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,3,7,11,15,19,23,27,31,35,39,43,47,51,4,10,16,22,28,34,40,46,52,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,3,7,11,15,19,23,27,31,35,39,43,47,51,3,9,15,21,27,33,39,45,51,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,3,7,11,15,19,23,27,31,35,39,43,47,51,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,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,4,8,12,16,20,24,28,32,36,40,44,48,52,4,10,16,22,28,34,40,46,52,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,4,8,12,16,20,24,28,32,36,40,44,48,52,3,9,15,21,27,33,39,45,51}; // set of end times of each shipment 
