int Dev = 10;// 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 = 1140;//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]={{{{11092,0,0,0,0,0},{10906,0,0,0,0,0},{11168,0,0,0,0,0},{11104,0,0,0,0,0},{11013,0,0,0,0,0},{11217,0,0,0,0,0},{11115,0,0,0,0,0},{11021,0,0,0,0,0},{11098,0,0,0,0,0},{10922,0,0,0,0,0},{10901,0,0,0,0,0},{10784,0,0,0,0,0},{11030,0,0,0,0,0},{10994,0,0,0,0,0},{10949,0,0,0,0,0},{11028,0,0,0,0,0},{11041,0,0,0,0,0},{10962,0,0,0,0,0},{11122,0,0,0,0,0},{11094,0,0,0,0,0}},{{11183,0,0,0,0,0},{10955,0,0,0,0,0},{11092,0,0,0,0,0},{11220,0,0,0,0,0},{11029,0,0,0,0,0},{11082,0,0,0,0,0},{11139,0,0,0,0,0},{11064,0,0,0,0,0},{11020,0,0,0,0,0},{10993,0,0,0,0,0},{11041,0,0,0,0,0},{10936,0,0,0,0,0},{11008,0,0,0,0,0},{11091,0,0,0,0,0},{11077,0,0,0,0,0},{11118,0,0,0,0,0},{11021,0,0,0,0,0},{11198,0,0,0,0,0},{11015,0,0,0,0,0},{11128,0,0,0,0,0}},{{10957,0,0,0,0,0},{11051,0,0,0,0,0},{10986,0,0,0,0,0},{11004,0,0,0,0,0},{11030,0,0,0,0,0},{11033,0,0,0,0,0},{11047,0,0,0,0,0},{10983,0,0,0,0,0},{11050,0,0,0,0,0},{11047,0,0,0,0,0},{10981,0,0,0,0,0},{10933,0,0,0,0,0},{11175,0,0,0,0,0},{10959,0,0,0,0,0},{11000,0,0,0,0,0},{11106,0,0,0,0,0},{11063,0,0,0,0,0},{11009,0,0,0,0,0},{10822,0,0,0,0,0},{11209,0,0,0,0,0}},{{10822,0,0,0,0,0},{11125,0,0,0,0,0},{11079,0,0,0,0,0},{11205,0,0,0,0,0},{10931,0,0,0,0,0},{11109,0,0,0,0,0},{11105,0,0,0,0,0},{10921,0,0,0,0,0},{11250,0,0,0,0,0},{11164,0,0,0,0,0},{11125,0,0,0,0,0},{11050,0,0,0,0,0},{10921,0,0,0,0,0},{11073,0,0,0,0,0},{10992,0,0,0,0,0},{11162,0,0,0,0,0},{11064,0,0,0,0,0},{11181,0,0,0,0,0},{11067,0,0,0,0,0},{11092,0,0,0,0,0}},{{10917,0,0,0,0,0},{11016,0,0,0,0,0},{11092,0,0,0,0,0},{11165,0,0,0,0,0},{10922,0,0,0,0,0},{11027,0,0,0,0,0},{10912,0,0,0,0,0},{10992,0,0,0,0,0},{11174,0,0,0,0,0},{11041,0,0,0,0,0},{10906,0,0,0,0,0},{11191,0,0,0,0,0},{11279,0,0,0,0,0},{10974,0,0,0,0,0},{10989,0,0,0,0,0},{11149,0,0,0,0,0},{11101,0,0,0,0,0},{11107,0,0,0,0,0},{10877,0,0,0,0,0},{10999,0,0,0,0,0}},{{11022,0,0,0,0,0},{10943,0,0,0,0,0},{10966,0,0,0,0,0},{10897,0,0,0,0,0},{10898,0,0,0,0,0},{11080,0,0,0,0,0},{11077,0,0,0,0,0},{10943,0,0,0,0,0},{11025,0,0,0,0,0},{11131,0,0,0,0,0},{11174,0,0,0,0,0},{11017,0,0,0,0,0},{10979,0,0,0,0,0},{11001,0,0,0,0,0},{11032,0,0,0,0,0},{11093,0,0,0,0,0},{10981,0,0,0,0,0},{11079,0,0,0,0,0},{10937,0,0,0,0,0},{11048,0,0,0,0,0}},{{10942,0,0,0,0,0},{10928,0,0,0,0,0},{10948,0,0,0,0,0},{11193,0,0,0,0,0},{10965,0,0,0,0,0},{11074,0,0,0,0,0},{11139,0,0,0,0,0},{11064,0,0,0,0,0},{11038,0,0,0,0,0},{10960,0,0,0,0,0},{10904,0,0,0,0,0},{11033,0,0,0,0,0},{11077,0,0,0,0,0},{11060,0,0,0,0,0},{10924,0,0,0,0,0},{10911,0,0,0,0,0},{11179,0,0,0,0,0},{11103,0,0,0,0,0},{11026,0,0,0,0,0},{11018,0,0,0,0,0}},{{11005,0,0,0,0,0},{11104,0,0,0,0,0},{11220,0,0,0,0,0},{10976,0,0,0,0,0},{11124,0,0,0,0,0},{11226,0,0,0,0,0},{11031,0,0,0,0,0},{10906,0,0,0,0,0},{10958,0,0,0,0,0},{10948,0,0,0,0,0},{10861,0,0,0,0,0},{10885,0,0,0,0,0},{11122,0,0,0,0,0},{11299,0,0,0,0,0},{10911,0,0,0,0,0},{11110,0,0,0,0,0},{11193,0,0,0,0,0},{10980,0,0,0,0,0},{11010,0,0,0,0,0},{11086,0,0,0,0,0}},{{11002,0,0,0,0,0},{11195,0,0,0,0,0},{11106,0,0,0,0,0},{11036,0,0,0,0,0},{11130,0,0,0,0,0},{10933,0,0,0,0,0},{10935,0,0,0,0,0},{11006,0,0,0,0,0},{11165,0,0,0,0,0},{10890,0,0,0,0,0},{10977,0,0,0,0,0},{11030,0,0,0,0,0},{10998,0,0,0,0,0},{10970,0,0,0,0,0},{10986,0,0,0,0,0},{11012,0,0,0,0,0},{10975,0,0,0,0,0},{10983,0,0,0,0,0},{11108,0,0,0,0,0},{10830,0,0,0,0,0}}},{{{-228,-244,-213,-202,-220,-244},{-202,-231,-226,-208,-215,-202},{-231,-213,-224,-208,-242,-237},{-206,-242,-213,-240,-231,-208},{-224,-217,-240,-220,-204,-215},{-211,-244,-242,-233,-231,-215},{-235,-208,-222,-213,-202,-204},{-226,-211,-246,-217,-235,-228},{-246,-217,-224,-211,-233,-222},{-224,-213,-222,-246,-217,-206},{-240,-217,-246,-224,-228,-215},{-217,-226,-202,-206,-233,-202},{-206,-217,-228,-244,-208,-244},{-204,-242,-222,-224,-246,-213},{-217,-228,-206,-215,-204,-231},{-242,-211,-206,-204,-215,-233},{-202,-208,-220,-237,-222,-211},{-202,-211,-224,-226,-233,-244},{-224,-244,-233,-217,-213,-208},{-211,-206,-224,-224,-228,-213}},{{-222,-215,-244,-231,-220,-206},{-222,-206,-224,-202,-202,-246},{-226,-215,-235,-244,-208,-231},{-202,-215,-244,-240,-237,-246},{-206,-228,-233,-246,-222,-211},{-224,-233,-233,-222,-231,-222},{-231,-206,-217,-242,-237,-220},{-228,-240,-235,-237,-224,-211},{-226,-204,-228,-224,-220,-204},{-217,-226,-235,-231,-226,-204},{-231,-233,-242,-237,-222,-242},{-235,-231,-222,-231,-202,-204},{-215,-240,-208,-226,-237,-206},{-222,-233,-220,-224,-202,-237},{-231,-237,-217,-240,-208,-244},{-202,-215,-211,-224,-244,-233},{-202,-217,-231,-215,-202,-208},{-246,-211,-244,-213,-208,-235},{-244,-202,-235,-244,-231,-246},{-217,-202,-246,-233,-242,-202}},{{-233,-208,-217,-206,-220,-213},{-208,-231,-244,-242,-211,-215},{-204,-215,-233,-237,-233,-215},{-204,-237,-226,-226,-233,-213},{-240,-246,-233,-215,-242,-217},{-246,-213,-206,-204,-204,-226},{-226,-220,-228,-202,-228,-224},{-235,-222,-204,-244,-202,-213},{-233,-244,-231,-215,-213,-246},{-217,-240,-215,-208,-202,-240},{-240,-215,-220,-202,-206,-204},{-233,-224,-228,-235,-231,-202},{-235,-215,-233,-215,-208,-246},{-204,-244,-226,-231,-215,-208},{-240,-228,-217,-222,-206,-237},{-240,-228,-202,-235,-242,-246},{-226,-215,-244,-231,-231,-224},{-228,-235,-222,-228,-235,-204},{-213,-208,-220,-217,-204,-244},{-222,-226,-222,-235,-231,-233}},{{-222,-204,-215,-208,-211,-204},{-233,-202,-233,-242,-222,-220},{-237,-235,-206,-208,-233,-220},{-202,-242,-211,-240,-226,-235},{-235,-213,-217,-235,-202,-211},{-244,-222,-208,-246,-204,-242},{-246,-231,-213,-222,-208,-224},{-242,-224,-204,-235,-220,-215},{-213,-228,-213,-202,-235,-244},{-222,-222,-204,-246,-226,-217},{-202,-240,-237,-231,-237,-235},{-237,-235,-217,-206,-244,-235},{-208,-208,-224,-220,-242,-204},{-237,-226,-222,-240,-228,-224},{-206,-244,-215,-235,-215,-242},{-208,-213,-233,-240,-231,-242},{-211,-242,-217,-215,-231,-240},{-222,-222,-242,-231,-246,-235},{-213,-240,-233,-204,-224,-244},{-213,-226,-215,-208,-244,-231}},{{-217,-222,-202,-215,-226,-231},{-204,-226,-202,-244,-244,-226},{-237,-244,-244,-208,-233,-211},{-244,-222,-222,-237,-235,-244},{-224,-202,-235,-208,-213,-222},{-222,-206,-222,-228,-202,-233},{-220,-204,-224,-213,-220,-231},{-220,-220,-213,-206,-222,-220},{-242,-220,-202,-215,-220,-220},{-211,-213,-220,-228,-208,-222},{-211,-240,-235,-242,-244,-246},{-220,-224,-217,-213,-231,-208},{-244,-211,-237,-235,-237,-240},{-246,-237,-202,-204,-226,-204},{-213,-215,-222,-233,-208,-226},{-242,-237,-206,-233,-202,-235},{-217,-242,-231,-231,-224,-240},{-246,-208,-235,-208,-220,-220},{-220,-246,-220,-217,-220,-208},{-202,-213,-204,-233,-237,-224}},{{-240,-206,-242,-226,-242,-215},{-237,-213,-246,-206,-233,-220},{-226,-224,-215,-202,-220,-208},{-211,-204,-220,-202,-217,-208},{-244,-240,-213,-222,-208,-237},{-222,-224,-211,-220,-220,-220},{-228,-202,-208,-204,-226,-233},{-206,-237,-211,-215,-240,-237},{-204,-246,-226,-224,-222,-228},{-206,-220,-235,-215,-231,-233},{-226,-235,-231,-237,-246,-211},{-235,-220,-224,-222,-208,-206},{-222,-240,-202,-224,-211,-237},{-242,-240,-208,-213,-202,-208},{-204,-233,-211,-206,-211,-220},{-231,-213,-231,-228,-213,-228},{-242,-208,-215,-237,-224,-202},{-208,-206,-213,-202,-233,-237},{-204,-224,-246,-211,-208,-220},{-235,-215,-222,-202,-228,-206}},{{-208,-226,-228,-217,-208,-246},{-220,-204,-213,-211,-202,-246},{-206,-211,-224,-233,-240,-222},{-215,-222,-244,-233,-217,-222},{-244,-235,-220,-213,-206,-220},{-217,-213,-242,-235,-244,-237},{-237,-231,-246,-224,-217,-222},{-204,-244,-246,-217,-204,-220},{-208,-244,-246,-228,-204,-202},{-206,-233,-237,-206,-231,-242},{-211,-220,-246,-226,-233,-228},{-202,-237,-240,-228,-228,-202},{-240,-224,-224,-233,-208,-208},{-233,-244,-231,-215,-237,-246},{-206,-217,-222,-240,-244,-235},{-213,-242,-208,-215,-213,-206},{-233,-222,-246,-244,-213,-224},{-240,-208,-211,-244,-208,-240},{-217,-222,-235,-217,-215,-235},{-235,-220,-215,-231,-240,-240}},{{-224,-217,-217,-206,-206,-224},{-240,-204,-244,-213,-228,-217},{-226,-240,-242,-224,-220,-206},{-224,-233,-204,-226,-242,-235},{-244,-217,-213,-235,-231,-240},{-228,-246,-237,-228,-237,-244},{-231,-220,-231,-240,-235,-213},{-222,-220,-204,-208,-242,-213},{-217,-228,-246,-231,-237,-237},{-246,-222,-235,-208,-206,-204},{-202,-206,-217,-202,-213,-233},{-213,-202,-215,-217,-204,-224},{-220,-204,-206,-233,-228,-228},{-222,-235,-246,-242,-233,-204},{-220,-231,-215,-204,-240,-217},{-208,-226,-220,-220,-217,-246},{-211,-213,-226,-217,-208,-244},{-211,-213,-231,-222,-217,-217},{-215,-242,-240,-231,-206,-208},{-217,-226,-217,-228,-228,-228}},{{-202,-215,-224,-222,-206,-246},{-220,-222,-228,-235,-220,-215},{-222,-202,-226,-237,-246,-220},{-235,-233,-240,-226,-226,-217},{-208,-222,-235,-233,-208,-215},{-208,-213,-228,-237,-233,-237},{-206,-211,-226,-224,-235,-206},{-231,-206,-208,-231,-217,-246},{-224,-233,-213,-246,-217,-224},{-222,-211,-224,-202,-217,-208},{-231,-202,-246,-213,-217,-233},{-204,-208,-222,-208,-213,-231},{-204,-222,-213,-204,-233,-231},{-208,-244,-204,-242,-224,-206},{-222,-228,-204,-246,-222,-237},{-208,-220,-217,-213,-244,-208},{-202,-233,-213,-246,-233,-220},{-202,-220,-246,-208,-240,-246},{-226,-202,-235,-222,-211,-226},{-211,-208,-202,-206,-226,-224}}},{{{-221,-228,-245,-226,-245,-224},{-217,-243,-221,-233,-233,-219},{-236,-243,-221,-262,-231,-240},{-217,-231,-250,-224,-238,-226},{-255,-250,-226,-240,-245,-217},{-238,-233,-219,-252,-240,-228},{-236,-248,-231,-250,-214,-233},{-250,-250,-224,-226,-231,-262},{-214,-228,-217,-262,-231,-240},{-248,-238,-250,-262,-231,-224},{-233,-233,-250,-252,-217,-228},{-217,-262,-245,-219,-257,-250},{-217,-245,-231,-219,-214,-238},{-245,-236,-228,-221,-243,-240},{-255,-219,-245,-257,-219,-250},{-219,-236,-259,-250,-248,-224},{-248,-257,-252,-214,-255,-236},{-252,-259,-243,-221,-257,-240},{-231,-226,-259,-252,-236,-252},{-231,-236,-252,-255,-245,-214}},{{-217,-238,-228,-250,-259,-238},{-233,-217,-240,-226,-240,-257},{-219,-231,-252,-224,-259,-238},{-214,-248,-257,-240,-255,-252},{-221,-221,-214,-248,-217,-248},{-224,-240,-257,-219,-259,-231},{-226,-252,-243,-262,-259,-248},{-233,-243,-250,-214,-248,-255},{-224,-219,-221,-231,-248,-243},{-228,-255,-231,-219,-236,-238},{-240,-228,-240,-231,-217,-231},{-219,-243,-243,-231,-219,-243},{-231,-217,-243,-224,-252,-243},{-238,-231,-245,-245,-257,-262},{-236,-243,-228,-250,-257,-240},{-236,-243,-236,-238,-228,-262},{-245,-221,-214,-255,-257,-224},{-238,-248,-255,-231,-255,-238},{-238,-238,-217,-228,-214,-262},{-250,-262,-252,-214,-257,-259}},{{-257,-226,-238,-226,-217,-243},{-233,-248,-228,-257,-250,-248},{-233,-217,-233,-255,-231,-255},{-224,-262,-228,-250,-257,-217},{-248,-219,-248,-221,-236,-250},{-262,-214,-245,-243,-240,-240},{-219,-252,-228,-238,-221,-248},{-226,-240,-238,-248,-224,-214},{-245,-221,-255,-255,-252,-233},{-221,-250,-262,-245,-214,-262},{-259,-238,-238,-224,-240,-240},{-236,-224,-238,-226,-245,-219},{-262,-245,-236,-238,-231,-262},{-231,-228,-233,-255,-233,-224},{-240,-238,-255,-248,-217,-255},{-245,-255,-217,-236,-250,-259},{-221,-240,-231,-243,-250,-233},{-236,-224,-250,-243,-226,-219},{-226,-248,-217,-248,-252,-217},{-257,-224,-248,-240,-259,-231}},{{-214,-219,-217,-226,-259,-231},{-259,-245,-257,-238,-243,-231},{-221,-219,-243,-259,-233,-226},{-231,-248,-217,-250,-262,-248},{-224,-255,-240,-250,-214,-233},{-214,-233,-219,-217,-233,-250},{-250,-228,-224,-240,-257,-238},{-257,-219,-245,-233,-248,-245},{-226,-252,-217,-252,-245,-259},{-252,-231,-233,-248,-245,-255},{-217,-240,-252,-240,-236,-224},{-226,-240,-262,-221,-214,-252},{-259,-226,-248,-214,-240,-248},{-231,-236,-257,-262,-219,-231},{-219,-214,-228,-257,-245,-226},{-236,-238,-259,-262,-259,-257},{-259,-248,-233,-259,-240,-224},{-231,-224,-250,-221,-219,-228},{-231,-226,-231,-238,-240,-245},{-217,-240,-240,-228,-214,-255}},{{-219,-214,-250,-248,-250,-217},{-262,-240,-255,-238,-245,-221},{-228,-226,-257,-243,-262,-259},{-226,-228,-243,-250,-250,-262},{-255,-231,-228,-248,-238,-226},{-224,-219,-262,-221,-231,-231},{-240,-245,-217,-262,-219,-231},{-214,-231,-214,-250,-248,-243},{-262,-245,-255,-252,-219,-257},{-233,-255,-255,-228,-245,-231},{-255,-233,-248,-217,-214,-224},{-217,-262,-252,-240,-262,-252},{-224,-248,-245,-219,-259,-255},{-248,-259,-252,-245,-238,-226},{-214,-224,-233,-259,-252,-217},{-245,-259,-226,-250,-255,-238},{-219,-221,-219,-221,-243,-224},{-259,-228,-243,-224,-262,-224},{-236,-250,-221,-214,-245,-214},{-233,-221,-233,-257,-231,-221}},{{-255,-217,-236,-240,-214,-250},{-214,-221,-231,-252,-228,-243},{-214,-238,-219,-214,-259,-224},{-250,-238,-250,-221,-231,-228},{-259,-217,-217,-214,-250,-243},{-252,-217,-250,-252,-231,-228},{-214,-217,-238,-250,-219,-248},{-236,-226,-236,-240,-217,-248},{-245,-214,-238,-228,-248,-252},{-240,-248,-255,-259,-228,-255},{-236,-226,-214,-219,-250,-262},{-255,-214,-240,-231,-252,-255},{-219,-231,-248,-231,-224,-214},{-250,-262,-233,-259,-233,-243},{-248,-252,-228,-224,-252,-248},{-255,-214,-224,-252,-245,-243},{-226,-219,-252,-221,-226,-214},{-221,-248,-240,-219,-217,-238},{-221,-221,-243,-255,-252,-221},{-221,-245,-217,-236,-262,-245}},{{-226,-228,-221,-257,-255,-259},{-245,-238,-228,-219,-217,-255},{-224,-221,-219,-257,-233,-233},{-228,-243,-238,-233,-240,-257},{-233,-231,-217,-262,-217,-231},{-243,-243,-236,-257,-243,-240},{-238,-250,-248,-233,-214,-236},{-240,-259,-259,-236,-228,-236},{-245,-217,-243,-245,-224,-252},{-243,-226,-219,-240,-221,-221},{-238,-240,-250,-252,-255,-236},{-236,-238,-231,-214,-236,-259},{-248,-231,-255,-252,-221,-257},{-233,-233,-231,-226,-236,-224},{-245,-224,-245,-214,-248,-228},{-243,-228,-252,-231,-248,-226},{-248,-221,-214,-221,-248,-233},{-219,-255,-262,-240,-228,-255},{-228,-231,-224,-217,-250,-238},{-240,-245,-214,-240,-257,-240}},{{-217,-240,-248,-224,-257,-217},{-259,-259,-231,-250,-262,-224},{-252,-248,-255,-245,-236,-252},{-233,-250,-240,-217,-214,-231},{-219,-259,-233,-262,-240,-257},{-257,-245,-250,-255,-255,-228},{-238,-243,-255,-243,-245,-219},{-252,-219,-224,-231,-248,-228},{-243,-245,-257,-231,-224,-243},{-250,-240,-248,-214,-228,-257},{-238,-259,-219,-217,-240,-250},{-243,-236,-233,-233,-226,-238},{-252,-245,-248,-248,-262,-226},{-257,-259,-221,-226,-236,-255},{-248,-238,-252,-226,-226,-240},{-259,-238,-238,-238,-257,-248},{-236,-243,-245,-245,-221,-259},{-257,-231,-245,-252,-236,-257},{-257,-231,-252,-214,-236,-214},{-262,-250,-224,-224,-219,-255}},{{-245,-224,-248,-250,-226,-250},{-245,-219,-250,-259,-245,-228},{-217,-252,-250,-236,-221,-221},{-233,-221,-221,-231,-233,-252},{-240,-255,-262,-228,-245,-228},{-226,-228,-255,-219,-224,-259},{-240,-255,-226,-240,-248,-257},{-228,-255,-217,-231,-262,-231},{-248,-250,-240,-245,-224,-221},{-257,-219,-226,-238,-240,-236},{-255,-226,-248,-228,-224,-248},{-236,-243,-248,-224,-236,-217},{-248,-248,-240,-243,-236,-228},{-219,-252,-245,-236,-233,-257},{-226,-214,-233,-245,-243,-259},{-224,-243,-243,-224,-245,-224},{-238,-214,-245,-217,-226,-240},{-259,-214,-238,-248,-231,-221},{-245,-231,-233,-255,-238,-257},{-214,-238,-248,-236,-257,-224}}},{{{-257,-268,-298,-284,-281,-276},{-298,-298,-254,-289,-248,-270},{-254,-273,-246,-287,-276,-300},{-268,-295,-300,-300,-281,-248},{-284,-289,-265,-246,-268,-298},{-276,-292,-298,-295,-287,-289},{-276,-270,-298,-257,-289,-284},{-254,-289,-268,-257,-257,-248},{-278,-281,-246,-254,-300,-298},{-265,-268,-292,-281,-248,-268},{-268,-265,-257,-295,-270,-254},{-248,-259,-251,-259,-248,-281},{-265,-276,-246,-298,-292,-257},{-265,-265,-287,-295,-259,-262},{-292,-292,-287,-246,-257,-257},{-262,-248,-295,-295,-281,-254},{-246,-270,-276,-276,-298,-292},{-259,-248,-300,-246,-273,-273},{-259,-287,-292,-298,-270,-257},{-289,-292,-268,-298,-262,-273}},{{-273,-295,-300,-270,-262,-281},{-284,-281,-246,-289,-292,-292},{-295,-251,-289,-276,-298,-281},{-287,-273,-248,-276,-246,-254},{-254,-262,-254,-292,-295,-257},{-268,-295,-273,-262,-292,-278},{-248,-248,-273,-292,-278,-251},{-298,-295,-262,-287,-284,-257},{-268,-281,-287,-246,-287,-254},{-284,-276,-246,-273,-295,-270},{-295,-278,-281,-246,-259,-292},{-257,-300,-257,-276,-298,-276},{-259,-281,-295,-300,-246,-276},{-278,-246,-270,-257,-265,-278},{-246,-273,-281,-278,-292,-281},{-248,-292,-262,-276,-295,-278},{-254,-281,-257,-278,-257,-281},{-292,-273,-284,-268,-281,-284},{-273,-268,-257,-270,-270,-248},{-251,-248,-257,-300,-254,-270}},{{-257,-270,-295,-257,-300,-300},{-251,-281,-248,-287,-248,-251},{-273,-246,-254,-287,-278,-259},{-278,-276,-295,-289,-251,-287},{-278,-268,-278,-257,-248,-298},{-257,-300,-251,-276,-289,-273},{-270,-292,-287,-292,-298,-262},{-276,-270,-284,-265,-281,-257},{-295,-254,-257,-254,-270,-298},{-273,-287,-251,-273,-298,-259},{-300,-257,-265,-298,-270,-278},{-289,-246,-257,-248,-268,-276},{-295,-278,-295,-295,-270,-251},{-251,-276,-276,-284,-295,-298},{-262,-289,-259,-257,-289,-270},{-287,-278,-268,-251,-265,-287},{-278,-251,-265,-248,-273,-254},{-259,-262,-251,-284,-251,-298},{-262,-268,-284,-248,-284,-273},{-292,-284,-246,-298,-262,-259}},{{-292,-287,-281,-251,-270,-273},{-273,-246,-292,-273,-259,-278},{-259,-300,-295,-289,-300,-254},{-278,-262,-298,-284,-300,-262},{-262,-251,-300,-300,-278,-273},{-257,-270,-265,-292,-300,-287},{-246,-298,-268,-262,-295,-273},{-265,-270,-262,-289,-281,-281},{-270,-289,-262,-298,-273,-265},{-273,-289,-284,-248,-281,-254},{-300,-248,-276,-273,-268,-257},{-284,-292,-273,-284,-262,-287},{-278,-273,-251,-262,-281,-248},{-292,-287,-246,-268,-262,-300},{-257,-278,-273,-265,-262,-289},{-276,-251,-292,-254,-270,-246},{-292,-273,-251,-270,-273,-254},{-289,-270,-289,-300,-246,-284},{-251,-268,-287,-270,-298,-287},{-281,-251,-254,-300,-300,-251}},{{-265,-268,-289,-257,-262,-265},{-298,-281,-265,-265,-268,-257},{-281,-278,-278,-300,-251,-284},{-289,-268,-284,-265,-262,-276},{-278,-300,-292,-259,-259,-265},{-273,-259,-254,-287,-287,-276},{-265,-292,-265,-273,-295,-278},{-254,-254,-278,-281,-276,-276},{-248,-278,-298,-284,-292,-273},{-276,-270,-284,-278,-292,-251},{-273,-246,-251,-254,-298,-246},{-276,-278,-281,-246,-298,-246},{-276,-262,-281,-246,-289,-254},{-248,-273,-251,-259,-281,-257},{-273,-295,-254,-289,-289,-287},{-284,-257,-284,-295,-281,-289},{-262,-254,-265,-292,-289,-295},{-295,-262,-251,-251,-287,-270},{-254,-265,-251,-246,-292,-287},{-287,-298,-289,-259,-259,-262}},{{-248,-259,-273,-254,-262,-254},{-276,-251,-281,-251,-281,-254},{-278,-270,-300,-284,-281,-276},{-259,-268,-284,-278,-270,-270},{-265,-246,-254,-295,-268,-254},{-292,-268,-295,-273,-276,-276},{-289,-278,-281,-284,-287,-265},{-248,-248,-300,-300,-268,-257},{-248,-289,-268,-254,-287,-257},{-295,-298,-259,-276,-259,-278},{-300,-281,-276,-273,-254,-262},{-246,-287,-262,-270,-300,-292},{-287,-287,-295,-254,-295,-268},{-246,-270,-292,-262,-265,-257},{-278,-295,-295,-284,-289,-281},{-289,-246,-292,-289,-284,-300},{-276,-273,-257,-287,-265,-259},{-292,-298,-276,-276,-251,-289},{-259,-268,-281,-268,-295,-276},{-257,-281,-270,-268,-278,-278}},{{-276,-254,-298,-287,-273,-276},{-292,-284,-259,-246,-265,-284},{-276,-270,-298,-276,-287,-265},{-265,-287,-246,-257,-298,-281},{-251,-254,-281,-273,-289,-265},{-251,-292,-248,-251,-254,-262},{-259,-270,-276,-265,-268,-281},{-278,-284,-292,-257,-254,-300},{-284,-257,-265,-257,-276,-251},{-259,-295,-254,-259,-268,-289},{-262,-265,-248,-248,-278,-257},{-289,-278,-292,-257,-251,-254},{-265,-292,-298,-281,-248,-254},{-257,-289,-254,-281,-287,-268},{-254,-259,-289,-246,-257,-295},{-254,-268,-257,-298,-276,-273},{-292,-295,-273,-284,-270,-281},{-289,-284,-295,-270,-259,-300},{-298,-298,-270,-289,-287,-262},{-262,-270,-287,-265,-259,-257}},{{-287,-298,-289,-262,-248,-270},{-259,-300,-262,-300,-292,-251},{-295,-298,-278,-278,-248,-281},{-251,-298,-292,-257,-251,-287},{-268,-281,-287,-278,-273,-289},{-248,-265,-268,-276,-300,-259},{-278,-300,-276,-278,-284,-298},{-265,-278,-248,-270,-248,-295},{-251,-284,-262,-248,-259,-262},{-281,-254,-281,-273,-254,-251},{-278,-257,-248,-268,-270,-251},{-257,-259,-265,-254,-292,-246},{-273,-248,-278,-292,-270,-257},{-292,-289,-287,-298,-300,-298},{-281,-287,-265,-259,-292,-246},{-257,-251,-292,-246,-278,-295},{-276,-298,-292,-295,-265,-278},{-248,-273,-298,-246,-248,-262},{-268,-300,-273,-270,-298,-259},{-292,-270,-287,-276,-254,-287}},{{-278,-257,-292,-248,-257,-281},{-276,-268,-262,-284,-281,-278},{-251,-281,-300,-287,-273,-262},{-298,-265,-251,-259,-265,-298},{-281,-268,-287,-273,-281,-268},{-265,-268,-248,-259,-300,-292},{-265,-298,-248,-262,-284,-268},{-248,-284,-273,-262,-273,-289},{-278,-281,-268,-289,-281,-284},{-281,-300,-292,-248,-246,-289},{-246,-268,-257,-251,-246,-251},{-287,-276,-268,-276,-270,-298},{-268,-259,-268,-262,-287,-251},{-262,-259,-289,-270,-281,-251},{-276,-284,-265,-268,-287,-254},{-298,-278,-289,-268,-284,-281},{-281,-262,-259,-262,-262,-281},{-257,-251,-270,-248,-281,-276},{-287,-257,-259,-273,-246,-276},{-284,-289,-257,-257,-265,-257}}},{{{-157,-139,-168,-156,-143,-169},{-156,-152,-143,-145,-148,-169},{-142,-159,-165,-163,-139,-157},{-142,-169,-160,-157,-165,-156},{-151,-140,-169,-152,-146,-169},{-145,-152,-152,-149,-149,-142},{-163,-151,-165,-142,-165,-166},{-156,-145,-145,-148,-152,-146},{-160,-140,-156,-156,-162,-163},{-162,-160,-151,-154,-151,-140},{-160,-148,-165,-152,-159,-152},{-145,-152,-169,-160,-163,-160},{-157,-149,-168,-139,-146,-140},{-145,-146,-160,-145,-160,-165},{-169,-143,-139,-160,-159,-139},{-149,-142,-157,-143,-159,-139},{-151,-168,-140,-156,-168,-166},{-154,-140,-168,-145,-139,-154},{-162,-142,-169,-143,-156,-168},{-142,-159,-140,-163,-157,-160}},{{-151,-156,-151,-166,-166,-152},{-157,-143,-149,-156,-156,-148},{-140,-151,-143,-145,-148,-169},{-169,-146,-156,-163,-169,-159},{-148,-165,-146,-162,-157,-169},{-169,-166,-149,-152,-169,-160},{-168,-145,-162,-139,-139,-160},{-166,-148,-160,-157,-145,-140},{-148,-162,-163,-152,-162,-162},{-163,-143,-163,-143,-140,-159},{-169,-151,-142,-165,-159,-152},{-142,-154,-160,-149,-151,-140},{-140,-143,-159,-156,-160,-140},{-156,-143,-160,-151,-139,-139},{-140,-148,-143,-166,-143,-149},{-142,-163,-160,-146,-160,-163},{-163,-169,-162,-148,-160,-159},{-159,-157,-140,-151,-166,-148},{-146,-160,-165,-154,-165,-142},{-163,-165,-159,-143,-165,-145}},{{-162,-156,-149,-143,-165,-169},{-166,-145,-156,-160,-145,-154},{-156,-140,-159,-156,-148,-154},{-166,-156,-154,-139,-169,-148},{-146,-151,-166,-148,-140,-165},{-149,-165,-154,-169,-162,-165},{-146,-157,-143,-159,-142,-169},{-159,-148,-162,-165,-159,-168},{-143,-156,-159,-145,-168,-140},{-159,-146,-146,-151,-163,-159},{-162,-151,-152,-166,-142,-152},{-156,-166,-168,-166,-149,-140},{-156,-142,-156,-157,-162,-157},{-160,-166,-160,-160,-151,-151},{-157,-156,-151,-160,-159,-168},{-166,-162,-156,-143,-152,-165},{-148,-148,-165,-154,-160,-166},{-151,-148,-140,-139,-163,-148},{-143,-166,-154,-148,-163,-157},{-163,-166,-169,-168,-160,-162}},{{-160,-152,-156,-160,-152,-159},{-163,-152,-149,-146,-146,-163},{-151,-145,-146,-152,-139,-169},{-156,-163,-157,-159,-162,-162},{-152,-169,-160,-143,-152,-140},{-145,-160,-165,-154,-168,-142},{-148,-166,-156,-140,-146,-154},{-157,-140,-165,-165,-159,-159},{-146,-169,-148,-162,-162,-162},{-149,-148,-154,-165,-163,-168},{-148,-146,-152,-149,-149,-165},{-139,-151,-160,-140,-166,-140},{-145,-159,-160,-159,-159,-139},{-149,-162,-140,-165,-148,-143},{-146,-143,-151,-140,-162,-152},{-156,-156,-162,-146,-152,-143},{-149,-148,-157,-143,-143,-151},{-143,-143,-154,-143,-139,-157},{-140,-151,-165,-151,-163,-148},{-168,-154,-143,-159,-160,-166}},{{-160,-145,-139,-165,-152,-163},{-159,-152,-148,-165,-140,-152},{-152,-169,-166,-151,-145,-162},{-159,-157,-154,-156,-145,-140},{-163,-154,-159,-145,-166,-139},{-143,-154,-149,-152,-160,-149},{-140,-160,-165,-140,-140,-139},{-156,-169,-146,-163,-145,-162},{-163,-157,-151,-145,-139,-162},{-160,-156,-143,-149,-148,-168},{-139,-139,-154,-142,-139,-163},{-154,-152,-165,-160,-142,-169},{-168,-145,-146,-163,-156,-143},{-166,-163,-139,-162,-140,-163},{-162,-165,-146,-166,-166,-159},{-149,-169,-140,-157,-140,-169},{-140,-169,-163,-156,-163,-162},{-154,-148,-143,-140,-159,-169},{-152,-143,-149,-142,-168,-169},{-166,-169,-160,-143,-168,-145}},{{-140,-160,-148,-143,-162,-148},{-142,-140,-160,-156,-143,-169},{-154,-143,-154,-165,-160,-162},{-139,-142,-146,-152,-165,-168},{-139,-145,-148,-143,-140,-165},{-165,-168,-143,-168,-169,-154},{-154,-157,-157,-152,-142,-139},{-162,-162,-169,-142,-156,-156},{-142,-149,-159,-151,-159,-142},{-156,-149,-152,-160,-162,-156},{-168,-146,-165,-154,-149,-145},{-142,-166,-163,-159,-154,-149},{-151,-145,-160,-152,-159,-146},{-154,-143,-152,-145,-143,-156},{-152,-148,-160,-159,-140,-163},{-154,-165,-165,-166,-145,-140},{-139,-160,-146,-143,-165,-154},{-154,-140,-160,-165,-166,-154},{-140,-142,-149,-148,-166,-139},{-157,-159,-151,-163,-159,-152}},{{-146,-154,-152,-143,-143,-159},{-159,-146,-163,-140,-146,-142},{-145,-146,-165,-142,-168,-163},{-159,-146,-148,-168,-166,-166},{-145,-146,-165,-149,-149,-151},{-140,-154,-149,-157,-159,-156},{-165,-143,-142,-165,-151,-142},{-143,-139,-168,-154,-140,-152},{-139,-156,-140,-142,-166,-166},{-140,-142,-145,-168,-168,-145},{-140,-165,-156,-146,-168,-152},{-145,-139,-160,-165,-169,-162},{-160,-166,-157,-148,-159,-143},{-154,-156,-163,-145,-146,-146},{-157,-165,-142,-166,-168,-139},{-154,-169,-168,-142,-162,-139},{-163,-142,-168,-145,-140,-162},{-162,-154,-140,-142,-154,-145},{-168,-160,-166,-142,-140,-157},{-165,-149,-142,-140,-148,-163}},{{-169,-162,-139,-169,-143,-156},{-152,-168,-145,-152,-168,-142},{-162,-151,-149,-169,-163,-151},{-159,-165,-168,-151,-165,-142},{-156,-160,-142,-140,-148,-157},{-142,-168,-166,-156,-139,-148},{-149,-166,-152,-162,-143,-154},{-142,-157,-140,-151,-152,-162},{-149,-160,-165,-139,-162,-148},{-139,-148,-169,-143,-168,-159},{-146,-169,-154,-162,-157,-154},{-145,-146,-145,-143,-169,-152},{-165,-149,-152,-154,-163,-162},{-154,-143,-154,-148,-156,-163},{-152,-154,-165,-146,-143,-154},{-143,-157,-163,-165,-148,-140},{-139,-149,-152,-156,-169,-165},{-139,-139,-168,-168,-157,-162},{-148,-169,-140,-159,-156,-148},{-160,-157,-168,-142,-148,-152}},{{-157,-162,-148,-143,-157,-148},{-143,-154,-145,-165,-143,-148},{-166,-149,-143,-143,-166,-140},{-169,-162,-157,-152,-151,-163},{-165,-143,-157,-143,-146,-139},{-149,-151,-154,-162,-151,-163},{-142,-143,-145,-154,-160,-146},{-152,-146,-165,-152,-152,-160},{-152,-159,-140,-166,-149,-146},{-148,-165,-152,-159,-142,-142},{-149,-162,-162,-169,-156,-156},{-160,-166,-163,-168,-151,-142},{-143,-166,-165,-145,-168,-145},{-146,-168,-159,-169,-148,-143},{-163,-148,-143,-154,-168,-163},{-148,-152,-139,-145,-139,-160},{-156,-162,-139,-169,-169,-139},{-154,-142,-154,-157,-156,-145},{-151,-168,-160,-149,-139,-142},{-157,-139,-169,-165,-142,-140}}},{{{-184,-198,-195,-178,-197,-178},{-164,-177,-187,-191,-164,-167},{-175,-189,-177,-195,-171,-191},{-171,-191,-166,-177,-187,-197},{-171,-195,-200,-186,-166,-178},{-166,-200,-187,-197,-177,-198},{-180,-191,-180,-200,-187,-166},{-167,-180,-175,-186,-173,-173},{-171,-195,-167,-178,-178,-200},{-187,-195,-175,-197,-191,-169},{-177,-184,-171,-193,-175,-177},{-166,-184,-178,-184,-167,-187},{-186,-195,-186,-177,-189,-184},{-177,-191,-198,-180,-191,-173},{-173,-178,-187,-171,-195,-169},{-169,-173,-200,-200,-175,-195},{-173,-169,-167,-164,-166,-195},{-175,-175,-182,-169,-182,-177},{-175,-197,-175,-187,-197,-173},{-186,-193,-187,-184,-189,-173}},{{-164,-180,-177,-189,-175,-178},{-178,-167,-167,-175,-167,-180},{-191,-191,-187,-166,-186,-180},{-191,-184,-187,-195,-193,-191},{-175,-189,-178,-177,-197,-200},{-164,-173,-186,-195,-173,-171},{-197,-182,-193,-167,-186,-169},{-166,-166,-175,-195,-167,-173},{-197,-166,-167,-178,-177,-193},{-175,-167,-166,-180,-164,-169},{-167,-182,-171,-197,-189,-186},{-187,-171,-164,-189,-169,-197},{-180,-187,-164,-171,-184,-169},{-167,-191,-182,-187,-182,-175},{-195,-166,-187,-164,-177,-169},{-182,-180,-197,-166,-184,-173},{-191,-193,-195,-200,-182,-177},{-167,-182,-200,-180,-182,-198},{-191,-186,-169,-167,-177,-178},{-184,-189,-180,-193,-186,-178}},{{-173,-167,-193,-198,-187,-182},{-193,-187,-198,-197,-191,-173},{-180,-169,-200,-164,-200,-184},{-169,-173,-198,-171,-173,-177},{-187,-166,-167,-182,-186,-193},{-184,-173,-178,-180,-167,-191},{-186,-180,-166,-191,-180,-182},{-198,-175,-187,-167,-187,-169},{-169,-195,-171,-180,-178,-187},{-200,-173,-189,-186,-177,-175},{-197,-182,-198,-173,-173,-186},{-167,-175,-182,-169,-198,-169},{-200,-171,-166,-171,-184,-198},{-193,-193,-180,-187,-186,-178},{-173,-200,-173,-186,-166,-189},{-167,-189,-191,-178,-182,-200},{-175,-191,-167,-193,-166,-171},{-195,-200,-189,-189,-171,-169},{-186,-171,-167,-195,-177,-164},{-180,-186,-189,-180,-187,-171}},{{-197,-167,-169,-187,-182,-167},{-184,-184,-169,-175,-197,-187},{-193,-193,-180,-186,-166,-167},{-189,-180,-200,-178,-171,-186},{-184,-193,-189,-191,-166,-187},{-195,-173,-191,-182,-166,-187},{-184,-200,-187,-184,-169,-171},{-182,-177,-177,-175,-182,-187},{-191,-191,-195,-197,-191,-198},{-184,-169,-200,-197,-195,-177},{-171,-189,-187,-186,-166,-193},{-198,-167,-184,-195,-184,-184},{-164,-171,-187,-166,-175,-200},{-186,-173,-193,-177,-195,-189},{-195,-193,-198,-171,-171,-175},{-180,-195,-186,-186,-175,-178},{-191,-177,-182,-182,-166,-195},{-197,-193,-198,-186,-180,-200},{-175,-184,-195,-200,-171,-193},{-187,-173,-180,-189,-189,-193}},{{-169,-167,-184,-191,-166,-187},{-169,-187,-180,-171,-175,-195},{-167,-182,-171,-184,-180,-171},{-195,-166,-184,-182,-177,-175},{-164,-175,-173,-175,-171,-164},{-186,-187,-180,-177,-198,-175},{-166,-177,-175,-193,-178,-195},{-200,-166,-186,-189,-198,-167},{-182,-177,-189,-173,-189,-193},{-184,-189,-193,-200,-177,-187},{-182,-169,-175,-166,-164,-186},{-184,-164,-175,-200,-197,-169},{-195,-182,-166,-177,-198,-166},{-189,-184,-164,-166,-184,-166},{-164,-180,-184,-169,-195,-191},{-167,-184,-164,-164,-189,-184},{-167,-177,-186,-191,-175,-197},{-197,-182,-177,-182,-186,-187},{-175,-166,-173,-198,-197,-173},{-164,-186,-189,-186,-175,-166}},{{-198,-189,-193,-177,-193,-182},{-171,-173,-195,-166,-197,-164},{-164,-200,-166,-182,-187,-167},{-182,-171,-200,-178,-191,-197},{-173,-189,-177,-180,-193,-178},{-166,-164,-175,-184,-186,-177},{-189,-180,-173,-175,-186,-195},{-195,-197,-178,-189,-167,-164},{-180,-184,-184,-184,-175,-197},{-178,-167,-167,-182,-164,-173},{-167,-180,-195,-200,-195,-197},{-173,-178,-166,-173,-178,-164},{-180,-182,-187,-164,-169,-167},{-184,-169,-169,-184,-169,-198},{-198,-191,-167,-171,-193,-189},{-195,-186,-166,-178,-184,-197},{-175,-187,-173,-164,-186,-182},{-197,-200,-180,-164,-177,-182},{-189,-184,-180,-197,-189,-200},{-193,-197,-184,-200,-187,-195}},{{-175,-195,-182,-200,-177,-178},{-198,-164,-182,-178,-175,-189},{-193,-198,-187,-197,-173,-164},{-195,-178,-178,-193,-175,-200},{-167,-180,-167,-186,-180,-193},{-200,-191,-175,-186,-169,-173},{-178,-178,-164,-178,-180,-200},{-197,-189,-193,-167,-182,-175},{-193,-178,-184,-200,-184,-169},{-191,-177,-177,-189,-200,-189},{-171,-166,-169,-171,-195,-180},{-173,-171,-186,-178,-193,-180},{-197,-198,-167,-169,-198,-197},{-175,-186,-184,-169,-197,-193},{-191,-164,-177,-195,-180,-184},{-187,-191,-178,-187,-191,-184},{-189,-166,-177,-177,-182,-195},{-184,-180,-178,-200,-164,-166},{-164,-191,-200,-167,-200,-189},{-173,-175,-169,-164,-166,-187}},{{-175,-173,-193,-197,-193,-191},{-167,-182,-175,-180,-175,-175},{-200,-184,-182,-195,-191,-198},{-178,-169,-167,-177,-171,-166},{-169,-169,-184,-180,-191,-191},{-178,-189,-200,-195,-182,-180},{-171,-193,-166,-167,-184,-189},{-177,-177,-166,-187,-193,-193},{-171,-191,-186,-169,-169,-177},{-191,-197,-166,-182,-175,-187},{-178,-173,-180,-182,-173,-191},{-182,-195,-187,-169,-184,-184},{-191,-173,-169,-177,-197,-197},{-187,-171,-193,-197,-175,-173},{-191,-182,-197,-177,-184,-175},{-195,-175,-197,-189,-195,-177},{-187,-197,-191,-171,-177,-197},{-182,-171,-173,-197,-171,-193},{-180,-171,-171,-191,-166,-189},{-197,-191,-166,-182,-197,-197}},{{-182,-167,-180,-182,-167,-166},{-173,-191,-198,-193,-173,-197},{-186,-187,-197,-187,-180,-178},{-186,-178,-164,-171,-189,-175},{-195,-178,-189,-184,-173,-171},{-186,-187,-167,-167,-186,-197},{-187,-191,-177,-186,-193,-175},{-187,-167,-182,-178,-187,-189},{-189,-193,-189,-200,-191,-200},{-164,-182,-173,-184,-180,-167},{-173,-193,-171,-193,-177,-171},{-186,-195,-186,-167,-193,-195},{-187,-171,-177,-187,-182,-169},{-178,-195,-164,-177,-186,-189},{-182,-166,-186,-193,-164,-171},{-166,-175,-198,-169,-193,-175},{-187,-169,-197,-182,-167,-177},{-177,-198,-182,-175,-198,-191},{-193,-177,-197,-167,-169,-191},{-169,-193,-197,-164,-175,-189}}},{{{-223,-225,-262,-247,-245,-247},{-250,-265,-267,-243,-235,-243},{-233,-255,-252,-245,-243,-243},{-230,-228,-233,-223,-245,-265},{-225,-250,-260,-243,-225,-245},{-240,-260,-270,-240,-233,-220},{-260,-230,-225,-265,-233,-260},{-262,-225,-270,-257,-230,-228},{-270,-265,-225,-257,-252,-257},{-270,-230,-240,-230,-230,-243},{-230,-228,-245,-260,-228,-225},{-252,-223,-238,-233,-228,-230},{-255,-238,-270,-245,-245,-230},{-265,-233,-245,-250,-247,-252},{-220,-235,-220,-235,-255,-270},{-223,-243,-267,-245,-267,-235},{-228,-238,-267,-238,-245,-247},{-252,-243,-247,-265,-252,-265},{-265,-265,-233,-243,-233,-270},{-233,-240,-240,-267,-265,-235}},{{-270,-238,-255,-260,-247,-267},{-245,-255,-235,-257,-225,-245},{-262,-220,-267,-238,-252,-238},{-257,-262,-247,-265,-260,-262},{-228,-230,-228,-230,-243,-252},{-260,-230,-223,-270,-238,-240},{-257,-250,-243,-260,-267,-247},{-262,-228,-265,-220,-240,-252},{-267,-262,-240,-228,-257,-233},{-267,-252,-250,-257,-230,-240},{-228,-233,-262,-223,-223,-247},{-267,-220,-255,-238,-225,-260},{-265,-257,-257,-238,-267,-233},{-262,-252,-262,-262,-250,-220},{-220,-233,-270,-220,-247,-225},{-260,-247,-225,-257,-252,-267},{-257,-220,-250,-265,-250,-225},{-247,-238,-245,-220,-262,-238},{-255,-228,-228,-243,-267,-255},{-230,-270,-223,-262,-228,-233}},{{-235,-250,-228,-235,-220,-225},{-243,-235,-245,-225,-225,-260},{-250,-238,-240,-230,-255,-247},{-220,-235,-260,-255,-252,-235},{-233,-225,-228,-238,-235,-245},{-233,-270,-240,-267,-220,-257},{-245,-233,-260,-250,-247,-267},{-230,-230,-240,-245,-255,-225},{-228,-225,-223,-255,-245,-228},{-238,-250,-225,-240,-230,-267},{-250,-270,-240,-225,-243,-252},{-225,-252,-255,-252,-262,-270},{-260,-265,-267,-265,-230,-255},{-225,-240,-220,-223,-257,-220},{-230,-270,-223,-243,-225,-267},{-223,-223,-270,-245,-247,-250},{-240,-252,-267,-260,-267,-267},{-235,-225,-255,-257,-270,-225},{-220,-225,-267,-257,-265,-235},{-270,-257,-243,-228,-255,-235}},{{-225,-262,-243,-245,-245,-228},{-225,-238,-270,-240,-267,-265},{-233,-245,-252,-245,-243,-240},{-235,-245,-260,-245,-230,-267},{-265,-220,-245,-223,-245,-240},{-223,-245,-233,-250,-250,-255},{-240,-257,-252,-233,-270,-267},{-252,-233,-235,-228,-270,-223},{-260,-265,-235,-252,-262,-247},{-247,-257,-270,-252,-257,-265},{-267,-240,-267,-235,-235,-270},{-262,-243,-238,-225,-243,-223},{-220,-235,-260,-223,-220,-270},{-225,-225,-243,-245,-235,-252},{-245,-270,-238,-240,-243,-247},{-245,-247,-252,-250,-265,-255},{-225,-238,-270,-255,-235,-230},{-270,-223,-260,-238,-262,-265},{-233,-220,-257,-257,-265,-250},{-223,-262,-267,-225,-265,-233}},{{-255,-245,-235,-245,-250,-228},{-233,-228,-223,-228,-235,-257},{-257,-255,-247,-225,-230,-238},{-265,-223,-243,-225,-267,-225},{-220,-243,-255,-265,-238,-247},{-238,-252,-262,-223,-247,-245},{-230,-250,-230,-225,-240,-235},{-243,-260,-235,-240,-228,-255},{-265,-265,-230,-262,-235,-238},{-233,-223,-255,-235,-267,-262},{-252,-230,-255,-228,-238,-252},{-250,-265,-230,-257,-250,-270},{-270,-233,-265,-265,-260,-238},{-235,-247,-270,-243,-262,-225},{-247,-262,-223,-243,-240,-235},{-245,-238,-257,-265,-233,-265},{-245,-260,-245,-250,-235,-240},{-247,-223,-255,-265,-220,-235},{-230,-228,-270,-265,-220,-262},{-252,-257,-255,-257,-267,-265}},{{-238,-240,-233,-233,-230,-247},{-243,-247,-262,-250,-255,-228},{-245,-257,-245,-255,-230,-240},{-220,-240,-238,-245,-255,-270},{-240,-255,-267,-250,-240,-252},{-255,-247,-228,-270,-233,-260},{-270,-265,-257,-270,-245,-245},{-243,-238,-235,-245,-270,-247},{-270,-220,-252,-265,-262,-220},{-267,-260,-243,-238,-270,-260},{-265,-265,-225,-257,-240,-233},{-233,-252,-250,-255,-223,-262},{-250,-225,-225,-267,-265,-243},{-270,-250,-243,-228,-243,-255},{-252,-235,-230,-240,-223,-230},{-243,-225,-270,-243,-240,-245},{-250,-240,-267,-270,-247,-252},{-245,-252,-223,-235,-230,-228},{-255,-252,-243,-225,-228,-270},{-225,-233,-233,-270,-255,-255}},{{-228,-245,-233,-250,-262,-245},{-270,-255,-247,-245,-265,-230},{-252,-252,-260,-250,-250,-260},{-267,-252,-223,-245,-260,-262},{-235,-245,-240,-262,-262,-252},{-260,-260,-223,-267,-270,-220},{-270,-265,-270,-240,-270,-250},{-230,-223,-257,-223,-265,-255},{-267,-225,-228,-238,-260,-245},{-235,-240,-245,-265,-220,-245},{-220,-223,-245,-220,-252,-252},{-230,-255,-255,-252,-245,-228},{-223,-243,-245,-252,-230,-267},{-238,-240,-220,-267,-252,-262},{-265,-233,-247,-223,-223,-223},{-228,-220,-247,-257,-228,-257},{-265,-235,-243,-228,-267,-247},{-235,-252,-230,-233,-260,-223},{-257,-270,-223,-255,-225,-257},{-230,-240,-230,-260,-223,-262}},{{-265,-240,-238,-247,-243,-267},{-228,-265,-245,-245,-270,-250},{-240,-243,-225,-257,-223,-257},{-240,-233,-225,-247,-262,-262},{-270,-247,-257,-270,-262,-252},{-252,-228,-247,-245,-247,-233},{-257,-250,-243,-235,-245,-230},{-252,-235,-260,-230,-230,-252},{-257,-228,-240,-262,-230,-250},{-250,-262,-220,-250,-245,-245},{-225,-250,-223,-262,-252,-252},{-233,-247,-240,-235,-265,-238},{-260,-265,-233,-255,-243,-252},{-257,-245,-262,-265,-262,-260},{-245,-235,-225,-270,-260,-270},{-247,-220,-262,-265,-270,-262},{-247,-245,-255,-257,-270,-243},{-220,-270,-243,-223,-225,-255},{-257,-240,-257,-262,-262,-262},{-245,-245,-228,-223,-230,-250}},{{-247,-270,-267,-225,-240,-260},{-270,-255,-255,-247,-260,-240},{-255,-260,-265,-235,-230,-255},{-265,-245,-265,-250,-267,-235},{-223,-225,-267,-255,-265,-233},{-265,-230,-230,-233,-223,-233},{-260,-225,-220,-240,-265,-257},{-257,-262,-228,-223,-260,-238},{-220,-270,-250,-250,-252,-233},{-257,-250,-247,-257,-252,-247},{-260,-243,-238,-252,-220,-235},{-243,-245,-240,-240,-228,-225},{-245,-257,-245,-220,-262,-247},{-267,-240,-220,-220,-257,-235},{-260,-255,-225,-243,-238,-250},{-220,-257,-250,-255,-265,-220},{-265,-228,-225,-260,-235,-247},{-233,-267,-225,-250,-250,-238},{-247,-245,-230,-228,-262,-250},{-250,-250,-240,-262,-267,-220}}},{{{-240,-233,-215,-240,-245,-249},{-208,-249,-226,-236,-245,-254},{-254,-252,-208,-252,-243,-252},{-254,-222,-240,-238,-254,-208},{-208,-219,-240,-233,-229,-231},{-243,-215,-231,-249,-213,-231},{-233,-236,-243,-252,-217,-213},{-243,-254,-236,-245,-254,-222},{-215,-213,-229,-215,-245,-240},{-238,-229,-210,-222,-210,-217},{-233,-238,-219,-240,-219,-208},{-208,-231,-215,-219,-238,-222},{-222,-219,-243,-249,-233,-236},{-215,-229,-222,-238,-247,-213},{-238,-213,-215,-229,-224,-254},{-215,-245,-233,-226,-240,-213},{-233,-249,-226,-249,-222,-254},{-229,-215,-215,-252,-238,-219},{-233,-213,-229,-240,-238,-213},{-236,-238,-224,-254,-247,-208}},{{-236,-254,-254,-245,-226,-243},{-243,-236,-226,-252,-231,-243},{-229,-210,-247,-231,-233,-231},{-215,-215,-224,-245,-208,-247},{-254,-245,-254,-215,-238,-252},{-210,-233,-249,-229,-238,-219},{-217,-254,-229,-254,-254,-219},{-233,-213,-245,-252,-233,-222},{-243,-210,-231,-245,-231,-243},{-210,-229,-222,-224,-229,-210},{-247,-226,-226,-229,-215,-249},{-210,-252,-222,-222,-213,-231},{-231,-208,-224,-254,-217,-249},{-254,-233,-222,-219,-222,-252},{-247,-229,-240,-245,-240,-224},{-236,-213,-222,-247,-229,-240},{-229,-219,-247,-252,-226,-226},{-229,-210,-236,-240,-210,-222},{-208,-215,-236,-254,-224,-245},{-217,-238,-252,-219,-213,-222}},{{-219,-208,-249,-245,-238,-208},{-229,-247,-238,-208,-254,-243},{-249,-213,-210,-249,-219,-254},{-222,-217,-236,-245,-215,-247},{-247,-210,-229,-238,-233,-231},{-247,-213,-243,-219,-210,-229},{-222,-222,-240,-210,-210,-229},{-252,-210,-238,-252,-249,-226},{-224,-247,-240,-213,-247,-233},{-249,-245,-229,-254,-213,-238},{-208,-254,-217,-210,-252,-249},{-238,-210,-233,-224,-215,-236},{-229,-208,-229,-217,-226,-231},{-222,-215,-236,-208,-238,-210},{-213,-233,-231,-222,-210,-226},{-217,-231,-210,-213,-213,-226},{-249,-252,-213,-240,-224,-238},{-229,-252,-233,-226,-217,-236},{-210,-226,-208,-219,-229,-226},{-252,-229,-254,-215,-226,-249}},{{-215,-208,-226,-240,-219,-219},{-238,-238,-236,-229,-229,-215},{-226,-224,-245,-231,-219,-215},{-215,-252,-217,-226,-229,-222},{-217,-240,-243,-222,-224,-226},{-226,-252,-249,-233,-254,-245},{-208,-226,-245,-222,-238,-240},{-222,-213,-249,-210,-213,-215},{-249,-247,-226,-240,-252,-226},{-222,-219,-231,-238,-254,-233},{-224,-226,-247,-219,-243,-222},{-219,-247,-226,-233,-210,-226},{-240,-236,-231,-238,-238,-231},{-217,-245,-249,-233,-247,-222},{-213,-229,-222,-245,-210,-233},{-231,-231,-226,-213,-245,-252},{-224,-238,-219,-215,-226,-240},{-219,-245,-238,-222,-252,-217},{-233,-231,-210,-222,-215,-238},{-247,-245,-213,-217,-217,-217}},{{-222,-236,-217,-252,-233,-243},{-238,-247,-208,-233,-229,-238},{-222,-215,-222,-213,-229,-222},{-252,-229,-231,-240,-243,-240},{-226,-224,-213,-254,-243,-236},{-238,-254,-215,-217,-231,-240},{-247,-249,-224,-245,-208,-215},{-233,-233,-240,-210,-243,-226},{-208,-252,-247,-226,-226,-236},{-245,-226,-245,-217,-215,-215},{-247,-238,-236,-236,-219,-219},{-224,-236,-236,-243,-231,-238},{-252,-249,-213,-249,-252,-240},{-210,-215,-233,-215,-249,-254},{-215,-254,-245,-213,-217,-213},{-229,-238,-217,-222,-231,-243},{-229,-236,-215,-240,-210,-238},{-222,-252,-252,-210,-231,-224},{-231,-215,-213,-231,-229,-217},{-210,-247,-213,-243,-215,-249}},{{-249,-245,-254,-226,-254,-252},{-233,-236,-213,-249,-226,-229},{-243,-231,-215,-215,-213,-233},{-247,-226,-222,-208,-240,-213},{-219,-252,-224,-215,-226,-215},{-219,-215,-236,-243,-233,-213},{-240,-217,-222,-245,-213,-219},{-219,-219,-219,-252,-229,-236},{-222,-240,-231,-245,-219,-210},{-224,-233,-224,-217,-233,-245},{-249,-243,-208,-238,-254,-208},{-243,-243,-229,-229,-222,-236},{-213,-222,-219,-208,-243,-245},{-245,-231,-210,-226,-245,-254},{-245,-217,-249,-252,-224,-233},{-219,-233,-236,-243,-252,-213},{-245,-224,-254,-213,-236,-252},{-224,-247,-229,-217,-215,-252},{-219,-247,-208,-208,-222,-215},{-219,-254,-208,-213,-208,-243}},{{-254,-226,-222,-226,-219,-224},{-226,-229,-224,-240,-240,-240},{-247,-208,-236,-222,-215,-210},{-222,-219,-229,-238,-217,-243},{-208,-224,-215,-226,-254,-210},{-217,-243,-247,-236,-226,-233},{-243,-224,-229,-229,-226,-254},{-243,-213,-252,-224,-247,-229},{-247,-210,-249,-226,-236,-222},{-213,-247,-217,-224,-233,-213},{-226,-233,-236,-226,-247,-208},{-224,-238,-238,-217,-208,-243},{-226,-224,-249,-247,-222,-254},{-247,-219,-224,-229,-226,-240},{-219,-213,-217,-249,-217,-215},{-217,-247,-229,-217,-240,-224},{-247,-247,-238,-213,-245,-222},{-229,-229,-210,-247,-224,-231},{-247,-243,-217,-238,-213,-217},{-247,-252,-226,-254,-236,-249}},{{-208,-233,-243,-233,-226,-219},{-254,-226,-233,-210,-226,-249},{-249,-243,-222,-238,-210,-236},{-249,-231,-208,-219,-210,-233},{-219,-240,-247,-215,-213,-247},{-215,-236,-233,-215,-238,-226},{-249,-252,-222,-215,-213,-208},{-217,-233,-224,-233,-231,-252},{-208,-219,-238,-243,-210,-229},{-252,-224,-236,-252,-213,-215},{-252,-215,-226,-236,-213,-219},{-254,-249,-249,-254,-217,-222},{-226,-215,-215,-208,-208,-238},{-254,-240,-215,-222,-215,-224},{-236,-219,-208,-226,-217,-215},{-222,-213,-224,-224,-229,-233},{-236,-231,-233,-231,-247,-245},{-208,-249,-217,-252,-247,-217},{-240,-210,-236,-238,-219,-208},{-231,-226,-231,-247,-210,-252}},{{-210,-247,-252,-219,-240,-208},{-219,-208,-245,-236,-254,-249},{-245,-222,-229,-247,-247,-243},{-238,-215,-249,-208,-213,-219},{-226,-224,-252,-247,-252,-249},{-249,-210,-236,-226,-224,-217},{-236,-210,-245,-224,-249,-210},{-215,-213,-254,-238,-208,-219},{-219,-222,-224,-210,-238,-219},{-215,-217,-238,-247,-208,-236},{-252,-208,-233,-219,-243,-252},{-219,-224,-233,-254,-226,-233},{-215,-236,-236,-233,-226,-238},{-247,-210,-238,-247,-243,-245},{-247,-226,-213,-219,-254,-213},{-249,-254,-222,-238,-243,-217},{-217,-213,-252,-243,-222,-229},{-247,-222,-229,-240,-226,-224},{-249,-247,-249,-215,-252,-208},{-224,-217,-208,-213,-222,-208}}},{{{-323,-291,-282,-309,-282,-268},{-270,-265,-300,-300,-268,-312},{-320,-279,-303,-276,-288,-323},{-320,-300,-291,-276,-306,-315},{-306,-312,-276,-303,-300,-282},{-294,-318,-309,-320,-297,-297},{-303,-320,-291,-323,-320,-265},{-294,-285,-318,-270,-306,-297},{-297,-285,-297,-323,-320,-265},{-291,-276,-270,-285,-273,-323},{-285,-265,-270,-294,-309,-300},{-315,-285,-285,-291,-306,-268},{-320,-270,-297,-309,-297,-291},{-323,-273,-273,-303,-270,-268},{-320,-312,-265,-265,-297,-323},{-323,-294,-309,-285,-273,-309},{-320,-291,-291,-270,-276,-294},{-291,-276,-291,-294,-268,-279},{-320,-288,-285,-279,-294,-279},{-268,-309,-291,-306,-285,-294}},{{-291,-300,-276,-291,-303,-273},{-279,-268,-265,-320,-303,-285},{-309,-309,-300,-288,-294,-265},{-306,-282,-294,-291,-318,-285},{-285,-309,-297,-291,-268,-318},{-303,-279,-306,-303,-268,-294},{-306,-279,-270,-297,-320,-276},{-306,-291,-303,-288,-282,-270},{-288,-309,-282,-268,-323,-318},{-318,-300,-306,-315,-294,-318},{-323,-268,-297,-288,-309,-273},{-279,-309,-306,-282,-291,-294},{-282,-288,-320,-273,-273,-320},{-318,-320,-323,-300,-268,-270},{-323,-312,-291,-273,-294,-315},{-323,-303,-270,-300,-320,-268},{-309,-279,-306,-323,-270,-270},{-320,-318,-320,-294,-309,-306},{-300,-276,-288,-282,-323,-303},{-323,-291,-303,-303,-312,-323}},{{-294,-297,-288,-273,-315,-303},{-288,-318,-268,-282,-309,-288},{-288,-300,-312,-285,-288,-291},{-300,-282,-282,-273,-276,-306},{-323,-309,-270,-303,-279,-315},{-300,-276,-315,-265,-303,-300},{-318,-285,-300,-285,-306,-282},{-285,-297,-265,-309,-306,-282},{-303,-315,-312,-270,-265,-315},{-288,-303,-279,-303,-273,-282},{-265,-303,-268,-312,-265,-270},{-294,-285,-276,-285,-315,-276},{-312,-309,-268,-315,-268,-291},{-309,-285,-265,-288,-306,-315},{-288,-297,-303,-291,-276,-285},{-306,-294,-288,-320,-315,-273},{-300,-270,-268,-282,-294,-318},{-309,-318,-315,-268,-291,-291},{-273,-312,-276,-306,-265,-279},{-291,-297,-276,-276,-294,-312}},{{-288,-282,-303,-318,-285,-279},{-306,-294,-297,-306,-268,-303},{-300,-312,-323,-320,-285,-297},{-297,-294,-309,-300,-294,-309},{-294,-270,-309,-279,-265,-285},{-297,-300,-282,-273,-323,-288},{-294,-297,-315,-273,-303,-297},{-306,-270,-285,-282,-270,-285},{-323,-265,-276,-285,-294,-291},{-270,-294,-282,-288,-318,-268},{-288,-291,-323,-288,-323,-303},{-291,-312,-273,-294,-318,-288},{-300,-276,-276,-300,-306,-303},{-297,-265,-291,-297,-288,-309},{-323,-294,-306,-297,-273,-297},{-294,-282,-268,-306,-303,-315},{-306,-312,-265,-315,-320,-315},{-306,-268,-297,-323,-282,-312},{-294,-312,-282,-303,-291,-288},{-323,-306,-312,-306,-315,-270}},{{-315,-273,-270,-282,-323,-288},{-323,-303,-276,-318,-268,-297},{-323,-318,-276,-273,-297,-306},{-312,-282,-288,-300,-288,-315},{-312,-309,-279,-294,-268,-265},{-318,-315,-270,-312,-291,-312},{-300,-306,-276,-285,-309,-276},{-303,-276,-306,-297,-291,-306},{-276,-318,-270,-309,-300,-309},{-294,-270,-309,-276,-303,-297},{-270,-318,-282,-300,-300,-291},{-273,-291,-323,-282,-323,-315},{-315,-297,-268,-323,-323,-300},{-276,-318,-306,-294,-265,-315},{-315,-276,-291,-285,-297,-268},{-294,-273,-273,-291,-323,-318},{-318,-315,-320,-300,-279,-291},{-309,-312,-309,-294,-318,-312},{-306,-300,-303,-273,-288,-285},{-282,-279,-323,-270,-265,-270}},{{-285,-312,-309,-273,-285,-291},{-320,-268,-288,-318,-282,-282},{-312,-270,-306,-318,-300,-282},{-309,-268,-294,-306,-291,-265},{-268,-318,-265,-291,-282,-303},{-270,-318,-297,-318,-273,-306},{-276,-300,-297,-291,-320,-315},{-323,-265,-282,-273,-265,-276},{-315,-285,-291,-318,-297,-279},{-270,-291,-303,-294,-297,-306},{-288,-303,-282,-320,-320,-276},{-315,-276,-297,-268,-294,-306},{-306,-279,-318,-282,-303,-315},{-300,-309,-318,-276,-265,-282},{-288,-315,-268,-270,-303,-268},{-270,-276,-279,-282,-288,-318},{-276,-309,-320,-273,-285,-291},{-320,-306,-318,-297,-318,-320},{-306,-265,-270,-320,-306,-282},{-318,-294,-268,-303,-268,-318}},{{-265,-282,-268,-273,-291,-282},{-279,-303,-279,-294,-279,-273},{-265,-279,-268,-270,-268,-300},{-268,-312,-285,-323,-318,-312},{-294,-291,-303,-315,-306,-303},{-294,-318,-279,-294,-273,-297},{-312,-303,-297,-312,-279,-265},{-291,-276,-312,-270,-306,-291},{-318,-312,-309,-282,-320,-279},{-268,-315,-300,-285,-300,-315},{-315,-291,-268,-279,-323,-268},{-320,-276,-323,-303,-279,-306},{-270,-279,-282,-276,-270,-320},{-282,-297,-273,-309,-323,-273},{-306,-297,-318,-320,-273,-270},{-265,-268,-297,-300,-288,-279},{-276,-323,-291,-306,-300,-318},{-309,-318,-300,-312,-279,-306},{-268,-265,-276,-279,-279,-320},{-270,-312,-276,-303,-320,-270}},{{-265,-270,-320,-294,-318,-265},{-294,-270,-285,-273,-282,-323},{-291,-273,-309,-306,-279,-300},{-300,-265,-315,-309,-282,-323},{-265,-270,-279,-303,-273,-282},{-323,-279,-294,-323,-300,-323},{-268,-276,-306,-306,-268,-265},{-276,-268,-323,-279,-320,-279},{-312,-300,-297,-265,-276,-303},{-276,-268,-303,-323,-273,-265},{-303,-320,-268,-297,-282,-279},{-265,-303,-294,-315,-268,-279},{-312,-315,-309,-315,-268,-318},{-265,-276,-320,-318,-315,-270},{-294,-270,-294,-285,-270,-265},{-291,-297,-291,-297,-291,-294},{-279,-291,-279,-318,-291,-273},{-297,-294,-303,-303,-288,-285},{-282,-285,-265,-279,-291,-315},{-312,-300,-273,-285,-291,-306}},{{-320,-265,-320,-315,-288,-279},{-323,-300,-265,-318,-320,-273},{-315,-282,-265,-306,-288,-291},{-273,-294,-268,-282,-320,-309},{-303,-265,-309,-318,-300,-297},{-303,-270,-294,-265,-288,-318},{-294,-276,-265,-288,-300,-273},{-303,-306,-306,-297,-285,-285},{-309,-268,-315,-323,-303,-300},{-279,-265,-297,-273,-306,-285},{-320,-320,-288,-279,-273,-320},{-318,-300,-300,-285,-268,-312},{-297,-323,-268,-268,-309,-323},{-265,-268,-288,-273,-291,-312},{-270,-288,-268,-323,-268,-312},{-303,-312,-297,-276,-282,-282},{-309,-309,-282,-318,-268,-306},{-270,-315,-315,-285,-297,-265},{-315,-323,-318,-297,-285,-306},{-273,-288,-318,-291,-268,-309}}}}; // 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,9,25,12,8,25,13,8,25,13,9,25,13,9,25,13,9,26,13,9,25,13,9,25,13,9,26,13,9,26,13,9,25,13,9,26,13,9,26,13,9,27,13,9,27,13,9,26,13,9,26,14,9,26,13,9,26,13,9,26,13,9,25,13,9,25,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,1139}}; // 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,2,6,10,14,18,22,26,30,34,38,42,46,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,1,5,9,13,17,21,25,29,33,37,41,45,1,7,13,19,25,31,37,43,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,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,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,1,7,13,19,25,31,37,43,49,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,0,4,8,12,16,20,24,28,32,36,40,44,48,1,7,13,19,25,31,37,43,49,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,2,6,10,14,18,22,26,30,34,38,42,46,50,1,7,13,19,25,31,37,43,49,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,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,2,6,10,14,18,22,26,30,34,38,42,46,50,0,6,12,18,24,30,36,42,48,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,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,2,6,10,14,18,22,26,30,34,38,42,46,50,0,6,12,18,24,30,36,42,48,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,1,5,9,13,17,21,25,29,33,37,41,45,49,1,7,13,19,25,31,37,43,49,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,1,5,9,13,17,21,25,29,33,37,41,45,49,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,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,52,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,51,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,0,4,8,12,16,20,24,28,32,36,40,44,48,52,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,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,2,6,10,14,18,22,26,30,34,38,42,46,50,1,7,13,19,25,31,37,43,49,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,1,5,9,13,17,21,25,29,33,37,41,45,49,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,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,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,0,4,8,12,16,20,24,28,32,36,40,44,48,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,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,6,10,14,18,22,26,30,34,38,42,46,50,6,12,18,24,30,36,42,48,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,5,9,13,17,21,25,29,33,37,41,45,49,53,6,12,18,24,30,36,42,48,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,4,8,12,16,20,24,28,32,36,40,44,48,52,5,11,17,23,29,35,41,47,53,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,4,8,12,16,20,24,28,32,36,40,44,48,52,4,10,16,22,28,34,40,46,52,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,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,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,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,4,8,12,16,20,24,28,32,36,40,44,48,52,2,8,14,20,26,32,38,44,50,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,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,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,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,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,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,3,7,11,15,19,23,27,31,35,39,43,47,51,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,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,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,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,4,8,12,16,20,24,28,32,36,40,44,48,52,3,9,15,21,27,33,39,45,51,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,4,8,12,16,20,24,28,32,36,40,44,48,52,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,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,3,7,11,15,19,23,27,31,35,39,43,47,51,4,10,16,22,28,34,40,46,52,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,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,3,7,11,15,19,23,27,31,35,39,43,47,51,5,11,17,23,29,35,41,47,53}; // set of end times of each shipment 
