int Dev = 10;// 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]={{{{11004,0,0,0,0,0},{10975,0,0,0,0,0},{11048,0,0,0,0,0},{11046,0,0,0,0,0},{11012,0,0,0,0,0},{11055,0,0,0,0,0},{10906,0,0,0,0,0},{11121,0,0,0,0,0},{11168,0,0,0,0,0},{10991,0,0,0,0,0},{11199,0,0,0,0,0},{11132,0,0,0,0,0},{11136,0,0,0,0,0},{11177,0,0,0,0,0},{10993,0,0,0,0,0},{11141,0,0,0,0,0},{11147,0,0,0,0,0},{11235,0,0,0,0,0},{11029,0,0,0,0,0},{11124,0,0,0,0,0}},{{11028,0,0,0,0,0},{11034,0,0,0,0,0},{10991,0,0,0,0,0},{11052,0,0,0,0,0},{10991,0,0,0,0,0},{11146,0,0,0,0,0},{10937,0,0,0,0,0},{11033,0,0,0,0,0},{10867,0,0,0,0,0},{10999,0,0,0,0,0},{10968,0,0,0,0,0},{11137,0,0,0,0,0},{11162,0,0,0,0,0},{10909,0,0,0,0,0},{11088,0,0,0,0,0},{10985,0,0,0,0,0},{10897,0,0,0,0,0},{11188,0,0,0,0,0},{11092,0,0,0,0,0},{11070,0,0,0,0,0}},{{10884,0,0,0,0,0},{10828,0,0,0,0,0},{11038,0,0,0,0,0},{11108,0,0,0,0,0},{11089,0,0,0,0,0},{10935,0,0,0,0,0},{11162,0,0,0,0,0},{11138,0,0,0,0,0},{11019,0,0,0,0,0},{11061,0,0,0,0,0},{11047,0,0,0,0,0},{11065,0,0,0,0,0},{10839,0,0,0,0,0},{11152,0,0,0,0,0},{10920,0,0,0,0,0},{11119,0,0,0,0,0},{11078,0,0,0,0,0},{11173,0,0,0,0,0},{11128,0,0,0,0,0},{10892,0,0,0,0,0}},{{11113,0,0,0,0,0},{11036,0,0,0,0,0},{11110,0,0,0,0,0},{11060,0,0,0,0,0},{11042,0,0,0,0,0},{11097,0,0,0,0,0},{11026,0,0,0,0,0},{11057,0,0,0,0,0},{11230,0,0,0,0,0},{10801,0,0,0,0,0},{11046,0,0,0,0,0},{10959,0,0,0,0,0},{11013,0,0,0,0,0},{11138,0,0,0,0,0},{10946,0,0,0,0,0},{11055,0,0,0,0,0},{11029,0,0,0,0,0},{11057,0,0,0,0,0},{10946,0,0,0,0,0},{10908,0,0,0,0,0}},{{10928,0,0,0,0,0},{11086,0,0,0,0,0},{11106,0,0,0,0,0},{10955,0,0,0,0,0},{11030,0,0,0,0,0},{11058,0,0,0,0,0},{11004,0,0,0,0,0},{11069,0,0,0,0,0},{10904,0,0,0,0,0},{10962,0,0,0,0,0},{11082,0,0,0,0,0},{10935,0,0,0,0,0},{11098,0,0,0,0,0},{11225,0,0,0,0,0},{11020,0,0,0,0,0},{11073,0,0,0,0,0},{11098,0,0,0,0,0},{10834,0,0,0,0,0},{10931,0,0,0,0,0},{10972,0,0,0,0,0}},{{11059,0,0,0,0,0},{11224,0,0,0,0,0},{10931,0,0,0,0,0},{11056,0,0,0,0,0},{11165,0,0,0,0,0},{11260,0,0,0,0,0},{11196,0,0,0,0,0},{11070,0,0,0,0,0},{11016,0,0,0,0,0},{11076,0,0,0,0,0},{10924,0,0,0,0,0},{11061,0,0,0,0,0},{11074,0,0,0,0,0},{11110,0,0,0,0,0},{11022,0,0,0,0,0},{11169,0,0,0,0,0},{11116,0,0,0,0,0},{11036,0,0,0,0,0},{11048,0,0,0,0,0},{11087,0,0,0,0,0}},{{11042,0,0,0,0,0},{11064,0,0,0,0,0},{11086,0,0,0,0,0},{11039,0,0,0,0,0},{11079,0,0,0,0,0},{11140,0,0,0,0,0},{11124,0,0,0,0,0},{11151,0,0,0,0,0},{11071,0,0,0,0,0},{11049,0,0,0,0,0},{11114,0,0,0,0,0},{11223,0,0,0,0,0},{11075,0,0,0,0,0},{11144,0,0,0,0,0},{11051,0,0,0,0,0},{11021,0,0,0,0,0},{11067,0,0,0,0,0},{10982,0,0,0,0,0},{11035,0,0,0,0,0},{10877,0,0,0,0,0}},{{11048,0,0,0,0,0},{11093,0,0,0,0,0},{10996,0,0,0,0,0},{11012,0,0,0,0,0},{11030,0,0,0,0,0},{11154,0,0,0,0,0},{10954,0,0,0,0,0},{11036,0,0,0,0,0},{10937,0,0,0,0,0},{10998,0,0,0,0,0},{11138,0,0,0,0,0},{11031,0,0,0,0,0},{11172,0,0,0,0,0},{11008,0,0,0,0,0},{11081,0,0,0,0,0},{11067,0,0,0,0,0},{10943,0,0,0,0,0},{11216,0,0,0,0,0},{10928,0,0,0,0,0},{11141,0,0,0,0,0}},{{10806,0,0,0,0,0},{11126,0,0,0,0,0},{11066,0,0,0,0,0},{10963,0,0,0,0,0},{11012,0,0,0,0,0},{11183,0,0,0,0,0},{11098,0,0,0,0,0},{11083,0,0,0,0,0},{10890,0,0,0,0,0},{11077,0,0,0,0,0},{11103,0,0,0,0,0},{11061,0,0,0,0,0},{11136,0,0,0,0,0},{11133,0,0,0,0,0},{11105,0,0,0,0,0},{11046,0,0,0,0,0},{11168,0,0,0,0,0},{11026,0,0,0,0,0},{11158,0,0,0,0,0},{11000,0,0,0,0,0}}},{{{-217,-213,-215,-231,-242,-208},{-215,-213,-202,-217,-244,-217},{-226,-211,-244,-244,-231,-202},{-235,-204,-231,-237,-215,-231},{-240,-235,-211,-213,-215,-222},{-233,-231,-231,-206,-242,-226},{-217,-213,-204,-208,-202,-231},{-237,-215,-242,-222,-246,-220},{-228,-233,-233,-231,-215,-208},{-237,-246,-231,-231,-220,-240},{-213,-228,-240,-211,-228,-242},{-228,-217,-231,-204,-204,-208},{-226,-217,-204,-228,-244,-211},{-213,-224,-233,-246,-246,-237},{-224,-231,-231,-231,-231,-240},{-202,-224,-233,-242,-237,-240},{-215,-240,-226,-233,-213,-222},{-237,-231,-220,-240,-226,-208},{-206,-228,-213,-220,-220,-246},{-224,-246,-235,-220,-224,-231}},{{-226,-208,-217,-217,-240,-235},{-206,-206,-235,-204,-220,-217},{-240,-211,-208,-228,-237,-224},{-224,-240,-244,-215,-222,-222},{-242,-228,-204,-215,-204,-235},{-228,-235,-246,-226,-202,-237},{-244,-224,-226,-226,-224,-237},{-246,-242,-206,-246,-231,-208},{-204,-206,-242,-242,-224,-231},{-217,-213,-204,-233,-246,-215},{-226,-240,-211,-202,-202,-233},{-244,-222,-208,-213,-246,-211},{-237,-217,-237,-206,-217,-237},{-233,-202,-211,-231,-224,-244},{-242,-244,-235,-244,-211,-235},{-233,-226,-220,-211,-228,-231},{-226,-242,-233,-242,-246,-233},{-220,-244,-202,-222,-240,-226},{-228,-226,-222,-244,-228,-233},{-231,-220,-215,-213,-231,-244}},{{-215,-242,-228,-237,-213,-228},{-231,-235,-208,-206,-211,-237},{-231,-240,-233,-220,-237,-224},{-244,-208,-202,-231,-233,-224},{-211,-240,-240,-204,-213,-226},{-208,-246,-231,-226,-220,-213},{-224,-224,-233,-213,-242,-206},{-206,-215,-235,-213,-224,-242},{-213,-233,-242,-222,-220,-217},{-206,-204,-217,-204,-215,-208},{-204,-204,-206,-233,-237,-206},{-215,-217,-244,-215,-228,-222},{-233,-211,-206,-237,-222,-215},{-217,-228,-231,-242,-224,-206},{-213,-242,-220,-217,-215,-211},{-208,-244,-235,-240,-233,-202},{-213,-213,-215,-224,-206,-226},{-220,-226,-231,-244,-244,-244},{-202,-242,-226,-213,-237,-228},{-235,-242,-211,-213,-231,-242}},{{-231,-206,-246,-237,-226,-217},{-220,-244,-202,-242,-206,-217},{-240,-211,-222,-224,-237,-211},{-206,-215,-237,-240,-211,-246},{-244,-202,-215,-202,-202,-220},{-240,-213,-220,-242,-231,-208},{-224,-211,-208,-242,-246,-220},{-213,-226,-242,-237,-235,-217},{-244,-206,-240,-246,-224,-217},{-202,-246,-204,-237,-246,-228},{-202,-213,-235,-231,-237,-224},{-220,-231,-240,-240,-222,-220},{-235,-222,-235,-211,-244,-228},{-202,-202,-242,-237,-202,-235},{-215,-213,-235,-222,-242,-226},{-233,-211,-213,-202,-246,-206},{-233,-224,-217,-206,-215,-215},{-246,-228,-233,-228,-217,-244},{-204,-208,-211,-222,-215,-202},{-211,-217,-204,-235,-224,-208}},{{-204,-204,-240,-220,-228,-215},{-233,-235,-224,-206,-246,-215},{-217,-237,-217,-228,-244,-244},{-202,-217,-208,-208,-235,-244},{-211,-226,-242,-208,-237,-208},{-244,-233,-237,-244,-211,-211},{-204,-222,-206,-226,-208,-235},{-237,-217,-240,-233,-217,-246},{-226,-244,-224,-217,-231,-215},{-246,-237,-226,-228,-202,-246},{-242,-211,-228,-208,-213,-213},{-242,-215,-226,-204,-224,-202},{-237,-242,-206,-231,-208,-206},{-228,-208,-215,-244,-233,-222},{-233,-242,-228,-220,-217,-246},{-215,-220,-215,-215,-240,-222},{-224,-208,-213,-233,-204,-228},{-226,-226,-208,-237,-217,-242},{-213,-202,-202,-235,-240,-202},{-244,-246,-235,-211,-211,-235}},{{-244,-206,-222,-208,-220,-244},{-202,-226,-202,-224,-244,-233},{-208,-208,-213,-235,-215,-202},{-237,-242,-222,-231,-246,-224},{-244,-204,-240,-242,-237,-226},{-222,-237,-231,-222,-202,-226},{-242,-246,-237,-211,-231,-244},{-215,-213,-226,-213,-204,-208},{-246,-224,-220,-213,-244,-246},{-246,-224,-242,-204,-242,-211},{-208,-217,-242,-217,-208,-213},{-224,-208,-215,-208,-233,-224},{-246,-233,-231,-242,-235,-228},{-240,-204,-244,-233,-244,-237},{-233,-220,-204,-242,-202,-235},{-246,-215,-202,-235,-244,-242},{-228,-222,-235,-215,-222,-244},{-217,-213,-215,-220,-231,-215},{-226,-220,-206,-206,-242,-237},{-235,-233,-202,-226,-228,-224}},{{-211,-211,-244,-222,-220,-226},{-213,-202,-213,-224,-242,-202},{-206,-226,-215,-235,-208,-226},{-204,-226,-224,-208,-244,-237},{-224,-202,-226,-240,-222,-213},{-220,-220,-246,-237,-231,-211},{-213,-213,-242,-237,-226,-211},{-226,-237,-242,-224,-222,-217},{-233,-237,-206,-213,-220,-213},{-217,-244,-215,-242,-242,-235},{-242,-202,-215,-237,-244,-211},{-237,-233,-231,-233,-208,-240},{-215,-228,-242,-224,-208,-246},{-242,-211,-237,-224,-224,-242},{-208,-206,-220,-246,-226,-215},{-213,-244,-231,-224,-242,-204},{-222,-242,-246,-235,-220,-224},{-242,-226,-213,-204,-213,-213},{-220,-211,-226,-231,-224,-231},{-244,-206,-208,-204,-213,-206}},{{-217,-224,-213,-222,-211,-242},{-217,-220,-213,-231,-222,-222},{-211,-215,-231,-213,-208,-226},{-220,-220,-202,-228,-215,-226},{-213,-235,-237,-235,-240,-211},{-242,-240,-215,-224,-237,-217},{-202,-217,-224,-237,-228,-206},{-244,-224,-237,-246,-237,-217},{-220,-237,-202,-237,-217,-204},{-206,-228,-202,-211,-224,-217},{-217,-228,-220,-208,-228,-237},{-206,-222,-246,-228,-242,-206},{-233,-246,-246,-242,-233,-237},{-217,-202,-233,-215,-224,-231},{-246,-204,-233,-233,-231,-244},{-231,-235,-211,-240,-206,-240},{-215,-244,-228,-222,-233,-206},{-244,-242,-246,-242,-228,-220},{-240,-208,-244,-233,-213,-217},{-231,-244,-235,-213,-231,-244}},{{-202,-204,-237,-206,-222,-211},{-211,-211,-242,-242,-226,-208},{-217,-204,-242,-213,-242,-235},{-206,-217,-204,-233,-213,-226},{-222,-220,-231,-237,-228,-211},{-240,-206,-226,-240,-220,-226},{-242,-228,-217,-220,-228,-231},{-211,-244,-224,-224,-233,-224},{-217,-206,-244,-202,-222,-206},{-233,-222,-220,-226,-231,-215},{-220,-226,-240,-226,-202,-204},{-224,-244,-226,-242,-204,-235},{-211,-240,-235,-217,-217,-244},{-220,-217,-246,-228,-226,-231},{-204,-233,-228,-206,-233,-215},{-228,-233,-202,-202,-213,-231},{-246,-237,-235,-206,-224,-244},{-220,-220,-217,-208,-237,-240},{-204,-240,-222,-246,-217,-213},{-226,-204,-213,-217,-204,-215}}},{{{-226,-252,-224,-217,-231,-245},{-252,-219,-236,-259,-245,-231},{-243,-245,-262,-255,-245,-219},{-231,-231,-219,-219,-262,-248},{-248,-231,-228,-221,-248,-262},{-233,-221,-226,-217,-252,-228},{-259,-228,-228,-248,-224,-248},{-219,-219,-217,-224,-240,-257},{-231,-243,-238,-250,-248,-217},{-217,-238,-238,-238,-236,-243},{-259,-243,-240,-236,-238,-238},{-219,-236,-245,-224,-257,-262},{-243,-214,-243,-240,-262,-221},{-250,-262,-236,-221,-236,-257},{-240,-259,-228,-248,-224,-257},{-257,-250,-250,-255,-243,-224},{-257,-250,-257,-231,-219,-248},{-248,-262,-248,-255,-238,-231},{-243,-238,-228,-231,-262,-224},{-259,-219,-224,-248,-262,-231}},{{-221,-217,-236,-238,-233,-228},{-243,-257,-259,-228,-231,-252},{-221,-221,-262,-226,-217,-219},{-228,-236,-238,-224,-221,-250},{-252,-221,-240,-238,-240,-236},{-259,-231,-228,-257,-219,-231},{-214,-217,-221,-219,-214,-255},{-217,-252,-252,-233,-231,-231},{-245,-214,-245,-221,-228,-228},{-257,-214,-214,-221,-224,-219},{-245,-236,-245,-250,-233,-224},{-252,-228,-219,-259,-257,-217},{-233,-259,-231,-217,-259,-236},{-252,-217,-250,-262,-221,-221},{-231,-221,-262,-231,-221,-226},{-214,-214,-226,-219,-217,-255},{-217,-243,-226,-214,-217,-219},{-248,-219,-252,-233,-217,-240},{-221,-231,-236,-221,-231,-250},{-248,-217,-217,-240,-221,-252}},{{-228,-226,-221,-231,-221,-257},{-217,-219,-219,-219,-236,-224},{-245,-236,-233,-240,-236,-226},{-250,-231,-224,-236,-259,-252},{-233,-221,-217,-255,-252,-217},{-217,-219,-228,-226,-228,-257},{-255,-262,-217,-259,-252,-221},{-259,-250,-252,-257,-233,-217},{-252,-259,-248,-243,-214,-252},{-240,-252,-255,-255,-219,-228},{-259,-221,-245,-214,-238,-240},{-219,-255,-224,-240,-236,-224},{-214,-217,-219,-219,-231,-259},{-245,-217,-231,-228,-238,-257},{-262,-224,-248,-233,-245,-255},{-240,-252,-257,-233,-221,-259},{-219,-224,-250,-238,-252,-233},{-233,-226,-252,-231,-248,-238},{-217,-224,-259,-248,-262,-259},{-214,-259,-252,-221,-219,-233}},{{-238,-252,-221,-262,-250,-231},{-257,-217,-250,-224,-255,-257},{-252,-228,-252,-245,-248,-255},{-233,-262,-214,-243,-236,-259},{-259,-252,-259,-224,-240,-233},{-231,-228,-243,-217,-262,-248},{-217,-231,-240,-214,-250,-255},{-221,-231,-219,-243,-243,-226},{-219,-219,-214,-248,-238,-252},{-243,-243,-243,-226,-221,-221},{-257,-214,-231,-214,-240,-233},{-231,-226,-224,-217,-255,-233},{-219,-243,-233,-228,-243,-228},{-248,-255,-217,-262,-259,-245},{-226,-236,-231,-214,-231,-217},{-236,-255,-217,-236,-219,-243},{-217,-238,-245,-238,-217,-233},{-238,-224,-233,-248,-238,-231},{-224,-217,-224,-248,-228,-233},{-236,-221,-219,-250,-238,-224}},{{-231,-248,-255,-219,-259,-238},{-238,-252,-217,-228,-231,-248},{-221,-221,-240,-233,-262,-231},{-257,-238,-214,-221,-224,-224},{-228,-217,-236,-233,-250,-236},{-243,-231,-217,-243,-248,-238},{-238,-250,-226,-217,-259,-248},{-250,-233,-243,-259,-236,-245},{-233,-228,-219,-243,-224,-214},{-228,-252,-250,-221,-226,-250},{-238,-248,-255,-250,-236,-245},{-252,-250,-245,-240,-257,-217},{-250,-231,-259,-233,-233,-221},{-259,-248,-255,-236,-245,-238},{-219,-226,-255,-217,-248,-219},{-240,-252,-245,-245,-257,-252},{-228,-245,-224,-217,-259,-240},{-228,-257,-224,-236,-217,-224},{-252,-214,-217,-240,-221,-228},{-219,-224,-236,-238,-257,-248}},{{-217,-219,-217,-214,-262,-248},{-219,-262,-224,-236,-257,-257},{-262,-252,-240,-243,-236,-245},{-240,-255,-250,-221,-233,-233},{-250,-238,-238,-238,-243,-231},{-252,-257,-238,-240,-248,-245},{-217,-214,-259,-257,-221,-259},{-226,-214,-259,-236,-219,-250},{-238,-243,-219,-252,-240,-219},{-240,-250,-224,-219,-224,-240},{-221,-248,-238,-240,-259,-217},{-226,-259,-259,-233,-240,-262},{-262,-250,-250,-236,-224,-231},{-243,-231,-233,-250,-255,-243},{-214,-228,-245,-262,-240,-257},{-217,-243,-259,-231,-238,-236},{-240,-255,-243,-226,-226,-245},{-240,-255,-252,-250,-224,-259},{-224,-221,-226,-252,-262,-243},{-248,-224,-250,-214,-224,-240}},{{-243,-238,-214,-243,-250,-217},{-252,-259,-248,-259,-231,-259},{-233,-233,-255,-228,-221,-250},{-259,-250,-228,-231,-250,-250},{-262,-226,-257,-255,-245,-228},{-236,-219,-259,-262,-236,-252},{-255,-252,-238,-221,-259,-221},{-224,-255,-257,-238,-257,-233},{-217,-245,-236,-250,-231,-231},{-238,-243,-214,-243,-250,-259},{-228,-238,-217,-240,-257,-245},{-228,-236,-219,-257,-255,-252},{-245,-224,-217,-233,-262,-217},{-219,-245,-262,-233,-257,-250},{-255,-228,-262,-262,-233,-245},{-214,-224,-231,-219,-224,-228},{-228,-240,-257,-250,-217,-245},{-252,-221,-257,-231,-217,-221},{-243,-248,-259,-259,-243,-236},{-236,-245,-259,-228,-231,-226}},{{-250,-250,-219,-221,-240,-262},{-214,-226,-243,-252,-240,-236},{-224,-238,-259,-233,-228,-219},{-236,-233,-257,-221,-228,-238},{-257,-214,-240,-221,-228,-233},{-238,-257,-219,-245,-255,-217},{-236,-252,-259,-231,-228,-214},{-214,-217,-226,-224,-243,-250},{-226,-224,-233,-250,-224,-243},{-245,-240,-236,-262,-245,-243},{-233,-240,-236,-252,-221,-240},{-257,-214,-226,-221,-259,-238},{-221,-240,-259,-240,-252,-233},{-252,-231,-236,-245,-233,-219},{-248,-228,-262,-245,-228,-259},{-231,-233,-245,-243,-224,-250},{-233,-262,-236,-231,-240,-245},{-233,-217,-262,-259,-224,-243},{-217,-240,-238,-226,-221,-250},{-238,-248,-248,-221,-214,-257}},{{-238,-221,-262,-231,-226,-226},{-259,-255,-262,-252,-248,-226},{-255,-259,-233,-259,-231,-228},{-231,-236,-259,-250,-243,-255},{-228,-224,-221,-240,-226,-231},{-228,-252,-236,-257,-233,-240},{-257,-226,-219,-262,-219,-259},{-257,-257,-248,-226,-243,-252},{-262,-224,-221,-219,-226,-228},{-219,-217,-217,-224,-224,-236},{-238,-259,-214,-236,-259,-240},{-245,-228,-255,-217,-252,-224},{-250,-224,-243,-226,-255,-226},{-228,-245,-255,-221,-238,-250},{-257,-245,-233,-217,-259,-238},{-243,-219,-255,-214,-257,-257},{-250,-262,-259,-233,-226,-233},{-219,-252,-248,-240,-262,-236},{-240,-214,-252,-221,-233,-255},{-259,-214,-240,-233,-240,-233}}},{{{-287,-287,-289,-262,-257,-281},{-268,-276,-270,-270,-284,-300},{-246,-295,-259,-268,-298,-284},{-259,-254,-278,-281,-251,-284},{-292,-284,-289,-262,-254,-292},{-287,-300,-248,-273,-265,-262},{-268,-276,-287,-292,-270,-254},{-262,-276,-246,-276,-295,-273},{-298,-287,-251,-284,-257,-265},{-248,-284,-281,-273,-278,-284},{-287,-268,-259,-292,-265,-259},{-289,-278,-287,-259,-246,-259},{-246,-292,-284,-257,-289,-278},{-281,-254,-295,-298,-292,-276},{-281,-281,-292,-298,-287,-248},{-262,-284,-295,-265,-254,-246},{-281,-298,-289,-287,-257,-254},{-276,-248,-270,-278,-295,-278},{-284,-265,-246,-259,-300,-270},{-300,-259,-276,-287,-262,-246}},{{-276,-251,-273,-300,-276,-265},{-289,-276,-276,-295,-276,-257},{-276,-248,-298,-298,-246,-262},{-248,-262,-276,-278,-251,-281},{-298,-289,-298,-270,-248,-276},{-287,-248,-254,-289,-292,-292},{-270,-248,-287,-246,-262,-295},{-273,-251,-298,-268,-287,-246},{-251,-292,-257,-268,-287,-289},{-278,-295,-281,-284,-270,-246},{-248,-298,-298,-270,-292,-259},{-251,-270,-270,-284,-251,-281},{-251,-257,-298,-259,-287,-298},{-254,-270,-262,-262,-265,-268},{-284,-246,-251,-265,-246,-281},{-300,-268,-251,-270,-300,-257},{-259,-265,-292,-265,-254,-276},{-284,-246,-278,-292,-257,-262},{-257,-246,-262,-284,-295,-284},{-284,-268,-292,-268,-265,-262}},{{-251,-298,-265,-300,-248,-284},{-292,-276,-248,-268,-284,-257},{-289,-246,-273,-287,-259,-251},{-276,-295,-268,-270,-289,-265},{-287,-273,-292,-268,-270,-298},{-268,-278,-300,-246,-278,-246},{-246,-300,-273,-265,-298,-254},{-246,-257,-289,-298,-265,-300},{-273,-289,-254,-276,-287,-248},{-265,-287,-298,-254,-278,-268},{-259,-251,-246,-278,-273,-284},{-287,-287,-251,-254,-273,-265},{-268,-246,-251,-276,-254,-276},{-259,-254,-246,-295,-292,-265},{-268,-298,-259,-276,-262,-278},{-278,-251,-265,-251,-292,-254},{-284,-292,-248,-265,-268,-251},{-298,-289,-265,-262,-281,-246},{-298,-273,-254,-276,-254,-276},{-259,-259,-273,-273,-292,-251}},{{-270,-265,-259,-289,-300,-262},{-281,-254,-265,-300,-246,-289},{-287,-262,-268,-276,-278,-295},{-292,-257,-284,-259,-289,-273},{-259,-278,-289,-270,-246,-268},{-270,-251,-268,-251,-268,-268},{-273,-298,-300,-276,-262,-257},{-246,-292,-268,-270,-284,-295},{-284,-262,-268,-300,-289,-284},{-268,-265,-273,-281,-254,-246},{-254,-292,-281,-254,-276,-259},{-298,-265,-257,-268,-298,-246},{-270,-273,-287,-259,-268,-268},{-262,-284,-273,-270,-300,-284},{-300,-248,-254,-276,-289,-289},{-284,-270,-300,-273,-248,-298},{-281,-278,-273,-259,-292,-273},{-251,-273,-262,-287,-273,-278},{-270,-276,-248,-281,-268,-287},{-251,-257,-265,-257,-298,-251}},{{-257,-276,-292,-270,-259,-295},{-300,-276,-287,-292,-262,-281},{-262,-273,-276,-281,-246,-292},{-284,-248,-270,-284,-284,-257},{-292,-276,-268,-257,-246,-292},{-265,-248,-300,-273,-300,-270},{-295,-251,-270,-270,-281,-268},{-278,-259,-257,-276,-268,-257},{-276,-254,-259,-276,-254,-298},{-273,-254,-281,-254,-248,-251},{-257,-278,-262,-262,-284,-248},{-278,-300,-276,-268,-295,-284},{-259,-273,-278,-298,-278,-248},{-251,-276,-273,-278,-254,-292},{-287,-292,-289,-265,-262,-281},{-300,-289,-298,-248,-259,-259},{-284,-292,-281,-254,-265,-265},{-262,-251,-248,-268,-278,-254},{-265,-246,-262,-289,-259,-281},{-254,-300,-251,-254,-265,-248}},{{-248,-298,-278,-284,-257,-300},{-273,-259,-300,-276,-265,-276},{-273,-276,-268,-262,-265,-289},{-281,-262,-292,-270,-298,-257},{-270,-273,-248,-298,-281,-268},{-262,-295,-295,-281,-278,-278},{-281,-254,-257,-278,-284,-300},{-276,-281,-251,-287,-295,-292},{-276,-300,-246,-292,-251,-295},{-295,-284,-289,-295,-289,-254},{-246,-292,-287,-262,-254,-270},{-281,-281,-248,-259,-298,-289},{-281,-257,-292,-292,-251,-251},{-292,-254,-265,-278,-284,-281},{-287,-276,-300,-276,-281,-248},{-278,-270,-259,-278,-287,-295},{-284,-262,-265,-298,-298,-273},{-270,-268,-254,-276,-246,-289},{-281,-281,-289,-265,-254,-278},{-287,-246,-262,-248,-268,-284}},{{-284,-278,-278,-281,-292,-300},{-276,-287,-295,-262,-254,-289},{-289,-248,-251,-300,-262,-287},{-273,-265,-298,-268,-254,-298},{-268,-270,-259,-284,-246,-270},{-246,-276,-251,-298,-295,-295},{-284,-246,-262,-295,-298,-254},{-273,-278,-262,-287,-292,-292},{-300,-281,-298,-259,-278,-270},{-278,-292,-251,-270,-251,-254},{-270,-298,-270,-251,-298,-254},{-254,-287,-284,-248,-298,-273},{-300,-292,-270,-259,-270,-298},{-289,-287,-284,-265,-270,-292},{-246,-268,-248,-289,-276,-254},{-298,-257,-254,-287,-262,-281},{-300,-259,-246,-254,-246,-287},{-292,-251,-251,-278,-259,-278},{-259,-251,-265,-284,-254,-295},{-248,-276,-248,-278,-248,-298}},{{-295,-265,-292,-262,-287,-251},{-276,-251,-278,-300,-295,-284},{-295,-292,-268,-298,-254,-268},{-284,-248,-298,-289,-257,-262},{-254,-265,-262,-270,-295,-276},{-259,-259,-278,-287,-287,-284},{-292,-281,-246,-257,-270,-259},{-295,-273,-262,-265,-265,-246},{-278,-273,-268,-251,-295,-268},{-289,-248,-289,-295,-278,-276},{-289,-268,-276,-278,-287,-278},{-298,-254,-292,-246,-300,-257},{-273,-278,-254,-281,-295,-265},{-254,-259,-300,-259,-300,-281},{-289,-254,-298,-254,-278,-284},{-262,-281,-265,-287,-287,-262},{-254,-276,-257,-246,-246,-289},{-284,-265,-278,-284,-289,-276},{-257,-289,-292,-248,-259,-248},{-289,-295,-292,-289,-257,-300}},{{-276,-257,-276,-273,-262,-284},{-287,-281,-289,-300,-268,-268},{-270,-259,-257,-300,-257,-298},{-270,-262,-248,-259,-273,-276},{-268,-276,-246,-251,-276,-298},{-257,-298,-265,-289,-295,-278},{-300,-292,-295,-273,-248,-254},{-257,-284,-278,-276,-248,-273},{-300,-251,-265,-300,-248,-254},{-292,-251,-254,-248,-251,-248},{-262,-257,-254,-298,-259,-298},{-248,-254,-270,-265,-265,-251},{-265,-270,-259,-251,-273,-289},{-270,-262,-295,-276,-276,-246},{-295,-265,-265,-298,-270,-268},{-278,-265,-268,-257,-298,-259},{-287,-276,-292,-259,-246,-284},{-251,-273,-281,-298,-295,-262},{-270,-292,-300,-295,-284,-289},{-300,-278,-265,-295,-292,-273}}},{{{-139,-152,-139,-163,-142,-142},{-140,-162,-142,-168,-154,-149},{-145,-142,-156,-145,-152,-166},{-169,-163,-160,-166,-166,-163},{-145,-146,-143,-140,-152,-143},{-156,-151,-163,-157,-149,-146},{-146,-142,-165,-145,-139,-168},{-163,-145,-165,-162,-142,-156},{-169,-148,-156,-163,-149,-159},{-143,-152,-163,-165,-139,-142},{-162,-169,-148,-160,-139,-162},{-157,-159,-162,-143,-157,-152},{-149,-149,-146,-154,-142,-151},{-143,-169,-157,-162,-165,-168},{-145,-160,-154,-145,-152,-165},{-146,-163,-145,-151,-142,-157},{-140,-159,-165,-140,-169,-143},{-166,-145,-162,-145,-154,-166},{-140,-166,-156,-166,-154,-156},{-151,-139,-151,-168,-152,-146}},{{-154,-163,-152,-151,-151,-166},{-149,-156,-169,-154,-140,-154},{-156,-149,-140,-154,-139,-140},{-169,-146,-142,-151,-148,-165},{-148,-148,-151,-151,-139,-151},{-157,-151,-146,-168,-139,-156},{-143,-145,-143,-140,-157,-152},{-140,-139,-163,-165,-154,-140},{-156,-156,-142,-149,-169,-140},{-142,-139,-168,-151,-145,-160},{-168,-162,-146,-146,-139,-169},{-140,-148,-152,-140,-160,-160},{-142,-168,-160,-154,-165,-142},{-146,-169,-146,-166,-151,-149},{-140,-168,-148,-163,-146,-156},{-162,-152,-148,-139,-159,-159},{-140,-146,-157,-154,-143,-162},{-145,-140,-168,-163,-166,-160},{-160,-156,-159,-139,-143,-154},{-145,-169,-145,-154,-162,-169}},{{-152,-159,-163,-139,-148,-151},{-143,-149,-157,-159,-157,-162},{-162,-160,-166,-140,-149,-154},{-146,-165,-143,-142,-157,-145},{-169,-145,-166,-152,-142,-143},{-162,-168,-165,-146,-151,-163},{-162,-168,-169,-156,-163,-166},{-154,-159,-154,-166,-163,-165},{-166,-156,-142,-154,-140,-143},{-160,-162,-163,-152,-157,-165},{-145,-146,-156,-168,-165,-156},{-162,-142,-168,-143,-140,-160},{-163,-145,-157,-166,-139,-162},{-148,-148,-142,-148,-168,-148},{-142,-142,-156,-146,-169,-151},{-148,-154,-162,-143,-159,-145},{-168,-159,-145,-142,-168,-168},{-168,-156,-169,-157,-139,-168},{-165,-148,-154,-143,-169,-159},{-139,-146,-168,-140,-149,-142}},{{-148,-143,-160,-165,-156,-169},{-163,-145,-160,-151,-143,-162},{-143,-152,-154,-165,-148,-154},{-160,-152,-165,-151,-163,-159},{-159,-162,-154,-149,-151,-146},{-140,-148,-159,-162,-162,-152},{-168,-140,-163,-162,-151,-148},{-163,-151,-149,-162,-151,-165},{-165,-160,-139,-169,-140,-157},{-151,-169,-145,-149,-160,-151},{-165,-149,-149,-165,-154,-169},{-151,-165,-151,-148,-148,-162},{-157,-157,-146,-142,-139,-146},{-149,-162,-148,-151,-160,-146},{-160,-139,-143,-159,-146,-156},{-149,-163,-143,-168,-149,-145},{-160,-165,-169,-148,-146,-148},{-148,-149,-139,-140,-169,-146},{-149,-165,-169,-156,-145,-142},{-146,-159,-163,-140,-140,-151}},{{-148,-152,-140,-152,-169,-139},{-160,-163,-146,-165,-143,-160},{-168,-149,-148,-159,-140,-159},{-149,-145,-154,-156,-157,-146},{-152,-149,-159,-166,-151,-168},{-169,-160,-151,-146,-166,-162},{-168,-163,-168,-168,-140,-149},{-142,-166,-169,-154,-165,-166},{-160,-149,-152,-169,-166,-149},{-145,-169,-152,-159,-151,-165},{-140,-156,-168,-168,-146,-142},{-169,-162,-152,-146,-154,-142},{-165,-168,-139,-168,-146,-157},{-151,-143,-162,-165,-169,-143},{-159,-169,-139,-148,-156,-146},{-149,-145,-152,-159,-149,-149},{-160,-148,-162,-151,-166,-169},{-168,-152,-151,-143,-160,-165},{-169,-166,-166,-156,-159,-168},{-166,-143,-148,-142,-148,-151}},{{-151,-168,-160,-162,-151,-139},{-163,-165,-165,-165,-160,-157},{-151,-156,-139,-143,-148,-168},{-156,-162,-142,-146,-166,-142},{-149,-139,-168,-139,-142,-152},{-165,-162,-163,-140,-148,-160},{-152,-152,-157,-149,-160,-157},{-157,-145,-145,-166,-149,-169},{-140,-149,-169,-163,-142,-149},{-143,-140,-168,-142,-166,-139},{-140,-168,-157,-162,-162,-145},{-139,-157,-149,-139,-151,-160},{-148,-149,-152,-157,-169,-146},{-160,-140,-163,-146,-142,-162},{-159,-168,-159,-156,-168,-168},{-152,-159,-157,-152,-143,-142},{-162,-146,-145,-145,-152,-166},{-166,-148,-159,-160,-145,-148},{-165,-165,-143,-148,-163,-148},{-156,-162,-149,-165,-168,-140}},{{-166,-142,-143,-149,-159,-163},{-145,-157,-169,-162,-143,-154},{-159,-139,-169,-140,-166,-168},{-162,-146,-151,-149,-159,-165},{-142,-160,-142,-156,-166,-154},{-143,-149,-148,-157,-149,-146},{-139,-140,-162,-151,-168,-157},{-151,-152,-149,-156,-152,-145},{-139,-140,-163,-148,-160,-152},{-168,-151,-143,-156,-145,-143},{-166,-142,-148,-142,-142,-142},{-159,-160,-163,-143,-146,-160},{-143,-145,-139,-149,-148,-159},{-160,-169,-152,-162,-163,-154},{-142,-145,-149,-148,-140,-139},{-148,-156,-148,-151,-149,-145},{-146,-145,-162,-140,-151,-154},{-160,-143,-149,-151,-151,-151},{-146,-142,-152,-168,-157,-140},{-145,-146,-168,-154,-142,-145}},{{-154,-143,-139,-148,-162,-160},{-160,-139,-143,-168,-154,-165},{-166,-148,-169,-149,-140,-157},{-156,-160,-169,-139,-154,-162},{-160,-165,-152,-145,-151,-169},{-159,-143,-163,-156,-162,-163},{-163,-157,-154,-168,-160,-156},{-143,-157,-145,-168,-140,-152},{-165,-165,-140,-157,-146,-159},{-148,-149,-146,-140,-151,-151},{-149,-157,-154,-157,-168,-166},{-152,-163,-142,-156,-162,-154},{-163,-165,-145,-145,-166,-156},{-142,-146,-151,-156,-165,-160},{-146,-151,-145,-166,-139,-148},{-139,-146,-152,-151,-148,-157},{-166,-140,-148,-146,-165,-148},{-166,-156,-160,-151,-160,-149},{-157,-152,-156,-151,-142,-151},{-149,-162,-165,-168,-151,-148}},{{-152,-143,-140,-142,-146,-160},{-139,-146,-157,-146,-143,-152},{-162,-154,-169,-168,-139,-165},{-168,-143,-156,-169,-154,-152},{-163,-142,-146,-168,-165,-148},{-143,-163,-145,-154,-146,-145},{-148,-151,-162,-149,-142,-146},{-156,-142,-169,-160,-149,-148},{-139,-156,-156,-165,-160,-140},{-148,-169,-156,-152,-159,-165},{-149,-163,-149,-143,-146,-142},{-165,-152,-160,-139,-154,-166},{-148,-156,-160,-168,-148,-146},{-163,-145,-163,-168,-152,-162},{-145,-140,-154,-166,-165,-154},{-152,-159,-159,-159,-140,-151},{-146,-166,-168,-149,-157,-160},{-152,-140,-160,-149,-165,-146},{-142,-160,-146,-159,-160,-168},{-159,-142,-157,-146,-154,-159}}},{{{-177,-186,-197,-173,-195,-164},{-175,-166,-173,-197,-167,-200},{-164,-184,-177,-171,-193,-177},{-187,-189,-182,-175,-186,-164},{-184,-186,-191,-197,-200,-186},{-187,-182,-178,-198,-180,-178},{-167,-167,-191,-171,-175,-186},{-198,-169,-189,-198,-197,-182},{-195,-189,-193,-198,-177,-169},{-178,-189,-171,-173,-191,-198},{-200,-178,-193,-198,-177,-169},{-200,-171,-197,-169,-169,-189},{-175,-167,-186,-186,-191,-197},{-189,-173,-198,-187,-169,-166},{-186,-166,-166,-173,-180,-182},{-184,-189,-180,-164,-177,-178},{-175,-187,-177,-182,-171,-193},{-182,-182,-200,-164,-182,-184},{-182,-193,-193,-166,-173,-177},{-184,-198,-195,-200,-186,-184}},{{-178,-189,-173,-164,-169,-177},{-167,-180,-180,-166,-167,-167},{-177,-177,-182,-195,-200,-186},{-178,-164,-197,-167,-169,-180},{-187,-173,-198,-178,-195,-175},{-171,-200,-193,-195,-169,-177},{-189,-197,-186,-198,-167,-182},{-187,-182,-186,-167,-200,-193},{-195,-164,-164,-164,-189,-167},{-182,-200,-180,-175,-180,-191},{-187,-198,-191,-184,-197,-164},{-177,-195,-186,-195,-171,-197},{-178,-175,-169,-197,-180,-164},{-169,-184,-195,-180,-167,-171},{-187,-198,-177,-167,-184,-175},{-195,-180,-180,-198,-178,-177},{-195,-175,-175,-198,-166,-189},{-164,-191,-167,-180,-189,-178},{-184,-189,-186,-173,-175,-195},{-171,-177,-195,-193,-166,-182}},{{-167,-169,-184,-184,-191,-197},{-177,-193,-180,-169,-200,-180},{-193,-169,-198,-186,-171,-173},{-191,-193,-173,-173,-175,-164},{-191,-191,-164,-193,-191,-171},{-182,-169,-167,-164,-178,-197},{-189,-186,-184,-180,-200,-200},{-184,-182,-175,-177,-167,-171},{-175,-178,-193,-175,-171,-197},{-164,-197,-180,-169,-186,-193},{-175,-184,-189,-198,-175,-191},{-186,-173,-175,-186,-182,-195},{-186,-178,-200,-167,-186,-191},{-184,-195,-198,-182,-175,-193},{-167,-189,-182,-178,-191,-180},{-200,-198,-169,-164,-180,-173},{-195,-200,-177,-166,-195,-173},{-200,-197,-173,-198,-173,-180},{-164,-180,-193,-177,-195,-189},{-171,-200,-197,-182,-187,-189}},{{-198,-175,-186,-173,-191,-171},{-198,-167,-200,-166,-178,-180},{-178,-184,-193,-193,-182,-184},{-182,-187,-198,-173,-184,-167},{-195,-169,-187,-186,-198,-189},{-200,-178,-189,-195,-169,-175},{-182,-182,-198,-184,-195,-173},{-180,-171,-187,-184,-166,-186},{-177,-169,-177,-195,-164,-169},{-171,-166,-169,-177,-197,-164},{-186,-169,-180,-191,-164,-186},{-167,-189,-200,-200,-200,-175},{-189,-173,-169,-200,-171,-187},{-197,-166,-178,-167,-187,-180},{-164,-193,-200,-180,-191,-189},{-182,-173,-200,-169,-200,-200},{-180,-175,-178,-166,-189,-184},{-171,-169,-167,-197,-189,-173},{-180,-193,-180,-187,-177,-187},{-193,-200,-178,-184,-184,-191}},{{-184,-164,-173,-193,-195,-167},{-195,-191,-189,-167,-193,-189},{-177,-191,-197,-193,-193,-198},{-182,-182,-186,-173,-167,-167},{-195,-166,-198,-193,-197,-200},{-186,-166,-191,-193,-175,-187},{-175,-182,-189,-184,-195,-180},{-164,-186,-167,-191,-167,-171},{-195,-195,-175,-191,-191,-164},{-171,-169,-186,-164,-178,-166},{-189,-164,-166,-175,-182,-171},{-169,-198,-167,-167,-184,-189},{-182,-184,-195,-180,-171,-178},{-191,-186,-184,-195,-186,-184},{-173,-177,-171,-184,-166,-171},{-193,-171,-186,-175,-164,-193},{-169,-189,-198,-189,-186,-200},{-193,-186,-193,-197,-178,-186},{-189,-200,-182,-177,-167,-171},{-171,-173,-193,-186,-175,-193}},{{-173,-195,-182,-178,-169,-195},{-195,-186,-186,-186,-186,-178},{-167,-198,-198,-167,-178,-173},{-178,-166,-171,-166,-198,-200},{-166,-175,-178,-166,-187,-195},{-191,-184,-182,-182,-167,-175},{-193,-200,-167,-195,-184,-191},{-169,-184,-198,-200,-191,-186},{-184,-200,-180,-180,-167,-191},{-171,-193,-195,-166,-197,-198},{-197,-169,-197,-195,-167,-166},{-193,-175,-193,-180,-197,-193},{-164,-169,-189,-177,-184,-187},{-167,-167,-184,-180,-182,-173},{-166,-189,-173,-175,-175,-180},{-197,-189,-193,-195,-167,-189},{-178,-173,-175,-182,-182,-193},{-197,-166,-173,-177,-184,-191},{-187,-200,-189,-171,-200,-167},{-191,-198,-200,-197,-173,-166}},{{-193,-191,-178,-177,-186,-175},{-200,-169,-167,-166,-175,-177},{-200,-197,-200,-164,-164,-186},{-164,-164,-197,-166,-177,-171},{-177,-184,-200,-173,-198,-171},{-193,-186,-193,-187,-195,-167},{-193,-171,-187,-191,-193,-178},{-197,-182,-175,-195,-187,-187},{-177,-195,-167,-164,-175,-178},{-186,-189,-186,-182,-198,-197},{-166,-169,-175,-193,-184,-200},{-191,-200,-182,-177,-173,-200},{-164,-186,-182,-187,-189,-177},{-175,-193,-169,-175,-169,-164},{-182,-186,-187,-175,-193,-178},{-184,-193,-173,-178,-193,-169},{-184,-171,-187,-169,-200,-197},{-164,-187,-167,-178,-182,-175},{-178,-193,-186,-191,-191,-173},{-182,-166,-166,-200,-187,-164}},{{-171,-178,-173,-191,-189,-197},{-197,-195,-171,-178,-175,-178},{-169,-186,-200,-175,-193,-171},{-189,-169,-166,-164,-200,-175},{-198,-189,-182,-191,-169,-197},{-191,-189,-198,-178,-173,-198},{-175,-182,-175,-195,-178,-177},{-166,-187,-184,-175,-187,-182},{-177,-164,-191,-197,-177,-195},{-175,-200,-184,-189,-173,-182},{-200,-186,-177,-189,-189,-191},{-169,-189,-191,-164,-191,-189},{-177,-193,-191,-197,-166,-175},{-187,-195,-198,-177,-167,-180},{-198,-175,-198,-200,-177,-189},{-193,-191,-184,-167,-193,-169},{-197,-177,-167,-173,-173,-189},{-167,-184,-171,-178,-175,-167},{-177,-187,-167,-164,-189,-178},{-195,-197,-187,-166,-164,-164}},{{-166,-186,-200,-198,-169,-193},{-200,-173,-182,-178,-186,-189},{-193,-193,-200,-166,-175,-191},{-184,-182,-186,-184,-173,-178},{-195,-195,-177,-195,-189,-171},{-180,-184,-191,-167,-167,-195},{-184,-195,-167,-186,-173,-180},{-177,-166,-198,-177,-166,-198},{-169,-166,-175,-195,-169,-164},{-177,-175,-173,-200,-193,-191},{-197,-198,-167,-200,-182,-186},{-178,-184,-180,-187,-197,-177},{-175,-177,-197,-193,-175,-193},{-198,-182,-167,-171,-191,-200},{-166,-182,-171,-186,-180,-198},{-198,-166,-166,-195,-198,-187},{-178,-193,-164,-171,-175,-191},{-198,-193,-173,-178,-187,-166},{-169,-182,-189,-178,-169,-193},{-193,-186,-171,-200,-171,-200}}},{{{-245,-223,-240,-247,-257,-235},{-245,-243,-220,-250,-243,-228},{-255,-228,-267,-247,-267,-255},{-228,-270,-220,-267,-267,-262},{-243,-238,-245,-267,-230,-228},{-233,-262,-260,-225,-265,-243},{-255,-243,-267,-252,-262,-235},{-225,-245,-243,-265,-235,-255},{-230,-220,-270,-240,-243,-240},{-245,-235,-240,-223,-238,-230},{-238,-228,-252,-260,-250,-245},{-243,-233,-255,-265,-252,-265},{-270,-245,-238,-270,-245,-238},{-252,-257,-257,-235,-260,-243},{-235,-233,-223,-240,-233,-235},{-235,-245,-245,-235,-252,-247},{-240,-250,-238,-228,-262,-220},{-223,-265,-270,-262,-252,-225},{-228,-262,-238,-220,-255,-265},{-243,-252,-235,-252,-225,-247}},{{-260,-270,-262,-260,-228,-228},{-252,-240,-228,-257,-233,-257},{-230,-238,-262,-260,-223,-233},{-235,-230,-270,-250,-257,-230},{-265,-243,-238,-220,-225,-240},{-267,-245,-240,-262,-225,-252},{-270,-220,-245,-228,-243,-243},{-235,-220,-265,-265,-250,-235},{-267,-260,-228,-238,-230,-223},{-252,-270,-225,-233,-257,-257},{-260,-243,-230,-223,-238,-252},{-247,-260,-257,-265,-270,-255},{-250,-267,-252,-243,-243,-270},{-230,-238,-243,-262,-233,-233},{-250,-238,-247,-255,-240,-250},{-250,-223,-257,-223,-223,-257},{-228,-238,-245,-223,-233,-252},{-270,-270,-245,-257,-243,-267},{-235,-235,-240,-235,-265,-220},{-238,-260,-230,-257,-225,-233}},{{-233,-220,-235,-220,-270,-235},{-270,-228,-233,-238,-245,-230},{-235,-262,-267,-257,-267,-257},{-265,-270,-233,-260,-250,-233},{-252,-225,-238,-270,-245,-220},{-238,-250,-228,-238,-233,-260},{-265,-238,-220,-245,-243,-247},{-230,-243,-250,-243,-250,-228},{-260,-267,-220,-223,-230,-247},{-255,-225,-265,-230,-233,-243},{-262,-270,-255,-270,-260,-235},{-265,-267,-220,-257,-267,-267},{-220,-243,-243,-250,-267,-247},{-250,-252,-235,-270,-262,-257},{-243,-262,-220,-257,-267,-228},{-238,-270,-257,-247,-267,-250},{-228,-233,-240,-270,-262,-225},{-265,-220,-225,-243,-262,-260},{-255,-238,-252,-243,-228,-230},{-225,-228,-262,-223,-230,-235}},{{-245,-228,-247,-252,-223,-223},{-238,-265,-270,-235,-230,-228},{-235,-230,-235,-270,-260,-223},{-225,-240,-260,-243,-252,-230},{-255,-225,-252,-220,-230,-240},{-238,-238,-267,-243,-238,-240},{-240,-262,-230,-220,-265,-233},{-252,-225,-270,-260,-235,-243},{-265,-252,-257,-257,-238,-260},{-243,-270,-230,-225,-230,-220},{-228,-223,-235,-262,-245,-245},{-243,-243,-240,-238,-245,-223},{-235,-223,-233,-257,-247,-235},{-247,-238,-233,-250,-250,-265},{-255,-220,-240,-252,-270,-228},{-230,-220,-220,-247,-267,-255},{-257,-223,-247,-255,-250,-243},{-238,-260,-243,-270,-245,-255},{-235,-228,-262,-270,-225,-267},{-255,-262,-257,-220,-245,-230}},{{-233,-265,-238,-267,-228,-238},{-233,-223,-223,-230,-262,-228},{-260,-228,-247,-230,-260,-252},{-262,-245,-233,-257,-270,-245},{-255,-235,-247,-245,-235,-247},{-267,-223,-247,-243,-257,-257},{-225,-267,-240,-252,-238,-238},{-265,-225,-233,-257,-267,-230},{-240,-250,-233,-255,-230,-225},{-228,-233,-245,-220,-233,-257},{-265,-240,-255,-270,-260,-247},{-223,-230,-223,-223,-270,-250},{-245,-233,-252,-267,-235,-243},{-262,-240,-260,-228,-243,-243},{-252,-228,-262,-247,-252,-260},{-238,-238,-270,-252,-235,-243},{-240,-245,-257,-255,-223,-260},{-260,-230,-257,-220,-255,-220},{-233,-235,-223,-240,-243,-260},{-240,-235,-255,-228,-252,-252}},{{-257,-250,-238,-255,-267,-238},{-233,-247,-225,-265,-265,-270},{-225,-230,-255,-228,-238,-245},{-235,-252,-252,-225,-255,-245},{-255,-250,-245,-220,-250,-260},{-260,-265,-228,-230,-243,-240},{-235,-243,-225,-252,-250,-255},{-257,-265,-243,-252,-235,-238},{-225,-262,-265,-230,-238,-233},{-247,-270,-233,-245,-250,-220},{-223,-240,-240,-265,-233,-245},{-230,-220,-243,-267,-257,-260},{-235,-243,-240,-243,-240,-233},{-243,-235,-228,-270,-267,-240},{-255,-235,-255,-260,-230,-245},{-252,-245,-267,-230,-245,-267},{-262,-257,-243,-267,-257,-245},{-243,-255,-270,-270,-238,-245},{-235,-245,-230,-267,-240,-240},{-252,-247,-233,-243,-267,-245}},{{-243,-255,-257,-238,-270,-262},{-220,-238,-270,-243,-270,-243},{-230,-270,-230,-238,-262,-255},{-257,-243,-243,-225,-265,-223},{-233,-252,-257,-252,-267,-257},{-250,-252,-260,-243,-270,-223},{-252,-262,-270,-220,-243,-247},{-270,-225,-223,-243,-257,-265},{-223,-257,-270,-243,-262,-267},{-230,-228,-265,-252,-255,-255},{-257,-260,-235,-243,-240,-245},{-243,-260,-228,-252,-228,-265},{-255,-262,-255,-252,-265,-240},{-238,-243,-238,-265,-240,-245},{-223,-230,-267,-238,-265,-260},{-240,-265,-265,-243,-250,-260},{-262,-228,-270,-257,-262,-225},{-262,-262,-270,-247,-270,-247},{-255,-270,-225,-267,-228,-260},{-220,-255,-233,-228,-265,-243}},{{-255,-238,-257,-250,-238,-235},{-260,-262,-270,-228,-260,-235},{-265,-230,-247,-255,-228,-245},{-270,-235,-230,-270,-243,-270},{-250,-235,-238,-235,-240,-228},{-267,-225,-247,-240,-228,-243},{-250,-255,-262,-233,-235,-257},{-240,-265,-245,-233,-267,-243},{-245,-255,-235,-223,-245,-235},{-243,-267,-267,-225,-265,-223},{-238,-243,-223,-247,-267,-255},{-255,-247,-252,-225,-257,-228},{-230,-235,-233,-220,-220,-267},{-225,-262,-267,-262,-233,-243},{-262,-243,-230,-233,-250,-238},{-243,-233,-255,-247,-230,-267},{-230,-238,-257,-240,-223,-257},{-220,-233,-270,-245,-250,-250},{-260,-255,-252,-230,-262,-265},{-235,-260,-243,-265,-220,-235}},{{-228,-228,-225,-230,-240,-230},{-250,-220,-270,-238,-233,-235},{-220,-238,-267,-255,-267,-233},{-247,-270,-245,-262,-230,-255},{-252,-233,-220,-255,-252,-270},{-223,-230,-238,-250,-255,-220},{-257,-233,-245,-255,-262,-252},{-247,-223,-230,-267,-257,-270},{-233,-220,-250,-255,-245,-255},{-260,-255,-260,-247,-235,-265},{-235,-238,-233,-233,-267,-267},{-220,-260,-220,-267,-230,-265},{-257,-235,-262,-267,-223,-228},{-247,-252,-228,-260,-245,-270},{-265,-267,-233,-220,-270,-270},{-235,-245,-240,-265,-250,-238},{-270,-228,-228,-223,-247,-240},{-250,-238,-220,-235,-252,-255},{-262,-230,-262,-240,-235,-240},{-250,-228,-247,-233,-270,-233}}},{{{-243,-224,-217,-226,-208,-252},{-226,-217,-213,-245,-254,-217},{-219,-238,-224,-238,-243,-213},{-213,-215,-213,-217,-236,-222},{-247,-249,-226,-236,-213,-226},{-213,-254,-222,-217,-249,-240},{-208,-217,-224,-224,-213,-252},{-222,-215,-229,-243,-236,-229},{-252,-215,-236,-213,-252,-226},{-249,-208,-224,-231,-245,-240},{-249,-224,-229,-233,-231,-236},{-245,-210,-247,-245,-229,-245},{-217,-236,-245,-240,-252,-236},{-238,-224,-240,-222,-219,-249},{-222,-222,-217,-254,-224,-217},{-217,-252,-249,-249,-231,-233},{-236,-254,-226,-236,-245,-215},{-252,-245,-243,-249,-229,-215},{-231,-229,-210,-247,-243,-240},{-249,-240,-215,-252,-249,-254}},{{-208,-238,-243,-236,-224,-240},{-217,-240,-254,-226,-245,-245},{-233,-210,-247,-219,-252,-236},{-233,-226,-247,-226,-238,-245},{-222,-240,-217,-210,-210,-229},{-226,-252,-210,-210,-243,-249},{-240,-226,-229,-245,-213,-217},{-233,-254,-208,-208,-243,-249},{-208,-247,-219,-247,-213,-208},{-226,-252,-252,-219,-210,-219},{-208,-215,-247,-224,-210,-210},{-213,-247,-247,-224,-238,-208},{-208,-252,-226,-245,-254,-252},{-219,-233,-233,-215,-226,-208},{-247,-219,-215,-238,-224,-245},{-236,-240,-233,-252,-243,-222},{-217,-245,-226,-219,-254,-208},{-213,-236,-231,-249,-254,-224},{-240,-249,-245,-245,-254,-208},{-249,-226,-249,-254,-238,-210}},{{-252,-222,-213,-240,-229,-215},{-249,-208,-224,-236,-247,-224},{-236,-213,-240,-224,-210,-231},{-254,-249,-245,-219,-233,-226},{-236,-254,-254,-226,-236,-254},{-224,-217,-238,-252,-219,-213},{-222,-245,-219,-208,-236,-233},{-247,-229,-224,-243,-249,-226},{-213,-213,-252,-210,-213,-208},{-224,-226,-240,-231,-252,-249},{-245,-245,-208,-245,-240,-226},{-243,-224,-233,-240,-215,-208},{-233,-208,-219,-252,-236,-238},{-226,-249,-217,-240,-245,-249},{-210,-213,-208,-224,-219,-210},{-254,-254,-238,-213,-224,-238},{-231,-245,-213,-222,-254,-254},{-243,-229,-224,-229,-236,-217},{-213,-238,-240,-252,-249,-219},{-245,-213,-224,-213,-213,-231}},{{-236,-252,-245,-217,-219,-238},{-249,-233,-213,-213,-226,-238},{-217,-231,-215,-226,-219,-240},{-215,-254,-226,-213,-222,-245},{-252,-240,-243,-233,-215,-219},{-219,-245,-238,-222,-224,-210},{-238,-208,-231,-231,-254,-233},{-210,-215,-254,-224,-229,-240},{-240,-243,-236,-249,-213,-254},{-222,-213,-249,-222,-229,-226},{-236,-217,-226,-252,-238,-231},{-210,-231,-219,-224,-208,-249},{-213,-210,-252,-249,-238,-249},{-238,-243,-243,-247,-210,-219},{-236,-224,-238,-208,-210,-243},{-254,-236,-215,-238,-229,-215},{-222,-213,-249,-247,-233,-243},{-215,-240,-213,-222,-224,-243},{-238,-233,-249,-243,-249,-229},{-233,-252,-222,-224,-226,-217}},{{-215,-226,-224,-210,-233,-213},{-236,-243,-210,-243,-215,-249},{-208,-249,-217,-224,-231,-210},{-217,-213,-236,-215,-236,-229},{-238,-252,-238,-213,-229,-245},{-210,-215,-226,-229,-245,-217},{-208,-208,-222,-217,-245,-219},{-247,-249,-213,-229,-231,-215},{-245,-240,-210,-215,-217,-247},{-236,-236,-254,-210,-240,-213},{-222,-240,-229,-252,-254,-213},{-208,-240,-217,-222,-236,-233},{-217,-240,-245,-213,-254,-236},{-217,-240,-252,-236,-252,-247},{-219,-222,-217,-238,-224,-213},{-210,-215,-224,-226,-249,-219},{-215,-224,-236,-222,-219,-231},{-238,-208,-210,-233,-222,-213},{-213,-219,-254,-229,-238,-213},{-224,-231,-215,-226,-252,-219}},{{-243,-240,-208,-213,-254,-254},{-226,-243,-249,-252,-210,-245},{-252,-217,-249,-240,-224,-224},{-247,-238,-226,-233,-217,-224},{-254,-236,-236,-219,-247,-249},{-243,-226,-243,-229,-247,-229},{-236,-215,-231,-217,-254,-222},{-254,-219,-243,-222,-245,-208},{-231,-224,-222,-210,-222,-245},{-222,-229,-224,-213,-252,-238},{-217,-210,-226,-208,-222,-231},{-217,-245,-238,-213,-215,-210},{-208,-245,-247,-238,-215,-231},{-222,-208,-229,-229,-236,-247},{-210,-240,-208,-226,-252,-245},{-254,-238,-210,-222,-217,-222},{-240,-215,-236,-247,-224,-210},{-249,-233,-213,-217,-229,-233},{-208,-208,-229,-249,-240,-213},{-240,-213,-254,-243,-240,-247}},{{-208,-243,-215,-245,-222,-213},{-236,-238,-231,-226,-229,-229},{-213,-247,-233,-231,-217,-222},{-215,-245,-215,-210,-224,-210},{-249,-252,-249,-208,-247,-208},{-236,-243,-213,-224,-213,-219},{-215,-231,-247,-249,-243,-238},{-245,-224,-247,-247,-226,-215},{-243,-243,-254,-243,-233,-217},{-210,-229,-219,-217,-217,-226},{-226,-249,-215,-222,-245,-224},{-213,-252,-224,-236,-233,-231},{-245,-219,-219,-236,-236,-222},{-243,-215,-243,-254,-208,-222},{-231,-247,-240,-208,-249,-254},{-210,-238,-243,-215,-210,-240},{-236,-233,-238,-254,-236,-213},{-243,-210,-213,-210,-231,-240},{-208,-208,-222,-247,-247,-217},{-222,-254,-236,-231,-208,-252}},{{-249,-238,-247,-224,-231,-217},{-238,-231,-252,-233,-249,-213},{-240,-226,-243,-252,-249,-249},{-252,-219,-233,-245,-210,-217},{-217,-254,-249,-243,-215,-215},{-217,-245,-226,-247,-243,-236},{-240,-215,-240,-217,-236,-229},{-210,-243,-252,-224,-224,-243},{-236,-210,-233,-252,-243,-208},{-247,-215,-254,-236,-210,-210},{-233,-208,-233,-231,-215,-233},{-222,-243,-243,-240,-217,-213},{-252,-222,-231,-236,-233,-247},{-240,-222,-254,-213,-252,-215},{-231,-210,-208,-222,-229,-231},{-213,-243,-233,-222,-219,-229},{-224,-224,-254,-229,-249,-226},{-254,-224,-215,-231,-233,-254},{-208,-215,-233,-208,-224,-229},{-208,-217,-224,-252,-233,-226}},{{-249,-217,-238,-240,-219,-208},{-229,-213,-210,-254,-245,-240},{-231,-219,-213,-240,-210,-222},{-245,-245,-219,-217,-215,-215},{-238,-247,-236,-231,-219,-233},{-219,-245,-217,-249,-243,-245},{-240,-238,-213,-243,-236,-231},{-254,-252,-231,-254,-236,-210},{-224,-219,-240,-252,-245,-236},{-222,-254,-224,-252,-245,-233},{-254,-249,-208,-247,-236,-222},{-231,-217,-236,-254,-252,-233},{-249,-252,-245,-240,-254,-249},{-245,-224,-247,-243,-231,-208},{-238,-224,-217,-208,-238,-249},{-219,-243,-236,-233,-224,-222},{-254,-243,-238,-247,-224,-213},{-210,-213,-233,-229,-236,-213},{-217,-236,-243,-213,-231,-224},{-240,-210,-229,-243,-219,-252}}},{{{-294,-303,-285,-320,-309,-323},{-285,-320,-303,-273,-309,-273},{-300,-285,-273,-265,-282,-300},{-312,-312,-300,-273,-276,-303},{-285,-303,-276,-291,-276,-273},{-320,-276,-323,-265,-306,-276},{-268,-291,-309,-300,-285,-282},{-323,-265,-312,-312,-306,-309},{-306,-315,-291,-323,-320,-294},{-323,-265,-279,-285,-291,-273},{-323,-282,-309,-297,-315,-297},{-323,-309,-303,-285,-285,-315},{-309,-309,-279,-318,-297,-300},{-265,-297,-282,-273,-276,-285},{-273,-300,-285,-320,-282,-273},{-300,-268,-318,-323,-288,-315},{-320,-297,-297,-315,-320,-270},{-291,-270,-282,-323,-300,-318},{-265,-318,-276,-312,-309,-276},{-273,-285,-285,-282,-297,-282}},{{-285,-279,-320,-306,-312,-285},{-318,-265,-276,-323,-312,-270},{-282,-306,-323,-268,-309,-323},{-323,-315,-312,-323,-268,-288},{-323,-273,-309,-323,-303,-273},{-270,-309,-315,-309,-291,-288},{-270,-318,-312,-320,-282,-288},{-270,-294,-318,-306,-273,-273},{-268,-294,-306,-297,-273,-312},{-288,-306,-309,-303,-265,-312},{-270,-291,-288,-270,-303,-323},{-294,-323,-320,-291,-306,-268},{-291,-276,-291,-312,-288,-312},{-288,-312,-318,-294,-291,-291},{-315,-323,-309,-288,-303,-297},{-291,-265,-309,-270,-315,-309},{-270,-315,-276,-303,-303,-273},{-300,-309,-309,-300,-312,-306},{-315,-268,-320,-297,-300,-309},{-306,-315,-291,-303,-276,-294}},{{-312,-265,-273,-276,-312,-265},{-291,-268,-268,-268,-279,-309},{-294,-268,-268,-297,-300,-285},{-306,-288,-265,-300,-276,-312},{-270,-265,-300,-306,-291,-312},{-285,-294,-309,-285,-320,-285},{-323,-270,-309,-323,-270,-279},{-318,-318,-288,-300,-312,-265},{-318,-282,-279,-320,-320,-312},{-279,-273,-320,-297,-315,-303},{-270,-270,-300,-315,-291,-294},{-315,-291,-309,-312,-294,-270},{-300,-276,-273,-276,-285,-279},{-268,-323,-320,-300,-309,-276},{-297,-285,-297,-303,-279,-279},{-297,-315,-291,-288,-303,-265},{-300,-323,-276,-320,-285,-320},{-279,-288,-268,-300,-309,-320},{-291,-270,-315,-320,-291,-300},{-276,-306,-282,-306,-279,-312}},{{-294,-312,-300,-288,-318,-279},{-306,-300,-268,-297,-315,-273},{-268,-312,-323,-315,-276,-294},{-279,-294,-268,-285,-312,-300},{-312,-282,-282,-315,-323,-297},{-318,-294,-320,-323,-309,-323},{-270,-273,-285,-265,-309,-309},{-297,-279,-323,-279,-276,-323},{-270,-320,-323,-318,-291,-309},{-265,-268,-291,-288,-282,-312},{-320,-323,-315,-273,-309,-294},{-300,-282,-270,-323,-270,-294},{-309,-323,-285,-288,-306,-291},{-282,-285,-318,-282,-315,-303},{-273,-291,-315,-268,-300,-291},{-265,-315,-285,-303,-318,-312},{-291,-300,-306,-265,-303,-320},{-294,-300,-312,-291,-288,-315},{-309,-268,-300,-312,-268,-265},{-309,-303,-268,-291,-323,-276}},{{-309,-323,-282,-265,-282,-291},{-291,-285,-318,-303,-268,-294},{-306,-323,-297,-291,-303,-273},{-315,-291,-291,-279,-320,-318},{-294,-279,-265,-312,-276,-268},{-294,-309,-282,-273,-288,-268},{-282,-306,-288,-318,-273,-323},{-288,-285,-288,-309,-291,-288},{-285,-265,-297,-288,-265,-306},{-303,-300,-306,-309,-323,-268},{-318,-279,-270,-282,-323,-318},{-279,-273,-273,-288,-282,-291},{-270,-309,-273,-312,-318,-312},{-300,-265,-276,-315,-323,-312},{-303,-270,-276,-318,-291,-323},{-270,-297,-288,-320,-300,-323},{-303,-323,-297,-276,-315,-306},{-285,-276,-268,-276,-312,-276},{-303,-291,-294,-291,-291,-323},{-309,-291,-270,-320,-291,-297}},{{-268,-306,-297,-312,-265,-285},{-279,-306,-297,-282,-318,-285},{-270,-318,-288,-265,-294,-291},{-268,-285,-288,-282,-282,-315},{-320,-309,-323,-276,-297,-294},{-323,-306,-323,-312,-282,-303},{-315,-300,-323,-318,-288,-268},{-306,-276,-306,-300,-312,-265},{-288,-270,-282,-282,-309,-300},{-306,-279,-270,-315,-276,-297},{-303,-306,-318,-300,-288,-285},{-288,-318,-270,-309,-318,-270},{-315,-294,-265,-291,-288,-320},{-279,-315,-285,-306,-297,-297},{-276,-265,-276,-270,-312,-276},{-318,-320,-320,-285,-282,-265},{-268,-288,-265,-303,-291,-318},{-294,-320,-282,-276,-273,-288},{-285,-294,-312,-297,-312,-285},{-285,-273,-323,-291,-318,-265}},{{-276,-282,-273,-273,-270,-323},{-323,-285,-279,-285,-268,-300},{-300,-276,-300,-294,-320,-323},{-312,-323,-309,-291,-306,-285},{-303,-303,-270,-282,-270,-300},{-309,-273,-285,-309,-303,-312},{-300,-265,-315,-291,-297,-282},{-288,-300,-265,-279,-297,-291},{-288,-291,-300,-312,-273,-276},{-309,-276,-320,-273,-268,-318},{-323,-312,-323,-309,-282,-318},{-320,-318,-323,-276,-300,-294},{-291,-270,-323,-312,-276,-279},{-288,-309,-315,-285,-279,-276},{-306,-300,-291,-303,-297,-291},{-279,-309,-318,-312,-300,-300},{-291,-303,-294,-306,-270,-265},{-318,-297,-282,-288,-297,-318},{-297,-285,-303,-273,-273,-294},{-323,-300,-265,-282,-273,-320}},{{-312,-291,-276,-318,-279,-265},{-320,-265,-276,-279,-279,-300},{-270,-265,-279,-268,-306,-276},{-300,-273,-318,-268,-276,-318},{-312,-279,-276,-300,-320,-270},{-288,-285,-279,-294,-323,-288},{-268,-265,-291,-273,-291,-318},{-279,-285,-318,-300,-294,-300},{-265,-294,-320,-285,-297,-273},{-265,-279,-309,-270,-306,-285},{-315,-315,-273,-288,-320,-282},{-273,-291,-294,-318,-285,-294},{-285,-309,-291,-276,-309,-309},{-309,-285,-279,-265,-294,-273},{-265,-309,-273,-303,-276,-318},{-297,-323,-294,-306,-270,-320},{-265,-323,-288,-318,-270,-276},{-279,-320,-312,-276,-312,-318},{-297,-312,-294,-315,-279,-279},{-312,-294,-297,-279,-273,-306}},{{-323,-294,-270,-273,-288,-297},{-273,-323,-297,-294,-294,-282},{-303,-273,-297,-265,-309,-270},{-306,-315,-273,-273,-273,-268},{-285,-312,-268,-303,-282,-288},{-312,-300,-318,-318,-315,-320},{-309,-285,-291,-300,-276,-279},{-282,-282,-312,-273,-265,-273},{-318,-291,-297,-282,-300,-279},{-291,-320,-276,-323,-323,-306},{-285,-312,-312,-318,-285,-288},{-268,-309,-285,-297,-320,-309},{-315,-273,-318,-297,-268,-273},{-288,-282,-268,-315,-318,-270},{-288,-312,-288,-297,-309,-276},{-320,-273,-318,-294,-285,-297},{-282,-285,-320,-300,-300,-309},{-276,-268,-318,-300,-294,-320},{-323,-265,-315,-318,-282,-320},{-288,-273,-273,-291,-297,-285}}}}; // 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]={25,12,8,24,13,8,24,12,8,26,13,9,25,13,9,25,13,9,25,13,9,26,13,9,25,13,9,26,13,9,25,13,9,26,13,9,26,13,9,26,13,9,26,13,9,26,14,9,27,13,9,26,14,9,25,13,9,26,13,9,26,13,9,26,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]={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,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,0,4,8,12,16,20,24,28,32,36,40,44,48,1,7,13,19,25,31,37,43,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,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,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,1,5,9,13,17,21,25,29,33,37,41,45,49,0,6,12,18,24,30,36,42,48,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,1,5,9,13,17,21,25,29,33,37,41,45,49,2,8,14,20,26,32,38,44,50,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,1,5,9,13,17,21,25,29,33,37,41,45,49,2,8,14,20,26,32,38,44,50,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,1,5,9,13,17,21,25,29,33,37,41,45,49,1,7,13,19,25,31,37,43,49,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,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,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,1,5,9,13,17,21,25,29,33,37,41,45,49,0,6,12,18,24,30,36,42,48,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,1,5,9,13,17,21,25,29,33,37,41,45,49,0,6,12,18,24,30,36,42,48,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,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,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,52,0,4,8,12,16,20,24,28,32,36,40,44,48,52,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,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,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,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,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,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,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,1,5,9,13,17,21,25,29,33,37,41,45,49,2,8,14,20,26,32,38,44,50}; // set of start times of each shipment 
int SHets[SPN]={5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,6,10,14,18,22,26,30,34,38,42,46,50,6,12,18,24,30,36,42,48,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,5,9,13,17,21,25,29,33,37,41,45,49,53,6,12,18,24,30,36,42,48,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,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,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,4,8,12,16,20,24,28,32,36,40,44,48,52,3,9,15,21,27,33,39,45,51,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,4,8,12,16,20,24,28,32,36,40,44,48,52,5,11,17,23,29,35,41,47,53,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,3,7,11,15,19,23,27,31,35,39,43,47,51,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,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,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,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,2,8,14,20,26,32,38,44,50,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,3,7,11,15,19,23,27,31,35,39,43,47,51,2,8,14,20,26,32,38,44,50,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,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,1,5,9,13,17,21,25,29,33,37,41,45,49,53,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,1,5,9,13,17,21,25,29,33,37,41,45,49,53,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,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,2,8,14,20,26,32,38,44,50,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,3,7,11,15,19,23,27,31,35,39,43,47,51,4,10,16,22,28,34,40,46,52,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,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,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,4,8,12,16,20,24,28,32,36,40,44,48,52,5,11,17,23,29,35,41,47,53}; // set of end times of each shipment 
