int Dev = 10;// Deviation
extern const int CNN = 1;// 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 = 1128;//Number of shipments
extern const int SN = 20;//Number of scenarios at each stage
extern const int MBSN = 26;//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]={{{{11504,0,0,0,0,0},{11426,0,0,0,0,0},{11495,0,0,0,0,0},{11509,0,0,0,0,0},{11492,0,0,0,0,0},{11385,0,0,0,0,0},{11453,0,0,0,0,0},{11535,0,0,0,0,0},{11501,0,0,0,0,0},{11445,0,0,0,0,0},{11608,0,0,0,0,0},{11551,0,0,0,0,0},{11601,0,0,0,0,0},{11517,0,0,0,0,0},{11570,0,0,0,0,0},{11737,0,0,0,0,0},{11627,0,0,0,0,0},{11569,0,0,0,0,0},{11593,0,0,0,0,0},{11511,0,0,0,0,0}},{{11415,0,0,0,0,0},{11454,0,0,0,0,0},{11505,0,0,0,0,0},{11571,0,0,0,0,0},{11519,0,0,0,0,0},{11605,0,0,0,0,0},{11651,0,0,0,0,0},{11573,0,0,0,0,0},{11440,0,0,0,0,0},{11709,0,0,0,0,0},{11557,0,0,0,0,0},{11546,0,0,0,0,0},{11359,0,0,0,0,0},{11583,0,0,0,0,0},{11533,0,0,0,0,0},{11407,0,0,0,0,0},{11718,0,0,0,0,0},{11510,0,0,0,0,0},{11543,0,0,0,0,0},{11513,0,0,0,0,0}},{{11423,0,0,0,0,0},{11576,0,0,0,0,0},{11354,0,0,0,0,0},{11610,0,0,0,0,0},{11692,0,0,0,0,0},{11537,0,0,0,0,0},{11448,0,0,0,0,0},{11384,0,0,0,0,0},{11466,0,0,0,0,0},{11380,0,0,0,0,0},{11466,0,0,0,0,0},{11355,0,0,0,0,0},{11552,0,0,0,0,0},{11522,0,0,0,0,0},{11439,0,0,0,0,0},{11588,0,0,0,0,0},{11376,0,0,0,0,0},{11498,0,0,0,0,0},{11498,0,0,0,0,0},{11554,0,0,0,0,0}},{{11475,0,0,0,0,0},{11398,0,0,0,0,0},{11341,0,0,0,0,0},{11423,0,0,0,0,0},{11533,0,0,0,0,0},{11554,0,0,0,0,0},{11571,0,0,0,0,0},{11247,0,0,0,0,0},{11456,0,0,0,0,0},{11585,0,0,0,0,0},{11389,0,0,0,0,0},{11495,0,0,0,0,0},{11349,0,0,0,0,0},{11501,0,0,0,0,0},{11445,0,0,0,0,0},{11474,0,0,0,0,0},{11311,0,0,0,0,0},{11438,0,0,0,0,0},{11431,0,0,0,0,0},{11515,0,0,0,0,0}},{{11613,0,0,0,0,0},{11515,0,0,0,0,0},{11514,0,0,0,0,0},{11527,0,0,0,0,0},{11358,0,0,0,0,0},{11576,0,0,0,0,0},{11384,0,0,0,0,0},{11491,0,0,0,0,0},{11481,0,0,0,0,0},{11604,0,0,0,0,0},{11486,0,0,0,0,0},{11496,0,0,0,0,0},{11476,0,0,0,0,0},{11565,0,0,0,0,0},{11495,0,0,0,0,0},{11439,0,0,0,0,0},{11507,0,0,0,0,0},{11431,0,0,0,0,0},{11527,0,0,0,0,0},{11628,0,0,0,0,0}},{{11551,0,0,0,0,0},{11536,0,0,0,0,0},{11681,0,0,0,0,0},{11525,0,0,0,0,0},{11484,0,0,0,0,0},{11716,0,0,0,0,0},{11496,0,0,0,0,0},{11597,0,0,0,0,0},{11347,0,0,0,0,0},{11414,0,0,0,0,0},{11400,0,0,0,0,0},{11756,0,0,0,0,0},{11463,0,0,0,0,0},{11341,0,0,0,0,0},{11376,0,0,0,0,0},{11554,0,0,0,0,0},{11661,0,0,0,0,0},{11503,0,0,0,0,0},{11556,0,0,0,0,0},{11388,0,0,0,0,0}},{{11528,0,0,0,0,0},{11560,0,0,0,0,0},{11654,0,0,0,0,0},{11429,0,0,0,0,0},{11543,0,0,0,0,0},{11537,0,0,0,0,0},{11352,0,0,0,0,0},{11543,0,0,0,0,0},{11632,0,0,0,0,0},{11505,0,0,0,0,0},{11750,0,0,0,0,0},{11424,0,0,0,0,0},{11267,0,0,0,0,0},{11344,0,0,0,0,0},{11677,0,0,0,0,0},{11490,0,0,0,0,0},{11453,0,0,0,0,0},{11634,0,0,0,0,0},{11369,0,0,0,0,0},{11641,0,0,0,0,0}},{{11458,0,0,0,0,0},{11549,0,0,0,0,0},{11539,0,0,0,0,0},{11483,0,0,0,0,0},{11491,0,0,0,0,0},{11472,0,0,0,0,0},{11402,0,0,0,0,0},{11438,0,0,0,0,0},{11379,0,0,0,0,0},{11474,0,0,0,0,0},{11666,0,0,0,0,0},{11395,0,0,0,0,0},{11568,0,0,0,0,0},{11481,0,0,0,0,0},{11433,0,0,0,0,0},{11609,0,0,0,0,0},{11535,0,0,0,0,0},{11461,0,0,0,0,0},{11436,0,0,0,0,0},{11461,0,0,0,0,0}},{{11509,0,0,0,0,0},{11626,0,0,0,0,0},{11425,0,0,0,0,0},{11623,0,0,0,0,0},{11671,0,0,0,0,0},{11530,0,0,0,0,0},{11602,0,0,0,0,0},{11441,0,0,0,0,0},{11630,0,0,0,0,0},{11653,0,0,0,0,0},{11414,0,0,0,0,0},{11487,0,0,0,0,0},{11575,0,0,0,0,0},{11511,0,0,0,0,0},{11460,0,0,0,0,0},{11616,0,0,0,0,0},{11489,0,0,0,0,0},{11623,0,0,0,0,0},{11307,0,0,0,0,0},{11536,0,0,0,0,0}}},{{{-183,-183,-211,-213,-183,-211},{-221,-195,-209,-223,-199,-189},{-217,-219,-185,-223,-197,-185},{-193,-221,-199,-183,-205,-219},{-209,-219,-215,-191,-217,-185},{-213,-219,-193,-191,-185,-223},{-187,-187,-205,-203,-221,-195},{-211,-201,-217,-215,-187,-211},{-187,-209,-203,-209,-219,-217},{-197,-195,-191,-189,-217,-217},{-191,-203,-187,-215,-221,-211},{-213,-221,-189,-195,-189,-217},{-211,-189,-207,-185,-183,-213},{-185,-187,-197,-197,-195,-201},{-187,-183,-213,-213,-189,-209},{-221,-215,-215,-187,-205,-215},{-187,-195,-217,-197,-205,-217},{-195,-213,-189,-193,-197,-219},{-203,-207,-215,-195,-187,-223},{-211,-189,-219,-205,-207,-187}},{{-185,-213,-191,-213,-207,-197},{-205,-205,-187,-211,-185,-209},{-205,-209,-219,-213,-189,-195},{-215,-213,-191,-211,-207,-191},{-211,-221,-223,-203,-189,-213},{-205,-183,-189,-211,-193,-211},{-191,-221,-187,-217,-183,-211},{-183,-211,-201,-187,-223,-189},{-213,-199,-187,-197,-207,-211},{-195,-215,-211,-189,-197,-185},{-207,-209,-203,-213,-219,-219},{-191,-191,-203,-185,-223,-217},{-221,-209,-217,-187,-191,-217},{-211,-193,-209,-219,-183,-199},{-207,-189,-189,-199,-209,-207},{-187,-203,-191,-187,-189,-203},{-201,-223,-215,-215,-187,-209},{-217,-213,-219,-207,-187,-183},{-203,-193,-217,-195,-191,-185},{-205,-185,-195,-213,-207,-219}},{{-203,-217,-195,-197,-221,-205},{-213,-185,-193,-213,-209,-189},{-209,-189,-191,-187,-199,-197},{-213,-207,-211,-221,-187,-215},{-199,-219,-185,-217,-215,-205},{-221,-203,-203,-215,-205,-203},{-213,-201,-209,-209,-203,-201},{-183,-199,-185,-215,-219,-183},{-199,-211,-183,-217,-213,-187},{-203,-221,-207,-189,-217,-213},{-187,-203,-209,-195,-193,-217},{-205,-195,-189,-191,-183,-183},{-221,-221,-215,-211,-193,-193},{-183,-183,-189,-201,-219,-187},{-197,-189,-223,-187,-187,-207},{-187,-191,-213,-217,-211,-187},{-209,-191,-221,-203,-207,-191},{-211,-201,-195,-193,-183,-195},{-193,-215,-185,-209,-193,-195},{-187,-201,-187,-219,-201,-223}},{{-215,-193,-215,-191,-193,-213},{-187,-183,-193,-217,-189,-195},{-189,-183,-185,-199,-201,-217},{-213,-187,-193,-189,-211,-185},{-187,-191,-209,-205,-189,-185},{-223,-187,-199,-197,-201,-219},{-197,-191,-215,-203,-201,-219},{-191,-189,-189,-189,-183,-223},{-195,-197,-213,-209,-183,-205},{-183,-215,-211,-219,-201,-191},{-201,-185,-221,-203,-183,-219},{-213,-217,-201,-211,-217,-195},{-183,-189,-201,-191,-221,-187},{-199,-203,-209,-219,-203,-195},{-191,-203,-199,-213,-207,-187},{-193,-203,-187,-203,-205,-217},{-193,-185,-209,-183,-197,-189},{-223,-217,-217,-191,-193,-217},{-185,-217,-207,-213,-193,-203},{-183,-193,-183,-189,-191,-201}},{{-185,-205,-215,-213,-219,-201},{-207,-209,-223,-185,-217,-213},{-203,-189,-223,-183,-207,-223},{-203,-197,-183,-189,-219,-201},{-217,-217,-199,-185,-197,-207},{-215,-187,-193,-201,-205,-187},{-207,-201,-221,-183,-215,-187},{-207,-183,-219,-203,-199,-205},{-223,-199,-215,-185,-193,-183},{-191,-205,-217,-203,-215,-213},{-217,-185,-221,-223,-209,-199},{-207,-213,-189,-203,-189,-221},{-187,-221,-183,-223,-201,-205},{-213,-185,-217,-207,-211,-195},{-197,-213,-183,-205,-189,-205},{-223,-219,-183,-183,-191,-207},{-211,-209,-221,-191,-185,-191},{-185,-219,-189,-217,-191,-189},{-209,-189,-195,-211,-205,-189},{-201,-197,-219,-203,-223,-213}},{{-209,-209,-187,-201,-205,-209},{-191,-219,-185,-221,-209,-189},{-205,-211,-217,-201,-213,-213},{-221,-209,-193,-199,-215,-183},{-185,-195,-213,-187,-209,-201},{-191,-209,-223,-187,-201,-185},{-201,-211,-197,-201,-195,-193},{-201,-207,-191,-187,-213,-223},{-183,-207,-207,-211,-199,-187},{-185,-215,-185,-215,-207,-193},{-185,-207,-195,-223,-183,-191},{-223,-187,-205,-191,-213,-213},{-213,-195,-201,-209,-211,-189},{-201,-183,-187,-195,-193,-203},{-219,-205,-185,-203,-211,-215},{-219,-187,-199,-221,-207,-209},{-207,-209,-211,-195,-213,-215},{-199,-213,-223,-187,-199,-193},{-221,-199,-203,-195,-203,-185},{-199,-219,-191,-203,-187,-197}},{{-185,-221,-217,-183,-201,-195},{-195,-209,-221,-205,-197,-217},{-193,-209,-189,-221,-209,-217},{-189,-213,-201,-185,-207,-195},{-221,-217,-183,-223,-189,-217},{-209,-221,-197,-195,-203,-221},{-199,-183,-195,-209,-217,-197},{-193,-211,-187,-197,-203,-199},{-205,-193,-187,-187,-207,-217},{-189,-221,-211,-211,-187,-223},{-221,-191,-189,-223,-185,-213},{-213,-205,-187,-203,-217,-215},{-193,-193,-185,-217,-199,-209},{-203,-217,-219,-197,-201,-183},{-197,-219,-199,-215,-217,-189},{-199,-215,-199,-201,-213,-209},{-211,-217,-183,-217,-211,-203},{-211,-197,-189,-191,-191,-185},{-223,-205,-217,-219,-185,-203},{-187,-191,-205,-193,-223,-191}},{{-185,-215,-193,-215,-185,-219},{-197,-187,-211,-197,-213,-221},{-193,-191,-187,-191,-213,-213},{-193,-203,-187,-219,-215,-221},{-209,-201,-185,-197,-193,-205},{-201,-207,-215,-209,-187,-193},{-211,-211,-187,-215,-211,-217},{-185,-187,-197,-199,-185,-217},{-185,-213,-223,-201,-203,-205},{-221,-217,-223,-185,-197,-201},{-215,-203,-207,-215,-223,-187},{-205,-193,-213,-187,-197,-183},{-217,-223,-221,-187,-215,-217},{-195,-213,-219,-209,-215,-205},{-201,-203,-223,-195,-219,-217},{-187,-219,-213,-185,-187,-189},{-211,-207,-189,-185,-211,-217},{-213,-197,-209,-201,-187,-185},{-207,-197,-187,-183,-223,-215},{-189,-199,-187,-209,-197,-199}},{{-215,-191,-217,-183,-183,-183},{-183,-211,-189,-223,-189,-215},{-189,-215,-203,-207,-197,-197},{-223,-185,-189,-193,-213,-205},{-195,-213,-215,-213,-197,-193},{-191,-197,-209,-193,-213,-187},{-197,-195,-209,-203,-213,-191},{-187,-193,-195,-217,-211,-203},{-193,-213,-191,-201,-217,-189},{-207,-223,-187,-219,-217,-211},{-213,-189,-191,-185,-199,-201},{-221,-203,-221,-207,-203,-185},{-195,-209,-205,-199,-217,-207},{-195,-197,-205,-215,-189,-197},{-193,-205,-223,-217,-213,-207},{-209,-211,-201,-189,-195,-209},{-211,-195,-217,-221,-199,-183},{-223,-203,-183,-213,-223,-191},{-213,-217,-183,-221,-189,-193},{-189,-205,-219,-185,-209,-197}}},{{{-175,-163,-161,-167,-163,-147},{-147,-172,-150,-169,-155,-155},{-158,-148,-148,-164,-161,-156},{-159,-147,-177,-147,-145,-172},{-163,-156,-174,-153,-148,-147},{-153,-164,-161,-163,-169,-151},{-171,-145,-174,-167,-169,-159},{-163,-161,-155,-172,-153,-171},{-172,-172,-159,-153,-167,-174},{-164,-161,-155,-177,-163,-158},{-156,-147,-156,-159,-156,-171},{-166,-164,-177,-161,-171,-155},{-150,-151,-164,-174,-148,-145},{-164,-175,-148,-153,-156,-150},{-175,-177,-175,-147,-147,-145},{-153,-151,-155,-151,-147,-172},{-166,-171,-150,-172,-174,-172},{-166,-166,-153,-158,-169,-163},{-156,-172,-167,-155,-159,-163},{-156,-175,-169,-159,-169,-150}},{{-166,-163,-171,-158,-167,-147},{-151,-145,-166,-164,-172,-156},{-155,-151,-166,-174,-159,-177},{-145,-167,-159,-151,-158,-159},{-174,-175,-155,-172,-167,-159},{-169,-158,-155,-145,-164,-171},{-175,-158,-172,-153,-174,-153},{-177,-166,-166,-175,-147,-172},{-159,-147,-163,-167,-151,-158},{-174,-161,-166,-163,-161,-177},{-171,-155,-164,-167,-151,-166},{-156,-150,-166,-174,-158,-163},{-172,-158,-159,-145,-163,-147},{-147,-151,-177,-174,-174,-171},{-171,-148,-145,-155,-145,-164},{-166,-145,-172,-175,-159,-175},{-174,-175,-153,-164,-169,-177},{-166,-171,-169,-161,-151,-159},{-158,-166,-153,-150,-147,-172},{-145,-172,-153,-175,-164,-155}},{{-169,-155,-171,-175,-175,-159},{-167,-174,-153,-161,-145,-175},{-159,-171,-151,-153,-163,-159},{-147,-164,-161,-158,-175,-167},{-166,-174,-172,-164,-175,-145},{-148,-156,-151,-174,-175,-151},{-177,-151,-177,-155,-151,-169},{-163,-171,-150,-174,-153,-151},{-150,-167,-145,-148,-156,-167},{-167,-167,-156,-147,-161,-155},{-150,-163,-175,-159,-161,-167},{-155,-161,-156,-158,-148,-153},{-155,-155,-166,-148,-167,-174},{-161,-171,-175,-175,-167,-161},{-153,-150,-151,-177,-161,-177},{-172,-145,-164,-153,-171,-153},{-166,-164,-174,-148,-171,-150},{-169,-158,-171,-161,-171,-150},{-147,-155,-164,-156,-155,-161},{-153,-156,-167,-145,-151,-164}},{{-174,-167,-147,-163,-148,-151},{-158,-148,-174,-174,-167,-150},{-164,-177,-151,-147,-145,-155},{-147,-169,-161,-145,-156,-171},{-147,-172,-158,-164,-153,-153},{-153,-177,-166,-147,-151,-151},{-167,-171,-172,-172,-167,-159},{-159,-155,-145,-163,-169,-148},{-147,-169,-172,-159,-161,-148},{-175,-151,-155,-166,-166,-172},{-153,-150,-166,-166,-156,-158},{-150,-150,-172,-174,-177,-156},{-151,-155,-155,-174,-167,-147},{-161,-151,-148,-147,-164,-163},{-169,-153,-148,-161,-164,-164},{-158,-167,-177,-153,-155,-163},{-177,-171,-169,-163,-161,-155},{-148,-147,-153,-172,-151,-147},{-171,-164,-147,-175,-164,-172},{-169,-177,-153,-174,-169,-164}},{{-155,-150,-150,-172,-164,-148},{-177,-177,-175,-151,-172,-175},{-155,-167,-150,-177,-153,-167},{-169,-147,-158,-153,-153,-164},{-147,-159,-164,-164,-174,-147},{-156,-148,-172,-159,-161,-151},{-163,-148,-169,-177,-167,-164},{-175,-148,-167,-145,-155,-156},{-177,-166,-163,-159,-145,-150},{-148,-169,-161,-169,-164,-150},{-171,-155,-171,-171,-153,-153},{-163,-150,-169,-174,-171,-174},{-153,-174,-172,-158,-172,-171},{-177,-166,-150,-169,-148,-145},{-148,-163,-167,-156,-150,-177},{-150,-150,-175,-153,-167,-148},{-167,-167,-167,-151,-151,-151},{-147,-163,-177,-177,-169,-164},{-169,-163,-174,-147,-163,-164},{-150,-147,-167,-177,-172,-167}},{{-177,-171,-158,-166,-148,-159},{-166,-163,-172,-174,-159,-147},{-175,-147,-172,-171,-151,-148},{-150,-167,-169,-147,-151,-166},{-159,-159,-155,-161,-153,-155},{-163,-156,-161,-171,-172,-164},{-167,-158,-156,-166,-155,-145},{-169,-158,-174,-156,-148,-175},{-150,-174,-174,-175,-172,-148},{-161,-164,-145,-161,-150,-175},{-159,-166,-163,-164,-167,-153},{-172,-163,-164,-151,-175,-175},{-174,-161,-177,-167,-150,-151},{-163,-158,-172,-159,-174,-171},{-150,-151,-174,-175,-166,-161},{-150,-174,-156,-163,-145,-171},{-166,-156,-158,-171,-153,-177},{-150,-156,-171,-150,-174,-159},{-167,-158,-166,-153,-155,-150},{-171,-166,-171,-166,-161,-147}},{{-159,-155,-147,-166,-159,-161},{-151,-147,-155,-166,-161,-166},{-148,-161,-161,-163,-161,-174},{-161,-159,-171,-156,-177,-169},{-156,-150,-153,-171,-174,-145},{-150,-147,-147,-172,-158,-174},{-158,-145,-169,-151,-159,-161},{-161,-159,-156,-177,-177,-147},{-174,-174,-161,-159,-175,-171},{-156,-145,-156,-158,-147,-159},{-167,-155,-175,-155,-177,-167},{-171,-155,-166,-153,-163,-177},{-159,-174,-167,-161,-174,-155},{-172,-145,-169,-151,-148,-164},{-163,-145,-155,-169,-153,-148},{-171,-148,-166,-153,-153,-151},{-171,-147,-147,-150,-169,-148},{-169,-166,-171,-169,-153,-155},{-145,-156,-177,-172,-151,-167},{-153,-167,-153,-145,-166,-147}},{{-151,-161,-151,-148,-153,-163},{-164,-151,-159,-148,-151,-161},{-161,-169,-158,-171,-147,-158},{-164,-161,-164,-171,-177,-151},{-177,-167,-163,-158,-159,-164},{-156,-145,-174,-151,-153,-150},{-155,-177,-158,-167,-151,-175},{-172,-172,-147,-175,-167,-164},{-156,-164,-169,-153,-148,-167},{-155,-151,-148,-169,-174,-169},{-150,-171,-148,-145,-175,-156},{-150,-150,-151,-147,-174,-163},{-159,-174,-174,-172,-169,-174},{-147,-148,-155,-177,-161,-177},{-161,-175,-148,-175,-169,-148},{-167,-156,-177,-166,-166,-175},{-167,-169,-148,-169,-147,-150},{-175,-169,-161,-155,-145,-166},{-153,-151,-169,-148,-175,-147},{-158,-155,-159,-151,-147,-169}},{{-153,-174,-163,-175,-163,-155},{-175,-175,-145,-155,-171,-167},{-164,-156,-147,-151,-153,-161},{-155,-169,-175,-147,-164,-158},{-163,-177,-175,-169,-153,-169},{-161,-172,-167,-153,-167,-161},{-158,-174,-150,-147,-151,-163},{-169,-156,-175,-171,-148,-145},{-151,-172,-145,-169,-177,-174},{-153,-163,-163,-169,-155,-151},{-155,-171,-171,-161,-151,-153},{-164,-148,-148,-171,-175,-174},{-155,-174,-153,-167,-147,-161},{-167,-174,-167,-167,-167,-169},{-158,-158,-148,-169,-153,-166},{-171,-151,-148,-177,-147,-150},{-151,-175,-145,-148,-174,-155},{-148,-156,-163,-172,-161,-151},{-147,-158,-151,-147,-177,-155},{-172,-145,-163,-172,-167,-161}}},{{{-233,-236,-208,-240,-222,-208},{-217,-233,-224,-245,-222,-224},{-243,-226,-249,-224,-240,-238},{-217,-236,-240,-254,-217,-222},{-226,-245,-217,-233,-254,-208},{-233,-213,-224,-240,-252,-245},{-231,-229,-226,-254,-236,-215},{-226,-231,-231,-215,-226,-219},{-247,-229,-236,-240,-219,-224},{-219,-222,-245,-217,-238,-219},{-226,-215,-252,-233,-252,-222},{-222,-217,-215,-240,-238,-243},{-252,-217,-231,-215,-226,-215},{-208,-249,-219,-217,-245,-247},{-229,-252,-213,-243,-243,-224},{-231,-208,-236,-231,-249,-215},{-252,-219,-245,-226,-236,-208},{-210,-249,-217,-229,-213,-226},{-252,-243,-238,-217,-219,-219},{-219,-240,-231,-215,-252,-222}},{{-210,-245,-243,-238,-222,-245},{-245,-226,-249,-252,-213,-217},{-247,-238,-240,-210,-252,-231},{-226,-219,-243,-245,-222,-238},{-247,-240,-215,-249,-243,-236},{-247,-208,-247,-215,-252,-217},{-226,-222,-222,-229,-222,-243},{-240,-238,-238,-243,-208,-208},{-249,-213,-213,-238,-219,-243},{-252,-215,-229,-233,-217,-222},{-233,-247,-254,-215,-222,-231},{-245,-208,-226,-252,-215,-245},{-208,-224,-240,-217,-243,-233},{-229,-240,-210,-217,-243,-245},{-231,-236,-247,-249,-231,-233},{-243,-210,-213,-213,-222,-210},{-210,-210,-215,-240,-252,-233},{-229,-238,-222,-240,-249,-226},{-222,-229,-210,-240,-217,-224},{-254,-210,-245,-222,-210,-217}},{{-249,-208,-243,-236,-252,-210},{-243,-233,-226,-243,-249,-222},{-245,-215,-238,-240,-217,-229},{-243,-236,-252,-249,-215,-252},{-233,-231,-217,-229,-247,-240},{-243,-254,-245,-240,-215,-231},{-219,-215,-252,-233,-245,-243},{-210,-213,-215,-217,-208,-229},{-249,-236,-243,-252,-233,-210},{-233,-240,-219,-210,-254,-231},{-215,-247,-224,-226,-231,-213},{-213,-245,-247,-215,-233,-254},{-233,-210,-219,-226,-210,-243},{-245,-217,-238,-233,-254,-252},{-222,-229,-249,-247,-236,-231},{-208,-208,-217,-249,-247,-222},{-208,-219,-245,-238,-222,-215},{-238,-240,-247,-243,-213,-219},{-219,-238,-222,-224,-243,-208},{-238,-243,-208,-233,-213,-215}},{{-208,-249,-217,-222,-217,-243},{-224,-213,-233,-247,-252,-215},{-224,-219,-215,-215,-222,-236},{-243,-226,-208,-219,-231,-245},{-238,-208,-243,-231,-231,-215},{-217,-249,-233,-231,-217,-238},{-254,-213,-252,-219,-213,-245},{-245,-249,-224,-245,-208,-210},{-240,-208,-247,-222,-240,-243},{-217,-231,-222,-231,-247,-249},{-224,-238,-249,-243,-247,-249},{-217,-254,-233,-215,-229,-236},{-222,-231,-210,-245,-224,-226},{-231,-222,-229,-215,-240,-238},{-236,-254,-213,-215,-222,-252},{-210,-236,-249,-231,-240,-210},{-224,-233,-215,-215,-210,-238},{-249,-229,-231,-215,-240,-238},{-226,-240,-236,-217,-210,-243},{-210,-226,-240,-229,-247,-243}},{{-217,-213,-217,-219,-254,-210},{-233,-236,-217,-252,-210,-208},{-243,-208,-213,-252,-233,-233},{-254,-229,-252,-233,-238,-224},{-222,-213,-245,-247,-213,-217},{-252,-236,-245,-254,-236,-217},{-229,-231,-236,-224,-245,-215},{-222,-236,-213,-238,-240,-238},{-252,-243,-222,-236,-229,-210},{-215,-210,-236,-238,-245,-217},{-240,-238,-222,-213,-245,-254},{-252,-238,-254,-229,-254,-249},{-236,-222,-210,-249,-252,-233},{-215,-219,-249,-224,-217,-224},{-233,-217,-226,-240,-222,-222},{-233,-215,-231,-208,-249,-219},{-231,-249,-240,-213,-252,-249},{-236,-249,-224,-254,-240,-215},{-217,-233,-222,-210,-224,-236},{-249,-229,-229,-219,-213,-222}},{{-210,-217,-210,-226,-254,-243},{-243,-247,-224,-210,-208,-247},{-252,-217,-252,-215,-217,-233},{-240,-229,-249,-219,-245,-249},{-245,-252,-231,-217,-243,-224},{-254,-249,-215,-215,-254,-222},{-240,-229,-222,-222,-240,-249},{-240,-247,-226,-240,-215,-243},{-222,-222,-217,-240,-219,-238},{-247,-217,-247,-215,-233,-222},{-224,-215,-233,-229,-222,-210},{-243,-231,-238,-222,-224,-247},{-219,-217,-222,-249,-233,-233},{-224,-231,-226,-213,-213,-208},{-215,-231,-254,-231,-240,-210},{-243,-224,-213,-208,-238,-224},{-229,-224,-226,-210,-210,-247},{-217,-213,-249,-243,-208,-236},{-213,-245,-240,-238,-245,-222},{-240,-217,-213,-210,-213,-247}},{{-229,-217,-219,-240,-208,-247},{-219,-215,-247,-213,-213,-252},{-213,-236,-245,-249,-243,-243},{-247,-229,-229,-219,-247,-231},{-219,-231,-215,-245,-224,-247},{-231,-217,-249,-217,-222,-222},{-245,-245,-210,-213,-231,-231},{-236,-213,-243,-208,-247,-224},{-236,-224,-236,-233,-219,-245},{-243,-210,-224,-226,-240,-245},{-222,-254,-249,-208,-247,-240},{-247,-222,-249,-229,-238,-219},{-210,-226,-215,-208,-208,-208},{-229,-215,-231,-229,-233,-219},{-247,-245,-219,-247,-236,-236},{-222,-219,-243,-249,-219,-213},{-240,-240,-210,-222,-208,-215},{-238,-254,-222,-215,-240,-226},{-210,-213,-236,-210,-229,-233},{-249,-243,-233,-249,-213,-238}},{{-249,-208,-208,-238,-215,-236},{-229,-208,-213,-252,-208,-236},{-252,-222,-229,-236,-254,-222},{-208,-219,-222,-249,-229,-236},{-215,-238,-217,-222,-243,-236},{-236,-249,-224,-252,-245,-226},{-210,-219,-208,-231,-252,-217},{-249,-233,-254,-233,-238,-226},{-233,-238,-210,-224,-240,-238},{-219,-210,-236,-243,-226,-231},{-236,-247,-213,-238,-222,-238},{-224,-210,-249,-247,-224,-236},{-252,-243,-219,-249,-252,-245},{-252,-222,-217,-229,-231,-233},{-213,-226,-226,-224,-238,-219},{-236,-222,-224,-224,-222,-217},{-215,-247,-249,-210,-229,-233},{-215,-236,-226,-213,-215,-224},{-208,-217,-245,-231,-231,-245},{-226,-254,-247,-243,-243,-224}},{{-240,-252,-247,-245,-240,-243},{-233,-240,-252,-217,-233,-226},{-226,-238,-233,-226,-236,-213},{-213,-238,-249,-240,-254,-245},{-226,-240,-219,-219,-215,-213},{-210,-229,-254,-254,-236,-236},{-233,-240,-226,-229,-210,-254},{-217,-249,-215,-210,-243,-222},{-226,-222,-243,-249,-252,-219},{-233,-231,-226,-229,-231,-249},{-210,-215,-222,-252,-210,-210},{-233,-247,-224,-236,-236,-245},{-226,-245,-233,-233,-217,-231},{-208,-226,-222,-240,-213,-252},{-245,-213,-210,-229,-229,-213},{-224,-245,-210,-224,-226,-252},{-249,-245,-224,-229,-229,-229},{-238,-243,-238,-229,-238,-247},{-219,-231,-233,-224,-231,-210},{-231,-219,-210,-249,-222,-233}}},{{{-206,-204,-226,-208,-208,-215},{-213,-197,-228,-219,-213,-195},{-219,-197,-219,-237,-217,-219},{-200,-237,-219,-230,-226,-215},{-206,-228,-206,-206,-200,-237},{-197,-217,-237,-200,-197,-213},{-200,-202,-228,-202,-224,-200},{-230,-228,-210,-237,-217,-215},{-226,-221,-232,-219,-219,-206},{-210,-195,-219,-197,-226,-239},{-195,-226,-219,-239,-230,-215},{-230,-228,-217,-210,-215,-221},{-215,-202,-226,-221,-221,-232},{-234,-239,-228,-206,-213,-195},{-232,-200,-221,-202,-202,-230},{-219,-195,-239,-221,-217,-230},{-230,-226,-200,-226,-215,-217},{-197,-210,-234,-230,-232,-213},{-200,-230,-226,-210,-200,-239},{-206,-226,-215,-197,-232,-224}},{{-195,-204,-230,-219,-221,-213},{-215,-206,-217,-221,-221,-228},{-206,-208,-213,-234,-213,-215},{-197,-224,-226,-234,-228,-221},{-239,-219,-217,-200,-219,-217},{-219,-208,-208,-226,-239,-239},{-213,-237,-239,-200,-206,-237},{-226,-202,-217,-226,-232,-210},{-202,-215,-202,-208,-234,-221},{-230,-200,-219,-215,-239,-230},{-204,-234,-195,-237,-210,-197},{-239,-200,-208,-232,-219,-217},{-230,-215,-200,-208,-215,-197},{-215,-226,-202,-202,-202,-217},{-232,-210,-213,-200,-219,-234},{-210,-200,-208,-200,-228,-215},{-200,-230,-239,-237,-210,-221},{-228,-195,-202,-197,-208,-204},{-232,-232,-237,-226,-210,-202},{-232,-213,-230,-239,-217,-230}},{{-213,-204,-210,-202,-230,-202},{-237,-217,-228,-197,-239,-208},{-213,-206,-200,-228,-221,-213},{-200,-208,-226,-215,-226,-204},{-215,-210,-197,-202,-239,-239},{-213,-217,-204,-228,-195,-213},{-197,-234,-234,-230,-197,-202},{-217,-237,-228,-226,-197,-219},{-224,-202,-208,-208,-219,-210},{-195,-219,-224,-232,-200,-197},{-237,-234,-210,-197,-195,-217},{-237,-230,-215,-232,-200,-226},{-206,-215,-224,-217,-234,-206},{-224,-224,-197,-202,-215,-200},{-200,-232,-215,-230,-206,-237},{-202,-232,-226,-239,-234,-230},{-224,-224,-195,-195,-230,-239},{-224,-200,-237,-215,-226,-232},{-200,-210,-208,-204,-215,-206},{-219,-195,-213,-228,-228,-206}},{{-217,-213,-215,-224,-239,-195},{-219,-202,-230,-204,-210,-230},{-204,-226,-217,-226,-206,-210},{-232,-208,-202,-228,-208,-200},{-228,-230,-239,-232,-204,-215},{-195,-228,-217,-215,-224,-239},{-206,-202,-200,-221,-234,-217},{-221,-217,-224,-213,-200,-219},{-197,-224,-217,-217,-228,-215},{-210,-200,-239,-204,-232,-204},{-221,-215,-210,-217,-195,-208},{-208,-219,-239,-204,-237,-213},{-206,-230,-226,-200,-219,-195},{-206,-200,-219,-213,-217,-195},{-224,-215,-195,-208,-239,-219},{-210,-202,-208,-228,-221,-239},{-215,-195,-202,-202,-215,-213},{-215,-217,-213,-197,-230,-195},{-195,-215,-206,-232,-228,-206},{-230,-237,-228,-217,-239,-219}},{{-230,-230,-234,-239,-210,-232},{-234,-206,-197,-224,-221,-200},{-217,-210,-213,-234,-232,-221},{-217,-228,-234,-239,-208,-210},{-217,-202,-200,-202,-197,-215},{-234,-228,-195,-200,-219,-208},{-219,-230,-197,-206,-197,-224},{-197,-217,-230,-228,-206,-202},{-202,-224,-202,-202,-239,-239},{-237,-224,-219,-197,-202,-226},{-226,-224,-230,-215,-232,-202},{-239,-202,-228,-195,-208,-197},{-217,-200,-226,-230,-226,-206},{-239,-234,-213,-217,-206,-230},{-239,-195,-206,-208,-221,-221},{-226,-224,-237,-221,-202,-219},{-200,-232,-197,-197,-230,-221},{-206,-237,-206,-202,-208,-200},{-221,-234,-230,-224,-224,-215},{-210,-202,-237,-197,-221,-206}},{{-230,-197,-221,-204,-208,-239},{-221,-213,-213,-228,-226,-228},{-239,-208,-237,-221,-226,-210},{-219,-237,-239,-197,-232,-197},{-204,-215,-237,-204,-224,-232},{-230,-224,-232,-232,-226,-230},{-230,-217,-204,-224,-210,-210},{-197,-210,-200,-226,-237,-224},{-197,-226,-200,-228,-200,-206},{-232,-239,-234,-228,-215,-215},{-204,-221,-217,-215,-206,-200},{-200,-215,-239,-219,-208,-210},{-234,-237,-208,-197,-239,-210},{-206,-204,-195,-228,-204,-230},{-215,-200,-219,-232,-228,-197},{-232,-230,-206,-217,-204,-228},{-219,-237,-200,-215,-234,-234},{-224,-204,-224,-237,-226,-213},{-232,-213,-232,-195,-234,-210},{-221,-195,-210,-239,-197,-197}},{{-204,-195,-217,-234,-219,-202},{-204,-224,-237,-226,-213,-206},{-217,-239,-217,-232,-230,-204},{-234,-239,-228,-195,-200,-200},{-202,-200,-213,-200,-206,-224},{-213,-204,-234,-195,-224,-232},{-208,-230,-234,-234,-195,-204},{-200,-239,-237,-217,-237,-232},{-224,-200,-239,-234,-221,-221},{-202,-226,-202,-234,-208,-239},{-202,-215,-215,-228,-197,-232},{-197,-206,-206,-232,-228,-200},{-213,-215,-200,-208,-224,-230},{-215,-219,-208,-210,-195,-208},{-230,-217,-210,-208,-200,-232},{-221,-228,-195,-230,-206,-195},{-206,-195,-213,-219,-204,-228},{-210,-226,-232,-234,-224,-224},{-210,-210,-200,-210,-208,-239},{-217,-206,-197,-219,-228,-206}},{{-217,-210,-226,-217,-210,-197},{-228,-224,-221,-202,-202,-234},{-217,-210,-239,-234,-215,-230},{-213,-200,-232,-221,-202,-202},{-219,-228,-224,-206,-224,-237},{-232,-232,-228,-213,-219,-208},{-197,-217,-219,-215,-230,-195},{-217,-217,-197,-206,-239,-213},{-208,-237,-226,-226,-195,-202},{-202,-195,-202,-219,-234,-239},{-217,-239,-215,-213,-232,-228},{-234,-228,-213,-234,-239,-230},{-217,-202,-228,-239,-204,-202},{-230,-197,-232,-202,-195,-224},{-197,-232,-213,-230,-221,-204},{-232,-230,-208,-200,-197,-202},{-232,-200,-206,-221,-213,-232},{-215,-197,-217,-221,-197,-219},{-200,-239,-204,-195,-208,-204},{-195,-237,-234,-232,-226,-202}},{{-224,-228,-215,-206,-208,-234},{-219,-230,-197,-213,-208,-219},{-224,-226,-210,-215,-232,-232},{-210,-213,-224,-237,-219,-221},{-200,-228,-204,-221,-234,-239},{-206,-226,-200,-226,-239,-213},{-221,-197,-230,-217,-230,-230},{-237,-221,-204,-204,-234,-228},{-226,-228,-210,-206,-221,-213},{-204,-208,-202,-224,-237,-237},{-208,-234,-224,-204,-224,-202},{-232,-204,-195,-202,-202,-228},{-200,-234,-215,-237,-228,-230},{-228,-226,-230,-219,-219,-217},{-217,-234,-210,-228,-224,-232},{-217,-204,-230,-234,-228,-202},{-206,-219,-232,-226,-210,-234},{-232,-213,-195,-213,-224,-234},{-210,-215,-213,-215,-195,-197},{-230,-215,-237,-226,-239,-202}}},{{{-258,-250,-263,-269,-285,-285},{-285,-258,-253,-269,-266,-255},{-266,-287,-271,-263,-255,-293},{-253,-261,-293,-242,-274,-245},{-290,-290,-258,-285,-242,-253},{-242,-253,-279,-261,-239,-258},{-255,-242,-287,-274,-255,-274},{-250,-290,-242,-287,-271,-253},{-266,-255,-279,-255,-250,-253},{-271,-279,-250,-274,-271,-245},{-279,-290,-242,-287,-279,-285},{-253,-255,-261,-245,-290,-287},{-239,-271,-282,-271,-269,-255},{-255,-277,-293,-293,-277,-293},{-277,-287,-253,-266,-247,-287},{-279,-293,-287,-277,-290,-247},{-250,-274,-266,-266,-287,-274},{-279,-287,-250,-239,-263,-247},{-261,-269,-245,-290,-269,-274},{-239,-287,-261,-269,-282,-279}},{{-250,-247,-282,-245,-269,-293},{-242,-293,-253,-253,-247,-282},{-285,-255,-287,-258,-263,-285},{-269,-274,-258,-269,-253,-279},{-269,-253,-245,-274,-245,-250},{-269,-282,-287,-293,-263,-255},{-269,-287,-247,-269,-261,-293},{-287,-282,-271,-293,-279,-261},{-239,-282,-266,-258,-258,-271},{-242,-293,-255,-266,-258,-271},{-290,-242,-258,-239,-282,-261},{-266,-258,-282,-285,-253,-293},{-271,-250,-242,-250,-266,-282},{-285,-282,-255,-266,-282,-290},{-293,-266,-269,-282,-261,-269},{-271,-290,-293,-239,-274,-266},{-258,-274,-239,-277,-293,-247},{-279,-253,-253,-245,-277,-277},{-247,-287,-253,-242,-285,-293},{-266,-250,-253,-250,-274,-287}},{{-245,-269,-285,-253,-239,-271},{-263,-271,-266,-255,-282,-245},{-261,-274,-293,-277,-261,-285},{-287,-245,-245,-258,-293,-285},{-290,-253,-271,-269,-261,-282},{-269,-253,-242,-269,-271,-258},{-247,-293,-287,-269,-266,-274},{-285,-271,-266,-263,-245,-253},{-269,-245,-247,-247,-290,-282},{-242,-285,-253,-287,-239,-271},{-279,-261,-245,-287,-269,-250},{-263,-242,-247,-239,-279,-279},{-261,-277,-245,-263,-290,-245},{-279,-290,-269,-253,-263,-285},{-245,-245,-250,-293,-271,-293},{-255,-247,-277,-293,-258,-242},{-255,-282,-293,-285,-261,-282},{-245,-287,-247,-253,-269,-282},{-290,-271,-287,-263,-271,-287},{-293,-242,-269,-293,-290,-293}},{{-266,-239,-263,-239,-290,-290},{-245,-293,-266,-261,-285,-242},{-245,-250,-245,-253,-269,-258},{-269,-261,-263,-293,-253,-253},{-263,-263,-269,-239,-269,-258},{-253,-271,-279,-282,-242,-290},{-258,-266,-250,-258,-290,-255},{-255,-242,-293,-245,-258,-269},{-245,-266,-279,-258,-271,-239},{-282,-290,-253,-282,-285,-290},{-245,-269,-269,-245,-285,-266},{-245,-287,-287,-266,-285,-293},{-245,-277,-253,-255,-253,-266},{-245,-263,-282,-287,-274,-271},{-287,-261,-258,-250,-269,-250},{-287,-242,-250,-253,-287,-282},{-287,-285,-258,-279,-258,-245},{-247,-261,-279,-239,-293,-258},{-271,-258,-277,-242,-258,-263},{-263,-269,-242,-266,-261,-279}},{{-250,-285,-287,-242,-282,-279},{-242,-239,-282,-287,-269,-258},{-247,-266,-242,-277,-261,-271},{-282,-279,-274,-261,-269,-261},{-287,-266,-287,-263,-269,-250},{-253,-242,-263,-290,-245,-242},{-277,-239,-242,-290,-239,-247},{-287,-239,-287,-255,-271,-258},{-266,-279,-293,-250,-247,-274},{-287,-247,-290,-247,-266,-277},{-290,-250,-258,-271,-242,-263},{-247,-245,-247,-271,-282,-277},{-290,-290,-258,-242,-263,-266},{-245,-261,-287,-285,-274,-269},{-290,-269,-242,-245,-247,-282},{-258,-250,-255,-279,-287,-282},{-282,-277,-258,-263,-261,-239},{-239,-269,-293,-285,-258,-258},{-269,-277,-245,-245,-266,-285},{-250,-263,-285,-271,-287,-293}},{{-293,-290,-282,-253,-247,-239},{-271,-253,-263,-242,-266,-285},{-269,-282,-282,-266,-282,-271},{-239,-266,-271,-245,-255,-255},{-290,-258,-263,-250,-258,-287},{-247,-271,-271,-293,-287,-293},{-271,-242,-258,-287,-287,-263},{-279,-253,-253,-282,-263,-239},{-245,-242,-287,-266,-290,-271},{-274,-274,-274,-247,-258,-277},{-271,-250,-263,-293,-287,-258},{-285,-266,-285,-271,-293,-285},{-250,-266,-269,-269,-247,-250},{-250,-274,-274,-258,-277,-250},{-261,-271,-266,-250,-261,-290},{-282,-247,-242,-269,-247,-242},{-279,-279,-274,-269,-247,-279},{-271,-263,-261,-266,-277,-282},{-271,-293,-287,-277,-258,-258},{-282,-258,-255,-253,-261,-282}},{{-239,-253,-271,-239,-261,-266},{-258,-287,-279,-274,-263,-269},{-239,-271,-250,-255,-263,-266},{-287,-239,-263,-250,-277,-279},{-293,-242,-287,-274,-261,-255},{-285,-271,-274,-279,-250,-279},{-279,-271,-239,-250,-285,-253},{-269,-285,-239,-274,-250,-263},{-261,-274,-274,-279,-279,-282},{-274,-242,-274,-263,-250,-255},{-269,-287,-285,-290,-261,-293},{-239,-242,-258,-258,-287,-266},{-245,-261,-263,-287,-274,-271},{-271,-255,-266,-266,-255,-253},{-258,-266,-290,-255,-290,-274},{-282,-282,-253,-290,-250,-245},{-258,-277,-242,-290,-261,-239},{-293,-255,-261,-245,-253,-293},{-253,-266,-282,-279,-239,-285},{-287,-285,-282,-250,-277,-250}},{{-271,-258,-250,-290,-282,-290},{-239,-250,-258,-279,-266,-293},{-245,-242,-261,-247,-239,-279},{-258,-255,-250,-242,-290,-269},{-293,-263,-274,-253,-274,-253},{-293,-255,-266,-242,-282,-242},{-239,-242,-253,-279,-242,-263},{-253,-245,-282,-258,-269,-258},{-290,-247,-239,-269,-250,-271},{-274,-269,-245,-263,-282,-282},{-242,-285,-287,-263,-242,-287},{-287,-247,-253,-239,-269,-247},{-279,-239,-255,-250,-239,-245},{-255,-263,-261,-258,-287,-271},{-285,-269,-277,-271,-274,-242},{-269,-282,-263,-263,-239,-290},{-271,-253,-266,-293,-247,-263},{-293,-271,-242,-253,-277,-271},{-271,-285,-255,-282,-255,-274},{-250,-261,-239,-242,-250,-271}},{{-261,-255,-274,-263,-239,-250},{-287,-282,-287,-247,-271,-274},{-245,-266,-274,-277,-253,-290},{-285,-255,-266,-245,-242,-258},{-290,-293,-279,-266,-282,-239},{-277,-285,-263,-255,-266,-261},{-239,-269,-250,-277,-277,-255},{-282,-253,-253,-247,-269,-261},{-261,-266,-287,-258,-279,-293},{-274,-277,-266,-239,-282,-242},{-279,-239,-250,-261,-271,-258},{-274,-282,-258,-250,-285,-253},{-266,-266,-274,-255,-263,-263},{-263,-239,-258,-263,-239,-242},{-277,-266,-290,-245,-271,-247},{-277,-290,-269,-269,-290,-277},{-255,-239,-258,-239,-239,-258},{-277,-255,-279,-266,-250,-274},{-274,-285,-279,-263,-274,-266},{-245,-258,-290,-274,-247,-293}}},{{{-258,-263,-288,-294,-300,-294},{-258,-286,-274,-272,-308,-294},{-305,-286,-255,-308,-252,-269},{-305,-294,-277,-291,-291,-286},{-302,-297,-300,-274,-255,-297},{-269,-297,-302,-302,-288,-288},{-288,-269,-258,-308,-300,-291},{-308,-291,-305,-297,-277,-286},{-283,-255,-305,-283,-291,-300},{-305,-266,-272,-274,-297,-252},{-297,-302,-302,-277,-263,-260},{-305,-294,-258,-263,-272,-258},{-302,-291,-269,-277,-263,-305},{-277,-263,-274,-272,-288,-260},{-260,-294,-280,-274,-274,-300},{-266,-305,-294,-308,-302,-300},{-291,-297,-266,-258,-286,-300},{-260,-288,-258,-263,-305,-305},{-308,-286,-277,-263,-297,-302},{-308,-308,-294,-266,-266,-272}},{{-258,-300,-300,-263,-258,-274},{-280,-297,-308,-274,-260,-286},{-266,-266,-258,-274,-269,-255},{-286,-302,-294,-272,-302,-280},{-297,-266,-297,-274,-263,-258},{-305,-258,-280,-305,-308,-291},{-283,-308,-288,-305,-280,-252},{-258,-274,-263,-252,-272,-294},{-280,-269,-308,-300,-288,-302},{-286,-308,-286,-297,-297,-302},{-308,-269,-266,-302,-294,-297},{-269,-286,-286,-252,-269,-260},{-280,-288,-258,-286,-269,-263},{-269,-305,-252,-266,-277,-283},{-294,-258,-269,-260,-255,-277},{-277,-297,-288,-283,-294,-305},{-300,-269,-260,-260,-269,-263},{-252,-260,-280,-294,-283,-269},{-297,-260,-308,-277,-277,-302},{-263,-263,-300,-260,-258,-274}},{{-263,-297,-252,-255,-286,-272},{-272,-297,-266,-291,-260,-274},{-266,-266,-297,-277,-308,-305},{-266,-283,-280,-252,-280,-302},{-297,-291,-266,-280,-294,-291},{-302,-260,-302,-266,-288,-263},{-260,-294,-294,-266,-255,-308},{-308,-300,-300,-297,-286,-283},{-286,-263,-263,-266,-300,-294},{-297,-260,-252,-263,-258,-302},{-274,-260,-272,-272,-308,-255},{-258,-297,-283,-277,-255,-263},{-283,-266,-252,-258,-308,-288},{-260,-283,-255,-272,-266,-277},{-272,-263,-258,-255,-260,-258},{-286,-297,-308,-258,-291,-266},{-269,-274,-283,-277,-283,-266},{-297,-277,-255,-272,-272,-277},{-283,-283,-308,-286,-272,-252},{-266,-283,-286,-258,-252,-258}},{{-280,-305,-274,-288,-252,-269},{-272,-258,-272,-288,-288,-274},{-286,-252,-255,-277,-302,-291},{-308,-269,-260,-308,-291,-269},{-302,-291,-308,-308,-252,-266},{-266,-294,-302,-255,-294,-258},{-308,-294,-277,-300,-274,-263},{-286,-297,-274,-308,-252,-266},{-288,-283,-277,-280,-297,-272},{-277,-288,-300,-280,-260,-297},{-286,-300,-266,-260,-274,-294},{-266,-258,-252,-280,-272,-280},{-288,-255,-260,-291,-305,-272},{-277,-277,-266,-291,-263,-302},{-274,-286,-283,-300,-302,-255},{-294,-297,-283,-288,-280,-286},{-305,-258,-260,-272,-280,-263},{-258,-291,-277,-305,-305,-255},{-263,-288,-260,-286,-255,-258},{-291,-280,-252,-258,-263,-300}},{{-252,-294,-305,-291,-305,-266},{-269,-255,-291,-283,-263,-302},{-294,-255,-302,-308,-269,-258},{-263,-260,-277,-308,-300,-269},{-274,-302,-255,-266,-277,-291},{-297,-302,-269,-297,-297,-291},{-272,-280,-258,-266,-255,-255},{-280,-255,-266,-294,-297,-291},{-286,-252,-280,-300,-269,-283},{-302,-286,-258,-274,-255,-297},{-302,-269,-269,-286,-277,-272},{-258,-283,-286,-272,-269,-274},{-286,-274,-269,-277,-286,-286},{-255,-269,-266,-274,-280,-280},{-302,-286,-297,-305,-300,-260},{-274,-294,-269,-266,-308,-252},{-260,-252,-260,-277,-300,-305},{-263,-252,-305,-263,-302,-258},{-260,-288,-252,-302,-291,-291},{-297,-302,-266,-291,-263,-263}},{{-277,-266,-294,-300,-288,-297},{-272,-305,-277,-274,-272,-291},{-260,-269,-288,-291,-302,-266},{-300,-283,-302,-294,-263,-283},{-263,-286,-300,-286,-291,-263},{-263,-305,-297,-269,-277,-286},{-294,-255,-297,-252,-302,-288},{-302,-252,-297,-302,-302,-255},{-300,-263,-274,-280,-288,-260},{-302,-266,-291,-266,-288,-266},{-272,-305,-255,-283,-260,-263},{-305,-288,-305,-274,-300,-297},{-272,-283,-308,-255,-277,-255},{-297,-277,-297,-294,-255,-280},{-272,-269,-286,-263,-258,-258},{-291,-291,-263,-294,-297,-274},{-283,-297,-277,-288,-252,-288},{-266,-291,-300,-297,-272,-286},{-272,-308,-277,-255,-252,-260},{-291,-252,-291,-297,-288,-269}},{{-308,-300,-291,-308,-272,-280},{-294,-263,-288,-302,-305,-263},{-294,-280,-288,-277,-286,-288},{-277,-288,-260,-283,-302,-291},{-258,-260,-274,-291,-305,-297},{-258,-277,-266,-274,-300,-305},{-288,-266,-252,-300,-258,-294},{-277,-269,-263,-280,-258,-302},{-297,-272,-277,-280,-283,-274},{-288,-263,-280,-297,-291,-274},{-302,-286,-302,-297,-277,-300},{-272,-252,-286,-288,-258,-277},{-269,-283,-272,-269,-258,-266},{-272,-283,-269,-302,-300,-297},{-258,-302,-286,-300,-305,-266},{-269,-266,-283,-286,-263,-266},{-291,-308,-294,-294,-294,-274},{-308,-269,-286,-294,-258,-302},{-266,-294,-255,-269,-294,-291},{-272,-305,-294,-269,-272,-291}},{{-308,-300,-277,-260,-280,-280},{-305,-283,-308,-260,-294,-266},{-302,-308,-283,-255,-269,-263},{-283,-283,-277,-266,-294,-305},{-266,-308,-300,-286,-302,-255},{-300,-258,-308,-252,-283,-277},{-286,-291,-286,-277,-288,-274},{-252,-266,-302,-266,-288,-294},{-266,-272,-252,-263,-300,-258},{-269,-260,-294,-286,-297,-286},{-269,-277,-277,-280,-300,-252},{-272,-258,-252,-266,-260,-294},{-308,-252,-255,-269,-302,-283},{-280,-283,-280,-255,-272,-300},{-266,-266,-280,-274,-252,-286},{-286,-297,-288,-258,-305,-305},{-283,-291,-302,-255,-294,-297},{-258,-305,-288,-252,-288,-300},{-300,-269,-280,-280,-300,-260},{-300,-305,-302,-266,-302,-252}},{{-294,-280,-274,-263,-272,-269},{-302,-288,-266,-286,-252,-260},{-269,-255,-255,-272,-283,-263},{-300,-286,-252,-277,-263,-305},{-260,-305,-274,-308,-277,-283},{-291,-269,-280,-291,-260,-266},{-297,-272,-280,-302,-286,-305},{-255,-286,-266,-305,-286,-291},{-266,-305,-286,-286,-283,-260},{-291,-269,-263,-300,-294,-286},{-305,-283,-272,-288,-277,-302},{-283,-258,-274,-308,-305,-291},{-277,-277,-252,-283,-260,-269},{-302,-266,-297,-305,-288,-305},{-300,-294,-260,-272,-294,-258},{-302,-291,-258,-302,-300,-302},{-252,-269,-300,-283,-272,-300},{-252,-255,-305,-252,-286,-260},{-286,-252,-258,-291,-308,-283},{-291,-305,-258,-283,-297,-291}}},{{{-283,-300,-255,-266,-269,-308},{-294,-286,-252,-291,-269,-302},{-260,-258,-280,-283,-272,-274},{-291,-291,-263,-266,-263,-283},{-274,-258,-308,-252,-286,-294},{-269,-258,-260,-286,-277,-308},{-263,-300,-252,-252,-258,-294},{-297,-266,-252,-258,-280,-286},{-255,-280,-291,-255,-277,-269},{-277,-302,-260,-294,-260,-258},{-272,-294,-266,-283,-258,-277},{-291,-305,-277,-288,-283,-302},{-308,-269,-286,-255,-286,-305},{-305,-305,-294,-277,-283,-266},{-274,-305,-266,-305,-294,-263},{-291,-272,-274,-272,-300,-297},{-297,-269,-277,-266,-286,-258},{-308,-286,-291,-280,-294,-297},{-280,-308,-280,-286,-272,-302},{-263,-280,-297,-280,-258,-294}},{{-252,-280,-272,-294,-255,-269},{-269,-283,-266,-252,-291,-255},{-258,-266,-258,-272,-294,-277},{-252,-286,-280,-283,-260,-291},{-300,-297,-280,-288,-272,-258},{-294,-280,-258,-297,-266,-302},{-269,-274,-269,-274,-294,-300},{-277,-272,-277,-283,-280,-297},{-252,-263,-255,-286,-269,-263},{-308,-302,-272,-286,-294,-305},{-255,-272,-252,-308,-305,-291},{-269,-266,-283,-300,-302,-274},{-266,-308,-272,-258,-308,-269},{-288,-258,-302,-302,-294,-288},{-280,-258,-272,-266,-302,-308},{-252,-252,-274,-266,-269,-280},{-305,-294,-286,-308,-260,-302},{-272,-294,-263,-308,-255,-305},{-280,-297,-266,-297,-297,-308},{-280,-260,-260,-283,-280,-272}},{{-255,-288,-294,-297,-274,-263},{-272,-280,-280,-272,-308,-288},{-286,-272,-274,-260,-263,-263},{-288,-269,-274,-272,-302,-308},{-269,-302,-272,-308,-288,-274},{-291,-263,-297,-283,-300,-255},{-263,-260,-266,-274,-288,-252},{-263,-252,-258,-266,-302,-269},{-272,-308,-288,-277,-272,-274},{-252,-260,-305,-255,-258,-255},{-291,-280,-269,-274,-308,-297},{-269,-252,-297,-288,-280,-260},{-277,-302,-269,-252,-305,-291},{-283,-308,-297,-266,-294,-283},{-260,-302,-302,-272,-291,-286},{-291,-280,-302,-269,-266,-300},{-280,-274,-269,-252,-260,-258},{-288,-283,-277,-283,-274,-277},{-283,-269,-274,-308,-277,-266},{-274,-283,-302,-300,-297,-280}},{{-266,-308,-266,-280,-291,-291},{-286,-305,-266,-277,-286,-263},{-266,-263,-297,-286,-260,-300},{-283,-252,-308,-291,-291,-280},{-305,-291,-308,-263,-283,-266},{-297,-300,-283,-286,-305,-305},{-277,-263,-302,-288,-255,-280},{-255,-260,-258,-269,-280,-272},{-305,-288,-280,-274,-277,-274},{-260,-286,-255,-288,-266,-280},{-305,-286,-252,-297,-258,-266},{-274,-277,-280,-263,-286,-302},{-263,-272,-297,-305,-252,-277},{-305,-266,-269,-283,-272,-274},{-288,-258,-255,-291,-258,-258},{-263,-272,-263,-272,-260,-294},{-255,-263,-260,-260,-294,-255},{-263,-288,-294,-274,-297,-252},{-255,-302,-266,-302,-277,-302},{-308,-308,-280,-280,-272,-291}},{{-294,-263,-255,-308,-288,-308},{-288,-260,-308,-308,-308,-291},{-255,-297,-258,-305,-297,-255},{-274,-260,-305,-305,-302,-260},{-263,-255,-263,-255,-286,-269},{-252,-305,-291,-294,-288,-286},{-266,-294,-302,-280,-286,-297},{-263,-300,-269,-263,-297,-302},{-280,-260,-274,-305,-280,-258},{-288,-297,-277,-283,-300,-302},{-274,-260,-274,-252,-266,-294},{-260,-260,-252,-277,-294,-274},{-272,-274,-277,-260,-302,-252},{-269,-302,-308,-308,-302,-286},{-283,-297,-294,-283,-291,-272},{-280,-252,-272,-263,-302,-283},{-269,-308,-252,-300,-269,-297},{-255,-286,-291,-297,-297,-260},{-302,-283,-297,-260,-266,-266},{-308,-297,-280,-305,-258,-274}},{{-252,-302,-288,-280,-260,-297},{-300,-305,-263,-252,-302,-263},{-280,-288,-305,-291,-277,-286},{-269,-258,-258,-283,-286,-263},{-277,-308,-274,-280,-274,-283},{-269,-286,-294,-260,-280,-302},{-266,-294,-277,-255,-308,-255},{-300,-308,-277,-300,-297,-277},{-255,-286,-266,-288,-300,-272},{-255,-302,-258,-280,-255,-255},{-260,-280,-272,-283,-291,-266},{-297,-283,-308,-255,-260,-283},{-294,-272,-280,-308,-294,-291},{-288,-263,-258,-260,-300,-288},{-263,-266,-274,-260,-294,-283},{-263,-294,-294,-308,-294,-252},{-274,-291,-300,-308,-255,-291},{-269,-260,-272,-266,-274,-274},{-272,-305,-291,-286,-252,-305},{-274,-252,-308,-255,-300,-260}},{{-263,-288,-283,-297,-288,-286},{-305,-294,-286,-255,-272,-263},{-300,-291,-308,-263,-283,-302},{-269,-260,-252,-294,-258,-305},{-263,-274,-305,-300,-288,-260},{-305,-277,-283,-288,-291,-288},{-294,-280,-252,-305,-258,-266},{-274,-308,-291,-272,-308,-266},{-269,-263,-297,-266,-283,-255},{-277,-263,-302,-302,-286,-305},{-305,-266,-308,-305,-269,-266},{-297,-269,-269,-308,-252,-269},{-297,-283,-269,-274,-272,-272},{-272,-260,-269,-252,-302,-266},{-274,-255,-297,-280,-291,-294},{-280,-305,-286,-300,-255,-291},{-269,-305,-272,-288,-277,-277},{-291,-305,-300,-291,-286,-260},{-300,-263,-260,-286,-258,-269},{-302,-283,-297,-305,-274,-308}},{{-280,-277,-274,-291,-305,-258},{-300,-280,-308,-269,-283,-283},{-277,-286,-280,-283,-300,-258},{-294,-277,-266,-255,-300,-260},{-260,-291,-286,-252,-286,-272},{-252,-255,-302,-260,-266,-274},{-280,-308,-255,-274,-252,-274},{-266,-294,-266,-272,-277,-283},{-260,-272,-305,-266,-305,-272},{-302,-260,-263,-266,-263,-266},{-300,-288,-258,-294,-280,-302},{-272,-302,-266,-283,-302,-308},{-274,-300,-272,-305,-272,-255},{-305,-266,-305,-277,-260,-288},{-286,-269,-266,-272,-300,-263},{-308,-272,-260,-305,-308,-294},{-288,-255,-291,-274,-272,-297},{-258,-286,-302,-305,-294,-263},{-263,-269,-305,-294,-305,-283},{-258,-272,-297,-258,-280,-308}},{{-294,-274,-255,-252,-302,-280},{-302,-274,-302,-288,-277,-277},{-258,-286,-260,-286,-272,-308},{-283,-291,-297,-302,-294,-283},{-294,-297,-272,-291,-263,-260},{-277,-274,-277,-272,-300,-260},{-283,-252,-269,-308,-302,-286},{-272,-280,-263,-294,-280,-260},{-302,-288,-291,-266,-283,-300},{-283,-308,-266,-280,-283,-302},{-280,-283,-280,-286,-302,-258},{-283,-269,-277,-286,-255,-252},{-291,-288,-280,-300,-269,-263},{-288,-288,-283,-263,-291,-286},{-252,-280,-272,-272,-260,-252},{-252,-280,-283,-291,-255,-286},{-277,-280,-255,-305,-286,-302},{-308,-302,-302,-255,-260,-305},{-286,-252,-266,-277,-272,-252},{-283,-263,-255,-263,-252,-280}}},{{{-294,-300,-300,-277,-266,-305},{-266,-297,-302,-260,-252,-263},{-291,-252,-260,-297,-269,-300},{-263,-272,-305,-280,-260,-280},{-291,-260,-266,-294,-263,-260},{-255,-258,-260,-280,-266,-277},{-297,-305,-297,-252,-252,-300},{-288,-274,-294,-269,-252,-260},{-280,-252,-294,-260,-260,-294},{-263,-288,-300,-294,-297,-266},{-291,-297,-255,-300,-297,-258},{-294,-272,-272,-297,-263,-252},{-288,-302,-302,-300,-305,-308},{-258,-272,-288,-260,-302,-277},{-291,-297,-274,-294,-302,-255},{-308,-280,-274,-300,-266,-277},{-297,-283,-308,-280,-260,-308},{-308,-266,-288,-272,-286,-308},{-291,-269,-255,-274,-274,-266},{-286,-255,-266,-280,-288,-258}},{{-291,-291,-291,-252,-286,-280},{-280,-305,-255,-286,-294,-277},{-288,-305,-280,-288,-305,-274},{-252,-297,-280,-294,-288,-280},{-252,-258,-308,-300,-252,-260},{-258,-263,-255,-294,-294,-269},{-305,-269,-291,-263,-302,-308},{-302,-305,-252,-300,-269,-288},{-288,-260,-305,-288,-280,-294},{-274,-252,-294,-297,-300,-269},{-288,-288,-297,-255,-255,-260},{-283,-305,-274,-269,-305,-274},{-302,-266,-252,-274,-305,-258},{-300,-288,-258,-255,-291,-291},{-302,-305,-297,-272,-272,-283},{-266,-288,-277,-308,-280,-294},{-308,-291,-286,-302,-308,-300},{-308,-305,-286,-280,-297,-274},{-260,-288,-263,-277,-280,-291},{-277,-308,-300,-308,-283,-297}},{{-272,-277,-272,-283,-294,-266},{-294,-280,-302,-305,-260,-274},{-252,-252,-280,-263,-266,-260},{-294,-294,-274,-286,-266,-255},{-294,-260,-291,-274,-286,-294},{-269,-302,-305,-266,-274,-286},{-260,-266,-280,-291,-258,-260},{-291,-302,-258,-263,-258,-283},{-286,-294,-266,-294,-280,-266},{-302,-274,-302,-308,-291,-252},{-291,-288,-260,-300,-263,-288},{-297,-252,-294,-300,-277,-283},{-272,-294,-291,-291,-308,-302},{-294,-258,-277,-288,-272,-277},{-252,-263,-305,-274,-274,-302},{-305,-291,-308,-252,-291,-277},{-277,-294,-255,-255,-280,-263},{-302,-266,-308,-294,-252,-269},{-286,-258,-300,-283,-308,-308},{-300,-288,-283,-280,-286,-305}},{{-305,-280,-258,-286,-277,-283},{-263,-252,-288,-272,-308,-274},{-288,-308,-283,-283,-283,-308},{-260,-258,-297,-297,-272,-260},{-263,-302,-291,-291,-283,-272},{-263,-260,-308,-255,-252,-280},{-255,-286,-297,-288,-308,-269},{-255,-272,-266,-283,-263,-291},{-260,-308,-258,-258,-308,-255},{-288,-272,-272,-280,-263,-300},{-272,-258,-252,-258,-286,-263},{-302,-252,-258,-269,-269,-255},{-294,-286,-288,-266,-302,-272},{-269,-288,-294,-294,-297,-305},{-272,-302,-297,-266,-294,-280},{-297,-297,-280,-272,-255,-255},{-300,-280,-300,-294,-305,-266},{-283,-274,-283,-302,-255,-260},{-302,-286,-263,-269,-263,-300},{-266,-302,-300,-263,-258,-252}},{{-291,-297,-286,-260,-263,-280},{-258,-255,-280,-260,-266,-274},{-302,-260,-300,-286,-260,-283},{-286,-252,-255,-280,-263,-280},{-286,-300,-286,-272,-286,-283},{-288,-269,-302,-266,-283,-305},{-274,-260,-291,-274,-308,-277},{-291,-263,-294,-288,-269,-283},{-297,-260,-260,-305,-305,-260},{-283,-308,-280,-283,-280,-266},{-297,-258,-272,-252,-272,-297},{-263,-286,-280,-283,-283,-305},{-258,-255,-286,-308,-258,-260},{-288,-274,-269,-272,-272,-300},{-258,-269,-266,-294,-308,-252},{-283,-266,-260,-272,-302,-297},{-297,-255,-291,-260,-297,-305},{-269,-266,-280,-294,-255,-272},{-300,-255,-291,-288,-272,-308},{-266,-302,-272,-305,-260,-300}},{{-291,-300,-277,-280,-274,-266},{-302,-269,-302,-274,-258,-272},{-294,-280,-252,-258,-300,-291},{-277,-283,-286,-280,-302,-302},{-274,-258,-255,-252,-300,-294},{-269,-308,-266,-297,-308,-252},{-277,-297,-283,-266,-294,-286},{-294,-260,-283,-280,-277,-258},{-263,-255,-260,-288,-255,-291},{-272,-277,-260,-274,-269,-274},{-291,-297,-283,-277,-308,-280},{-308,-283,-263,-294,-277,-263},{-252,-308,-269,-255,-277,-266},{-274,-294,-263,-263,-294,-272},{-269,-269,-258,-291,-277,-280},{-286,-302,-305,-294,-297,-258},{-258,-302,-300,-305,-272,-277},{-255,-308,-274,-291,-263,-297},{-305,-252,-269,-286,-283,-308},{-272,-294,-274,-305,-255,-283}},{{-291,-274,-297,-288,-300,-305},{-283,-297,-258,-286,-291,-266},{-302,-269,-305,-260,-252,-288},{-258,-266,-280,-258,-269,-283},{-300,-291,-283,-302,-272,-283},{-258,-283,-294,-252,-272,-274},{-294,-255,-280,-272,-272,-266},{-252,-297,-272,-286,-288,-300},{-308,-283,-255,-283,-302,-294},{-302,-277,-274,-266,-272,-266},{-258,-291,-283,-288,-277,-258},{-252,-302,-288,-283,-277,-277},{-258,-280,-300,-252,-286,-255},{-260,-274,-286,-272,-302,-260},{-300,-297,-286,-277,-300,-280},{-302,-274,-288,-277,-274,-305},{-286,-260,-280,-274,-272,-297},{-283,-286,-255,-269,-294,-305},{-255,-260,-252,-297,-277,-291},{-266,-297,-300,-302,-294,-260}},{{-286,-252,-263,-291,-263,-302},{-300,-255,-294,-297,-302,-260},{-300,-283,-291,-274,-302,-300},{-277,-305,-300,-255,-258,-305},{-263,-269,-258,-266,-288,-286},{-283,-288,-297,-277,-258,-297},{-258,-297,-302,-291,-269,-277},{-266,-291,-260,-258,-283,-300},{-252,-308,-305,-263,-272,-258},{-286,-263,-297,-272,-305,-258},{-280,-300,-288,-277,-308,-297},{-260,-266,-280,-266,-260,-305},{-305,-258,-283,-288,-266,-260},{-294,-258,-255,-263,-288,-272},{-283,-255,-302,-258,-280,-280},{-263,-283,-305,-283,-277,-305},{-286,-302,-286,-255,-294,-263},{-300,-263,-266,-302,-294,-272},{-269,-286,-274,-263,-266,-266},{-297,-260,-294,-272,-269,-274}},{{-291,-260,-294,-305,-280,-291},{-272,-305,-305,-291,-294,-252},{-308,-288,-280,-258,-288,-280},{-266,-269,-305,-308,-266,-286},{-286,-286,-291,-308,-283,-294},{-272,-288,-294,-272,-272,-308},{-274,-286,-297,-291,-294,-283},{-300,-269,-286,-283,-286,-260},{-291,-288,-255,-283,-255,-291},{-294,-266,-269,-302,-286,-302},{-260,-291,-252,-280,-297,-305},{-300,-274,-288,-252,-260,-266},{-297,-302,-272,-302,-280,-308},{-255,-308,-280,-269,-258,-266},{-288,-291,-266,-305,-266,-288},{-272,-308,-252,-280,-274,-302},{-302,-283,-283,-300,-272,-274},{-291,-266,-302,-283,-305,-302},{-255,-266,-255,-297,-294,-272},{-308,-260,-286,-286,-302,-269}}}}; // supply (positive for supply and negative for demand) under different scenarios 
int iniv[I]={2070,261,23,150,170,304,400,300,160}; // initial inventory 
int ubiv[I]={2740,522,414,300,341,608,800,600,320}; // the upper bounds of inventory 
int len[I1][I2]={{3,6,2,2,3,3,2,1}}; // 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,7.19,13.32,4.32,2.64,5.16,6.85,4.63,1.82}; // 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]={{6.54,12.11,3.93,2.4,4.69,6.23,4.21,1.65}}; // 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]={5.23,5.23,5.23,4.58,4.58,4.58,3.92,3.92,3.92,9.69,9.69,9.69,8.48,8.48,8.48,7.27,7.27,7.27,3.14,3.14,3.14,2.75,2.75,2.75,2.36,2.36,2.36,1.92,1.92,1.92,1.68,1.68,1.68,1.44,1.44,1.44,3.75,3.75,3.75,3.28,3.28,3.28,2.81,2.81,2.81,4.98,4.98,4.98,4.36,4.36,4.36,3.74,3.74,3.74,3.37,3.37,3.37,2.95,2.95,2.95,2.53,2.53,2.53,1.32,1.32,1.32,1.16,1.16,1.16,0.99,0.99,0.99}; // 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,13,9,25,13,9,25,13,9,24,12,8,24,12,8,24,12,8,25,13,9,25,13,9,26,13,9,25,13,9,26,13,9,25,13,9,26,13,9,25,13,9,26,13,9,25,13,9,25,13,9,25,13,9,25,13,9,26,13,9,25,13,9,26,13,9,26,13,9,26,14,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}}; // set of shipments in each bid 
int SHsts[SPN]={2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,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,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,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,0,4,8,12,16,20,24,28,32,36,40,44,2,8,14,20,26,32,38,44,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,1,5,9,13,17,21,25,29,33,37,41,45,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,1,5,9,13,17,21,25,29,33,37,41,45,2,8,14,20,26,32,38,44,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,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,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,2,8,14,20,26,32,38,44,50,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,2,6,10,14,18,22,26,30,34,38,42,46,50,2,8,14,20,26,32,38,44,50,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,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,0,4,8,12,16,20,24,28,32,36,40,44,48,2,8,14,20,26,32,38,44,50,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,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,0,4,8,12,16,20,24,28,32,36,40,44,48,2,8,14,20,26,32,38,44,50,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,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,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,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,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,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,0,4,8,12,16,20,24,28,32,36,40,44,48,1,7,13,19,25,31,37,43,49,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,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,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,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}; // 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,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,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,5,9,13,17,21,25,29,33,37,41,45,49,53,5,11,17,23,29,35,41,47,53,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,8,14,20,26,32,38,44,50,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,8,14,20,26,32,38,44,50,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,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,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,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,2,6,10,14,18,22,26,30,34,38,42,46,50,4,10,16,22,28,34,40,46,52,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,4,8,12,16,20,24,28,32,36,40,44,48,52,4,10,16,22,28,34,40,46,52,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,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,2,6,10,14,18,22,26,30,34,38,42,46,50,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,3,7,11,15,19,23,27,31,35,39,43,47,51,5,11,17,23,29,35,41,47,53,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,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,5,9,13,17,21,25,29,33,37,41,45,49,53,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,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,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,4,8,12,16,20,24,28,32,36,40,44,48,52,4,10,16,22,28,34,40,46,52,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,2,6,10,14,18,22,26,30,34,38,42,46,50,1,7,13,19,25,31,37,43,49,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,2,6,10,14,18,22,26,30,34,38,42,46,50,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}; // set of end times of each shipment 
