int Dev = 10;// Deviation
extern const int CNN = 4;// Case Index
extern const int P = 6;// Number of phases
extern const int PT = 6;// Number of periods in a phase
extern const int T = 36;// 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 = 744;//Number of shipments
extern const int SN = 20;//Number of scenarios at each stage
extern const int MBSN = 18;//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}}; // the probability of each scenario at each phase 
// timing parameters: 
int PTN[P]={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}}; // set of periods in each phase 
// distribution parameters: 
int sup[I][P][SN][PT]={{{{10985,0,0,0,0,0},{11024,0,0,0,0,0},{10936,0,0,0,0,0},{10712,0,0,0,0,0},{10949,0,0,0,0,0},{10910,0,0,0,0,0},{11057,0,0,0,0,0},{11087,0,0,0,0,0},{11018,0,0,0,0,0},{11064,0,0,0,0,0},{11180,0,0,0,0,0},{11068,0,0,0,0,0},{11067,0,0,0,0,0},{10933,0,0,0,0,0},{11158,0,0,0,0,0},{10960,0,0,0,0,0},{11003,0,0,0,0,0},{11131,0,0,0,0,0},{11060,0,0,0,0,0},{10898,0,0,0,0,0}},{{11235,0,0,0,0,0},{11036,0,0,0,0,0},{11055,0,0,0,0,0},{11027,0,0,0,0,0},{10885,0,0,0,0,0},{11029,0,0,0,0,0},{11253,0,0,0,0,0},{11110,0,0,0,0,0},{11152,0,0,0,0,0},{10969,0,0,0,0,0},{11153,0,0,0,0,0},{11228,0,0,0,0,0},{11010,0,0,0,0,0},{11007,0,0,0,0,0},{11098,0,0,0,0,0},{11131,0,0,0,0,0},{11002,0,0,0,0,0},{11141,0,0,0,0,0},{10972,0,0,0,0,0},{10854,0,0,0,0,0}},{{10892,0,0,0,0,0},{11230,0,0,0,0,0},{10936,0,0,0,0,0},{11053,0,0,0,0,0},{10959,0,0,0,0,0},{10942,0,0,0,0,0},{11103,0,0,0,0,0},{10994,0,0,0,0,0},{11021,0,0,0,0,0},{11010,0,0,0,0,0},{11033,0,0,0,0,0},{11055,0,0,0,0,0},{11149,0,0,0,0,0},{10927,0,0,0,0,0},{11122,0,0,0,0,0},{11067,0,0,0,0,0},{11062,0,0,0,0,0},{11025,0,0,0,0,0},{11096,0,0,0,0,0},{11275,0,0,0,0,0}},{{11135,0,0,0,0,0},{10992,0,0,0,0,0},{11016,0,0,0,0,0},{10984,0,0,0,0,0},{11097,0,0,0,0,0},{10961,0,0,0,0,0},{10996,0,0,0,0,0},{11056,0,0,0,0,0},{10999,0,0,0,0,0},{11095,0,0,0,0,0},{11021,0,0,0,0,0},{11269,0,0,0,0,0},{11101,0,0,0,0,0},{11206,0,0,0,0,0},{11169,0,0,0,0,0},{10864,0,0,0,0,0},{11064,0,0,0,0,0},{11051,0,0,0,0,0},{11002,0,0,0,0,0},{11234,0,0,0,0,0}},{{10920,0,0,0,0,0},{11034,0,0,0,0,0},{10955,0,0,0,0,0},{11093,0,0,0,0,0},{11268,0,0,0,0,0},{10993,0,0,0,0,0},{11101,0,0,0,0,0},{11126,0,0,0,0,0},{11055,0,0,0,0,0},{11013,0,0,0,0,0},{11242,0,0,0,0,0},{10983,0,0,0,0,0},{11139,0,0,0,0,0},{11076,0,0,0,0,0},{11170,0,0,0,0,0},{11315,0,0,0,0,0},{11131,0,0,0,0,0},{10968,0,0,0,0,0},{10962,0,0,0,0,0},{10988,0,0,0,0,0}},{{11083,0,0,0,0,0},{10953,0,0,0,0,0},{11052,0,0,0,0,0},{10925,0,0,0,0,0},{11125,0,0,0,0,0},{10962,0,0,0,0,0},{11054,0,0,0,0,0},{11279,0,0,0,0,0},{11099,0,0,0,0,0},{11032,0,0,0,0,0},{11091,0,0,0,0,0},{11010,0,0,0,0,0},{11011,0,0,0,0,0},{10956,0,0,0,0,0},{11019,0,0,0,0,0},{10859,0,0,0,0,0},{10998,0,0,0,0,0},{10963,0,0,0,0,0},{10935,0,0,0,0,0},{10995,0,0,0,0,0}}},{{{-235,-235,-208,-208,-226,-226},{-226,-228,-217,-215,-208,-222},{-208,-204,-231,-206,-242,-206},{-237,-231,-222,-204,-226,-220},{-211,-211,-220,-213,-220,-202},{-208,-224,-224,-202,-215,-228},{-228,-237,-208,-233,-228,-240},{-233,-211,-226,-246,-240,-244},{-228,-204,-240,-204,-213,-240},{-220,-224,-244,-228,-202,-217},{-204,-235,-213,-246,-240,-202},{-244,-204,-213,-208,-215,-211},{-217,-217,-240,-228,-202,-222},{-233,-213,-220,-222,-222,-217},{-211,-208,-222,-246,-202,-237},{-213,-242,-233,-206,-233,-226},{-202,-233,-237,-242,-240,-222},{-235,-204,-246,-215,-235,-226},{-244,-242,-231,-231,-213,-224},{-226,-242,-240,-240,-206,-217}},{{-242,-228,-213,-226,-237,-246},{-231,-235,-237,-242,-202,-237},{-206,-246,-231,-242,-213,-204},{-233,-226,-237,-228,-224,-222},{-224,-213,-231,-235,-213,-206},{-217,-242,-213,-240,-228,-240},{-217,-215,-206,-213,-237,-240},{-242,-233,-242,-215,-240,-208},{-222,-220,-233,-235,-242,-244},{-217,-237,-213,-204,-240,-224},{-222,-217,-226,-211,-202,-217},{-242,-235,-237,-215,-213,-215},{-202,-208,-208,-228,-208,-231},{-237,-240,-211,-211,-228,-215},{-217,-224,-226,-246,-224,-215},{-213,-217,-242,-240,-215,-233},{-215,-202,-242,-228,-202,-224},{-222,-206,-233,-235,-211,-242},{-222,-233,-206,-220,-244,-204},{-202,-231,-208,-211,-202,-204}},{{-206,-217,-213,-211,-211,-222},{-242,-237,-244,-220,-204,-237},{-217,-220,-240,-206,-233,-217},{-220,-246,-224,-211,-211,-217},{-235,-220,-226,-213,-202,-222},{-235,-233,-237,-208,-233,-206},{-246,-217,-208,-204,-220,-233},{-244,-244,-226,-204,-211,-226},{-237,-208,-224,-222,-235,-213},{-217,-213,-231,-246,-242,-208},{-246,-204,-240,-213,-204,-202},{-202,-226,-246,-206,-202,-206},{-235,-217,-206,-215,-226,-224},{-215,-217,-217,-211,-224,-206},{-237,-215,-213,-213,-217,-246},{-226,-208,-226,-224,-226,-208},{-202,-246,-206,-204,-217,-233},{-206,-215,-246,-211,-242,-215},{-226,-217,-228,-202,-242,-211},{-231,-240,-242,-240,-213,-211}},{{-231,-246,-244,-206,-215,-240},{-206,-237,-224,-240,-240,-246},{-213,-244,-244,-228,-213,-233},{-204,-215,-224,-226,-204,-213},{-233,-228,-233,-233,-202,-211},{-226,-242,-228,-246,-204,-222},{-204,-204,-220,-202,-242,-215},{-206,-244,-244,-211,-242,-215},{-242,-233,-228,-217,-206,-244},{-233,-228,-235,-237,-246,-222},{-217,-231,-217,-204,-237,-215},{-233,-206,-228,-208,-215,-242},{-242,-211,-246,-224,-240,-215},{-213,-246,-222,-233,-233,-204},{-233,-231,-208,-211,-220,-235},{-228,-240,-211,-228,-217,-231},{-226,-222,-222,-246,-233,-237},{-233,-222,-231,-228,-215,-224},{-211,-220,-224,-206,-240,-213},{-231,-244,-206,-204,-242,-217}},{{-208,-206,-213,-204,-204,-224},{-217,-231,-206,-228,-217,-233},{-228,-231,-222,-222,-226,-211},{-206,-233,-233,-215,-213,-240},{-204,-233,-213,-244,-213,-208},{-202,-237,-217,-215,-217,-224},{-220,-204,-202,-224,-244,-211},{-240,-213,-204,-235,-228,-235},{-206,-233,-204,-235,-204,-213},{-215,-240,-211,-213,-242,-211},{-240,-237,-204,-217,-202,-242},{-246,-224,-235,-202,-246,-215},{-242,-220,-206,-242,-244,-228},{-208,-213,-220,-204,-235,-233},{-208,-235,-226,-226,-242,-215},{-240,-215,-246,-231,-213,-208},{-220,-226,-202,-235,-204,-237},{-208,-235,-235,-215,-213,-206},{-215,-222,-231,-246,-208,-228},{-211,-228,-204,-222,-222,-231}},{{-224,-204,-206,-211,-226,-208},{-215,-237,-211,-233,-211,-211},{-224,-233,-242,-204,-237,-206},{-224,-215,-202,-215,-217,-244},{-202,-208,-211,-222,-235,-213},{-222,-208,-215,-211,-206,-231},{-237,-235,-237,-231,-217,-224},{-237,-206,-231,-204,-237,-220},{-244,-233,-206,-235,-242,-224},{-246,-226,-213,-208,-220,-224},{-213,-202,-228,-202,-228,-213},{-226,-237,-220,-224,-215,-204},{-242,-208,-226,-206,-231,-208},{-244,-208,-213,-222,-226,-242},{-237,-217,-244,-222,-233,-208},{-208,-222,-246,-233,-202,-213},{-215,-213,-242,-231,-220,-204},{-224,-206,-217,-246,-206,-206},{-208,-202,-242,-217,-202,-235},{-242,-213,-242,-244,-215,-208}}},{{{-240,-250,-248,-236,-226,-257},{-255,-255,-238,-238,-231,-214},{-238,-248,-245,-259,-231,-236},{-238,-231,-236,-228,-217,-255},{-255,-248,-219,-255,-238,-238},{-259,-259,-217,-248,-214,-236},{-233,-217,-255,-245,-259,-257},{-224,-224,-238,-250,-245,-236},{-243,-214,-262,-219,-217,-219},{-262,-240,-228,-250,-248,-262},{-238,-262,-248,-231,-221,-250},{-236,-226,-236,-228,-250,-236},{-228,-238,-243,-248,-219,-217},{-243,-255,-221,-248,-228,-226},{-228,-245,-231,-238,-250,-250},{-219,-219,-221,-255,-238,-257},{-252,-248,-214,-250,-243,-257},{-217,-248,-245,-231,-245,-224},{-257,-226,-238,-217,-217,-238},{-224,-252,-248,-259,-252,-221}},{{-224,-226,-262,-250,-233,-259},{-226,-226,-228,-219,-214,-240},{-221,-259,-262,-226,-243,-240},{-248,-221,-231,-233,-257,-231},{-221,-236,-226,-243,-240,-240},{-250,-259,-219,-221,-240,-228},{-238,-248,-243,-226,-224,-250},{-262,-257,-248,-226,-252,-231},{-262,-228,-219,-243,-255,-259},{-217,-262,-224,-245,-233,-228},{-257,-245,-250,-259,-214,-250},{-255,-259,-233,-219,-252,-233},{-259,-231,-226,-219,-221,-243},{-221,-217,-240,-214,-217,-226},{-217,-257,-245,-214,-259,-262},{-231,-228,-243,-221,-245,-259},{-248,-245,-226,-243,-219,-243},{-217,-252,-217,-248,-228,-243},{-221,-224,-243,-233,-226,-250},{-250,-228,-236,-255,-214,-240}},{{-248,-257,-252,-255,-243,-224},{-250,-238,-252,-214,-255,-255},{-224,-214,-252,-224,-248,-262},{-255,-226,-228,-248,-248,-257},{-221,-224,-221,-252,-231,-226},{-231,-252,-231,-217,-240,-243},{-248,-231,-250,-236,-243,-250},{-243,-243,-236,-219,-233,-226},{-240,-217,-228,-259,-228,-231},{-214,-233,-255,-221,-231,-257},{-226,-233,-243,-214,-250,-245},{-238,-259,-245,-221,-259,-245},{-262,-238,-259,-236,-226,-245},{-240,-219,-248,-257,-217,-231},{-259,-240,-238,-221,-233,-224},{-214,-243,-233,-231,-238,-226},{-250,-231,-228,-245,-221,-259},{-245,-250,-250,-262,-228,-252},{-259,-238,-224,-248,-240,-255},{-262,-262,-238,-221,-236,-250}},{{-226,-228,-214,-257,-233,-255},{-257,-243,-231,-243,-214,-219},{-219,-226,-226,-224,-214,-259},{-233,-226,-224,-262,-259,-245},{-243,-226,-257,-257,-245,-233},{-236,-224,-248,-231,-252,-228},{-250,-226,-224,-226,-250,-226},{-250,-226,-238,-221,-257,-243},{-236,-257,-238,-238,-233,-233},{-236,-255,-226,-224,-233,-224},{-221,-240,-252,-248,-217,-238},{-245,-248,-250,-238,-231,-259},{-257,-243,-257,-257,-236,-257},{-231,-217,-238,-236,-228,-250},{-248,-252,-248,-245,-226,-259},{-236,-219,-255,-238,-248,-248},{-240,-259,-259,-231,-231,-248},{-217,-231,-219,-243,-255,-214},{-231,-233,-262,-248,-226,-255},{-224,-255,-250,-259,-238,-240}},{{-224,-217,-257,-252,-224,-221},{-257,-228,-248,-248,-228,-262},{-240,-259,-221,-240,-238,-243},{-243,-245,-219,-226,-233,-217},{-250,-248,-248,-240,-245,-257},{-257,-221,-224,-245,-231,-224},{-243,-255,-250,-250,-240,-250},{-257,-243,-248,-231,-262,-233},{-262,-252,-240,-259,-224,-238},{-257,-257,-217,-233,-214,-224},{-248,-243,-262,-231,-240,-257},{-262,-259,-221,-255,-221,-245},{-262,-231,-226,-257,-250,-219},{-224,-262,-238,-243,-221,-250},{-248,-250,-217,-224,-262,-240},{-259,-219,-257,-250,-250,-259},{-252,-250,-233,-233,-259,-245},{-231,-214,-228,-238,-262,-243},{-262,-214,-221,-224,-233,-224},{-228,-221,-245,-219,-257,-214}},{{-226,-231,-226,-226,-231,-255},{-226,-226,-255,-214,-233,-236},{-217,-226,-250,-238,-240,-250},{-259,-214,-226,-226,-233,-252},{-250,-226,-219,-248,-252,-217},{-240,-231,-243,-243,-243,-252},{-257,-255,-245,-255,-248,-221},{-219,-217,-252,-259,-221,-255},{-224,-214,-226,-255,-250,-240},{-228,-217,-226,-236,-248,-224},{-214,-255,-245,-259,-257,-228},{-231,-233,-228,-250,-214,-248},{-240,-228,-231,-243,-243,-255},{-221,-255,-248,-252,-245,-231},{-240,-252,-255,-224,-217,-243},{-217,-221,-248,-240,-217,-226},{-240,-255,-255,-243,-226,-221},{-233,-226,-252,-240,-259,-217},{-217,-259,-219,-228,-252,-224},{-248,-245,-233,-217,-259,-255}}},{{{-246,-298,-273,-257,-300,-300},{-246,-289,-270,-289,-278,-265},{-287,-259,-278,-287,-268,-259},{-262,-259,-270,-257,-251,-265},{-251,-300,-246,-295,-273,-248},{-278,-284,-287,-292,-300,-289},{-246,-251,-248,-281,-284,-259},{-295,-257,-262,-295,-270,-251},{-262,-270,-278,-300,-251,-262},{-251,-281,-276,-300,-268,-246},{-278,-257,-276,-287,-287,-246},{-292,-298,-287,-281,-265,-251},{-273,-273,-300,-259,-292,-262},{-284,-295,-251,-268,-257,-246},{-270,-287,-289,-289,-284,-259},{-265,-292,-289,-268,-273,-246},{-262,-281,-292,-292,-268,-287},{-270,-300,-278,-265,-298,-262},{-276,-248,-292,-248,-276,-292},{-259,-251,-268,-295,-276,-246}},{{-292,-289,-248,-298,-295,-265},{-284,-284,-270,-270,-287,-254},{-248,-292,-287,-246,-295,-276},{-259,-270,-270,-298,-295,-300},{-270,-251,-265,-298,-259,-259},{-284,-251,-287,-262,-254,-273},{-284,-295,-287,-265,-284,-287},{-276,-251,-273,-273,-273,-265},{-292,-278,-295,-268,-300,-281},{-292,-257,-262,-259,-270,-262},{-300,-287,-289,-289,-289,-284},{-292,-265,-300,-273,-278,-292},{-281,-257,-268,-281,-281,-298},{-276,-254,-259,-273,-262,-292},{-262,-298,-284,-270,-262,-281},{-251,-284,-289,-295,-259,-262},{-259,-287,-289,-289,-300,-292},{-298,-276,-281,-246,-292,-300},{-257,-292,-287,-257,-257,-270},{-281,-270,-273,-298,-254,-254}},{{-278,-287,-287,-259,-268,-246},{-292,-292,-281,-281,-292,-281},{-262,-248,-246,-265,-284,-262},{-276,-281,-276,-270,-292,-270},{-298,-262,-257,-298,-270,-273},{-265,-295,-284,-292,-278,-251},{-270,-281,-300,-254,-259,-273},{-295,-259,-284,-300,-251,-295},{-300,-284,-268,-262,-276,-300},{-268,-278,-273,-292,-281,-276},{-298,-265,-289,-278,-298,-248},{-276,-284,-257,-254,-278,-298},{-270,-292,-298,-298,-251,-298},{-292,-265,-278,-273,-298,-289},{-278,-281,-289,-284,-278,-265},{-289,-300,-292,-300,-300,-265},{-265,-287,-262,-248,-281,-287},{-292,-254,-259,-251,-284,-259},{-295,-257,-251,-270,-281,-276},{-262,-300,-300,-284,-295,-287}},{{-254,-278,-284,-270,-257,-289},{-251,-246,-292,-295,-268,-248},{-284,-254,-254,-298,-270,-257},{-251,-246,-292,-262,-268,-292},{-295,-287,-295,-262,-276,-257},{-281,-248,-259,-257,-259,-259},{-284,-265,-281,-262,-281,-281},{-259,-246,-251,-259,-251,-284},{-259,-265,-281,-268,-284,-270},{-287,-273,-278,-276,-262,-246},{-300,-276,-248,-257,-254,-251},{-300,-276,-295,-292,-295,-262},{-292,-281,-292,-289,-251,-298},{-273,-300,-251,-276,-268,-265},{-268,-298,-246,-276,-281,-259},{-254,-298,-273,-259,-265,-251},{-268,-284,-278,-262,-259,-265},{-262,-254,-292,-262,-262,-287},{-248,-251,-273,-292,-265,-268},{-259,-248,-270,-298,-295,-262}},{{-292,-276,-270,-300,-254,-289},{-268,-254,-276,-270,-289,-259},{-259,-257,-251,-273,-246,-257},{-262,-300,-265,-262,-284,-270},{-268,-273,-300,-298,-292,-300},{-265,-248,-257,-276,-287,-246},{-278,-281,-268,-273,-257,-265},{-268,-292,-254,-276,-270,-268},{-246,-287,-287,-298,-292,-246},{-270,-276,-262,-259,-287,-270},{-295,-278,-276,-248,-268,-268},{-248,-295,-254,-257,-248,-281},{-273,-284,-248,-298,-300,-276},{-289,-251,-278,-248,-289,-268},{-276,-281,-281,-287,-300,-276},{-265,-284,-298,-295,-300,-298},{-273,-292,-248,-259,-298,-292},{-246,-270,-295,-257,-265,-300},{-300,-278,-246,-287,-281,-273},{-273,-278,-259,-287,-298,-259}},{{-276,-257,-268,-295,-257,-276},{-298,-276,-251,-248,-259,-265},{-276,-257,-300,-262,-281,-295},{-246,-278,-251,-270,-259,-265},{-300,-248,-300,-298,-295,-284},{-254,-251,-262,-287,-295,-270},{-295,-254,-298,-248,-281,-248},{-246,-300,-300,-284,-295,-278},{-257,-246,-273,-259,-248,-262},{-298,-300,-262,-246,-262,-246},{-265,-268,-273,-292,-292,-257},{-287,-265,-248,-300,-276,-265},{-292,-254,-287,-273,-251,-259},{-270,-254,-287,-265,-281,-257},{-276,-284,-276,-270,-284,-248},{-254,-259,-259,-248,-284,-259},{-259,-298,-278,-292,-276,-300},{-281,-259,-262,-273,-268,-289},{-268,-254,-289,-251,-281,-248},{-259,-270,-262,-273,-273,-265}}},{{{-145,-151,-148,-140,-159,-151},{-149,-149,-166,-159,-168,-140},{-140,-140,-166,-168,-151,-143},{-152,-145,-163,-140,-140,-145},{-154,-157,-143,-140,-157,-169},{-163,-149,-160,-169,-166,-156},{-151,-160,-156,-143,-143,-149},{-163,-143,-157,-163,-140,-156},{-163,-146,-165,-151,-168,-166},{-154,-145,-145,-169,-165,-157},{-169,-163,-154,-154,-168,-162},{-140,-145,-152,-151,-162,-149},{-145,-149,-163,-152,-169,-148},{-148,-152,-154,-169,-163,-146},{-152,-154,-165,-146,-148,-145},{-156,-140,-139,-154,-163,-156},{-152,-145,-146,-156,-143,-145},{-146,-152,-168,-143,-160,-140},{-156,-151,-140,-169,-165,-166},{-143,-140,-159,-145,-151,-169}},{{-143,-169,-156,-156,-146,-169},{-143,-154,-157,-166,-163,-160},{-154,-168,-152,-148,-165,-156},{-154,-139,-142,-146,-152,-166},{-151,-166,-148,-169,-165,-168},{-165,-146,-154,-151,-151,-154},{-166,-157,-168,-142,-149,-149},{-145,-159,-152,-143,-165,-146},{-142,-160,-142,-168,-149,-165},{-166,-163,-146,-149,-166,-140},{-152,-156,-168,-140,-168,-139},{-151,-159,-139,-168,-166,-152},{-139,-156,-162,-159,-148,-146},{-145,-163,-165,-162,-159,-163},{-168,-145,-148,-168,-168,-160},{-139,-169,-168,-149,-156,-152},{-168,-154,-156,-154,-166,-148},{-149,-149,-139,-156,-140,-140},{-139,-165,-149,-166,-169,-160},{-159,-142,-139,-143,-151,-148}},{{-154,-142,-159,-146,-162,-148},{-160,-146,-154,-151,-160,-140},{-169,-140,-140,-154,-152,-163},{-169,-162,-163,-143,-146,-146},{-145,-151,-142,-156,-157,-157},{-168,-142,-168,-168,-152,-149},{-151,-169,-149,-169,-165,-165},{-152,-162,-139,-156,-160,-151},{-166,-159,-143,-146,-140,-156},{-168,-146,-145,-143,-163,-148},{-146,-140,-142,-139,-146,-146},{-139,-160,-166,-159,-145,-166},{-140,-152,-154,-140,-142,-146},{-146,-157,-160,-169,-163,-165},{-145,-168,-159,-140,-145,-169},{-140,-169,-169,-168,-160,-152},{-160,-148,-159,-162,-166,-149},{-145,-162,-142,-152,-165,-145},{-168,-146,-139,-148,-148,-139},{-163,-140,-139,-149,-159,-142}},{{-148,-156,-159,-160,-140,-159},{-139,-165,-157,-149,-169,-160},{-162,-139,-146,-169,-169,-169},{-154,-159,-154,-152,-145,-151},{-146,-169,-140,-157,-154,-165},{-157,-157,-156,-169,-149,-152},{-154,-157,-151,-151,-149,-162},{-146,-160,-139,-149,-148,-143},{-165,-152,-149,-169,-149,-157},{-146,-166,-148,-156,-151,-166},{-154,-140,-162,-162,-143,-169},{-152,-162,-166,-143,-159,-152},{-156,-145,-165,-166,-154,-152},{-145,-160,-162,-140,-156,-140},{-151,-165,-159,-149,-165,-143},{-146,-139,-142,-149,-151,-156},{-145,-149,-169,-142,-145,-159},{-139,-149,-149,-166,-168,-139},{-156,-148,-139,-146,-159,-169},{-145,-166,-143,-163,-149,-149}},{{-142,-151,-156,-162,-143,-168},{-166,-162,-148,-163,-145,-162},{-140,-146,-163,-154,-162,-140},{-166,-160,-154,-168,-154,-157},{-169,-140,-156,-152,-169,-165},{-140,-152,-148,-156,-151,-152},{-166,-139,-169,-165,-157,-154},{-146,-160,-169,-140,-168,-156},{-169,-146,-140,-145,-145,-169},{-152,-152,-160,-168,-145,-169},{-162,-160,-168,-159,-166,-159},{-143,-145,-140,-159,-163,-156},{-160,-146,-156,-148,-151,-163},{-156,-151,-166,-163,-168,-146},{-159,-140,-145,-154,-142,-157},{-149,-157,-163,-152,-152,-159},{-159,-169,-168,-162,-163,-139},{-149,-163,-168,-165,-163,-145},{-154,-154,-149,-148,-140,-152},{-162,-148,-156,-157,-166,-145}},{{-143,-162,-151,-160,-152,-165},{-165,-163,-143,-157,-165,-151},{-165,-151,-149,-154,-151,-159},{-140,-157,-156,-160,-143,-169},{-154,-168,-148,-145,-168,-168},{-154,-139,-157,-145,-152,-162},{-140,-142,-165,-166,-157,-152},{-157,-142,-162,-162,-163,-146},{-154,-140,-154,-146,-151,-166},{-169,-168,-160,-168,-154,-146},{-156,-168,-162,-163,-160,-156},{-140,-140,-169,-143,-154,-151},{-159,-139,-159,-154,-156,-145},{-165,-151,-149,-142,-139,-157},{-151,-160,-154,-140,-154,-162},{-162,-156,-149,-156,-152,-143},{-159,-169,-165,-165,-140,-157},{-152,-149,-142,-146,-168,-154},{-166,-142,-149,-152,-162,-162},{-156,-154,-146,-149,-140,-169}}},{{{-184,-166,-191,-182,-184,-184},{-180,-166,-164,-171,-166,-189},{-167,-171,-187,-171,-184,-200},{-167,-171,-167,-189,-198,-171},{-173,-175,-189,-180,-169,-182},{-175,-197,-166,-189,-169,-167},{-173,-169,-184,-186,-171,-164},{-186,-164,-166,-200,-171,-173},{-164,-191,-197,-173,-178,-169},{-167,-171,-182,-166,-182,-166},{-169,-180,-191,-171,-173,-191},{-197,-193,-193,-167,-186,-197},{-177,-187,-177,-195,-182,-180},{-182,-164,-175,-191,-175,-193},{-186,-169,-198,-200,-197,-195},{-164,-173,-182,-191,-166,-164},{-166,-187,-175,-171,-191,-186},{-189,-173,-169,-200,-173,-200},{-178,-195,-173,-169,-169,-198},{-166,-195,-164,-184,-164,-187}},{{-173,-193,-187,-195,-186,-182},{-180,-177,-178,-167,-187,-191},{-164,-177,-187,-171,-195,-177},{-171,-182,-178,-177,-184,-193},{-200,-187,-180,-171,-198,-195},{-178,-166,-167,-195,-195,-167},{-184,-198,-191,-200,-178,-200},{-195,-164,-167,-178,-191,-175},{-171,-186,-166,-195,-164,-173},{-197,-191,-166,-187,-198,-200},{-164,-195,-182,-200,-177,-175},{-173,-186,-198,-197,-187,-180},{-195,-173,-182,-200,-200,-197},{-187,-175,-164,-200,-171,-175},{-186,-182,-186,-166,-167,-169},{-193,-178,-195,-189,-191,-178},{-173,-173,-169,-200,-167,-166},{-197,-182,-169,-178,-177,-193},{-182,-184,-167,-198,-191,-186},{-169,-180,-195,-167,-182,-189}},{{-180,-177,-164,-197,-186,-177},{-169,-198,-167,-171,-184,-184},{-193,-197,-186,-166,-195,-191},{-191,-193,-182,-189,-189,-198},{-171,-178,-198,-166,-193,-164},{-177,-177,-189,-186,-173,-166},{-186,-173,-166,-167,-200,-164},{-184,-197,-167,-169,-186,-175},{-166,-198,-198,-182,-166,-171},{-200,-175,-177,-186,-177,-197},{-167,-167,-166,-198,-186,-175},{-180,-180,-189,-198,-173,-184},{-198,-200,-180,-171,-167,-171},{-187,-193,-166,-167,-182,-200},{-177,-189,-166,-198,-180,-198},{-180,-173,-167,-198,-177,-200},{-189,-182,-173,-173,-178,-166},{-177,-184,-177,-198,-198,-195},{-178,-197,-180,-187,-173,-193},{-197,-169,-200,-189,-193,-169}},{{-187,-187,-166,-193,-184,-177},{-171,-184,-186,-186,-177,-191},{-177,-169,-175,-171,-200,-182},{-166,-186,-178,-178,-164,-187},{-177,-171,-198,-171,-167,-184},{-178,-182,-177,-173,-186,-171},{-197,-164,-167,-200,-187,-187},{-197,-189,-193,-193,-191,-184},{-173,-195,-175,-187,-189,-191},{-167,-198,-200,-171,-164,-200},{-169,-166,-200,-189,-198,-195},{-173,-195,-193,-173,-182,-177},{-180,-169,-178,-195,-197,-169},{-200,-200,-187,-200,-200,-193},{-178,-177,-164,-175,-189,-184},{-173,-171,-178,-187,-182,-187},{-180,-184,-189,-198,-189,-178},{-187,-191,-171,-184,-198,-191},{-167,-175,-166,-175,-187,-189},{-198,-182,-182,-175,-195,-198}},{{-171,-195,-167,-166,-198,-198},{-164,-166,-184,-169,-191,-173},{-180,-187,-164,-167,-189,-177},{-177,-175,-197,-195,-171,-198},{-173,-193,-171,-169,-198,-184},{-182,-193,-182,-200,-184,-191},{-189,-178,-200,-193,-195,-173},{-175,-184,-184,-184,-166,-164},{-167,-186,-182,-184,-198,-193},{-164,-177,-164,-182,-164,-175},{-178,-175,-182,-171,-164,-164},{-197,-171,-180,-164,-177,-166},{-164,-178,-178,-164,-193,-191},{-186,-164,-180,-175,-166,-184},{-198,-189,-164,-164,-167,-189},{-164,-197,-171,-197,-175,-195},{-164,-178,-197,-164,-180,-164},{-186,-173,-180,-180,-171,-173},{-166,-195,-182,-173,-198,-178},{-173,-189,-191,-180,-189,-167}},{{-198,-191,-200,-167,-167,-189},{-177,-182,-182,-195,-189,-175},{-173,-184,-198,-184,-187,-184},{-166,-180,-193,-182,-187,-186},{-198,-197,-197,-198,-186,-171},{-182,-195,-184,-173,-200,-189},{-169,-164,-191,-169,-173,-186},{-198,-197,-175,-200,-180,-195},{-178,-197,-197,-200,-182,-197},{-193,-193,-197,-193,-193,-169},{-197,-197,-198,-198,-164,-177},{-175,-175,-167,-177,-187,-178},{-173,-184,-187,-187,-197,-187},{-189,-177,-180,-167,-171,-182},{-182,-180,-175,-193,-173,-186},{-195,-164,-184,-182,-175,-200},{-164,-184,-175,-164,-177,-175},{-173,-187,-193,-191,-169,-191},{-198,-189,-200,-187,-173,-189},{-166,-193,-182,-175,-167,-171}}},{{{-223,-225,-262,-270,-252,-255},{-220,-270,-265,-238,-228,-270},{-245,-225,-223,-225,-257,-265},{-220,-230,-225,-243,-243,-233},{-235,-220,-262,-252,-260,-228},{-228,-220,-260,-220,-220,-230},{-252,-245,-270,-262,-252,-240},{-243,-252,-233,-220,-267,-223},{-260,-228,-243,-250,-252,-230},{-252,-230,-267,-225,-247,-235},{-262,-265,-245,-270,-235,-270},{-250,-220,-238,-235,-225,-225},{-220,-250,-270,-260,-267,-238},{-245,-228,-240,-260,-250,-223},{-260,-238,-252,-262,-262,-260},{-223,-257,-267,-220,-267,-247},{-240,-230,-243,-245,-220,-267},{-270,-245,-252,-233,-255,-270},{-252,-247,-270,-223,-250,-223},{-233,-223,-265,-228,-238,-238}},{{-252,-257,-257,-265,-267,-240},{-252,-238,-238,-233,-243,-238},{-235,-250,-255,-260,-262,-238},{-252,-247,-230,-225,-228,-265},{-250,-230,-250,-233,-220,-238},{-252,-223,-225,-257,-225,-240},{-240,-247,-240,-245,-243,-245},{-250,-240,-257,-235,-267,-250},{-270,-233,-245,-247,-233,-240},{-223,-245,-247,-230,-252,-265},{-270,-235,-257,-247,-243,-260},{-225,-257,-260,-233,-255,-270},{-252,-223,-220,-250,-245,-240},{-255,-238,-262,-240,-265,-235},{-260,-257,-220,-255,-270,-223},{-245,-238,-245,-245,-235,-233},{-238,-225,-235,-228,-245,-233},{-252,-265,-257,-243,-243,-245},{-243,-252,-260,-225,-230,-250},{-250,-245,-225,-238,-243,-247}},{{-238,-245,-228,-220,-245,-233},{-252,-230,-255,-270,-257,-250},{-247,-235,-243,-233,-243,-233},{-265,-228,-255,-230,-233,-228},{-220,-235,-247,-262,-262,-260},{-233,-223,-235,-235,-257,-235},{-267,-247,-267,-257,-252,-225},{-230,-267,-262,-235,-262,-243},{-262,-225,-220,-270,-267,-267},{-262,-262,-225,-260,-265,-235},{-270,-245,-220,-262,-260,-245},{-225,-245,-255,-220,-252,-220},{-225,-247,-267,-225,-235,-223},{-230,-220,-235,-238,-252,-252},{-247,-252,-250,-257,-230,-243},{-233,-238,-223,-225,-247,-225},{-270,-250,-220,-238,-247,-270},{-262,-238,-243,-238,-233,-240},{-235,-255,-270,-257,-243,-267},{-257,-257,-228,-262,-247,-223}},{{-233,-220,-255,-245,-257,-262},{-238,-223,-247,-230,-250,-220},{-255,-257,-223,-225,-228,-265},{-238,-270,-247,-255,-257,-257},{-262,-223,-262,-220,-262,-265},{-228,-267,-243,-255,-255,-257},{-257,-267,-247,-243,-243,-223},{-267,-230,-233,-238,-267,-247},{-243,-255,-265,-247,-230,-220},{-270,-245,-250,-255,-252,-243},{-257,-238,-230,-223,-225,-270},{-235,-235,-235,-220,-260,-265},{-228,-260,-223,-247,-267,-238},{-225,-260,-267,-267,-220,-255},{-228,-270,-255,-257,-262,-265},{-225,-247,-243,-238,-225,-233},{-223,-230,-223,-267,-230,-220},{-247,-262,-265,-230,-267,-230},{-255,-257,-257,-250,-267,-233},{-228,-255,-233,-270,-255,-220}},{{-260,-267,-233,-225,-228,-225},{-230,-243,-233,-228,-257,-235},{-230,-220,-240,-235,-243,-252},{-245,-223,-267,-230,-252,-255},{-250,-260,-267,-243,-257,-243},{-265,-257,-240,-220,-243,-257},{-223,-230,-230,-257,-267,-270},{-220,-245,-262,-252,-245,-233},{-220,-265,-247,-233,-243,-243},{-262,-228,-260,-257,-245,-223},{-262,-257,-240,-235,-267,-235},{-260,-252,-233,-260,-243,-267},{-255,-270,-270,-243,-238,-245},{-260,-260,-223,-270,-235,-247},{-255,-260,-240,-267,-250,-255},{-260,-252,-270,-262,-270,-230},{-262,-255,-223,-257,-255,-252},{-230,-240,-255,-233,-235,-235},{-228,-257,-220,-250,-240,-255},{-240,-265,-228,-230,-230,-265}},{{-270,-265,-265,-245,-257,-262},{-238,-250,-247,-228,-250,-270},{-257,-233,-257,-245,-265,-228},{-228,-260,-233,-252,-223,-265},{-225,-230,-220,-265,-247,-255},{-257,-233,-230,-230,-223,-257},{-233,-228,-230,-255,-235,-243},{-262,-270,-245,-270,-262,-223},{-265,-228,-265,-270,-257,-220},{-255,-235,-260,-243,-265,-228},{-238,-238,-257,-235,-233,-255},{-223,-257,-225,-262,-228,-270},{-262,-270,-228,-243,-257,-228},{-223,-223,-225,-223,-267,-255},{-230,-223,-235,-233,-262,-233},{-223,-252,-243,-238,-228,-228},{-223,-243,-230,-247,-257,-267},{-247,-225,-250,-220,-225,-243},{-238,-225,-230,-265,-252,-255},{-262,-257,-230,-223,-247,-233}}},{{{-219,-224,-231,-217,-208,-217},{-233,-233,-217,-238,-243,-222},{-217,-208,-217,-238,-215,-217},{-229,-215,-249,-240,-213,-210},{-247,-219,-252,-249,-231,-213},{-217,-215,-245,-236,-208,-222},{-222,-215,-231,-252,-208,-236},{-249,-249,-249,-215,-249,-213},{-240,-224,-222,-240,-208,-215},{-222,-254,-243,-245,-222,-233},{-224,-238,-247,-249,-229,-249},{-238,-238,-233,-240,-233,-236},{-208,-245,-240,-215,-217,-252},{-238,-245,-252,-243,-217,-229},{-245,-245,-240,-222,-215,-210},{-208,-222,-254,-222,-210,-238},{-208,-252,-217,-219,-240,-238},{-243,-254,-219,-231,-226,-210},{-219,-243,-247,-219,-238,-210},{-217,-247,-233,-240,-210,-210}},{{-231,-249,-210,-208,-217,-233},{-217,-219,-240,-247,-243,-224},{-229,-208,-219,-252,-222,-243},{-215,-208,-231,-210,-231,-240},{-215,-215,-247,-249,-219,-231},{-247,-210,-226,-249,-213,-226},{-252,-236,-252,-243,-224,-226},{-233,-208,-231,-236,-252,-233},{-217,-229,-224,-247,-215,-217},{-208,-243,-213,-208,-249,-243},{-210,-252,-240,-249,-249,-208},{-215,-208,-245,-240,-215,-208},{-252,-213,-210,-245,-222,-213},{-249,-222,-254,-222,-249,-236},{-213,-240,-215,-249,-236,-208},{-233,-245,-215,-233,-213,-243},{-231,-240,-236,-254,-233,-224},{-215,-249,-247,-254,-254,-240},{-219,-247,-245,-215,-240,-229},{-213,-215,-215,-219,-217,-231}},{{-240,-219,-210,-247,-240,-231},{-240,-247,-210,-238,-213,-249},{-236,-213,-219,-254,-252,-210},{-233,-213,-219,-224,-224,-222},{-213,-231,-236,-210,-208,-249},{-226,-233,-252,-210,-217,-249},{-213,-240,-247,-222,-247,-243},{-222,-208,-210,-226,-226,-254},{-224,-226,-208,-224,-245,-243},{-226,-231,-215,-224,-217,-208},{-245,-222,-249,-219,-210,-252},{-226,-236,-238,-254,-215,-240},{-224,-252,-226,-252,-247,-249},{-208,-226,-210,-217,-215,-249},{-240,-249,-208,-249,-233,-224},{-247,-245,-224,-226,-243,-238},{-226,-208,-238,-249,-252,-236},{-215,-215,-210,-240,-243,-238},{-231,-252,-238,-219,-243,-208},{-254,-254,-249,-233,-226,-249}},{{-254,-254,-224,-233,-229,-233},{-222,-245,-247,-238,-215,-231},{-224,-247,-249,-222,-213,-238},{-224,-247,-249,-229,-226,-249},{-247,-224,-236,-222,-229,-247},{-238,-210,-210,-231,-233,-222},{-215,-254,-222,-217,-236,-238},{-224,-254,-224,-231,-213,-247},{-215,-238,-238,-249,-240,-213},{-222,-252,-210,-247,-233,-210},{-243,-226,-236,-229,-247,-236},{-236,-243,-247,-217,-217,-240},{-213,-208,-226,-224,-233,-238},{-231,-245,-245,-231,-245,-252},{-245,-208,-208,-254,-215,-231},{-208,-252,-217,-210,-240,-217},{-210,-231,-217,-236,-252,-240},{-215,-247,-210,-245,-233,-215},{-219,-226,-254,-243,-208,-215},{-236,-252,-217,-238,-252,-229}},{{-245,-208,-226,-219,-252,-243},{-210,-254,-254,-254,-236,-210},{-254,-252,-254,-254,-247,-254},{-240,-254,-233,-245,-224,-222},{-254,-229,-243,-240,-247,-215},{-208,-240,-208,-247,-208,-229},{-217,-245,-219,-208,-233,-215},{-240,-238,-233,-231,-231,-243},{-249,-254,-231,-215,-236,-229},{-245,-249,-208,-229,-219,-229},{-247,-224,-224,-233,-252,-226},{-219,-233,-215,-213,-226,-238},{-245,-231,-238,-213,-231,-231},{-238,-252,-233,-224,-233,-229},{-243,-247,-240,-231,-240,-252},{-210,-252,-249,-215,-236,-245},{-240,-217,-208,-238,-236,-247},{-233,-236,-222,-249,-247,-210},{-238,-215,-217,-254,-245,-208},{-215,-236,-226,-219,-219,-245}},{{-247,-229,-213,-249,-217,-231},{-252,-208,-252,-231,-213,-224},{-217,-236,-238,-215,-229,-233},{-233,-249,-254,-215,-229,-208},{-217,-245,-252,-249,-217,-240},{-210,-229,-213,-247,-245,-249},{-219,-219,-245,-210,-226,-252},{-238,-226,-222,-249,-231,-213},{-224,-254,-245,-217,-233,-249},{-231,-247,-213,-215,-213,-229},{-238,-213,-226,-233,-245,-224},{-236,-217,-226,-226,-252,-240},{-217,-215,-243,-226,-226,-231},{-240,-238,-219,-236,-224,-249},{-208,-252,-236,-229,-240,-249},{-240,-210,-224,-254,-252,-222},{-219,-215,-247,-213,-215,-238},{-243,-215,-238,-217,-252,-231},{-215,-245,-233,-226,-226,-236},{-215,-208,-254,-238,-238,-226}}},{{{-318,-294,-282,-270,-273,-291},{-320,-297,-315,-285,-309,-270},{-318,-315,-300,-294,-265,-312},{-268,-288,-291,-279,-282,-297},{-318,-306,-270,-273,-315,-268},{-268,-265,-300,-270,-276,-320},{-300,-306,-306,-294,-288,-320},{-306,-315,-285,-323,-276,-291},{-279,-320,-309,-320,-315,-306},{-297,-315,-276,-270,-300,-315},{-282,-273,-270,-312,-285,-309},{-294,-306,-315,-294,-320,-315},{-312,-306,-306,-318,-276,-265},{-273,-268,-303,-273,-303,-282},{-323,-265,-303,-300,-282,-273},{-273,-265,-320,-312,-315,-297},{-265,-315,-282,-288,-279,-270},{-276,-320,-294,-303,-270,-303},{-318,-300,-320,-265,-312,-265},{-282,-318,-268,-268,-309,-282}},{{-279,-282,-318,-297,-303,-282},{-268,-303,-306,-306,-300,-312},{-320,-279,-285,-268,-291,-288},{-294,-294,-294,-270,-323,-303},{-288,-270,-268,-273,-285,-276},{-294,-288,-318,-318,-306,-315},{-306,-282,-312,-279,-320,-320},{-306,-288,-265,-300,-309,-303},{-285,-279,-285,-300,-306,-323},{-294,-294,-297,-273,-300,-270},{-282,-306,-265,-268,-288,-300},{-309,-312,-315,-303,-300,-294},{-300,-291,-315,-315,-306,-291},{-285,-268,-312,-276,-323,-294},{-309,-288,-294,-276,-291,-318},{-318,-268,-315,-320,-315,-288},{-288,-291,-276,-320,-276,-282},{-291,-291,-285,-318,-279,-297},{-315,-268,-294,-265,-288,-285},{-297,-303,-309,-312,-309,-291}},{{-288,-268,-291,-303,-282,-288},{-270,-297,-297,-318,-268,-318},{-288,-279,-320,-303,-285,-273},{-288,-309,-273,-300,-291,-291},{-303,-297,-306,-270,-315,-306},{-294,-268,-276,-288,-297,-268},{-303,-282,-268,-273,-303,-300},{-318,-300,-265,-291,-265,-273},{-294,-265,-309,-279,-291,-279},{-282,-273,-320,-268,-288,-288},{-323,-318,-288,-318,-291,-282},{-265,-279,-318,-320,-306,-300},{-297,-297,-318,-309,-320,-279},{-285,-279,-312,-303,-276,-268},{-270,-309,-276,-300,-323,-297},{-309,-270,-270,-323,-279,-300},{-288,-297,-294,-288,-291,-323},{-279,-285,-306,-306,-270,-303},{-300,-294,-294,-265,-309,-300},{-285,-315,-265,-320,-303,-265}},{{-303,-297,-276,-303,-320,-294},{-288,-282,-273,-297,-312,-300},{-265,-294,-294,-320,-303,-306},{-320,-282,-273,-303,-268,-270},{-294,-294,-265,-282,-297,-294},{-291,-291,-300,-285,-312,-276},{-320,-270,-320,-273,-276,-306},{-315,-282,-294,-303,-285,-323},{-288,-265,-282,-276,-279,-273},{-291,-318,-309,-282,-273,-279},{-315,-291,-318,-323,-276,-268},{-320,-323,-315,-306,-323,-282},{-294,-288,-288,-276,-268,-268},{-309,-291,-282,-297,-297,-320},{-282,-323,-312,-320,-315,-276},{-288,-306,-294,-268,-323,-270},{-279,-306,-285,-312,-294,-312},{-312,-282,-285,-323,-306,-294},{-288,-300,-285,-265,-323,-315},{-323,-318,-312,-294,-300,-315}},{{-294,-306,-288,-294,-270,-285},{-273,-318,-312,-270,-285,-320},{-265,-300,-294,-265,-294,-309},{-312,-294,-265,-306,-268,-320},{-270,-291,-265,-306,-303,-312},{-282,-323,-300,-318,-318,-306},{-282,-300,-315,-312,-282,-303},{-309,-294,-309,-297,-276,-315},{-315,-320,-279,-276,-285,-265},{-323,-315,-323,-300,-268,-300},{-323,-294,-323,-315,-309,-312},{-285,-285,-288,-306,-294,-291},{-273,-268,-279,-323,-291,-297},{-320,-294,-270,-303,-312,-294},{-268,-318,-318,-294,-265,-265},{-291,-320,-297,-270,-303,-265},{-273,-315,-294,-291,-300,-303},{-288,-303,-323,-306,-270,-276},{-312,-282,-268,-297,-285,-309},{-297,-300,-294,-285,-300,-315}},{{-300,-303,-273,-297,-306,-306},{-303,-273,-265,-279,-318,-303},{-306,-270,-270,-273,-285,-318},{-318,-303,-273,-273,-279,-315},{-270,-297,-288,-288,-282,-312},{-268,-323,-270,-276,-318,-288},{-306,-323,-288,-309,-270,-303},{-309,-288,-309,-297,-309,-318},{-320,-285,-294,-270,-303,-300},{-279,-285,-315,-312,-265,-309},{-323,-297,-288,-318,-273,-270},{-297,-312,-291,-318,-285,-318},{-306,-323,-291,-270,-268,-303},{-318,-273,-268,-294,-306,-285},{-306,-303,-276,-265,-276,-323},{-273,-270,-297,-320,-320,-291},{-276,-297,-297,-297,-279,-276},{-300,-320,-270,-312,-306,-270},{-288,-268,-265,-315,-270,-318},{-315,-306,-285,-291,-276,-300}}}}; // 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]={16,8,6,15,8,5,15,8,6,16,8,6,16,8,6,16,9,6,17,8,6,17,9,6,16,9,6,17,9,6,17,8,6,17,8,6,18,9,6,17,9,6,18,9,6,18,9,6,17,9,6,17,9,6,16,9,6,17,8,6,16,8,6,16,8,6,16,9,6,16,8,6}; // 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}}; // 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,0,4,8,12,16,20,24,28,0,6,12,18,24,30,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,2,6,10,14,18,22,26,30,2,8,14,20,26,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,2,6,10,14,18,22,26,30,0,6,12,18,24,30,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,1,5,9,13,17,21,25,29,0,6,12,18,24,30,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,2,6,10,14,18,22,26,30,1,7,13,19,25,31,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,0,4,8,12,16,20,24,28,32,0,6,12,18,24,30,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,2,6,10,14,18,22,26,30,2,8,14,20,26,32,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,1,5,9,13,17,21,25,29,33,2,8,14,20,26,32,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,1,5,9,13,17,21,25,29,33,0,6,12,18,24,30,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,0,4,8,12,16,20,24,28,32,2,8,14,20,26,32,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,2,6,10,14,18,22,26,30,2,8,14,20,26,32,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,2,6,10,14,18,22,26,30,1,7,13,19,25,31,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,2,6,10,14,18,22,26,30,34,2,8,14,20,26,32,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,0,4,8,12,16,20,24,28,32,1,7,13,19,25,31,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,2,6,10,14,18,22,26,30,34,0,6,12,18,24,30,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,2,6,10,14,18,22,26,30,34,0,6,12,18,24,30,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,2,6,10,14,18,22,26,30,34,1,7,13,19,25,31,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,0,4,8,12,16,20,24,28,32,0,6,12,18,24,30,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,1,5,9,13,17,21,25,29,33,1,7,13,19,25,31,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,2,6,10,14,18,22,26,30,2,8,14,20,26,32,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,2,6,10,14,18,22,26,30,0,6,12,18,24,30,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,2,6,10,14,18,22,26,30,1,7,13,19,25,31,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,0,4,8,12,16,20,24,28,32,0,6,12,18,24,30,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,1,5,9,13,17,21,25,29,1,7,13,19,25,31}; // 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,5,9,13,17,21,25,29,33,5,11,17,23,29,35,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,7,11,15,19,23,27,31,35,7,13,19,25,31,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,7,11,15,19,23,27,31,35,5,11,17,23,29,35,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,4,8,12,16,20,24,28,32,3,9,15,21,27,33,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,5,9,13,17,21,25,29,33,4,10,16,22,28,34,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,3,7,11,15,19,23,27,31,35,3,9,15,21,27,33,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,4,8,12,16,20,24,28,32,4,10,16,22,28,34,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,3,7,11,15,19,23,27,31,35,4,10,16,22,28,34,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,3,7,11,15,19,23,27,31,35,2,8,14,20,26,32,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,2,6,10,14,18,22,26,30,34,4,10,16,22,28,34,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,4,8,12,16,20,24,28,32,4,10,16,22,28,34,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,4,8,12,16,20,24,28,32,3,9,15,21,27,33,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,3,7,11,15,19,23,27,31,35,3,9,15,21,27,33,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,1,5,9,13,17,21,25,29,33,2,8,14,20,26,32,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,3,7,11,15,19,23,27,31,35,1,7,13,19,25,31,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,3,7,11,15,19,23,27,31,35,1,7,13,19,25,31,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,3,7,11,15,19,23,27,31,35,2,8,14,20,26,32,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,1,5,9,13,17,21,25,29,33,1,7,13,19,25,31,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,3,7,11,15,19,23,27,31,35,3,9,15,21,27,33,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,4,8,12,16,20,24,28,32,4,10,16,22,28,34,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,4,8,12,16,20,24,28,32,2,8,14,20,26,32,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,5,9,13,17,21,25,29,33,4,10,16,22,28,34,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,3,7,11,15,19,23,27,31,35,3,9,15,21,27,33,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,4,8,12,16,20,24,28,32,4,10,16,22,28,34}; // set of end times of each shipment 
