00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038 #include <gecode/driver.hh>
00039
00040 #include <gecode/int.hh>
00041 #include <gecode/minimodel.hh>
00042
00043 #include <algorithm>
00044
00045 using namespace Gecode;
00046
00047
00048 namespace {
00049
00050
00051 extern const int* bpp[];
00052
00053 extern const char* name[];
00054
00056 class Spec {
00057 protected:
00059 const int* data;
00061 int l, u;
00062 public:
00064 bool valid(void) const {
00065 return data != NULL;
00066 }
00068 int capacity(void) const {
00069 return data[0];
00070 }
00072 int items(void) const {
00073 return data[1];
00074 }
00076 int size(int i) const {
00077 return data[i+2];
00078 }
00079 protected:
00081 static const int* find(const char* s) {
00082 for (int i=0; name[i] != NULL; i++)
00083 if (!strcmp(s,name[i]))
00084 return bpp[i];
00085 return NULL;
00086 }
00088 int clower(void) const {
00089
00090
00091
00092
00093
00094 const int c = capacity(), n = items();
00095 int l = 0;
00096
00097
00098 int n1 = 0;
00099
00100 int n12 = 0;
00101
00102 int n3 = 0;
00103
00104 int f2 = 0;
00105
00106 int s3 = 0;
00107
00108
00109 for (; (n12 < n) && (size(n12) > c/2); n12++)
00110 f2 += c - size(n12);
00111
00112
00113 for (n3 = n12; n3 < n; n3++)
00114 s3 += size(n3);
00115
00116
00117 for (int k=0; k<=c/2; k++) {
00118
00119 for (; (n1 < n) && (size(n1) > c-k); n1++)
00120 f2 -= c - size(n1);
00121 assert(n1 <= n12);
00122
00123 for (; (size(n3-1) < k) && (n3 > n12); n3--)
00124 s3 -= size(n3-1);
00125
00126 int o = (s3 > f2) ? ((s3 - f2 + c - 1) / c) : 0;
00127 l = std::max(l, n12 + o);
00128 }
00129 return l;
00130 }
00132 int cupper(void) const {
00133
00134 const int c = capacity(), n = items();
00135
00136 int* f = new int[n];
00137 for (int i=0; i<n; i++)
00138 f[i] = c;
00139
00140 int u=0;
00141 for (int i=0; i<n; i++) {
00142
00143 int j=0;
00144 while (f[j] < size(i))
00145 j++;
00146 f[j] -= size(i);
00147 u = std::max(u,j);
00148 }
00149 delete [] f;
00150 return u+1;
00151 }
00152 public:
00154 Spec(const char* s) : data(find(s)), l(0), u(0) {
00155 if (valid()) {
00156 l = clower(); u = cupper();
00157 }
00158 }
00160 int total(void) const {
00161 int t=0;
00162 for (int i=0; i<items(); i++)
00163 t += size(i);
00164 return t;
00165 }
00167 int lower(void) const {
00168 return l;
00169 }
00171 int upper(void) const {
00172 return u;
00173 }
00174 };
00175
00176 }
00177
00189 class CDBF : public Brancher {
00190 protected:
00192 ViewArray<Int::IntView> load;
00194 ViewArray<Int::IntView> bin;
00196 IntSharedArray size;
00198 mutable int item;
00200 class Choice : public Gecode::Choice {
00201 public:
00203 int item;
00205 int* same;
00207 int n_same;
00211 Choice(const Brancher& b, unsigned int a, int i, int* s, int n_s)
00212 : Gecode::Choice(b,a), item(i),
00213 same(heap.alloc<int>(n_s)), n_same(n_s) {
00214 for (int k=n_same; k--; )
00215 same[k] = s[k];
00216 }
00218 virtual size_t size(void) const {
00219 return sizeof(Choice) + sizeof(int) * n_same;
00220 }
00222 virtual void archive(Archive& e) const {
00223 Gecode::Choice::archive(e);
00224 e << alternatives() << item << n_same;
00225 for (int i=n_same; i--;)
00226 e << same[i];
00227 }
00229 virtual ~Choice(void) {
00230 heap.free<int>(same,n_same);
00231 }
00232 };
00233
00234 public:
00236 CDBF(Home home, ViewArray<Int::IntView>& l, ViewArray<Int::IntView>& b,
00237 IntSharedArray& s)
00238 : Brancher(home), load(l), bin(b), size(s), item(0) {
00239 home.notice(*this,AP_DISPOSE);
00240 }
00242 static void post(Home home, ViewArray<Int::IntView>& l,
00243 ViewArray<Int::IntView>& b,
00244 IntSharedArray& s) {
00245 (void) new (home) CDBF(home, l, b, s);
00246 }
00248 CDBF(Space& home, bool share, CDBF& cdbf)
00249 : Brancher(home, share, cdbf), item(cdbf.item) {
00250 load.update(home, share, cdbf.load);
00251 bin.update(home, share, cdbf.bin);
00252 size.update(home, share, cdbf.size);
00253 }
00255 virtual Actor* copy(Space& home, bool share) {
00256 return new (home) CDBF(home, share, *this);
00257 }
00259 virtual size_t dispose(Space& home) {
00260 home.ignore(*this,AP_DISPOSE);
00261 size.~IntSharedArray();
00262 return sizeof(*this);
00263 }
00265 virtual bool status(const Space&) const {
00266 for (int i = item; i < bin.size(); i++)
00267 if (!bin[i].assigned()) {
00268 item = i; return true;
00269 }
00270 return false;
00271 }
00273 virtual Gecode::Choice* choice(Space& home) {
00274 assert(!bin[item].assigned());
00275
00276 int n = bin.size(), m = load.size();
00277
00278 Region region(home);
00279
00280
00281 int* free = region.alloc<int>(m);
00282
00283 for (int j=m; j--; )
00284 free[j] = load[j].max();
00285 for (int i=n; i--; )
00286 if (bin[i].assigned())
00287 free[bin[i].val()] -= size[i];
00288
00289
00290 int* same = region.alloc<int>(m+1);
00291 unsigned int n_same = 0;
00292 unsigned int n_possible = 0;
00293
00294
00295 same[n_same++] = -1;
00296
00297
00298 int slack = INT_MAX;
00299 for (Int::ViewValues<Int::IntView> j(bin[item]); j(); ++j)
00300 if (size[item] <= free[j.val()]) {
00301
00302 n_possible++;
00303 if (free[j.val()] - size[item] < slack) {
00304
00305 slack = free[j.val()] - size[item];
00306 same[0] = j.val(); n_same = 1;
00307 } else if (free[j.val()] - size[item] == slack) {
00308
00309 same[n_same++] = j.val();
00310 }
00311 }
00312
00313
00314
00315
00316
00317
00318
00319
00320 if ((slack == 0) || (n_same == n_possible) || (slack == INT_MAX))
00321 return new Choice(*this, 1, item, same, 1);
00322 else
00323 return new Choice(*this, 2, item, same, n_same);
00324 }
00326 virtual const Gecode::Choice* choice(const Space& home, Archive& e) {
00327 int alt, item, n_same;
00328 e >> alt >> item >> n_same;
00329 Region re(home);
00330 int* same = re.alloc<int>(n_same);
00331 for (int i=n_same; i--;) e >> same[i];
00332 return new Choice(*this, alt, item, same, n_same);
00333 }
00335 virtual ExecStatus commit(Space& home, const Gecode::Choice& _c,
00336 unsigned int a) {
00337 const Choice& c = static_cast<const Choice&>(_c);
00338
00339 if (a == 0) {
00340 GECODE_ME_CHECK(bin[c.item].eq(home, c.same[0]));
00341 } else {
00342 Iter::Values::Array same(c.same, c.n_same);
00343
00344 GECODE_ME_CHECK(bin[c.item].minus_v(home, same));
00345
00346 for (int i = c.item+1; (i<bin.size()) &&
00347 (size[i] == size[c.item]); i++) {
00348 same.reset();
00349 GECODE_ME_CHECK(bin[i].minus_v(home, same));
00350 }
00351 }
00352 return ES_OK;
00353 }
00354 };
00355
00357 void cdbf(Home home, const IntVarArgs& l, const IntVarArgs& b,
00358 const IntArgs& s) {
00359 if (b.size() != s.size())
00360 throw Int::ArgumentSizeMismatch("cdbf");
00361 ViewArray<Int::IntView> load(home, l);
00362 ViewArray<Int::IntView> bin(home, b);
00363 IntSharedArray size(s);
00364 CDBF::post(home, load, bin, size);
00365 }
00366
00367
00368
00375 class BinPacking : public MinimizeScript {
00376 protected:
00378 const Spec spec;
00380 IntVarArray load;
00382 IntVarArray bin;
00384 IntVar bins;
00385 public:
00387 enum {
00388 MODEL_NAIVE,
00389 MODEL_PACKING
00390 };
00392 enum {
00393 BRANCH_NAIVE,
00394 BRANCH_CDBF,
00395 };
00397 BinPacking(const InstanceOptions& opt)
00398 : spec(opt.instance()),
00399 load(*this, spec.upper(), 0, spec.capacity()),
00400 bin(*this, spec.items(), 0, spec.upper()-1),
00401 bins(*this, spec.lower(), spec.upper()) {
00402
00403 int n = bin.size();
00404
00405 int m = load.size();
00406
00407
00408 int s = 0;
00409 for (int i=0; i<n; i++)
00410 s += spec.size(i);
00411
00412
00413 IntArgs sizes(n);
00414 for (int i=0; i<n; i++)
00415 sizes[i] = spec.size(i);
00416
00417 switch (opt.model()) {
00418 case MODEL_NAIVE:
00419 {
00420
00421 linear(*this, load, IRT_EQ, s);
00422
00423
00424 BoolVarArgs _x(*this, n*m, 0, 1);
00425 Matrix<BoolVarArgs> x(_x, n, m);
00426
00427 for (int i=0; i<n; i++)
00428 channel(*this, x.col(i), bin[i]);
00429
00430 for (int j=0; j<m; j++)
00431 linear(*this, sizes, x.row(j), IRT_EQ, load[j]);
00432 }
00433 break;
00434 case MODEL_PACKING:
00435 binpacking(*this, load, bin, sizes);
00436 break;
00437 }
00438
00439
00440 for (int i=1; i<n; i++)
00441 if (spec.size(i-1) == spec.size(i))
00442 rel(*this, bin[i-1] <= bin[i]);
00443
00444
00445 {
00446 int i = 0;
00447
00448 for (; (i < n) && (i < m) && (spec.size(i) * 2 > spec.capacity()); i++)
00449 rel(*this, bin[i] == i);
00450
00451 if ((i < n) && (i < m) && (i > 0) &&
00452 (spec.size(i-1) + spec.size(i) > spec.capacity()))
00453 rel(*this, bin[i] == i);
00454 }
00455
00456
00457 for (int j=spec.lower()+1; j <= spec.upper(); j++)
00458 rel(*this, (bins < j) == (load[j-1] == 0));
00459
00460 branch(*this, bins, INT_VAL_MIN);
00461 switch (opt.branching()) {
00462 case BRANCH_NAIVE:
00463 branch(*this, bin, INT_VAR_NONE, INT_VAL_MIN);
00464 break;
00465 case BRANCH_CDBF:
00466 cdbf(*this, load, bin, sizes);
00467 break;
00468 }
00469 }
00471 virtual IntVar cost(void) const {
00472 return bins;
00473 }
00475 BinPacking(bool share, BinPacking& s)
00476 : MinimizeScript(share,s), spec(s.spec) {
00477 load.update(*this, share, s.load);
00478 bin.update(*this, share, s.bin);
00479 bins.update(*this, share, s.bins);
00480 }
00482 virtual Space*
00483 copy(bool share) {
00484 return new BinPacking(share,*this);
00485 }
00487 virtual void
00488 print(std::ostream& os) const {
00489 int n = bin.size();
00490 int m = load.size();
00491 os << "Bins used: " << bins << " (from " << m << " bins)." << std::endl;
00492 for (int j=0; j<m; j++) {
00493 bool fst = true;
00494 os << "\t[" << j << "]={";
00495 for (int i=0; i<n; i++)
00496 if (bin[i].assigned() && (bin[i].val() == j)) {
00497 if (fst) {
00498 fst = false;
00499 } else {
00500 os << ",";
00501 }
00502 os << i;
00503 }
00504 os << "} #" << load[j] << std::endl;
00505 }
00506 if (!bin.assigned()) {
00507 os << std::endl
00508 << "Unpacked items:" << std::endl;
00509 for (int i=0;i<n; i++)
00510 if (!bin[i].assigned())
00511 os << "\t[" << i << "] = " << bin[i] << std::endl;
00512 }
00513 }
00514 };
00515
00519 int
00520 main(int argc, char* argv[]) {
00521 InstanceOptions opt("BinPacking");
00522 opt.model(BinPacking::MODEL_PACKING);
00523 opt.model(BinPacking::MODEL_NAIVE, "naive",
00524 "use naive model (decomposition)");
00525 opt.model(BinPacking::MODEL_PACKING, "packing",
00526 "use bin packing constraint");
00527 opt.branching(BinPacking::BRANCH_CDBF);
00528 opt.branching(BinPacking::BRANCH_NAIVE, "naive");
00529 opt.branching(BinPacking::BRANCH_CDBF, "cdbf");
00530 opt.instance(name[0]);
00531 opt.solutions(0);
00532 opt.parse(argc,argv);
00533 if (!Spec(opt.instance()).valid()) {
00534 std::cerr << "Error: unkown instance" << std::endl;
00535 return 1;
00536 }
00537 MinimizeScript::run<BinPacking,BAB,InstanceOptions>(opt);
00538 return 0;
00539 }
00540
00541 namespace {
00542
00543
00544
00545
00546
00547
00548
00549
00550
00551
00552
00553
00554
00555
00556
00557 const int n1c1w1_a[] = {
00558 100,
00559 50,
00560
00561 99,99,96,96,92,92,91,88,87,86,85,76,74,72,69,67,67,62,61,56,52,
00562 51,49,46,44,42,40,40,33,33,30,30,29,28,28,27,25,24,23,22,21,20,
00563 17,14,13,11,10,7,7,3
00564 };
00565 const int n1c1w1_b[] = {
00566 100,
00567 50,
00568
00569 100,99,97,97,97,93,93,92,92,88,83,83,79,76,76,75,72,71,70,69,
00570 67,66,63,62,62,61,61,51,50,44,44,43,43,40,39,37,37,30,23,20,19,
00571 18,17,15,14,13,13,12,8,8
00572 };
00573 const int n1c1w1_c[] = {
00574 100,
00575 50,
00576
00577 92,89,87,84,82,82,81,75,73,71,67,67,63,59,57,56,52,49,48,47,46,
00578 41,39,38,36,35,34,34,30,29,26,21,20,19,18,15,15,13,11,10,10,10,
00579 9,8,8,7,6,6,6,3
00580 };
00581 const int n1c1w1_d[] = {
00582 100,
00583 50,
00584
00585 100,99,98,97,95,94,92,92,91,82,80,77,76,75,73,73,73,71,68,65,
00586 65,63,63,63,60,59,53,45,44,40,31,25,24,24,24,23,22,21,21,15,14,
00587 14,10,10,7,7,6,3,2,2
00588 };
00589 const int n1c1w1_e[] = {
00590 100,
00591 50,
00592
00593 91,88,88,87,87,86,86,85,85,84,83,80,79,78,77,70,70,68,67,66,59,
00594 52,49,48,47,47,44,42,38,37,37,34,34,33,31,29,27,24,21,17,16,16,
00595 15,14,8,6,5,4,2,2
00596 };
00597 const int n1c1w1_f[] = {
00598 100,
00599 50,
00600
00601 99,98,98,93,92,89,89,84,84,83,78,77,75,73,72,71,70,69,69,68,60,
00602 60,57,56,54,50,49,49,45,37,36,35,30,30,27,26,26,25,24,21,20,19,
00603 15,14,13,11,11,8,2,2
00604 };
00605 const int n1c1w1_g[] = {
00606 100,
00607 50,
00608
00609 100,99,98,98,98,91,90,87,84,84,78,77,72,71,70,69,69,64,63,58,
00610 58,46,45,45,43,43,42,41,37,37,37,35,34,31,30,29,24,23,22,21,20,
00611 17,12,11,10,9,7,6,5,4
00612 };
00613 const int n1c1w1_h[] = {
00614 100,
00615 50,
00616
00617 97,93,93,92,92,91,90,88,86,85,85,85,82,81,80,79,75,73,71,70,70,
00618 67,66,64,62,62,61,54,48,48,47,46,44,41,40,39,34,29,24,24,21,18,
00619 16,16,14,13,11,10,5,1
00620 };
00621 const int n1c1w1_i[] = {
00622 100,
00623 50,
00624
00625 95,92,87,87,85,84,83,79,77,77,75,73,69,68,65,63,63,62,61,58,57,
00626 52,50,44,43,40,40,38,38,38,35,33,33,32,31,29,27,24,24,22,19,19,
00627 18,16,14,11,6,4,3,2
00628 };
00629 const int n1c1w1_j[] = {
00630 100,
00631 50,
00632
00633 99,99,95,94,94,93,91,90,86,81,81,80,79,77,74,69,69,63,55,54,54,
00634 53,52,50,44,40,39,38,37,36,36,36,36,34,31,31,26,25,23,22,18,17,
00635 15,14,13,12,10,7,2,1
00636 };
00637 const int n1c1w1_k[] = {
00638 100,
00639 50,
00640
00641 96,91,91,89,87,85,84,83,82,79,78,77,77,75,75,70,68,66,64,62,62,
00642 56,53,51,44,41,40,38,38,36,34,31,30,29,28,27,26,23,17,16,15,14,
00643 14,12,11,10,8,8,4,2
00644 };
00645 const int n1c1w1_l[] = {
00646 100,
00647 50,
00648
00649 99,99,98,96,95,93,92,92,89,87,85,85,82,80,72,71,68,68,64,64,63,
00650 61,59,59,57,57,57,55,55,52,52,51,49,48,47,47,40,39,38,37,29,28,
00651 28,22,22,19,17,16,9,4
00652 };
00653 const int n1c1w1_m[] = {
00654 100,
00655 50,
00656
00657 100,100,99,97,94,93,91,90,89,88,87,87,86,86,79,77,72,71,70,69,
00658 68,68,65,64,61,60,59,51,50,50,43,42,39,37,29,27,25,24,21,19,17,
00659 16,13,13,8,6,6,3,2,1
00660 };
00661 const int n1c1w1_n[] = {
00662 100,
00663 50,
00664
00665 99,98,95,95,95,94,94,91,88,87,86,85,76,74,73,71,68,60,55,54,51,
00666 45,42,40,39,39,36,34,33,32,32,31,31,30,29,26,26,23,21,21,21,19,
00667 18,18,16,15,5,5,4,1
00668 };
00669 const int n1c1w1_o[] = {
00670 100,
00671 50,
00672
00673 100,99,98,97,97,94,92,91,91,90,88,87,85,81,81,80,79,72,70,67,
00674 67,66,64,63,61,59,58,56,55,51,50,50,50,49,46,41,39,39,38,30,30,
00675 24,22,21,20,19,14,8,7,5
00676 };
00677 const int n1c1w1_p[] = {
00678 100,
00679 50,
00680
00681 96,94,91,90,82,81,80,77,76,75,74,72,70,68,65,63,63,63,60,60,59,
00682 58,57,55,51,47,46,36,36,34,32,32,30,30,28,28,27,26,24,24,19,19,
00683 17,17,11,9,9,7,4,4
00684 };
00685 const int n1c1w1_q[] = {
00686 100,
00687 50,
00688
00689 97,92,90,85,83,83,82,81,77,76,74,73,71,67,67,67,67,63,63,62,59,
00690 58,58,56,56,55,53,50,47,42,41,41,41,39,37,35,32,31,30,26,25,22,
00691 20,17,16,15,13,13,10,5
00692 };
00693 const int n1c1w1_r[] = {
00694 100,
00695 50,
00696
00697 95,94,93,92,87,81,81,79,78,76,75,72,72,71,70,65,62,61,60,55,54,
00698 54,51,49,46,45,38,38,37,36,36,36,32,31,28,27,26,25,24,24,21,20,
00699 20,17,14,10,9,7,7,3
00700 };
00701 const int n1c1w1_s[] = {
00702 100,
00703 50,
00704
00705 100,99,99,97,96,95,87,87,87,86,84,82,80,80,80,76,75,74,71,68,
00706 67,63,62,60,52,52,52,48,44,44,43,43,37,34,33,31,29,28,25,21,20,
00707 17,16,13,11,9,6,5,4,3
00708 };
00709 const int n1c1w1_t[] = {
00710 100,
00711 50,
00712
00713 100,97,92,91,89,88,83,82,82,82,78,77,77,77,73,72,68,67,66,65,
00714 64,62,60,60,57,53,50,48,46,42,40,40,38,37,37,31,30,29,28,21,20,
00715 20,20,20,18,18,15,15,11,1
00716 };
00717 const int n1c1w2_a[] = {
00718 100,
00719 50,
00720
00721 96,93,86,86,85,83,80,80,80,79,77,68,67,64,64,63,60,57,55,54,54,
00722 54,54,52,52,52,51,44,43,41,41,39,39,39,38,36,36,35,34,34,31,31,
00723 29,29,28,24,23,22,22,20
00724 };
00725 const int n1c1w2_b[] = {
00726 100,
00727 50,
00728
00729 99,96,95,95,91,91,91,90,89,86,85,85,84,79,76,69,68,68,65,64,63,
00730 58,58,54,53,52,50,49,48,48,45,45,43,42,36,35,33,31,31,30,30,30,
00731 29,27,27,26,22,22,22,21
00732 };
00733 const int n1c1w2_c[] = {
00734 100,
00735 50,
00736
00737 100,99,98,97,94,93,91,89,89,89,85,85,84,83,81,81,78,73,73,73,
00738 73,70,69,68,64,64,63,59,54,49,48,45,45,43,42,41,39,37,37,36,32,
00739 30,26,26,25,24,24,23,21,21
00740 };
00741 const int n1c1w2_d[] = {
00742 100,
00743 50,
00744
00745 97,97,90,89,89,89,85,83,82,81,77,76,76,75,71,71,68,68,66,63,63,
00746 63,62,61,61,59,58,54,53,50,50,50,46,43,40,36,36,33,32,31,31,31,
00747 28,27,27,26,26,24,23,22
00748 };
00749 const int n1c1w2_e[] = {
00750 100,
00751 50,
00752
00753 99,96,94,94,90,90,90,90,87,86,85,85,84,84,84,84,84,83,81,81,79,
00754 71,71,70,65,65,65,63,62,59,51,51,50,49,49,49,47,45,44,43,41,35,
00755 35,33,31,27,23,23,22,22
00756 };
00757 const int n1c1w2_f[] = {
00758 100,
00759 50,
00760
00761 99,94,94,89,88,86,86,85,84,84,83,79,77,76,74,73,71,71,66,65,63,
00762 62,60,54,53,50,49,48,48,48,48,43,41,40,40,39,38,35,34,32,31,29,
00763 28,25,23,23,22,21,20,20
00764 };
00765 const int n1c1w2_g[] = {
00766 100,
00767 50,
00768
00769 100,99,94,91,90,88,86,85,85,83,82,80,79,77,73,71,71,71,67,65,
00770 65,58,57,57,55,53,52,51,45,40,39,39,38,38,38,37,36,36,35,35,32,
00771 29,28,27,27,27,24,23,21,20
00772 };
00773 const int n1c1w2_h[] = {
00774 100,
00775 50,
00776
00777 100,100,96,95,95,92,92,92,91,90,90,89,89,86,84,83,81,78,76,73,
00778 73,73,71,71,67,66,61,60,59,57,54,54,44,42,42,38,36,33,31,31,28,
00779 28,27,27,27,27,26,25,21,20
00780 };
00781 const int n1c1w2_i[] = {
00782 100,
00783 50,
00784
00785 100,100,98,97,96,94,93,93,85,85,84,83,83,83,82,79,76,76,76,75,
00786 74,73,73,72,68,66,60,60,56,55,53,52,49,47,46,45,42,41,38,37,37,
00787 37,36,32,31,31,31,28,24,21
00788 };
00789 const int n1c1w2_j[] = {
00790 100,
00791 50,
00792
00793 100,99,98,95,93,90,87,85,84,84,83,83,81,81,80,79,75,75,71,70,
00794 68,67,63,63,62,62,61,58,56,51,51,50,49,48,48,42,40,39,37,37,36,
00795 34,32,30,29,28,28,27,26,26
00796 };
00797 const int n1c1w2_k[] = {
00798 100,
00799 50,
00800
00801 100,99,98,97,97,96,95,94,92,89,89,87,85,77,76,73,71,69,68,68,
00802 67,66,66,65,64,64,63,62,58,58,52,50,49,48,47,46,44,43,43,35,35,
00803 32,29,26,26,25,25,23,20,20
00804 };
00805 const int n1c1w2_l[] = {
00806 100,
00807 50,
00808
00809 98,95,94,93,92,91,89,88,87,87,84,82,82,74,73,73,72,69,65,64,63,
00810 63,62,62,60,59,57,54,54,52,48,47,46,44,43,41,35,33,30,30,30,29,
00811 29,28,28,27,27,26,24,23
00812 };
00813 const int n1c1w2_m[] = {
00814 100,
00815 50,
00816
00817 99,95,90,89,89,85,82,80,80,79,79,79,77,74,70,70,66,65,65,64,57,
00818 56,56,55,55,55,53,52,50,49,48,47,45,42,40,37,36,36,36,32,31,31,
00819 31,31,30,28,28,25,22,20
00820 };
00821 const int n1c1w2_n[] = {
00822 100,
00823 50,
00824
00825 98,96,95,85,84,84,83,82,81,80,78,76,76,74,72,72,71,71,69,66,65,
00826 64,64,62,61,60,56,53,52,52,49,48,47,45,43,43,42,40,40,40,39,37,
00827 32,30,28,26,21,21,21,20
00828 };
00829 const int n1c1w2_o[] = {
00830 100,
00831 50,
00832
00833 100,100,100,96,95,93,86,82,82,80,79,75,73,71,71,70,69,69,68,63,
00834 60,59,58,56,53,52,50,45,44,44,43,42,37,37,36,36,35,31,30,30,29,
00835 28,28,27,27,22,21,21,20,20
00836 };
00837 const int n1c1w2_p[] = {
00838 100,
00839 50,
00840
00841 100,96,95,95,95,93,92,87,87,83,83,82,79,78,77,76,76,76,72,71,
00842 69,69,68,64,63,60,57,55,54,54,51,50,46,42,41,40,40,38,38,37,31,
00843 30,30,29,28,27,26,26,22,20
00844 };
00845 const int n1c1w2_q[] = {
00846 100,
00847 50,
00848
00849 97,96,96,93,93,93,91,88,86,86,85,85,85,82,81,78,75,74,71,71,69,
00850 67,67,65,65,65,64,61,61,60,58,58,56,54,53,49,45,44,43,40,38,38,
00851 38,34,33,31,30,26,23,23
00852 };
00853 const int n1c1w2_r[] = {
00854 100,
00855 50,
00856
00857 98,97,97,97,94,91,89,85,84,82,81,80,79,79,75,73,70,69,69,69,68,
00858 68,68,66,61,55,54,52,52,51,51,49,49,48,47,47,47,45,44,37,37,36,
00859 35,34,34,30,29,29,27,24
00860 };
00861 const int n1c1w2_s[] = {
00862 100,
00863 50,
00864
00865 99,99,98,96,95,93,92,91,91,91,88,86,84,84,84,80,80,79,78,77,76,
00866 76,73,72,71,71,69,68,67,64,64,61,59,58,54,52,49,49,41,40,38,31,
00867 31,29,28,27,27,27,22,20
00868 };
00869 const int n1c1w2_t[] = {
00870 100,
00871 50,
00872
00873 100,100,100,97,96,92,91,91,89,86,85,84,83,83,82,81,79,79,77,74,
00874 74,73,73,70,68,67,67,65,63,62,62,55,55,52,50,47,45,44,44,44,44,
00875 43,41,39,37,32,30,26,24,23
00876 };
00877 const int n1c1w4_a[] = {
00878 100,
00879 50,
00880
00881 99,95,93,92,91,89,89,88,88,85,84,84,84,80,80,79,77,76,72,69,65,
00882 64,64,63,63,60,56,56,53,53,52,51,50,50,49,49,47,44,41,41,40,40,
00883 40,35,35,34,32,31,31,30
00884 };
00885 const int n1c1w4_b[] = {
00886 100,
00887 50,
00888
00889 100,100,98,97,97,94,92,92,91,85,84,84,83,82,82,80,78,78,78,78,
00890 75,74,73,72,71,70,70,68,66,65,65,54,50,50,50,49,49,49,47,44,44,
00891 42,42,41,41,41,40,36,36,30
00892 };
00893 const int n1c1w4_c[] = {
00894 100,
00895 50,
00896
00897 94,92,89,88,88,87,86,84,82,82,81,79,77,77,77,76,73,72,70,69,68,
00898 68,65,63,63,61,59,58,57,55,54,52,52,52,51,48,46,43,40,38,37,37,
00899 36,35,35,35,34,34,34,33
00900 };
00901 const int n1c1w4_d[] = {
00902 100,
00903 50,
00904
00905 100,97,95,95,95,95,94,93,93,91,90,89,87,83,82,79,79,78,77,77,
00906 74,71,69,68,68,65,65,64,61,58,55,55,54,53,53,51,51,49,46,44,42,
00907 41,39,38,37,37,37,35,33,31
00908 };
00909 const int n1c1w4_e[] = {
00910 100,
00911 50,
00912
00913 100,99,94,92,92,92,89,88,85,83,83,80,79,79,79,79,77,74,74,73,
00914 71,70,69,68,65,62,62,62,61,61,58,56,56,55,55,55,48,47,46,46,44,
00915 43,43,43,40,40,36,35,32,30
00916 };
00917 const int n1c1w4_f[] = {
00918 100,
00919 50,
00920
00921 98,98,93,93,92,91,89,86,85,84,80,80,79,78,76,70,68,67,66,62,60,
00922 59,59,58,58,53,52,52,50,50,49,48,48,48,47,45,43,41,41,40,40,40,
00923 35,33,32,31,31,30,30,30
00924 };
00925 const int n1c1w4_g[] = {
00926 100,
00927 50,
00928
00929 100,100,100,99,97,95,95,95,93,93,91,90,87,87,86,85,85,84,84,84,
00930 82,80,77,76,72,70,67,66,65,64,59,56,55,52,48,46,45,44,41,38,37,
00931 35,35,34,34,33,33,32,32,31
00932 };
00933 const int n1c1w4_h[] = {
00934 100,
00935 50,
00936
00937 100,100,99,98,98,97,96,92,91,91,91,87,86,85,83,83,81,79,78,78,
00938 75,75,75,74,73,73,70,66,66,65,64,64,63,62,61,60,59,56,55,54,46,
00939 45,44,41,37,35,34,32,31,30
00940 };
00941 const int n1c1w4_i[] = {
00942 100,
00943 50,
00944
00945 95,92,91,91,90,88,87,87,86,86,85,81,79,76,76,76,72,72,69,65,63,
00946 63,63,63,61,61,59,59,58,56,54,54,52,51,50,47,47,45,45,45,43,40,
00947 40,36,35,35,34,32,32,31
00948 };
00949 const int n1c1w4_j[] = {
00950 100,
00951 50,
00952
00953 99,98,93,93,92,90,88,87,87,83,83,81,78,77,77,77,76,75,73,73,71,
00954 68,66,64,63,63,63,62,60,59,58,54,53,52,52,51,49,47,47,42,42,41,
00955 40,40,40,39,35,32,32,31
00956 };
00957 const int n1c1w4_k[] = {
00958 100,
00959 50,
00960
00961 100,98,95,94,94,94,93,92,87,85,85,84,83,82,81,78,78,75,73,72,
00962 71,71,70,70,68,67,67,66,65,64,60,59,58,57,56,56,56,55,55,54,51,
00963 49,46,45,43,43,43,37,36,35
00964 };
00965 const int n1c1w4_l[] = {
00966 100,
00967 50,
00968
00969 100,99,98,98,97,96,95,91,91,90,88,88,87,86,81,80,79,76,75,67,
00970 66,65,65,64,60,59,59,58,57,57,55,53,53,50,49,49,49,46,44,43,42,
00971 38,37,37,36,35,34,34,31,30
00972 };
00973 const int n1c1w4_m[] = {
00974 100,
00975 50,
00976
00977 100,99,99,94,93,92,91,89,88,88,87,80,79,77,75,74,73,71,71,71,
00978 69,66,64,64,64,63,63,63,62,60,60,59,59,59,55,55,55,53,51,49,49,
00979 48,46,46,45,42,42,34,33,31
00980 };
00981 const int n1c1w4_n[] = {
00982 100,
00983 50,
00984
00985 99,97,97,96,96,95,94,93,92,90,86,85,85,84,82,82,82,80,79,75,73,
00986 72,72,71,70,69,69,68,68,66,65,63,61,60,57,55,53,49,48,47,44,41,
00987 41,39,36,34,32,31,31,31
00988 };
00989 const int n1c1w4_o[] = {
00990 100,
00991 50,
00992
00993 100,90,89,89,89,87,84,81,80,77,77,77,74,71,71,71,67,66,65,63,
00994 62,61,60,59,59,57,56,56,54,54,51,51,49,48,48,47,47,46,40,39,37,
00995 36,36,35,34,34,33,32,31,30
00996 };
00997 const int n1c1w4_p[] = {
00998 100,
00999 50,
01000
01001 99,98,95,95,93,93,90,88,87,87,85,83,82,80,79,79,79,77,74,74,73,
01002 73,72,71,70,66,63,61,61,61,60,60,59,57,55,54,51,48,45,43,42,39,
01003 39,37,37,36,36,35,32,32
01004 };
01005 const int n1c1w4_q[] = {
01006 100,
01007 50,
01008
01009 95,94,92,91,91,91,90,89,89,84,84,82,79,74,74,74,70,69,68,67,63,
01010 62,59,59,57,56,56,55,53,52,51,50,50,49,48,48,47,45,43,42,41,41,
01011 41,40,38,35,35,32,31,30
01012 };
01013 const int n1c1w4_r[] = {
01014 100,
01015 50,
01016
01017 100,99,98,97,95,94,93,93,93,92,92,92,92,85,85,83,81,79,77,76,
01018 75,73,71,70,70,69,66,63,60,60,59,59,58,58,57,49,48,47,45,42,41,
01019 41,40,38,38,36,36,35,34,30
01020 };
01021 const int n1c1w4_s[] = {
01022 100,
01023 50,
01024
01025 99,99,98,97,97,94,94,93,91,90,87,87,86,85,85,81,80,78,78,77,76,
01026 72,66,66,64,59,58,57,57,53,52,50,50,50,48,48,47,46,43,40,39,37,
01027 37,36,36,35,33,32,30,30
01028 };
01029 const int n1c1w4_t[] = {
01030 100,
01031 50,
01032
01033 98,96,94,87,86,85,83,81,80,79,77,77,76,75,72,70,69,69,69,68,68,
01034 68,68,67,67,66,65,65,63,62,60,60,60,59,58,56,53,53,52,52,50,50,
01035 49,45,45,44,39,36,32,30
01036 };
01037 const int n1c2w1_a[] = {
01038 120,
01039 50,
01040
01041 100,97,96,92,89,88,88,87,83,75,75,72,71,70,69,66,63,62,62,61,
01042 60,58,50,47,46,40,40,37,36,32,31,30,28,27,27,26,24,18,16,14,13,
01043 12,10,10,10,8,7,5,4,2
01044 };
01045 const int n1c2w1_b[] = {
01046 120,
01047 50,
01048
01049 99,96,96,96,95,95,94,90,90,88,87,84,82,78,77,77,77,75,75,70,70,
01050 69,68,56,54,53,53,50,50,49,48,47,45,38,36,35,34,28,25,21,19,18,
01051 16,13,13,7,7,6,3,3
01052 };
01053 const int n1c2w1_c[] = {
01054 120,
01055 50,
01056
01057 100,97,96,92,89,86,83,83,82,79,77,76,73,73,70,69,69,61,60,60,
01058 60,58,56,56,53,51,49,48,48,48,47,46,42,41,36,35,34,32,32,32,31,
01059 22,17,12,12,6,6,5,3,2
01060 };
01061 const int n1c2w1_d[] = {
01062 120,
01063 50,
01064
01065 98,96,96,87,87,87,86,85,83,83,82,81,77,74,67,65,64,64,63,60,57,
01066 57,56,55,50,49,46,43,43,42,37,33,31,31,27,27,26,25,23,23,19,18,
01067 15,13,10,9,6,3,2,1
01068 };
01069 const int n1c2w1_e[] = {
01070 120,
01071 50,
01072
01073 94,92,89,89,87,82,82,81,80,80,78,71,70,67,66,63,58,52,50,48,46,
01074 36,34,33,31,30,27,26,21,21,20,19,18,18,17,12,11,11,11,11,10,10,
01075 7,7,7,6,5,5,4,3
01076 };
01077 const int n1c2w1_f[] = {
01078 120,
01079 50,
01080
01081 99,95,95,94,91,90,89,84,82,81,78,78,77,73,72,69,62,60,59,58,56,
01082 56,52,52,51,48,48,47,47,45,43,42,38,32,32,31,28,28,28,26,23,21,
01083 20,18,14,12,8,3,2,1
01084 };
01085 const int n1c2w1_g[] = {
01086 120,
01087 50,
01088
01089 100,100,99,96,96,95,94,90,88,84,81,79,76,70,67,65,60,60,57,57,
01090 56,52,47,45,44,42,39,37,36,36,35,31,31,28,27,27,25,19,18,17,14,
01091 14,12,9,9,9,9,3,2,1
01092 };
01093 const int n1c2w1_h[] = {
01094 120,
01095 50,
01096
01097 99,97,94,94,90,90,87,83,82,81,79,77,76,76,75,74,72,67,66,65,63,
01098 59,59,55,51,50,50,49,47,41,41,39,38,38,37,37,35,34,33,33,21,20,
01099 18,15,14,9,8,3,1,1
01100 };
01101 const int n1c2w1_i[] = {
01102 120,
01103 50,
01104
01105 100,100,89,89,89,89,88,87,81,78,78,77,76,75,74,73,70,70,69,66,
01106 66,64,64,64,63,61,60,58,54,52,51,50,49,48,48,48,46,45,45,43,40,
01107 39,35,34,33,24,9,4,4,1
01108 };
01109 const int n1c2w1_j[] = {
01110 120,
01111 50,
01112
01113 99,98,96,96,95,92,91,89,88,87,86,84,82,82,79,79,78,77,75,72,69,
01114 66,64,63,61,60,56,55,54,54,49,49,48,44,44,44,41,41,39,27,23,22,
01115 22,21,15,13,7,5,3,1
01116 };
01117 const int n1c2w1_k[] = {
01118 120,
01119 50,
01120
01121 97,96,96,94,94,91,88,87,85,81,81,77,74,74,74,71,69,68,68,66,65,
01122 63,60,59,57,57,46,46,45,45,44,43,41,37,35,35,32,30,28,27,25,23,
01123 23,19,18,16,14,14,10,8
01124 };
01125 const int n1c2w1_l[] = {
01126 120,
01127 50,
01128
01129 98,98,98,97,97,93,92,91,90,89,89,82,82,77,76,75,74,74,73,63,62,
01130 62,61,60,56,51,49,49,47,47,45,44,43,42,39,37,33,33,32,28,25,21,
01131 20,19,11,11,6,3,2,1
01132 };
01133 const int n1c2w1_m[] = {
01134 120,
01135 50,
01136
01137 100,99,98,98,95,93,92,89,80,80,78,77,77,73,72,71,71,71,70,70,
01138 67,66,66,65,64,60,59,53,50,48,48,47,47,45,39,38,37,33,33,28,27,
01139 19,15,14,14,12,9,9,9,1
01140 };
01141 const int n1c2w1_n[] = {
01142 120,
01143 50,
01144
01145 93,87,85,85,82,79,76,75,70,70,69,69,68,67,66,64,62,61,59,58,58,
01146 57,56,56,55,53,53,49,45,45,43,42,40,30,30,24,24,22,22,21,20,18,
01147 18,14,13,11,9,9,6,3
01148 };
01149 const int n1c2w1_o[] = {
01150 120,
01151 50,
01152
01153 99,86,83,83,78,76,68,59,58,58,54,53,53,51,51,48,47,45,43,40,37,
01154 32,32,32,32,31,31,28,24,22,20,19,19,19,19,15,14,13,12,12,11,10,
01155 10,10,10,6,5,4,2,1
01156 };
01157 const int n1c2w1_p[] = {
01158 120,
01159 50,
01160
01161 97,96,94,94,93,80,79,78,77,77,76,76,72,72,71,70,67,67,63,60,59,
01162 55,54,52,51,49,48,47,46,43,34,32,28,27,27,26,25,23,22,20,17,14,
01163 13,12,12,10,5,4,3,2
01164 };
01165 const int n1c2w1_q[] = {
01166 120,
01167 50,
01168
01169 98,96,95,91,91,90,88,87,83,83,77,74,73,72,72,70,70,67,66,66,63,
01170 60,59,58,58,57,56,55,54,45,45,41,31,31,29,26,24,21,18,16,16,15,
01171 14,14,9,9,8,8,6,2
01172 };
01173 const int n1c2w1_r[] = {
01174 120,
01175 50,
01176
01177 100,99,98,96,95,95,92,91,87,85,85,84,78,78,77,76,74,69,68,67,
01178 65,64,62,55,52,45,43,41,40,38,33,29,27,27,26,24,24,24,23,22,22,
01179 21,14,13,12,10,8,2,1,1
01180 };
01181 const int n1c2w1_s[] = {
01182 120,
01183 50,
01184
01185 97,93,92,90,87,83,82,82,80,80,78,78,72,71,68,67,63,62,60,59,56,
01186 56,55,54,54,51,50,48,46,45,42,41,35,32,32,28,26,25,25,25,24,22,
01187 21,21,14,12,10,9,9,7
01188 };
01189 const int n1c2w1_t[] = {
01190 120,
01191 50,
01192
01193 100,93,93,89,89,87,81,81,79,78,77,70,68,67,66,66,65,64,62,61,
01194 60,57,53,53,52,52,52,48,44,44,43,43,42,41,39,39,37,35,34,30,30,
01195 29,26,25,16,16,10,10,7,6
01196 };
01197 const int n1c2w2_a[] = {
01198 120,
01199 50,
01200
01201 100,97,97,95,93,87,87,86,82,82,78,76,76,75,74,71,68,66,65,63,
01202 59,59,58,58,57,52,51,46,46,46,43,42,42,41,41,41,38,37,36,36,32,
01203 32,31,30,27,25,22,22,22,21
01204 };
01205 const int n1c2w2_b[] = {
01206 120,
01207 50,
01208
01209 100,98,98,97,95,94,90,90,89,86,85,83,81,79,79,74,72,72,71,68,
01210 67,65,64,64,62,59,58,56,55,55,54,51,51,50,47,46,45,44,43,40,36,
01211 34,33,31,29,28,27,27,26,21
01212 };
01213 const int n1c2w2_c[] = {
01214 120,
01215 50,
01216
01217 100,98,97,95,93,91,90,87,85,83,83,81,81,79,76,74,74,73,73,71,
01218 71,70,67,67,66,62,62,60,57,54,54,53,52,51,51,50,49,48,48,45,44,
01219 44,40,36,34,32,31,27,26,20
01220 };
01221 const int n1c2w2_d[] = {
01222 120,
01223 50,
01224
01225 99,98,98,97,96,90,88,86,82,82,80,79,76,76,76,74,69,67,66,64,62,
01226 59,55,52,51,51,50,49,44,43,41,41,41,41,41,37,35,33,32,32,31,31,
01227 31,30,29,23,23,22,20,20
01228 };
01229 const int n1c2w2_e[] = {
01230 120,
01231 50,
01232
01233 100,99,99,99,99,98,98,94,93,92,92,89,89,89,84,83,80,80,78,77,
01234 75,74,74,70,70,68,68,66,63,62,60,59,58,58,58,55,54,53,52,49,42,
01235 41,36,35,35,31,26,23,22,20
01236 };
01237 const int n1c2w2_f[] = {
01238 120,
01239 50,
01240
01241 100,100,99,99,98,91,90,84,83,81,78,78,75,73,72,72,71,70,68,66,
01242 62,59,58,58,57,54,53,53,51,51,51,51,48,45,45,42,42,39,37,37,35,
01243 32,31,31,26,26,25,21,21,20
01244 };
01245 const int n1c2w2_g[] = {
01246 120,
01247 50,
01248
01249 100,97,94,93,93,91,89,89,86,85,85,82,81,80,80,80,80,79,77,75,
01250 74,72,67,67,63,62,59,58,58,57,54,54,53,51,48,47,46,44,44,41,41,
01251 39,36,35,33,32,32,29,28,24
01252 };
01253 const int n1c2w2_h[] = {
01254 120,
01255 50,
01256
01257 99,98,93,93,91,88,85,82,80,78,76,70,68,67,66,65,61,61,57,56,56,
01258 53,52,52,52,51,48,47,46,44,43,43,43,41,41,41,37,37,36,36,35,33,
01259 33,32,31,27,26,22,22,21
01260 };
01261 const int n1c2w2_i[] = {
01262 120,
01263 50,
01264
01265 96,92,92,91,91,90,89,88,83,83,81,79,77,76,76,71,70,68,68,66,63,
01266 63,63,62,60,60,58,57,53,53,52,52,49,47,45,44,41,38,37,34,33,32,
01267 31,29,27,26,25,23,21,21
01268 };
01269 const int n1c2w2_j[] = {
01270 120,
01271 50,
01272
01273 100,98,96,95,95,93,91,89,89,88,88,81,80,78,73,72,69,67,64,61,
01274 60,54,52,52,51,50,50,49,49,47,46,44,43,42,41,40,40,39,36,33,33,
01275 28,26,26,25,23,22,22,22,20
01276 };
01277 const int n1c2w2_k[] = {
01278 120,
01279 50,
01280
01281 97,97,95,91,91,89,85,85,82,82,81,75,74,73,70,70,70,69,68,67,67,
01282 67,65,63,63,63,62,61,60,60,55,48,46,45,45,45,45,44,43,43,42,41,
01283 39,37,36,30,28,22,22,22
01284 };
01285 const int n1c2w2_l[] = {
01286 120,
01287 50,
01288
01289 96,95,93,92,90,87,87,86,86,86,85,84,83,82,78,78,78,78,77,76,76,
01290 72,72,71,70,68,65,65,62,59,58,51,42,42,40,38,38,36,34,34,33,32,
01291 30,29,29,27,26,25,24,23
01292 };
01293 const int n1c2w2_m[] = {
01294 120,
01295 50,
01296
01297 100,99,99,99,97,95,95,94,93,92,92,88,86,86,86,84,79,78,78,77,
01298 76,69,68,65,61,60,58,57,57,55,54,54,53,53,52,52,51,48,47,43,43,
01299 40,39,38,36,34,33,28,27,25
01300 };
01301 const int n1c2w2_n[] = {
01302 120,
01303 50,
01304
01305 99,97,95,94,88,87,85,83,82,78,75,72,71,71,70,69,67,67,65,64,63,
01306 62,59,59,58,58,58,58,58,54,53,53,52,49,49,48,45,45,44,43,43,42,
01307 40,38,36,34,30,30,24,20
01308 };
01309 const int n1c2w2_o[] = {
01310 120,
01311 50,
01312
01313 100,99,98,96,94,90,89,88,88,86,84,81,81,80,79,79,78,76,72,72,
01314 72,68,68,65,63,63,63,62,62,57,57,55,48,48,47,45,44,44,41,39,36,
01315 33,31,30,28,26,25,24,22,20
01316 };
01317 const int n1c2w2_p[] = {
01318 120,
01319 50,
01320
01321 94,93,91,90,90,88,87,82,77,75,72,71,70,70,69,69,66,65,63,59,57,
01322 56,53,51,48,48,48,47,44,44,43,42,41,40,39,38,37,36,36,32,31,31,
01323 29,29,27,23,23,21,20,20
01324 };
01325 const int n1c2w2_q[] = {
01326 120,
01327 50,
01328
01329 96,96,91,90,89,86,86,84,83,83,82,82,82,82,79,75,73,72,71,69,68,
01330 67,67,66,65,63,62,61,59,59,59,59,58,56,56,55,54,53,50,45,41,39,
01331 35,33,29,25,24,21,20,20
01332 };
01333 const int n1c2w2_r[] = {
01334 120,
01335 50,
01336
01337 99,98,96,91,88,88,86,86,82,82,81,78,77,77,76,76,72,72,70,68,67,
01338 64,61,60,59,56,55,49,48,47,47,46,44,43,43,42,40,40,39,38,35,34,
01339 30,30,29,27,26,21,20,20
01340 };
01341 const int n1c2w2_s[] = {
01342 120,
01343 50,
01344
01345 100,94,94,92,91,87,87,85,82,78,76,75,72,72,72,69,61,61,61,61,
01346 61,56,55,54,53,51,51,50,47,44,44,44,44,42,42,39,38,36,34,33,33,
01347 32,31,30,29,28,26,25,23,23
01348 };
01349 const int n1c2w2_t[] = {
01350 120,
01351 50,
01352
01353 100,96,96,91,84,83,83,83,81,81,80,80,77,77,72,70,70,68,68,67,
01354 65,64,63,62,60,59,58,51,51,50,49,47,47,47,46,45,43,43,41,38,37,
01355 36,35,31,31,29,28,27,26,20
01356 };
01357 const int n1c2w4_a[] = {
01358 120,
01359 50,
01360
01361 100,99,97,97,96,96,95,92,92,90,90,88,87,87,85,84,83,82,81,79,
01362 74,68,68,63,59,58,56,55,55,51,50,49,49,49,47,44,44,42,39,37,37,
01363 34,34,34,33,33,31,30,30,30
01364 };
01365 const int n1c2w4_b[] = {
01366 120,
01367 50,
01368
01369 99,96,94,93,93,91,87,87,87,84,84,83,83,83,83,83,82,81,81,78,77,
01370 77,77,76,67,65,61,61,59,58,53,53,50,49,48,47,47,46,46,44,43,42,
01371 41,41,38,35,34,32,32,31
01372 };
01373 const int n1c2w4_c[] = {
01374 120,
01375 50,
01376
01377 100,100,99,96,96,93,91,90,90,87,84,83,80,80,80,75,74,72,72,71,
01378 71,70,69,66,65,63,60,58,57,56,54,54,53,53,53,51,51,49,46,43,40,
01379 39,38,37,37,34,33,33,31,31
01380 };
01381 const int n1c2w4_d[] = {
01382 120,
01383 50,
01384
01385 97,97,96,94,93,91,89,89,86,83,79,78,77,77,77,75,75,74,71,68,68,
01386 67,65,63,61,61,58,57,56,54,48,46,44,43,41,41,40,38,36,36,35,35,
01387 35,35,35,34,33,33,33,31
01388 };
01389 const int n1c2w4_e[] = {
01390 120,
01391 50,
01392
01393 100,99,99,97,97,96,96,96,93,93,91,84,83,81,79,78,77,74,71,67,
01394 66,63,62,61,61,61,59,59,59,58,57,56,54,54,53,53,51,50,49,48,45,
01395 45,45,40,40,39,39,34,32,30
01396 };
01397 const int n1c2w4_f[] = {
01398 120,
01399 50,
01400
01401 99,98,98,97,96,93,88,86,86,85,85,81,80,80,77,76,74,73,73,72,69,
01402 69,67,66,66,65,64,63,63,62,60,59,59,59,54,54,51,49,49,46,43,43,
01403 38,38,38,38,36,36,35,33
01404 };
01405 const int n1c2w4_g[] = {
01406 120,
01407 50,
01408
01409 100,99,99,97,95,93,91,91,90,90,88,88,87,86,82,80,79,75,70,69,
01410 68,66,66,64,62,62,61,60,60,57,56,55,53,51,47,46,44,42,38,37,36,
01411 36,36,36,35,35,32,32,31,31
01412 };
01413 const int n1c2w4_h[] = {
01414 120,
01415 50,
01416
01417 99,98,97,95,94,93,93,93,92,91,91,89,86,85,81,77,74,70,69,68,67,
01418 66,66,65,63,62,61,60,59,58,57,57,56,56,52,50,49,48,47,43,43,43,
01419 40,39,37,36,36,35,30,30
01420 };
01421 const int n1c2w4_i[] = {
01422 120,
01423 50,
01424
01425 97,92,91,88,87,86,85,85,84,84,84,83,80,80,79,78,76,76,76,76,75,
01426 75,75,74,74,74,72,71,71,70,67,63,59,59,57,55,55,54,50,49,44,42,
01427 40,38,37,35,31,31,30,30
01428 };
01429 const int n1c2w4_j[] = {
01430 120,
01431 50,
01432
01433 100,97,96,90,86,84,83,82,79,78,76,74,72,70,70,70,68,68,67,67,
01434 66,66,66,65,64,64,63,63,62,59,57,57,57,55,54,54,51,49,48,47,43,
01435 41,40,40,37,37,34,33,32,32
01436 };
01437 const int n1c2w4_k[] = {
01438 120,
01439 50,
01440
01441 100,100,100,99,98,93,91,89,88,87,84,82,80,80,78,78,77,77,77,76,
01442 75,75,73,71,71,70,65,61,61,60,59,58,58,55,53,52,51,49,49,44,43,
01443 42,40,40,40,39,38,38,32,32
01444 };
01445 const int n1c2w4_l[] = {
01446 120,
01447 50,
01448
01449 99,99,98,98,94,93,92,90,90,89,89,88,84,81,79,78,77,77,76,75,74,
01450 72,72,70,69,66,64,63,60,57,57,56,54,52,47,45,43,43,43,41,40,39,
01451 39,38,37,37,36,35,34,30
01452 };
01453 const int n1c2w4_m[] = {
01454 120,
01455 50,
01456
01457 99,99,99,97,95,94,92,91,90,90,90,90,88,83,79,78,78,76,76,70,68,
01458 67,66,63,62,62,61,60,58,58,58,58,56,56,55,54,53,51,50,48,48,47,
01459 42,37,37,37,36,32,31,30
01460 };
01461 const int n1c2w4_n[] = {
01462 120,
01463 50,
01464
01465 98,96,93,92,91,91,91,90,90,90,89,89,88,88,84,82,77,76,76,75,74,
01466 73,72,69,69,66,65,59,59,58,57,56,54,53,52,52,51,51,49,48,47,47,
01467 46,42,41,40,39,36,35,33
01468 };
01469 const int n1c2w4_o[] = {
01470 120,
01471 50,
01472
01473 100,97,94,93,91,91,86,84,83,78,78,78,77,77,77,77,75,74,74,73,
01474 71,69,68,64,64,62,62,61,57,54,54,53,50,49,49,48,47,47,47,46,45,
01475 45,44,44,42,40,39,35,35,35
01476 };
01477 const int n1c2w4_p[] = {
01478 120,
01479 50,
01480
01481 98,98,95,95,93,91,91,89,89,87,83,83,82,78,77,76,75,74,72,67,62,
01482 61,59,57,55,55,54,52,50,49,49,48,47,47,45,45,44,44,43,43,42,40,
01483 39,39,38,37,36,33,33,31
01484 };
01485 const int n1c2w4_q[] = {
01486 120,
01487 50,
01488
01489 100,98,98,98,91,90,90,88,87,87,87,86,86,83,82,81,80,80,76,73,
01490 72,71,71,70,69,68,68,67,67,66,65,64,60,54,53,52,52,47,46,46,46,
01491 41,40,37,37,36,36,35,34,33
01492 };
01493 const int n1c2w4_r[] = {
01494 120,
01495 50,
01496
01497 100,99,99,98,95,95,95,94,90,87,87,86,85,85,83,82,80,79,79,76,
01498 73,73,72,71,70,69,69,68,68,66,65,63,63,62,58,57,56,55,54,53,52,
01499 49,47,46,46,43,42,35,34,31
01500 };
01501 const int n1c2w4_s[] = {
01502 120,
01503 50,
01504
01505 98,98,93,93,93,92,92,92,92,90,89,86,86,85,85,84,83,83,83,81,81,
01506 78,77,77,75,74,71,70,70,68,66,66,65,65,63,62,61,61,59,57,50,50,
01507 49,49,47,44,40,32,31,30
01508 };
01509 const int n1c2w4_t[] = {
01510 120,
01511 50,
01512
01513 97,95,91,89,88,87,86,83,82,82,81,73,73,69,69,68,68,68,65,62,61,
01514 60,60,60,58,58,58,56,55,54,54,52,51,51,51,49,49,47,45,44,43,42,
01515 42,41,41,40,36,33,30,30
01516 };
01517 const int n1c3w1_a[] = {
01518 150,
01519 50,
01520
01521 100,100,96,94,90,88,87,85,83,81,80,80,77,74,65,62,62,62,61,59,
01522 59,57,54,51,45,45,40,38,37,37,37,36,29,29,27,26,22,22,21,17,14,
01523 14,8,7,6,5,5,3,3,1
01524 };
01525 const int n1c3w1_b[] = {
01526 150,
01527 50,
01528
01529 95,88,88,86,85,84,84,82,81,79,72,71,69,69,69,68,68,65,61,61,61,
01530 61,60,58,57,57,53,44,43,36,29,29,27,23,23,22,21,17,14,14,14,13,
01531 12,11,11,6,5,3,3,2
01532 };
01533 const int n1c3w1_c[] = {
01534 150,
01535 50,
01536
01537 100,99,95,94,87,85,85,83,81,81,80,80,77,76,75,74,73,73,72,66,
01538 63,60,52,50,47,45,44,43,39,39,38,38,35,34,33,32,25,25,23,20,17,
01539 15,15,14,12,11,10,10,8,8
01540 };
01541 const int n1c3w1_d[] = {
01542 150,
01543 50,
01544
01545 99,96,95,95,92,91,90,86,86,86,85,80,77,77,76,76,71,70,70,69,68,
01546 64,64,61,60,60,56,55,53,52,50,48,44,41,40,38,38,37,35,21,19,14,
01547 12,9,6,6,6,4,3,2
01548 };
01549 const int n1c3w1_e[] = {
01550 150,
01551 50,
01552
01553 99,97,97,96,95,89,88,83,81,81,79,77,76,75,74,61,55,51,50,50,48,
01554 48,47,46,45,42,42,38,35,34,32,32,31,26,25,21,14,13,11,10,9,9,
01555 9,8,8,7,5,5,5,1
01556 };
01557 const int n1c3w1_f[] = {
01558 150,
01559 50,
01560
01561 100,98,97,96,95,93,92,88,88,86,84,83,80,80,78,77,76,76,76,74,
01562 73,70,69,68,65,64,63,62,62,61,60,60,53,51,51,42,41,28,26,23,22,
01563 21,16,13,9,9,7,5,2,2
01564 };
01565 const int n1c3w1_g[] = {
01566 150,
01567 50,
01568
01569 97,92,91,91,88,86,85,84,79,76,75,67,66,65,62,61,61,58,54,54,50,
01570 47,46,45,44,44,42,37,37,30,27,27,26,23,23,21,20,20,19,13,12,11,
01571 10,9,9,6,5,5,5,1
01572 };
01573 const int n1c3w1_h[] = {
01574 150,
01575 50,
01576
01577 99,91,89,89,89,88,86,85,83,82,80,80,80,80,78,76,73,69,67,66,65,
01578 65,64,64,60,60,57,56,56,52,51,45,43,42,42,38,37,32,32,32,29,28,
01579 26,25,18,15,10,6,6,4
01580 };
01581 const int n1c3w1_i[] = {
01582 150,
01583 50,
01584
01585 100,98,97,95,87,87,87,84,80,77,76,73,71,66,66,62,61,60,60,60,
01586 57,56,53,52,51,49,46,44,44,43,43,38,33,31,30,29,29,28,24,22,18,
01587 17,16,16,16,15,12,8,3,2
01588 };
01589 const int n1c3w1_j[] = {
01590 150,
01591 50,
01592
01593 99,98,92,91,90,88,87,86,82,80,77,74,73,72,72,71,69,69,63,61,55,
01594 54,53,50,48,48,48,37,37,37,34,33,32,29,26,22,19,17,15,14,10,9,
01595 7,3,3,2,2,2,1,1
01596 };
01597 const int n1c3w1_k[] = {
01598 150,
01599 50,
01600
01601 100,96,95,94,94,92,92,90,86,84,77,73,66,66,59,56,56,56,55,54,
01602 53,53,53,52,49,48,47,45,45,45,41,41,41,37,36,24,22,21,20,18,16,
01603 15,14,14,13,12,10,8,4,1
01604 };
01605 const int n1c3w1_l[] = {
01606 150,
01607 50,
01608
01609 99,99,93,93,90,90,87,87,81,81,80,78,77,76,68,64,63,62,60,60,59,
01610 58,53,52,52,47,45,44,44,42,39,39,36,35,29,29,28,26,25,18,9,7,
01611 7,7,7,6,5,5,5,1
01612 };
01613 const int n1c3w1_m[] = {
01614 150,
01615 50,
01616
01617 100,100,99,94,90,88,88,86,86,84,84,80,77,73,70,69,69,66,66,61,
01618 58,58,57,57,52,51,47,44,43,42,36,34,28,27,26,25,21,18,18,17,13,
01619 12,12,12,11,9,8,7,4,4
01620 };
01621 const int n1c3w1_n[] = {
01622 150,
01623 50,
01624
01625 98,97,91,90,90,90,88,87,87,85,83,81,79,78,78,76,74,74,73,72,68,
01626 66,64,63,61,57,56,56,56,55,55,48,48,46,44,44,39,37,35,35,34,32,
01627 31,29,27,26,19,18,17,11
01628 };
01629 const int n1c3w1_o[] = {
01630 150,
01631 50,
01632
01633 96,96,96,94,94,87,86,84,84,83,82,82,80,77,75,57,57,56,55,54,52,
01634 51,48,48,48,46,46,45,42,34,34,34,32,32,30,23,16,16,16,15,15,14,
01635 12,10,6,6,3,1,1,1
01636 };
01637 const int n1c3w1_p[] = {
01638 150,
01639 50,
01640
01641 99,99,98,98,96,93,93,92,91,89,85,82,80,79,78,73,73,71,70,69,69,
01642 61,61,55,54,52,47,47,46,43,43,42,41,38,36,35,34,28,27,25,24,21,
01643 17,13,10,9,6,5,5,2
01644 };
01645 const int n1c3w1_q[] = {
01646 150,
01647 50,
01648
01649 100,100,100,100,98,96,95,93,90,89,86,86,85,85,84,81,79,78,74,
01650 70,69,68,66,62,62,61,58,56,55,54,53,51,48,44,42,40,36,35,33,32,
01651 31,24,23,23,18,13,12,4,4,2
01652 };
01653 const int n1c3w1_r[] = {
01654 150,
01655 50,
01656
01657 100,99,97,97,97,95,94,91,88,87,87,86,86,86,82,77,77,75,74,73,
01658 72,71,70,65,63,62,60,59,56,56,51,50,50,49,49,47,47,46,36,29,23,
01659 23,21,20,18,16,13,11,9,3
01660 };
01661 const int n1c3w1_s[] = {
01662 150,
01663 50,
01664
01665 95,90,88,87,86,83,79,78,76,75,71,70,70,68,64,63,63,61,59,58,57,
01666 57,53,52,52,49,44,40,36,36,32,29,25,23,23,22,22,20,19,19,19,17,
01667 16,11,11,7,6,5,3,2
01668 };
01669 const int n1c3w1_t[] = {
01670 150,
01671 50,
01672
01673 98,98,97,96,93,93,92,89,83,82,76,76,76,74,70,69,67,66,66,65,62,
01674 60,58,56,56,55,55,54,53,51,49,47,42,35,31,31,26,22,22,22,18,17,
01675 17,17,16,9,8,5,4,4
01676 };
01677 const int n1c3w2_a[] = {
01678 150,
01679 50,
01680
01681 100,96,94,93,91,91,91,88,84,83,80,78,78,76,75,74,72,72,70,65,
01682 61,60,56,52,51,51,48,46,45,38,38,37,37,37,36,35,35,32,32,31,30,
01683 29,29,28,27,27,23,23,22,21
01684 };
01685 const int n1c3w2_b[] = {
01686 150,
01687 50,
01688
01689 98,96,95,94,92,89,88,88,87,87,86,85,83,80,80,77,76,76,73,72,71,
01690 69,69,69,57,57,53,50,45,45,44,44,43,42,37,36,36,35,35,34,33,31,
01691 30,27,24,24,23,21,20,20
01692 };
01693 const int n1c3w2_c[] = {
01694 150,
01695 50,
01696
01697 98,98,96,95,94,93,92,91,89,88,88,88,86,83,83,82,80,79,78,76,76,
01698 75,73,67,63,63,62,55,54,53,52,51,51,51,47,45,45,42,42,40,37,37,
01699 36,36,29,29,25,24,20,20
01700 };
01701 const int n1c3w2_d[] = {
01702 150,
01703 50,
01704
01705 100,99,98,96,94,92,90,89,89,89,87,86,81,80,78,77,74,74,72,72,
01706 63,62,60,60,55,55,54,53,50,50,46,46,45,42,42,41,38,35,34,33,33,
01707 32,28,28,27,26,23,21,21,20
01708 };
01709 const int n1c3w2_e[] = {
01710 150,
01711 50,
01712
01713 100,100,99,96,95,94,92,92,90,89,89,84,82,80,80,79,74,74,72,71,
01714 69,67,67,64,62,60,60,59,58,55,51,48,47,46,45,43,42,41,41,40,38,
01715 34,33,32,27,26,24,24,23,20
01716 };
01717 const int n1c3w2_f[] = {
01718 150,
01719 50,
01720
01721 100,99,99,98,97,96,93,91,89,86,85,82,78,76,75,74,73,71,68,68,
01722 66,65,65,64,63,63,63,63,63,62,60,59,56,55,55,53,51,50,48,45,43,
01723 43,42,42,39,39,35,31,27,26
01724 };
01725 const int n1c3w2_g[] = {
01726 150,
01727 50,
01728
01729 98,98,98,96,93,93,92,91,90,90,87,87,86,85,83,82,81,78,78,75,75,
01730 74,74,72,72,71,70,69,68,66,61,60,60,59,57,53,51,42,40,40,35,34,
01731 34,31,30,30,24,22,21,20
01732 };
01733 const int n1c3w2_h[] = {
01734 150,
01735 50,
01736
01737 99,98,98,97,97,95,94,93,91,91,88,87,82,80,80,79,79,79,75,74,73,
01738 72,71,69,68,66,63,63,61,60,58,58,55,54,53,53,52,50,46,45,44,42,
01739 40,38,37,35,29,24,24,20
01740 };
01741 const int n1c3w2_i[] = {
01742 150,
01743 50,
01744
01745 96,95,91,89,87,86,85,81,78,78,68,67,66,66,65,62,61,60,60,59,58,
01746 56,54,51,50,50,49,49,49,48,47,46,46,46,45,45,44,41,41,41,40,36,
01747 35,34,33,32,31,27,26,26
01748 };
01749 const int n1c3w2_j[] = {
01750 150,
01751 50,
01752
01753 99,96,95,95,94,93,93,92,91,91,90,89,87,86,86,84,81,80,73,68,66,
01754 64,62,61,61,59,59,56,55,54,49,48,48,47,46,45,45,43,42,41,41,40,
01755 39,37,36,34,32,26,24,20
01756 };
01757 const int n1c3w2_k[] = {
01758 150,
01759 50,
01760
01761 95,94,93,93,91,89,89,89,88,85,82,82,78,78,77,76,73,73,73,70,70,
01762 70,70,69,68,66,63,62,59,55,55,53,51,49,42,42,41,41,40,38,35,32,
01763 31,30,30,28,28,24,23,23
01764 };
01765 const int n1c3w2_l[] = {
01766 150,
01767 50,
01768
01769 99,99,98,98,97,95,92,92,87,85,84,83,80,78,77,75,73,73,69,68,66,
01770 63,63,63,59,57,56,56,53,53,51,50,50,48,48,46,46,44,43,42,39,37,
01771 34,32,29,25,24,22,22,21
01772 };
01773 const int n1c3w2_m[] = {
01774 150,
01775 50,
01776
01777 100,99,96,94,92,91,91,89,85,84,81,81,79,79,78,77,76,75,74,73,
01778 67,65,64,63,63,59,57,57,54,52,51,49,49,47,46,46,44,44,43,43,40,
01779 38,34,33,32,31,30,29,25,22
01780 };
01781 const int n1c3w2_n[] = {
01782 150,
01783 50,
01784
01785 98,95,95,91,91,89,89,88,88,87,86,84,83,82,80,79,78,75,74,74,73,
01786 72,72,70,70,68,68,67,65,59,58,58,57,55,54,53,51,42,41,39,37,36,
01787 35,34,32,25,25,21,21,20
01788 };
01789 const int n1c3w2_o[] = {
01790 150,
01791 50,
01792
01793 99,99,96,93,88,83,82,80,79,79,77,77,75,75,73,73,72,71,71,71,71,
01794 69,69,67,62,62,61,58,58,56,54,53,52,49,46,45,45,41,40,39,35,35,
01795 34,33,31,27,27,26,22,21
01796 };
01797 const int n1c3w2_p[] = {
01798 150,
01799 50,
01800
01801 95,94,88,88,88,86,85,84,83,79,73,72,72,72,71,70,64,63,61,58,55,
01802 53,53,52,51,51,51,48,48,46,45,40,39,38,36,36,35,33,32,28,25,24,
01803 24,23,23,23,22,22,20,20
01804 };
01805 const int n1c3w2_q[] = {
01806 150,
01807 50,
01808
01809 96,91,87,86,84,83,83,83,81,80,79,74,72,70,70,67,62,61,60,59,58,
01810 56,55,55,54,52,51,51,51,50,49,48,44,43,43,42,40,39,38,34,34,34,
01811 33,32,31,31,29,29,22,21
01812 };
01813 const int n1c3w2_r[] = {
01814 150,
01815 50,
01816
01817 100,98,91,87,82,78,77,77,77,75,75,74,72,72,72,70,70,66,66,65,
01818 63,63,62,59,57,56,55,53,52,51,49,48,47,46,46,44,44,42,36,35,34,
01819 34,31,30,29,26,23,22,21,20
01820 };
01821 const int n1c3w2_s[] = {
01822 150,
01823 50,
01824
01825 100,99,97,96,96,95,94,91,90,88,85,83,83,81,79,79,78,77,77,74,
01826 72,70,69,66,64,63,63,61,58,56,52,51,45,42,36,36,36,35,34,33,32,
01827 32,31,30,28,25,24,21,21,20
01828 };
01829 const int n1c3w2_t[] = {
01830 150,
01831 50,
01832
01833 100,99,96,95,93,91,91,88,87,87,85,85,85,84,83,83,78,77,76,75,
01834 74,70,67,65,63,63,62,60,60,58,56,55,55,54,52,50,49,49,45,42,29,
01835 29,27,27,26,25,24,23,22,20
01836 };
01837 const int n1c3w4_a[] = {
01838 150,
01839 50,
01840
01841 97,95,92,91,90,90,86,85,85,82,82,81,80,79,78,76,71,70,69,67,63,
01842 63,63,62,58,58,56,55,54,53,52,51,51,48,47,46,44,44,42,42,41,40,
01843 39,39,37,35,34,32,31,31
01844 };
01845 const int n1c3w4_b[] = {
01846 150,
01847 50,
01848
01849 100,98,97,97,92,92,92,91,88,84,83,82,77,77,76,75,74,73,72,70,
01850 70,67,66,65,63,62,62,62,62,58,57,57,54,53,52,52,50,46,45,43,42,
01851 41,41,41,40,37,37,36,33,33
01852 };
01853 const int n1c3w4_c[] = {
01854 150,
01855 50,
01856
01857 99,99,95,94,92,91,90,87,86,84,83,82,82,81,81,81,80,80,78,78,78,
01858 77,77,74,72,71,69,68,66,66,64,63,62,62,61,60,57,55,52,52,46,46,
01859 45,45,42,39,39,38,35,32
01860 };
01861 const int n1c3w4_d[] = {
01862 150,
01863 50,
01864
01865 100,96,93,90,88,88,86,85,84,84,83,83,80,80,79,77,77,74,70,68,
01866 67,64,61,61,58,58,58,56,54,54,53,51,49,48,47,45,45,44,43,41,41,
01867 40,40,37,36,34,34,33,33,31
01868 };
01869 const int n1c3w4_e[] = {
01870 150,
01871 50,
01872
01873 98,97,96,95,95,94,93,93,93,93,91,90,87,87,80,80,80,77,72,71,68,
01874 68,67,64,63,62,60,60,60,57,57,56,54,53,53,52,49,47,45,43,41,41,
01875 39,38,38,37,37,36,35,31
01876 };
01877 const int n1c3w4_f[] = {
01878 150,
01879 50,
01880
01881 95,92,92,89,88,87,85,84,83,82,82,81,81,81,76,76,73,72,69,68,68,
01882 67,65,65,63,63,61,61,57,56,54,54,54,52,50,50,49,47,46,40,40,39,
01883 39,39,37,37,34,33,32,30
01884 };
01885 const int n1c3w4_g[] = {
01886 150,
01887 50,
01888
01889 99,99,97,97,96,92,90,88,87,87,87,86,86,85,85,83,81,79,78,77,77,
01890 74,73,73,73,72,68,65,62,58,56,55,55,55,52,52,51,50,49,46,42,40,
01891 39,38,37,36,36,33,31,31
01892 };
01893 const int n1c3w4_h[] = {
01894 150,
01895 50,
01896
01897 100,100,99,97,95,94,92,90,88,87,86,85,83,80,79,78,78,78,75,75,
01898 74,73,71,70,69,67,65,64,59,58,57,57,55,54,54,52,51,50,49,48,46,
01899 46,45,43,43,42,39,38,33,32
01900 };
01901 const int n1c3w4_i[] = {
01902 150,
01903 50,
01904
01905 99,98,95,89,88,88,87,87,87,87,86,84,84,83,78,77,74,74,73,73,73,
01906 72,72,70,68,67,64,64,64,63,63,60,59,58,56,54,51,50,49,49,39,37,
01907 37,36,36,36,34,34,31,30
01908 };
01909 const int n1c3w4_j[] = {
01910 150,
01911 50,
01912
01913 100,93,91,91,89,89,88,86,85,84,83,83,82,80,79,78,77,76,76,73,
01914 72,68,68,63,63,61,60,60,58,57,57,56,54,53,52,50,48,47,47,45,41,
01915 41,36,35,34,34,33,31,31,30
01916 };
01917 const int n1c3w4_k[] = {
01918 150,
01919 50,
01920
01921 100,97,96,94,94,93,90,89,89,86,85,84,83,83,83,82,80,78,75,74,
01922 72,72,71,70,69,69,66,64,64,63,62,60,59,59,58,57,57,57,57,56,50,
01923 50,47,44,43,41,37,36,35,33
01924 };
01925 const int n1c3w4_l[] = {
01926 150,
01927 50,
01928
01929 100,100,93,91,88,86,86,84,83,75,75,75,75,75,73,72,70,69,67,66,
01930 66,65,61,58,56,55,55,54,52,51,51,51,50,47,45,44,42,42,41,40,39,
01931 36,35,35,33,33,33,32,31,30
01932 };
01933 const int n1c3w4_m[] = {
01934 150,
01935 50,
01936
01937 99,98,97,95,90,87,87,85,85,83,80,80,76,71,71,70,69,68,67,66,65,
01938 63,63,62,62,60,60,60,58,56,55,53,50,49,45,42,42,41,38,36,36,34,
01939 34,33,32,32,31,31,31,30
01940 };
01941 const int n1c3w4_n[] = {
01942 150,
01943 50,
01944
01945 100,92,91,90,89,85,84,81,80,80,78,78,77,77,76,75,74,73,69,69,
01946 68,68,67,67,65,64,63,63,61,60,56,54,54,51,49,45,43,42,39,39,39,
01947 38,36,35,34,34,33,32,31,30
01948 };
01949 const int n1c3w4_o[] = {
01950 150,
01951 50,
01952
01953 100,100,96,96,94,94,93,85,83,82,82,81,80,79,76,76,76,72,72,72,
01954 71,70,70,70,68,67,66,64,64,58,58,57,49,49,46,42,39,39,39,38,37,
01955 37,36,35,33,32,32,30,30,30
01956 };
01957 const int n1c3w4_p[] = {
01958 150,
01959 50,
01960
01961 100,98,98,96,95,95,94,94,94,91,90,90,89,86,85,85,85,84,78,78,
01962 77,76,75,73,72,72,70,70,69,69,68,68,66,60,59,55,50,50,48,48,47,
01963 47,44,43,42,40,39,39,37,35
01964 };
01965 const int n1c3w4_q[] = {
01966 150,
01967 50,
01968
01969 100,99,98,97,97,95,92,92,91,90,89,88,87,84,84,83,82,80,80,78,
01970 77,77,76,76,75,72,70,68,67,64,63,61,61,60,58,57,57,56,55,49,49,
01971 48,40,40,37,35,32,31,31,30
01972 };
01973 const int n1c3w4_r[] = {
01974 150,
01975 50,
01976
01977 98,94,94,93,92,92,92,91,85,84,84,81,81,79,79,78,76,73,72,71,68,
01978 68,67,67,65,63,61,60,60,59,59,58,57,56,55,48,47,46,45,43,40,40,
01979 39,38,37,35,34,32,31,31
01980 };
01981 const int n1c3w4_s[] = {
01982 150,
01983 50,
01984
01985 99,98,97,95,95,93,93,92,89,80,80,79,79,77,76,75,74,74,73,71,71,
01986 70,68,66,64,63,61,60,57,57,55,54,53,50,50,49,48,47,46,46,42,42,
01987 39,38,38,37,37,34,32,31
01988 };
01989 const int n1c3w4_t[] = {
01990 150,
01991 50,
01992
01993 100,98,98,97,97,97,96,94,93,90,89,88,88,85,84,84,83,83,81,80,
01994 78,76,75,73,73,71,71,70,69,66,65,64,64,63,60,60,57,56,54,54,53,
01995 53,48,43,42,38,34,32,31,30
01996 };
01997 const int n2c1w1_a[] = {
01998 100,
01999 100,
02000
02001 99,97,95,95,94,92,91,89,86,86,85,84,80,80,80,80,80,79,76,76,75,
02002 74,73,71,71,69,65,64,64,64,63,63,62,60,59,58,57,54,53,52,51,50,
02003 48,48,48,46,44,43,43,43,43,42,41,40,40,39,38,38,38,38,37,37,37,
02004 37,36,35,34,33,32,30,29,28,26,26,26,24,23,22,21,21,19,18,17,16,
02005 16,15,14,13,12,12,11,9,9,8,8,7,6,6,5,1
02006 };
02007 const int n2c1w1_b[] = {
02008 100,
02009 100,
02010
02011 100,99,99,98,98,96,96,93,89,84,84,83,83,82,81,80,79,79,79,79,
02012 78,77,76,75,74,71,71,70,69,69,68,67,67,66,62,56,55,54,53,51,50,
02013 50,50,49,48,48,47,45,45,45,42,42,42,41,41,40,40,39,38,37,36,36,
02014 34,34,33,32,32,31,29,28,28,28,26,24,24,22,22,22,21,18,18,17,17,
02015 15,14,14,12,12,11,10,10,9,8,7,7,5,3,3,2,2
02016 };
02017 const int n2c1w1_c[] = {
02018 100,
02019 100,
02020
02021 98,97,94,92,91,91,90,89,86,85,84,83,82,81,78,76,75,73,73,72,72,
02022 71,70,70,69,69,66,64,60,60,59,58,57,56,55,54,53,52,52,51,50,49,
02023 49,48,47,47,45,43,43,43,42,42,42,42,40,39,39,36,35,34,34,34,33,
02024 32,30,30,30,29,29,28,25,23,22,22,22,22,22,20,20,19,19,18,16,16,
02025 16,15,15,15,13,12,12,10,9,8,6,5,4,4,2,2
02026 };
02027 const int n2c1w1_d[] = {
02028 100,
02029 100,
02030
02031 99,98,96,93,93,92,90,89,89,89,88,88,87,86,84,84,81,80,80,80,80,
02032 78,78,77,75,73,72,70,69,68,65,65,64,63,63,63,62,61,60,58,58,58,
02033 57,56,54,52,51,49,49,46,45,45,44,44,42,42,41,41,38,38,37,36,36,
02034 34,34,31,30,30,28,27,26,25,24,24,24,23,22,21,21,18,17,17,16,14,
02035 13,12,12,11,10,10,9,8,6,5,5,4,4,3,2,1
02036 };
02037 const int n2c1w1_e[] = {
02038 100,
02039 100,
02040
02041 100,99,99,98,96,95,95,95,93,93,92,92,92,91,90,89,89,89,87,87,
02042 87,85,84,81,81,80,79,77,74,74,74,73,73,72,71,70,70,66,66,65,65,
02043 65,64,63,63,63,63,63,61,57,56,54,52,52,51,49,48,46,44,44,44,42,
02044 40,40,40,38,38,35,34,31,31,31,30,27,27,25,25,24,21,21,21,18,17,
02045 17,16,16,16,15,15,11,11,9,9,9,8,5,5,5,3,1
02046 };
02047 const int n2c1w1_f[] = {
02048 100,
02049 100,
02050
02051 100,100,99,97,96,96,95,95,95,94,93,93,92,92,91,89,85,84,78,76,
02052 76,76,76,75,73,73,70,70,69,67,67,66,63,62,60,60,60,58,56,55,53,
02053 53,52,51,50,50,50,49,49,48,47,47,46,45,45,42,41,41,39,37,36,36,
02054 35,34,34,30,30,29,29,28,28,26,26,23,22,22,22,22,21,21,21,19,18,
02055 17,17,15,14,14,11,10,8,7,7,6,5,2,2,1,1,1
02056 };
02057 const int n2c1w1_g[] = {
02058 100,
02059 100,
02060
02061 99,96,93,93,93,92,92,91,90,89,88,88,88,87,87,86,84,84,82,81,80,
02062 80,80,79,79,79,79,76,75,75,75,75,75,74,74,73,71,68,64,62,61,61,
02063 61,60,58,58,58,58,57,57,57,55,54,53,52,51,51,51,50,50,47,45,44,
02064 41,40,39,39,39,38,36,36,35,35,34,33,32,31,30,30,29,29,29,28,24,
02065 22,21,19,19,18,10,9,8,8,7,6,5,5,4,3,2
02066 };
02067 const int n2c1w1_h[] = {
02068 100,
02069 100,
02070
02071 98,98,98,98,94,94,94,93,92,91,89,89,87,86,85,84,80,80,78,76,76,
02072 75,73,73,72,71,71,71,70,69,67,65,64,64,62,62,62,62,59,56,55,55,
02073 54,53,53,53,52,52,50,49,49,49,49,49,45,44,43,43,43,43,43,39,38,
02074 38,38,37,37,36,36,34,34,33,29,29,29,28,27,27,27,25,22,22,19,17,
02075 17,17,16,15,14,14,14,13,13,13,10,8,6,6,5,3
02076 };
02077 const int n2c1w1_i[] = {
02078 100,
02079 100,
02080
02081 99,98,97,96,95,95,94,94,94,90,88,86,86,86,86,85,85,85,85,85,83,
02082 83,82,81,81,80,80,79,79,78,77,77,76,76,76,75,75,74,74,74,72,71,
02083 69,67,67,66,66,65,65,63,61,61,59,59,57,57,56,56,55,54,53,49,48,
02084 46,45,41,39,39,38,38,37,37,36,36,35,32,30,30,30,28,28,28,27,26,
02085 26,25,24,23,22,22,17,17,13,11,10,10,6,3,2,1
02086 };
02087 const int n2c1w1_j[] = {
02088 100,
02089 100,
02090
02091 100,100,99,98,95,94,93,93,93,92,92,91,91,91,88,88,87,86,85,83,
02092 81,81,81,80,80,80,79,77,77,77,76,75,73,71,71,71,70,69,68,67,66,
02093 65,63,60,60,59,59,59,59,56,54,54,54,54,53,53,52,51,51,49,46,44,
02094 44,43,42,42,41,41,41,39,35,34,34,32,32,31,30,29,28,27,22,22,21,
02095 21,20,17,14,12,12,11,11,10,10,8,8,6,6,5,5,4
02096 };
02097 const int n2c1w1_k[] = {
02098 100,
02099 100,
02100
02101 100,99,98,97,97,97,97,97,92,91,91,91,88,86,86,85,84,84,83,81,
02102 80,79,79,79,78,77,77,75,75,75,74,74,71,71,70,69,64,64,63,63,62,
02103 62,61,61,56,56,56,56,55,53,53,52,52,51,49,48,46,44,44,43,43,42,
02104 42,40,38,37,36,35,34,32,32,31,30,29,29,28,28,28,27,26,24,24,22,
02105 20,20,18,17,16,16,14,13,13,12,11,10,8,6,4,2,1
02106 };
02107 const int n2c1w1_l[] = {
02108 100,
02109 100,
02110
02111 100,100,98,97,96,96,95,95,95,94,94,94,93,92,90,87,87,84,83,83,
02112 83,81,80,77,77,77,77,75,74,74,73,72,71,71,71,70,70,70,69,69,67,
02113 63,63,63,63,62,58,55,55,55,54,53,53,51,49,49,49,47,45,42,41,39,
02114 38,35,34,29,28,28,28,28,27,27,26,26,25,25,25,24,24,23,21,19,17,
02115 15,15,15,14,12,11,7,7,7,6,5,5,5,2,2,1,1
02116 };
02117 const int n2c1w1_m[] = {
02118 100,
02119 100,
02120
02121 97,96,95,94,90,88,88,87,86,85,84,84,82,81,81,80,80,80,79,79,78,
02122 74,73,69,69,68,68,67,67,65,64,63,63,60,60,58,57,56,55,53,53,51,
02123 51,51,47,47,46,46,45,41,41,39,38,37,37,37,37,35,34,33,33,33,33,
02124 32,31,31,31,30,30,28,22,22,20,20,20,20,19,19,17,17,17,16,16,15,
02125 13,13,12,12,10,10,9,8,8,8,5,5,5,4,4,1
02126 };
02127 const int n2c1w1_n[] = {
02128 100,
02129 100,
02130
02131 100,98,97,95,90,90,89,89,87,87,85,83,82,82,81,81,81,80,79,78,
02132 77,76,74,73,72,70,70,68,67,64,63,63,60,60,58,58,57,57,55,54,54,
02133 53,52,52,52,51,50,50,50,48,45,45,45,44,44,43,41,38,37,34,34,34,
02134 33,32,32,31,30,30,30,30,26,25,24,23,20,19,19,19,18,17,16,15,13,
02135 12,12,11,11,11,11,10,9,8,8,8,7,4,3,3,2,1
02136 };
02137 const int n2c1w1_o[] = {
02138 100,
02139 100,
02140
02141 100,100,98,97,95,94,92,92,92,91,90,89,89,88,88,88,87,85,84,83,
02142 81,79,79,77,77,76,72,70,70,69,69,68,64,63,62,62,61,61,60,59,59,
02143 58,57,55,52,52,51,47,47,46,43,43,42,37,36,35,35,35,35,34,32,32,
02144 31,31,29,29,28,28,25,23,22,22,21,19,17,16,15,14,12,11,11,11,11,
02145 11,11,10,8,8,7,6,5,5,4,4,3,3,2,2,1,1
02146 };
02147 const int n2c1w1_p[] = {
02148 100,
02149 100,
02150
02151 99,99,96,96,95,93,92,92,91,91,90,90,88,88,87,86,83,83,83,83,81,
02152 81,80,80,78,78,76,76,74,73,72,72,70,69,69,68,67,66,58,57,56,55,
02153 55,55,54,54,54,54,53,51,51,51,48,48,47,47,47,46,46,46,45,44,43,
02154 43,43,42,41,40,40,35,34,31,29,26,24,24,23,23,22,22,22,21,20,18,
02155 17,17,15,14,12,12,11,9,9,8,6,4,3,3,1,1
02156 };
02157 const int n2c1w1_q[] = {
02158 100,
02159 100,
02160
02161 99,98,97,97,96,94,94,94,93,90,84,82,81,78,76,76,75,75,73,70,70,
02162 69,69,66,66,65,65,65,63,61,60,59,59,59,58,58,56,55,54,54,53,53,
02163 50,50,50,48,48,47,46,45,45,45,45,41,41,40,39,39,36,36,35,35,34,
02164 33,33,31,30,29,28,27,26,26,24,24,19,19,19,18,18,18,18,16,14,14,
02165 13,12,11,11,10,10,10,7,7,6,6,6,4,3,1,1
02166 };
02167 const int n2c1w1_r[] = {
02168 100,
02169 100,
02170
02171 100,100,99,97,97,96,96,95,94,94,94,94,92,92,91,90,88,87,85,84,
02172 84,83,82,81,80,78,75,74,72,72,71,70,69,69,68,65,64,64,62,61,61,
02173 60,59,58,58,58,57,57,55,54,54,54,53,53,50,49,48,47,47,46,46,45,
02174 45,44,43,42,40,36,36,35,34,34,33,32,31,30,30,26,26,25,24,23,23,
02175 22,22,21,20,19,18,18,17,17,17,15,9,8,7,6,3,3
02176 };
02177 const int n2c1w1_s[] = {
02178 100,
02179 100,
02180
02181 100,99,96,96,95,94,94,93,91,89,89,88,81,80,75,74,73,72,69,69,
02182 69,68,64,63,63,62,61,58,57,57,57,57,56,56,54,54,54,51,49,49,49,
02183 48,48,48,48,48,48,47,47,47,44,43,43,41,40,40,39,38,38,36,35,33,
02184 31,30,30,30,30,29,29,28,25,25,23,23,20,19,18,16,15,14,14,14,12,
02185 12,11,10,9,9,8,8,8,7,7,7,5,4,4,3,2,2
02186 };
02187 const int n2c1w1_t[] = {
02188 100,
02189 100,
02190
02191 100,100,100,98,97,96,95,94,92,91,91,90,90,90,88,87,87,85,84,83,
02192 81,78,76,74,71,71,70,68,68,66,66,65,64,63,63,62,62,61,59,59,59,
02193 59,59,57,57,56,54,53,52,51,50,50,49,46,45,43,41,41,40,40,40,39,
02194 36,35,34,33,33,32,32,32,30,30,29,29,29,28,27,27,27,23,21,21,20,
02195 20,19,19,17,15,15,15,11,9,6,5,5,5,4,3,2,1
02196 };
02197 const int n2c1w2_a[] = {
02198 100,
02199 100,
02200
02201 100,100,100,99,99,98,96,95,95,94,93,93,92,90,90,89,86,86,85,85,
02202 84,83,82,82,82,81,80,79,77,77,77,76,75,75,75,74,73,71,71,69,68,
02203 67,67,67,65,63,63,60,57,56,56,55,55,54,54,54,53,53,51,51,47,46,
02204 46,45,45,45,44,44,44,44,43,41,40,40,39,39,39,39,38,36,36,34,33,
02205 33,32,32,31,30,29,28,26,25,24,24,23,22,22,22,21,20
02206 };
02207 const int n2c1w2_b[] = {
02208 100,
02209 100,
02210
02211 99,96,96,94,94,93,93,90,90,88,88,88,87,87,86,85,84,84,84,83,83,
02212 83,82,81,81,80,80,77,75,75,75,74,73,69,69,67,67,66,66,65,65,64,
02213 64,63,63,63,59,58,56,55,54,54,53,53,52,50,50,50,48,48,47,47,45,
02214 43,42,42,42,41,41,41,40,39,38,38,34,34,32,32,32,31,31,30,30,29,
02215 27,26,26,26,26,25,25,25,24,23,22,22,22,21,21,20
02216 };
02217 const int n2c1w2_c[] = {
02218 100,
02219 100,
02220
02221 98,96,95,95,94,94,92,91,89,88,86,85,84,84,83,83,82,82,81,80,80,
02222 79,77,77,77,75,75,75,75,75,72,71,70,69,68,68,66,66,66,66,64,64,
02223 64,64,63,62,62,61,59,58,58,58,57,56,56,56,56,55,55,54,54,53,51,
02224 51,51,50,50,49,49,49,48,48,48,45,45,44,43,41,40,40,36,34,33,32,
02225 32,32,29,27,27,27,27,25,25,25,24,23,23,21,21,20
02226 };
02227 const int n2c1w2_d[] = {
02228 100,
02229 100,
02230
02231 100,99,98,97,96,95,94,94,94,93,93,93,92,92,92,91,90,90,89,88,
02232 88,87,86,85,85,85,84,83,83,83,79,78,78,78,77,77,77,76,74,74,73,
02233 72,72,71,71,70,70,69,68,67,65,64,64,63,61,61,60,59,59,58,57,57,
02234 56,55,55,55,54,54,54,54,52,52,51,51,49,46,46,46,45,44,43,41,40,
02235 39,38,37,35,35,32,32,32,30,30,30,29,28,27,23,22,20
02236 };
02237 const int n2c1w2_e[] = {
02238 100,
02239 100,
02240
02241 100,100,100,99,99,99,99,98,97,96,95,94,94,91,90,90,90,89,89,89,
02242 88,88,87,87,86,85,85,85,84,82,81,80,80,79,79,77,76,74,73,71,70,
02243 69,68,68,67,67,66,65,65,65,62,62,62,59,59,59,57,57,55,55,54,51,
02244 50,49,47,47,46,45,45,43,42,41,41,41,39,38,37,35,35,34,34,34,33,
02245 32,31,30,29,29,27,26,26,25,24,24,24,21,21,21,20,20
02246 };
02247 const int n2c1w2_f[] = {
02248 100,
02249 100,
02250
02251 100,99,99,98,98,98,96,96,96,96,95,95,94,94,93,91,90,90,89,89,
02252 89,88,88,86,85,83,83,83,83,81,81,79,79,78,78,78,77,76,75,75,72,
02253 71,68,68,67,66,61,60,60,59,59,58,58,58,57,56,52,52,52,52,50,47,
02254 47,47,44,43,43,43,41,41,41,40,39,38,36,36,32,32,32,31,29,29,29,
02255 28,28,28,28,27,27,27,26,25,24,24,24,24,23,23,21,21
02256 };
02257 const int n2c1w2_g[] = {
02258 100,
02259 100,
02260
02261 99,99,99,99,97,97,95,94,92,92,92,91,91,90,90,90,89,88,87,87,86,
02262 85,84,83,83,83,81,80,79,78,78,77,76,76,74,73,73,72,72,72,71,70,
02263 70,70,68,68,67,67,65,65,65,64,64,64,64,63,63,63,63,61,60,59,58,
02264 57,57,56,55,54,53,51,50,49,48,48,48,47,47,45,41,39,39,38,38,37,
02265 36,35,29,28,27,26,26,24,22,22,22,22,22,21,20,20
02266 };
02267 const int n2c1w2_h[] = {
02268 100,
02269 100,
02270
02271 100,99,95,95,94,94,93,93,93,92,91,88,87,86,86,86,86,85,85,85,
02272 84,84,84,83,82,81,79,78,77,76,76,76,76,75,75,73,72,71,71,69,69,
02273 69,69,67,67,65,65,64,64,64,64,63,63,62,61,61,60,59,59,59,57,57,
02274 56,56,55,55,54,53,51,49,47,45,45,43,43,43,42,42,42,38,37,36,36,
02275 33,31,29,28,28,28,28,27,27,27,26,26,25,24,22,22,20
02276 };
02277 const int n2c1w2_i[] = {
02278 100,
02279 100,
02280
02281 100,99,98,97,97,96,95,95,93,93,93,93,91,91,90,89,89,89,89,89,
02282 89,88,88,87,86,84,84,81,80,79,78,78,76,75,74,72,72,71,71,70,69,
02283 69,66,66,63,63,62,62,61,60,59,59,57,57,55,55,55,54,54,54,53,53,
02284 52,52,51,50,50,50,49,49,48,47,47,41,40,40,39,38,36,35,34,33,33,
02285 32,31,31,31,31,30,30,28,27,24,23,23,22,21,20,20,20
02286 };
02287 const int n2c1w2_j[] = {
02288 100,
02289 100,
02290
02291 99,97,96,95,95,95,94,94,94,93,92,90,90,89,89,89,89,89,89,88,88,
02292 86,86,85,85,85,84,84,83,82,82,80,79,78,78,78,77,77,77,76,75,75,
02293 69,67,66,66,66,65,65,65,64,64,62,62,58,58,58,58,58,55,54,53,53,
02294 51,50,50,50,49,49,46,45,42,42,42,41,40,39,39,37,37,37,37,35,33,
02295 33,32,31,30,29,28,26,25,21,21,21,21,21,20,20,20
02296 };
02297 const int n2c1w2_k[] = {
02298 100,
02299 100,
02300
02301 100,99,98,97,95,95,93,92,91,91,91,91,90,89,89,88,88,86,85,85,
02302 83,81,81,81,80,80,79,78,77,77,77,76,76,76,75,75,74,74,73,73,71,
02303 71,70,70,69,69,69,67,67,67,67,66,65,63,63,63,63,62,62,62,61,57,
02304 55,53,53,51,51,51,50,50,49,49,48,48,48,47,47,46,43,41,41,40,36,
02305 36,36,36,35,35,33,32,32,31,31,29,28,28,25,25,23,21
02306 };
02307 const int n2c1w2_l[] = {
02308 100,
02309 100,
02310
02311 100,97,96,96,94,94,94,93,93,93,91,91,90,90,88,83,83,82,82,81,
02312 81,80,78,78,78,76,75,75,74,72,72,71,70,70,70,70,70,67,65,64,64,
02313 64,63,62,62,61,60,60,58,58,57,55,55,54,53,52,52,51,50,49,48,47,
02314 47,47,46,45,45,45,44,43,42,42,41,41,40,39,38,38,36,36,35,35,35,
02315 33,32,31,30,30,29,27,26,25,24,24,23,23,22,22,22,20
02316 };
02317 const int n2c1w2_m[] = {
02318 100,
02319 100,
02320
02321 100,100,99,98,97,97,97,96,95,95,95,95,94,92,92,91,91,90,90,89,
02322 89,89,87,86,85,83,82,82,80,80,79,78,76,75,74,72,72,71,71,71,70,
02323 66,65,63,63,63,63,62,61,60,60,60,60,59,57,55,55,55,53,52,51,46,
02324 46,46,45,45,42,41,41,41,40,40,39,39,39,39,38,38,37,36,36,35,35,
02325 35,35,34,34,31,30,29,29,28,27,27,27,27,26,26,22,22
02326 };
02327 const int n2c1w2_n[] = {
02328 100,
02329 100,
02330
02331 100,100,99,99,99,98,96,95,95,94,94,94,93,93,92,92,92,91,91,89,
02332 86,86,85,85,83,82,81,81,80,78,77,77,75,74,74,73,70,70,69,69,68,
02333 68,67,66,65,64,63,63,62,60,59,59,58,56,56,56,55,54,51,50,50,49,
02334 48,47,47,46,46,46,44,44,43,42,39,39,38,38,37,37,34,34,32,32,31,
02335 30,30,29,29,28,28,27,27,27,25,24,24,24,23,21,20,20
02336 };
02337 const int n2c1w2_o[] = {
02338 100,
02339 100,
02340
02341 100,98,98,98,98,97,96,95,95,94,93,92,90,90,89,88,88,88,87,87,
02342 86,85,84,83,83,83,82,82,80,80,79,79,78,78,76,74,74,74,74,71,69,
02343 68,68,67,67,66,64,64,64,64,62,62,61,60,60,55,55,53,53,50,49,49,
02344 47,45,44,44,43,43,42,42,42,41,41,39,36,35,35,33,33,32,31,31,31,
02345 31,30,30,29,28,25,25,23,23,22,22,21,21,21,20,20,20
02346 };
02347 const int n2c1w2_p[] = {
02348 100,
02349 100,
02350
02351 99,98,97,96,96,95,94,93,93,92,92,90,90,89,89,88,88,88,88,86,86,
02352 85,83,82,82,80,80,80,79,79,77,77,77,76,76,76,74,73,73,71,71,70,
02353 69,69,69,68,68,67,66,66,65,63,60,59,57,57,57,57,56,53,53,52,51,
02354 51,51,51,50,47,46,45,44,44,44,43,42,42,39,39,38,38,38,37,36,36,
02355 36,32,31,30,28,28,27,27,27,26,26,24,24,22,22,20
02356 };
02357 const int n2c1w2_q[] = {
02358 100,
02359 100,
02360
02361 97,97,97,96,96,95,94,94,94,90,89,86,85,84,83,79,78,78,78,77,77,
02362 77,76,76,75,75,74,74,72,72,71,71,70,69,69,67,67,66,66,66,66,65,
02363 65,64,63,63,62,62,61,60,59,59,57,56,56,55,53,53,52,52,51,51,51,
02364 50,50,49,49,49,49,48,48,47,47,45,43,40,39,37,37,35,34,33,33,32,
02365 32,31,30,29,28,28,28,27,27,27,25,24,24,23,23,22
02366 };
02367 const int n2c1w2_r[] = {
02368 100,
02369 100,
02370
02371 100,99,98,98,98,98,97,97,96,96,96,94,94,93,92,90,88,87,87,86,
02372 86,85,85,85,85,85,84,84,83,83,83,83,80,79,79,78,77,77,76,75,75,
02373 74,71,70,69,67,65,64,62,62,62,62,61,61,60,58,57,56,55,55,55,54,
02374 54,53,52,51,49,49,47,46,45,44,44,43,43,41,41,40,39,37,34,32,32,
02375 31,29,28,28,27,26,26,25,25,24,24,23,23,22,22,21,20
02376 };
02377 const int n2c1w2_s[] = {
02378 100,
02379 100,
02380
02381 100,98,98,97,96,94,94,93,93,91,90,90,90,89,89,87,87,86,86,86,
02382 84,84,82,82,81,81,80,79,77,77,77,76,76,75,75,73,72,72,71,70,70,
02383 70,70,67,64,62,62,59,59,59,58,58,58,55,55,54,54,53,53,53,51,51,
02384 50,50,50,49,49,48,47,46,46,45,45,44,41,41,39,39,37,37,37,37,35,
02385 34,34,34,33,33,33,32,31,29,27,25,25,24,23,22,20,20
02386 };
02387 const int n2c1w2_t[] = {
02388 100,
02389 100,
02390
02391 100,99,99,99,98,97,95,94,94,94,93,93,92,92,91,90,90,90,90,89,
02392 89,87,86,85,83,82,80,80,79,79,78,78,78,77,75,72,71,70,70,67,65,
02393 64,63,62,62,62,61,60,60,59,58,58,58,57,57,56,56,56,55,55,54,52,
02394 51,49,49,48,47,46,46,46,46,46,44,44,43,42,42,39,37,36,36,35,34,
02395 34,33,33,33,32,30,30,30,27,26,25,24,24,24,21,21,20
02396 };
02397 const int n2c1w4_a[] = {
02398 100,
02399 100,
02400
02401 100,99,97,96,96,96,94,94,94,93,93,93,92,91,90,90,90,89,89,88,
02402 88,83,83,82,82,81,80,80,80,79,79,79,79,78,78,78,76,74,74,73,73,
02403 71,70,69,69,68,67,67,66,65,64,63,63,63,62,59,58,58,57,56,56,56,
02404 56,53,53,53,52,51,51,50,49,48,48,48,47,46,46,45,43,42,41,41,39,
02405 39,39,38,38,38,38,38,37,37,37,36,36,33,32,32,31,31
02406 };
02407 const int n2c1w4_b[] = {
02408 100,
02409 100,
02410
02411 100,100,99,99,99,97,96,95,95,93,93,93,91,89,89,89,88,87,87,86,
02412 85,85,84,83,81,80,80,79,79,78,78,78,77,75,75,73,73,73,72,71,71,
02413 70,70,69,66,65,65,63,60,60,59,59,58,58,57,57,55,55,55,55,54,54,
02414 53,53,52,51,50,50,49,49,49,48,45,45,45,45,44,44,43,43,41,41,40,
02415 40,40,36,36,35,34,34,33,33,33,33,33,32,32,32,32,30
02416 };
02417 const int n2c1w4_c[] = {
02418 100,
02419 100,
02420
02421 99,97,97,96,96,94,93,93,92,92,91,90,90,90,88,87,87,86,86,86,85,
02422 85,85,85,84,84,83,83,82,82,81,81,81,79,79,78,77,76,76,76,76,76,
02423 74,74,73,71,71,70,70,69,69,67,67,66,65,65,65,63,62,62,61,60,60,
02424 60,59,59,58,57,56,56,55,55,54,53,52,51,50,50,48,48,43,40,38,38,
02425 38,37,35,35,35,35,34,33,33,32,32,31,31,31,31,30
02426 };
02427 const int n2c1w4_d[] = {
02428 100,
02429 100,
02430
02431 100,100,99,98,98,97,97,96,95,95,94,94,94,93,92,89,89,88,88,88,
02432 88,87,86,85,84,84,82,81,81,80,79,78,77,77,76,76,76,76,74,74,74,
02433 73,72,72,72,71,71,71,69,69,68,68,68,68,67,67,66,66,65,65,64,64,
02434 62,61,58,57,57,57,56,55,54,54,54,53,53,52,52,52,52,51,51,50,49,
02435 49,48,47,46,45,45,40,40,39,37,37,35,34,34,33,33,30
02436 };
02437 const int n2c1w4_e[] = {
02438 100,
02439 100,
02440
02441 99,99,98,97,97,96,96,95,95,95,94,94,94,94,91,91,89,88,87,86,86,
02442 85,84,83,82,82,82,81,81,79,78,78,76,76,76,76,73,72,71,71,70,70,
02443 70,69,69,69,69,69,68,68,67,66,65,64,61,61,61,61,60,60,59,59,58,
02444 57,57,55,54,54,48,45,45,44,44,43,42,42,42,42,41,41,39,38,37,37,
02445 36,36,35,35,35,35,34,34,34,33,33,32,31,31,31,30
02446 };
02447 const int n2c1w4_f[] = {
02448 100,
02449 100,
02450
02451 100,100,99,97,97,95,95,95,94,93,92,91,90,89,89,88,87,87,86,84,
02452 83,82,80,80,80,80,80,80,79,79,79,79,78,76,76,76,76,73,73,72,71,
02453 71,70,69,69,69,69,68,67,66,66,66,64,64,64,62,62,62,62,61,60,60,
02454 59,58,58,58,58,57,57,56,56,56,56,56,53,52,50,49,48,47,44,44,43,
02455 42,40,39,37,37,36,36,36,35,35,34,33,33,33,32,30,30
02456 };
02457 const int n2c1w4_g[] = {
02458 100,
02459 100,
02460
02461 100,100,98,98,96,95,95,95,94,94,93,93,88,87,85,84,80,80,80,79,
02462 78,78,78,77,77,77,76,76,73,71,71,70,70,70,70,69,69,68,67,67,66,
02463 66,66,66,66,66,66,64,63,63,63,61,61,61,61,60,59,59,59,58,57,57,
02464 57,56,55,54,54,53,51,51,49,49,49,48,47,45,44,44,42,41,41,41,40,
02465 39,39,39,38,38,37,37,37,36,35,34,34,33,32,32,32,31
02466 };
02467 const int n2c1w4_h[] = {
02468 100,
02469 100,
02470
02471 100,100,99,99,98,98,97,96,96,94,94,94,94,93,91,90,89,87,87,87,
02472 86,84,84,84,83,82,80,79,75,75,75,74,74,73,73,73,72,71,70,69,69,
02473 69,68,68,68,67,65,65,63,63,61,61,61,61,60,60,60,60,60,59,59,58,
02474 57,57,56,56,55,54,54,54,51,50,50,49,49,49,49,48,48,48,46,46,44,
02475 42,42,41,40,40,38,37,35,35,34,34,33,33,33,33,32,31
02476 };
02477 const int n2c1w4_i[] = {
02478 100,
02479 100,
02480
02481 98,97,97,96,96,95,95,95,95,92,92,92,91,91,91,91,90,88,87,86,85,
02482 83,82,81,80,79,77,76,76,75,75,75,74,74,72,72,72,71,71,71,70,70,
02483 70,69,69,68,67,65,65,64,63,63,62,62,62,61,61,60,59,59,59,59,58,
02484 58,56,56,55,55,52,51,50,48,48,47,47,47,46,45,44,44,42,42,42,41,
02485 40,39,38,36,36,36,35,35,35,35,34,32,32,32,30,30
02486 };
02487 const int n2c1w4_j[] = {
02488 100,
02489 100,
02490
02491 100,99,99,98,97,97,97,96,96,96,95,93,91,90,87,87,86,86,84,83,
02492 82,81,81,81,80,79,79,77,77,76,76,75,74,72,72,72,71,70,70,70,69,
02493 69,68,68,67,67,67,66,66,66,65,65,65,64,64,62,60,59,57,57,57,57,
02494 55,55,55,55,53,53,52,52,52,50,50,50,49,49,48,47,47,45,45,45,44,
02495 43,42,39,39,39,38,38,38,37,35,35,34,32,32,31,30,30
02496 };
02497 const int n2c1w4_k[] = {
02498 100,
02499 100,
02500
02501 99,98,98,97,97,97,95,94,94,94,93,93,91,91,90,89,89,88,88,87,86,
02502 83,83,82,82,81,81,80,80,79,79,78,76,74,73,73,72,71,71,70,70,70,
02503 68,68,67,66,66,65,64,64,61,61,60,59,59,57,56,56,56,56,56,55,54,
02504 53,51,51,51,51,50,50,50,49,47,47,47,46,46,45,45,43,43,42,41,40,
02505 40,39,39,38,38,37,35,34,34,34,33,33,32,30,30,30
02506 };
02507 const int n2c1w4_l[] = {
02508 100,
02509 100,
02510
02511 99,99,96,96,95,95,94,94,93,91,91,88,88,87,87,87,87,84,84,83,83,
02512 82,82,82,81,81,81,80,78,77,77,76,76,76,74,74,74,74,74,73,73,73,
02513 73,73,72,72,71,71,70,70,69,68,67,64,64,63,62,60,60,59,59,59,58,
02514 58,57,57,57,55,55,53,52,51,50,49,48,46,46,45,43,43,42,42,42,42,
02515 42,40,40,40,38,37,36,36,34,34,33,33,33,31,30,30
02516 };
02517 const int n2c1w4_m[] = {
02518 100,
02519 100,
02520
02521 100,100,99,99,99,99,98,98,97,96,96,96,96,95,95,95,95,91,90,89,
02522 88,87,86,84,83,83,82,80,79,77,77,76,76,74,74,74,73,72,72,71,71,
02523 70,69,68,67,67,66,66,65,63,60,60,59,59,58,57,57,56,56,54,53,53,
02524 53,53,52,51,50,50,50,50,49,47,47,46,46,45,44,43,42,42,42,41,41,
02525 39,38,38,38,37,37,36,36,36,35,35,35,33,32,32,32,31
02526 };
02527 const int n2c1w4_n[] = {
02528 100,
02529 100,
02530
02531 100,100,99,99,98,98,97,97,96,96,96,95,94,94,92,91,91,90,90,90,
02532 88,87,85,85,84,83,83,81,80,79,79,78,76,76,76,75,74,74,74,73,71,
02533 70,67,67,67,66,66,66,64,64,64,64,63,63,61,59,59,58,58,58,56,56,
02534 56,54,53,53,52,51,50,50,49,48,48,48,48,46,45,44,41,40,40,40,39,
02535 39,37,37,36,36,36,35,35,34,33,33,33,33,32,31,31,30
02536 };
02537 const int n2c1w4_o[] = {
02538 100,
02539 100,
02540
02541 100,100,100,100,99,99,98,98,98,97,97,97,96,95,95,94,94,94,94,
02542 93,93,93,92,92,92,91,91,90,87,86,86,85,85,84,83,83,80,79,78,78,
02543 77,76,74,72,72,72,71,71,71,71,70,70,69,68,67,66,65,64,63,63,62,
02544 62,62,60,59,59,58,58,57,57,56,55,55,54,53,52,52,51,51,51,49,46,
02545 42,41,41,41,40,40,39,39,39,38,36,36,34,34,33,31,30,30
02546 };
02547 const int n2c1w4_p[] = {
02548 100,
02549 100,
02550
02551 99,99,98,96,93,93,92,91,91,91,90,89,89,88,85,85,83,82,82,81,80,
02552 79,78,78,74,74,70,69,69,66,65,65,64,64,64,64,63,63,62,62,62,62,
02553 61,61,61,61,61,59,59,59,58,58,57,57,56,55,55,54,53,53,52,52,51,
02554 49,48,48,47,47,47,47,45,45,45,44,44,43,43,43,42,42,42,42,41,41,
02555 41,40,40,39,37,37,36,36,35,34,34,34,32,32,30,30
02556 };
02557 const int n2c1w4_q[] = {
02558 100,
02559 100,
02560
02561 100,100,98,98,97,97,94,93,93,92,92,92,91,91,91,90,89,89,89,88,
02562 87,86,85,83,83,83,82,81,80,80,80,79,79,78,77,77,77,77,77,75,75,
02563 74,74,74,72,70,69,69,69,66,66,66,66,65,64,64,63,62,61,61,60,60,
02564 60,58,57,57,56,56,54,52,50,49,49,48,47,46,44,43,42,42,40,40,40,
02565 40,39,39,39,39,38,38,38,38,36,36,35,35,35,34,33,32
02566 };
02567 const int n2c1w4_r[] = {
02568 100,
02569 100,
02570
02571 99,98,98,97,96,96,96,95,95,94,94,93,93,92,92,91,90,89,87,86,85,
02572 84,82,82,80,79,79,78,78,77,76,75,75,75,75,74,74,74,73,70,69,67,
02573 67,66,64,64,63,62,62,62,61,61,60,60,59,59,58,58,57,57,56,55,54,
02574 54,54,51,50,49,49,49,48,48,48,47,47,44,43,43,42,41,41,41,40,40,
02575 40,40,39,39,38,36,36,36,35,35,33,32,32,32,31,31
02576 };
02577 const int n2c1w4_s[] = {
02578 100,
02579 100,
02580
02581 100,100,100,100,99,99,99,99,98,97,97,97,96,96,96,95,94,94,93,
02582 92,91,91,91,90,89,89,88,88,85,85,82,82,80,80,79,78,77,76,75,75,
02583 75,75,74,73,72,71,71,70,69,69,69,67,67,66,66,66,66,65,64,64,64,
02584 64,62,62,61,59,59,59,58,56,56,56,55,55,54,52,50,50,49,49,48,48,
02585 48,47,46,44,44,43,43,40,40,39,38,35,35,33,33,31,30,30
02586 };
02587 const int n2c1w4_t[] = {
02588 100,
02589 100,
02590
02591 98,97,97,97,96,96,95,92,91,90,89,89,88,88,87,87,87,86,86,86,85,
02592 85,83,83,83,82,81,80,79,78,78,78,78,75,71,70,70,70,70,69,68,67,
02593 65,65,64,64,63,61,61,61,61,60,60,60,60,59,57,57,54,54,54,54,53,
02594 53,53,52,51,50,50,50,49,46,46,46,46,46,45,44,44,44,42,42,41,40,
02595 40,39,39,38,38,38,37,36,35,35,34,34,34,34,32,32
02596 };
02597 const int n2c2w1_a[] = {
02598 120,
02599 100,
02600
02601 99,98,98,98,97,96,94,92,91,90,90,89,86,84,82,81,81,80,80,79,79,
02602 79,77,75,73,72,71,71,71,70,67,65,65,62,61,59,56,55,55,55,55,54,
02603 54,53,52,51,50,48,48,48,47,47,46,45,44,43,43,43,43,42,42,40,39,
02604 38,38,36,34,30,30,29,27,26,26,24,22,21,21,20,19,18,18,18,15,14,
02605 13,11,9,8,7,7,6,6,6,4,4,3,3,2,1,1
02606 };
02607 const int n2c2w1_b[] = {
02608 120,
02609 100,
02610
02611 100,100,100,99,99,98,97,96,95,95,91,91,91,90,90,88,88,88,88,87,
02612 87,85,85,82,82,81,79,78,78,78,78,78,78,77,77,77,75,74,72,71,69,
02613 69,68,67,64,64,62,62,60,58,57,55,55,54,51,51,51,48,48,47,46,45,
02614 44,42,38,38,36,34,34,31,30,30,30,28,28,28,26,26,25,25,23,23,22,
02615 21,20,19,18,18,17,16,13,9,8,5,4,4,4,4,3,1
02616 };
02617 const int n2c2w1_c[] = {
02618 120,
02619 100,
02620
02621 100,100,97,97,96,95,94,91,90,89,88,84,84,84,83,82,81,80,80,80,
02622 78,73,72,72,72,69,69,66,65,65,65,65,65,64,63,63,62,60,58,58,57,
02623 54,54,53,52,51,50,49,49,48,47,46,44,42,40,40,40,39,38,37,37,35,
02624 35,33,32,31,30,30,29,28,27,27,23,21,20,20,20,19,19,19,18,17,16,
02625 16,15,14,13,12,12,12,11,10,8,7,5,5,4,3,3,1
02626 };
02627 const int n2c2w1_d[] = {
02628 120,
02629 100,
02630
02631 99,97,97,96,94,94,93,93,89,89,89,88,87,85,85,84,84,82,82,78,77,
02632 76,75,73,73,71,71,67,66,63,63,62,62,61,61,59,59,57,57,57,57,55,
02633 53,53,52,51,51,50,49,49,48,48,48,47,46,46,46,44,44,41,38,37,37,
02634 37,37,35,35,34,34,32,32,31,31,30,29,28,27,27,26,26,26,25,25,24,
02635 21,19,18,15,13,13,12,12,12,10,10,5,4,3,2,1
02636 };
02637 const int n2c2w1_e[] = {
02638 120,
02639 100,
02640
02641 100,100,99,96,94,93,92,92,92,90,90,89,89,89,87,84,82,82,82,81,
02642 80,77,77,77,77,75,73,72,71,69,68,68,64,64,62,61,58,54,53,53,53,
02643 52,52,51,51,49,49,48,48,46,45,45,44,43,42,41,40,37,37,36,35,35,
02644 34,34,33,33,33,31,29,27,24,24,23,22,21,20,18,17,17,16,15,14,14,
02645 14,13,13,13,11,11,9,8,7,7,6,4,3,1,1,1,1
02646 };
02647 const int n2c2w1_f[] = {
02648 120,
02649 100,
02650
02651 100,100,100,100,99,99,97,97,97,97,95,92,91,89,88,88,88,88,88,
02652 86,85,85,83,82,81,81,80,80,80,79,78,76,75,75,71,70,70,70,69,69,
02653 68,67,67,65,63,63,62,62,62,56,54,54,54,53,52,52,51,49,49,47,42,
02654 42,42,41,40,40,38,38,35,34,34,33,31,31,31,31,30,30,29,27,27,26,
02655 23,22,22,21,19,19,17,16,15,15,12,11,10,9,9,8,4,1
02656 };
02657 const int n2c2w1_g[] = {
02658 120,
02659 100,
02660
02661 100,100,100,99,99,98,98,96,95,94,93,91,90,90,89,89,88,86,83,83,
02662 82,81,81,80,80,80,79,79,79,76,75,74,73,73,70,70,65,63,60,59,59,
02663 58,57,55,54,54,52,52,51,51,51,50,47,47,46,45,45,45,43,42,42,41,
02664 36,35,35,35,34,33,33,29,29,29,29,29,28,24,22,22,22,22,22,20,20,
02665 20,19,18,17,17,16,15,12,11,11,9,8,6,3,1,1,1
02666 };
02667 const int n2c2w1_h[] = {
02668 120,
02669 100,
02670
02671 100,99,99,98,98,97,96,94,94,93,93,92,92,90,88,88,87,87,86,86,
02672 86,85,85,78,78,77,77,77,74,71,71,68,68,67,66,65,65,62,62,60,59,
02673 59,55,55,54,53,52,52,51,51,50,49,49,48,47,46,46,46,45,45,45,42,
02674 42,41,41,40,38,36,36,34,33,32,32,32,31,29,27,23,22,22,21,21,20,
02675 18,16,15,11,10,10,9,9,8,6,6,5,5,4,3,1,1
02676 };
02677 const int n2c2w1_i[] = {
02678 120,
02679 100,
02680
02681 100,100,99,98,97,96,96,96,93,93,92,91,88,87,86,85,84,82,82,79,
02682 79,79,77,77,76,72,71,71,70,68,67,66,66,65,64,64,63,63,62,62,62,
02683 62,61,60,59,59,58,57,56,55,55,54,51,51,50,50,48,47,47,46,46,46,
02684 45,44,41,41,38,37,35,33,32,31,29,29,29,28,28,27,26,25,25,22,19,
02685 19,18,18,13,11,10,10,9,6,5,5,4,3,3,2,1,1
02686 };
02687 const int n2c2w1_j[] = {
02688 120,
02689 100,
02690
02691 100,100,99,98,97,96,95,93,87,87,86,85,85,85,84,83,82,82,81,80,
02692 80,79,79,77,75,75,75,72,72,70,69,69,66,66,66,63,62,62,61,61,60,
02693 57,57,57,55,53,52,52,48,48,47,46,43,43,42,41,41,40,40,38,37,37,
02694 37,36,34,32,31,31,31,30,29,29,28,28,26,26,26,25,24,22,19,16,16,
02695 15,15,14,14,13,9,9,8,7,6,6,5,4,4,4,3,1
02696 };
02697 const int n2c2w1_k[] = {
02698 120,
02699 100,
02700
02701 100,100,97,96,95,95,93,93,92,90,90,90,89,88,88,87,85,84,82,78,
02702 78,78,78,77,74,74,70,69,68,67,67,66,66,65,61,60,60,59,57,56,55,
02703 55,54,54,52,52,51,51,50,50,49,48,48,48,47,44,43,41,41,40,39,37,
02704 37,32,32,31,30,30,29,28,27,26,25,24,24,24,23,23,22,21,19,18,18,
02705 17,16,15,14,12,10,10,8,6,5,4,3,3,2,2,2,1
02706 };
02707 const int n2c2w1_l[] = {
02708 120,
02709 100,
02710
02711 100,100,100,99,99,99,98,98,96,96,95,95,95,94,94,93,92,90,90,88,
02712 87,85,85,85,82,81,81,80,80,80,76,76,76,75,73,73,73,73,72,71,71,
02713 68,68,64,64,64,61,60,59,58,57,57,56,51,51,50,49,47,45,45,45,44,
02714 42,40,38,38,36,36,36,35,34,33,30,30,29,29,28,28,27,23,22,20,20,
02715 19,17,16,16,11,11,9,8,8,7,7,5,5,3,2,2,1
02716 };
02717 const int n2c2w1_m[] = {
02718 120,
02719 100,
02720
02721 98,97,95,93,93,92,92,92,91,90,89,89,89,88,86,84,84,84,83,83,82,
02722 82,81,81,79,78,77,75,73,72,72,71,71,70,69,68,65,65,64,64,62,61,
02723 60,57,55,55,53,51,51,50,50,50,48,46,45,42,42,41,41,41,41,41,40,
02724 39,39,37,36,35,34,33,33,33,30,30,29,27,25,23,23,23,23,19,19,16,
02725 16,14,14,14,14,12,12,10,8,8,7,7,6,5,3,3
02726 };
02727 const int n2c2w1_n[] = {
02728 120,
02729 100,
02730
02731 99,99,96,96,95,93,92,89,89,88,87,85,81,80,80,78,77,77,76,75,74,
02732 72,71,71,70,70,69,69,67,67,67,65,65,65,65,64,62,62,59,59,59,58,
02733 58,56,56,56,56,55,55,54,52,50,50,49,49,48,47,45,43,43,43,41,40,
02734 39,38,38,37,36,36,36,35,35,35,30,30,29,26,26,26,26,24,24,23,23,
02735 17,17,17,15,13,13,12,11,11,11,6,5,4,4,3,1
02736 };
02737 const int n2c2w1_o[] = {
02738 120,
02739 100,
02740
02741 98,97,97,97,97,94,93,93,93,92,91,91,90,89,89,88,87,87,87,85,84,
02742 84,83,83,82,81,81,81,81,78,76,76,75,75,74,73,70,69,68,68,68,66,
02743 65,64,64,63,59,58,57,56,56,52,51,51,50,49,48,48,47,47,46,46,45,
02744 45,44,44,43,43,42,40,40,40,37,33,31,30,29,28,26,25,25,24,19,19,
02745 19,19,17,16,16,15,15,14,13,12,12,7,4,2,1,1
02746 };
02747 const int n2c2w1_p[] = {
02748 120,
02749 100,
02750
02751 99,99,99,99,99,96,96,96,95,94,93,93,91,91,91,89,87,87,86,86,85,
02752 85,84,83,82,82,81,81,76,75,75,74,72,68,68,66,65,64,64,64,63,61,
02753 61,60,60,59,58,56,56,56,55,55,54,54,52,51,51,46,44,43,41,40,39,
02754 39,39,39,38,37,37,36,36,35,33,29,28,27,26,23,23,21,17,17,14,13,
02755 11,11,10,10,10,9,9,9,8,6,6,4,4,3,3,2
02756 };
02757 const int n2c2w1_q[] = {
02758 120,
02759 100,
02760
02761 98,98,98,98,96,93,92,91,90,89,87,87,86,86,85,84,83,83,81,78,78,
02762 78,78,78,78,77,72,72,71,70,70,70,69,68,67,65,65,64,64,64,63,63,
02763 62,62,62,62,61,61,60,60,59,59,58,57,57,56,56,56,55,54,51,50,49,
02764 49,47,46,46,39,39,38,38,34,33,32,30,30,29,28,27,26,24,23,23,22,
02765 22,22,20,18,18,15,12,9,6,6,5,3,3,2,2,2
02766 };
02767 const int n2c2w1_r[] = {
02768 120,
02769 100,
02770
02771 98,97,94,94,93,91,90,89,89,89,88,86,86,84,83,80,79,78,77,75,75,
02772 72,71,70,69,67,66,65,64,64,62,61,60,60,60,59,57,56,56,56,56,56,
02773 55,55,55,54,51,50,50,49,49,49,48,47,47,46,44,43,42,40,40,37,37,
02774 36,36,36,36,34,33,33,32,32,30,30,28,28,25,25,24,24,24,22,22,21,
02775 20,19,17,16,13,12,10,9,6,5,5,4,3,3,2,1
02776 };
02777 const int n2c2w1_s[] = {
02778 120,
02779 100,
02780
02781 99,98,97,96,95,94,93,93,91,90,89,88,87,87,86,86,85,84,83,82,79,
02782 79,78,77,77,77,77,73,73,72,71,71,70,68,67,63,63,62,61,61,61,61,
02783 60,59,57,56,52,51,49,48,47,47,47,46,45,44,44,44,44,43,43,42,42,
02784 39,39,39,34,33,33,32,31,31,28,28,27,25,25,24,24,24,24,22,21,20,
02785 18,17,17,16,14,14,13,10,10,9,9,7,7,7,7,6
02786 };
02787 const int n2c2w1_t[] = {
02788 120,
02789 100,
02790
02791 100,99,99,98,98,95,94,94,91,90,89,87,84,80,80,77,75,74,73,73,
02792 72,72,72,69,69,65,64,63,62,62,59,59,59,59,59,59,57,56,53,53,51,
02793 51,51,50,50,50,49,49,48,47,47,47,47,44,44,43,43,40,39,38,37,36,
02794 34,34,32,30,29,29,27,23,23,23,21,18,18,18,18,17,16,16,16,15,15,
02795 14,12,12,11,10,10,9,8,8,7,7,5,4,4,4,2,1
02796 };
02797 const int n2c2w2_a[] = {
02798 120,
02799 100,
02800
02801 100,100,98,95,94,94,93,93,93,92,90,90,90,89,88,87,87,86,86,84,
02802 84,83,82,82,81,80,79,79,79,77,77,76,75,75,75,75,74,73,71,69,69,
02803 68,65,63,60,59,59,58,57,57,56,56,56,56,55,55,54,54,54,54,50,50,
02804 49,48,48,48,45,45,44,44,43,43,39,38,38,37,37,37,37,36,36,33,33,
02805 31,29,28,27,27,26,26,26,26,25,25,25,23,23,23,22,22
02806 };
02807 const int n2c2w2_b[] = {
02808 120,
02809 100,
02810
02811 99,99,98,97,96,94,93,93,93,92,91,91,91,91,90,89,88,87,85,85,85,
02812 82,82,81,80,80,79,78,76,76,75,75,74,74,72,71,71,70,70,69,69,66,
02813 65,65,65,64,64,63,63,60,60,60,59,59,58,57,56,56,55,54,53,53,53,
02814 52,52,51,51,50,49,49,49,48,48,47,47,47,47,46,45,45,43,43,41,41,
02815 40,37,37,36,36,36,31,31,30,29,28,23,22,21,21,20
02816 };
02817 const int n2c2w2_c[] = {
02818 120,
02819 100,
02820
02821 100,99,98,98,98,98,98,97,96,94,93,92,90,89,89,88,87,84,83,82,
02822 81,81,80,80,78,78,78,78,75,75,75,75,74,71,71,71,70,70,69,69,69,
02823 68,68,66,65,64,64,64,64,63,61,58,57,56,56,55,55,55,54,54,54,54,
02824 51,50,50,49,48,46,45,45,44,44,43,41,41,40,40,40,39,37,37,36,36,
02825 35,35,35,35,33,32,31,31,30,29,29,27,27,25,24,21,20
02826 };
02827 const int n2c2w2_d[] = {
02828 120,
02829 100,
02830
02831 100,100,96,96,95,95,94,93,92,92,90,89,89,88,88,87,87,87,86,86,
02832 85,85,85,85,85,84,83,82,77,77,77,76,74,74,72,72,72,71,70,69,67,
02833 67,66,62,62,60,59,59,59,57,57,56,56,56,55,53,52,52,51,49,48,47,
02834 46,43,43,43,43,43,41,41,40,40,39,38,37,36,36,36,36,35,34,34,33,
02835 33,33,33,31,31,29,28,27,27,24,24,23,22,21,20,20,20
02836 };
02837 const int n2c2w2_e[] = {
02838 120,
02839 100,
02840
02841 100,99,99,98,97,97,97,95,95,93,92,92,90,90,89,88,88,87,87,85,
02842 84,84,84,82,80,80,80,79,79,79,78,78,77,77,72,71,71,68,68,66,66,
02843 66,64,62,61,60,60,59,58,58,57,57,56,55,55,55,54,53,50,50,49,47,
02844 47,45,45,45,45,45,43,43,43,43,42,42,42,42,42,40,40,39,37,36,36,
02845 36,33,33,33,30,28,27,27,26,24,23,23,22,22,22,22,21
02846 };
02847 const int n2c2w2_f[] = {
02848 120,
02849 100,
02850
02851 99,96,95,94,92,92,92,92,91,90,89,88,87,86,85,83,83,83,83,82,80,
02852 80,80,78,77,76,76,75,75,74,74,73,72,71,71,71,68,68,68,66,64,62,
02853 59,58,58,55,55,54,54,53,53,53,52,52,51,50,50,47,46,45,43,42,41,
02854 41,40,40,39,39,38,38,37,37,36,35,35,35,35,33,33,33,32,32,32,30,
02855 28,27,27,26,25,25,25,24,24,23,23,22,22,21,21,20
02856 };
02857 const int n2c2w2_g[] = {
02858 120,
02859 100,
02860
02861 98,98,97,97,96,96,96,95,95,95,95,93,92,92,90,90,90,89,88,88,88,
02862 85,84,84,82,81,81,80,79,79,77,77,74,73,73,72,71,70,70,70,68,67,
02863 66,65,65,64,63,63,63,60,58,58,58,57,56,56,56,56,56,55,52,51,51,
02864 50,49,49,48,48,46,45,45,44,43,43,42,41,41,38,36,36,35,34,34,33,
02865 32,31,31,30,30,30,29,28,27,26,26,26,23,22,21,20
02866 };
02867 const int n2c2w2_h[] = {
02868 120,
02869 100,
02870
02871 100,99,99,98,98,98,96,96,95,94,94,94,93,92,91,90,90,89,88,87,
02872 84,83,82,79,78,78,78,77,76,74,74,74,73,73,72,71,70,69,69,67,64,
02873 64,63,63,63,62,61,61,60,60,59,58,57,56,55,54,54,54,54,53,53,51,
02874 51,50,50,50,49,48,48,48,47,45,44,44,44,43,42,42,41,41,40,38,38,
02875 38,38,37,35,30,29,28,27,27,26,26,25,25,24,22,22,21
02876 };
02877 const int n2c2w2_i[] = {
02878 120,
02879 100,
02880
02881 100,99,99,96,96,92,92,91,91,91,89,87,87,86,86,86,85,84,83,82,
02882 81,79,79,78,77,76,76,75,75,74,74,73,71,69,69,69,68,68,66,64,63,
02883 63,63,62,62,61,61,58,57,56,56,54,53,53,52,52,52,50,50,50,49,49,
02884 48,48,47,45,44,43,42,41,41,40,39,38,37,36,36,35,34,34,32,32,32,
02885 31,26,25,24,24,24,24,24,23,23,22,22,21,20,20,20,20
02886 };
02887 const int n2c2w2_j[] = {
02888 120,
02889 100,
02890
02891 99,98,98,97,97,96,95,93,93,93,93,93,92,91,91,91,89,87,86,83,83,
02892 82,81,80,80,80,76,76,76,75,75,75,75,75,73,71,71,70,70,70,69,67,
02893 66,65,64,63,62,62,61,61,61,61,60,60,59,58,58,58,57,56,55,55,55,
02894 54,53,52,52,52,52,51,51,50,49,47,46,46,45,45,44,44,43,43,39,39,
02895 38,37,37,34,33,32,29,28,28,26,25,24,22,22,21,20
02896 };
02897 const int n2c2w2_k[] = {
02898 120,
02899 100,
02900
02901 98,98,98,97,96,95,94,94,92,90,88,88,86,86,86,85,85,83,83,81,80,
02902 79,78,78,77,77,76,76,75,74,72,71,71,70,70,67,66,65,65,62,61,61,
02903 60,59,59,59,58,58,57,57,57,56,55,53,53,53,52,52,50,50,49,49,49,
02904 47,47,47,46,46,44,44,42,42,41,41,40,39,39,39,38,38,36,34,33,33,
02905 32,29,29,26,26,26,26,25,25,25,25,24,22,21,21,20
02906 };
02907 const int n2c2w2_l[] = {
02908 120,
02909 100,
02910
02911 100,100,98,98,98,98,97,97,96,93,91,91,91,91,89,88,87,86,86,85,
02912 83,83,83,82,82,80,79,78,78,76,75,75,75,74,72,72,72,72,71,69,68,
02913 66,66,66,62,61,60,59,58,58,57,56,55,54,53,51,50,50,50,50,49,48,
02914 48,47,47,47,47,46,46,45,45,42,41,40,40,39,39,38,38,37,36,36,36,
02915 36,33,32,30,30,30,27,25,24,24,24,23,23,22,21,21,20
02916 };
02917 const int n2c2w2_m[] = {
02918 120,
02919 100,
02920
02921 100,99,98,98,98,98,97,96,95,95,93,92,92,91,90,90,89,88,88,87,
02922 85,85,85,85,84,84,83,83,83,82,81,80,79,79,79,78,77,74,74,73,72,
02923 71,64,61,60,60,59,58,57,57,57,54,54,54,52,51,50,50,49,49,49,48,
02924 48,47,47,47,46,45,45,44,43,41,41,40,39,36,36,35,34,34,34,32,31,
02925 30,29,29,28,28,28,27,26,26,25,25,24,23,23,22,22,20
02926 };
02927 const int n2c2w2_n[] = {
02928 120,
02929 100,
02930
02931 99,98,98,97,97,97,97,97,96,95,95,92,92,92,92,91,91,90,90,89,88,
02932 87,85,85,83,82,82,82,82,81,79,77,76,76,75,75,74,74,71,71,70,69,
02933 68,66,66,64,63,62,61,61,60,59,56,53,52,51,50,50,48,47,46,43,42,
02934 41,41,40,40,40,39,39,38,36,34,34,33,33,33,32,32,32,31,31,30,30,
02935 30,29,29,29,27,27,25,24,23,22,22,21,21,21,20,20
02936 };
02937 const int n2c2w2_o[] = {
02938 120,
02939 100,
02940
02941 100,100,98,98,97,97,97,95,93,93,89,89,88,87,86,84,83,82,81,80,
02942 79,79,79,77,75,73,73,72,72,71,71,71,69,68,68,67,67,66,65,65,64,
02943 63,60,59,59,58,58,57,57,56,56,55,55,55,55,54,54,54,53,51,51,50,
02944 50,50,48,47,47,47,47,46,46,45,44,43,41,41,40,40,39,37,36,32,32,
02945 31,29,28,27,27,27,27,26,25,25,25,25,24,24,22,21,20
02946 };
02947 const int n2c2w2_p[] = {
02948 120,
02949 100,
02950
02951 99,97,97,96,96,95,95,93,93,92,92,91,91,89,89,88,87,86,86,85,84,
02952 84,83,82,79,78,78,76,72,71,71,71,70,68,68,68,67,66,65,64,62,62,
02953 62,61,61,59,59,57,57,55,55,54,53,52,52,51,49,48,47,47,47,46,46,
02954 45,45,44,43,43,42,42,40,39,39,39,39,39,38,37,36,36,35,34,33,32,
02955 31,30,29,28,28,27,25,25,25,24,23,22,22,21,20,20
02956 };
02957 const int n2c2w2_q[] = {
02958 120,
02959 100,
02960
02961 98,97,97,97,97,96,96,96,96,95,93,93,92,91,90,90,88,88,87,87,87,
02962 86,86,86,85,83,83,80,80,80,77,76,76,76,75,75,75,70,69,69,68,67,
02963 66,65,65,65,64,61,60,59,59,58,58,58,55,55,54,54,54,54,54,53,53,
02964 52,52,52,50,50,46,46,46,45,45,44,44,41,41,40,39,39,37,33,32,31,
02965 30,30,29,29,29,28,26,24,24,23,22,22,21,21,20,20
02966 };
02967 const int n2c2w2_r[] = {
02968 120,
02969 100,
02970
02971 100,99,99,98,97,97,96,95,95,94,93,93,91,91,91,90,89,88,86,86,
02972 85,82,82,82,81,81,80,79,79,78,78,76,74,73,69,68,67,67,66,66,66,
02973 66,64,63,62,62,60,60,59,58,56,54,53,52,51,50,50,49,48,47,46,46,
02974 44,44,43,43,43,43,43,42,42,41,41,40,39,36,35,34,33,33,33,32,32,
02975 32,31,30,30,30,29,29,27,26,25,24,24,23,22,22,20,20
02976 };
02977 const int n2c2w2_s[] = {
02978 120,
02979 100,
02980
02981 99,99,98,97,96,95,94,94,94,93,93,92,92,92,92,90,90,90,89,88,88,
02982 87,87,85,85,84,81,79,76,75,74,74,74,72,72,72,72,72,71,70,70,69,
02983 68,68,68,67,67,65,65,64,64,63,63,63,61,61,61,60,60,59,58,57,57,
02984 56,56,55,54,53,52,51,49,49,49,49,47,47,46,44,41,40,38,37,37,37,
02985 35,34,34,33,32,32,31,30,29,27,25,24,23,22,22,20
02986 };
02987 const int n2c2w2_t[] = {
02988 120,
02989 100,
02990
02991 100,100,100,99,99,99,97,97,96,93,91,90,87,86,86,86,85,85,85,84,
02992 84,83,83,82,81,81,79,77,75,75,74,74,73,72,72,72,71,70,70,70,70,
02993 69,69,69,68,68,67,67,66,65,64,59,59,59,59,57,57,57,56,56,55,54,
02994 54,52,49,49,48,45,44,44,43,42,42,42,42,41,40,40,39,39,39,38,38,
02995 36,35,35,35,33,33,32,30,30,29,28,27,27,26,25,25,22
02996 };
02997 const int n2c2w4_a[] = {
02998 120,
02999 100,
03000
03001 100,99,99,98,93,93,93,93,93,93,92,92,92,91,91,90,90,89,86,86,
03002 85,84,84,83,82,82,80,79,77,77,76,76,76,74,74,73,71,71,71,70,69,
03003 68,68,68,68,67,67,66,64,64,63,62,62,60,60,60,58,56,56,55,55,51,
03004 50,49,49,46,45,45,45,44,43,43,42,41,41,40,40,40,40,38,38,37,36,
03005 36,36,36,36,35,34,34,33,32,32,31,31,30,30,30,30,30
03006 };
03007 const int n2c2w4_b[] = {
03008 120,
03009 100,
03010
03011 100,99,99,99,98,96,96,96,96,95,94,93,92,92,90,90,90,89,88,86,
03012 84,84,84,80,80,79,79,79,78,75,75,75,75,74,74,74,72,72,71,71,70,
03013 70,70,69,69,69,68,67,67,67,67,66,66,65,63,61,60,60,58,57,57,57,
03014 56,56,55,55,54,53,52,51,50,50,47,47,46,45,43,43,43,42,41,41,40,
03015 40,39,39,39,38,37,37,37,37,34,34,33,33,32,32,32,30
03016 };
03017 const int n2c2w4_c[] = {
03018 120,
03019 100,
03020
03021 100,100,100,100,99,97,96,95,94,94,94,93,90,90,89,89,89,89,88,
03022 88,87,87,87,86,85,84,84,84,83,83,83,82,80,80,79,78,78,76,75,75,
03023 74,70,70,69,69,69,69,68,68,68,68,67,66,65,65,64,64,64,63,63,62,
03024 62,61,61,60,60,59,58,58,57,57,55,54,53,53,51,51,49,49,49,48,47,
03025 47,46,46,42,41,38,37,35,34,33,32,32,32,31,31,30,30,30
03026 };
03027 const int n2c2w4_d[] = {
03028 120,
03029 100,
03030
03031 99,99,99,98,98,98,97,97,97,96,96,95,94,94,92,91,90,88,88,87,86,
03032 86,86,86,84,84,83,82,82,82,81,81,81,81,80,79,78,77,77,76,75,75,
03033 75,75,74,74,73,72,72,69,67,66,63,63,63,61,60,60,59,59,58,58,56,
03034 56,55,55,54,52,50,49,48,48,48,47,47,47,46,46,44,42,40,40,39,38,
03035 37,37,36,36,36,35,34,33,33,32,31,31,31,30,30,30
03036 };
03037 const int n2c2w4_e[] = {
03038 120,
03039 100,
03040
03041 100,100,99,99,98,98,98,98,98,97,97,96,95,95,95,93,93,91,89,89,
03042 88,88,87,87,87,86,84,84,84,84,83,83,83,83,81,79,77,76,74,73,71,
03043 70,69,69,68,68,68,66,66,64,64,64,64,63,61,61,60,60,60,60,59,58,
03044 58,56,56,56,54,54,51,51,50,50,48,48,47,46,45,45,43,43,43,42,42,
03045 41,40,37,36,36,36,36,34,33,33,33,33,32,31,31,30,30
03046 };
03047 const int n2c2w4_f[] = {
03048 120,
03049 100,
03050
03051 100,99,99,98,97,97,96,96,95,95,94,92,92,90,90,89,87,87,86,85,
03052 85,85,84,84,84,83,82,81,81,80,80,79,79,79,78,78,76,75,74,73,72,
03053 72,70,70,68,67,65,65,64,64,63,63,63,62,62,61,59,58,58,57,57,56,
03054 55,54,54,54,53,52,51,50,47,47,43,42,42,42,42,41,41,40,40,39,38,
03055 38,38,37,36,35,35,35,35,34,34,33,33,33,32,32,31,31
03056 };
03057 const int n2c2w4_g[] = {
03058 120,
03059 100,
03060
03061 100,100,100,99,99,98,96,96,96,95,95,92,91,91,91,91,91,88,87,87,
03062 87,87,85,85,84,84,82,81,81,80,79,78,77,75,74,74,74,74,72,71,70,
03063 70,70,70,70,69,69,68,68,67,66,66,65,65,64,63,63,62,61,61,60,58,
03064 58,56,55,54,54,54,53,53,53,53,52,51,47,47,45,45,44,44,43,43,42,
03065 41,41,39,38,37,36,36,36,35,35,34,34,33,33,32,32,30
03066 };
03067 const int n2c2w4_h[] = {
03068 120,
03069 100,
03070
03071 100,100,99,99,98,97,97,97,96,96,96,96,95,94,93,89,88,87,86,85,
03072 85,85,85,84,84,84,83,83,82,81,81,81,80,80,79,78,78,77,77,77,76,
03073 75,72,72,70,69,69,69,69,66,66,65,64,64,63,63,62,59,59,58,58,57,
03074 57,57,55,54,52,52,51,51,51,48,47,47,47,46,46,45,45,45,44,43,43,
03075 42,42,42,42,39,37,37,37,35,34,33,32,32,31,31,30,30
03076 };
03077 const int n2c2w4_i[] = {
03078 120,
03079 100,
03080
03081 100,99,99,98,97,94,94,94,94,93,93,92,91,91,91,90,90,89,88,87,
03082 87,87,85,84,83,83,82,82,82,82,79,78,78,77,74,74,74,74,72,72,71,
03083 71,70,68,67,67,66,66,64,63,63,62,61,61,60,60,59,59,58,56,53,52,
03084 52,52,52,52,52,52,51,51,50,49,49,48,47,46,46,45,45,45,43,41,40,
03085 40,39,38,38,38,37,37,35,35,33,33,32,31,30,30,30,30
03086 };
03087 const int n2c2w4_j[] = {
03088 120,
03089 100,
03090
03091 100,100,100,99,98,98,98,98,97,97,96,95,95,93,92,91,90,90,90,89,
03092 88,88,86,86,85,85,83,82,81,81,80,76,76,76,74,74,73,73,73,71,71,
03093 71,70,70,69,68,68,67,67,67,66,66,66,65,64,64,64,62,61,59,58,58,
03094 55,55,55,54,52,51,50,50,49,49,49,49,48,47,47,47,44,44,43,43,40,
03095 40,38,38,38,37,37,37,36,36,36,36,35,33,32,32,31,30
03096 };
03097 const int n2c2w4_k[] = {
03098 120,
03099 100,
03100
03101 99,97,97,97,96,95,94,94,93,93,93,91,90,89,88,86,84,83,83,83,82,
03102 82,81,81,81,80,78,78,78,77,75,75,74,73,73,73,73,71,71,71,70,69,
03103 69,68,68,67,66,65,64,64,63,63,63,63,62,62,61,60,59,58,57,57,57,
03104 57,56,55,54,54,53,52,52,52,52,50,50,49,49,49,48,48,46,45,45,44,
03105 44,42,39,39,37,34,34,34,34,33,33,32,31,31,30,30
03106 };
03107 const int n2c2w4_l[] = {
03108 120,
03109 100,
03110
03111 100,99,99,97,97,97,96,93,91,89,89,88,88,88,85,84,82,82,80,80,
03112 78,78,78,78,78,77,77,76,76,75,75,75,74,74,74,72,71,70,69,69,69,
03113 67,67,67,66,65,65,65,64,63,63,61,61,60,60,60,60,59,58,58,57,57,
03114 57,56,56,54,53,53,52,52,51,51,47,47,46,45,45,45,44,44,43,43,43,
03115 43,42,37,37,37,35,34,34,33,33,33,33,32,32,31,30,30
03116 };
03117 const int n2c2w4_m[] = {
03118 120,
03119 100,
03120
03121 100,99,98,97,96,96,95,94,94,94,93,93,92,92,91,91,91,90,90,90,
03122 89,86,86,85,84,84,83,82,82,77,77,77,77,77,76,75,75,74,73,72,71,
03123 71,70,70,70,70,69,69,68,67,67,66,65,64,64,63,61,60,58,58,58,57,
03124 57,57,54,54,54,53,52,52,52,51,51,51,48,46,46,46,45,44,44,44,43,
03125 43,43,41,39,38,38,36,36,35,35,34,32,31,31,31,30,30
03126 };
03127 const int n2c2w4_n[] = {
03128 120,
03129 100,
03130
03131 100,99,99,98,97,95,95,94,94,94,93,92,92,91,91,91,90,89,87,87,
03132 86,86,85,84,81,81,81,81,80,79,79,79,79,78,77,75,75,75,74,74,73,
03133 73,73,71,71,70,70,69,67,67,66,64,64,63,63,63,62,61,61,61,61,60,
03134 59,59,59,59,58,58,56,56,54,54,53,53,53,52,52,51,49,45,44,44,43,
03135 43,39,37,37,37,37,37,37,36,36,35,33,32,32,31,31,30
03136 };
03137 const int n2c2w4_o[] = {
03138 120,
03139 100,
03140
03141 100,99,97,97,97,94,94,93,93,93,92,92,92,91,91,90,90,90,88,88,
03142 88,88,87,87,87,86,86,86,86,85,85,84,84,83,83,81,81,80,79,79,79,
03143 79,77,74,74,73,72,72,70,70,67,67,66,66,66,65,64,64,64,63,62,61,
03144 59,58,54,53,53,52,51,47,47,45,44,43,43,42,41,41,41,39,39,39,39,
03145 37,37,36,35,35,34,34,33,33,33,32,31,31,30,30,30,30
03146 };
03147 const int n2c2w4_p[] = {
03148 120,
03149 100,
03150
03151 100,99,99,99,98,97,97,96,96,95,94,94,93,91,89,89,89,87,87,86,
03152 85,84,84,84,83,83,83,83,79,79,76,76,75,74,73,73,72,71,71,70,70,
03153 70,70,68,67,67,66,64,64,63,62,62,62,62,62,59,58,58,56,56,56,54,
03154 54,54,53,53,53,51,51,50,49,49,48,48,48,47,46,46,45,44,43,43,43,
03155 42,41,41,41,41,40,39,38,38,38,38,37,36,35,32,31,30
03156 };
03157 const int n2c2w4_q[] = {
03158 120,
03159 100,
03160
03161 99,98,98,98,96,95,94,91,90,90,90,89,88,86,85,85,84,83,83,83,83,
03162 82,80,80,79,79,78,78,77,77,77,77,77,76,76,76,76,76,76,76,76,73,
03163 73,72,71,71,70,70,68,67,67,67,66,65,64,63,62,62,62,61,59,57,56,
03164 56,56,56,55,54,54,54,54,53,52,52,51,51,50,48,47,47,47,45,45,44,
03165 44,42,41,41,38,37,36,34,34,34,32,32,32,31,30,30
03166 };
03167 const int n2c2w4_r[] = {
03168 120,
03169 100,
03170
03171 100,99,99,98,97,97,97,96,94,94,93,93,93,91,89,89,89,89,89,88,
03172 87,87,86,86,85,85,84,83,80,79,78,77,77,77,73,73,71,70,70,69,69,
03173 68,67,65,63,62,62,62,62,61,60,60,59,59,59,58,58,58,57,57,56,56,
03174 55,54,53,52,51,49,48,47,46,45,45,45,44,43,42,42,42,42,41,40,39,
03175 39,38,37,35,35,35,35,34,33,33,32,32,31,30,30,30,30
03176 };
03177 const int n2c2w4_s[] = {
03178 120,
03179 100,
03180
03181 100,100,97,96,96,95,94,94,94,90,90,90,87,86,86,86,83,83,83,83,
03182 83,82,82,82,80,79,79,78,77,77,77,76,76,75,71,71,71,70,70,68,68,
03183 67,67,66,66,65,63,63,63,62,61,61,60,60,59,59,59,58,56,55,53,53,
03184 53,52,51,49,49,47,45,45,45,45,45,44,42,42,42,41,41,41,41,41,39,
03185 39,38,38,38,37,33,33,33,33,32,32,32,31,31,31,31,30
03186 };
03187 const int n2c2w4_t[] = {
03188 120,
03189 100,
03190
03191 99,99,98,98,97,97,97,96,93,92,91,91,90,89,88,88,87,86,86,85,85,
03192 84,84,83,83,81,80,80,78,76,75,75,74,72,72,71,69,69,68,68,68,68,
03193 67,66,66,65,62,61,61,60,60,60,59,58,58,57,57,57,56,56,54,54,53,
03194 53,53,52,52,51,50,50,50,49,48,48,46,46,46,46,45,45,43,42,42,41,
03195 41,41,38,37,36,36,35,34,34,34,33,33,33,32,30,30
03196 };
03197 const int n2c3w1_a[] = {
03198 150,
03199 100,
03200
03201 99,99,97,97,96,96,96,94,93,93,92,90,90,90,89,88,88,87,83,82,81,
03202 81,81,80,79,78,77,77,76,76,75,74,74,74,71,69,69,68,67,67,66,62,
03203 59,58,57,56,55,54,54,53,53,52,52,49,49,48,47,46,45,44,43,43,42,
03204 42,39,38,37,35,35,34,32,32,31,31,30,29,24,24,21,21,21,20,18,16,
03205 13,12,11,9,7,7,7,6,5,5,4,4,2,2,1,1
03206 };
03207 const int n2c3w1_b[] = {
03208 150,
03209 100,
03210
03211 100,99,96,94,93,92,92,91,91,91,89,88,86,86,86,85,84,84,84,81,
03212 81,80,79,79,78,77,77,77,77,73,71,69,67,66,65,65,64,64,64,62,60,
03213 57,57,56,56,56,56,53,52,51,51,50,50,48,47,46,45,44,43,42,41,41,
03214 40,40,39,39,38,37,36,36,36,34,33,31,31,29,29,26,25,22,22,22,20,
03215 17,11,11,10,9,7,7,7,7,6,5,3,2,2,1,1,1
03216 };
03217 const int n2c3w1_c[] = {
03218 150,
03219 100,
03220
03221 98,97,97,97,96,95,95,95,95,93,92,88,87,86,86,85,81,81,80,78,78,
03222 78,77,77,76,75,74,72,71,70,70,69,69,67,67,67,65,65,65,64,64,63,
03223 62,58,58,56,56,56,55,52,51,50,50,50,49,49,47,45,43,43,43,42,41,
03224 40,40,40,39,38,36,35,33,33,32,30,29,28,28,25,25,22,22,20,20,18,
03225 17,16,15,11,11,10,8,5,5,5,4,4,2,2,2,1
03226 };
03227 const int n2c3w1_d[] = {
03228 150,
03229 100,
03230
03231 99,99,97,97,96,96,94,92,92,92,92,91,90,90,89,89,88,85,84,84,84,
03232 80,80,78,78,77,77,77,76,75,75,75,74,73,73,72,71,71,70,68,66,65,
03233 64,62,61,60,57,56,56,55,55,54,54,52,50,50,48,48,47,47,45,45,45,
03234 44,42,40,40,39,38,38,38,36,34,32,30,29,29,29,28,28,28,26,25,25,
03235 24,21,18,17,14,13,12,12,10,10,9,9,8,5,4,1
03236 };
03237 const int n2c3w1_e[] = {
03238 150,
03239 100,
03240
03241 100,99,99,98,98,96,93,91,89,89,88,86,86,85,85,85,84,84,82,82,
03242 81,80,79,78,77,76,75,75,73,72,71,70,69,68,68,66,66,64,63,63,62,
03243 62,58,57,55,54,52,51,50,50,49,48,48,46,46,44,43,41,41,38,37,34,
03244 33,31,31,31,31,29,29,28,28,27,27,27,26,26,26,25,22,22,21,20,20,
03245 19,18,18,16,15,15,15,14,14,13,9,8,8,8,2,2,2
03246 };
03247 const int n2c3w1_f[] = {
03248 150,
03249 100,
03250
03251 100,100,100,98,98,97,97,96,94,92,90,87,86,84,84,83,83,81,81,81,
03252 81,80,77,77,77,75,74,74,74,73,70,69,69,68,67,66,66,65,65,64,63,
03253 62,62,61,60,59,57,57,57,57,56,56,54,52,50,50,47,45,43,43,43,40,
03254 38,37,37,36,36,35,35,33,33,32,31,31,29,27,27,24,23,19,18,16,14,
03255 13,13,12,12,11,10,9,8,8,8,4,4,4,3,2,2,1
03256 };
03257 const int n2c3w1_g[] = {
03258 150,
03259 100,
03260
03261 99,98,96,94,93,92,91,91,88,88,87,87,87,86,85,84,83,82,81,79,79,
03262 77,75,73,73,73,72,71,69,68,67,66,65,65,64,64,62,62,61,60,60,57,
03263 55,55,54,50,50,50,49,48,48,47,45,44,44,44,42,42,39,38,35,35,34,
03264 34,34,33,33,32,31,31,29,29,28,26,25,23,21,21,20,19,18,18,16,16,
03265 15,14,13,13,11,11,11,10,8,6,6,5,5,4,3,2
03266 };
03267 const int n2c3w1_h[] = {
03268 150,
03269 100,
03270
03271 100,99,98,98,98,94,93,91,91,89,87,87,87,86,86,86,85,85,84,83,
03272 83,81,81,80,78,77,77,76,76,75,75,73,73,70,69,69,65,63,63,63,62,
03273 62,62,60,59,58,57,57,55,54,53,52,51,51,50,49,49,48,47,47,44,44,
03274 42,38,37,37,32,32,32,30,30,29,28,27,27,25,25,25,23,23,23,22,22,
03275 21,20,19,17,15,14,13,13,10,9,8,6,5,4,3,2,1
03276 };
03277 const int n2c3w1_i[] = {
03278 150,
03279 100,
03280
03281 100,99,97,96,94,94,92,92,92,91,91,89,87,86,86,86,85,85,83,83,
03282 80,80,78,76,75,73,72,68,66,65,64,63,63,62,62,61,60,58,58,56,56,
03283 56,54,54,53,53,52,51,51,50,49,49,49,48,47,47,46,45,43,43,42,42,
03284 42,40,37,37,36,36,34,34,33,33,31,29,25,24,24,23,21,21,20,17,16,
03285 15,13,13,12,11,11,11,10,9,9,8,8,7,7,5,3,1
03286 };
03287 const int n2c3w1_j[] = {
03288 150,
03289 100,
03290
03291 99,99,98,97,97,95,95,92,91,90,90,89,88,87,86,86,86,85,83,83,83,
03292 82,80,78,78,77,76,76,75,75,74,72,70,69,67,62,61,61,59,59,59,58,
03293 58,56,56,55,52,52,52,51,51,49,47,47,46,44,43,42,42,39,37,37,36,
03294 31,31,31,28,27,25,25,25,23,21,19,18,17,16,16,16,16,15,14,14,14,
03295 14,13,13,10,10,9,7,7,6,6,5,4,2,2,1,1
03296 };
03297 const int n2c3w1_k[] = {
03298 150,
03299 100,
03300
03301 98,98,96,95,95,94,94,93,93,92,92,92,90,89,89,88,87,87,87,87,85,
03302 85,83,83,82,81,80,80,79,76,75,75,74,73,71,70,68,68,66,66,63,63,
03303 63,59,59,58,58,58,58,56,55,54,53,51,49,49,47,46,46,45,44,44,43,
03304 42,40,37,37,37,36,33,33,33,30,30,29,26,26,26,26,25,24,23,22,21,
03305 21,20,18,17,17,16,15,10,7,6,5,4,3,2,1,1
03306 };
03307 const int n2c3w1_l[] = {
03308 150,
03309 100,
03310
03311 100,99,99,97,97,96,95,95,95,93,93,90,89,89,86,85,82,81,79,79,
03312 78,77,77,76,76,76,74,74,74,73,71,71,70,70,69,67,66,66,65,65,61,
03313 61,61,60,59,59,58,57,54,52,48,48,47,47,46,46,46,46,44,44,42,42,
03314 41,41,39,39,39,39,36,35,34,31,31,26,26,26,24,22,21,21,19,18,17,
03315 17,16,16,15,15,14,14,13,12,10,7,7,7,3,3,2,2
03316 };
03317 const int n2c3w1_m[] = {
03318 150,
03319 100,
03320
03321 100,100,98,97,95,94,92,89,87,87,83,81,81,81,80,80,78,77,75,74,
03322 74,71,69,68,67,66,66,65,64,64,64,64,64,64,64,63,58,56,55,54,52,
03323 50,49,49,46,46,45,44,43,41,40,40,37,35,35,35,34,34,33,32,32,32,
03324 31,30,29,27,27,26,25,25,24,24,23,22,21,21,19,19,19,18,18,18,17,
03325 17,15,14,14,14,11,11,8,6,6,5,4,3,2,2,1,1
03326 };
03327 const int n2c3w1_n[] = {
03328 150,
03329 100,
03330
03331 98,98,96,94,94,91,89,88,88,87,87,87,86,85,85,84,84,82,81,81,80,
03332 80,79,79,78,76,75,72,72,70,69,69,68,67,66,65,64,63,58,57,54,54,
03333 53,53,53,53,50,49,47,44,44,43,43,42,42,40,38,38,37,36,34,33,33,
03334 30,30,30,29,26,25,25,23,23,20,20,19,19,16,16,15,15,15,15,13,12,
03335 12,11,10,10,9,9,7,6,6,4,4,3,2,2,1,1
03336 };
03337 const int n2c3w1_o[] = {
03338 150,
03339 100,
03340
03341 100,98,96,96,94,93,93,92,91,91,90,89,89,86,86,85,84,83,82,82,
03342 79,79,79,79,77,75,75,75,74,74,74,74,71,71,70,68,68,67,66,63,63,
03343 62,62,60,59,59,58,55,54,54,52,49,48,47,47,46,45,44,43,43,42,40,
03344 39,39,37,37,36,35,34,33,28,26,26,25,25,23,22,21,20,19,19,19,18,
03345 17,17,16,12,12,12,10,10,9,9,8,7,7,7,6,3,2
03346 };
03347 const int n2c3w1_p[] = {
03348 150,
03349 100,
03350
03351 100,97,96,94,94,93,92,92,91,90,90,87,86,86,86,84,84,82,81,80,
03352 77,76,76,76,75,74,74,73,73,72,72,71,71,70,70,70,69,68,68,67,66,
03353 66,65,64,63,62,62,60,59,59,59,59,57,52,52,50,49,48,47,46,44,42,
03354 41,38,36,36,34,33,30,28,27,25,25,24,22,20,20,17,16,16,15,15,15,
03355 13,13,12,11,11,10,10,10,10,9,8,8,6,5,5,4,3
03356 };
03357 const int n2c3w1_q[] = {
03358 150,
03359 100,
03360
03361 100,99,97,94,93,91,89,88,86,85,85,84,83,81,81,80,79,78,77,76,
03362 75,75,74,71,71,70,69,68,68,68,68,66,64,63,63,62,62,62,61,59,58,
03363 56,55,55,54,54,54,54,52,52,47,46,46,46,45,44,41,41,39,39,39,38,
03364 38,37,36,36,35,35,34,34,34,33,31,30,29,29,29,29,28,28,27,27,27,
03365 26,26,26,23,23,22,20,20,20,17,14,8,8,6,3,1,1
03366 };
03367 const int n2c3w1_r[] = {
03368 150,
03369 100,
03370
03371 100,98,95,95,94,92,92,92,90,88,88,87,87,87,86,86,83,83,82,82,
03372 81,80,77,76,75,75,75,74,73,70,70,68,66,66,66,65,64,64,60,59,58,
03373 56,55,52,52,52,52,52,51,49,49,48,46,44,42,42,41,41,41,40,40,39,
03374 38,36,36,35,34,34,34,31,31,30,27,27,27,24,24,22,21,20,15,15,15,
03375 14,14,12,12,11,10,9,7,6,6,5,4,4,3,3,2,1
03376 };
03377 const int n2c3w1_s[] = {
03378 150,
03379 100,
03380
03381 100,99,99,98,97,96,95,95,94,91,91,89,88,88,86,83,82,79,78,78,
03382 76,75,75,74,72,71,70,70,69,69,69,68,66,65,64,64,63,63,62,62,61,
03383 60,58,58,57,56,56,55,55,54,52,52,49,49,49,48,48,47,46,46,45,45,
03384 41,40,40,39,37,36,36,36,35,35,35,35,33,32,31,31,31,28,28,25,24,
03385 24,21,20,19,19,19,18,16,16,16,16,13,13,11,8,6,5
03386 };
03387 const int n2c3w1_t[] = {
03388 150,
03389 100,
03390
03391 100,99,98,96,95,95,95,91,90,90,90,89,88,85,85,83,81,80,80,80,
03392 79,79,78,77,77,77,76,76,75,74,74,73,73,71,68,67,66,65,64,63,62,
03393 58,56,56,55,53,51,51,51,50,49,46,44,44,43,43,42,42,42,40,39,38,
03394 37,37,37,36,36,36,34,34,34,33,32,31,30,30,29,27,26,26,25,22,19,
03395 18,17,16,16,15,14,12,12,10,9,7,6,5,4,4,3,1
03396 };
03397 const int n2c3w2_a[] = {
03398 150,
03399 100,
03400
03401 100,99,98,96,96,96,96,96,96,94,93,93,92,92,92,91,91,91,90,87,
03402 84,83,83,79,78,78,77,77,76,76,75,75,75,73,73,73,72,72,72,72,72,
03403 71,71,70,70,66,66,65,64,63,59,58,57,56,56,55,55,54,53,53,52,51,
03404 49,47,46,46,45,44,43,43,42,41,41,39,39,38,37,35,35,34,34,33,33,
03405 32,32,32,32,31,30,30,29,28,24,23,22,22,22,22,21,20
03406 };
03407 const int n2c3w2_b[] = {
03408 150,
03409 100,
03410
03411 99,97,96,96,96,95,95,95,95,94,94,93,92,92,92,91,91,91,90,89,89,
03412 89,88,88,88,87,86,86,85,85,84,83,82,81,81,77,77,76,76,75,73,73,
03413 73,72,72,72,72,70,69,67,66,65,65,64,62,61,60,58,57,56,55,53,52,
03414 52,52,48,48,46,45,43,42,39,39,38,38,38,38,37,36,35,34,34,32,31,
03415 30,30,28,27,27,27,25,24,24,24,23,23,22,22,22,21
03416 };
03417 const int n2c3w2_c[] = {
03418 150,
03419 100,
03420
03421 100,99,99,98,97,97,97,96,96,95,95,95,94,93,93,93,92,91,89,88,
03422 87,86,84,84,83,83,82,81,81,81,78,78,75,74,73,72,72,71,70,68,67,
03423 66,65,64,63,63,62,60,60,59,59,58,57,56,56,55,54,51,49,49,48,47,
03424 47,46,45,45,45,45,44,44,44,44,43,41,41,40,39,39,39,37,37,37,35,
03425 35,34,32,31,31,30,28,26,25,24,24,23,23,22,21,20,20
03426 };
03427 const int n2c3w2_d[] = {
03428 150,
03429 100,
03430
03431 100,100,100,99,99,98,97,96,95,95,95,94,94,91,91,90,90,88,86,84,
03432 83,83,79,78,77,74,74,72,72,70,69,69,69,69,68,68,68,67,67,67,66,
03433 66,65,64,63,63,63,63,63,62,62,61,60,60,59,59,59,59,57,55,55,55,
03434 53,53,52,52,51,50,49,48,47,47,45,44,44,43,43,42,42,41,41,38,37,
03435 36,36,36,36,34,34,29,29,28,27,25,24,23,23,22,22,20
03436 };
03437 const int n2c3w2_e[] = {
03438 150,
03439 100,
03440
03441 99,98,98,98,93,93,92,90,90,89,89,87,85,85,84,81,81,81,80,77,76,
03442 75,75,74,74,73,71,70,70,69,68,67,67,67,66,66,65,65,64,63,62,62,
03443 61,61,59,58,57,57,57,56,55,54,54,54,52,52,52,52,52,51,51,50,50,
03444 50,49,47,47,47,47,47,45,45,44,43,42,42,39,39,39,39,39,39,38,37,
03445 37,37,34,33,33,32,32,31,31,31,29,28,28,27,25,22
03446 };
03447 const int n2c3w2_f[] = {
03448 150,
03449 100,
03450
03451 100,99,99,98,98,97,97,96,95,94,92,92,92,90,86,86,85,85,83,83,
03452 74,74,73,73,73,72,71,71,71,70,70,70,70,69,69,67,67,66,66,66,66,
03453 65,65,63,63,62,61,57,56,56,56,55,54,54,53,53,53,51,49,47,47,47,
03454 46,46,45,44,44,44,42,41,40,40,37,37,35,35,35,35,33,32,32,32,32,
03455 31,31,30,28,28,27,27,27,26,24,23,22,21,21,21,21,20
03456 };
03457 const int n2c3w2_g[] = {
03458 150,
03459 100,
03460
03461 100,99,99,99,97,97,96,96,95,94,94,93,93,92,91,91,90,89,88,88,
03462 87,87,86,85,84,83,83,83,82,82,78,75,75,73,73,72,72,70,69,69,67,
03463 67,65,65,63,61,61,60,59,58,58,58,58,57,57,57,55,54,54,54,52,52,
03464 52,51,48,47,47,47,46,45,45,45,44,42,41,40,37,35,34,31,30,29,27,
03465 26,26,26,25,25,25,24,24,24,24,23,23,23,23,23,22,20
03466 };
03467 const int n2c3w2_h[] = {
03468 150,
03469 100,
03470
03471 99,98,98,98,96,92,92,91,89,87,86,86,85,85,82,81,81,80,80,77,77,
03472 76,76,75,74,74,74,73,71,71,69,69,68,68,66,66,65,64,63,63,63,62,
03473 61,59,59,57,56,55,54,54,53,53,53,51,50,50,49,49,49,48,48,47,47,
03474 46,44,44,44,43,42,41,36,36,36,36,36,35,33,33,32,32,32,32,30,30,
03475 30,30,29,28,28,28,25,25,25,24,24,22,22,22,20,20
03476 };
03477 const int n2c3w2_i[] = {
03478 150,
03479 100,
03480
03481 99,99,99,99,98,97,97,97,96,95,95,95,93,93,93,92,92,91,91,91,90,
03482 90,89,88,87,87,86,84,83,82,81,80,79,79,79,78,78,77,77,76,74,73,
03483 72,71,70,69,69,68,66,66,65,65,65,64,63,63,63,63,62,61,60,60,59,
03484 57,57,54,54,52,49,48,48,47,47,47,47,46,46,45,44,43,43,37,37,36,
03485 36,34,33,32,30,30,30,27,25,22,22,22,21,21,20,20
03486 };
03487 const int n2c3w2_j[] = {
03488 150,
03489 100,
03490
03491 100,100,99,99,99,98,97,97,96,96,96,95,94,94,94,93,93,93,91,90,
03492 89,87,87,86,85,84,83,83,82,81,80,80,80,79,79,78,78,78,78,77,76,
03493 75,74,72,72,72,71,70,70,69,67,66,66,63,62,60,60,57,56,56,56,56,
03494 53,52,52,50,50,48,48,45,44,44,44,44,43,40,38,38,38,37,37,37,36,
03495 36,35,33,32,30,30,28,28,27,27,26,26,25,24,23,22,22
03496 };
03497 const int n2c3w2_k[] = {
03498 150,
03499 100,
03500
03501 100,99,99,99,98,98,97,95,95,95,94,94,93,93,93,90,89,87,87,87,
03502 87,86,85,85,84,84,83,83,82,81,81,80,79,79,78,74,74,73,72,71,71,
03503 70,70,69,68,67,67,67,66,64,62,62,61,61,59,59,58,56,55,54,52,52,
03504 52,52,51,50,50,48,48,48,47,47,42,41,39,38,36,34,34,34,34,33,33,
03505 32,32,32,31,31,30,29,29,27,27,26,26,25,24,23,20,20
03506 };
03507 const int n2c3w2_l[] = {
03508 150,
03509 100,
03510
03511 100,100,98,98,96,95,95,93,93,93,92,92,91,91,91,90,90,89,87,87,
03512 85,85,84,84,82,82,81,80,78,78,75,74,72,72,71,70,69,68,67,66,65,
03513 65,65,65,64,63,63,63,61,61,61,61,61,61,60,60,59,58,57,57,57,56,
03514 54,54,53,53,53,52,49,48,47,47,47,45,43,43,42,40,40,40,40,38,36,
03515 36,34,32,32,29,28,27,27,27,25,23,23,23,22,22,22,21
03516 };
03517 const int n2c3w2_m[] = {
03518 150,
03519 100,
03520
03521 100,100,100,98,98,98,97,96,95,95,94,92,92,91,91,91,90,90,89,89,
03522 89,89,87,87,85,84,84,83,82,81,78,78,78,77,77,77,76,75,74,72,72,
03523 71,69,69,68,67,67,67,66,65,62,62,62,61,60,60,60,60,60,59,58,58,
03524 57,55,55,54,52,52,48,46,46,45,45,44,44,43,43,43,42,42,41,41,40,
03525 40,37,35,33,33,33,32,31,30,29,29,29,25,25,24,23,21
03526 };
03527 const int n2c3w2_n[] = {
03528 150,
03529 100,
03530
03531 100,100,98,96,94,94,93,92,92,92,91,91,90,89,89,87,87,85,85,81,
03532 81,81,80,79,79,78,78,78,78,78,77,77,76,76,76,76,75,75,75,74,73,
03533 72,72,69,68,67,66,66,65,64,63,62,61,58,56,56,55,55,54,54,51,49,
03534 49,49,48,47,47,46,44,44,44,43,43,40,39,38,38,38,38,37,37,36,35,
03535 35,34,32,32,32,31,30,27,27,25,25,24,23,23,22,21,20
03536 };
03537 const int n2c3w2_o[] = {
03538 150,
03539 100,
03540
03541 100,99,99,99,98,97,96,95,95,95,94,93,93,93,92,92,91,88,88,88,
03542 88,87,86,86,85,85,85,85,84,82,82,81,81,81,78,78,77,77,76,76,75,
03543 72,72,72,71,71,70,68,68,67,66,64,64,63,63,63,63,61,60,60,57,56,
03544 56,55,55,55,53,53,52,52,51,51,50,49,48,48,47,45,45,43,42,40,39,
03545 38,38,37,37,37,37,36,34,34,33,33,33,32,31,26,25,21
03546 };
03547 const int n2c3w2_p[] = {
03548 150,
03549 100,
03550
03551 100,100,100,100,99,99,98,98,97,96,96,94,94,94,92,91,90,88,87,
03552 86,85,84,83,82,82,82,81,80,79,75,74,73,72,72,72,72,71,69,68,68,
03553 67,65,65,65,65,65,64,62,60,60,59,59,58,57,57,57,56,55,54,54,53,
03554 52,52,49,49,47,45,45,45,43,42,41,41,40,39,39,36,35,34,34,34,33,
03555 31,31,31,30,30,30,29,28,27,26,26,24,23,22,21,20,20,20
03556 };
03557 const int n2c3w2_q[] = {
03558 150,
03559 100,
03560
03561 100,97,95,95,94,94,93,92,92,92,91,89,88,88,88,87,86,86,85,85,
03562 83,83,82,81,80,75,75,75,74,74,73,73,72,72,69,69,69,69,69,69,68,
03563 68,68,68,66,65,64,63,63,63,63,61,59,59,58,58,57,56,53,52,50,50,
03564 49,48,48,46,46,45,44,43,43,42,42,42,42,42,42,41,41,39,38,38,38,
03565 37,37,35,34,32,31,30,29,28,28,27,25,24,24,22,21,21
03566 };
03567 const int n2c3w2_r[] = {
03568 150,
03569 100,
03570
03571 100,98,98,97,97,96,96,96,96,92,91,91,87,86,84,83,82,82,81,81,
03572 81,81,80,79,79,79,78,78,78,76,76,76,76,76,75,73,73,71,71,70,69,
03573 69,66,66,65,63,62,61,60,58,57,57,57,55,52,51,49,46,46,46,46,46,
03574 46,45,45,45,44,43,43,43,42,42,42,41,40,40,37,37,37,35,35,34,34,
03575 33,32,32,27,27,26,26,25,24,23,22,22,22,21,20,20,20
03576 };
03577 const int n2c3w2_s[] = {
03578 150,
03579 100,
03580
03581 100,100,99,99,99,99,98,97,97,97,96,96,95,95,95,94,92,91,91,90,
03582 90,89,87,84,83,83,83,82,82,82,82,81,80,80,79,79,79,78,78,77,77,
03583 77,75,74,73,69,68,65,64,64,63,62,62,62,62,62,61,61,60,58,57,56,
03584 55,51,49,48,47,46,45,45,44,43,42,41,39,38,38,37,36,36,36,35,34,
03585 34,34,33,33,32,32,31,31,29,28,26,26,25,25,20,20,20
03586 };
03587 const int n2c3w2_t[] = {
03588 150,
03589 100,
03590
03591 100,100,99,97,95,95,94,93,93,92,91,90,89,89,88,88,86,86,85,84,
03592 84,82,82,82,81,81,80,80,79,79,77,77,76,74,74,74,73,72,71,70,69,
03593 69,69,67,67,66,66,65,64,64,63,63,62,61,61,61,61,60,59,59,59,58,
03594 57,57,57,57,56,55,54,54,54,51,50,50,50,49,48,47,46,46,45,44,42,
03595 41,40,40,40,39,38,35,34,29,27,26,25,25,23,23,22,20
03596 };
03597 const int n2c3w4_a[] = {
03598 150,
03599 100,
03600
03601 99,99,98,98,97,97,96,96,96,96,95,94,93,92,91,89,87,87,87,86,85,
03602 84,84,83,83,83,82,81,80,79,79,79,77,77,76,74,74,74,73,72,72,71,
03603 71,69,69,69,66,65,64,64,64,63,62,61,60,59,57,57,57,56,56,55,54,
03604 53,52,52,51,51,49,47,47,46,46,46,46,46,46,44,43,43,43,41,40,40,
03605 39,39,38,36,36,35,34,34,33,32,32,31,31,30,30,30
03606 };
03607 const int n2c3w4_b[] = {
03608 150,
03609 100,
03610
03611 100,99,99,98,98,97,95,95,95,94,94,94,94,93,93,92,91,90,90,90,
03612 90,89,89,88,86,85,85,84,83,83,82,81,81,80,79,79,77,76,76,73,72,
03613 71,71,71,69,69,68,67,67,63,61,61,61,60,60,59,58,57,57,57,57,56,
03614 56,56,56,56,55,53,53,53,51,51,49,48,48,47,47,47,47,46,46,45,45,
03615 44,44,43,43,42,42,39,38,38,37,36,35,33,32,31,30,30
03616 };
03617 const int n2c3w4_c[] = {
03618 150,
03619 100,
03620
03621 99,99,98,97,96,93,92,92,91,91,91,90,90,90,89,88,88,87,85,85,84,
03622 84,84,82,80,80,80,80,78,77,76,75,74,73,72,70,70,69,68,68,67,66,
03623 65,65,65,65,64,62,59,59,59,58,58,57,57,56,56,56,55,55,54,51,51,
03624 50,49,48,46,46,46,46,46,46,45,44,44,41,41,41,41,40,40,39,39,38,
03625 37,36,36,36,35,35,35,35,34,34,34,34,32,32,31,30
03626 };
03627 const int n2c3w4_d[] = {
03628 150,
03629 100,
03630
03631 100,100,99,99,99,99,98,98,98,97,97,97,94,94,93,93,92,90,89,88,
03632 87,86,85,83,83,82,81,80,79,78,77,76,75,73,73,73,73,72,72,71,71,
03633 71,70,68,67,66,65,64,64,64,64,63,62,62,62,61,57,56,55,55,54,53,
03634 53,53,53,52,52,52,51,51,49,49,48,48,45,45,45,45,44,44,43,42,41,
03635 41,40,40,38,35,34,34,34,34,33,33,32,32,32,30,30,30
03636 };
03637 const int n2c3w4_e[] = {
03638 150,
03639 100,
03640
03641 100,100,99,99,98,98,98,96,96,95,94,94,93,93,92,92,91,91,90,89,
03642 88,88,88,88,88,87,86,86,85,85,85,85,84,84,84,83,83,83,81,80,80,
03643 80,79,77,77,75,75,74,72,72,69,68,68,66,65,65,64,64,63,61,61,60,
03644 60,58,58,58,58,57,57,56,56,55,54,49,49,47,47,47,46,45,44,43,42,
03645 42,41,40,40,36,34,34,33,33,32,32,32,32,32,31,30,30
03646 };
03647 const int n2c3w4_f[] = {
03648 150,
03649 100,
03650
03651 100,100,99,98,97,96,94,93,92,91,90,89,89,87,87,85,85,85,84,84,
03652 84,83,83,83,83,83,81,81,80,80,79,79,79,78,78,77,76,75,74,74,74,
03653 73,73,71,71,71,71,70,69,69,68,68,68,66,66,65,64,63,63,63,62,61,
03654 59,58,58,57,56,56,56,56,55,52,50,49,47,46,46,45,45,43,43,43,42,
03655 42,41,41,38,37,37,36,36,35,35,34,34,34,33,31,31,30
03656 };
03657 const int n2c3w4_g[] = {
03658 150,
03659 100,
03660
03661 100,100,99,98,97,97,95,94,94,94,93,93,91,90,90,89,88,88,86,85,
03662 85,84,84,84,82,82,82,81,81,81,80,75,75,75,75,74,74,74,73,72,71,
03663 70,69,69,69,68,67,65,64,64,63,63,63,63,61,61,59,58,58,58,56,56,
03664 55,54,53,53,53,51,50,49,48,48,46,46,44,44,44,43,43,43,43,42,42,
03665 42,41,41,40,40,39,39,39,39,38,36,35,35,35,33,32,32
03666 };
03667 const int n2c3w4_h[] = {
03668 150,
03669 100,
03670
03671 100,97,97,97,95,95,95,94,94,94,94,93,93,93,92,92,90,89,86,85,
03672 83,82,82,81,79,78,77,76,75,74,74,74,74,74,73,73,72,71,71,71,70,
03673 69,68,66,66,65,64,64,64,63,63,62,62,62,61,61,61,59,59,59,58,58,
03674 57,57,55,54,52,50,49,48,47,46,46,45,45,44,44,44,42,42,41,41,40,
03675 39,39,39,37,37,36,36,36,35,35,35,32,32,32,31,30,30
03676 };
03677 const int n2c3w4_i[] = {
03678 150,
03679 100,
03680
03681 99,99,99,99,98,97,97,92,92,91,91,90,89,89,88,88,88,86,85,84,83,
03682 83,81,80,80,80,80,80,79,79,78,77,77,77,77,76,76,75,74,72,72,72,
03683 71,70,69,69,69,67,67,66,66,66,66,65,64,61,60,59,59,59,58,57,56,
03684 56,54,53,52,51,51,51,50,50,50,50,49,48,48,47,47,47,45,43,43,43,
03685 42,41,41,38,37,37,36,35,33,32,32,32,31,31,30,30
03686 };
03687 const int n2c3w4_j[] = {
03688 150,
03689 100,
03690
03691 100,100,100,99,99,99,99,98,98,96,96,95,95,93,92,92,91,91,90,88,
03692 85,84,84,82,81,80,80,76,75,74,73,73,72,71,71,70,69,69,68,67,65,
03693 65,65,64,64,64,64,63,62,61,61,61,60,57,57,56,56,54,52,52,51,51,
03694 51,50,48,48,48,47,46,46,46,45,45,45,44,44,44,43,43,43,42,42,41,
03695 41,41,41,39,39,38,37,36,36,36,34,34,33,33,32,32,31
03696 };
03697 const int n2c3w4_k[] = {
03698 150,
03699 100,
03700
03701 100,100,99,98,96,96,95,94,94,94,93,93,93,93,91,91,91,90,90,89,
03702 89,87,87,87,87,85,84,84,84,83,82,81,81,81,80,79,79,78,78,77,77,
03703 77,75,75,74,74,74,74,69,68,68,67,67,65,65,64,63,61,59,59,58,58,
03704 58,58,57,56,55,55,55,54,54,53,53,52,51,50,50,50,49,49,48,48,48,
03705 48,47,47,43,43,42,40,40,39,37,37,35,34,34,33,31,30
03706 };
03707 const int n2c3w4_l[] = {
03708 150,
03709 100,
03710
03711 99,97,96,95,94,93,92,92,92,91,90,88,88,88,86,86,86,86,85,85,85,
03712 85,85,83,83,83,82,81,81,80,79,78,76,76,75,75,74,74,74,74,74,73,
03713 73,72,71,70,70,70,69,68,67,66,65,65,64,64,63,61,61,60,59,58,58,
03714 58,57,57,57,56,56,56,55,54,54,53,53,53,53,50,48,48,48,46,46,46,
03715 46,45,43,43,42,41,40,39,37,35,35,34,34,31,31,30
03716 };
03717 const int n2c3w4_m[] = {
03718 150,
03719 100,
03720
03721 100,100,100,99,98,98,95,92,91,91,89,89,89,89,88,88,87,86,86,85,
03722 85,84,84,83,82,82,81,81,81,80,79,79,79,78,78,78,77,76,75,75,74,
03723 74,73,72,72,70,69,68,68,67,66,65,64,63,62,62,62,60,59,58,56,56,
03724 55,53,53,53,51,51,50,50,46,44,44,44,44,43,42,42,41,41,40,39,39,
03725 38,37,37,36,36,36,36,35,35,35,34,33,33,33,32,32,30
03726 };
03727 const int n2c3w4_n[] = {
03728 150,
03729 100,
03730
03731 100,99,99,97,96,95,95,94,94,94,93,87,86,85,85,85,85,85,85,85,
03732 84,84,83,83,82,81,81,80,80,80,80,80,80,79,79,78,77,77,76,76,75,
03733 75,75,74,72,70,69,68,68,67,67,65,64,64,64,63,62,60,59,59,59,58,
03734 58,58,57,57,56,56,54,54,52,51,51,48,48,48,47,47,47,46,45,44,44,
03735 42,41,41,39,38,38,37,36,36,36,35,34,33,33,33,32,31
03736 };
03737 const int n2c3w4_o[] = {
03738 150,
03739 100,
03740
03741 98,98,98,97,97,96,96,96,96,94,94,93,93,93,92,92,92,91,91,90,90,
03742 89,88,87,87,87,85,85,83,78,77,77,77,77,76,75,74,73,71,71,70,70,
03743 70,70,70,69,68,68,65,65,64,63,63,61,61,61,61,60,60,59,59,59,59,
03744 58,58,57,54,54,52,52,52,51,49,49,49,48,47,47,47,45,45,45,43,42,
03745 42,41,41,40,40,40,40,39,38,37,36,35,34,32,31,30
03746 };
03747 const int n2c3w4_p[] = {
03748 150,
03749 100,
03750
03751 100,99,99,98,96,96,96,95,94,92,91,90,90,89,89,88,88,88,88,86,
03752 86,85,85,85,84,83,83,83,83,82,82,81,80,80,79,79,77,77,77,75,75,
03753 74,72,71,70,70,70,69,69,69,68,68,67,65,64,64,62,62,61,59,59,57,
03754 57,54,54,54,54,53,53,52,50,50,49,48,48,48,46,43,42,42,42,39,39,
03755 38,38,37,37,37,36,36,35,34,34,34,34,33,32,32,30,30
03756 };
03757 const int n2c3w4_q[] = {
03758 150,
03759 100,
03760
03761 100,99,98,98,98,97,97,97,96,96,96,95,95,95,94,93,93,93,92,91,
03762 91,88,88,87,87,86,85,85,84,82,81,79,79,79,78,78,77,77,76,76,75,
03763 73,73,73,73,72,72,72,71,70,69,68,67,66,65,65,64,63,62,61,61,60,
03764 60,59,59,57,56,55,54,54,53,53,52,51,50,50,50,49,49,48,48,47,47,
03765 47,46,45,45,45,44,38,35,35,35,34,34,34,33,33,31,31
03766 };
03767 const int n2c3w4_r[] = {
03768 150,
03769 100,
03770
03771 100,98,98,98,98,98,97,97,96,95,95,93,92,90,89,87,86,86,84,84,
03772 84,84,80,80,80,79,79,78,77,74,73,73,72,72,72,71,71,71,70,69,69,
03773 69,68,67,66,65,64,64,63,63,62,60,57,57,57,55,55,55,54,53,53,52,
03774 52,52,51,51,50,49,47,46,46,45,44,44,44,43,43,43,42,41,41,41,41,
03775 40,40,39,39,39,39,38,38,37,36,35,35,34,32,31,30,30
03776 };
03777 const int n2c3w4_s[] = {
03778 150,
03779 100,
03780
03781 100,99,98,97,97,96,95,94,94,93,92,91,90,90,88,88,88,87,84,81,
03782 80,80,79,79,76,76,75,75,75,73,73,71,71,71,70,70,70,69,69,67,67,
03783 66,65,64,64,62,61,60,60,59,59,59,59,58,56,55,54,54,53,53,53,51,
03784 51,50,49,48,48,48,47,47,47,46,46,45,45,45,45,45,44,44,44,42,42,
03785 41,41,40,39,38,37,34,34,34,33,33,32,32,31,31,31,30
03786 };
03787 const int n2c3w4_t[] = {
03788 150,
03789 100,
03790
03791 100,100,99,99,97,97,95,95,95,94,94,93,93,93,92,91,91,91,91,91,
03792 89,89,86,86,85,85,84,82,81,81,79,79,78,76,75,74,74,74,74,73,73,
03793 71,70,70,69,69,67,67,67,66,66,66,66,65,65,64,64,63,63,62,61,61,
03794 61,60,60,58,57,54,54,53,53,53,52,52,51,50,48,48,47,46,46,46,45,
03795 44,42,40,39,39,39,37,36,35,34,33,33,33,32,32,30,30
03796 };
03797 const int n3c1w1_a[] = {
03798 100,
03799 200,
03800
03801 100,99,99,97,97,97,94,93,92,92,91,89,89,88,88,88,88,87,87,86,
03802 86,86,86,86,85,84,83,83,82,81,81,81,81,80,80,79,79,79,78,78,77,
03803 77,77,76,76,76,75,74,74,73,73,73,73,72,72,72,72,72,71,71,69,69,
03804 68,67,67,66,66,66,66,64,64,64,64,63,63,62,61,61,61,60,60,59,59,
03805 57,56,56,56,55,55,55,54,54,53,53,52,52,52,51,50,50,50,49,49,49,
03806 49,47,47,46,46,46,46,46,46,45,45,45,45,44,44,42,41,40,40,40,39,
03807 39,38,38,38,38,38,38,37,37,36,36,36,36,34,34,34,34,34,34,31,31,
03808 31,30,30,30,30,30,29,29,27,27,27,26,24,24,23,22,22,22,22,22,20,
03809 18,17,17,17,16,16,15,15,14,14,14,13,13,12,11,11,11,10,10,8,8,
03810 8,6,6,5,5,4,4,3,3,3,1,1
03811 };
03812 const int n3c1w1_b[] = {
03813 100,
03814 200,
03815
03816 100,100,100,100,100,99,99,99,98,98,98,95,93,93,92,92,92,92,91,
03817 90,90,89,89,89,89,88,88,88,88,87,86,86,86,86,86,85,85,85,84,84,
03818 84,83,83,81,81,80,79,77,77,77,75,75,75,75,74,74,74,74,73,73,73,
03819 72,71,71,71,71,70,70,70,70,70,69,68,68,68,68,68,67,67,67,66,65,
03820 65,65,64,64,63,63,63,62,61,61,60,60,59,59,59,58,58,57,57,57,56,
03821 53,53,53,52,52,52,52,51,50,49,49,48,48,48,47,46,45,44,44,44,44,
03822 42,42,41,40,40,40,39,39,39,38,38,38,37,37,36,36,36,36,34,34,33,
03823 33,33,33,33,33,32,32,32,32,31,30,29,28,27,27,26,26,26,25,24,23,
03824 21,21,20,20,17,16,16,15,14,14,14,13,13,13,13,13,12,12,11,11,10,
03825 9,9,7,7,7,7,6,5,5,4,4,3,3
03826 };
03827 const int n3c1w1_c[] = {
03828 100,
03829 200,
03830
03831 100,100,100,99,99,99,97,96,96,95,95,94,92,92,91,91,91,91,90,90,
03832 90,89,89,88,88,87,86,86,85,85,85,83,82,82,82,81,81,80,80,80,79,
03833 79,79,76,75,75,74,74,73,72,72,72,71,71,70,68,67,67,67,67,66,66,
03834 65,65,64,64,64,63,63,63,62,62,62,61,61,60,60,59,59,59,59,58,58,
03835 57,57,56,56,56,56,55,55,54,52,51,51,50,50,49,48,48,47,47,47,47,
03836 46,46,43,43,42,42,42,41,41,40,40,40,39,37,37,36,36,34,34,34,34,
03837 33,33,33,32,31,30,30,29,29,28,28,27,27,26,26,26,26,25,25,24,24,
03838 23,23,23,23,22,22,21,21,21,20,20,20,20,19,19,18,17,17,16,16,15,
03839 14,14,14,14,14,13,13,12,12,11,11,11,11,10,9,9,8,8,8,8,7,7,7,6,
03840 6,6,5,4,4,4,2,2,1
03841 };
03842 const int n3c1w1_d[] = {
03843 100,
03844 200,
03845
03846 100,99,99,99,98,97,97,97,96,96,95,95,95,94,94,93,93,93,93,93,
03847 92,92,91,90,89,89,89,88,87,87,87,87,87,87,87,86,85,84,84,83,82,
03848 80,80,80,80,79,79,78,78,77,76,76,74,74,74,74,73,73,71,70,69,69,
03849 68,68,68,68,68,68,67,67,66,66,66,65,64,63,63,62,62,62,61,61,61,
03850 60,60,60,60,59,59,58,57,57,57,57,55,55,54,54,53,53,53,51,51,51,
03851 50,49,49,48,48,48,48,47,46,46,46,45,45,45,43,43,43,42,42,42,42,
03852 42,41,41,40,39,38,37,37,37,37,37,36,36,35,35,35,35,34,34,34,32,
03853 31,31,30,29,29,28,28,26,26,26,25,24,24,24,23,22,21,21,21,20,20,
03854 20,19,19,19,19,19,19,17,14,13,12,12,11,10,10,10,9,9,8,8,8,8,7,
03855 6,6,5,5,5,4,3,2,2,2
03856 };
03857 const int n3c1w1_e[] = {
03858 100,
03859 200,
03860
03861 100,100,100,100,98,98,97,97,96,96,95,95,95,95,94,93,93,93,91,
03862 91,91,91,91,91,90,90,87,87,86,85,85,85,84,84,82,81,81,81,79,78,
03863 78,76,76,75,75,75,75,74,74,74,72,72,72,72,71,70,69,69,69,69,67,
03864 67,67,67,66,66,66,65,64,64,64,64,63,62,61,61,60,60,59,58,57,56,
03865 55,55,55,54,53,53,53,52,52,50,50,49,47,47,46,46,45,44,44,43,43,
03866 42,42,41,41,41,40,40,39,39,39,39,38,38,38,37,36,35,35,34,34,33,
03867 33,32,32,32,32,32,32,31,31,31,30,30,30,30,30,29,28,28,27,27,26,
03868 25,24,24,24,23,23,23,23,22,22,22,21,21,21,20,19,19,19,18,18,17,
03869 17,16,16,15,15,14,14,13,12,12,11,10,10,9,8,8,8,8,7,7,7,7,6,6,
03870 5,4,3,3,3,3,2,2,1,1
03871 };
03872 const int n3c1w1_f[] = {
03873 100,
03874 200,
03875
03876 100,100,99,99,99,98,98,98,97,97,97,97,96,96,95,94,94,94,94,94,
03877 94,93,93,93,93,93,92,91,90,90,90,90,89,87,86,86,86,85,85,85,85,
03878 85,84,83,83,83,82,82,81,81,80,80,78,77,76,76,76,75,75,74,74,74,
03879 74,74,73,72,71,71,70,70,70,69,69,68,68,68,67,67,67,67,66,66,65,
03880 64,63,63,62,61,61,61,60,60,60,60,60,60,59,59,58,58,58,57,57,56,
03881 56,54,54,53,53,50,50,49,49,49,48,48,48,46,46,46,45,44,42,41,40,
03882 40,37,37,37,36,36,34,33,32,32,31,30,29,28,28,27,27,27,26,25,25,
03883 25,24,24,23,23,23,23,23,23,23,22,22,21,21,20,20,20,19,18,17,16,
03884 16,15,15,14,14,14,13,12,12,12,11,10,10,10,10,9,8,8,8,8,7,7,7,
03885 7,6,5,5,5,5,4,3,2,1
03886 };
03887 const int n3c1w1_g[] = {
03888 100,
03889 200,
03890
03891 100,99,99,98,98,97,95,95,94,94,93,93,93,93,92,91,91,91,91,90,
03892 90,90,89,89,89,88,88,87,87,86,86,86,86,86,85,85,84,84,84,83,82,
03893 81,81,80,80,79,79,79,78,77,77,76,76,75,75,74,74,74,74,73,73,73,
03894 73,73,72,72,72,71,70,70,69,69,68,68,68,67,67,66,62,62,62,62,62,
03895 62,61,60,60,60,60,60,59,58,57,57,57,57,56,56,54,54,53,53,52,52,
03896 52,52,52,51,50,50,50,49,49,49,48,47,46,46,46,45,44,43,43,42,42,
03897 40,40,40,39,39,38,36,36,36,35,35,34,33,33,32,32,32,31,30,30,29,
03898 29,29,28,27,27,26,26,26,25,25,25,24,24,24,24,23,23,23,22,22,22,
03899 22,21,20,20,19,16,15,15,14,14,14,13,11,11,10,10,10,9,9,7,6,6,
03900 5,5,5,4,4,3,2,1,1,1,1
03901 };
03902 const int n3c1w1_h[] = {
03903 100,
03904 200,
03905
03906 100,100,99,99,97,97,97,97,97,97,96,96,96,96,95,95,95,95,94,93,
03907 93,93,92,92,91,90,89,89,88,88,88,87,87,87,86,86,85,85,84,84,83,
03908 83,82,81,80,80,80,79,79,79,78,77,77,77,77,76,75,75,74,74,73,72,
03909 71,71,71,71,71,71,71,69,69,69,68,65,65,63,63,62,62,62,62,61,61,
03910 60,60,59,58,58,58,56,56,56,54,53,53,52,51,51,51,50,49,49,48,48,
03911 48,47,46,46,46,46,46,46,43,43,42,41,40,39,39,38,37,37,36,36,36,
03912 35,34,34,33,33,32,32,32,32,32,32,32,30,30,29,29,28,27,27,27,27,
03913 26,26,26,26,25,25,24,24,23,22,21,21,21,21,20,19,19,18,17,17,17,
03914 16,16,16,15,15,15,14,14,13,12,11,11,10,9,9,7,6,6,6,6,6,4,4,4,
03915 4,4,3,2,1,1,1,1,1
03916 };
03917 const int n3c1w1_i[] = {
03918 100,
03919 200,
03920
03921 99,97,97,96,96,95,93,92,92,92,92,92,92,92,91,91,90,89,88,87,87,
03922 87,86,85,85,84,84,84,83,83,83,83,83,83,82,81,80,79,78,78,78,78,
03923 77,77,76,76,76,75,75,75,74,73,72,71,71,70,70,69,69,68,68,67,66,
03924 66,65,65,63,63,63,63,62,61,61,61,59,58,58,58,58,58,58,58,58,57,
03925 56,56,56,54,53,52,52,52,51,50,50,50,50,50,49,49,48,48,48,48,48,
03926 47,47,46,45,45,44,43,43,43,43,43,43,42,41,41,40,40,38,38,37,37,
03927 37,37,36,36,36,35,35,34,33,32,32,31,31,29,29,29,28,27,27,27,26,
03928 26,25,24,24,23,22,22,22,21,21,21,20,20,19,18,18,18,18,17,16,16,
03929 16,16,15,15,14,14,14,13,13,12,12,11,11,11,11,8,8,7,6,5,3,3,2,
03930 2,2,2,2,2,1,1,1,1
03931 };
03932 const int n3c1w1_j[] = {
03933 100,
03934 200,
03935
03936 100,100,99,98,97,97,97,97,97,96,96,95,95,93,93,93,92,92,91,91,
03937 89,88,88,88,88,88,86,86,85,85,85,84,83,83,83,82,81,80,79,79,78,
03938 78,77,77,75,74,74,74,73,73,72,72,72,71,71,71,70,70,70,70,69,69,
03939 67,67,66,66,65,65,65,64,64,64,63,63,63,62,62,62,61,60,60,59,59,
03940 59,59,59,58,58,57,57,57,56,56,55,55,55,55,54,54,52,52,52,51,51,
03941 51,50,50,50,49,49,49,49,48,47,47,47,45,44,44,44,43,43,43,43,43,
03942 41,41,41,40,40,39,39,39,39,38,37,37,37,36,36,36,35,35,34,33,33,
03943 31,31,30,29,28,28,28,27,27,25,25,24,23,23,23,22,22,21,21,21,19,
03944 19,19,17,17,17,17,16,16,15,14,14,14,14,13,13,12,11,10,10,10,9,
03945 9,9,8,7,6,6,4,4,3,3,3,2
03946 };
03947 const int n3c1w1_k[] = {
03948 100,
03949 200,
03950
03951 100,99,99,99,98,98,98,98,97,95,95,95,95,94,94,92,92,92,92,91,
03952 90,88,88,88,88,87,87,87,86,85,84,84,83,83,83,82,82,82,82,81,81,
03953 81,81,80,80,80,79,78,77,75,75,74,74,74,73,73,72,72,71,71,70,70,
03954 70,69,68,68,68,68,67,67,66,66,65,64,63,62,61,60,60,58,58,57,57,
03955 56,56,55,55,55,55,55,55,54,53,53,53,52,51,50,49,49,49,48,48,48,
03956 48,47,47,47,46,45,43,43,42,42,42,42,41,41,41,41,40,40,39,39,38,
03957 38,38,38,36,35,35,34,33,32,32,30,28,28,28,28,28,26,26,25,25,24,
03958 24,23,23,23,22,22,22,22,21,21,21,21,20,20,20,19,19,19,18,17,17,
03959 16,15,15,14,14,13,13,12,12,11,11,11,10,9,9,9,8,7,6,6,5,5,4,4,
03960 4,3,3,3,2,2,2,2,1
03961 };
03962 const int n3c1w1_l[] = {
03963 100,
03964 200,
03965
03966 100,100,99,99,99,99,97,96,96,94,94,94,93,93,93,93,92,92,92,89,
03967 88,87,87,85,84,84,84,84,83,83,83,83,82,80,80,79,79,78,76,75,75,
03968 75,74,73,73,73,73,73,72,72,72,71,71,70,70,70,70,70,69,69,69,68,
03969 67,67,66,66,64,63,63,63,62,62,61,61,59,59,59,59,58,58,57,56,56,
03970 55,55,54,53,52,52,51,51,50,50,50,50,50,50,48,48,48,48,47,47,47,
03971 46,46,46,46,45,44,43,41,41,39,39,38,37,37,37,36,36,35,35,35,34,
03972 34,33,33,33,32,32,31,31,31,31,30,30,30,29,29,28,28,25,25,25,25,
03973 24,24,24,23,23,23,23,22,21,20,20,20,20,19,18,18,18,16,16,16,15,
03974 14,14,14,14,13,12,11,11,11,11,11,10,10,9,9,9,8,8,8,7,7,7,6,4,
03975 4,3,3,2,2,2,1,1,1
03976 };
03977 const int n3c1w1_m[] = {
03978 100,
03979 200,
03980
03981 100,99,99,98,98,97,97,97,97,97,96,96,96,96,95,95,94,92,92,92,
03982 92,91,91,91,90,90,90,89,87,87,86,85,85,83,83,83,82,82,80,78,78,
03983 78,77,77,77,77,76,76,75,75,74,74,74,74,72,71,71,71,70,70,69,69,
03984 69,68,67,67,67,67,66,66,66,66,65,65,65,65,64,63,61,61,60,60,60,
03985 59,59,58,58,58,57,55,54,54,54,54,54,54,54,54,52,52,52,52,51,51,
03986 51,51,49,47,47,46,46,45,44,44,44,44,44,43,42,42,42,41,41,41,41,
03987 40,39,38,37,37,35,35,35,33,32,31,30,30,29,29,29,28,28,27,27,26,
03988 26,25,25,25,24,23,23,23,23,23,21,21,20,19,19,19,18,18,18,17,17,
03989 17,17,16,16,16,15,15,15,15,15,14,14,13,12,12,11,11,10,10,10,10,
03990 10,9,7,6,6,5,5,4,3,2,1,1
03991 };
03992 const int n3c1w1_n[] = {
03993 100,
03994 200,
03995
03996 100,100,99,99,99,98,98,97,96,95,95,93,93,93,91,90,90,88,88,87,
03997 84,82,82,81,81,81,81,81,81,80,80,79,79,78,78,77,77,77,77,76,75,
03998 75,74,73,73,72,71,71,71,70,70,70,69,67,66,66,66,66,66,65,65,65,
03999 64,64,63,59,59,59,59,58,58,56,56,54,54,53,53,53,51,51,51,51,50,
04000 49,48,48,48,48,47,47,47,47,46,46,46,46,46,46,46,46,46,46,45,44,
04001 44,44,43,41,41,40,40,40,39,39,39,38,36,36,35,34,34,34,33,33,33,
04002 32,32,32,32,31,31,31,30,30,29,28,28,27,27,27,26,25,25,24,24,23,
04003 23,22,22,22,22,21,21,21,20,19,19,18,16,16,16,15,15,15,15,15,15,
04004 14,13,13,13,12,12,12,12,11,10,10,10,9,9,9,8,8,8,8,7,7,7,7,7,5,
04005 5,4,3,3,3,2,2,2
04006 };
04007 const int n3c1w1_o[] = {
04008 100,
04009 200,
04010
04011 100,99,98,98,98,97,96,96,95,95,95,94,92,91,91,90,90,89,89,89,
04012 87,87,86,86,86,86,86,84,84,83,83,83,82,82,82,82,81,79,79,78,77,
04013 77,76,76,76,76,76,76,76,76,76,76,75,74,73,72,72,71,69,69,67,66,
04014 66,66,65,65,64,64,63,63,63,63,62,60,60,60,59,59,57,56,56,55,54,
04015 54,54,54,54,53,52,52,52,51,51,51,50,48,48,47,47,46,45,45,45,45,
04016 45,42,42,41,41,41,40,40,39,39,38,38,37,37,37,36,35,35,35,34,34,
04017 34,34,31,30,30,30,29,29,29,29,29,29,28,28,28,28,28,26,26,26,25,
04018 25,25,24,24,24,23,22,22,22,22,21,21,21,21,21,20,19,19,19,18,18,
04019 18,18,18,17,17,16,16,16,16,15,14,14,14,13,13,12,12,11,10,10,9,
04020 8,8,8,7,7,6,6,5,4,4,3,2
04021 };
04022 const int n3c1w1_p[] = {
04023 100,
04024 200,
04025
04026 100,100,100,100,100,99,98,98,98,97,97,97,97,96,96,95,92,92,92,
04027 92,91,91,91,91,90,89,89,87,87,87,86,86,86,86,86,85,85,85,84,84,
04028 84,83,83,83,82,82,82,81,81,81,79,78,77,77,76,75,75,75,75,75,72,
04029 72,72,72,72,72,72,71,71,71,71,70,70,70,69,68,65,64,64,64,63,63,
04030 62,62,61,60,60,59,59,59,59,59,58,58,57,57,57,57,56,56,55,53,53,
04031 52,52,51,51,50,48,48,48,47,46,46,46,44,44,43,43,42,42,41,41,38,
04032 38,37,37,37,37,36,35,35,34,33,33,33,32,32,31,30,30,30,29,29,28,
04033 28,28,28,27,26,25,25,25,24,24,23,23,23,22,22,22,21,21,21,21,21,
04034 20,19,18,18,17,16,16,16,16,16,16,15,15,14,14,13,13,13,13,12,12,
04035 11,9,9,8,8,7,7,6,4,2,2,2,2
04036 };
04037 const int n3c1w1_q[] = {
04038 100,
04039 200,
04040
04041 99,98,97,95,95,93,93,93,93,93,92,92,92,92,92,92,91,91,90,90,90,
04042 90,89,88,87,85,85,85,85,85,84,84,83,82,82,81,81,80,79,79,79,79,
04043 78,78,77,77,77,76,76,76,76,75,74,74,73,72,72,71,71,70,70,70,70,
04044 69,69,67,67,66,66,65,65,65,64,63,61,60,60,59,58,54,53,53,52,52,
04045 51,51,50,50,50,49,48,48,48,48,47,46,46,46,46,45,45,43,42,42,42,
04046 42,41,41,41,40,40,39,38,38,37,36,36,36,35,35,35,35,34,34,34,33,
04047 32,32,32,31,31,31,31,30,30,29,28,27,27,27,26,25,25,25,24,23,23,
04048 23,23,23,23,22,22,21,21,21,20,20,20,20,20,19,19,18,17,17,17,17,
04049 17,16,16,16,15,14,14,14,14,13,12,11,11,11,11,11,8,7,7,7,5,5,5,
04050 4,3,2,2,2,2,2,1,1
04051 };
04052 const int n3c1w1_r[] = {
04053 100,
04054 200,
04055
04056 100,100,99,99,98,98,98,97,97,96,96,95,95,94,94,94,92,92,91,90,
04057 90,89,89,87,86,86,85,84,84,84,83,82,82,81,80,80,79,79,79,78,78,
04058 78,77,77,77,77,77,77,76,76,75,75,75,74,74,73,73,72,72,71,67,67,
04059 67,67,66,65,65,65,64,64,63,62,61,61,60,60,59,59,59,58,58,58,58,
04060 58,58,57,57,56,56,56,55,54,54,53,52,52,50,50,50,49,47,46,45,45,
04061 45,44,43,43,41,41,41,40,40,40,40,39,39,38,38,38,38,38,37,36,35,
04062 35,35,34,33,33,32,30,30,30,30,28,28,27,27,27,26,26,26,25,25,25,
04063 24,24,24,24,23,22,21,21,20,20,19,19,19,19,19,18,16,16,16,16,15,
04064 15,14,14,14,14,14,12,11,11,11,10,10,10,9,8,8,8,7,7,6,6,6,6,6,
04065 5,5,3,2,2,1,1,1,1
04066 };
04067 const int n3c1w1_s[] = {
04068 100,
04069 200,
04070
04071 99,99,98,97,97,97,97,96,96,96,95,95,93,93,92,92,90,89,88,88,88,
04072 88,87,87,86,86,86,86,86,86,85,84,83,83,83,82,82,82,81,81,81,80,
04073 80,80,80,78,77,76,76,74,73,72,71,71,71,70,70,70,70,69,69,69,69,
04074 67,66,66,65,65,64,63,63,63,62,62,62,61,61,61,61,59,58,58,56,56,
04075 54,52,52,51,51,51,50,50,50,50,50,49,49,48,48,47,47,45,45,44,44,
04076 44,44,44,43,42,42,42,42,42,41,39,38,38,38,37,36,36,36,36,35,35,
04077 35,34,33,33,32,31,31,31,31,31,31,30,30,29,29,28,28,28,27,27,27,
04078 26,25,25,25,24,24,23,23,23,22,21,21,21,20,20,20,19,19,17,17,17,
04079 17,16,15,15,15,14,14,14,14,13,11,11,10,10,10,9,9,8,8,8,8,7,7,
04080 6,6,4,3,3,2,1,1,1
04081 };
04082 const int n3c1w1_t[] = {
04083 100,
04084 200,
04085
04086 100,100,100,99,99,98,97,96,96,96,96,95,94,94,93,92,92,92,91,91,
04087 91,90,90,89,88,87,87,87,87,87,86,86,86,85,84,83,83,83,83,82,82,
04088 81,81,81,81,80,80,79,79,79,78,78,78,78,78,76,76,76,76,76,76,75,
04089 74,74,74,73,73,72,71,69,69,69,67,66,65,64,63,63,63,62,61,61,60,
04090 59,57,57,56,56,56,55,55,54,54,54,54,54,53,53,52,52,51,50,48,48,
04091 48,48,47,46,46,45,45,45,43,42,40,40,40,39,39,39,39,38,38,37,37,
04092 37,36,35,34,32,31,31,30,30,29,28,27,27,26,25,24,24,24,24,24,22,
04093 22,21,21,21,21,20,19,19,18,18,18,18,18,17,16,16,16,15,15,14,14,
04094 13,13,12,12,12,12,11,11,11,11,10,9,9,8,7,6,6,6,6,6,6,5,5,5,4,
04095 4,3,3,3,3,2,1,1
04096 };
04097 const int n3c1w2_a[] = {
04098 100,
04099 200,
04100
04101 100,100,99,99,99,98,98,98,98,98,97,97,96,96,96,95,94,94,93,93,
04102 91,91,91,90,90,90,89,89,88,88,88,88,87,87,86,85,85,84,83,83,83,
04103 83,82,81,79,79,79,79,78,78,77,77,77,76,76,76,76,75,75,74,73,73,
04104 73,72,72,72,71,71,71,70,70,69,69,69,69,69,68,68,68,67,67,67,67,
04105 65,65,65,65,65,64,63,63,63,63,61,61,61,61,61,60,60,60,59,59,59,
04106 58,58,58,57,56,56,55,55,55,55,54,54,54,53,53,51,51,50,50,50,50,
04107 49,49,48,48,48,48,47,46,46,45,44,43,43,42,42,41,40,40,40,40,40,
04108 39,38,38,38,38,37,36,36,35,35,34,34,34,33,33,33,33,33,33,32,32,
04109 32,32,32,32,32,31,31,30,28,27,26,26,25,25,24,24,23,23,22,22,22,
04110 21,21,21,20,20,20,20,20,20,20,20,20
04111 };
04112 const int n3c1w2_b[] = {
04113 100,
04114 200,
04115
04116 99,99,99,97,96,95,94,93,93,93,93,93,91,91,91,90,89,89,89,89,88,
04117 88,87,87,85,85,84,84,84,84,82,81,81,81,80,80,79,78,78,77,77,76,
04118 76,76,76,75,75,74,74,74,74,74,74,73,73,73,72,72,72,72,72,71,71,
04119 70,69,69,69,69,68,68,68,67,67,67,67,67,67,67,66,66,66,65,65,65,
04120 64,64,64,63,63,62,61,61,60,59,59,58,58,58,58,58,58,58,57,57,57,
04121 57,56,56,55,55,54,54,54,54,54,53,53,53,53,53,52,52,52,51,51,50,
04122 49,48,48,48,47,47,46,46,46,45,45,44,43,43,42,41,40,40,38,38,38,
04123 38,38,37,36,36,36,36,36,36,36,36,35,35,35,34,34,33,33,33,33,32,
04124 32,32,32,31,31,31,30,30,29,29,28,28,27,27,27,26,26,25,25,23,22,
04125 21,21,21,21,21,21,21,20,20,20,20
04126 };
04127 const int n3c1w2_c[] = {
04128 100,
04129 200,
04130
04131 100,100,100,99,99,98,98,98,96,96,96,95,95,94,94,94,93,93,92,92,
04132 92,91,91,90,90,90,89,89,89,89,88,88,87,87,86,86,85,85,85,85,84,
04133 84,83,82,82,82,82,81,81,81,81,81,80,80,79,79,78,78,78,78,77,76,
04134 76,76,75,74,74,74,73,72,72,71,71,71,70,70,70,70,69,68,68,68,66,
04135 66,66,65,65,65,65,63,62,61,61,60,60,60,60,58,58,58,58,57,57,57,
04136 57,56,56,55,54,54,53,52,52,52,52,52,52,52,52,52,51,51,50,50,49,
04137 48,47,47,47,47,46,45,45,45,45,45,44,43,43,42,42,42,41,41,41,41,
04138 40,40,39,39,39,38,37,37,37,36,36,36,35,35,35,34,34,33,33,33,32,
04139 32,32,32,31,31,31,30,30,28,28,28,28,28,27,27,27,26,26,26,24,24,
04140 23,23,23,23,22,22,22,21,21,20,20,20
04141 };
04142 const int n3c1w2_d[] = {
04143 100,
04144 200,
04145
04146 100,100,100,99,98,98,98,97,97,97,97,96,96,96,96,95,95,95,94,94,
04147 94,94,93,93,92,92,92,91,91,91,91,90,90,89,87,87,86,86,85,84,84,
04148 83,83,82,81,81,81,80,80,79,79,79,79,79,79,78,78,78,78,77,77,77,
04149 77,77,76,76,76,76,75,75,75,74,74,73,73,73,73,73,72,72,72,71,71,
04150 71,70,70,70,69,69,69,69,69,68,67,67,67,66,65,65,65,65,64,63,63,
04151 63,63,62,62,62,61,61,61,60,59,59,59,59,59,58,57,57,57,57,57,56,
04152 56,55,54,54,53,53,53,53,53,52,52,52,51,50,48,48,47,47,47,47,46,
04153 46,44,44,44,43,43,42,41,41,41,41,40,40,39,38,37,36,36,36,36,35,
04154 34,34,33,33,32,31,31,31,30,30,29,29,28,28,28,27,27,27,27,26,25,
04155 25,24,24,23,23,22,22,22,22,21,21,20
04156 };
04157 const int n3c1w2_e[] = {
04158 100,
04159 200,
04160
04161 100,100,99,99,98,98,97,97,97,96,96,96,95,95,95,95,94,94,94,93,
04162 93,92,91,91,90,89,89,89,89,88,88,87,87,87,87,86,86,86,85,85,85,
04163 84,84,83,83,82,82,82,81,81,81,81,80,80,79,79,79,78,77,77,77,76,
04164 76,76,76,74,73,73,73,73,73,73,73,73,72,72,72,72,71,71,70,70,70,
04165 70,70,68,68,68,68,67,66,66,66,66,66,65,64,63,63,63,62,61,61,61,
04166 61,61,60,60,59,59,59,58,58,57,57,57,56,56,56,55,54,54,53,53,53,
04167 52,52,51,50,50,49,49,49,48,47,47,47,46,45,45,44,44,43,43,43,43,
04168 43,42,42,42,42,41,41,41,41,40,40,39,39,38,37,36,36,35,35,34,34,
04169 34,33,33,33,32,30,30,30,29,29,28,28,28,28,28,27,27,27,26,25,25,
04170 24,24,23,23,23,22,22,22,21,21,20,20
04171 };
04172 const int n3c1w2_f[] = {
04173 100,
04174 200,
04175
04176 100,99,98,98,98,98,97,97,97,96,96,96,95,94,94,93,93,92,91,91,
04177 90,90,90,90,89,88,88,88,87,87,86,86,85,85,84,84,83,82,81,81,80,
04178 79,79,79,78,78,78,78,78,78,78,78,77,77,77,77,76,76,75,75,74,74,
04179 74,73,73,73,72,71,71,70,70,69,69,69,68,68,67,65,65,65,65,65,65,
04180 64,64,63,63,62,62,62,62,62,61,61,61,61,60,59,59,58,58,58,57,57,
04181 56,56,56,56,54,54,54,52,52,52,52,52,50,50,50,49,49,47,47,47,46,
04182 46,46,45,45,45,45,45,44,44,44,43,43,43,43,42,42,42,42,41,41,40,
04183 39,39,38,38,37,37,37,37,37,37,36,36,35,35,35,35,35,34,34,34,33,
04184 33,33,33,32,32,32,31,31,31,30,30,30,28,28,27,26,23,22,22,22,22,
04185 22,21,21,21,21,20,20,20,20,20,20,20
04186 };
04187 const int n3c1w2_g[] = {
04188 100,
04189 200,
04190
04191 100,100,100,100,99,99,99,98,98,98,97,96,96,96,96,95,95,95,95,
04192 94,94,94,94,94,93,93,93,92,92,92,92,92,92,92,92,91,91,90,89,88,
04193 88,88,88,87,87,87,87,87,86,85,85,85,85,85,84,83,83,83,83,82,81,
04194 81,80,80,80,80,80,79,79,78,78,78,77,77,77,77,76,75,75,74,74,73,
04195 72,72,71,69,69,69,69,69,68,68,67,67,66,64,63,62,62,62,62,61,61,
04196 61,61,60,59,58,58,58,57,57,57,57,56,56,55,54,54,54,53,52,51,51,
04197 51,50,50,50,50,50,49,47,47,46,44,43,43,42,42,42,42,42,42,42,42,
04198 41,41,41,40,40,39,39,38,38,37,37,37,36,36,36,36,36,35,35,35,34,
04199 33,33,33,32,32,32,31,30,30,30,30,30,29,29,28,28,28,27,27,26,26,
04200 25,25,24,24,23,23,22,22,22,22,22,21,20
04201 };
04202 const int n3c1w2_h[] = {
04203 100,
04204 200,
04205
04206 100,100,99,99,99,99,99,98,97,97,96,96,96,96,95,95,94,94,94,94,
04207 93,93,93,91,91,91,91,91,90,90,90,90,90,90,90,89,89,89,89,89,88,
04208 88,88,87,86,86,86,85,85,85,84,84,84,84,83,83,83,81,81,80,80,80,
04209 80,80,79,79,78,78,77,77,76,76,75,75,75,74,73,73,72,71,71,70,70,
04210 70,70,69,68,68,67,67,67,65,65,65,64,64,62,62,62,62,61,61,60,60,
04211 59,59,58,58,58,57,57,57,57,56,56,55,55,55,54,54,52,51,50,50,49,
04212 48,48,48,48,47,47,46,45,45,43,43,43,42,42,41,41,41,40,40,40,40,
04213 39,39,38,38,38,37,37,36,35,35,35,35,34,34,34,34,33,33,32,32,32,
04214 31,31,30,30,30,30,28,28,28,27,27,27,26,26,26,26,25,25,25,25,25,
04215 25,24,24,24,24,24,23,22,20,20,20,20
04216 };
04217 const int n3c1w2_i[] = {
04218 100,
04219 200,
04220
04221 100,100,100,100,98,97,97,97,96,95,95,95,94,93,93,92,92,92,92,
04222 91,91,91,90,90,90,88,88,88,87,87,87,87,86,86,85,85,84,84,84,83,
04223 83,83,83,83,82,82,82,82,82,82,81,81,80,80,79,79,79,78,78,77,77,
04224 76,75,74,74,72,72,72,71,71,71,69,69,69,68,68,68,68,68,68,67,67,
04225 66,65,65,65,64,64,64,64,63,63,63,62,62,62,62,61,61,60,60,59,59,
04226 59,59,59,58,58,57,57,57,56,56,56,55,55,54,53,53,52,52,51,51,51,
04227 51,50,49,49,49,48,46,46,45,45,45,45,44,44,44,43,42,42,42,42,41,
04228 41,41,41,40,40,40,39,39,38,38,38,38,37,37,36,35,34,34,34,33,33,
04229 32,31,31,31,30,30,30,29,29,29,29,27,27,27,26,25,25,25,24,24,24,
04230 23,23,23,23,23,22,22,21,20,20,20,20,20
04231 };
04232 const int n3c1w2_j[] = {
04233 100,
04234 200,
04235
04236 100,100,100,100,99,99,98,98,98,97,97,97,96,96,96,95,95,94,94,
04237 93,93,93,93,93,93,92,92,91,89,88,88,88,88,88,87,87,87,87,87,87,
04238 86,85,85,85,84,83,83,82,82,82,81,80,80,80,80,80,79,79,79,78,77,
04239 77,76,76,76,76,76,75,75,75,75,74,73,73,73,72,71,71,71,71,70,69,
04240 69,68,68,68,68,67,65,65,65,62,62,60,60,60,60,60,59,59,59,59,59,
04241 58,58,58,58,58,57,56,55,55,54,54,53,53,53,53,52,50,50,49,49,49,
04242 48,48,48,47,47,46,46,46,45,45,45,43,43,43,42,42,42,41,41,41,41,
04243 40,40,40,40,39,39,37,37,37,37,37,36,36,36,35,34,33,33,32,32,32,
04244 30,30,30,30,29,29,29,29,29,28,27,27,26,26,25,25,25,25,24,24,24,
04245 24,24,23,23,23,22,22,21,21,21,20,20,20
04246 };
04247 const int n3c1w2_k[] = {
04248 100,
04249 200,
04250
04251 100,100,99,99,98,98,98,98,97,96,96,95,95,95,95,94,93,93,93,93,
04252 92,92,91,91,90,90,89,89,89,89,89,88,87,87,85,85,84,84,84,84,84,
04253 83,83,83,82,82,82,78,78,77,77,77,77,77,76,76,76,75,74,73,73,72,
04254 72,71,70,70,70,69,69,68,67,67,66,66,66,65,64,64,64,63,63,63,63,
04255 63,62,61,60,60,60,59,59,59,59,57,57,56,56,55,55,54,53,53,53,53,
04256 52,52,52,51,51,50,50,49,49,49,48,47,47,47,47,47,46,46,46,45,44,
04257 44,43,43,43,43,43,43,42,42,42,41,41,40,40,40,40,40,39,39,39,38,
04258 38,38,38,37,37,37,36,36,36,36,34,33,33,32,32,32,32,32,31,31,31,
04259 30,30,30,30,30,29,29,28,28,28,28,28,28,27,27,27,26,26,26,26,25,
04260 25,24,24,23,22,21,21,21,20,20,20,20
04261 };
04262 const int n3c1w2_l[] = {
04263 100,
04264 200,
04265
04266 100,100,99,99,99,98,98,98,98,97,97,97,97,97,96,96,95,95,94,94,
04267 94,94,93,92,92,92,92,92,92,92,91,91,90,90,90,90,89,89,89,88,88,
04268 88,87,87,86,86,86,86,85,85,85,84,84,84,83,83,82,81,80,80,79,79,
04269 78,77,77,77,76,76,76,76,75,75,74,74,74,74,73,73,72,72,71,71,71,
04270 71,70,70,70,69,69,68,68,68,67,67,67,66,66,66,66,65,64,64,63,63,
04271 63,62,61,60,60,60,60,59,59,59,59,58,58,58,57,57,56,55,55,54,54,
04272 54,52,52,52,51,51,51,51,50,49,49,48,48,47,47,47,47,47,46,46,45,
04273 45,45,44,44,44,43,43,43,42,42,41,41,40,39,39,39,39,37,37,37,37,
04274 36,36,36,35,35,34,33,33,33,33,33,32,31,31,30,27,27,26,25,24,24,
04275 24,24,23,23,23,23,23,22,21,21,20,20
04276 };
04277 const int n3c1w2_m[] = {
04278 100,
04279 200,
04280
04281 100,100,100,99,98,98,98,97,97,97,96,96,94,93,93,92,92,92,91,90,
04282 90,90,90,89,89,89,89,88,87,87,86,86,86,86,85,85,85,85,85,84,84,
04283 84,84,83,82,82,82,82,82,81,81,81,81,80,80,79,79,79,79,77,76,76,
04284 75,75,74,74,74,73,72,72,72,72,72,72,72,72,72,71,71,70,70,69,68,
04285 68,68,68,67,67,67,67,65,65,65,64,64,63,62,62,62,62,62,61,60,59,
04286 59,58,58,58,58,58,58,57,57,57,57,57,57,56,56,55,55,55,55,54,54,
04287 54,53,53,53,52,52,52,51,51,50,49,49,49,48,48,47,47,47,47,47,46,
04288 44,44,44,44,44,43,42,42,41,41,41,40,39,38,38,37,36,36,36,36,36,
04289 35,35,34,33,33,32,32,31,31,31,30,30,30,29,29,28,27,27,27,26,26,
04290 26,25,24,23,23,23,22,22,22,21,21,20
04291 };
04292 const int n3c1w2_n[] = {
04293 100,
04294 200,
04295
04296 100,100,100,100,99,99,99,99,98,98,98,96,96,95,95,94,94,94,93,
04297 93,93,93,93,92,91,91,91,91,90,90,90,89,89,89,89,89,88,87,87,87,
04298 86,86,86,85,85,84,84,82,82,81,81,80,80,80,80,79,78,77,77,77,77,
04299 77,76,76,75,75,75,73,73,73,72,71,71,70,70,70,70,69,69,68,68,68,
04300 68,68,67,67,67,67,66,66,66,65,65,65,64,63,63,63,62,62,62,61,60,
04301 60,59,59,59,58,58,58,58,58,57,57,55,55,55,55,55,55,54,54,54,54,
04302 53,52,52,52,52,52,51,51,50,50,50,50,50,49,49,49,49,49,48,48,48,
04303 48,46,45,45,45,44,44,44,43,43,42,42,41,41,41,39,39,39,39,38,37,
04304 37,37,37,36,36,36,36,35,34,34,34,34,34,34,33,33,33,32,31,31,30,
04305 30,29,28,27,26,25,25,24,24,22,21,21,20
04306 };
04307 const int n3c1w2_o[] = {
04308 100,
04309 200,
04310
04311 99,99,99,99,98,98,98,98,97,97,96,96,96,95,95,95,94,94,94,92,91,
04312 91,90,90,90,90,89,89,88,88,87,87,87,87,86,86,86,85,84,84,84,84,
04313 83,83,82,82,82,81,81,81,81,81,80,79,79,79,79,78,78,78,77,77,76,
04314 76,74,74,74,73,73,73,73,73,72,71,71,70,70,69,69,68,68,68,67,66,
04315 65,65,64,64,63,63,62,61,61,61,61,61,61,61,60,60,59,58,57,57,57,
04316 57,57,56,56,56,56,56,55,55,54,54,54,53,53,53,52,52,52,51,51,50,
04317 50,49,49,48,48,48,48,46,45,45,45,44,44,44,44,43,43,42,42,41,41,
04318 41,40,39,39,39,39,38,38,37,37,35,35,34,34,33,33,32,32,32,32,30,
04319 30,30,29,29,28,28,28,28,28,27,27,26,26,25,25,25,24,24,24,24,24,
04320 24,24,23,22,22,22,21,21,21,21,20
04321 };
04322 const int n3c1w2_p[] = {
04323 100,
04324 200,
04325
04326 100,100,99,99,98,97,97,97,96,96,95,95,95,95,94,94,94,93,93,92,
04327 92,92,92,91,90,90,90,90,89,89,88,88,88,88,87,87,85,84,83,83,83,
04328 82,82,82,82,81,81,81,81,79,79,79,78,78,78,78,77,77,77,77,76,76,
04329 75,73,73,72,71,70,70,70,70,70,70,69,69,69,67,67,66,66,66,66,65,
04330 65,65,65,63,63,63,63,62,62,61,61,61,61,61,60,60,59,59,59,58,58,
04331 56,55,55,55,54,53,52,52,52,51,50,49,49,49,49,48,48,48,48,48,47,
04332 47,47,46,46,46,45,45,45,45,45,45,45,44,44,44,43,43,43,43,43,42,
04333 42,41,41,41,41,41,40,40,39,38,38,37,37,36,36,36,35,34,33,33,33,
04334 32,32,32,31,31,30,30,30,29,29,27,27,27,26,26,26,25,24,23,23,22,
04335 22,22,22,22,21,21,21,21,21,20,20,20
04336 };
04337 const int n3c1w2_q[] = {
04338 100,
04339 200,
04340
04341 100,100,100,100,100,99,99,98,97,97,97,96,96,94,93,93,92,92,92,
04342 91,91,91,90,90,90,88,88,88,88,88,88,87,86,86,85,85,85,85,85,84,
04343 84,84,84,83,83,82,82,81,81,81,80,80,80,79,79,78,78,78,77,77,77,
04344 77,77,76,75,75,75,75,74,74,74,74,74,74,74,73,73,73,72,72,71,71,
04345 70,70,70,69,68,68,68,67,67,67,67,67,67,67,67,66,66,66,65,64,64,
04346 64,64,63,63,62,62,62,61,61,60,60,60,59,59,59,59,56,56,56,54,53,
04347 52,52,51,51,51,50,50,50,50,49,49,49,49,48,48,47,46,46,46,46,46,
04348 45,45,43,43,43,42,41,41,39,39,39,39,38,37,37,37,36,36,36,35,34,
04349 34,34,34,32,32,31,29,29,28,28,28,27,27,26,26,26,25,25,24,24,23,
04350 23,22,22,21,21,21,21,21,20,20,20,20,20
04351 };
04352 const int n3c1w2_r[] = {
04353 100,
04354 200,
04355
04356 100,100,100,100,100,100,100,100,99,99,99,99,99,98,98,97,97,97,
04357 95,95,95,95,95,94,94,93,93,92,92,92,91,90,90,89,89,89,89,89,88,
04358 88,88,88,88,88,85,85,85,85,84,84,83,83,82,82,82,82,81,81,80,80,
04359 78,78,76,75,75,74,73,72,72,70,70,69,69,67,67,66,66,65,65,65,64,
04360 64,63,62,62,61,61,60,60,60,60,60,57,57,57,56,56,56,56,55,55,54,
04361 54,54,54,53,52,52,51,51,51,50,50,50,50,49,49,49,48,48,48,48,48,
04362 48,48,48,46,46,45,45,44,44,43,43,43,42,41,41,40,40,40,40,40,39,
04363 39,39,39,39,39,38,38,37,36,36,35,35,34,34,34,33,33,33,33,32,32,
04364 31,31,31,31,31,30,30,30,29,29,29,28,28,28,28,26,25,25,25,24,24,
04365 24,23,23,23,23,22,22,22,21,20,20,20,20,20
04366 };
04367 const int n3c1w2_s[] = {
04368 100,
04369 200,
04370
04371 100,98,98,98,98,97,97,97,97,97,96,96,96,95,95,95,94,94,92,91,
04372 90,90,89,89,89,88,88,88,88,87,87,86,86,86,85,85,85,84,84,84,83,
04373 83,82,82,80,80,80,79,78,78,78,78,78,77,77,77,76,75,75,74,74,74,
04374 73,73,72,72,72,72,71,71,71,70,70,68,68,68,67,67,66,66,66,66,65,
04375 65,65,64,64,64,64,63,63,63,63,63,63,63,63,61,61,60,59,59,59,59,
04376 58,58,58,57,57,57,57,55,54,54,53,53,53,53,53,52,52,51,51,51,50,
04377 50,50,50,50,50,49,49,49,48,48,48,48,47,47,47,46,46,45,45,44,43,
04378 42,41,41,41,40,40,40,39,39,39,38,38,38,38,38,38,37,37,36,36,36,
04379 35,34,34,34,34,33,33,32,31,31,31,30,29,27,27,25,25,24,24,24,23,
04380 23,23,23,23,23,21,21,21,20,20,20,20
04381 };
04382 const int n3c1w2_t[] = {
04383 100,
04384 200,
04385
04386 100,99,99,99,98,98,98,98,98,97,96,96,96,95,95,95,94,93,93,92,
04387 92,91,91,90,90,90,89,88,88,87,87,87,87,86,86,85,85,85,85,84,84,
04388 84,84,84,83,83,83,83,82,81,80,80,80,79,78,78,78,78,77,76,76,75,
04389 74,74,74,73,72,72,72,71,71,71,71,71,68,68,67,67,67,67,66,66,65,
04390 65,65,65,63,63,63,63,63,63,63,63,62,62,62,61,61,61,60,60,60,60,
04391 59,59,59,59,58,58,58,57,57,56,56,56,56,55,55,54,54,54,53,53,53,
04392 52,52,52,52,51,51,51,51,51,50,50,50,49,49,48,48,48,48,47,47,46,
04393 46,46,46,45,44,44,43,42,42,42,42,42,42,42,41,40,39,38,37,37,36,
04394 36,36,35,35,34,33,33,33,33,33,32,32,31,30,29,28,28,28,27,27,26,
04395 25,25,24,23,23,23,23,22,21,21,20,20
04396 };
04397 const int n3c1w4_a[] = {
04398 100,
04399 200,
04400
04401 100,100,100,100,99,99,99,99,98,98,98,98,98,97,97,96,96,95,95,
04402 95,95,94,94,93,93,92,91,91,91,91,91,90,90,90,89,89,89,89,89,88,
04403 88,88,88,88,87,87,87,87,86,86,86,85,85,85,84,84,83,83,83,82,82,
04404 82,82,81,81,81,81,80,80,79,79,79,79,79,78,77,77,77,77,75,74,74,
04405 73,73,73,72,72,71,71,70,70,70,69,69,69,69,68,68,67,67,67,67,67,
04406 67,65,65,65,65,64,64,64,63,63,63,62,62,62,62,60,60,60,59,59,59,
04407 58,57,57,56,56,56,56,55,55,54,54,54,54,54,54,52,52,52,52,52,51,
04408 51,51,50,50,49,49,48,48,48,47,47,47,46,46,45,45,44,44,44,43,43,
04409 43,43,42,42,41,41,41,40,40,39,39,39,39,39,38,38,37,37,36,36,36,
04410 36,35,35,35,35,33,32,32,32,32,30,30,30
04411 };
04412 const int n3c1w4_b[] = {
04413 100,
04414 200,
04415
04416 100,100,99,99,98,98,97,97,97,96,96,96,95,95,95,93,93,93,93,93,
04417 92,92,92,92,91,91,91,90,90,89,89,88,87,87,87,87,86,86,85,85,85,
04418 85,84,84,84,84,83,83,83,83,83,83,82,80,80,80,79,79,79,78,78,78,
04419 78,78,78,77,76,76,76,75,75,75,75,75,73,73,73,72,72,72,71,71,70,
04420 70,70,70,70,70,69,69,68,68,68,68,68,67,67,66,66,66,66,65,65,65,
04421 64,64,64,63,62,61,61,61,60,60,60,59,59,58,58,58,58,58,58,57,57,
04422 57,57,57,56,55,55,55,55,54,54,54,54,54,53,53,53,52,52,52,52,51,
04423 51,50,49,49,49,49,48,48,47,46,46,46,45,44,44,42,42,42,42,41,41,
04424 41,40,40,40,40,39,39,39,39,38,38,38,37,37,37,37,37,36,36,36,36,
04425 35,35,34,34,33,33,32,32,31,31,30,30
04426 };
04427 const int n3c1w4_c[] = {
04428 100,
04429 200,
04430
04431 100,100,99,99,98,98,97,97,96,96,96,96,96,96,96,95,95,94,94,92,
04432 92,92,92,92,92,92,91,91,91,90,89,89,89,89,89,87,86,85,85,84,84,
04433 84,84,83,83,83,83,83,81,81,80,80,80,80,79,79,79,79,78,78,78,78,
04434 77,77,77,77,77,77,76,76,76,76,76,75,75,75,75,74,74,74,74,73,72,
04435 72,72,70,70,70,70,70,69,69,69,68,68,67,67,66,65,65,65,65,64,64,
04436 64,64,64,63,62,62,61,60,60,60,60,60,60,60,59,59,59,58,58,58,58,
04437 57,57,55,55,55,53,53,53,52,52,52,52,51,51,49,49,49,49,49,49,49,
04438 48,48,48,48,48,46,46,45,45,45,45,44,44,44,44,43,43,43,43,43,43,
04439 42,42,42,41,40,40,40,40,40,39,38,38,38,38,37,37,35,34,34,34,34,
04440 33,33,33,32,32,32,31,30,30,30,30,30
04441 };
04442 const int n3c1w4_d[] = {
04443 100,
04444 200,
04445
04446 99,99,98,98,98,98,97,97,96,96,95,94,94,94,94,93,93,93,92,92,92,
04447 92,92,92,92,92,91,91,91,91,90,90,89,89,88,88,87,87,87,87,87,87,
04448 86,86,85,85,85,84,84,83,83,83,83,83,83,82,82,82,82,82,81,81,81,
04449 81,80,79,78,78,77,77,77,76,76,75,75,75,74,74,74,74,73,73,73,73,
04450 73,73,72,72,71,70,70,70,70,70,69,69,69,68,68,68,67,67,66,66,66,
04451 66,66,65,64,63,63,63,63,62,62,62,61,60,60,60,60,59,59,59,59,58,
04452 57,56,56,56,55,55,55,55,55,53,53,53,52,52,52,51,51,51,50,50,49,
04453 49,49,49,48,48,48,48,47,47,46,46,46,46,46,44,43,43,43,42,42,41,
04454 41,41,41,40,40,40,39,39,39,39,38,38,38,38,38,37,36,36,35,35,34,
04455 34,34,33,33,33,32,32,32,31,31,30
04456 };
04457 const int n3c1w4_e[] = {
04458 100,
04459 200,
04460
04461 99,99,99,98,97,97,97,97,96,96,95,95,95,95,94,94,94,93,93,93,93,
04462 93,92,92,91,90,89,88,87,86,86,86,86,85,85,85,85,84,84,84,83,83,
04463 82,82,82,82,82,82,81,81,81,81,81,80,80,80,79,78,78,77,76,76,75,
04464 74,74,74,74,73,73,73,73,73,73,72,72,72,71,71,71,70,70,70,69,69,
04465 69,69,69,69,68,68,67,67,67,67,67,66,66,66,65,64,64,64,63,63,62,
04466 62,61,61,61,61,60,60,59,59,59,59,59,57,56,55,54,53,53,53,53,52,
04467 52,52,51,51,51,50,50,50,50,50,49,48,48,48,48,48,47,47,47,46,46,
04468 46,45,45,45,45,45,44,44,44,43,43,43,43,43,43,42,42,42,42,41,41,
04469 40,40,40,40,39,39,39,38,37,36,36,36,36,35,35,35,35,34,34,32,32,
04470 32,32,31,31,31,30,30,30,30,30,30
04471 };
04472 const int n3c1w4_f[] = {
04473 100,
04474 200,
04475
04476 100,100,100,99,99,98,98,98,97,97,96,96,96,96,96,95,94,94,94,93,
04477 93,93,91,91,91,90,90,90,90,90,89,89,89,89,89,88,88,88,88,87,87,
04478 87,87,86,86,86,86,85,84,83,83,83,83,82,82,82,82,81,81,81,81,81,
04479 80,80,79,79,77,76,76,76,76,76,75,74,74,74,73,73,72,72,72,71,70,
04480 69,68,68,68,68,68,67,67,67,66,66,66,65,64,64,64,63,63,62,62,62,
04481 61,60,60,59,59,59,58,58,58,58,57,56,56,55,55,55,54,54,54,53,53,
04482 53,52,52,51,51,50,50,50,50,50,50,49,49,49,49,48,48,47,47,46,45,
04483 45,45,45,45,44,44,43,43,42,42,42,42,41,41,40,40,40,40,40,40,38,
04484 38,38,38,38,37,37,37,37,36,36,36,35,35,35,35,34,34,34,33,33,33,
04485 33,32,32,32,32,31,31,31,31,31,30,30
04486 };
04487 const int n3c1w4_g[] = {
04488 100,
04489 200,
04490
04491 100,99,98,97,97,96,96,96,95,95,94,94,94,94,93,93,92,92,91,91,
04492 89,89,89,89,88,88,88,88,88,87,87,87,87,86,86,86,86,86,85,85,85,
04493 84,84,83,83,83,82,82,82,82,82,81,80,80,80,80,80,80,80,79,79,79,
04494 79,78,78,78,78,77,77,77,76,76,75,75,75,75,75,74,74,74,74,73,73,
04495 73,73,73,72,72,72,72,72,71,71,71,71,70,70,70,70,70,69,68,68,67,
04496 67,67,66,66,66,65,65,64,62,62,62,61,61,60,60,59,59,59,59,59,59,
04497 59,58,58,58,57,57,57,56,55,55,55,54,54,54,54,53,52,52,51,51,50,
04498 50,50,48,48,48,48,47,47,46,46,45,45,43,43,43,41,41,41,40,40,39,
04499 39,39,39,38,38,38,38,37,37,37,37,37,36,36,36,35,35,34,34,33,33,
04500 32,32,32,32,32,31,31,31,30,30,30,30
04501 };
04502 const int n3c1w4_h[] = {
04503 100,
04504 200,
04505
04506 100,100,99,99,99,98,98,98,98,97,97,97,97,97,96,96,95,94,94,93,
04507 93,93,91,91,91,90,90,89,89,89,89,88,88,88,87,87,86,86,86,86,85,
04508 85,85,84,84,84,83,83,81,81,81,81,81,80,80,80,80,79,78,78,78,77,
04509 77,76,76,76,76,76,75,75,74,74,73,73,73,72,72,72,72,72,71,71,70,
04510 70,70,69,69,69,68,68,66,66,66,66,66,65,65,65,64,64,63,63,63,63,
04511 62,62,62,62,61,61,61,60,60,59,59,59,58,58,57,57,57,56,55,54,54,
04512 54,54,52,52,51,51,51,50,50,50,50,50,49,49,49,48,48,48,48,48,47,
04513 47,47,47,46,46,46,45,45,45,44,44,44,43,43,42,41,41,40,39,39,38,
04514 38,37,37,37,37,37,37,37,36,36,35,34,34,34,34,34,34,33,33,33,33,
04515 33,32,32,31,31,31,31,31,31,30,30,30
04516 };
04517 const int n3c1w4_i[] = {
04518 100,
04519 200,
04520
04521 100,100,100,100,100,99,99,99,99,98,98,98,97,97,97,96,96,96,95,
04522 95,95,94,94,94,94,94,93,93,93,92,91,90,89,89,89,89,89,88,88,87,
04523 87,87,86,86,86,85,84,84,83,82,82,81,81,81,81,80,80,80,79,78,78,
04524 77,77,76,76,76,75,75,74,74,74,74,74,73,73,73,73,73,72,72,72,72,
04525 71,71,70,70,70,68,68,67,67,66,65,65,64,64,63,63,63,63,63,62,61,
04526 61,60,60,59,59,59,58,57,57,56,56,56,55,55,55,55,54,53,52,52,52,
04527 52,52,52,52,52,52,49,49,49,49,49,49,48,47,47,47,47,46,46,46,45,
04528 45,44,43,43,43,43,42,42,42,41,41,41,41,41,40,40,40,40,40,39,39,
04529 38,38,38,37,37,37,36,36,36,36,35,35,35,35,34,34,34,34,34,34,34,
04530 33,33,33,33,32,32,32,32,31,31,31,30,30
04531 };
04532 const int n3c1w4_j[] = {
04533 100,
04534 200,
04535
04536 100,100,99,99,98,98,98,97,97,97,96,96,96,96,96,95,94,94,93,93,
04537 93,92,92,92,92,92,91,91,91,90,90,89,89,89,89,88,88,87,87,86,86,
04538 85,85,85,85,84,84,84,84,83,83,82,82,82,82,82,82,82,81,80,79,79,
04539 79,78,78,78,77,76,76,75,75,75,74,73,73,73,72,72,72,72,71,71,70,
04540 70,69,69,69,69,69,68,67,66,66,66,66,66,66,65,65,65,65,64,64,64,
04541 63,63,62,62,61,61,60,60,60,59,59,59,59,58,58,58,58,58,58,58,57,
04542 56,56,56,56,53,53,53,52,52,52,52,51,51,51,50,50,50,49,48,48,48,
04543 48,47,47,47,46,46,46,46,44,44,44,44,43,43,42,42,42,41,40,40,40,
04544 40,40,39,39,38,38,38,38,38,37,37,37,36,35,34,34,34,34,34,34,34,
04545 33,33,32,32,32,32,31,31,31,30,30,30
04546 };
04547 const int n3c1w4_k[] = {
04548 100,
04549 200,
04550
04551 100,100,100,99,99,99,99,99,99,98,98,97,97,97,95,95,95,95,95,94,
04552 94,94,94,94,93,93,93,93,92,92,92,91,90,89,89,89,89,89,88,88,88,
04553 87,87,87,87,87,86,86,85,84,83,83,83,83,82,82,81,79,79,79,79,78,
04554 78,77,76,76,76,75,75,75,74,73,73,72,72,72,72,71,70,70,70,70,70,
04555 70,69,69,69,69,68,68,68,66,66,66,66,66,66,66,66,65,65,65,64,64,
04556 63,63,63,63,62,62,62,61,61,61,61,61,59,59,59,59,59,59,58,58,58,
04557 57,57,57,57,57,56,56,56,55,55,55,55,54,54,52,52,51,51,51,50,50,
04558 50,50,49,48,47,47,47,46,46,46,46,45,45,44,44,44,43,42,42,41,41,
04559 41,41,41,40,40,39,38,38,38,38,38,38,37,36,36,36,35,34,33,32,32,
04560 32,31,31,31,31,30,30,30,30,30,30,30
04561 };
04562 const int n3c1w4_l[] = {
04563 100,
04564 200,
04565
04566 100,100,100,100,99,99,99,98,98,98,98,98,97,96,96,96,96,96,95,
04567 95,95,95,94,94,94,93,93,92,92,92,92,91,90,90,89,88,88,88,88,87,
04568 87,86,86,86,85,83,83,83,82,82,82,81,81,80,80,80,80,80,80,80,80,
04569 79,79,78,78,77,77,76,75,75,75,75,75,75,74,74,74,73,73,72,72,72,
04570 71,71,71,71,71,69,69,68,68,67,67,66,66,66,66,66,65,65,65,65,65,
04571 64,64,63,62,62,62,62,62,62,62,62,61,61,60,60,60,59,59,59,59,58,
04572 58,58,57,57,57,57,57,56,56,56,56,56,56,55,55,54,54,53,52,51,50,
04573 50,49,49,49,49,48,48,48,47,46,45,44,44,44,44,44,43,43,43,43,42,
04574 42,41,41,40,40,40,39,39,39,39,38,38,37,37,37,37,37,37,36,36,35,
04575 35,34,34,34,34,33,32,32,31,31,31,30,30
04576 };
04577 const int n3c1w4_m[] = {
04578 100,
04579 200,
04580
04581 100,100,100,99,99,99,98,98,97,97,97,97,97,96,96,96,95,95,94,94,
04582 94,93,92,92,92,91,91,90,90,90,90,89,88,88,88,88,87,87,86,86,86,
04583 86,86,84,84,84,83,83,83,83,82,82,82,82,82,81,81,80,80,80,79,79,
04584 79,79,79,78,78,78,78,78,77,77,77,76,76,76,76,75,74,74,73,73,73,
04585 72,71,71,71,70,70,70,69,69,69,69,68,68,67,67,67,67,66,66,66,66,
04586 65,65,65,64,64,64,64,64,64,63,62,62,62,61,61,60,60,59,59,59,59,
04587 59,58,57,56,55,55,55,55,55,55,54,54,54,54,53,53,53,53,52,52,52,
04588 52,51,50,49,48,48,48,48,48,47,47,45,45,45,45,44,44,44,43,43,42,
04589 41,41,40,40,39,39,39,38,38,38,37,37,37,36,35,34,34,33,33,33,33,
04590 33,32,32,31,31,31,31,31,30,30,30,30
04591 };
04592 const int n3c1w4_n[] = {
04593 100,
04594 200,
04595
04596 100,99,99,98,98,98,98,98,98,97,97,97,96,95,94,93,93,93,93,92,
04597 92,92,92,92,91,91,91,90,87,87,87,85,85,85,84,84,84,83,83,82,82,
04598 82,82,81,81,81,81,80,80,80,80,79,79,78,78,78,78,76,76,76,75,75,
04599 74,73,72,72,72,72,72,71,71,71,71,70,70,70,69,69,69,68,68,68,68,
04600 68,68,68,68,67,67,67,65,64,63,63,63,63,63,63,63,62,62,62,61,60,
04601 60,60,60,60,60,59,59,59,59,58,58,58,57,57,56,56,56,56,55,55,55,
04602 55,54,54,54,54,54,54,53,53,53,53,53,52,52,52,52,51,51,51,51,51,
04603 51,50,49,49,49,49,47,47,46,46,46,45,45,45,45,44,44,43,43,43,42,
04604 42,41,40,40,39,39,39,39,38,38,37,37,37,37,37,37,35,34,34,33,32,
04605 32,32,32,31,31,31,31,31,30,30,30,30
04606 };
04607 const int n3c1w4_o[] = {
04608 100,
04609 200,
04610
04611 100,100,99,99,99,97,97,97,96,95,95,95,95,94,94,93,93,92,92,91,
04612 91,89,89,88,88,87,86,86,86,86,85,85,84,84,83,83,82,82,82,82,81,
04613 81,81,81,81,81,80,80,80,79,79,79,79,78,77,77,77,77,77,77,77,77,
04614 76,76,75,75,75,74,74,73,73,73,73,72,72,72,72,71,71,71,71,70,70,
04615 70,70,70,70,69,69,69,69,69,67,66,66,65,65,65,64,63,62,62,62,62,
04616 61,61,61,61,60,60,60,58,58,58,58,58,58,58,58,58,57,55,55,54,53,
04617 53,53,53,53,52,52,52,52,52,51,51,51,50,50,50,49,49,48,48,47,47,
04618 46,46,45,45,45,45,44,44,43,42,42,42,42,41,41,41,41,40,40,37,37,
04619 37,36,36,36,36,35,35,35,35,35,35,35,34,34,34,34,34,34,33,33,33,
04620 33,33,32,32,32,32,32,32,32,31,31,30
04621 };
04622 const int n3c1w4_p[] = {
04623 100,
04624 200,
04625
04626 100,100,100,100,100,100,100,99,99,99,99,99,98,98,97,96,96,95,
04627 95,94,94,94,93,92,92,92,92,92,92,91,90,89,89,89,89,88,88,88,88,
04628 87,87,87,86,86,85,84,83,82,82,82,81,81,81,81,79,79,79,78,78,78,
04629 77,77,77,77,77,76,76,76,76,75,75,75,75,74,74,74,74,74,73,73,73,
04630 71,71,71,71,71,71,71,69,69,68,67,66,66,66,65,64,64,64,63,63,63,
04631 63,63,63,62,62,62,62,61,60,60,60,60,59,59,59,59,59,58,58,58,57,
04632 56,56,56,56,56,54,53,53,53,52,52,52,51,51,51,51,51,50,49,49,49,
04633 48,47,47,47,47,46,46,46,45,45,44,44,43,43,42,42,42,41,41,41,41,
04634 41,40,40,40,39,39,39,38,37,36,36,36,36,35,35,35,35,34,34,34,34,
04635 33,33,33,33,33,32,32,32,32,31,31,30,30,30
04636 };
04637 const int n3c1w4_q[] = {
04638 100,
04639 200,
04640
04641 100,100,100,100,99,99,99,99,98,98,98,97,97,96,96,96,96,96,95,
04642 95,95,95,94,93,93,93,92,92,92,92,92,92,91,91,90,90,90,89,87,87,
04643 87,86,86,86,86,86,86,85,85,85,85,84,83,83,83,82,81,81,81,80,80,
04644 80,79,79,79,79,79,79,79,79,78,78,77,77,76,76,76,75,75,75,74,73,
04645 72,72,72,72,71,70,70,70,70,69,69,69,68,68,68,68,68,68,67,67,66,
04646 66,65,65,65,65,64,64,64,62,62,62,62,61,60,60,59,58,58,58,58,57,
04647 57,57,57,57,56,56,55,54,54,54,54,53,53,53,53,52,52,51,51,50,50,
04648 50,49,49,48,48,48,48,47,47,46,45,45,45,44,44,43,43,43,42,42,42,
04649 42,41,41,40,40,40,40,39,39,39,38,38,37,37,36,36,36,35,35,34,34,
04650 33,33,33,33,32,32,32,32,31,30,30,30,30
04651 };
04652 const int n3c1w4_r[] = {
04653 100,
04654 200,
04655
04656 100,100,100,99,98,97,97,97,96,96,96,96,96,96,96,96,95,95,93,93,
04657 93,93,92,92,92,91,91,91,91,90,90,90,90,89,88,88,87,87,87,86,85,
04658 85,84,84,83,83,82,82,82,81,81,81,80,80,80,80,80,79,79,78,78,77,
04659 77,77,76,75,74,74,73,73,73,73,72,72,71,71,70,70,69,69,69,69,68,
04660 68,68,68,68,67,67,67,67,67,66,66,65,65,65,64,63,63,63,62,60,60,
04661 60,60,59,59,59,59,59,58,58,58,58,58,57,57,57,57,57,57,57,57,56,
04662 56,56,55,55,55,55,54,54,54,54,53,53,52,51,51,51,51,51,50,50,50,
04663 49,48,47,46,46,46,46,45,45,44,44,44,43,43,43,42,42,42,41,41,41,
04664 41,41,40,40,40,40,39,39,38,38,38,38,37,37,37,37,36,36,35,35,35,
04665 35,34,33,33,33,32,32,31,31,31,30,30
04666 };
04667 const int n3c1w4_s[] = {
04668 100,
04669 200,
04670
04671 100,100,99,99,99,98,98,98,98,98,98,97,96,96,96,95,94,93,92,92,
04672 92,92,91,91,91,91,91,90,90,90,90,89,89,89,89,89,88,88,87,86,86,
04673 86,84,82,82,82,80,80,80,80,80,79,79,79,78,77,77,77,77,77,76,76,
04674 76,76,75,75,74,74,74,73,73,72,72,72,72,72,71,71,71,71,70,70,70,
04675 70,70,69,69,68,68,67,67,67,67,67,67,66,65,65,65,65,65,64,63,63,
04676 63,62,62,62,61,61,61,60,60,60,60,60,60,60,60,59,59,58,58,58,58,
04677 57,57,57,55,55,55,55,55,55,54,53,53,53,53,52,52,51,51,50,49,49,
04678 49,49,48,48,48,47,47,46,45,45,45,45,44,43,43,43,42,42,42,42,42,
04679 42,41,40,40,40,39,39,38,38,37,37,37,37,35,35,35,33,33,33,33,32,
04680 32,32,31,31,31,31,31,30,30,30,30,30
04681 };
04682 const int n3c1w4_t[] = {
04683 100,
04684 200,
04685
04686 98,98,98,98,97,97,97,96,96,95,95,95,95,95,94,94,93,93,93,92,92,
04687 91,91,91,91,91,90,90,90,90,90,89,89,88,88,88,88,88,87,86,86,86,
04688 86,86,85,85,84,84,83,82,82,81,80,80,80,80,80,80,79,79,79,79,79,
04689 78,78,78,77,77,77,77,76,76,76,76,75,75,74,74,74,74,73,72,72,71,
04690 71,71,71,71,71,70,69,69,69,69,69,69,68,68,68,67,67,67,67,67,66,
04691 66,65,65,65,65,65,64,63,62,61,61,61,60,60,59,58,58,57,57,57,56,
04692 56,56,56,55,55,54,54,54,53,53,53,52,52,52,51,51,51,50,49,49,48,
04693 48,48,47,47,46,45,45,45,45,44,44,44,43,43,43,43,43,43,43,42,42,
04694 42,41,41,40,40,40,39,39,38,38,36,35,34,34,34,33,33,33,33,33,32,
04695 32,32,31,31,31,31,30,30,30,30,30
04696 };
04697 const int n3c2w1_a[] = {
04698 120,
04699 200,
04700
04701 100,100,100,99,99,99,99,98,98,97,97,95,95,95,95,94,94,94,93,92,
04702 92,91,91,91,91,91,90,90,90,90,89,89,89,88,87,87,87,87,87,86,86,
04703 86,85,83,83,82,82,81,81,80,80,79,79,78,78,78,77,77,76,76,76,75,
04704 74,74,74,74,73,72,72,72,72,71,70,70,69,69,67,67,67,65,64,64,63,
04705 62,61,60,60,60,60,59,59,59,58,58,57,57,57,56,56,55,54,53,53,51,
04706 51,50,49,48,47,47,46,46,46,46,45,45,45,44,44,43,43,42,42,41,41,
04707 40,40,40,40,40,39,38,38,38,38,38,36,36,35,32,32,30,30,30,30,29,
04708 29,28,25,24,24,24,24,23,23,23,23,23,22,22,21,20,19,19,19,19,17,
04709 17,16,16,16,16,16,16,15,15,13,13,13,12,10,10,9,9,8,8,7,7,5,4,
04710 4,4,4,4,4,3,2,2,2,1
04711 };
04712 const int n3c2w1_b[] = {
04713 120,
04714 200,
04715
04716 100,100,100,100,100,99,98,97,96,96,96,95,95,94,93,93,93,92,90,
04717 90,90,89,89,89,88,87,87,87,86,83,82,81,81,80,80,80,79,79,79,78,
04718 77,77,77,77,76,76,76,75,73,72,72,72,72,71,70,68,68,68,68,67,66,
04719 66,66,66,66,65,65,65,63,63,63,62,61,60,60,60,60,58,58,57,57,56,
04720 56,56,56,55,55,55,55,55,53,52,51,51,50,50,50,50,49,49,48,48,48,
04721 48,47,47,46,46,45,45,45,45,43,43,42,41,40,40,40,40,40,39,39,39,
04722 39,39,38,38,37,36,35,35,34,34,34,33,33,31,30,30,30,27,27,25,25,
04723 24,24,23,23,23,23,22,22,21,21,20,19,19,19,19,19,18,18,17,17,17,
04724 16,16,15,15,15,14,14,14,13,13,12,12,12,12,12,10,9,9,9,9,9,9,9,
04725 8,7,5,5,4,4,3,2,1,1,1
04726 };
04727 const int n3c2w1_c[] = {
04728 120,
04729 200,
04730
04731 100,100,98,97,97,96,96,96,96,93,93,92,90,90,89,89,89,89,89,88,
04732 88,87,86,86,86,85,85,85,85,83,82,81,81,81,80,80,79,79,78,77,77,
04733 76,76,76,75,75,75,74,74,73,73,72,72,72,72,72,71,70,70,70,70,70,
04734 69,69,68,68,67,66,66,65,65,63,63,63,62,62,62,62,60,60,59,59,58,
04735 58,58,57,57,57,55,55,54,54,53,53,53,52,52,51,51,51,50,50,49,48,
04736 48,47,47,47,46,44,43,43,43,42,42,41,40,40,40,40,39,39,39,39,39,
04737 38,37,36,36,36,35,35,34,34,34,34,33,33,33,33,32,32,32,32,31,30,
04738 29,29,29,29,28,27,26,25,24,23,23,22,22,20,20,20,19,19,19,18,18,
04739 17,17,17,16,16,15,15,15,13,13,13,13,13,12,12,10,10,9,9,9,8,8,
04740 7,7,7,5,4,4,3,3,1,1,1
04741 };
04742 const int n3c2w1_d[] = {
04743 120,
04744 200,
04745
04746 100,100,100,99,99,98,98,98,97,96,95,95,95,94,94,93,93,93,93,92,
04747 92,92,91,90,90,89,89,88,87,86,86,85,85,84,84,84,83,83,83,83,81,
04748 79,78,78,77,77,76,76,75,75,75,75,75,74,74,74,74,74,73,73,73,72,
04749 71,71,70,69,69,68,68,66,65,65,65,65,65,64,64,63,61,61,61,61,60,
04750 60,60,60,60,59,59,58,58,57,57,56,55,54,53,53,52,51,51,51,50,49,
04751 48,47,46,46,45,44,44,43,41,41,39,39,38,38,38,37,37,37,36,36,35,
04752 35,35,34,34,34,34,34,33,32,32,32,31,29,28,28,28,27,27,26,25,25,
04753 23,23,23,23,23,22,22,22,22,21,20,18,18,17,17,17,16,16,15,15,14,
04754 13,13,12,12,12,11,11,11,11,11,10,8,8,8,8,8,6,6,6,6,6,5,5,4,4,
04755 3,3,2,2,1,1,1,1
04756 };
04757 const int n3c2w1_e[] = {
04758 120,
04759 200,
04760
04761 99,99,99,99,98,98,98,97,96,95,95,95,95,95,94,94,93,93,93,91,91,
04762 91,90,90,90,90,90,90,89,89,88,87,87,86,86,85,85,85,85,84,84,83,
04763 82,82,80,80,79,79,79,78,78,78,78,77,77,77,76,76,76,75,75,75,72,
04764 72,71,71,70,70,69,67,67,67,67,66,65,65,64,64,64,63,63,63,62,62,
04765 61,61,59,59,58,58,58,57,57,57,57,56,55,55,55,54,53,52,51,51,50,
04766 50,49,48,47,46,45,44,44,43,43,42,40,40,38,37,37,36,36,35,35,35,
04767 35,33,33,32,32,32,31,31,31,31,31,31,30,29,29,29,28,27,27,26,26,
04768 25,24,24,24,22,22,21,20,19,19,19,18,17,16,16,16,15,15,15,15,15,
04769 14,14,14,13,13,12,12,12,12,11,11,10,9,9,8,7,6,6,6,6,5,5,5,4,4,
04770 4,3,3,3,3,3,2
04771 };
04772 const int n3c2w1_f[] = {
04773 120,
04774 200,
04775
04776 100,100,100,100,100,99,98,98,98,98,97,96,95,95,95,94,93,93,93,
04777 92,92,91,90,90,90,89,89,89,88,88,88,87,87,87,86,84,83,83,83,83,
04778 83,82,82,80,80,79,79,79,78,75,75,75,75,74,74,73,72,72,72,72,70,
04779 69,69,69,69,68,67,67,67,66,66,64,64,64,63,63,63,62,62,62,61,61,
04780 61,61,61,61,61,60,59,59,59,59,59,59,57,57,57,56,55,55,54,54,54,
04781 53,53,53,52,51,51,50,50,50,49,49,48,47,47,46,45,45,45,42,42,42,
04782 40,39,37,36,36,35,35,34,34,34,34,34,32,32,32,30,30,29,28,27,27,
04783 27,25,25,25,24,24,24,24,24,23,22,22,22,22,21,20,19,19,18,17,17,
04784 16,15,15,15,14,12,12,12,11,11,11,10,10,10,10,9,9,9,9,8,8,8,7,
04785 6,6,5,5,4,2,2,2,1,1,1
04786 };
04787 const int n3c2w1_g[] = {
04788 120,
04789 200,
04790
04791 99,99,98,98,97,97,96,96,95,94,94,92,92,92,90,90,89,89,89,88,88,
04792 88,87,86,86,86,85,85,85,85,85,84,84,83,82,82,81,81,81,80,80,80,
04793 79,79,79,78,78,75,75,75,74,74,74,74,73,73,72,72,71,70,69,69,68,
04794 67,67,67,67,67,67,67,66,65,65,64,63,63,63,63,63,62,62,61,60,60,
04795 60,59,59,58,58,58,58,57,57,57,56,55,55,55,54,53,52,52,52,52,52,
04796 51,51,50,50,49,49,49,49,49,47,46,46,46,46,44,44,43,43,42,42,42,
04797 41,41,41,40,39,39,37,36,36,36,35,35,35,34,34,33,33,33,32,31,31,
04798 31,30,30,29,29,29,29,28,28,28,27,26,26,25,24,23,23,23,23,23,22,
04799 22,22,22,22,20,20,19,19,19,17,15,15,14,12,11,10,9,8,7,7,5,5,5,
04800 4,4,4,3,3,1,1,1,1
04801 };
04802 const int n3c2w1_h[] = {
04803 120,
04804 200,
04805
04806 100,100,100,100,99,99,98,98,97,97,96,96,95,94,94,94,93,93,93,
04807 92,92,90,90,90,89,89,87,87,86,85,85,85,85,85,85,84,84,83,82,82,
04808 82,81,81,80,79,79,77,77,77,77,75,74,74,73,72,72,71,71,71,70,70,
04809 70,69,69,68,67,67,66,66,66,64,63,62,62,62,62,62,62,60,59,59,59,
04810 59,59,58,58,57,57,57,56,56,56,55,55,54,54,53,53,52,52,52,52,51,
04811 51,50,50,50,50,50,49,48,48,48,48,47,47,46,46,44,44,43,43,43,42,
04812 42,41,41,41,40,40,38,38,37,36,36,35,35,33,32,32,31,31,31,30,30,
04813 28,28,28,27,25,25,24,24,24,24,24,21,20,20,19,19,18,18,17,17,17,
04814 17,17,16,16,16,15,14,14,14,14,13,13,12,12,12,11,11,9,9,9,8,6,
04815 6,6,5,4,4,3,3,2,1,1,1,1
04816 };
04817 const int n3c2w1_i[] = {
04818 120,
04819 200,
04820
04821 100,99,99,99,99,98,97,97,97,97,97,97,97,96,96,95,95,95,95,95,
04822 94,93,93,93,92,92,92,91,91,90,90,88,88,88,88,87,86,85,84,84,84,
04823 84,83,83,81,79,79,79,78,78,77,76,76,75,74,74,73,73,73,72,72,72,
04824 71,71,71,70,70,70,69,69,68,68,67,67,66,65,64,64,63,63,60,60,60,
04825 59,58,58,58,58,57,56,56,55,55,54,53,53,52,52,51,51,51,50,50,50,
04826 49,49,48,48,48,47,47,47,45,45,43,43,42,42,41,41,41,40,40,40,39,
04827 38,38,37,37,36,36,35,35,35,35,35,34,33,33,32,32,31,30,29,29,27,
04828 26,25,25,24,24,24,23,23,23,23,21,20,20,20,20,20,19,18,17,17,16,
04829 16,16,14,14,13,13,13,13,13,12,12,11,11,10,10,9,9,8,8,8,8,7,6,
04830 6,6,5,4,4,3,3,2,2,1
04831 };
04832 const int n3c2w1_j[] = {
04833 120,
04834 200,
04835
04836 100,100,100,100,99,99,99,98,98,97,95,95,95,94,93,92,92,92,92,
04837 91,91,88,87,87,86,86,85,84,84,84,83,83,82,82,82,81,81,81,80,80,
04838 79,78,78,77,76,76,76,75,74,74,74,73,72,70,69,68,68,67,67,67,67,
04839 67,67,66,66,66,65,65,65,65,65,65,64,64,64,63,63,63,62,61,60,59,
04840 59,59,58,58,58,57,57,57,56,56,56,56,55,55,54,54,54,53,53,52,52,
04841 51,50,50,50,49,49,49,48,47,47,46,46,45,45,45,44,44,44,43,43,43,
04842 41,41,41,39,38,37,36,36,36,36,36,36,35,35,35,34,33,33,32,31,31,
04843 30,30,29,29,29,29,29,28,28,26,26,26,26,26,25,25,25,24,23,23,21,
04844 20,20,20,20,20,19,19,19,18,18,17,16,15,15,15,13,12,11,10,9,9,
04845 9,8,7,7,7,5,4,3,3,2,2,1,1
04846 };
04847 const int n3c2w1_k[] = {
04848 120,
04849 200,
04850
04851 99,99,99,99,98,98,96,95,95,92,92,92,91,91,91,91,89,89,89,88,88,
04852 87,85,85,84,84,84,83,83,83,83,83,82,81,80,80,79,79,77,77,76,74,
04853 73,73,73,73,73,70,69,68,66,66,66,66,65,65,65,64,63,63,62,62,61,
04854 61,59,59,59,58,58,57,57,56,56,55,55,54,54,54,53,52,52,51,50,50,
04855 50,50,49,49,48,48,48,48,48,47,47,46,46,46,45,45,45,44,44,44,43,
04856 43,43,42,42,42,41,41,40,40,40,39,38,38,36,36,35,35,35,34,33,33,
04857 33,33,33,33,32,32,32,31,30,30,30,28,28,27,27,27,26,25,24,23,23,
04858 22,22,22,21,20,20,18,18,17,17,17,16,15,15,14,14,14,13,13,13,12,
04859 12,12,12,12,11,11,11,11,10,9,8,7,7,7,7,7,7,7,7,7,6,6,5,5,5,5,
04860 5,4,4,3,2,1
04861 };
04862 const int n3c2w1_l[] = {
04863 120,
04864 200,
04865
04866 100,100,99,99,99,99,99,97,96,96,96,95,95,95,94,94,94,94,93,93,
04867 93,93,93,92,92,92,92,91,91,88,88,88,87,87,86,85,85,85,83,83,82,
04868 82,82,81,81,80,80,79,79,78,78,77,77,77,77,76,74,74,74,73,71,70,
04869 69,68,67,67,67,67,66,66,66,66,66,65,65,65,65,64,64,64,64,64,64,
04870 63,63,62,61,61,60,60,60,59,58,57,56,56,56,56,55,55,55,54,54,54,
04871 53,53,52,52,52,51,50,49,48,48,47,47,45,45,44,44,44,44,43,43,43,
04872 43,42,41,41,40,40,40,40,40,40,40,38,37,37,37,35,35,33,33,33,31,
04873 31,30,30,28,27,25,25,25,24,24,24,23,22,22,20,20,19,19,19,18,18,
04874 18,18,17,16,15,14,14,13,13,12,11,11,11,10,10,10,8,8,7,7,7,6,5,
04875 5,5,5,5,3,2,2,2,1,1
04876 };
04877 const int n3c2w1_m[] = {
04878 120,
04879 200,
04880
04881 100,100,99,99,98,97,97,96,96,95,95,93,92,92,91,88,88,88,87,86,
04882 86,86,85,85,83,83,83,82,82,82,82,81,81,81,81,81,81,80,80,79,78,
04883 78,78,77,77,77,75,75,74,73,73,72,72,72,72,72,72,71,71,71,70,70,
04884 69,69,69,68,67,66,66,65,65,64,64,64,63,63,63,63,62,61,61,61,61,
04885 60,60,60,59,59,58,57,56,55,55,54,54,54,53,53,53,53,53,52,52,52,
04886 50,48,48,46,46,46,46,45,44,44,43,43,43,43,43,42,42,42,42,40,40,
04887 40,39,38,36,36,36,36,36,36,32,32,32,31,31,30,30,28,28,27,27,27,
04888 26,26,25,25,25,24,24,23,22,22,22,21,21,21,20,20,20,20,20,19,19,
04889 19,18,18,18,18,16,16,15,13,13,12,11,11,10,10,9,9,8,8,8,7,7,6,
04890 5,5,4,3,3,2,2,2,2,2
04891 };
04892 const int n3c2w1_n[] = {
04893 120,
04894 200,
04895
04896 100,100,100,98,98,97,97,97,96,96,95,94,94,94,94,93,93,93,92,91,
04897 91,91,91,89,89,89,89,88,88,88,87,86,86,86,85,84,84,84,83,83,82,
04898 81,81,80,80,80,80,79,79,79,79,78,77,77,77,76,76,75,75,75,75,75,
04899 74,74,73,72,72,72,71,71,70,70,69,69,69,68,67,67,66,66,64,64,64,
04900 63,62,62,62,61,60,60,60,60,60,59,58,58,57,56,56,54,54,53,53,52,
04901 52,52,52,51,49,49,49,49,49,47,47,47,46,46,46,45,45,44,44,42,41,
04902 41,41,40,40,39,38,38,37,36,36,36,33,32,31,31,30,30,30,30,29,28,
04903 27,26,26,23,22,21,21,21,21,21,20,20,20,20,19,18,18,18,16,16,15,
04904 13,13,12,12,11,10,10,10,10,9,9,9,8,8,7,7,7,6,6,5,5,4,4,3,3,3,
04905 3,2,2,2,1,1,1
04906 };
04907 const int n3c2w1_o[] = {
04908 120,
04909 200,
04910
04911 100,100,99,98,98,96,94,93,92,92,92,91,91,90,90,89,89,89,88,88,
04912 87,87,87,86,86,84,84,84,83,81,79,79,79,78,77,77,77,77,77,75,75,
04913 75,74,74,74,73,73,73,73,72,72,71,71,70,70,69,68,68,67,67,66,66,
04914 65,65,64,64,64,63,63,63,63,63,63,62,62,61,61,61,61,60,60,60,60,
04915 59,59,58,58,58,58,58,57,57,57,56,55,55,55,54,54,53,53,53,52,51,
04916 51,50,48,48,47,47,46,46,44,43,42,41,41,41,41,40,40,40,39,39,39,
04917 39,38,37,36,36,36,35,35,35,34,33,32,32,32,31,31,31,30,29,28,28,
04918 27,27,27,27,27,24,23,23,21,20,20,19,19,19,18,18,18,17,17,16,16,
04919 15,14,13,13,13,13,12,12,11,11,9,9,8,8,8,8,7,7,7,6,4,4,3,3,3,3,
04920 2,2,2,1,1,1,1
04921 };
04922 const int n3c2w1_p[] = {
04923 120,
04924 200,
04925
04926 99,99,97,97,97,97,97,96,96,96,96,96,96,94,94,94,93,92,92,89,89,
04927 89,88,88,87,87,86,85,85,85,84,84,84,83,83,83,83,83,83,82,81,81,
04928 81,80,80,80,79,79,79,78,78,77,76,76,75,74,73,72,71,71,71,71,69,
04929 69,68,68,68,68,67,67,66,66,66,65,65,65,65,65,64,64,64,63,63,60,
04930 60,58,58,58,58,57,57,57,56,56,56,55,54,54,53,53,53,53,52,52,50,
04931 50,49,49,47,46,45,45,45,44,44,43,42,42,41,41,41,41,40,40,40,40,
04932 40,40,39,39,38,38,38,37,37,37,37,36,36,35,34,34,34,34,34,33,33,
04933 32,32,31,31,31,30,30,29,28,27,27,27,26,25,25,24,23,22,22,21,21,
04934 21,21,20,19,19,19,18,17,17,17,16,15,13,13,13,10,10,9,9,9,9,9,
04935 9,8,7,6,6,5,4,3,2,1
04936 };
04937 const int n3c2w1_q[] = {
04938 120,
04939 200,
04940
04941 100,98,97,97,97,96,96,96,96,96,95,94,93,93,93,92,92,92,91,90,
04942 90,90,90,90,89,89,88,88,87,87,86,85,84,84,82,82,81,81,80,79,79,
04943 77,75,75,75,75,73,73,72,72,71,71,71,71,71,70,70,69,69,69,69,68,
04944 68,67,67,66,66,65,65,65,64,62,62,62,60,59,59,59,59,58,58,58,57,
04945 57,56,55,55,55,54,54,53,53,53,53,52,52,51,50,50,48,47,47,46,46,
04946 46,45,44,44,43,43,42,41,41,41,41,40,40,39,39,39,37,37,36,36,36,
04947 35,33,32,32,32,32,32,31,31,31,31,30,30,30,29,29,28,27,26,26,26,
04948 25,25,25,25,24,24,24,22,22,21,20,20,19,18,18,18,17,15,15,15,15,
04949 14,14,13,12,12,12,11,10,10,10,10,10,9,8,8,8,8,8,8,7,7,6,6,5,5,
04950 5,5,5,4,4,4,2,2
04951 };
04952 const int n3c2w1_r[] = {
04953 120,
04954 200,
04955
04956 99,99,99,99,99,98,98,97,96,95,95,93,92,91,91,90,90,90,89,89,89,
04957 86,84,84,84,83,82,82,80,80,79,79,78,78,77,77,77,76,76,76,76,74,
04958 74,74,72,72,71,71,71,71,70,70,70,69,69,69,68,67,66,66,65,65,64,
04959 64,64,64,63,63,62,62,62,61,61,60,60,60,59,59,58,58,58,57,56,56,
04960 55,54,53,53,52,52,52,52,52,51,51,51,50,50,50,49,49,47,47,46,46,
04961 45,44,44,44,44,43,43,42,42,42,42,41,41,41,41,40,40,40,40,40,39,
04962 39,39,39,37,36,35,35,34,34,33,33,33,32,32,32,32,31,30,30,29,29,
04963 28,27,27,26,26,26,26,25,25,25,24,24,24,23,23,23,22,21,21,21,19,
04964 18,18,18,17,17,16,16,15,14,14,14,13,12,11,11,10,9,7,7,7,7,7,7,
04965 6,5,4,4,3,2,2,1,1
04966 };
04967 const int n3c2w1_s[] = {
04968 120,
04969 200,
04970
04971 100,100,100,100,100,99,98,98,97,97,96,95,95,94,94,94,94,94,93,
04972 93,93,93,92,92,92,91,90,89,89,89,89,88,88,88,88,87,87,87,86,86,
04973 85,84,84,84,83,83,82,81,81,80,79,79,78,78,77,77,77,76,76,76,75,
04974 75,74,73,73,73,70,70,69,68,66,66,66,65,65,65,63,63,62,62,62,60,
04975 59,59,59,59,57,57,57,57,57,57,57,55,55,53,53,53,53,53,52,52,52,
04976 51,51,50,49,49,49,48,47,47,46,45,45,45,44,44,44,42,42,42,41,40,
04977 40,40,39,39,39,39,36,36,36,35,34,34,34,33,33,31,31,30,30,30,29,
04978 29,29,27,27,27,26,26,26,25,25,25,25,24,23,23,22,22,21,20,20,20,
04979 20,19,17,17,17,16,16,16,16,15,15,14,13,12,12,12,12,12,12,12,11,
04980 11,11,9,9,9,9,9,8,8,6,6,6,6
04981 };
04982 const int n3c2w1_t[] = {
04983 120,
04984 200,
04985
04986 100,100,100,99,99,98,97,97,96,96,96,95,94,94,92,92,91,91,90,90,
04987 89,89,89,88,88,88,87,87,87,87,85,85,85,84,84,84,84,84,83,82,82,
04988 82,82,80,79,79,79,78,78,78,77,76,76,75,71,71,69,69,69,68,68,68,
04989 68,67,67,66,66,66,66,65,65,65,64,63,63,61,58,58,58,57,57,56,55,
04990 55,55,54,54,54,53,53,52,51,50,50,49,49,49,48,47,46,46,46,45,44,
04991 44,44,44,44,44,44,43,43,43,42,42,42,41,41,40,40,39,39,39,39,38,
04992 38,38,37,35,35,35,33,32,32,31,31,30,30,29,29,28,28,27,27,26,26,
04993 25,25,24,24,23,23,22,22,22,22,22,21,21,20,20,20,19,19,18,16,16,
04994 15,15,14,14,14,13,13,13,12,12,12,12,12,11,11,10,10,10,9,8,8,7,
04995 7,6,6,3,3,2,2,1,1,1,1
04996 };
04997 const int n3c2w2_a[] = {
04998 120,
04999 200,
05000
05001 100,100,99,99,99,99,98,98,98,98,97,97,96,96,96,95,95,95,94,94,
05002 94,94,93,92,92,91,91,90,90,89,88,88,88,87,87,87,86,86,86,85,85,
05003 84,84,83,83,83,82,82,81,81,81,81,80,80,78,78,78,78,78,77,77,76,
05004 76,76,76,75,75,75,75,74,74,74,73,73,72,71,70,70,69,69,68,68,68,
05005 68,67,67,67,67,66,66,66,66,65,65,65,65,65,64,64,63,63,62,61,61,
05006 61,60,59,58,58,58,57,57,57,57,56,55,55,55,55,54,54,54,53,52,51,
05007 51,51,50,50,50,49,49,49,48,48,47,47,47,47,47,46,46,46,45,44,44,
05008 44,43,42,42,42,42,41,41,41,40,40,39,38,38,37,37,35,35,35,34,34,
05009 34,34,33,32,32,32,31,31,31,31,30,30,29,29,28,28,27,27,27,27,26,
05010 26,25,25,25,23,22,22,21,21,20,20,20
05011 };
05012 const int n3c2w2_b[] = {
05013 120,
05014 200,
05015
05016 100,100,100,100,100,99,99,99,98,98,98,97,97,97,97,96,94,94,93,
05017 93,91,91,91,91,91,90,90,90,89,88,88,87,87,87,86,86,85,85,85,84,
05018 84,83,82,82,82,81,81,80,79,79,79,79,79,79,79,78,77,77,77,77,77,
05019 76,75,75,73,73,72,72,72,72,72,70,70,70,69,69,68,68,68,67,67,67,
05020 67,66,66,65,65,65,64,64,64,64,63,63,63,62,62,61,61,61,61,61,61,
05021 60,60,60,59,58,57,57,57,56,56,55,55,54,53,53,53,52,52,51,51,50,
05022 50,49,48,47,47,46,45,45,45,45,44,43,43,43,42,42,42,42,42,40,39,
05023 38,37,37,36,36,36,36,35,34,34,33,33,33,33,32,32,32,32,31,30,30,
05024 30,30,30,29,29,29,29,29,28,28,27,27,27,27,26,26,26,25,25,25,25,
05025 24,24,24,23,22,22,22,22,21,20,20,20,20
05026 };
05027 const int n3c2w2_c[] = {
05028 120,
05029 200,
05030
05031 100,100,100,100,98,98,97,97,97,97,96,95,95,94,94,93,93,93,92,
05032 92,92,92,91,90,90,90,90,89,89,89,89,89,88,88,88,87,87,86,86,86,
05033 85,85,84,84,83,83,83,82,81,81,80,80,79,79,78,78,78,78,78,78,77,
05034 76,76,76,76,75,75,75,75,74,73,73,72,71,69,69,69,68,68,68,68,67,
05035 66,66,66,66,65,65,65,64,64,64,63,63,63,62,62,62,61,61,60,59,58,
05036 58,57,56,55,55,55,54,54,52,51,51,51,50,50,50,49,49,49,49,48,48,
05037 48,48,47,47,47,47,47,46,46,46,46,45,45,44,44,44,43,43,43,42,42,
05038 41,41,41,41,40,40,40,40,40,40,39,39,38,38,38,38,38,37,37,36,36,
05039 36,35,35,34,34,33,33,33,33,33,32,30,29,27,27,27,26,26,25,25,25,
05040 25,25,25,24,22,22,21,21,21,21,21,20,20
05041 };
05042 const int n3c2w2_d[] = {
05043 120,
05044 200,
05045
05046 100,100,100,98,97,96,96,96,96,96,95,95,95,94,94,94,93,93,93,93,
05047 93,92,92,92,92,91,91,91,90,90,89,89,89,88,88,88,87,86,85,85,85,
05048 84,84,84,84,84,83,83,83,83,83,83,82,82,82,81,81,81,80,79,78,78,
05049 78,77,77,76,76,75,75,75,75,75,75,74,74,73,72,72,72,70,70,70,70,
05050 69,68,68,68,68,68,67,66,66,65,65,65,64,64,63,61,61,60,60,60,60,
05051 59,59,59,58,58,57,57,57,56,55,55,55,54,54,53,52,52,52,51,51,51,
05052 51,50,50,50,50,49,49,49,49,47,47,47,47,45,45,45,43,43,42,41,41,
05053 41,41,40,40,40,40,39,39,38,38,38,38,38,37,37,37,37,37,36,36,36,
05054 36,36,35,35,34,34,34,34,33,33,33,33,32,32,31,30,29,29,28,28,27,
05055 26,25,24,24,24,23,23,22,22,21,20,20
05056 };
05057 const int n3c2w2_e[] = {
05058 120,
05059 200,
05060
05061 100,100,100,100,100,99,99,99,99,98,98,98,98,98,97,97,97,97,96,
05062 96,96,96,96,95,95,95,94,94,94,93,92,92,92,92,91,91,91,91,90,90,
05063 90,90,89,89,89,89,88,88,87,87,87,87,87,87,86,86,86,85,85,84,83,
05064 83,82,82,81,81,81,80,80,80,79,79,79,78,78,77,77,76,76,75,75,74,
05065 74,74,74,73,72,69,69,69,67,67,66,66,66,66,65,65,64,64,63,63,62,
05066 62,62,62,62,62,61,60,59,58,58,58,57,57,56,55,55,55,55,54,53,53,
05067 53,53,53,53,53,53,52,52,52,52,51,50,49,49,49,49,49,48,48,47,47,
05068 47,46,46,46,46,45,45,44,44,43,42,41,40,40,40,40,40,40,39,38,38,
05069 38,38,37,37,36,36,34,34,34,32,32,32,31,30,30,29,28,27,26,26,26,
05070 25,25,25,25,25,24,24,23,23,22,21,20,20
05071 };
05072 const int n3c2w2_f[] = {
05073 120,
05074 200,
05075
05076 100,100,100,100,100,99,99,98,98,98,97,97,97,96,96,95,95,95,95,
05077 94,94,94,94,92,92,92,92,92,92,91,91,91,90,90,90,90,90,90,89,88,
05078 87,86,86,86,86,85,84,84,84,84,84,84,84,83,82,82,82,82,82,81,80,
05079 80,80,80,79,78,78,77,77,76,76,76,75,75,75,75,74,74,74,73,73,72,
05080 72,71,70,70,69,68,67,67,67,67,66,64,63,63,63,62,62,61,60,59,59,
05081 59,59,57,57,57,56,54,54,54,54,53,53,53,53,53,51,51,51,51,50,50,
05082 49,48,48,48,48,48,47,47,46,46,45,45,44,44,44,43,43,43,43,42,42,
05083 41,40,39,38,38,38,38,38,38,38,38,37,37,36,35,35,35,35,34,34,33,
05084 32,32,31,31,30,30,30,30,30,30,29,29,29,28,28,28,27,27,27,27,26,
05085 26,26,24,23,23,22,22,22,21,21,21,20,20
05086 };
05087 const int n3c2w2_g[] = {
05088 120,
05089 200,
05090
05091 100,100,100,100,100,99,98,98,98,98,98,97,96,96,95,95,92,92,92,
05092 92,92,92,91,91,91,91,90,90,89,89,89,89,89,88,88,88,87,87,85,84,
05093 84,83,83,83,82,82,82,81,81,81,81,80,79,79,79,79,78,78,77,77,77,
05094 77,76,76,76,76,75,75,75,74,74,74,74,73,73,70,69,69,68,67,66,66,
05095 66,64,64,64,64,63,63,63,63,63,62,62,61,61,61,61,60,60,59,59,57,
05096 57,57,57,57,57,56,55,54,54,53,53,53,53,52,52,52,51,50,50,50,50,
05097 49,48,48,48,47,46,46,46,45,45,45,45,44,44,43,42,41,41,40,40,39,
05098 39,39,39,38,38,38,37,37,37,37,36,36,36,36,35,35,35,35,34,34,33,
05099 33,33,31,31,30,30,30,29,29,29,29,29,27,27,27,26,25,25,24,24,24,
05100 24,23,23,23,22,21,21,21,21,21,21,21,20
05101 };
05102 const int n3c2w2_h[] = {
05103 120,
05104 200,
05105
05106 100,99,98,98,98,97,97,97,97,97,96,96,96,96,96,95,95,95,95,95,
05107 95,94,94,94,93,93,93,93,92,92,92,91,91,91,90,90,89,89,89,88,88,
05108 88,87,86,86,85,85,85,85,84,84,83,83,83,82,82,82,81,81,80,80,80,
05109 80,79,79,79,79,78,78,78,77,77,77,76,76,75,75,75,74,74,74,73,72,
05110 72,72,72,72,71,71,71,71,69,69,69,69,68,68,68,66,66,66,65,65,64,
05111 64,64,63,63,62,61,61,61,61,61,61,60,60,59,59,59,59,58,58,57,56,
05112 56,56,56,55,55,55,54,54,53,52,52,51,51,51,51,51,50,50,49,48,45,
05113 45,44,44,44,43,43,42,42,42,42,41,39,38,38,38,37,37,37,37,36,36,
05114 35,35,34,34,33,33,33,32,32,31,30,30,30,30,29,28,28,28,28,27,27,
05115 26,26,25,25,25,25,24,24,23,22,22,20
05116 };
05117 const int n3c2w2_i[] = {
05118 120,
05119 200,
05120
05121 100,100,99,99,99,98,98,97,97,97,96,96,95,95,95,93,93,92,92,92,
05122 92,91,91,91,90,89,89,89,89,88,88,88,88,87,87,87,87,87,86,86,86,
05123 86,86,85,85,85,84,84,84,84,84,83,83,82,81,80,80,79,78,77,77,76,
05124 76,76,75,74,74,74,73,73,73,72,72,71,70,69,68,66,66,66,66,65,65,
05125 65,65,64,64,63,63,62,61,61,61,60,59,59,59,59,58,58,58,57,57,57,
05126 56,55,55,55,55,55,54,54,54,53,52,52,52,52,52,51,51,50,50,50,50,
05127 49,49,49,49,48,47,47,46,46,45,45,45,44,43,43,42,42,42,41,41,41,
05128 40,39,38,38,37,37,36,36,36,35,34,34,33,33,33,33,32,32,31,31,31,
05129 30,30,29,29,29,29,28,28,28,28,28,27,27,27,26,25,25,25,25,24,24,
05130 24,24,23,23,22,22,21,21,21,21,20,20
05131 };
05132 const int n3c2w2_j[] = {
05133 120,
05134 200,
05135
05136 100,100,100,99,97,97,96,96,96,96,95,94,94,94,94,93,92,91,91,91,
05137 90,90,90,90,90,90,89,89,89,89,88,88,87,87,87,87,86,86,85,84,84,
05138 83,83,83,83,83,82,82,82,82,82,81,81,81,80,80,79,78,78,78,76,76,
05139 76,75,75,75,75,74,74,74,74,73,73,73,72,72,71,71,71,70,69,69,68,
05140 68,68,67,67,66,66,66,65,65,65,64,64,63,63,63,62,62,61,60,60,60,
05141 60,58,58,58,58,58,58,57,57,57,57,57,55,54,54,53,52,52,52,52,52,
05142 52,51,51,51,50,50,49,49,48,47,47,47,46,46,46,46,45,45,44,43,43,
05143 43,43,42,42,42,42,42,41,41,41,40,40,40,39,39,39,38,38,38,38,37,
05144 37,37,36,36,36,36,35,35,34,34,33,31,30,30,29,29,28,28,28,28,25,
05145 25,24,24,22,22,21,21,21,20,20,20,20
05146 };
05147 const int n3c2w2_k[] = {
05148 120,
05149 200,
05150
05151 100,99,99,99,99,98,96,96,96,95,95,95,94,94,94,94,93,93,93,93,
05152 93,92,92,91,91,91,90,90,89,89,89,89,89,88,87,87,87,86,85,85,85,
05153 84,84,84,83,83,82,82,81,81,81,80,80,79,79,79,79,78,77,77,76,76,
05154 75,75,75,74,74,74,73,73,73,72,72,72,72,72,71,71,71,71,71,71,70,
05155 69,69,68,67,67,67,67,67,67,66,66,65,65,64,64,64,64,63,63,63,62,
05156 62,61,61,61,61,60,59,59,58,57,57,57,57,56,56,56,55,54,54,54,54,
05157 53,52,51,51,50,49,49,49,48,47,47,47,47,46,46,46,45,45,45,45,45,
05158 44,43,42,42,42,41,41,41,41,40,40,39,38,38,37,36,36,36,36,35,35,
05159 34,33,33,33,33,32,32,32,31,31,31,31,30,30,28,28,28,28,27,27,26,
05160 26,26,25,23,22,22,21,21,21,21,20,20
05161 };
05162 const int n3c2w2_l[] = {
05163 120,
05164 200,
05165
05166 100,100,99,99,99,98,97,97,97,97,96,96,95,95,95,94,94,94,94,94,
05167 94,93,93,92,92,92,92,92,91,91,90,89,89,88,88,87,87,86,86,85,85,
05168 85,84,84,84,84,81,81,80,80,80,80,79,78,78,77,77,77,77,77,76,76,
05169 75,75,74,73,73,73,72,72,71,71,70,69,69,69,69,69,68,68,68,67,67,
05170 67,66,66,66,66,66,66,65,65,65,64,64,63,63,63,63,62,62,61,61,61,
05171 60,60,59,58,58,57,57,57,56,56,56,55,55,55,55,54,54,53,53,52,51,
05172 51,51,51,51,51,50,49,49,49,48,48,47,47,46,45,45,44,44,44,44,43,
05173 43,43,42,42,40,40,40,40,39,39,38,38,37,37,36,36,36,34,34,34,33,
05174 32,32,31,31,30,30,29,28,28,28,28,28,27,27,27,27,27,26,26,25,25,
05175 25,24,24,23,22,22,21,21,21,20,20,20
05176 };
05177 const int n3c2w2_m[] = {
05178 120,
05179 200,
05180
05181 99,99,99,98,98,98,97,97,97,97,97,96,96,95,95,95,95,95,94,94,94,
05182 93,92,92,92,91,90,90,90,89,89,89,89,89,88,87,87,86,86,85,85,85,
05183 85,84,84,84,84,84,83,83,83,83,82,82,82,81,81,81,80,80,80,78,77,
05184 77,76,76,75,75,74,74,73,72,71,71,70,70,70,70,70,69,68,68,68,68,
05185 67,67,66,66,66,66,66,65,65,64,64,63,62,62,62,61,61,61,61,60,60,
05186 59,59,59,59,58,58,58,57,57,57,57,57,56,56,55,55,54,54,53,53,53,
05187 52,52,52,51,51,50,50,50,50,50,49,49,48,48,47,47,47,47,47,46,45,
05188 45,44,43,43,43,43,42,42,40,39,39,39,39,39,38,38,37,37,37,36,36,
05189 36,35,35,34,33,33,33,33,32,32,32,32,31,31,30,29,27,27,26,24,24,
05190 24,22,22,22,22,22,22,22,21,21,20
05191 };
05192 const int n3c2w2_n[] = {
05193 120,
05194 200,
05195
05196 100,100,100,99,99,98,98,98,97,97,97,97,96,96,96,96,95,95,95,95,
05197 95,94,94,94,94,92,92,92,90,90,90,89,88,88,87,87,87,86,86,84,83,
05198 83,82,81,81,81,81,81,80,80,79,79,78,78,78,77,77,77,77,77,77,76,
05199 76,76,75,75,75,74,74,73,73,73,72,72,72,71,71,71,70,70,69,68,68,
05200 67,67,66,66,65,64,63,63,63,63,63,62,62,62,62,61,61,60,60,59,59,
05201 59,58,58,58,58,57,57,57,57,57,55,55,55,54,54,54,53,53,53,52,52,
05202 50,50,49,48,48,48,47,47,46,46,46,46,44,44,44,43,43,43,42,42,42,
05203 41,41,41,41,41,41,41,40,40,38,38,37,37,37,37,36,36,36,36,36,35,
05204 35,35,34,34,34,33,33,33,32,32,31,30,30,29,29,28,28,28,27,27,27,
05205 26,26,26,26,26,25,25,23,23,22,22,20
05206 };
05207 const int n3c2w2_o[] = {
05208 120,
05209 200,
05210
05211 100,100,99,99,98,98,97,97,96,96,96,96,95,94,93,93,92,91,90,89,
05212 89,88,88,88,88,88,88,88,87,87,87,87,87,87,87,87,86,86,85,85,85,
05213 84,83,83,82,82,82,81,81,81,80,80,79,78,78,78,77,77,76,76,76,76,
05214 75,75,74,74,74,74,74,74,72,72,72,72,71,71,70,70,70,70,70,69,68,
05215 67,67,67,67,66,66,66,66,66,65,65,64,64,63,62,61,61,61,61,60,60,
05216 60,60,58,58,57,57,57,57,56,56,55,55,55,55,54,54,53,53,53,52,52,
05217 52,52,52,51,51,51,51,49,49,49,49,48,47,47,47,46,45,44,44,44,44,
05218 44,43,42,42,42,41,41,40,40,39,39,39,39,38,38,36,36,36,36,35,35,
05219 35,34,34,34,34,34,34,33,33,33,33,31,30,29,29,28,26,25,25,25,24,
05220 24,24,24,23,22,22,21,21,21,20,20,20
05221 };
05222 const int n3c2w2_p[] = {
05223 120,
05224 200,
05225
05226 100,100,100,100,99,99,97,97,97,97,97,97,96,96,95,95,94,94,93,
05227 93,92,91,90,90,90,90,90,89,89,89,89,89,89,88,88,87,87,86,86,85,
05228 85,85,84,84,84,84,84,83,83,83,82,81,81,81,81,81,80,79,79,78,78,
05229 78,77,76,76,75,75,75,74,74,74,74,73,73,71,71,70,70,70,70,70,68,
05230 67,67,67,67,65,65,65,65,65,64,64,63,62,62,62,62,61,60,59,59,59,
05231 58,58,58,57,56,56,55,55,54,54,53,53,53,53,52,52,52,52,51,51,51,
05232 51,51,51,51,51,50,50,50,50,49,49,49,48,48,48,47,47,46,46,46,46,
05233 45,45,44,44,43,43,43,42,42,39,39,39,39,38,38,37,37,37,37,36,35,
05234 34,33,33,33,33,33,32,32,32,32,31,31,30,30,30,29,29,29,27,27,27,
05235 26,25,25,23,23,22,22,22,21,20,20,20,20
05236 };
05237 const int n3c2w2_q[] = {
05238 120,
05239 200,
05240
05241 100,100,100,99,99,99,99,98,96,96,96,95,94,94,94,93,93,93,92,92,
05242 92,91,91,90,88,88,88,88,88,87,86,85,85,85,84,84,84,83,83,83,82,
05243 82,82,82,81,81,81,81,81,79,79,78,77,77,76,76,76,75,75,74,73,73,
05244 72,72,71,70,70,70,70,69,69,69,69,68,68,67,67,66,66,65,65,65,65,
05245 64,64,64,64,64,64,63,63,63,63,63,63,63,62,62,62,62,61,60,59,59,
05246 59,59,59,59,59,58,58,58,58,57,57,57,56,55,55,55,54,53,53,53,53,
05247 53,52,52,51,51,50,50,50,50,49,49,49,48,48,47,47,47,45,44,44,44,
05248 42,41,41,41,41,41,40,40,40,40,39,38,38,38,37,37,37,37,37,36,36,
05249 36,35,34,32,32,32,31,31,31,30,30,29,29,29,29,28,26,26,26,25,24,
05250 24,24,23,23,22,21,20,20,20,20,20,20
05251 };
05252 const int n3c2w2_r[] = {
05253 120,
05254 200,
05255
05256 100,99,99,99,98,98,98,97,97,97,97,97,96,96,96,95,95,95,93,93,
05257 92,92,91,91,91,91,90,90,89,89,89,88,88,87,87,87,87,86,86,86,85,
05258 85,85,85,84,84,84,84,84,83,83,83,82,82,82,81,81,81,81,80,80,80,
05259 79,79,79,78,78,77,76,76,74,74,74,74,73,73,72,72,72,72,72,72,71,
05260 71,71,70,69,68,68,68,67,66,66,66,65,65,65,64,63,62,62,62,61,61,
05261 61,61,59,58,58,58,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,
05262 54,53,53,50,48,48,46,46,46,46,46,45,45,45,45,45,45,43,43,43,42,
05263 42,42,42,41,41,39,38,38,38,37,37,37,36,36,35,35,35,35,34,34,33,
05264 33,32,32,32,32,31,30,30,30,29,29,29,29,27,25,25,25,25,25,25,25,
05265 24,24,23,23,22,22,22,21,21,21,20,20
05266 };
05267 const int n3c2w2_s[] = {
05268 120,
05269 200,
05270
05271 100,100,100,100,98,98,97,97,97,96,96,96,96,95,95,95,94,94,94,
05272 94,93,93,93,93,92,92,92,91,91,91,91,91,91,90,90,89,89,86,86,86,
05273 85,85,85,85,84,83,82,82,82,81,80,80,79,79,79,78,78,78,78,77,77,
05274 77,77,75,75,75,74,74,74,74,74,74,73,73,73,72,72,72,71,71,71,70,
05275 68,68,68,67,67,67,67,67,66,66,66,66,65,64,64,64,63,63,62,62,62,
05276 62,61,61,60,59,58,57,57,56,56,55,55,55,54,53,53,53,53,52,52,52,
05277 51,50,50,49,48,47,47,47,47,46,46,45,45,45,45,45,44,44,44,42,41,
05278 40,40,40,39,39,39,38,38,38,36,36,36,36,36,36,35,35,35,35,34,34,
05279 34,34,33,33,33,32,32,31,31,30,30,30,29,28,28,27,27,27,26,25,24,
05280 24,23,23,23,23,22,22,22,22,21,21,21,20
05281 };
05282 const int n3c2w2_t[] = {
05283 120,
05284 200,
05285
05286 100,100,99,98,97,97,97,97,96,96,96,95,95,95,94,94,94,94,93,93,
05287 92,92,92,91,91,91,91,91,90,89,88,87,87,86,85,85,84,84,83,83,83,
05288 82,82,81,81,80,80,80,80,80,80,79,79,79,79,79,79,78,77,77,76,76,
05289 76,76,75,75,74,74,73,71,71,71,70,70,69,69,69,69,68,68,68,68,67,
05290 67,67,67,67,67,67,67,66,65,64,63,63,63,62,61,61,61,61,61,61,60,
05291 60,60,59,59,58,58,57,57,56,56,55,55,55,55,55,55,54,54,53,53,52,
05292 51,51,50,49,49,48,48,47,46,46,46,46,45,45,44,43,43,43,43,43,42,
05293 42,41,41,41,40,40,39,39,39,38,38,38,37,37,37,37,37,36,35,35,35,
05294 35,35,34,34,33,33,32,32,31,31,31,31,31,31,31,31,30,30,30,29,28,
05295 28,25,25,25,24,24,24,22,22,22,21,20
05296 };
05297 const int n3c2w4_a[] = {
05298 120,
05299 200,
05300
05301 100,100,100,100,100,99,99,98,98,97,97,97,96,96,96,95,94,94,93,
05302 93,92,92,92,91,91,91,90,90,89,89,88,88,87,87,86,86,85,85,85,83,
05303 83,83,83,82,82,81,80,80,80,80,79,79,79,78,78,78,77,77,77,77,77,
05304 77,76,76,75,74,74,74,73,73,73,72,72,72,71,71,70,70,70,70,69,69,
05305 69,69,69,68,68,68,67,67,67,66,66,66,66,65,64,64,64,64,64,64,64,
05306 63,63,61,61,61,61,60,60,59,59,58,58,58,57,57,57,57,57,56,56,56,
05307 55,55,55,55,54,54,53,53,53,53,53,52,51,51,51,50,50,49,49,49,48,
05308 48,48,47,47,47,46,46,45,44,44,44,44,43,43,43,42,41,40,40,39,38,
05309 38,38,38,38,38,38,38,37,37,37,36,36,36,36,35,35,35,34,33,33,33,
05310 32,32,32,32,31,31,31,30,30,30,30,30,30
05311 };
05312 const int n3c2w4_b[] = {
05313 120,
05314 200,
05315
05316 100,100,100,100,98,98,98,98,98,98,97,97,97,97,96,96,95,95,95,
05317 94,94,93,93,92,92,90,90,90,90,89,89,89,87,87,87,87,86,85,84,84,
05318 84,84,83,83,83,82,82,82,81,81,81,81,81,80,79,79,78,78,78,77,77,
05319 77,77,77,76,76,75,75,73,72,72,72,72,71,70,70,69,69,69,68,68,68,
05320 68,66,66,65,64,64,64,64,63,63,63,63,62,62,62,62,61,61,61,60,60,
05321 59,59,59,59,59,58,58,58,57,57,57,57,56,56,56,55,55,55,54,54,54,
05322 54,53,53,53,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,48,48,
05323 48,48,48,48,48,46,46,46,45,45,44,43,42,42,42,42,41,40,39,39,39,
05324 39,39,39,38,38,37,37,37,36,36,35,35,35,35,34,34,34,34,34,33,33,
05325 33,33,33,32,32,32,31,31,31,31,30,30,30
05326 };
05327 const int n3c2w4_c[] = {
05328 120,
05329 200,
05330
05331 100,100,100,100,99,98,98,97,97,97,97,97,97,97,97,96,96,96,96,
05332 96,95,95,95,95,93,92,90,90,90,90,90,90,90,89,89,89,89,89,89,88,
05333 88,88,88,88,88,87,87,86,86,84,83,83,82,82,82,82,81,81,81,81,80,
05334 80,80,79,79,79,79,78,78,78,78,78,78,77,77,77,77,77,77,76,76,75,
05335 74,73,73,73,73,73,73,73,73,72,72,72,72,71,71,71,70,70,69,69,69,
05336 69,68,68,68,68,68,68,67,67,66,66,66,66,66,65,65,65,65,64,63,63,
05337 62,61,60,60,60,59,59,58,58,58,57,57,56,56,55,55,55,55,55,55,54,
05338 54,54,54,53,53,53,53,53,52,52,52,51,51,50,50,50,49,49,48,48,47,
05339 47,47,46,46,45,45,45,44,44,44,41,40,40,40,40,39,38,37,37,37,36,
05340 36,36,36,35,35,34,34,33,32,32,31,31,30
05341 };
05342 const int n3c2w4_d[] = {
05343 120,
05344 200,
05345
05346 100,100,99,99,98,98,98,98,98,98,97,97,97,96,96,96,96,95,95,95,
05347 94,94,93,92,92,92,92,91,90,90,89,89,89,89,89,88,88,88,87,87,86,
05348 85,85,85,84,83,82,81,81,81,81,81,80,79,78,78,77,77,77,75,75,75,
05349 74,74,74,74,74,73,73,73,73,72,72,72,72,72,71,71,70,70,70,69,69,
05350 68,68,68,67,67,67,67,66,66,66,66,66,66,65,65,63,63,63,63,62,62,
05351 62,61,60,60,60,60,60,60,59,59,59,58,58,57,57,56,56,56,56,56,55,
05352 55,55,54,54,54,53,53,53,52,52,52,51,51,50,50,50,50,49,49,49,48,
05353 48,48,46,46,46,46,46,45,45,45,45,44,44,44,43,42,42,42,41,40,40,
05354 40,39,39,39,39,39,38,38,37,37,37,37,36,36,36,35,35,35,34,34,34,
05355 34,33,33,32,32,31,31,31,30,30,30,30
05356 };
05357 const int n3c2w4_e[] = {
05358 120,
05359 200,
05360
05361 100,99,99,99,98,98,98,98,97,97,96,95,95,94,94,94,94,93,93,93,
05362 93,90,90,90,89,89,89,88,87,87,86,86,86,86,85,84,83,83,83,82,81,
05363 81,81,80,80,80,80,79,79,79,78,78,77,77,77,77,77,77,76,76,76,76,
05364 75,75,75,75,73,73,73,72,72,72,71,69,69,68,68,68,67,67,67,66,66,
05365 66,66,66,66,66,66,65,65,64,63,63,62,62,62,62,61,61,61,60,60,60,
05366 60,59,59,59,58,58,58,58,57,57,57,57,57,56,56,56,55,54,54,54,53,
05367 53,52,51,51,50,50,50,50,49,49,49,49,49,49,48,48,48,48,48,47,47,
05368 47,46,45,44,44,44,44,44,44,43,43,43,43,42,42,42,42,42,41,40,39,
05369 38,38,37,37,37,37,37,37,37,37,36,36,36,36,36,35,35,35,35,34,34,
05370 34,33,33,33,33,33,32,32,32,31,30,30
05371 };
05372 const int n3c2w4_f[] = {
05373 120,
05374 200,
05375
05376 100,100,100,99,99,99,99,98,98,97,97,97,96,96,95,95,95,95,94,94,
05377 94,93,92,90,90,90,90,89,88,88,88,87,87,86,86,86,85,85,85,84,84,
05378 83,83,82,82,81,81,81,80,80,79,79,79,78,78,78,78,77,77,77,76,76,
05379 76,76,75,75,75,74,73,73,72,72,72,72,71,71,71,71,71,71,71,70,70,
05380 69,68,68,68,67,67,67,67,66,66,66,66,66,65,64,64,64,64,64,64,63,
05381 63,63,62,62,61,61,61,61,60,60,60,60,60,59,58,58,58,57,57,57,57,
05382 56,55,54,54,54,54,54,53,52,52,51,51,51,50,50,50,50,49,48,48,47,
05383 47,46,46,45,45,44,43,43,42,42,41,41,41,41,41,41,40,40,40,40,40,
05384 40,39,39,39,39,38,38,37,37,37,36,36,36,36,36,36,35,35,35,35,33,
05385 33,33,33,33,32,32,31,31,31,30,30,30
05386 };
05387 const int n3c2w4_g[] = {
05388 120,
05389 200,
05390
05391 100,100,100,99,99,99,99,99,99,98,98,98,98,97,97,96,96,96,95,95,
05392 95,94,94,94,94,94,93,93,92,91,91,91,91,91,91,90,90,89,88,88,88,
05393 87,87,87,86,86,85,85,85,84,84,83,83,83,83,83,82,82,82,82,82,81,
05394 81,81,81,80,80,80,80,79,78,78,77,77,77,76,76,76,76,76,76,75,75,
05395 74,74,73,73,73,73,72,72,70,70,69,69,68,68,68,68,68,68,68,67,67,
05396 67,67,67,66,66,65,65,64,63,63,63,62,61,61,61,61,60,60,60,60,59,
05397 58,58,58,58,57,56,56,53,53,53,53,53,53,52,52,52,52,51,51,50,50,
05398 49,49,49,48,48,48,48,48,47,46,45,45,44,44,43,43,43,43,42,42,42,
05399 42,41,41,41,41,40,40,39,39,38,37,37,36,36,36,36,36,35,35,35,35,
05400 35,35,34,33,33,33,32,32,32,31,30,30
05401 };
05402 const int n3c2w4_h[] = {
05403 120,
05404 200,
05405
05406 100,100,100,99,99,98,98,98,97,97,97,97,95,95,94,94,94,94,93,93,
05407 93,93,92,92,92,91,91,91,90,89,88,88,88,87,86,85,85,85,85,85,84,
05408 83,83,82,82,81,81,80,79,78,78,78,78,77,77,76,76,76,75,75,75,74,
05409 74,74,73,73,73,73,72,72,70,70,70,70,69,69,69,69,69,68,68,68,68,
05410 67,67,67,67,67,67,66,66,66,66,66,66,65,65,65,64,63,63,63,62,62,
05411 61,61,60,60,60,60,59,59,59,58,57,57,57,56,56,55,55,54,53,53,53,
05412 53,53,52,52,52,51,51,51,51,50,50,50,49,49,49,49,48,48,48,48,47,
05413 47,46,46,46,45,45,44,44,44,44,43,43,43,43,43,42,42,42,41,41,40,
05414 40,40,39,39,39,39,39,39,39,38,38,37,36,36,36,36,35,35,35,34,33,
05415 33,33,33,33,32,32,32,32,32,32,30,30
05416 };
05417 const int n3c2w4_i[] = {
05418 120,
05419 200,
05420
05421 99,98,98,98,98,98,96,96,95,95,95,94,93,92,92,92,91,91,91,90,89,
05422 89,89,88,88,88,88,88,87,86,85,85,84,84,83,83,83,82,82,81,81,81,
05423 80,80,80,80,79,79,78,78,78,78,77,77,77,77,77,76,76,75,75,75,74,
05424 74,74,74,74,73,72,72,71,71,71,71,70,69,69,69,69,68,68,68,67,67,
05425 67,67,67,67,66,66,66,66,65,65,65,65,64,64,64,63,63,63,63,63,63,
05426 62,62,61,61,61,61,61,61,60,60,60,60,59,59,58,58,58,58,57,56,55,
05427 55,54,54,53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,50,50,50,
05428 50,50,50,49,49,49,48,48,48,48,47,47,47,46,46,45,45,44,44,43,43,
05429 43,43,43,42,42,41,41,40,39,39,38,38,37,37,37,36,36,35,35,35,34,
05430 34,33,33,33,32,32,31,31,30,30,30
05431 };
05432 const int n3c2w4_j[] = {
05433 120,
05434 200,
05435
05436 100,100,99,99,98,97,97,96,96,96,95,95,94,94,93,93,91,91,91,91,
05437 90,90,90,90,88,88,88,88,87,87,86,86,86,86,86,85,85,85,85,84,84,
05438 83,83,83,82,82,82,82,82,82,82,81,81,80,80,80,80,79,79,78,78,77,
05439 77,76,76,75,75,75,74,73,73,73,73,72,72,72,72,71,71,70,70,70,69,
05440 69,69,69,69,68,68,68,67,67,67,66,66,65,65,65,65,65,65,65,65,65,
05441 64,64,64,64,64,64,64,63,63,62,62,62,62,60,60,60,59,59,58,58,58,
05442 58,58,57,56,56,56,56,56,55,55,54,54,53,53,53,53,52,52,52,52,52,
05443 52,52,51,51,51,50,50,49,49,49,47,46,46,46,46,45,45,44,44,44,44,
05444 44,44,43,43,42,41,41,41,38,38,38,37,35,35,35,35,34,33,33,33,33,
05445 33,33,33,32,32,31,31,31,30,30,30,30
05446 };
05447 const int n3c2w4_k[] = {
05448 120,
05449 200,
05450
05451 100,100,100,100,99,99,99,98,98,98,98,98,97,97,97,96,96,95,94,
05452 94,94,94,94,93,93,92,91,91,90,90,90,90,89,89,88,88,88,88,88,87,
05453 87,87,86,85,85,85,85,85,85,85,83,83,82,82,82,82,81,81,81,80,80,
05454 80,79,78,77,77,77,76,76,76,75,75,74,74,74,74,73,73,73,72,72,71,
05455 71,71,71,69,69,69,68,68,67,67,66,66,66,65,65,64,64,64,64,64,64,
05456 64,63,62,62,61,61,61,61,60,60,60,60,60,60,59,58,58,57,57,57,57,
05457 56,56,55,55,54,54,53,53,53,53,53,52,52,52,52,52,52,50,49,48,48,
05458 48,48,48,47,47,47,47,47,47,47,47,46,46,45,44,44,44,44,42,42,42,
05459 42,42,41,41,41,40,40,39,38,38,37,37,37,37,37,37,36,35,35,35,35,
05460 35,34,34,33,33,32,32,31,31,31,30,30,30
05461 };
05462 const int n3c2w4_l[] = {
05463 120,
05464 200,
05465
05466 100,99,99,99,99,99,98,97,97,97,97,95,95,95,94,94,94,93,93,93,
05467 92,92,92,92,91,91,91,91,90,90,90,89,89,88,88,88,88,87,87,87,87,
05468 86,85,85,85,84,84,84,83,83,83,82,82,81,81,80,80,80,80,80,79,79,
05469 78,78,78,78,78,77,77,77,77,77,76,76,76,76,75,75,74,74,74,73,73,
05470 72,72,71,71,71,70,70,70,69,68,68,68,68,67,66,66,65,65,65,65,65,
05471 64,63,62,62,61,61,61,61,61,60,60,60,58,58,58,58,57,56,56,56,56,
05472 56,56,55,55,55,55,55,54,53,52,52,52,51,51,51,51,49,49,47,47,46,
05473 45,45,45,45,45,45,44,44,44,44,43,42,41,41,41,40,40,39,39,39,39,
05474 38,38,38,37,37,36,36,36,36,36,36,36,35,35,35,35,34,34,34,34,34,
05475 33,33,33,33,33,32,32,32,31,31,30,30
05476 };
05477 const int n3c2w4_m[] = {
05478 120,
05479 200,
05480
05481 100,100,100,99,99,99,99,99,99,99,98,98,98,98,97,97,97,97,97,96,
05482 96,96,95,95,95,95,95,95,94,93,92,92,92,92,92,91,91,90,90,90,89,
05483 88,88,86,86,86,85,85,85,84,83,82,82,82,82,81,81,81,80,80,80,80,
05484 80,79,79,79,79,78,78,78,78,77,76,76,75,74,73,73,73,72,72,72,71,
05485 71,70,70,69,69,69,68,68,68,68,68,67,67,67,66,66,65,64,64,64,64,
05486 64,63,63,63,63,62,62,62,62,62,62,61,61,61,61,60,59,59,58,58,57,
05487 57,55,54,54,53,53,53,53,53,53,53,53,53,53,52,52,51,51,50,50,50,
05488 49,48,46,46,45,45,45,45,44,43,42,41,41,41,40,40,40,40,39,39,38,
05489 38,38,38,38,37,37,37,36,36,35,35,35,35,35,34,34,34,34,33,33,33,
05490 32,32,32,32,32,32,32,31,30,30,30,30
05491 };
05492 const int n3c2w4_n[] = {
05493 120,
05494 200,
05495
05496 100,100,100,100,100,100,99,99,99,99,98,98,98,98,97,97,97,96,96,
05497 95,95,95,94,93,93,92,92,92,91,90,90,89,88,88,88,88,88,88,87,87,
05498 87,87,86,85,85,85,85,85,84,84,82,82,82,81,81,81,80,80,80,80,80,
05499 80,80,78,78,78,78,78,77,77,77,75,75,75,74,74,73,72,71,71,71,70,
05500 70,70,70,69,69,69,69,68,68,67,67,65,65,65,64,64,64,64,64,63,63,
05501 63,62,62,61,61,60,60,59,59,59,58,58,57,57,56,56,56,56,56,55,55,
05502 55,55,54,54,54,53,53,53,53,52,52,51,51,51,50,50,50,50,49,49,49,
05503 48,47,47,47,46,46,46,46,45,45,45,44,44,44,44,44,44,44,43,43,41,
05504 41,40,40,39,39,39,38,38,37,37,36,36,36,36,36,36,35,35,34,33,33,
05505 33,32,32,32,32,32,32,31,31,30,30,30,30
05506 };
05507 const int n3c2w4_o[] = {
05508 120,
05509 200,
05510
05511 100,100,100,100,100,99,99,99,97,97,97,96,96,96,95,95,95,94,93,
05512 93,93,93,93,93,92,92,92,90,90,90,90,90,90,89,89,89,88,88,88,88,
05513 87,87,86,86,85,84,83,83,83,82,82,82,82,81,81,80,80,80,80,79,79,
05514 78,78,78,77,77,77,77,77,76,75,75,74,74,73,72,71,70,69,69,68,67,
05515 67,67,67,67,66,66,66,65,65,65,65,64,64,64,63,63,61,61,61,61,60,
05516 60,59,59,59,59,58,57,57,57,57,56,56,55,55,55,55,54,54,54,54,53,
05517 53,53,52,52,52,51,51,51,51,51,50,50,50,50,50,49,49,49,48,48,47,
05518 47,47,47,47,45,45,44,44,44,43,43,42,42,42,41,41,41,41,40,40,40,
05519 39,39,39,38,38,37,37,37,36,36,36,36,35,34,34,34,34,34,33,33,33,
05520 33,32,32,31,31,31,31,31,31,30,30,30,30
05521 };
05522 const int n3c2w4_p[] = {
05523 120,
05524 200,
05525
05526 100,100,100,99,99,99,99,99,99,98,98,98,97,97,96,96,94,94,93,93,
05527 93,93,92,92,91,91,91,90,90,90,90,90,89,89,89,89,89,88,88,88,87,
05528 87,87,86,86,86,86,85,84,84,83,83,83,83,83,82,82,82,82,81,81,81,
05529 81,81,80,80,79,79,79,79,79,78,78,78,78,78,77,77,76,76,75,75,75,
05530 74,74,74,74,72,72,72,71,71,71,70,70,70,70,69,68,67,67,67,67,67,
05531 66,66,66,66,65,65,64,63,63,62,61,60,60,60,60,59,59,59,59,58,58,
05532 58,58,57,56,56,56,55,55,55,54,54,53,53,52,52,52,52,52,51,51,51,
05533 51,50,49,49,49,48,47,46,46,46,45,44,44,43,42,42,41,40,40,40,40,
05534 40,39,39,39,39,38,38,38,38,37,37,37,37,37,37,36,36,35,35,35,35,
05535 34,33,33,33,32,31,31,30,30,30,30,30
05536 };
05537 const int n3c2w4_q[] = {
05538 120,
05539 200,
05540
05541 100,100,100,100,98,98,98,98,98,97,97,97,97,97,97,97,96,96,96,
05542 96,95,94,93,93,93,93,92,92,92,92,91,90,90,89,89,89,88,87,86,86,
05543 86,86,85,85,85,84,84,84,83,83,82,82,81,81,81,80,80,80,79,79,79,
05544 79,78,78,78,78,77,77,77,77,76,76,76,75,75,75,74,74,74,74,73,72,
05545 72,72,72,72,72,71,70,70,70,69,69,69,68,68,68,67,66,66,65,65,65,
05546 64,64,64,64,64,63,63,63,63,62,62,61,60,60,59,59,59,58,58,57,57,
05547 57,56,56,55,55,55,55,55,54,54,54,54,53,53,53,52,51,51,51,50,50,
05548 50,49,48,48,48,47,47,47,47,46,46,46,46,45,44,44,44,43,43,43,42,
05549 42,42,41,41,41,40,40,40,39,39,39,39,38,38,38,37,36,36,36,36,35,
05550 35,34,34,33,32,32,32,32,32,32,31,31,30
05551 };
05552 const int n3c2w4_r[] = {
05553 120,
05554 200,
05555
05556 100,100,100,100,99,99,99,99,98,98,98,98,97,97,96,96,96,95,95,
05557 94,94,94,93,93,93,93,92,92,91,91,91,90,90,89,89,88,88,88,88,88,
05558 87,87,87,87,86,86,85,85,84,84,84,84,83,82,82,81,81,81,81,81,80,
05559 80,79,79,79,78,78,78,78,78,78,77,77,77,77,77,76,75,75,74,74,73,
05560 73,72,72,72,72,71,71,70,70,70,70,70,69,68,68,68,68,68,68,67,67,
05561 66,66,65,65,65,65,65,65,64,64,63,62,62,61,60,60,60,60,59,59,58,
05562 58,58,57,56,56,56,55,55,55,54,54,54,54,54,54,53,53,53,53,53,53,
05563 52,52,52,51,50,50,49,49,49,48,48,47,47,47,46,46,46,46,45,45,44,
05564 44,43,43,43,42,42,42,42,42,42,41,40,39,38,38,38,38,38,38,37,37,
05565 37,36,36,35,34,34,33,32,32,32,31,30,30
05566 };
05567 const int n3c2w4_s[] = {
05568 120,
05569 200,
05570
05571 100,99,99,99,98,98,97,96,96,96,96,95,95,95,94,94,94,93,93,93,
05572 93,93,93,93,93,92,92,92,91,91,90,90,89,89,89,88,88,88,88,88,87,
05573 87,86,86,86,86,86,86,86,85,84,84,83,83,83,81,81,81,81,80,80,79,
05574 79,79,79,78,78,78,78,77,77,77,77,76,76,76,75,75,74,74,73,73,72,
05575 72,71,71,70,70,70,70,69,69,69,68,68,68,68,68,67,67,67,66,66,66,
05576 66,65,65,65,64,63,63,62,61,61,59,58,58,57,57,57,56,56,56,55,55,
05577 55,54,52,51,51,50,50,50,50,50,50,49,49,49,49,49,49,48,48,48,47,
05578 47,47,46,46,46,46,46,45,45,44,43,43,43,42,42,42,41,41,41,41,40,
05579 40,40,40,40,39,39,38,37,37,37,37,37,37,36,36,36,36,36,35,35,35,
05580 34,34,33,32,32,32,31,31,30,30,30,30
05581 };
05582 const int n3c2w4_t[] = {
05583 120,
05584 200,
05585
05586 100,100,99,99,99,98,98,98,97,97,97,96,96,96,96,96,95,95,95,95,
05587 94,94,94,92,92,92,91,91,91,91,90,90,90,90,90,89,89,88,88,87,87,
05588 87,87,86,86,86,86,86,85,85,85,84,83,82,82,81,81,81,81,81,81,81,
05589 80,80,80,80,78,78,78,78,78,77,77,77,76,75,75,75,75,73,73,73,72,
05590 71,71,71,71,70,70,69,69,69,68,67,67,67,66,66,66,65,65,65,64,63,
05591 63,63,62,62,62,62,61,61,61,61,61,60,60,60,59,59,59,59,58,58,57,
05592 56,56,56,56,56,55,55,54,54,53,53,53,52,52,52,51,51,50,50,50,49,
05593 49,48,48,48,48,46,46,46,46,45,45,44,44,44,43,43,43,43,43,43,42,
05594 41,41,41,41,40,39,39,38,37,36,36,36,36,35,35,35,34,34,34,34,33,
05595 33,32,32,32,32,31,31,30,30,30,30,30
05596 };
05597 const int n3c3w1_a[] = {
05598 150,
05599 200,
05600
05601 100,100,100,99,99,99,98,98,98,97,96,96,96,95,95,95,94,93,92,91,
05602 91,91,90,90,90,89,87,87,86,86,86,84,84,83,83,82,82,82,80,80,80,
05603 79,78,77,77,77,77,77,75,74,73,73,73,73,72,71,71,71,70,69,68,68,
05604 68,68,67,65,65,65,65,65,65,64,63,63,62,62,62,61,60,59,58,58,57,
05605 57,54,54,53,53,52,52,52,52,51,51,50,50,49,49,49,48,48,47,46,45,
05606 44,44,44,43,42,42,41,40,39,39,39,39,39,38,37,37,37,37,37,37,37,
05607 37,36,36,35,35,35,35,34,34,33,33,32,32,31,31,29,29,29,28,27,26,
05608 26,25,25,24,23,21,21,21,20,20,18,18,17,17,17,16,16,16,16,15,15,
05609 14,13,13,13,13,13,13,13,12,11,9,8,8,7,6,6,6,5,5,5,5,4,4,4,4,4,
05610 3,3,2,2,2,1,1
05611 };
05612 const int n3c3w1_b[] = {
05613 150,
05614 200,
05615
05616 100,99,99,98,98,98,98,98,98,98,96,95,91,91,90,90,90,90,90,89,
05617 88,88,87,87,87,85,85,85,84,84,83,83,82,81,81,81,81,80,80,80,80,
05618 80,79,79,79,79,78,77,77,76,75,74,74,73,73,73,73,73,72,71,71,71,
05619 70,70,70,69,69,69,69,69,68,68,68,67,67,66,65,65,64,64,64,63,63,
05620 63,62,61,61,61,61,61,59,59,59,58,58,58,58,57,56,56,56,55,55,55,
05621 55,54,54,53,53,52,52,51,51,50,50,50,50,49,49,48,48,48,46,46,46,
05622 46,43,42,42,42,40,39,39,39,39,39,38,36,36,36,35,35,34,34,33,32,
05623 31,31,29,27,26,26,26,25,25,24,24,24,23,22,22,21,21,20,20,19,19,
05624 18,18,17,17,17,17,17,15,15,14,14,14,13,13,12,12,12,12,12,10,10,
05625 10,10,10,10,10,9,8,5,4,4,4,1
05626 };
05627 const int n3c3w1_c[] = {
05628 150,
05629 200,
05630
05631 100,100,100,100,99,99,98,98,97,96,96,95,95,94,94,94,93,91,90,
05632 90,89,89,89,89,88,88,88,88,88,88,87,85,85,84,84,84,83,83,82,82,
05633 81,80,80,78,78,78,78,78,78,78,77,77,77,76,76,76,75,75,74,74,74,
05634 74,74,73,73,72,70,67,67,67,66,66,66,66,66,65,65,65,63,63,63,62,
05635 62,61,61,61,61,61,60,60,59,58,57,56,54,54,54,53,52,52,51,50,50,
05636 49,48,48,48,47,47,47,47,46,46,46,45,45,45,42,42,39,39,39,38,38,
05637 37,37,37,36,36,35,34,34,34,33,33,31,31,31,31,31,29,28,28,27,27,
05638 26,26,26,26,26,26,25,25,25,24,23,22,22,22,21,21,21,21,20,20,19,
05639 16,16,16,15,15,15,14,14,13,13,12,12,12,11,10,10,10,9,9,9,8,7,
05640 7,6,6,6,5,5,5,3,3,3,2,1
05641 };
05642 const int n3c3w1_d[] = {
05643 150,
05644 200,
05645
05646 100,100,100,100,99,99,99,98,97,97,96,96,96,95,95,95,94,94,93,
05647 92,92,92,91,91,90,89,87,87,86,86,86,86,86,85,84,84,83,83,81,80,
05648 80,79,78,78,77,76,76,76,73,72,72,71,70,70,67,67,67,66,66,65,63,
05649 63,62,62,61,60,60,59,58,57,56,56,56,55,55,55,55,54,54,54,53,53,
05650 53,52,52,51,51,50,50,50,49,48,48,47,46,46,44,44,44,44,44,43,41,
05651 41,40,40,40,39,39,39,39,36,36,36,36,36,35,35,35,35,33,33,33,32,
05652 32,32,32,31,30,30,29,29,29,29,28,28,26,26,26,25,25,25,25,25,24,
05653 23,23,22,22,22,22,21,21,21,21,21,20,20,20,20,20,19,18,17,17,17,
05654 17,15,15,15,14,13,13,12,12,12,12,11,10,10,9,9,9,8,8,8,7,7,6,6,
05655 5,4,4,4,3,3,3,2,1,1
05656 };
05657 const int n3c3w1_e[] = {
05658 150,
05659 200,
05660
05661 100,100,100,99,99,99,98,98,98,98,97,97,97,97,95,95,94,94,93,93,
05662 92,92,91,91,90,90,90,90,89,89,89,89,88,88,87,86,85,84,84,84,84,
05663 83,83,82,82,82,82,81,80,79,78,78,77,76,76,75,74,74,74,73,72,71,
05664 71,70,70,70,70,70,70,69,69,68,68,68,67,66,65,64,64,63,63,62,62,
05665 61,60,59,57,57,57,56,55,55,55,55,54,54,53,53,52,52,52,52,50,48,
05666 48,48,47,47,46,46,45,45,44,44,43,43,43,42,42,42,42,41,41,40,40,
05667 39,39,36,35,34,33,32,32,31,30,29,29,28,28,27,27,24,24,24,24,23,
05668 23,23,23,23,23,21,21,20,20,19,19,18,17,17,17,16,16,15,15,15,15,
05669 14,14,13,13,13,12,12,12,12,11,11,11,10,10,9,9,8,8,8,8,7,7,7,6,
05670 5,4,4,3,3,1,1,1,1
05671 };
05672 const int n3c3w1_f[] = {
05673 150,
05674 200,
05675
05676 100,100,100,99,99,98,98,98,98,96,96,95,95,93,92,92,92,91,89,89,
05677 88,88,88,87,87,87,87,86,86,86,85,85,84,83,83,82,80,80,80,79,79,
05678 78,78,77,76,76,75,75,74,74,73,73,73,72,71,70,70,70,69,69,69,69,
05679 68,68,66,66,66,66,65,64,64,64,64,64,64,63,63,63,62,62,61,60,60,
05680 59,58,58,58,58,58,58,57,57,55,55,55,53,52,52,52,51,51,50,50,50,
05681 49,49,49,49,49,48,48,46,46,45,45,45,44,43,42,42,42,41,41,40,40,
05682 40,39,39,39,37,37,37,36,36,36,36,35,35,35,33,33,33,33,32,32,31,
05683 31,31,31,30,29,29,29,29,28,27,27,27,26,26,24,22,22,22,21,21,20,
05684 19,18,17,17,16,16,15,14,14,13,12,11,11,11,11,10,9,8,7,7,7,7,7,
05685 6,6,5,4,4,4,3,3,2,1
05686 };
05687 const int n3c3w1_g[] = {
05688 150,
05689 200,
05690
05691 100,100,97,97,97,96,96,96,96,95,95,95,95,95,94,94,92,92,91,91,
05692 90,89,87,86,86,86,86,85,84,84,84,84,83,83,81,81,81,80,78,77,77,
05693 76,75,75,74,74,73,73,73,72,71,71,71,70,70,69,68,66,65,65,64,64,
05694 64,64,63,63,63,62,61,61,61,60,60,60,60,59,58,58,58,58,58,58,57,
05695 57,55,55,55,54,54,53,52,52,51,51,51,51,51,51,50,49,49,49,48,47,
05696 46,46,45,45,44,44,44,43,43,43,41,41,40,40,40,39,37,36,36,35,35,
05697 35,35,34,34,34,33,32,31,31,30,30,30,29,29,28,28,27,27,27,27,25,
05698 25,24,23,22,22,21,21,21,21,21,21,21,20,19,18,17,17,16,16,15,15,
05699 14,14,13,13,13,13,13,12,11,10,9,9,8,8,6,6,5,5,5,5,4,4,4,3,3,3,
05700 2,2,2,1,1,1,1
05701 };
05702 const int n3c3w1_h[] = {
05703 150,
05704 200,
05705
05706 100,100,99,99,98,98,97,96,96,96,96,96,96,95,94,94,94,93,92,91,
05707 91,90,89,89,89,88,87,86,86,86,86,85,85,85,84,84,84,84,84,84,83,
05708 82,82,81,80,78,78,77,77,77,77,77,76,76,75,75,74,74,74,74,70,70,
05709 70,69,69,69,68,68,68,68,67,66,66,66,65,65,65,64,64,64,64,64,63,
05710 63,62,62,60,58,57,56,56,56,56,56,56,55,55,55,55,55,53,53,51,51,
05711 51,50,50,49,47,47,47,44,43,43,43,42,42,40,40,38,38,38,37,37,37,
05712 36,36,35,34,34,34,33,33,33,33,32,32,30,30,29,28,28,27,27,26,26,
05713 26,25,25,25,25,25,24,24,23,23,22,22,21,21,21,19,19,19,18,17,17,
05714 16,16,15,14,14,14,13,13,13,13,12,11,11,10,10,9,9,9,8,8,8,7,7,
05715 7,6,4,4,4,4,3,2,1,1
05716 };
05717 const int n3c3w1_i[] = {
05718 150,
05719 200,
05720
05721 100,100,100,100,100,99,99,99,98,97,96,94,93,93,93,92,92,91,90,
05722 89,89,88,88,88,88,88,88,88,86,86,86,86,86,85,85,84,84,84,83,83,
05723 83,83,83,83,82,82,81,79,79,76,76,76,76,75,75,75,75,75,75,74,74,
05724 73,72,71,71,71,68,68,67,67,67,66,66,66,65,65,64,64,63,63,63,62,
05725 62,62,61,60,60,60,58,58,57,57,56,56,55,55,55,54,54,54,54,53,51,
05726 50,50,49,48,48,47,47,47,46,46,45,45,44,43,43,41,40,40,39,39,39,
05727 37,37,37,36,34,33,32,31,31,31,31,30,30,29,29,29,29,29,28,27,24,
05728 24,23,23,23,23,23,22,22,21,21,20,19,19,18,18,17,17,17,17,16,16,
05729 16,15,15,15,15,15,14,14,14,13,12,12,12,12,11,11,11,10,8,8,7,6,
05730 6,5,5,5,5,5,4,4,4,3,2,1
05731 };
05732 const int n3c3w1_j[] = {
05733 150,
05734 200,
05735
05736 99,99,99,98,98,98,96,95,95,94,94,94,93,93,92,92,92,91,91,90,88,
05737 86,86,85,85,84,84,84,83,82,82,82,81,81,81,80,80,79,79,79,78,78,
05738 78,77,77,77,76,74,74,73,73,72,71,71,71,71,70,70,68,68,68,67,66,
05739 66,66,66,66,65,64,63,63,63,62,61,60,60,59,58,58,58,57,57,57,57,
05740 56,55,54,53,53,51,51,51,51,50,50,50,49,47,47,47,46,46,45,45,45,
05741 45,45,44,43,43,42,42,41,41,40,40,39,39,37,37,36,36,35,35,34,34,
05742 34,34,34,33,32,32,32,31,31,29,28,27,27,26,26,26,25,25,25,25,25,
05743 25,25,25,22,22,22,21,21,21,21,21,21,19,19,19,18,17,17,17,17,17,
05744 17,16,16,15,14,14,14,13,13,12,11,10,10,10,10,9,8,7,6,5,4,4,4,
05745 4,3,3,3,3,3,3,2,2
05746 };
05747 const int n3c3w1_k[] = {
05748 150,
05749 200,
05750
05751 100,99,99,99,99,98,98,98,97,96,95,94,93,93,93,92,91,91,91,91,
05752 91,90,90,88,88,88,87,87,87,86,86,85,85,84,84,84,83,83,82,81,81,
05753 81,81,77,77,76,76,75,74,74,74,73,73,72,72,71,71,70,69,69,69,69,
05754 68,68,66,66,65,64,63,63,63,62,61,61,59,59,59,58,58,57,57,57,57,
05755 55,55,53,53,52,52,49,49,49,48,48,47,47,46,46,46,46,45,45,44,43,
05756 43,43,41,40,40,40,39,39,38,38,38,37,37,35,35,35,34,34,33,33,32,
05757 31,31,29,29,28,28,27,26,25,25,24,24,24,23,23,23,23,23,23,22,22,
05758 22,21,20,19,19,19,18,18,18,18,18,17,15,15,14,13,13,13,12,11,10,
05759 9,9,8,8,8,8,8,8,7,7,6,6,6,5,5,5,5,4,4,4,4,4,4,4,4,4,3,3,2,1,1,
05760 1,1
05761 };
05762 const int n3c3w1_l[] = {
05763 150,
05764 200,
05765
05766 100,100,100,99,97,97,96,95,95,95,94,92,91,91,91,91,90,90,89,89,
05767 89,88,88,87,87,87,86,86,86,85,85,85,85,85,84,84,83,83,81,81,81,
05768 80,80,80,79,79,79,78,78,77,77,77,77,76,75,74,74,74,72,72,71,71,
05769 70,69,68,68,67,65,64,64,63,63,63,62,62,62,62,61,61,60,60,60,60,
05770 60,60,59,59,59,59,58,58,57,56,55,55,55,55,54,53,53,52,52,52,51,
05771 51,51,51,50,50,49,49,48,45,45,43,42,42,41,40,40,39,39,38,38,37,
05772 36,36,35,35,34,34,34,33,33,32,31,31,31,31,30,29,29,29,29,29,28,
05773 28,28,27,26,26,25,25,24,24,24,22,22,21,20,19,19,19,19,18,18,18,
05774 15,15,15,14,14,13,13,12,12,11,10,10,9,9,8,8,8,7,7,7,6,6,6,5,5,
05775 5,4,3,3,2,1,1,1
05776 };
05777 const int n3c3w1_m[] = {
05778 150,
05779 200,
05780
05781 100,99,99,99,98,97,97,96,96,95,94,93,93,93,92,92,92,92,92,92,
05782 91,91,91,91,90,90,89,89,89,89,86,86,86,85,85,84,83,83,83,82,82,
05783 82,81,81,80,80,80,79,78,77,77,77,77,76,76,76,76,75,75,73,72,72,
05784 71,70,70,70,70,68,68,68,68,68,67,65,65,64,64,62,62,61,60,60,59,
05785 59,59,59,59,58,58,57,57,56,56,56,56,55,54,53,53,53,53,52,52,52,
05786 51,51,51,50,50,50,50,49,49,49,49,49,49,48,48,48,47,46,46,46,45,
05787 44,43,42,42,42,41,39,37,37,36,36,35,35,35,34,34,33,33,32,32,31,
05788 31,31,30,29,29,29,29,28,28,27,26,25,25,25,25,24,23,23,23,23,23,
05789 22,22,22,21,18,18,18,17,16,16,16,15,14,14,13,13,12,11,11,11,11,
05790 9,8,8,5,4,4,3,2,2,2,1,1
05791 };
05792 const int n3c3w1_n[] = {
05793 150,
05794 200,
05795
05796 100,99,99,98,98,97,97,96,95,95,95,95,94,94,93,92,92,92,92,91,
05797 90,88,87,87,87,87,87,87,87,86,86,85,85,84,84,84,82,82,82,82,81,
05798 81,81,81,80,80,80,80,79,79,78,78,77,76,75,75,75,75,73,72,72,71,
05799 71,71,70,70,70,69,69,68,67,66,66,66,65,64,63,62,62,62,61,61,61,
05800 60,59,59,57,57,56,56,55,55,53,53,52,51,51,51,51,50,50,49,49,49,
05801 49,48,47,47,47,47,47,47,47,46,46,46,45,45,45,45,45,43,43,43,43,
05802 42,41,40,38,38,38,38,36,36,36,35,35,34,34,33,33,32,32,31,30,30,
05803 28,28,28,27,27,27,26,26,25,25,22,21,20,19,19,18,17,17,17,17,16,
05804 14,14,14,13,13,13,12,12,11,11,11,10,10,9,8,7,6,6,4,4,4,4,4,4,
05805 3,3,3,3,3,1,1,1,1
05806 };
05807 const int n3c3w1_o[] = {
05808 150,
05809 200,
05810
05811 100,100,99,98,98,97,97,96,96,96,95,95,94,92,92,91,91,91,91,91,
05812 91,90,90,90,89,89,88,88,87,87,86,85,82,81,81,81,81,80,80,80,80,
05813 79,79,78,78,78,78,77,77,77,77,76,75,74,74,74,74,74,73,73,73,73,
05814 73,71,70,70,70,69,69,69,69,68,68,67,66,64,64,64,63,61,59,58,58,
05815 57,57,55,54,54,52,52,52,52,52,51,50,50,48,48,47,47,47,46,45,45,
05816 45,44,43,43,43,42,41,40,40,39,39,38,38,38,38,36,36,34,34,34,33,
05817 33,32,32,32,32,31,31,31,30,30,30,28,28,26,26,26,26,26,26,25,25,
05818 25,25,24,24,23,23,23,20,20,20,20,20,18,17,16,16,16,16,15,15,14,
05819 13,13,12,12,12,11,11,11,10,10,10,9,9,8,8,6,5,5,4,4,4,4,4,3,3,
05820 3,2,2,2,1,1,1,1
05821 };
05822 const int n3c3w1_p[] = {
05823 150,
05824 200,
05825
05826 100,100,100,100,100,99,99,98,98,97,97,96,96,96,95,95,94,94,94,
05827 94,93,92,91,91,90,90,90,90,90,90,89,89,88,87,85,85,85,83,83,83,
05828 82,82,82,81,81,81,80,80,79,79,79,78,78,77,77,77,76,76,76,75,75,
05829 75,73,73,72,72,72,71,71,70,70,70,69,68,67,67,67,67,67,66,66,65,
05830 65,64,64,64,63,62,62,61,61,61,61,60,60,60,58,58,58,56,55,54,54,
05831 53,53,53,53,51,51,49,49,49,48,48,48,47,46,46,45,44,44,42,42,42,
05832 42,42,41,41,41,41,41,40,40,39,38,38,37,36,36,34,34,34,34,33,32,
05833 32,32,31,31,31,29,29,28,27,26,26,25,25,24,23,22,21,21,21,21,20,
05834 19,19,18,17,17,16,16,15,15,14,13,13,13,12,11,11,11,10,10,9,9,
05835 8,8,8,7,7,6,5,5,4,3,3,2,1
05836 };
05837 const int n3c3w1_q[] = {
05838 150,
05839 200,
05840
05841 100,98,98,97,97,97,97,97,96,96,96,96,94,94,94,93,93,92,91,91,
05842 90,90,90,89,89,89,88,87,87,86,86,85,85,83,83,83,83,82,82,82,81,
05843 80,79,79,78,78,78,78,77,77,77,77,77,77,76,75,74,74,73,72,72,72,
05844 71,70,70,69,69,69,67,67,66,66,66,66,66,66,66,66,64,63,62,62,62,
05845 61,61,61,60,60,60,59,59,59,58,58,57,56,56,56,55,54,54,54,54,54,
05846 54,54,53,53,53,53,53,51,51,51,50,50,50,50,49,49,48,47,46,46,45,
05847 45,45,44,44,44,43,43,42,41,41,40,40,40,39,39,39,38,38,37,37,37,
05848 36,36,36,36,36,34,34,34,34,33,30,29,29,28,28,27,27,27,25,25,25,
05849 25,24,24,23,22,22,22,22,19,18,18,16,16,15,14,13,13,13,11,11,10,
05850 10,8,7,5,5,5,4,4,2,1,1,1
05851 };
05852 const int n3c3w1_r[] = {
05853 150,
05854 200,
05855
05856 100,100,99,99,99,99,99,98,97,97,97,96,96,96,94,94,94,94,93,92,
05857 91,91,91,90,90,90,89,88,88,87,87,86,86,86,86,86,85,84,82,81,81,
05858 78,78,78,77,77,77,76,76,74,74,74,73,72,72,71,70,69,69,69,68,68,
05859 68,68,68,67,66,66,66,65,64,64,64,64,63,61,60,60,59,58,57,57,55,
05860 55,55,54,54,52,52,52,51,51,50,49,48,48,47,47,47,46,46,46,46,43,
05861 43,43,43,43,42,42,42,41,41,41,40,40,40,40,40,39,39,39,39,38,38,
05862 38,37,37,37,37,36,36,35,34,33,33,32,31,31,31,31,30,29,29,29,28,
05863 28,28,25,25,23,23,22,22,22,20,20,20,19,19,19,17,17,16,16,16,15,
05864 14,13,13,12,12,11,10,10,9,9,9,9,8,8,8,8,8,7,7,6,6,6,6,5,5,5,4,
05865 4,3,2,2,1,1
05866 };
05867 const int n3c3w1_s[] = {
05868 150,
05869 200,
05870
05871 99,99,97,96,96,95,95,95,95,94,94,94,93,93,93,93,93,92,92,91,91,
05872 90,90,90,89,89,89,87,86,86,86,86,85,84,84,84,84,83,83,83,78,78,
05873 75,75,75,75,74,74,71,71,70,70,70,70,69,69,69,69,69,69,68,67,67,
05874 67,67,67,65,65,65,64,64,63,62,62,62,61,61,60,59,59,59,59,58,57,
05875 57,57,57,56,56,56,55,55,54,54,54,54,54,54,54,53,53,51,50,49,49,
05876 49,49,49,48,47,47,47,44,43,42,41,40,40,40,40,39,39,38,38,38,38,
05877 38,37,37,36,36,35,35,33,33,33,33,32,32,32,31,31,30,30,30,30,29,
05878 29,28,28,28,28,27,27,27,27,26,26,25,25,25,24,24,24,24,23,23,22,
05879 20,17,17,17,17,16,16,16,14,13,12,12,11,11,10,9,9,8,7,7,6,6,6,
05880 5,4,4,2,2,2,2,1,1
05881 };
05882 const int n3c3w1_t[] = {
05883 150,
05884 200,
05885
05886 100,99,98,98,98,98,98,98,97,97,97,96,95,94,94,94,94,94,92,91,
05887 91,91,90,89,88,88,88,87,87,86,86,86,86,85,85,85,84,84,83,83,83,
05888 82,82,80,80,80,80,80,79,79,78,77,77,76,75,74,74,73,73,72,71,71,
05889 70,69,69,69,68,68,67,67,67,67,66,66,66,65,63,63,63,62,61,61,61,
05890 61,61,60,59,59,58,57,57,56,56,56,56,55,55,53,53,52,52,50,50,49,
05891 49,47,47,47,46,46,46,46,45,44,44,43,42,42,42,41,41,41,41,40,40,
05892 40,39,39,37,37,37,37,37,36,36,35,35,35,35,34,33,33,33,32,32,31,
05893 31,30,30,29,27,25,25,23,23,22,22,22,21,21,20,20,19,19,19,19,19,
05894 18,18,18,17,17,16,16,14,14,14,13,12,12,11,10,10,9,9,8,7,7,6,5,
05895 5,5,4,4,4,2,2,2,1,1
05896 };
05897 const int n3c3w2_a[] = {
05898 150,
05899 200,
05900
05901 100,100,100,100,99,99,99,98,98,98,97,97,97,97,97,97,96,96,96,
05902 95,94,94,93,93,93,93,93,92,92,91,91,90,89,89,88,88,88,87,87,87,
05903 86,86,86,85,85,85,84,84,84,83,82,81,81,80,80,79,79,79,79,79,78,
05904 76,76,76,76,75,75,75,75,75,75,74,73,73,73,73,72,72,72,72,72,71,
05905 71,70,70,70,70,69,68,68,68,67,67,65,65,65,64,64,64,64,63,63,63,
05906 63,62,62,62,62,61,60,60,59,59,59,58,58,58,58,56,56,56,56,56,56,
05907 56,56,55,53,52,52,51,51,50,50,50,49,49,49,48,48,47,47,46,46,45,
05908 45,44,44,44,43,43,43,42,42,42,41,41,40,40,39,37,37,37,37,36,36,
05909 35,35,35,34,34,31,30,29,29,29,29,29,28,28,28,28,27,27,26,26,25,
05910 25,25,24,24,23,22,21,21,21,21,21,20,20
05911 };
05912 const int n3c3w2_b[] = {
05913 150,
05914 200,
05915
05916 100,100,100,100,99,99,99,99,98,98,97,97,95,95,95,94,93,92,92,
05917 91,91,90,90,89,89,89,89,89,89,88,87,87,86,86,86,86,85,84,83,83,
05918 82,82,82,81,81,81,81,81,80,80,80,79,79,79,78,77,77,76,76,75,74,
05919 74,73,73,73,73,73,72,72,70,70,70,70,70,69,68,68,68,68,68,67,66,
05920 66,66,66,66,66,65,65,65,65,65,64,64,64,64,63,63,62,62,61,59,59,
05921 59,59,58,58,56,56,56,56,56,55,55,55,55,54,54,54,54,54,54,53,53,
05922 53,53,53,52,51,51,51,50,49,49,49,49,48,48,48,47,47,47,46,46,46,
05923 46,46,45,45,44,44,44,42,42,42,41,39,38,38,38,37,37,36,36,36,36,
05924 35,34,34,33,33,32,32,32,31,31,31,30,30,29,29,29,29,28,28,27,26,
05925 25,23,23,23,22,22,22,22,22,21,21,21,21
05926 };
05927 const int n3c3w2_c[] = {
05928 150,
05929 200,
05930
05931 100,100,100,99,98,98,97,96,96,96,96,96,96,95,95,94,94,94,94,93,
05932 93,93,93,93,93,92,92,92,90,89,89,89,89,87,87,86,86,86,86,85,85,
05933 84,84,84,84,83,83,83,83,83,81,81,81,80,80,79,79,79,79,78,78,77,
05934 77,77,76,76,76,74,74,74,74,73,73,73,73,73,72,70,70,69,69,69,69,
05935 68,67,66,66,66,66,65,65,65,64,64,63,62,62,61,61,60,60,60,58,58,
05936 57,57,57,57,56,56,55,55,55,55,55,54,54,54,54,54,53,53,53,53,52,
05937 51,51,51,50,50,50,50,50,49,49,48,48,46,46,45,44,44,44,43,43,43,
05938 40,40,40,40,40,39,39,38,38,37,37,37,37,37,36,35,35,34,34,33,33,
05939 33,33,32,32,32,32,31,31,30,29,29,29,29,29,28,28,27,27,27,27,26,
05940 26,26,25,24,23,22,22,22,21,21,21,20
05941 };
05942 const int n3c3w2_d[] = {
05943 150,
05944 200,
05945
05946 100,99,99,98,98,98,96,95,95,94,94,94,93,93,92,92,89,89,89,89,
05947 88,88,88,88,87,87,87,87,86,86,86,85,84,84,83,83,83,83,83,82,81,
05948 80,80,80,79,79,79,78,78,77,77,77,77,77,77,75,74,74,74,73,73,72,
05949 72,71,71,71,71,71,71,70,69,68,68,67,66,66,66,65,65,65,65,65,64,
05950 64,64,64,62,62,62,62,61,61,61,60,60,60,59,59,59,59,58,58,58,58,
05951 57,57,57,57,56,56,56,55,54,54,54,54,54,53,53,53,53,52,51,50,50,
05952 50,49,48,48,48,48,48,48,47,47,45,45,45,44,44,43,43,43,43,43,42,
05953 42,41,41,41,40,40,40,40,40,39,39,38,38,38,37,37,36,36,36,35,35,
05954 34,34,33,33,32,32,31,31,31,30,29,29,28,27,26,25,25,25,24,24,24,
05955 24,24,23,22,22,22,21,21,21,20,20,20
05956 };
05957 const int n3c3w2_e[] = {
05958 150,
05959 200,
05960
05961 100,99,97,97,96,96,96,95,95,95,95,94,94,93,93,93,93,92,92,91,
05962 90,90,90,90,90,90,90,90,89,89,88,88,88,87,86,86,86,84,84,84,84,
05963 83,83,81,81,80,80,80,78,78,78,77,77,77,76,75,75,75,74,73,73,73,
05964 72,71,71,71,70,70,70,69,69,69,68,67,67,67,66,66,65,64,64,63,63,
05965 63,62,62,62,62,62,62,61,61,61,60,60,60,59,59,59,58,58,58,58,57,
05966 57,57,56,55,55,55,55,53,53,53,52,51,51,51,51,50,50,50,49,49,49,
05967 49,48,47,46,46,45,45,45,44,44,44,44,43,43,43,43,43,42,41,41,41,
05968 40,40,40,40,40,39,39,39,39,39,38,37,37,36,36,35,34,34,34,34,33,
05969 33,32,32,32,31,31,31,31,30,30,30,29,28,27,27,26,25,25,25,24,24,
05970 24,23,23,23,22,22,22,22,21,21,21,20
05971 };
05972 const int n3c3w2_f[] = {
05973 150,
05974 200,
05975
05976 100,100,100,100,99,99,98,98,97,97,97,96,95,95,95,95,95,94,94,
05977 94,94,93,93,93,93,92,90,89,89,89,89,88,88,88,87,87,87,86,85,85,
05978 85,84,84,84,83,83,82,82,82,82,82,81,81,80,80,80,79,79,79,79,78,
05979 78,78,76,75,75,74,74,74,73,72,72,72,72,72,72,71,70,70,70,69,68,
05980 68,68,66,65,65,64,64,64,62,61,61,60,59,59,58,58,57,57,57,56,56,
05981 55,55,55,55,54,54,54,53,53,52,52,52,52,51,51,51,50,50,50,50,50,
05982 49,49,48,48,47,47,46,46,46,46,45,45,44,44,44,44,44,44,44,43,43,
05983 43,43,43,43,43,42,42,42,41,41,41,41,40,40,39,39,38,38,38,37,37,
05984 36,36,35,35,35,35,34,34,34,33,31,31,31,30,30,30,30,30,29,28,27,
05985 26,26,25,25,24,24,22,22,21,20,20,20,20
05986 };
05987 const int n3c3w2_g[] = {
05988 150,
05989 200,
05990
05991 100,100,100,100,100,100,99,99,98,98,98,97,97,96,96,95,94,93,93,
05992 93,92,91,90,90,90,89,89,88,88,88,88,88,87,87,87,87,86,86,85,85,
05993 85,84,84,84,84,84,83,83,83,82,81,81,80,80,79,78,77,77,77,77,76,
05994 76,75,75,75,75,74,74,74,73,73,73,73,72,71,70,70,70,70,69,68,68,
05995 68,68,68,67,67,67,67,66,66,65,65,65,64,63,63,63,63,63,63,62,62,
05996 62,60,60,59,59,59,58,57,56,55,55,54,53,53,52,51,50,50,50,50,49,
05997 48,48,48,48,48,47,47,47,47,46,46,45,44,44,43,43,43,43,43,43,42,
05998 42,41,41,39,39,38,38,37,37,37,36,36,36,35,34,34,34,34,33,33,32,
05999 31,31,31,31,30,30,30,30,30,29,28,27,27,26,26,26,25,25,25,25,25,
06000 25,24,24,24,23,23,22,21,21,21,20,20,20
06001 };
06002 const int n3c3w2_h[] = {
06003 150,
06004 200,
06005
06006 100,100,100,100,100,99,99,99,99,99,98,98,97,97,97,96,94,94,94,
06007 94,94,94,94,93,93,91,91,91,90,89,89,89,88,88,87,87,87,86,86,86,
06008 86,86,86,86,85,85,85,85,84,84,83,83,82,82,81,81,81,80,80,79,79,
06009 78,78,77,77,76,75,75,75,74,74,74,74,74,73,73,72,71,71,70,69,68,
06010 68,67,67,66,66,66,66,65,65,65,65,65,64,63,63,63,63,63,61,61,61,
06011 60,60,60,60,59,59,58,58,58,57,57,56,56,56,55,54,54,53,53,52,52,
06012 52,51,50,50,48,48,47,46,46,44,44,44,44,44,43,43,43,43,42,41,41,
06013 41,40,40,40,40,39,39,39,39,38,38,38,38,38,38,38,37,37,36,36,36,
06014 35,35,34,34,33,32,32,32,32,31,31,30,30,30,29,28,27,27,26,26,26,
06015 26,25,25,25,24,23,22,22,22,21,21,20,20
06016 };
06017 const int n3c3w2_i[] = {
06018 150,
06019 200,
06020
06021 100,99,99,99,99,99,99,98,98,98,96,96,96,95,95,95,95,95,95,95,
06022 95,94,94,92,92,92,92,92,92,92,92,92,91,89,89,87,87,86,86,86,85,
06023 85,85,84,84,84,83,83,83,82,82,81,81,81,81,79,79,79,79,77,76,75,
06024 75,74,74,73,72,70,69,69,69,69,69,69,69,69,68,67,67,64,64,64,64,
06025 64,64,63,63,63,63,63,62,62,62,62,61,59,58,58,57,57,56,55,55,54,
06026 54,52,52,52,52,52,51,51,50,50,50,48,47,46,46,45,45,45,45,45,45,
06027 45,44,44,44,44,43,42,42,41,41,41,41,41,41,40,40,39,39,38,38,38,
06028 37,37,36,36,36,35,35,35,35,35,35,35,35,34,34,34,34,33,33,32,31,
06029 31,31,31,31,30,30,30,29,29,28,28,28,28,28,27,26,26,26,26,25,24,
06030 24,23,23,23,22,22,22,22,21,21,20,20
06031 };
06032 const int n3c3w2_j[] = {
06033 150,
06034 200,
06035
06036 99,99,99,99,99,99,98,98,98,97,97,97,97,96,96,96,95,95,95,95,95,
06037 95,94,94,94,93,93,92,92,92,92,92,91,91,90,90,87,87,87,87,87,86,
06038 86,85,84,84,84,83,83,83,83,82,82,82,82,82,82,81,80,80,79,78,78,
06039 77,76,76,75,75,74,74,73,73,72,72,72,71,71,71,70,70,69,69,69,68,
06040 68,68,68,68,67,67,66,66,66,65,65,65,64,64,64,64,63,63,61,60,59,
06041 59,59,59,58,58,57,57,57,57,56,56,55,55,54,54,54,54,54,53,52,52,
06042 52,52,50,50,49,49,49,48,48,48,48,48,48,47,47,47,47,46,45,44,44,
06043 43,43,43,43,43,42,41,41,40,40,40,40,40,39,38,37,36,36,35,34,34,
06044 33,33,32,32,31,30,30,29,28,28,28,28,28,27,26,26,25,24,23,23,23,
06045 23,23,22,22,22,21,21,21,21,21,20
06046 };
06047 const int n3c3w2_k[] = {
06048 150,
06049 200,
06050
06051 100,100,100,100,100,99,99,98,98,98,98,97,97,96,96,96,95,95,94,
06052 94,93,93,93,92,91,91,91,91,91,90,89,89,89,89,89,88,88,88,88,88,
06053 87,87,86,86,86,86,85,85,85,84,84,84,83,83,83,82,82,82,82,82,81,
06054 81,80,80,80,80,79,79,79,79,79,79,78,75,75,75,74,74,73,73,73,73,
06055 73,71,71,70,70,68,68,67,67,67,67,67,66,65,65,65,65,64,64,63,62,
06056 62,62,62,61,61,60,59,58,58,57,56,56,55,54,54,53,52,52,52,52,52,
06057 51,51,51,51,51,51,51,48,48,47,47,46,46,46,46,46,45,45,44,43,43,
06058 43,43,43,42,42,41,39,39,39,38,36,34,34,33,33,33,33,33,32,32,31,
06059 31,31,30,30,30,29,29,29,29,28,28,28,28,28,27,27,26,26,26,26,26,
06060 25,25,25,25,24,24,22,22,21,21,21,21,20
06061 };
06062 const int n3c3w2_l[] = {
06063 150,
06064 200,
06065
06066 100,100,99,99,99,99,99,98,98,98,98,97,97,97,97,97,96,96,96,95,
06067 95,94,94,94,93,93,92,91,91,90,90,89,89,89,89,89,88,87,85,85,85,
06068 85,85,84,83,83,83,82,82,81,81,80,80,80,80,79,79,79,79,78,78,76,
06069 75,75,74,74,74,74,74,73,73,73,72,71,70,70,69,69,69,69,68,67,67,
06070 67,67,66,66,66,65,64,64,64,63,63,63,63,62,62,61,61,60,60,60,60,
06071 60,60,58,58,57,56,56,56,56,56,56,55,55,55,54,54,53,51,51,51,51,
06072 51,50,50,50,49,48,48,47,46,46,46,45,45,45,45,45,44,44,43,42,41,
06073 41,41,40,40,40,39,39,39,39,38,38,37,37,37,37,36,35,35,35,34,34,
06074 34,33,33,32,30,30,30,30,30,29,29,28,28,28,27,26,26,26,25,25,25,
06075 25,24,24,24,24,23,23,23,23,23,22,21
06076 };
06077 const int n3c3w2_m[] = {
06078 150,
06079 200,
06080
06081 100,100,100,99,99,99,99,98,98,97,97,97,96,96,96,96,96,96,95,95,
06082 94,93,93,93,93,92,92,92,91,91,91,91,91,91,91,90,89,89,89,88,86,
06083 86,86,85,85,85,85,84,84,83,83,82,82,82,82,80,80,80,80,80,79,79,
06084 79,78,77,77,77,74,74,73,73,73,73,73,73,72,71,71,70,70,69,69,69,
06085 69,69,68,68,68,67,66,65,65,65,64,64,64,63,62,61,61,61,61,61,60,
06086 60,60,59,58,57,57,57,57,56,56,56,56,56,55,55,55,54,54,54,54,54,
06087 53,53,52,52,52,51,50,50,50,50,49,49,49,48,47,47,46,46,45,45,45,
06088 44,44,44,44,44,43,42,42,41,38,38,38,38,38,37,37,37,35,35,35,35,
06089 35,33,32,32,32,32,31,31,31,31,30,30,29,29,29,29,28,27,26,26,25,
06090 25,25,25,25,25,24,24,23,23,21,20,20
06091 };
06092 const int n3c3w2_n[] = {
06093 150,
06094 200,
06095
06096 100,100,100,99,98,98,97,97,97,96,94,94,93,93,92,91,90,90,89,89,
06097 89,89,89,88,88,88,87,87,87,87,86,86,86,86,85,85,83,83,83,82,82,
06098 82,82,81,80,80,80,80,78,77,77,76,76,74,73,73,73,73,72,72,72,71,
06099 71,71,70,70,70,69,69,69,68,68,68,68,67,67,66,66,66,65,65,65,65,
06100 64,64,64,64,63,62,60,59,58,58,58,57,57,57,57,57,57,56,55,55,53,
06101 52,52,52,51,50,50,49,48,48,48,48,48,48,48,47,46,46,46,46,45,45,
06102 45,45,44,44,44,44,43,43,43,42,42,42,42,41,40,40,39,39,39,39,38,
06103 38,38,38,38,38,36,36,35,34,34,33,33,33,33,33,33,32,32,32,32,32,
06104 31,31,31,31,31,30,30,30,30,29,28,27,27,27,26,26,25,25,25,24,24,
06105 23,23,23,22,22,21,21,20,20,20,20,20
06106 };
06107 const int n3c3w2_o[] = {
06108 150,
06109 200,
06110
06111 100,100,100,100,99,98,98,97,97,97,97,97,97,96,96,95,94,93,93,
06112 92,91,91,91,90,90,90,90,89,89,89,89,88,88,88,88,87,87,86,86,86,
06113 85,85,85,85,85,84,84,84,84,83,82,82,82,82,82,81,81,81,81,80,79,
06114 79,79,79,78,78,78,78,77,76,76,75,75,74,74,73,71,71,70,70,70,70,
06115 69,69,68,68,68,67,67,67,66,65,65,65,65,63,63,62,61,61,61,61,59,
06116 59,59,59,59,58,58,58,57,57,57,56,56,56,55,55,55,54,54,54,54,53,
06117 53,53,53,53,52,52,51,51,50,50,50,49,48,47,46,45,45,44,43,42,42,
06118 42,41,41,41,41,40,40,39,39,38,37,36,36,35,34,34,34,34,34,34,33,
06119 33,32,31,31,30,30,29,29,29,29,29,28,28,27,26,25,25,25,24,24,24,
06120 23,23,22,22,22,21,21,21,20,20,20,20,20
06121 };
06122 const int n3c3w2_p[] = {
06123 150,
06124 200,
06125
06126 100,99,99,99,99,99,98,98,98,98,96,96,96,96,95,95,94,93,93,92,
06127 92,92,92,91,91,91,91,90,90,90,89,89,87,87,87,86,85,84,84,84,83,
06128 82,82,82,81,81,80,80,79,79,79,78,78,78,76,76,76,76,75,75,75,73,
06129 73,73,72,72,71,71,71,71,70,70,70,69,69,68,68,68,68,67,67,67,67,
06130 67,67,67,66,66,66,65,65,64,64,64,63,63,63,62,62,62,62,61,61,60,
06131 59,59,59,58,57,57,56,55,55,55,55,55,53,52,52,51,51,51,51,51,50,
06132 50,50,50,49,49,49,48,47,47,46,46,45,44,44,44,44,43,43,41,41,41,
06133 40,40,38,38,37,37,37,37,36,36,36,36,36,35,34,34,34,34,33,33,33,
06134 32,32,32,31,31,31,30,30,29,27,27,27,27,26,26,25,25,25,25,25,24,
06135 24,24,23,23,23,22,22,22,20,20,20,20
06136 };
06137 const int n3c3w2_q[] = {
06138 150,
06139 200,
06140
06141 100,99,99,99,98,98,98,98,98,97,97,96,96,95,94,94,94,93,93,93,
06142 92,92,91,91,91,91,90,90,89,88,88,88,87,87,87,86,86,86,85,85,84,
06143 84,83,82,80,80,80,79,79,79,79,78,78,77,77,77,76,74,74,73,73,73,
06144 72,71,71,71,70,70,70,70,68,68,68,67,67,67,67,66,66,65,64,64,63,
06145 63,61,61,60,60,60,60,59,59,58,58,58,58,57,57,57,56,56,55,54,51,
06146 51,50,49,48,48,48,47,45,45,45,44,44,44,44,43,43,43,43,43,43,42,
06147 42,42,42,41,41,40,39,39,39,39,38,38,38,38,38,38,38,38,37,37,37,
06148 36,36,35,35,35,35,34,34,34,34,34,33,33,33,33,32,32,31,31,31,30,
06149 30,29,28,28,28,27,25,25,24,24,24,24,24,23,23,23,23,23,22,22,22,
06150 22,22,21,21,21,21,21,21,21,20,20,20
06151 };
06152 const int n3c3w2_r[] = {
06153 150,
06154 200,
06155
06156 100,100,99,99,99,97,96,96,96,95,95,95,95,95,94,94,94,94,93,93,
06157 93,92,92,91,90,89,89,89,88,88,87,87,87,87,86,85,85,84,84,83,83,
06158 83,82,82,81,81,81,80,80,80,80,80,79,78,78,77,77,76,76,75,74,74,
06159 73,73,73,72,71,71,71,70,70,70,69,68,68,68,67,67,67,66,65,65,65,
06160 64,64,63,62,62,62,61,61,61,60,60,60,59,58,58,58,58,58,58,57,57,
06161 57,57,56,56,55,54,53,53,53,53,52,52,52,51,51,50,50,50,49,49,49,
06162 48,46,46,46,46,46,46,44,43,43,43,42,42,42,41,41,40,40,40,39,39,
06163 39,38,38,38,37,37,37,36,36,36,36,35,35,35,35,33,33,33,33,33,32,
06164 32,32,32,32,31,31,30,30,29,29,29,29,29,29,29,29,28,28,28,28,27,
06165 26,26,26,25,24,24,24,23,22,21,21,21
06166 };
06167 const int n3c3w2_s[] = {
06168 150,
06169 200,
06170
06171 100,98,98,98,98,97,97,97,96,96,95,95,95,94,94,94,93,92,91,91,
06172 91,90,89,89,88,88,87,87,87,87,87,86,86,86,86,85,85,85,84,84,84,
06173 83,83,82,81,80,80,80,80,80,79,78,78,78,78,77,77,77,77,77,77,77,
06174 76,76,76,74,74,74,74,74,73,73,73,72,71,71,71,69,69,69,69,69,68,
06175 68,67,67,67,66,66,66,65,65,65,65,64,64,64,62,62,62,62,62,61,61,
06176 61,61,59,59,59,57,57,57,56,55,55,54,52,52,52,51,51,50,50,50,50,
06177 49,49,48,48,47,46,46,45,45,45,44,44,44,43,42,41,41,41,40,39,39,
06178 38,37,37,37,37,37,36,36,35,35,35,34,34,34,33,33,33,32,31,31,31,
06179 31,30,30,30,29,29,29,28,28,28,28,27,27,27,27,26,26,25,25,24,24,
06180 24,23,23,23,22,22,22,22,21,21,20,20
06181 };
06182 const int n3c3w2_t[] = {
06183 150,
06184 200,
06185
06186 100,100,99,99,99,99,99,98,97,97,96,95,95,95,94,94,94,93,92,92,
06187 92,91,91,90,90,90,88,88,87,85,85,84,84,84,84,84,84,84,84,84,83,
06188 83,82,82,82,82,82,82,81,81,80,80,79,79,78,78,78,78,78,78,77,77,
06189 77,76,76,75,74,74,74,74,73,73,72,71,70,69,69,69,67,67,66,65,64,
06190 64,62,62,62,61,61,61,60,60,60,60,59,59,58,57,57,56,56,56,56,56,
06191 56,55,55,55,55,54,53,53,53,53,52,52,51,51,49,49,49,49,49,49,49,
06192 48,47,47,47,46,46,45,44,44,44,44,43,43,42,42,42,42,41,39,39,38,
06193 37,37,37,36,36,36,36,35,35,33,33,33,33,33,32,32,32,31,31,31,31,
06194 30,30,30,30,30,30,29,29,29,29,28,28,28,28,26,25,25,25,24,24,24,
06195 23,23,23,23,23,22,22,21,21,21,21,20
06196 };
06197 const int n3c3w4_a[] = {
06198 150,
06199 200,
06200
06201 100,100,100,100,100,100,99,99,99,99,98,98,98,98,98,98,97,97,96,
06202 96,96,96,96,95,95,95,94,94,93,93,93,92,92,92,91,90,90,89,89,89,
06203 89,89,89,89,89,89,88,88,87,86,86,86,85,85,85,85,84,84,83,83,82,
06204 82,82,81,80,80,80,80,79,79,78,78,78,78,77,76,76,76,75,74,73,73,
06205 73,73,73,72,72,72,71,68,68,68,68,68,67,66,66,65,65,65,65,65,65,
06206 64,64,63,63,62,62,62,62,60,59,59,59,58,58,58,56,56,56,55,55,55,
06207 54,54,54,54,53,53,53,52,52,52,51,51,51,51,51,50,50,50,50,50,49,
06208 49,49,49,48,48,48,48,47,46,46,45,45,45,45,44,43,43,43,43,42,42,
06209 41,41,41,40,40,40,39,39,39,39,39,38,38,38,37,37,37,36,35,35,34,
06210 34,34,34,33,33,33,33,32,32,31,30,30,30
06211 };
06212 const int n3c3w4_b[] = {
06213 150,
06214 200,
06215
06216 99,99,98,98,97,97,97,96,96,96,96,95,95,95,94,94,93,93,92,92,91,
06217 91,91,91,91,90,89,89,89,88,88,87,87,87,86,86,86,86,86,86,86,84,
06218 84,83,82,82,82,82,81,81,81,81,80,80,80,79,79,79,79,78,78,78,78,
06219 77,77,77,77,77,76,76,75,75,75,75,74,74,74,73,72,72,72,72,72,72,
06220 72,71,71,70,70,70,69,69,69,69,69,68,68,68,68,67,67,67,67,67,67,
06221 65,65,64,63,63,62,62,62,62,62,61,61,61,60,60,59,58,57,57,56,55,
06222 55,55,55,53,53,52,52,52,52,51,51,51,51,50,50,50,49,49,49,48,48,
06223 48,48,47,47,46,45,45,45,44,44,44,44,44,43,43,43,43,42,42,42,42,
06224 42,42,41,40,40,39,38,38,38,37,37,36,36,36,36,36,35,35,35,34,34,
06225 33,33,33,32,32,32,31,31,31,31,30
06226 };
06227 const int n3c3w4_c[] = {
06228 150,
06229 200,
06230
06231 100,99,98,98,98,97,97,97,97,97,97,96,96,96,96,96,95,95,95,95,
06232 95,95,94,94,94,94,94,94,93,93,92,92,92,92,91,91,90,89,89,89,89,
06233 88,88,88,88,87,87,87,87,86,85,84,84,83,83,83,83,82,82,82,82,81,
06234 80,79,79,79,79,77,77,77,76,76,74,74,74,73,73,73,73,72,72,72,71,
06235 71,71,71,71,71,71,70,69,69,69,69,68,68,67,67,66,65,65,64,63,63,
06236 63,63,62,62,62,62,60,60,59,59,59,59,59,58,58,58,58,58,58,57,57,
06237 56,56,56,56,55,55,54,53,53,53,52,52,52,52,51,51,50,50,50,49,49,
06238 48,48,48,48,47,47,46,46,46,46,46,45,45,44,43,43,43,43,42,41,41,
06239 39,38,38,38,38,38,37,37,37,37,37,37,36,36,36,36,35,35,35,35,34,
06240 34,34,34,34,33,33,33,32,32,31,31,30
06241 };
06242 const int n3c3w4_d[] = {
06243 150,
06244 200,
06245
06246 100,100,100,100,100,100,99,98,98,98,97,96,96,96,96,95,95,95,94,
06247 94,94,94,94,93,92,92,92,92,91,91,91,90,90,90,90,88,87,87,86,86,
06248 86,86,85,85,85,83,83,82,82,82,82,81,81,81,80,80,79,79,79,79,79,
06249 78,78,78,78,78,78,77,76,75,75,75,75,75,75,74,74,73,73,73,73,72,
06250 72,72,71,70,70,69,68,68,68,67,66,65,65,65,65,64,64,63,63,63,63,
06251 63,62,61,61,60,60,60,59,59,59,59,58,58,56,56,56,56,56,56,55,55,
06252 55,55,55,54,54,54,53,53,53,52,52,52,51,51,51,51,50,50,50,49,48,
06253 48,48,48,48,48,48,48,47,47,47,47,47,46,46,46,45,45,45,45,44,43,
06254 43,43,42,42,42,41,40,38,37,37,37,37,36,36,36,36,35,34,34,34,33,
06255 33,33,33,33,32,32,32,32,32,32,30,30,30
06256 };
06257 const int n3c3w4_e[] = {
06258 150,
06259 200,
06260
06261 100,100,99,99,98,98,97,96,96,95,94,94,93,93,93,93,93,92,92,91,
06262 90,90,90,90,89,89,89,88,88,88,88,87,87,87,87,86,86,85,85,85,84,
06263 84,83,83,83,82,81,81,80,80,80,79,79,78,78,78,77,77,77,77,76,76,
06264 75,75,75,75,74,74,74,74,73,73,73,72,71,71,71,71,70,70,69,68,68,
06265 68,68,68,68,68,67,67,67,66,66,66,65,64,64,64,64,63,63,63,63,62,
06266 62,61,61,61,60,60,58,58,58,58,58,57,57,56,56,56,56,56,56,55,55,
06267 55,54,54,54,53,53,52,52,52,52,51,51,51,50,50,50,49,49,49,48,48,
06268 47,47,47,47,46,46,46,46,46,45,44,44,44,44,44,43,43,42,42,42,42,
06269 41,41,41,39,39,39,39,39,39,38,38,37,37,37,37,36,35,35,34,34,34,
06270 34,34,33,33,33,33,32,32,31,30,30,30
06271 };
06272 const int n3c3w4_f[] = {
06273 150,
06274 200,
06275
06276 100,100,99,99,99,98,98,98,98,98,97,97,97,97,96,96,95,94,94,93,
06277 93,93,92,92,92,91,90,90,87,87,87,86,86,86,86,85,85,84,83,83,83,
06278 82,82,81,81,80,80,80,80,80,80,80,79,79,79,79,79,79,78,78,78,76,
06279 75,75,74,73,73,72,71,71,71,71,71,70,69,69,69,68,68,67,67,67,66,
06280 66,66,66,66,66,66,66,65,65,65,63,63,63,63,62,62,62,62,61,61,60,
06281 60,60,60,60,60,58,58,58,58,58,58,57,56,56,56,56,55,55,54,54,54,
06282 53,53,53,52,52,51,51,51,49,49,49,48,48,48,48,48,48,47,46,46,46,
06283 46,45,45,44,44,44,43,43,42,42,42,42,41,41,41,40,40,40,40,39,39,
06284 39,39,39,39,39,38,38,38,38,37,36,36,36,36,36,36,35,35,35,35,34,
06285 34,33,33,32,31,31,31,31,30,30,30,30
06286 };
06287 const int n3c3w4_g[] = {
06288 150,
06289 200,
06290
06291 100,100,100,100,100,99,99,98,98,98,98,98,98,98,97,97,97,97,97,
06292 96,95,94,94,94,93,93,92,92,92,91,91,91,91,91,90,90,90,89,89,89,
06293 89,89,88,88,88,88,88,87,87,87,87,86,86,86,86,85,85,84,84,84,84,
06294 84,84,83,83,83,83,82,82,81,81,81,80,80,80,80,79,78,77,77,77,76,
06295 76,76,76,76,76,76,75,75,75,75,74,74,74,74,74,72,72,71,71,71,70,
06296 70,69,68,68,68,68,68,67,67,66,66,65,65,65,64,63,63,62,62,61,61,
06297 61,60,60,60,60,60,60,59,59,59,58,58,58,58,57,57,56,56,55,55,55,
06298 55,54,54,54,54,54,54,52,52,51,50,50,49,49,49,48,47,47,47,47,46,
06299 46,46,45,44,44,43,43,42,42,40,40,39,38,38,38,38,37,37,36,36,35,
06300 35,35,35,35,35,34,34,32,31,31,31,31,30
06301 };
06302 const int n3c3w4_h[] = {
06303 150,
06304 200,
06305
06306 100,99,99,99,97,97,96,95,95,94,94,94,94,93,92,92,92,92,92,92,
06307 92,91,91,91,91,90,90,89,89,89,89,88,87,87,86,86,86,85,85,85,84,
06308 84,84,83,83,83,82,82,82,82,81,81,81,81,79,79,77,77,76,76,76,76,
06309 75,75,74,74,74,74,73,72,71,71,70,70,68,68,67,67,67,66,66,66,65,
06310 65,64,63,63,63,62,62,62,62,62,61,61,61,61,60,60,60,60,60,60,60,
06311 58,58,57,57,57,56,56,56,56,56,55,55,55,55,54,54,53,53,53,53,53,
06312 52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,49,49,49,48,48,48,
06313 48,48,47,47,47,47,46,46,45,45,45,44,44,44,43,43,43,42,42,42,41,
06314 40,40,39,39,39,39,38,38,37,37,37,37,37,36,36,35,35,35,35,35,34,
06315 34,34,34,33,33,33,32,31,31,30,30,30
06316 };
06317 const int n3c3w4_i[] = {
06318 150,
06319 200,
06320
06321 100,100,100,99,99,97,97,97,96,96,96,96,96,95,95,95,95,94,94,93,
06322 93,93,93,92,92,92,92,92,91,91,91,90,90,90,90,89,89,89,89,89,88,
06323 88,88,88,88,88,87,87,86,86,85,85,85,85,85,84,84,84,83,83,83,82,
06324 81,81,81,80,79,79,79,79,79,79,78,78,78,78,78,77,77,76,76,75,75,
06325 75,75,74,74,74,73,72,72,72,72,71,71,71,70,70,70,70,69,69,69,69,
06326 69,68,67,67,67,67,66,66,66,65,65,65,64,63,63,63,63,62,62,62,61,
06327 61,61,61,60,60,59,59,58,58,58,58,56,56,55,55,55,53,53,52,52,52,
06328 52,51,51,50,49,48,48,48,48,47,46,46,46,46,45,45,45,44,44,43,43,
06329 42,42,41,41,40,40,40,40,39,39,38,38,38,38,37,37,37,36,36,36,35,
06330 35,35,34,34,33,32,32,32,32,31,31,30
06331 };
06332 const int n3c3w4_j[] = {
06333 150,
06334 200,
06335
06336 100,100,99,98,97,97,97,96,96,96,95,95,95,95,94,94,94,94,94,94,
06337 93,93,93,93,93,93,92,91,91,91,90,90,90,89,89,89,87,87,86,86,85,
06338 85,85,85,85,84,84,83,83,83,83,82,82,82,82,81,81,81,81,81,81,81,
06339 80,80,78,78,78,78,77,77,77,76,76,75,75,75,75,74,74,74,74,73,73,
06340 73,71,71,71,71,70,70,69,69,68,68,67,67,67,66,66,66,65,64,63,63,
06341 63,62,61,61,61,61,61,61,60,60,60,60,58,58,58,58,57,57,57,57,56,
06342 56,56,56,56,56,55,54,53,53,53,53,52,52,52,52,51,51,50,50,49,49,
06343 49,48,48,48,48,48,48,47,47,46,46,46,46,46,44,44,44,43,43,43,42,
06344 42,42,41,41,39,39,39,38,37,37,37,36,36,36,34,32,32,32,32,32,31,
06345 31,31,31,31,31,31,31,31,31,30,30,30
06346 };
06347 const int n3c3w4_k[] = {
06348 150,
06349 200,
06350
06351 100,100,100,99,99,99,99,98,98,98,98,97,97,97,96,96,96,96,96,95,
06352 95,95,94,94,94,92,92,92,92,92,92,91,91,90,90,90,90,90,90,89,89,
06353 88,88,88,87,87,86,86,85,85,85,84,84,84,84,83,82,82,81,81,79,79,
06354 78,77,77,77,77,77,76,76,75,75,74,74,74,73,73,73,73,73,73,72,71,
06355 70,70,70,70,70,69,69,69,69,68,68,67,67,67,66,66,65,65,64,64,63,
06356 63,63,62,62,62,62,62,60,60,60,60,59,59,59,58,58,58,58,58,58,57,
06357 57,57,56,56,56,56,55,55,55,54,54,54,53,53,53,53,53,53,52,51,50,
06358 49,49,49,49,49,48,48,48,47,47,47,47,47,47,46,45,45,45,44,44,43,
06359 43,43,42,42,41,41,41,41,40,39,39,39,38,38,38,37,37,37,36,36,36,
06360 35,35,35,34,33,33,33,33,32,31,31,30
06361 };
06362 const int n3c3w4_l[] = {
06363 150,
06364 200,
06365
06366 100,100,99,99,99,98,98,98,97,97,97,97,96,96,96,96,96,95,95,95,
06367 95,94,94,93,93,92,92,91,91,91,90,90,90,90,89,89,89,88,88,88,87,
06368 86,86,86,86,85,85,85,84,84,84,84,83,83,83,83,83,82,82,82,82,82,
06369 81,81,81,81,80,80,80,80,79,79,78,78,77,77,77,76,75,75,74,74,74,
06370 73,73,73,72,72,71,71,71,71,70,70,69,68,67,65,65,64,64,64,63,63,
06371 63,62,62,62,62,60,60,60,60,59,59,59,58,58,58,58,57,56,56,56,56,
06372 55,55,54,54,54,53,53,53,53,53,53,52,52,52,52,52,50,50,50,50,50,
06373 50,49,49,48,48,48,47,47,46,45,45,45,44,44,44,44,44,43,43,43,43,
06374 43,42,42,42,42,41,41,40,40,40,39,39,38,37,36,36,36,36,35,35,34,
06375 34,33,33,32,32,32,31,31,31,30,30,30
06376 };
06377 const int n3c3w4_m[] = {
06378 150,
06379 200,
06380
06381 100,100,100,99,99,98,98,98,98,97,96,95,94,94,94,94,93,93,93,93,
06382 93,92,92,92,91,90,90,90,90,90,90,89,89,88,88,87,87,86,86,86,86,
06383 86,85,85,85,85,84,84,83,83,83,82,82,82,82,82,81,81,80,80,79,79,
06384 79,79,79,79,78,78,78,77,77,76,76,76,76,75,75,75,74,74,74,74,74,
06385 73,73,73,73,72,72,71,69,69,69,69,68,68,68,67,67,66,65,65,65,63,
06386 63,63,62,61,61,61,61,60,60,59,59,59,59,58,58,58,58,58,56,56,56,
06387 55,55,54,54,54,53,53,53,53,53,52,52,52,52,51,51,51,51,51,50,50,
06388 49,49,49,48,48,47,46,46,46,46,45,45,45,44,44,44,42,42,42,41,41,
06389 39,39,38,38,38,38,38,37,37,37,37,37,37,37,36,36,36,36,35,35,35,
06390 34,34,34,33,32,31,30,30,30,30,30,30
06391 };
06392 const int n3c3w4_n[] = {
06393 150,
06394 200,
06395
06396 100,100,100,100,100,99,99,98,98,97,97,97,97,96,95,95,93,93,93,
06397 93,92,91,91,90,90,89,89,89,88,88,88,87,87,87,86,86,86,86,86,85,
06398 85,85,84,84,84,84,84,84,83,83,83,82,82,82,81,81,81,80,80,79,79,
06399 79,78,78,78,78,78,77,77,76,75,75,75,75,75,75,74,74,74,74,74,72,
06400 71,71,71,71,71,71,70,69,69,69,68,67,66,65,65,65,64,64,63,63,62,
06401 62,62,61,60,59,59,59,59,58,58,58,57,57,57,57,56,56,56,56,55,54,
06402 54,53,52,52,51,50,49,49,49,49,48,48,48,48,48,47,47,47,46,46,46,
06403 46,46,45,45,45,45,44,44,44,44,44,44,43,43,43,42,42,42,41,41,41,
06404 41,40,40,40,40,40,40,39,39,38,38,37,37,36,36,35,34,34,34,34,34,
06405 33,33,33,33,33,33,32,32,32,32,31,30,30
06406 };
06407 const int n3c3w4_o[] = {
06408 150,
06409 200,
06410
06411 100,100,100,100,100,99,98,98,98,98,97,97,97,96,96,96,96,96,96,
06412 95,94,94,93,92,92,92,91,91,91,91,90,90,90,89,89,89,89,89,87,87,
06413 87,86,86,86,86,86,85,85,85,83,83,82,82,81,81,81,80,80,79,79,78,
06414 78,78,78,77,77,77,77,76,76,76,75,75,75,75,73,73,73,72,72,71,71,
06415 70,70,70,69,69,68,68,67,67,67,67,66,65,64,64,64,64,63,63,63,63,
06416 62,62,61,61,61,61,60,60,60,60,59,59,59,59,59,58,58,58,58,57,57,
06417 57,57,56,56,55,55,55,55,54,54,53,53,53,51,51,51,50,50,50,50,50,
06418 49,49,48,47,47,47,47,47,46,45,45,44,44,43,42,42,41,41,41,40,40,
06419 40,40,39,39,37,37,37,37,37,36,36,36,35,35,35,35,35,34,34,33,33,
06420 33,33,32,31,31,31,31,31,31,31,30,30,30
06421 };
06422 const int n3c3w4_p[] = {
06423 150,
06424 200,
06425
06426 100,100,100,99,99,97,97,97,96,95,95,95,94,94,94,93,93,93,92,92,
06427 92,92,92,92,91,91,91,91,90,90,89,88,88,86,85,85,83,83,83,82,82,
06428 81,81,80,80,80,79,79,79,77,77,77,77,77,77,77,77,77,76,76,76,75,
06429 75,74,74,74,74,74,74,73,73,72,72,72,71,71,70,70,70,68,68,68,67,
06430 67,67,67,67,66,66,66,66,66,65,65,65,65,64,64,64,64,63,63,62,62,
06431 62,62,62,62,61,61,61,60,60,60,60,60,59,59,58,58,58,58,57,57,57,
06432 56,56,56,55,54,54,54,54,54,53,53,53,53,52,52,51,51,50,50,50,50,
06433 50,49,49,49,48,48,48,47,47,46,46,46,45,45,45,44,44,44,43,43,42,
06434 41,41,40,39,38,38,38,38,37,37,37,36,36,35,35,35,34,34,34,34,33,
06435 33,33,33,33,32,32,31,30,30,30,30,30
06436 };
06437 const int n3c3w4_q[] = {
06438 150,
06439 200,
06440
06441 100,100,99,99,99,99,98,98,98,98,98,96,96,96,95,95,95,95,95,94,
06442 94,94,92,92,92,91,91,91,90,89,89,88,88,86,86,85,85,85,84,83,83,
06443 82,82,81,81,81,81,80,80,79,79,79,79,79,79,79,78,78,78,78,78,77,
06444 77,77,77,77,77,77,76,75,75,75,74,73,73,73,73,72,72,72,71,71,71,
06445 70,70,70,68,68,67,67,66,66,66,66,66,66,65,65,65,65,65,64,63,63,
06446 63,63,63,62,62,62,62,62,62,61,61,61,61,61,60,60,59,59,57,56,56,
06447 56,56,56,55,55,55,54,53,53,52,52,52,51,50,50,50,50,50,49,49,48,
06448 48,48,47,47,46,46,46,46,45,44,44,44,44,44,43,43,43,42,42,41,41,
06449 41,41,41,41,41,40,40,40,40,39,38,38,38,38,38,38,37,37,36,36,35,
06450 35,34,34,33,33,33,33,33,32,32,32,30
06451 };
06452 const int n3c3w4_r[] = {
06453 150,
06454 200,
06455
06456 100,100,100,100,100,99,99,98,98,98,98,98,98,97,97,97,96,95,95,
06457 94,93,92,92,92,92,91,91,91,91,91,90,90,90,90,90,89,89,88,88,88,
06458 87,86,85,85,85,85,84,83,83,83,81,80,80,80,79,79,79,79,78,78,78,
06459 78,78,78,77,77,77,77,76,76,76,76,76,75,75,75,74,73,73,73,73,73,
06460 73,72,72,71,71,70,69,69,68,67,67,67,67,66,66,65,65,65,64,62,62,
06461 61,61,61,61,61,61,60,59,59,59,59,59,58,58,58,58,57,57,57,57,57,
06462 57,56,56,56,55,55,55,54,54,54,54,54,54,53,53,53,52,51,50,50,50,
06463 49,49,49,48,48,47,47,46,46,45,45,45,44,44,44,43,42,42,42,41,41,
06464 41,40,40,39,39,39,38,38,37,37,36,36,35,34,33,33,33,33,33,33,32,
06465 32,32,32,32,31,31,31,31,31,30,30,30,30
06466 };
06467 const int n3c3w4_s[] = {
06468 150,
06469 200,
06470
06471 98,98,98,97,97,97,96,96,96,94,94,94,93,93,93,93,92,90,90,89,88,
06472 87,87,87,86,86,86,86,86,85,85,85,84,84,83,83,82,82,81,81,80,80,
06473 80,80,78,78,78,77,77,77,77,77,77,76,76,75,75,75,74,74,74,73,73,
06474 73,72,72,72,71,71,71,71,71,71,71,71,71,70,69,69,69,68,68,68,68,
06475 67,67,66,66,66,66,66,66,65,64,64,64,64,63,63,63,63,62,62,62,62,
06476 61,61,61,60,60,60,59,58,58,58,57,57,56,56,55,55,55,54,54,54,53,
06477 53,53,53,53,53,52,52,52,52,51,51,50,50,50,50,50,50,49,49,48,48,
06478 47,47,47,47,47,46,46,45,45,44,43,43,43,42,42,41,41,41,41,40,40,
06479 39,39,39,38,38,38,37,37,37,37,36,36,36,35,34,33,33,33,33,33,32,
06480 32,32,32,32,31,31,31,31,30,30,30
06481 };
06482 const int n3c3w4_t[] = {
06483 150,
06484 200,
06485
06486 100,100,99,99,99,98,98,98,98,98,97,97,96,96,96,96,94,93,93,92,
06487 92,90,90,89,89,89,88,88,88,88,88,88,87,87,87,87,86,86,85,85,84,
06488 83,82,82,81,81,80,80,80,80,80,80,79,79,79,78,78,77,77,76,76,76,
06489 75,75,75,75,75,74,74,74,74,73,72,72,72,71,71,71,71,71,70,70,69,
06490 69,69,69,68,67,66,66,66,65,65,65,64,62,61,61,61,61,61,61,60,60,
06491 60,59,59,59,59,58,58,58,57,57,56,56,56,56,54,54,54,54,53,53,53,
06492 53,53,53,52,52,52,51,51,51,50,49,49,49,48,48,47,47,47,47,46,46,
06493 46,46,45,45,45,44,43,43,43,43,42,42,41,41,41,41,41,40,40,40,40,
06494 40,39,39,38,38,37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,34,
06495 34,34,34,34,34,33,33,32,31,31,30,30
06496 };
06497 const int n4c1w1_a[] = {
06498 100,
06499 500,
06500
06501 100,99,99,99,99,98,98,98,98,97,97,97,97,97,97,97,96,96,96,96,
06502 96,96,96,95,95,95,95,95,94,94,94,94,93,93,93,92,92,92,91,91,91,
06503 91,90,90,90,89,89,89,89,89,88,88,88,88,87,87,87,87,87,87,86,86,
06504 86,86,86,86,85,85,85,84,84,83,83,83,83,83,83,82,82,82,82,81,81,
06505 81,81,80,80,80,80,80,79,79,79,78,78,78,78,78,78,77,77,77,76,76,
06506 76,76,76,75,75,75,75,75,75,74,74,74,74,73,73,73,73,73,73,73,72,
06507 72,72,72,71,71,71,71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,
06508 68,68,67,67,67,67,67,66,66,66,65,65,65,64,64,64,64,63,63,63,63,
06509 63,63,62,62,62,62,62,62,62,61,61,61,60,60,60,60,60,60,59,59,59,
06510 58,58,58,58,58,58,57,57,57,57,57,56,56,56,56,56,55,55,54,54,54,
06511 54,54,54,54,53,53,53,53,53,52,52,52,51,51,51,51,50,50,50,50,50,
06512 49,49,49,48,48,48,48,48,48,47,47,47,46,46,46,46,46,46,45,45,45,
06513 45,44,44,44,44,43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,42,
06514 42,41,41,41,41,41,40,40,40,40,39,39,39,39,38,38,38,38,38,38,37,
06515 37,37,37,37,37,37,37,36,36,36,36,36,36,35,35,35,35,35,35,34,34,
06516 34,34,33,33,33,33,33,32,32,32,32,32,31,31,31,31,31,31,31,31,31,
06517 30,30,30,30,29,29,29,29,29,28,28,28,28,28,28,28,27,27,27,27,27,
06518 27,27,27,26,26,26,26,26,26,26,25,25,25,25,24,24,24,24,24,24,24,
06519 23,23,23,23,23,22,22,22,22,22,22,21,21,21,21,20,20,20,20,20,20,
06520 19,19,19,19,19,19,19,19,18,18,18,18,18,17,17,17,17,17,17,17,16,
06521 16,15,15,15,15,15,15,15,15,14,14,14,14,13,13,13,13,13,13,13,13,
06522 13,12,12,12,11,11,11,11,11,11,11,11,11,10,10,10,10,10,10,10,10,
06523 9,9,9,9,9,8,8,8,7,7,7,7,7,7,6,6,5,5,5,4,4,4,4,4,4,3,3,3,2,2,2,
06524 2,2,1,1,1,1,1,1
06525 };
06526 const int n4c1w1_b[] = {
06527 100,
06528 500,
06529
06530 100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,98,98,
06531 98,97,97,97,97,97,97,96,96,96,95,94,94,93,93,93,93,93,93,93,92,
06532 92,92,92,92,92,91,91,91,91,91,91,91,90,90,90,90,90,90,90,90,90,
06533 90,90,89,89,89,88,88,88,87,87,86,86,86,86,85,85,85,85,85,84,84,
06534 84,84,84,84,83,83,83,82,82,82,82,82,81,81,80,80,80,80,80,80,79,
06535 79,79,79,78,78,78,78,77,77,77,77,77,77,77,77,77,76,76,76,76,76,
06536 75,75,75,75,75,75,74,74,74,73,73,73,73,72,72,72,72,72,72,72,71,
06537 71,71,70,70,70,70,70,69,69,69,68,68,68,68,67,67,67,67,67,66,66,
06538 66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,63,
06539 63,63,62,62,62,62,62,62,62,62,62,62,61,61,61,61,61,61,60,60,60,
06540 60,60,60,60,60,60,59,59,59,59,59,59,59,59,58,58,57,57,57,56,56,
06541 56,56,56,55,55,55,55,55,54,54,54,54,54,53,53,52,52,52,52,51,51,
06542 51,51,50,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,47,47,47,
06543 47,47,47,47,46,46,46,46,46,45,45,45,44,44,44,44,44,44,44,44,44,
06544 43,43,43,43,43,43,43,42,42,42,41,41,41,41,41,41,41,41,40,40,40,
06545 40,40,40,39,39,39,39,39,38,38,38,38,37,37,37,37,37,37,37,36,36,
06546 36,36,36,36,36,36,35,35,35,35,35,35,35,35,34,34,33,33,33,32,32,
06547 32,32,32,31,31,31,30,30,30,30,30,30,30,30,30,29,29,28,28,28,28,
06548 27,27,26,26,26,26,26,26,26,26,26,26,26,25,25,25,25,25,24,24,24,
06549 24,23,23,23,22,22,22,22,22,22,21,21,21,21,20,20,20,20,20,19,19,
06550 19,19,19,19,18,18,18,18,18,17,17,17,16,16,16,16,16,16,15,15,15,
06551 15,15,15,15,14,14,14,14,13,13,12,12,12,12,12,12,12,11,11,11,11,
06552 11,11,11,10,10,9,9,9,9,8,8,8,8,7,7,7,7,7,6,5,5,5,4,4,4,4,3,3,
06553 3,3,3,3,3,3,2,2,2,1,1,1
06554 };
06555 const int n4c1w1_c[] = {
06556 100,
06557 500,
06558
06559 100,100,100,99,99,99,98,98,98,98,98,98,98,98,97,97,97,97,97,97,
06560 97,97,97,97,97,96,96,96,96,96,95,95,95,95,95,95,94,93,93,93,92,
06561 92,92,92,92,92,92,92,91,91,91,90,90,89,89,89,88,88,87,87,87,87,
06562 87,87,87,86,86,86,85,85,84,84,84,83,83,83,83,83,82,82,82,82,82,
06563 82,82,81,81,81,81,81,80,80,80,80,80,79,79,79,79,79,79,78,78,77,
06564 77,77,77,77,77,76,75,75,75,74,74,74,74,73,73,73,73,73,73,73,72,
06565 72,71,71,71,71,71,71,71,70,70,70,70,70,69,68,68,68,68,68,67,67,
06566 67,66,66,66,66,65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,
06567 64,64,64,63,63,63,63,63,62,62,61,61,61,60,60,60,60,59,59,59,59,
06568 58,58,58,58,57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,55,
06569 55,55,55,54,54,53,53,53,53,52,52,52,52,51,51,51,51,51,51,50,50,
06570 50,50,50,50,50,49,49,49,49,49,49,49,48,48,47,47,46,46,46,45,45,
06571 45,45,44,44,44,44,43,43,43,43,43,42,42,42,42,42,42,42,42,42,42,
06572 41,41,41,41,40,40,40,40,39,39,39,39,39,38,38,38,38,38,38,38,38,
06573 37,37,37,37,37,37,37,37,37,36,36,36,36,36,35,35,35,35,35,35,35,
06574 34,34,34,34,34,33,33,33,33,33,33,33,33,32,32,32,32,31,31,31,31,
06575 31,31,31,31,30,30,30,30,30,29,29,29,29,28,28,28,28,27,27,26,26,
06576 26,26,25,25,25,25,25,24,24,24,24,24,24,23,23,23,23,23,23,22,22,
06577 22,22,22,21,21,21,21,20,20,20,20,20,19,19,19,19,19,19,19,19,19,
06578 19,18,18,18,18,17,17,17,17,17,17,17,17,17,17,16,16,16,16,16,16,
06579 15,15,15,15,15,15,15,15,15,14,14,14,14,13,13,13,13,13,12,12,12,
06580 12,11,11,11,11,10,10,10,10,10,9,9,9,9,9,9,9,9,9,9,8,8,8,8,8,7,
06581 7,7,7,7,7,7,7,6,6,6,6,5,5,5,5,5,5,4,4,4,4,4,4,4,3,3,3,3,3,2,2,
06582 2,2,1
06583 };
06584 const int n4c1w1_d[] = {
06585 100,
06586 500,
06587
06588 100,100,100,100,100,100,99,99,99,99,99,98,98,97,97,97,97,97,97,
06589 97,96,96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,93,93,93,93,
06590 93,93,93,92,92,92,92,92,92,91,91,91,91,90,90,90,90,89,89,89,89,
06591 89,89,89,89,88,88,88,88,88,88,88,88,88,88,87,87,87,87,86,86,86,
06592 86,85,85,85,85,84,84,84,84,84,84,84,83,83,83,83,83,83,83,82,81,
06593 81,81,81,81,81,81,80,80,80,79,79,79,79,78,78,78,78,77,77,77,77,
06594 76,76,76,76,76,75,74,74,74,74,74,73,73,72,72,72,72,71,71,70,70,
06595 70,70,69,69,69,69,69,68,68,68,68,68,68,68,68,67,67,67,67,67,66,
06596 66,65,65,65,64,64,63,63,63,63,63,63,63,63,63,63,62,62,61,61,61,
06597 60,60,60,60,59,59,59,58,58,58,57,57,56,56,56,56,56,56,56,55,55,
06598 55,55,54,54,54,54,54,53,53,53,53,52,52,52,51,51,51,51,51,51,51,
06599 51,51,51,50,50,50,50,50,50,50,50,50,49,49,49,49,48,48,47,46,46,
06600 46,46,46,46,46,45,45,45,44,44,44,44,43,43,43,43,43,43,42,42,42,
06601 42,42,42,42,42,42,42,42,41,41,41,41,41,40,40,40,40,39,39,39,39,
06602 39,39,38,38,38,38,37,37,37,37,37,37,37,36,36,35,35,35,35,34,34,
06603 33,33,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,32,32,32,31,
06604 31,31,31,31,30,30,30,30,30,30,29,29,29,29,28,28,28,27,27,27,27,
06605 26,26,26,26,26,26,25,25,25,25,25,25,24,24,24,24,24,23,23,23,23,
06606 22,22,22,22,22,22,21,21,21,21,21,21,21,21,20,20,20,20,20,19,19,
06607 19,19,19,19,19,19,18,18,17,17,17,17,17,16,16,16,16,16,16,15,15,
06608 15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,12,12,12,12,12,12,
06609 12,11,11,11,11,11,11,10,10,10,10,10,9,9,9,9,9,8,8,7,7,7,7,7,7,
06610 7,7,6,6,6,6,5,5,5,5,5,4,4,4,4,4,4,4,4,3,3,3,3,2,2,2,2,2,2,2,1,
06611 1,1,1,1,1
06612 };
06613 const int n4c1w1_e[] = {
06614 100,
06615 500,
06616
06617 100,100,100,99,99,99,98,98,98,98,98,98,97,97,97,97,97,97,97,96,
06618 96,96,96,96,96,96,96,95,95,95,95,95,95,94,94,94,94,93,93,93,93,
06619 93,92,92,92,92,90,90,90,90,90,90,90,89,89,89,89,89,89,88,88,88,
06620 88,88,88,88,88,87,87,86,86,86,86,86,85,85,85,85,84,84,84,83,83,
06621 83,83,82,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,79,79,79,
06622 79,78,78,78,78,78,78,78,78,78,78,78,78,77,77,77,77,77,77,76,76,
06623 76,76,76,76,75,75,75,74,74,74,74,74,74,73,73,73,73,73,73,72,72,
06624 72,72,72,72,72,71,71,71,71,71,71,70,70,70,70,70,70,70,70,69,69,
06625 69,68,68,68,68,68,68,68,67,67,67,67,67,67,66,66,66,66,66,66,65,
06626 65,65,64,64,64,63,63,63,63,63,63,63,63,63,63,63,62,62,62,62,61,
06627 60,60,60,60,60,60,59,59,59,58,58,58,58,58,57,57,57,57,57,57,56,
06628 56,56,56,56,55,55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,53,
06629 53,52,52,52,52,52,52,52,51,51,51,51,51,51,51,51,51,50,50,50,50,
06630 50,50,50,49,49,49,49,48,48,48,48,48,48,47,47,47,47,47,46,46,46,
06631 46,46,45,45,45,45,44,44,44,43,43,43,43,43,42,42,42,41,41,41,40,
06632 40,40,40,39,39,39,39,39,38,38,38,38,38,38,37,37,36,36,36,36,35,
06633 35,34,34,34,34,33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,
06634 30,30,30,30,30,30,30,29,29,29,29,28,28,28,28,28,28,27,27,27,26,
06635 26,25,25,25,24,24,24,24,24,24,23,23,23,23,23,23,23,22,22,22,22,
06636 21,21,21,21,21,20,20,20,20,19,19,19,19,18,18,18,18,17,17,17,17,
06637 17,17,16,16,16,16,16,16,16,16,16,16,15,15,15,14,14,14,14,14,13,
06638 13,13,13,12,12,12,12,12,12,12,11,11,11,11,10,10,10,10,9,9,9,9,
06639 8,8,8,7,7,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,4,4,4,3,3,2,2,2,2,
06640 2,1,1,1,1,1,1
06641 };
06642 const int n4c1w1_f[] = {
06643 100,
06644 500,
06645
06646 100,100,100,100,100,99,99,98,98,98,98,98,97,97,97,97,97,97,96,
06647 96,96,96,95,95,95,95,95,94,94,93,93,93,93,93,93,92,92,92,92,92,
06648 92,91,91,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,89,89,89,
06649 88,88,88,87,87,87,87,87,87,87,86,86,86,86,86,86,86,86,85,85,84,
06650 84,84,84,84,84,84,84,83,83,83,83,83,83,82,82,81,81,81,81,81,81,
06651 80,79,79,79,79,79,79,78,78,78,78,77,77,77,77,77,77,76,76,76,76,
06652 76,75,75,75,75,75,74,74,74,74,73,73,73,73,72,72,71,71,71,71,71,
06653 71,71,71,71,71,70,70,70,70,70,70,70,69,69,69,68,68,68,68,68,67,
06654 67,66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,65,64,64,64,64,
06655 64,63,63,63,63,63,63,63,62,62,62,61,61,61,61,61,61,61,60,60,60,
06656 60,60,60,59,59,59,59,59,59,59,59,58,58,58,58,57,57,57,57,57,57,
06657 57,57,56,56,56,56,56,55,55,55,55,55,53,53,53,53,52,52,52,51,51,
06658 51,51,51,51,50,50,50,50,50,49,49,49,49,49,49,49,49,49,48,48,48,
06659 47,47,47,47,47,47,47,47,46,46,46,46,46,45,45,45,45,45,45,44,44,
06660 44,43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,41,40,40,40,40,
06661 40,40,39,39,39,39,39,38,38,38,38,38,37,37,37,37,37,37,37,37,37,
06662 37,36,36,36,36,36,36,36,36,36,35,34,34,33,33,33,33,32,32,32,32,
06663 32,32,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,29,29,
06664 29,29,28,28,28,28,28,28,28,27,27,27,27,27,26,26,26,26,26,26,26,
06665 25,25,25,25,24,24,24,24,24,24,24,24,24,23,23,23,23,23,23,22,22,
06666 22,21,21,21,21,20,20,20,20,20,20,19,19,19,19,18,18,17,17,17,17,
06667 17,17,17,17,16,15,15,15,14,14,13,13,13,12,12,12,12,11,11,11,11,
06668 11,10,10,10,10,10,9,9,8,8,8,7,7,7,7,7,6,6,6,6,5,5,5,5,4,4,4,3,
06669 3,3,2,2,2,2,2,2,1,1,1,1
06670 };
06671 const int n4c1w1_g[] = {
06672 100,
06673 500,
06674
06675 100,99,99,99,99,98,98,98,97,97,97,97,97,97,96,96,96,96,96,96,
06676 96,95,95,95,95,95,94,94,94,94,94,94,94,93,93,93,92,92,92,91,91,
06677 91,90,90,90,90,90,90,89,89,89,89,89,89,89,89,88,88,88,88,88,88,
06678 88,88,88,88,88,87,87,87,87,87,86,86,86,86,86,85,85,85,85,85,85,
06679 85,85,85,84,84,84,84,83,83,83,82,82,82,81,81,81,81,80,80,80,80,
06680 80,80,80,80,80,79,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,
06681 78,77,77,77,77,76,76,76,75,75,75,75,74,74,74,74,74,74,73,73,73,
06682 73,72,72,72,72,71,70,70,70,70,69,69,69,69,68,68,68,68,68,68,68,
06683 67,67,67,67,67,67,67,67,67,67,66,66,66,66,66,66,66,65,65,64,64,
06684 64,64,63,62,62,62,62,61,61,61,60,60,60,60,60,60,59,59,59,59,58,
06685 58,58,58,58,58,58,58,58,57,57,57,57,57,57,56,56,56,56,55,55,55,
06686 54,54,54,54,53,53,53,53,53,52,52,52,52,51,51,51,51,51,50,50,50,
06687 50,49,49,49,49,49,49,48,48,48,48,48,48,48,48,47,47,47,47,46,46,
06688 46,46,46,45,45,45,45,44,44,44,44,44,44,44,44,44,44,43,43,43,43,
06689 43,43,43,42,42,42,42,42,41,41,41,40,40,40,39,39,39,39,39,39,38,
06690 38,38,38,38,38,38,38,37,37,37,37,36,36,36,36,36,35,35,35,34,34,
06691 34,33,33,33,33,33,33,32,31,31,31,31,31,30,30,30,30,30,30,30,29,
06692 29,28,28,28,28,28,28,28,27,27,27,27,27,27,26,26,26,26,26,26,26,
06693 26,26,26,26,26,25,25,24,24,24,23,23,21,21,21,21,21,21,20,20,20,
06694 20,20,19,19,19,19,19,18,18,18,18,18,18,18,17,17,17,17,17,17,17,
06695 17,17,17,16,16,16,16,16,16,15,15,15,15,15,14,14,14,14,14,13,13,
06696 13,12,12,12,12,12,12,12,12,11,11,11,11,11,10,10,9,9,9,9,9,9,9,
06697 9,8,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,4,4,4,4,4,3,3,2,2,2,2,2,
06698 2,1,1,1,1,1
06699 };
06700 const int n4c1w1_h[] = {
06701 100,
06702 500,
06703
06704 100,100,99,99,99,99,98,98,98,97,97,97,97,96,96,96,96,96,96,96,
06705 95,95,95,94,94,94,93,93,92,92,92,92,92,92,92,92,92,91,91,91,91,
06706 91,90,90,90,90,90,90,89,89,89,89,89,89,88,88,88,88,88,88,88,88,
06707 88,88,87,87,86,86,86,86,85,85,85,84,84,84,84,83,83,83,83,83,82,
06708 82,82,82,82,82,82,81,81,81,80,80,80,80,79,79,79,79,79,79,78,78,
06709 78,77,77,77,76,76,76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,
06710 74,74,74,74,74,74,74,73,73,73,73,72,72,72,72,72,72,72,72,71,71,
06711 70,70,69,69,69,69,69,69,69,68,68,68,68,67,67,67,67,67,67,66,66,
06712 66,66,66,66,66,66,66,66,65,65,63,63,63,63,63,63,63,63,63,62,62,
06713 62,62,62,62,62,62,61,61,61,60,60,60,60,60,60,60,59,59,59,59,59,
06714 59,59,58,58,58,58,58,58,57,57,57,56,56,56,56,55,55,55,54,54,53,
06715 53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,
06716 50,50,50,49,48,48,48,48,48,48,47,47,47,47,47,47,46,46,46,46,46,
06717 46,45,45,44,44,43,43,43,42,42,42,42,42,41,41,41,41,40,40,40,40,
06718 40,40,39,39,39,39,39,38,38,38,38,38,37,37,37,37,36,36,36,36,36,
06719 36,36,36,36,35,35,35,34,34,34,34,34,33,33,33,33,32,32,32,32,32,
06720 32,32,32,32,32,32,31,31,31,31,30,30,30,30,30,30,29,29,29,29,29,
06721 29,29,28,28,28,28,28,28,27,27,27,26,26,26,26,26,26,26,26,25,25,
06722 25,25,24,24,23,23,23,23,23,22,22,22,22,21,21,21,21,21,21,21,21,
06723 20,20,20,20,20,20,20,20,19,19,19,19,19,18,18,18,18,17,17,17,17,
06724 17,16,16,16,16,16,15,15,14,14,14,14,14,14,14,14,14,14,14,13,13,
06725 12,12,12,12,12,12,12,11,11,11,11,10,10,10,10,10,10,9,9,9,8,8,
06726 8,8,8,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,5,5,5,5,5,5,4,4,4,3,3,3,3,
06727 2,2,2,1,1,1,1
06728 };
06729 const int n4c1w1_i[] = {
06730 100,
06731 500,
06732
06733 100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,98,
06734 98,98,97,97,97,97,97,96,96,95,95,95,95,94,94,93,93,93,93,92,92,
06735 92,92,92,91,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,88,88,
06736 88,88,88,88,88,87,87,87,87,87,87,86,86,86,86,86,86,86,85,85,85,
06737 85,85,84,84,84,84,84,83,83,82,82,82,82,82,82,82,81,81,81,81,81,
06738 81,80,80,80,80,80,79,78,78,78,78,77,77,77,77,77,76,76,76,76,76,
06739 75,75,75,75,75,75,75,74,74,74,74,74,74,73,73,73,73,73,73,73,72,
06740 72,72,72,70,70,70,69,69,69,69,69,68,68,68,68,68,68,67,67,66,66,
06741 66,65,65,65,65,65,64,64,64,63,63,63,63,63,63,63,63,63,62,62,62,
06742 62,62,61,61,60,60,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,
06743 58,57,57,56,56,56,56,55,55,55,55,55,55,54,54,54,54,54,53,53,53,
06744 53,53,53,53,53,52,52,52,52,51,51,51,51,51,50,50,50,50,50,50,50,
06745 50,50,50,50,50,49,49,49,49,49,48,48,48,48,48,48,48,48,48,47,47,
06746 47,47,47,47,46,46,46,46,45,45,45,45,44,44,44,44,44,43,43,43,43,
06747 42,42,42,42,41,41,41,41,41,41,41,41,41,41,41,41,41,40,40,40,40,
06748 40,40,39,39,39,39,39,39,39,39,39,38,38,38,38,38,38,37,37,37,37,
06749 37,37,37,37,36,36,36,35,35,35,35,34,34,34,34,34,34,34,34,33,33,
06750 33,32,32,32,32,32,32,32,32,32,32,32,32,31,31,31,31,31,31,31,29,
06751 29,29,29,28,28,28,28,28,28,28,27,27,27,27,26,26,25,25,25,25,24,
06752 24,23,23,23,23,23,23,23,22,22,21,21,20,20,20,20,20,19,19,19,19,
06753 18,18,18,18,18,18,17,17,17,17,16,16,15,15,15,14,14,14,14,14,14,
06754 14,14,14,13,13,13,13,13,12,12,12,11,11,11,11,11,10,10,10,9,9,
06755 9,9,9,9,8,7,7,7,7,7,6,6,6,6,6,6,5,5,5,5,4,4,4,4,3,3,2,2,2,2,2,
06756 2,2,2,1,1,1,1,1,1
06757 };
06758 const int n4c1w1_j[] = {
06759 100,
06760 500,
06761
06762 100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,97,97,97,97,
06763 97,97,97,96,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,94,
06764 93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,92,92,92,91,
06765 91,91,91,90,90,90,90,90,90,90,89,88,88,88,88,88,87,87,87,87,87,
06766 87,86,86,86,86,85,85,85,85,84,84,84,84,84,83,83,83,83,83,83,83,
06767 82,82,82,82,82,81,81,81,81,81,81,80,80,80,80,80,80,79,79,79,78,
06768 78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,76,76,76,76,76,76,
06769 75,75,75,75,75,75,74,74,74,74,73,73,73,73,72,72,72,72,71,71,71,
06770 71,71,71,70,70,70,70,70,69,69,69,69,69,69,68,68,67,67,67,67,67,
06771 66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,64,
06772 64,63,63,63,63,63,63,63,63,63,63,63,62,62,62,62,61,61,61,60,60,
06773 60,60,60,60,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,58,58,
06774 57,57,57,57,57,57,56,56,56,55,55,55,55,55,55,55,54,54,54,54,54,
06775 53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,51,50,49,49,48,48,
06776 48,48,48,47,47,46,46,46,45,45,45,45,45,45,45,45,44,44,44,44,44,
06777 43,43,43,43,43,42,42,42,41,41,40,39,39,39,39,39,39,38,38,38,37,
06778 37,37,36,36,36,36,36,36,36,35,35,34,34,34,33,33,33,33,33,33,33,
06779 33,33,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,29,29,29,29,
06780 28,28,28,27,27,27,27,27,27,26,26,26,25,25,25,25,24,24,24,24,24,
06781 24,24,24,23,23,23,23,23,23,23,22,22,22,22,22,22,22,21,21,20,20,
06782 20,20,20,19,19,19,19,18,18,18,18,18,18,18,17,16,16,16,16,16,15,
06783 15,14,14,14,14,14,14,13,13,13,13,13,13,13,12,11,10,10,10,9,8,
06784 8,8,8,8,8,8,7,7,7,6,6,6,6,5,5,5,5,5,5,5,5,5,5,4,4,3,3,3,3,3,3,
06785 3,3,3,3,2,2,2,1,1
06786 };
06787 const int n4c1w1_k[] = {
06788 100,
06789 500,
06790
06791 100,100,100,100,99,99,99,99,98,98,98,97,97,97,97,97,97,96,96,
06792 96,95,95,94,94,94,94,94,93,93,93,93,93,93,92,92,92,92,91,91,91,
06793 90,90,90,90,90,90,89,89,89,89,89,88,88,87,87,87,86,86,86,86,86,
06794 85,85,85,85,85,85,85,84,84,84,84,83,83,83,83,83,83,82,82,81,81,
06795 81,81,81,80,80,80,80,80,80,80,80,79,79,79,79,78,78,78,78,78,78,
06796 78,78,77,77,77,77,76,76,76,76,75,75,75,75,74,74,74,74,74,74,74,
06797 74,73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,71,71,70,70,70,
06798 70,69,69,69,69,69,69,69,68,68,68,68,68,68,68,67,67,67,67,67,66,
06799 66,66,66,66,66,65,65,65,64,64,64,64,64,64,63,63,63,63,62,62,62,
06800 61,61,61,61,61,61,60,60,60,60,60,60,60,60,59,59,58,58,58,58,58,
06801 58,58,58,58,58,57,57,57,56,56,56,55,55,55,55,55,55,54,54,54,54,
06802 54,53,53,53,53,53,53,53,52,52,52,52,52,51,51,51,50,50,50,50,50,
06803 50,49,49,49,49,49,49,49,49,49,49,49,49,48,48,47,47,46,46,46,46,
06804 46,46,46,46,46,46,46,45,45,45,44,44,44,43,43,43,43,43,42,42,42,
06805 42,42,42,41,41,41,40,40,40,40,40,40,40,39,39,39,39,39,39,38,38,
06806 37,37,37,37,37,37,36,36,36,36,36,35,35,35,35,35,35,35,35,35,34,
06807 34,34,33,33,33,33,33,32,32,32,32,32,31,31,31,30,30,30,30,30,30,
06808 30,29,29,29,29,29,29,28,28,28,28,28,28,28,28,28,27,27,27,27,27,
06809 26,26,26,26,26,25,25,25,24,24,23,23,23,22,22,22,22,22,22,22,22,
06810 22,22,21,21,21,21,20,20,20,19,19,19,19,19,18,18,18,17,17,17,17,
06811 17,17,17,17,17,16,16,16,16,16,15,15,15,15,14,14,14,14,13,13,13,
06812 12,12,12,12,12,11,11,10,10,10,10,10,10,10,8,8,8,8,8,8,8,7,7,7,
06813 6,6,6,6,6,6,5,5,5,5,5,5,5,5,4,4,4,4,4,3,3,3,3,3,3,2,2,2,2,2,1,
06814 1,1,1,1,1,1
06815 };
06816 const int n4c1w1_l[] = {
06817 100,
06818 500,
06819
06820 100,100,100,100,100,99,99,99,99,99,99,99,98,97,97,97,96,96,96,
06821 96,96,96,96,96,95,95,95,95,94,94,94,94,94,94,93,93,93,93,92,91,
06822 91,91,91,91,90,90,89,89,89,89,88,88,88,88,87,87,87,87,87,87,87,
06823 86,86,86,86,86,85,85,85,85,85,85,85,85,85,85,85,85,84,84,84,84,
06824 84,83,83,82,82,82,82,82,81,81,81,81,81,80,80,80,79,79,79,79,79,
06825 79,79,78,78,78,78,78,78,77,77,77,77,77,77,76,76,76,76,76,76,76,
06826 75,75,75,75,75,74,74,74,74,74,74,74,74,74,73,73,73,73,73,72,72,
06827 72,72,72,71,71,71,71,71,71,70,70,70,69,69,69,69,69,69,68,68,68,
06828 68,68,68,68,68,67,67,67,67,66,66,66,66,66,66,66,65,65,65,65,65,
06829 64,64,64,64,64,63,63,63,62,62,62,62,62,62,62,62,61,61,61,61,60,
06830 60,60,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,56,56,56,
06831 56,56,56,56,55,55,55,55,54,54,54,54,53,53,53,53,52,52,52,52,52,
06832 52,51,51,51,51,51,51,50,50,49,49,49,49,49,48,48,48,48,48,47,47,
06833 47,47,47,46,46,46,45,45,44,44,44,44,44,44,43,43,43,43,42,42,42,
06834 42,42,42,42,42,41,41,41,41,41,40,40,40,39,39,39,38,38,38,38,38,
06835 38,37,37,37,37,36,36,36,36,36,36,36,36,35,35,35,35,35,35,34,34,
06836 34,34,34,34,34,34,34,33,33,33,32,31,31,31,31,31,31,30,30,30,30,
06837 30,29,29,29,29,29,29,29,28,28,28,27,27,27,27,26,26,26,26,26,26,
06838 25,25,25,25,25,25,24,24,24,24,24,24,23,23,23,23,23,23,22,22,22,
06839 22,21,21,21,21,21,21,21,21,19,18,18,18,18,18,18,18,17,17,17,17,
06840 17,17,17,17,17,16,16,16,16,15,15,15,15,15,15,15,15,15,14,14,14,
06841 13,13,13,13,12,12,12,12,12,11,11,10,10,10,10,10,10,10,9,9,9,9,
06842 9,8,8,7,7,7,7,7,7,6,6,6,6,5,5,5,5,5,4,4,4,4,4,4,3,3,3,3,3,3,3,
06843 2,2,2,2,1,1,1,1
06844 };
06845 const int n4c1w1_m[] = {
06846 100,
06847 500,
06848
06849 100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,97,
06850 97,97,96,96,95,95,95,94,94,94,94,94,94,94,93,93,93,93,93,93,93,
06851 92,92,92,92,91,91,91,90,90,90,90,90,90,89,89,89,89,89,88,88,88,
06852 88,88,88,87,87,87,87,87,86,86,86,86,86,86,85,84,84,84,83,83,83,
06853 83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,81,81,81,80,80,79,
06854 79,79,79,79,78,78,78,78,78,78,78,77,77,77,76,76,76,76,75,75,75,
06855 74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,72,72,72,71,71,70,
06856 70,70,70,70,70,69,69,69,69,68,68,68,67,67,67,67,67,66,66,66,66,
06857 66,64,64,64,64,63,63,63,63,63,63,63,62,62,62,62,61,61,60,60,60,
06858 60,60,60,60,60,60,60,59,59,58,58,58,58,58,58,57,57,57,57,56,56,
06859 56,56,56,56,54,53,53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,
06860 50,50,50,49,49,49,49,49,49,49,49,49,49,48,48,47,47,46,46,46,46,
06861 46,46,46,45,45,45,45,45,45,45,44,44,44,44,43,43,42,42,42,42,42,
06862 42,42,42,41,41,41,41,41,41,41,41,41,40,40,40,39,39,39,39,38,38,
06863 38,38,38,38,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,
06864 35,35,35,34,34,34,34,34,33,33,33,33,33,33,32,32,32,32,32,32,32,
06865 32,31,31,31,30,30,30,30,30,30,30,29,29,29,29,29,28,28,28,28,28,
06866 28,28,28,27,27,27,26,26,26,26,26,26,26,26,26,25,25,25,25,25,25,
06867 25,25,24,24,24,24,24,23,23,23,23,23,23,23,22,22,22,22,21,21,21,
06868 20,20,20,20,19,19,19,19,18,18,18,18,18,18,17,17,17,17,17,17,17,
06869 17,16,16,16,16,16,15,15,15,15,15,15,15,14,14,14,14,14,14,13,13,
06870 13,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,10,10,10,9,9,
06871 9,9,8,8,8,8,7,7,7,7,7,7,6,6,6,6,5,5,5,5,5,4,4,4,4,4,4,4,4,3,3,
06872 3,3,3,2,2,2,2,1,1,1
06873 };
06874 const int n4c1w1_n[] = {
06875 100,
06876 500,
06877
06878 100,100,100,100,100,100,100,99,99,99,98,98,98,98,98,98,97,97,
06879 97,97,97,97,97,96,96,96,96,95,95,95,95,94,94,94,94,94,94,94,94,
06880 94,93,93,93,93,92,92,92,92,91,91,91,90,90,90,89,89,89,89,89,89,
06881 89,88,88,87,87,87,87,87,86,86,86,86,86,85,85,84,84,84,84,84,83,
06882 83,83,83,83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,80,80,80,
06883 80,79,79,79,79,79,78,78,78,78,77,77,76,76,76,76,76,76,75,75,75,
06884 75,75,75,75,75,75,75,74,74,73,73,73,73,73,73,72,72,72,72,72,71,
06885 71,71,71,70,70,70,70,69,69,69,68,68,68,68,68,68,68,68,68,67,67,
06886 67,67,66,66,66,66,66,66,66,66,66,65,64,64,64,64,64,64,64,64,63,
06887 63,63,63,63,63,63,62,62,62,62,62,62,62,62,61,61,61,61,61,61,61,
06888 60,59,59,59,59,58,58,58,58,57,57,57,57,57,56,55,55,55,55,55,55,
06889 54,54,54,54,54,54,54,53,53,53,53,53,53,53,52,52,52,51,51,51,51,
06890 51,51,51,50,50,50,50,50,50,49,49,49,49,49,49,49,48,48,48,47,47,
06891 46,46,45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,43,43,42,42,
06892 42,42,42,41,41,41,41,41,41,40,40,40,40,40,39,39,39,39,38,38,38,
06893 37,37,37,37,36,36,36,36,35,35,35,35,35,34,34,34,34,34,34,34,34,
06894 34,33,33,33,33,33,33,33,32,32,32,31,31,31,31,30,30,30,30,29,29,
06895 29,29,28,28,28,28,28,28,28,27,27,27,26,26,26,26,25,25,25,25,24,
06896 24,24,24,23,23,23,23,23,23,22,22,22,22,22,21,21,21,21,21,20,20,
06897 20,19,19,19,19,19,19,19,18,18,18,18,18,18,18,17,17,17,17,17,16,
06898 15,15,15,15,15,15,15,14,14,14,14,14,13,13,13,13,13,13,13,12,12,
06899 12,12,12,12,12,11,11,11,10,10,10,10,10,10,10,10,9,9,9,9,9,8,8,
06900 8,7,7,7,7,7,7,7,6,6,5,5,5,5,5,4,4,4,4,4,3,3,3,3,3,2,2,2,2,2,2,
06901 2,2,1,1,1,1,1,1
06902 };
06903 const int n4c1w1_o[] = {
06904 100,
06905 500,
06906
06907 100,100,100,99,99,99,99,99,99,98,98,98,98,98,98,98,98,97,97,97,
06908 97,97,97,96,96,96,96,95,95,95,95,94,94,94,94,93,93,93,93,93,92,
06909 92,92,92,91,91,91,90,90,90,90,90,90,90,90,90,90,90,89,89,89,88,
06910 88,88,88,87,87,87,87,87,87,87,87,87,86,86,86,86,86,86,86,85,85,
06911 85,85,85,85,84,84,84,83,83,83,83,83,82,82,82,82,82,82,82,81,81,
06912 81,81,81,81,81,81,81,81,80,80,80,80,79,79,79,79,79,79,79,78,78,
06913 78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,74,74,
06914 74,74,73,73,73,73,73,72,72,72,72,72,71,71,71,71,69,69,69,69,69,
06915 69,68,68,67,67,67,67,67,66,66,66,66,65,65,65,65,65,64,64,63,62,
06916 62,62,62,61,61,61,61,60,60,60,60,60,60,60,60,59,59,59,59,59,59,
06917 59,59,58,58,58,58,57,57,57,57,57,57,57,57,56,55,55,55,55,54,53,
06918 53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,51,50,50,
06919 50,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,47,47,47,47,47,
06920 47,47,46,46,46,46,45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,
06921 43,43,43,42,42,42,42,42,42,41,41,41,41,40,40,40,40,39,39,38,38,
06922 37,37,37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,34,34,34,34,
06923 34,34,33,33,33,33,33,32,32,32,31,31,31,31,31,31,30,29,29,29,29,
06924 29,28,28,28,28,28,28,27,27,26,26,26,26,26,26,25,25,25,25,25,24,
06925 24,24,24,24,23,23,23,23,22,22,22,21,21,21,21,21,21,20,20,20,20,
06926 20,19,19,19,18,18,18,18,17,17,16,16,16,16,16,16,16,15,15,15,15,
06927 15,15,15,15,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,12,
06928 12,12,12,12,12,11,11,11,11,10,10,9,9,9,9,8,8,8,8,8,8,7,7,7,7,
06929 7,7,7,6,6,6,6,6,6,6,5,5,4,4,4,4,4,4,3,3,3,3,3,3,3,2,2,2,1,1,1,
06930 1,1,1,1
06931 };
06932 const int n4c1w1_p[] = {
06933 100,
06934 500,
06935
06936 100,100,100,100,100,100,99,99,99,99,98,98,97,97,97,97,97,97,97,
06937 96,96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,
06938 93,92,92,92,91,91,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,
06939 89,89,89,89,89,88,88,88,88,88,88,88,87,87,87,87,86,86,86,86,86,
06940 85,85,85,85,85,84,84,84,84,84,83,83,83,83,83,83,82,82,82,82,81,
06941 81,81,81,81,81,81,80,80,80,80,80,80,79,78,78,78,78,78,77,77,77,
06942 77,77,77,77,76,76,76,76,76,76,76,76,75,75,75,75,75,75,74,74,74,
06943 74,73,73,73,73,72,72,72,72,72,72,72,71,71,71,71,71,71,70,70,70,
06944 70,70,70,70,69,69,69,69,69,68,68,68,68,68,67,66,66,66,65,65,65,
06945 65,65,65,65,64,64,63,63,63,63,63,62,62,62,62,62,62,61,61,61,61,
06946 61,60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,59,59,59,58,58,
06947 58,58,58,57,57,57,57,57,56,56,56,56,56,56,56,56,56,56,55,55,55,
06948 55,54,54,54,54,54,52,52,52,52,52,51,51,51,51,50,50,50,50,49,49,
06949 49,49,49,49,49,48,48,48,47,47,47,47,47,46,46,46,46,46,46,45,45,
06950 45,45,44,44,44,44,43,43,43,43,42,42,41,41,41,41,41,40,40,40,39,
06951 39,39,39,38,38,38,38,37,37,37,37,37,36,36,36,35,35,34,34,34,33,
06952 33,33,32,32,32,32,32,32,32,31,30,30,30,30,30,30,30,30,30,29,29,
06953 29,29,29,29,29,29,28,28,28,28,28,28,27,27,27,27,27,26,26,26,26,
06954 26,25,25,25,25,24,24,24,24,24,23,23,23,23,23,22,22,22,22,21,21,
06955 21,21,21,20,20,20,20,20,20,20,20,19,19,19,19,19,18,18,17,17,16,
06956 16,16,16,16,15,15,15,15,15,15,15,14,14,14,14,14,13,13,13,12,12,
06957 12,12,12,12,11,11,11,11,11,11,10,10,10,10,9,9,9,9,9,9,9,8,8,8,
06958 8,8,8,8,7,7,7,6,6,6,6,6,6,6,6,6,6,5,5,4,4,4,3,3,3,3,2,2,2,2,1,
06959 1,1,1,1,1,1
06960 };
06961 const int n4c1w1_q[] = {
06962 100,
06963 500,
06964
06965 100,100,100,99,99,99,99,98,98,98,98,97,97,97,97,96,96,96,96,96,
06966 96,96,96,96,95,95,95,94,94,94,94,94,94,94,93,93,93,93,92,92,92,
06967 91,91,91,90,90,90,89,89,89,89,89,89,89,88,88,88,88,87,87,87,87,
06968 87,86,86,86,86,86,86,86,86,86,85,85,85,85,84,84,84,84,84,84,84,
06969 83,83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,
06970 80,79,79,79,79,78,78,78,78,78,77,77,77,77,77,77,77,77,77,77,77,
06971 76,76,76,75,75,75,75,75,75,74,74,74,73,73,73,73,73,73,73,72,72,
06972 72,72,72,72,71,71,71,71,71,70,70,70,70,70,69,69,69,69,69,68,68,
06973 68,68,68,68,68,68,67,67,67,67,67,67,67,67,66,66,66,66,66,66,66,
06974 66,66,65,65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,63,63,62,
06975 62,62,62,62,62,62,61,61,61,61,61,61,61,61,61,60,60,60,60,60,60,
06976 59,59,59,59,59,58,57,57,57,57,56,56,56,56,56,56,56,56,56,55,55,
06977 55,54,54,54,54,53,53,53,53,53,53,53,53,52,52,51,51,51,51,51,51,
06978 51,51,50,50,50,50,50,50,49,49,49,49,49,48,48,48,48,47,47,47,47,
06979 46,46,45,45,45,44,44,43,43,43,42,42,42,41,41,41,41,41,41,41,40,
06980 40,39,39,39,39,39,39,39,38,38,37,37,37,36,36,36,36,36,36,36,36,
06981 36,35,35,35,35,34,34,34,34,34,34,34,33,33,32,32,32,32,32,32,32,
06982 32,31,31,30,30,30,30,29,29,28,28,28,28,28,28,28,28,27,27,27,27,
06983 27,26,26,26,26,25,25,25,25,25,25,25,24,24,24,24,24,23,23,23,22,
06984 21,21,21,21,20,20,20,20,20,20,19,19,19,19,18,18,18,18,18,18,17,
06985 17,17,16,16,16,16,16,15,15,15,15,15,14,14,14,14,13,13,13,13,13,
06986 13,13,13,13,12,12,12,12,11,11,11,10,10,10,9,9,8,8,7,7,7,6,6,6,
06987 6,6,5,5,5,5,5,5,4,4,4,4,4,4,4,4,4,4,4,3,3,3,3,3,3,2,2,2,2,1,1,
06988 1,1,1,1,1
06989 };
06990 const int n4c1w1_r[] = {
06991 100,
06992 500,
06993
06994 100,100,100,100,100,99,99,98,98,98,98,98,98,97,97,97,96,96,96,
06995 96,96,95,95,95,95,95,95,95,94,94,94,94,94,93,93,93,92,92,92,92,
06996 92,92,92,91,91,91,90,90,90,90,90,89,89,89,89,89,89,88,88,88,88,
06997 88,88,87,87,87,86,86,86,86,85,85,84,84,84,84,84,84,84,84,83,83,
06998 83,83,83,83,82,82,81,81,81,81,80,80,80,80,80,80,80,79,79,79,78,
06999 78,78,78,78,78,77,77,76,76,76,76,76,75,75,75,75,75,75,75,74,74,
07000 74,74,74,73,73,73,73,73,73,72,71,71,71,71,71,71,70,70,70,70,70,
07001 70,69,69,69,69,69,68,68,68,68,68,67,67,67,67,67,67,67,67,67,66,
07002 66,65,65,65,65,65,64,64,64,64,63,63,63,63,62,62,62,62,62,62,61,
07003 61,61,61,61,61,61,60,60,60,60,60,60,59,59,59,59,59,59,59,59,59,
07004 58,58,58,58,58,57,57,57,56,56,56,56,56,56,56,56,55,55,55,55,55,
07005 54,54,54,54,53,53,53,53,53,52,52,52,51,51,51,51,50,50,50,49,49,
07006 49,48,48,48,48,48,47,47,47,47,46,46,46,46,46,46,45,45,45,45,45,
07007 45,45,45,45,44,44,44,44,44,43,43,43,43,43,43,43,43,42,42,42,42,
07008 42,42,42,42,41,41,40,40,40,40,40,40,39,39,39,39,39,39,38,38,38,
07009 38,38,38,38,37,37,37,37,37,37,37,36,36,35,35,35,35,35,35,34,34,
07010 34,34,34,34,34,33,33,33,33,33,33,33,33,33,33,32,32,32,32,32,31,
07011 31,31,31,31,30,30,30,29,29,29,29,28,28,28,28,28,28,28,28,27,27,
07012 27,27,26,26,26,26,25,25,25,25,25,25,25,25,25,24,24,24,23,22,21,
07013 21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,19,19,19,19,19,19,
07014 18,18,18,18,18,18,17,17,17,17,17,17,16,16,16,16,15,15,15,15,15,
07015 15,14,14,14,14,14,14,14,14,13,13,12,12,12,12,12,11,11,11,11,10,
07016 10,9,9,9,9,9,8,8,8,8,8,8,7,7,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,
07017 4,4,4,4,4,3,3,3,2,1
07018 };
07019 const int n4c1w1_s[] = {
07020 100,
07021 500,
07022
07023 100,99,99,99,99,99,99,99,99,99,99,98,98,98,98,98,98,98,98,98,
07024 97,96,96,96,96,96,96,96,95,95,95,95,95,95,95,94,94,93,92,92,92,
07025 92,91,91,91,91,91,91,90,90,90,90,90,89,89,88,88,88,88,88,88,88,
07026 88,87,87,87,87,87,86,86,86,86,85,85,85,85,85,85,85,85,85,84,84,
07027 84,84,83,83,83,83,83,82,82,82,82,82,82,82,82,82,81,81,81,81,81,
07028 81,81,80,80,80,80,80,79,79,79,79,79,78,78,78,78,78,78,78,78,78,
07029 78,77,77,77,77,77,77,77,77,76,76,76,76,75,75,75,75,74,74,74,74,
07030 73,73,73,73,73,73,72,71,71,71,70,70,70,69,69,69,69,69,69,68,68,
07031 68,68,68,68,68,68,67,67,66,66,66,66,66,66,66,66,66,66,66,65,65,
07032 65,65,65,65,65,64,64,64,64,64,63,63,63,63,63,62,62,62,62,62,62,
07033 61,61,61,61,61,61,61,60,60,60,60,60,60,60,59,59,59,59,59,59,59,
07034 58,58,57,57,57,57,55,54,54,54,54,53,53,53,53,52,52,52,51,51,50,
07035 50,50,50,49,49,48,48,48,48,47,47,47,46,46,46,46,46,46,45,45,44,
07036 44,44,44,44,44,44,44,44,44,43,43,43,43,43,43,42,42,42,42,41,41,
07037 41,41,41,41,40,40,40,40,39,39,39,39,39,39,39,39,39,39,38,38,38,
07038 38,38,38,37,37,37,36,36,36,36,36,35,35,35,35,35,35,35,35,34,34,
07039 34,34,34,33,33,33,32,32,32,32,32,31,31,31,31,31,30,30,30,29,29,
07040 29,29,29,29,28,28,27,27,27,27,27,27,27,27,26,26,26,26,26,25,25,
07041 25,24,24,24,24,23,23,23,23,23,23,23,22,22,22,22,22,21,21,21,21,
07042 21,21,20,20,20,20,20,20,19,19,19,19,19,19,19,18,18,18,17,17,17,
07043 17,17,17,17,17,17,17,17,16,16,16,16,16,16,16,15,15,15,14,14,14,
07044 14,14,14,13,13,13,13,13,13,12,11,11,11,11,10,10,10,10,9,9,9,9,
07045 8,8,8,8,8,7,7,7,6,6,6,6,6,6,5,5,4,4,4,3,3,3,3,3,3,3,3,3,2,2,2,
07046 2,2,2,1,1,1,1
07047 };
07048 const int n4c1w1_t[] = {
07049 100,
07050 500,
07051
07052 100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,98,98,98,98,
07053 98,97,97,97,97,97,97,97,97,96,96,96,95,95,95,94,94,94,93,93,93,
07054 93,93,92,92,92,92,91,91,91,91,90,90,90,90,90,90,90,89,89,88,88,
07055 88,88,88,87,87,87,87,87,86,86,86,86,86,86,86,86,86,86,86,85,85,
07056 84,84,84,84,84,84,83,83,83,82,82,82,82,82,82,81,81,81,81,81,81,
07057 81,81,80,80,80,80,80,80,79,79,79,79,79,79,79,78,78,78,77,76,76,
07058 76,76,76,75,75,75,75,75,74,74,74,74,73,73,73,73,73,72,72,72,72,
07059 71,71,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,69,69,69,68,
07060 68,68,68,68,67,67,67,67,67,66,65,65,65,65,65,65,64,64,63,63,63,
07061 62,62,62,61,61,61,61,60,60,60,60,60,59,59,59,59,59,58,58,58,58,
07062 58,58,58,58,57,57,57,57,57,57,56,56,56,56,55,55,55,54,54,54,54,
07063 54,54,54,54,54,53,53,53,53,52,52,52,52,52,51,51,51,51,51,51,51,
07064 50,50,50,50,50,50,50,50,50,50,49,49,49,49,49,49,48,48,48,48,47,
07065 47,47,46,46,46,46,46,46,46,46,46,46,45,45,45,45,45,44,44,44,43,
07066 43,43,43,43,43,42,42,42,42,42,41,40,40,40,40,40,40,39,39,39,38,
07067 38,38,38,38,38,38,38,37,37,37,37,37,36,35,35,35,35,34,34,34,34,
07068 34,34,33,33,33,33,32,31,31,31,30,30,30,30,29,29,29,29,29,29,28,
07069 28,28,28,27,27,27,27,27,27,27,27,26,26,26,26,26,26,26,25,25,25,
07070 25,25,24,24,24,24,23,23,23,23,23,23,22,22,21,21,21,21,21,20,20,
07071 20,20,20,20,19,19,18,18,18,18,17,17,17,17,16,16,16,15,15,15,14,
07072 14,14,14,13,13,12,12,12,12,12,12,12,12,12,12,12,11,11,11,11,11,
07073 11,10,10,10,10,9,9,9,9,9,9,9,9,9,9,9,9,8,8,8,8,7,7,7,6,6,6,6,
07074 5,5,5,5,5,5,5,4,4,4,3,3,3,3,3,3,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,
07075 1,1
07076 };
07077 const int n4c1w2_a[] = {
07078 100,
07079 500,
07080
07081 100,100,100,100,99,99,99,99,98,98,98,98,98,97,97,97,97,97,97,
07082 97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,95,95,95,95,94,94,
07083 94,94,94,94,94,93,93,93,93,92,92,92,92,92,91,91,91,91,91,91,91,
07084 90,90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,88,88,88,88,
07085 88,88,88,88,88,88,88,88,87,87,87,87,87,86,86,86,86,86,86,86,86,
07086 86,85,85,85,85,85,85,85,84,84,84,84,84,84,84,83,83,83,83,83,83,
07087 82,82,82,82,82,81,81,81,80,80,80,80,80,80,80,80,80,80,79,79,79,
07088 79,78,78,78,78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,75,
07089 74,74,73,73,73,72,72,72,72,72,72,72,71,71,71,71,71,71,71,71,71,
07090 71,71,70,70,70,70,70,70,70,70,70,70,69,69,69,69,68,68,68,68,68,
07091 68,67,67,67,67,67,66,66,66,66,66,65,65,65,65,64,64,64,63,63,63,
07092 63,63,62,62,62,62,62,62,62,62,62,61,61,61,61,61,61,61,61,61,61,
07093 60,60,60,60,60,59,59,58,57,57,57,57,57,57,57,57,56,56,56,56,56,
07094 55,55,55,55,55,55,55,54,54,54,54,54,54,53,53,53,53,53,52,52,52,
07095 52,52,51,51,51,51,51,51,50,50,50,50,50,49,49,49,49,49,49,48,48,
07096 48,48,48,48,48,48,48,48,48,47,47,47,47,47,47,47,47,47,47,47,46,
07097 46,46,46,46,46,45,45,45,45,45,44,44,44,44,44,43,43,43,43,42,42,
07098 42,42,42,42,41,41,41,41,40,40,40,40,40,40,40,39,39,39,38,38,38,
07099 38,38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,37,37,37,
07100 36,36,36,36,36,36,36,35,35,35,35,35,35,35,34,34,33,33,33,33,33,
07101 33,32,32,32,32,32,32,32,31,31,31,31,31,31,31,31,31,31,30,29,29,
07102 29,29,29,29,29,29,28,28,28,28,28,27,27,27,27,27,27,27,27,27,26,
07103 26,26,26,26,26,26,25,25,25,24,24,24,24,24,24,23,23,23,22,22,22,
07104 22,22,22,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,20
07105 };
07106 const int n4c1w2_b[] = {
07107 100,
07108 500,
07109
07110 100,100,100,100,100,100,100,100,100,100,100,99,99,99,98,98,98,
07111 98,97,97,97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,94,
07112 94,94,94,93,93,93,93,93,92,92,92,92,92,92,91,91,91,91,91,91,91,
07113 90,90,90,90,90,90,90,90,90,90,90,89,89,89,89,88,88,88,88,88,87,
07114 87,87,87,87,87,87,87,86,86,86,86,85,85,85,85,85,85,84,84,84,84,
07115 83,83,83,83,82,82,82,82,82,82,82,81,81,81,80,80,80,80,80,80,80,
07116 80,80,80,80,79,79,79,79,79,79,79,79,78,78,78,78,78,77,77,77,77,
07117 77,77,77,77,77,76,76,76,76,76,76,75,75,75,75,75,74,74,74,74,74,
07118 74,74,74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,72,72,72,
07119 72,72,72,71,71,71,71,71,71,71,70,70,70,70,70,69,69,69,69,69,69,
07120 68,68,68,68,68,68,67,67,67,67,67,67,67,67,67,67,66,66,66,66,66,
07121 65,65,65,65,65,65,64,64,64,64,63,63,63,63,63,62,62,62,62,62,62,
07122 62,61,61,61,61,61,61,61,60,60,60,60,60,60,59,59,59,59,59,59,59,
07123 59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,57,56,56,56,56,56,
07124 56,56,56,55,55,55,55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,
07125 53,52,52,52,52,52,51,51,51,51,51,51,51,51,50,50,50,50,50,50,49,
07126 49,48,48,48,48,48,48,47,47,47,47,47,47,47,47,47,46,46,46,46,46,
07127 46,46,46,45,45,45,44,44,44,44,43,43,43,43,43,43,43,43,42,42,42,
07128 42,42,41,41,41,41,41,40,40,40,40,40,40,39,39,39,39,39,39,39,39,
07129 39,38,38,37,37,37,37,36,36,36,36,36,35,35,35,35,35,35,35,35,34,
07130 34,34,34,33,33,33,33,33,33,33,32,32,32,32,32,31,31,31,31,31,31,
07131 30,30,30,30,30,30,30,30,30,29,29,29,28,28,28,28,28,28,28,28,28,
07132 28,28,27,27,27,27,27,26,26,26,25,25,25,25,25,25,25,25,25,25,24,
07133 24,24,24,24,24,23,23,23,23,23,23,22,22,22,21,20,20,20,20,20,20
07134 };
07135 const int n4c1w2_c[] = {
07136 100,
07137 500,
07138
07139 100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,98,98,98,
07140 97,97,97,96,96,96,96,95,95,95,95,94,94,93,93,93,93,93,93,93,93,
07141 93,92,92,92,92,92,91,91,91,91,91,91,91,90,90,90,90,90,89,89,89,
07142 89,89,89,89,89,88,88,88,87,87,86,86,86,86,86,86,86,86,86,86,85,
07143 85,85,85,85,85,85,85,85,84,84,83,83,83,83,83,82,82,82,82,82,82,
07144 82,81,81,80,80,80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,
07145 79,79,78,78,78,78,78,78,78,78,78,78,78,78,78,77,77,77,77,77,77,
07146 77,76,76,76,76,76,76,76,76,76,76,76,75,75,75,75,75,75,74,74,74,
07147 74,74,74,74,74,74,73,73,73,73,73,72,72,72,71,71,71,71,71,70,70,
07148 70,70,70,70,69,68,68,67,67,67,67,67,67,66,66,66,66,66,66,66,66,
07149 66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,
07150 62,62,62,62,62,61,61,61,60,60,60,60,60,60,60,59,59,59,59,59,59,
07151 59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,57,57,56,56,56,56,
07152 56,56,55,55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,53,53,52,
07153 52,52,52,52,52,52,52,52,52,52,52,52,52,51,51,51,51,50,50,50,50,
07154 50,50,49,49,49,49,49,49,49,49,49,49,48,48,47,47,47,47,47,47,47,
07155 46,46,46,46,46,46,46,45,45,45,45,44,44,44,44,44,44,43,43,43,43,
07156 42,42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,40,40,40,40,40,
07157 40,40,39,39,39,39,39,39,38,38,38,38,37,37,37,37,37,37,37,37,37,
07158 36,36,36,36,36,36,36,36,36,36,35,35,35,35,35,35,35,34,34,34,34,
07159 34,34,34,33,33,33,33,33,32,32,32,31,31,31,31,31,31,31,31,31,31,
07160 31,30,30,30,30,30,30,30,30,30,30,29,29,29,29,29,29,28,28,28,28,
07161 28,28,27,27,27,27,27,27,27,27,26,26,26,26,25,25,25,24,24,24,24,
07162 24,24,23,23,23,23,23,23,22,22,22,21,21,21,21,20,20,20,20
07163 };
07164 const int n4c1w2_d[] = {
07165 100,
07166 500,
07167
07168 100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,98,98,98,98,
07169 98,97,97,97,97,97,97,96,96,96,96,96,96,95,95,95,95,95,95,94,94,
07170 94,94,94,94,94,94,93,93,93,92,92,92,92,92,92,92,91,91,91,91,91,
07171 91,91,90,90,90,90,90,89,89,89,89,89,88,88,88,88,87,87,87,87,87,
07172 86,86,86,86,86,86,86,86,85,85,85,85,85,85,84,84,84,84,84,84,84,
07173 84,84,84,83,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,82,81,
07174 81,81,81,81,80,80,80,80,80,79,79,79,79,79,79,79,79,79,79,78,78,
07175 78,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,75,75,
07176 75,75,75,75,74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,71,
07177 71,70,70,70,70,69,69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,
07178 67,67,67,67,66,66,66,66,66,65,65,65,65,65,65,65,65,65,65,64,64,
07179 64,64,64,64,64,63,63,63,63,63,63,63,63,62,62,62,62,62,62,62,61,
07180 61,61,61,61,61,61,61,61,61,60,60,60,60,60,60,59,59,59,59,59,59,
07181 59,59,59,58,58,58,58,58,58,58,58,57,57,57,57,57,57,57,57,56,56,
07182 56,56,55,55,55,55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,53,
07183 52,52,52,52,51,51,51,51,50,50,49,49,49,49,49,49,49,49,49,48,48,
07184 48,48,47,47,47,47,47,47,47,47,47,47,46,46,46,46,45,45,45,45,45,
07185 45,44,44,43,43,43,43,43,43,43,43,42,42,41,41,41,41,41,40,40,40,
07186 40,40,40,39,39,39,39,38,38,38,37,37,37,37,37,37,37,36,36,36,36,
07187 36,36,36,36,36,36,36,36,35,35,35,34,34,34,34,34,33,33,32,32,32,
07188 32,32,32,32,31,31,31,30,30,30,30,29,29,29,29,29,29,29,29,29,28,
07189 28,28,28,28,28,28,28,28,28,27,27,27,27,27,27,26,26,26,26,26,26,
07190 26,26,26,25,25,25,25,25,24,24,24,24,24,23,23,23,22,22,22,22,22,
07191 22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,20,20,20,20
07192 };
07193 const int n4c1w2_e[] = {
07194 100,
07195 500,
07196
07197 100,100,100,100,100,99,99,99,99,99,99,98,98,98,98,98,98,98,98,
07198 98,98,97,97,97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,
07199 95,95,95,94,94,94,94,93,93,93,93,93,92,92,92,92,92,92,91,91,91,
07200 91,91,91,90,90,90,90,90,90,90,90,90,89,89,89,88,88,88,88,87,87,
07201 87,87,87,87,86,86,86,86,85,85,85,85,85,85,84,84,84,83,83,83,83,
07202 82,82,82,82,82,82,82,81,81,81,81,81,81,81,81,81,81,81,81,81,81,
07203 81,81,81,80,80,80,80,79,79,79,78,78,78,78,77,77,77,77,76,76,76,
07204 76,75,75,75,75,75,74,74,74,74,74,74,74,74,73,73,73,73,73,73,72,
07205 72,72,72,72,71,71,71,71,70,70,70,70,70,69,69,69,69,69,69,68,68,
07206 68,68,68,68,68,68,68,68,68,67,67,67,67,67,66,66,66,66,65,65,65,
07207 65,65,65,64,64,64,64,64,64,64,64,64,64,64,64,64,64,63,63,63,63,
07208 63,62,62,62,62,61,61,61,61,61,61,61,61,61,60,60,59,59,59,59,59,
07209 58,58,58,58,58,58,57,57,57,57,57,56,56,56,56,55,55,55,55,55,55,
07210 55,54,54,54,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,52,
07211 52,51,51,51,51,51,51,50,50,50,50,50,50,50,49,49,48,48,48,48,48,
07212 48,47,47,47,47,47,47,47,46,46,46,46,46,46,46,45,45,45,45,45,45,
07213 45,45,45,45,44,43,43,43,43,43,43,43,43,42,42,42,42,42,42,42,41,
07214 41,41,41,41,41,41,41,40,40,40,40,40,40,40,40,40,39,39,39,39,39,
07215 39,39,39,38,38,38,37,37,37,37,37,37,37,37,37,36,36,36,36,36,36,
07216 35,35,35,35,35,35,35,35,35,34,33,33,33,33,33,33,33,33,33,33,32,
07217 32,32,32,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,29,
07218 29,28,28,28,28,27,27,27,27,27,27,27,27,26,26,26,26,26,25,25,25,
07219 25,25,25,25,25,25,24,24,24,24,24,24,23,23,23,23,23,23,23,23,22,
07220 22,22,22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,20,20
07221 };
07222 const int n4c1w2_f[] = {
07223 100,
07224 500,
07225
07226 100,100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,
07227 98,98,97,97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,94,
07228 94,94,94,93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,92,
07229 91,91,91,91,91,91,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,
07230 88,88,88,87,87,87,87,87,86,86,86,86,86,86,86,86,85,85,85,85,85,
07231 85,84,84,84,84,84,84,84,84,83,83,83,82,82,82,82,82,82,81,81,80,
07232 80,80,80,79,79,79,79,79,79,79,79,79,79,78,78,78,78,77,77,76,76,
07233 76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,74,74,74,
07234 74,73,73,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,
07235 70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,68,68,68,68,68,67,
07236 67,67,67,67,66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,
07237 64,64,64,64,64,64,64,63,63,63,63,63,63,62,62,62,62,62,61,61,61,
07238 61,61,61,60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,59,59,58,
07239 58,58,57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,
07240 55,55,55,54,54,54,54,53,53,53,53,53,53,52,52,52,52,51,51,51,51,
07241 51,51,51,51,51,51,50,50,50,50,50,49,49,49,48,48,48,48,48,48,47,
07242 47,47,47,47,46,46,46,46,46,45,45,45,45,44,44,44,44,43,43,43,43,
07243 43,43,43,43,43,43,42,42,42,42,42,42,42,42,42,41,41,41,41,41,41,
07244 41,40,40,40,40,40,40,40,40,39,39,39,39,39,38,38,38,38,38,38,38,
07245 38,37,37,37,37,37,37,37,37,37,36,36,36,35,35,35,35,35,35,34,34,
07246 33,33,33,33,33,33,33,33,33,32,32,32,32,32,31,31,31,31,31,31,31,
07247 31,31,31,31,31,31,30,30,30,30,30,30,30,29,29,29,28,28,28,28,28,
07248 28,27,27,27,26,26,26,26,26,25,25,25,25,24,24,24,24,24,23,23,23,
07249 23,23,22,22,22,22,21,21,21,20,20,20,20,20,20,20,20,20,20,20
07250 };
07251 const int n4c1w2_g[] = {
07252 100,
07253 500,
07254
07255 100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,98,98,97,
07256 97,97,97,97,97,96,96,96,96,96,95,95,95,95,95,95,95,95,95,94,94,
07257 94,94,94,94,94,93,93,93,93,93,93,92,92,92,92,92,92,91,91,91,90,
07258 90,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,88,87,87,87,86,
07259 86,86,86,85,85,85,85,85,85,84,84,84,83,83,82,82,82,82,82,82,82,
07260 82,81,81,81,81,81,81,81,81,80,80,80,80,80,80,80,80,80,80,80,79,
07261 79,79,79,79,78,78,78,78,78,78,77,77,76,76,76,76,76,76,76,75,75,
07262 75,75,75,75,75,75,74,74,74,74,74,74,74,73,73,73,73,73,73,72,72,
07263 72,72,72,72,72,72,71,71,71,71,70,70,70,70,70,70,70,69,69,69,68,
07264 68,68,68,67,67,67,67,66,66,66,66,66,66,66,66,66,65,65,65,65,65,
07265 65,65,64,64,64,64,64,63,63,63,63,62,62,62,62,62,62,61,61,61,61,
07266 61,61,60,60,60,59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,57,
07267 57,57,56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,55,54,54,54,
07268 54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,50,50,
07269 50,50,50,50,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,48,48,
07270 48,47,47,46,46,46,46,45,45,45,45,45,45,45,45,45,45,44,44,44,44,
07271 44,44,44,43,43,43,43,43,43,42,42,42,42,42,42,42,42,41,41,41,41,
07272 41,41,41,41,41,40,40,40,40,40,40,40,40,39,39,39,39,38,38,38,38,
07273 38,38,37,37,37,37,37,37,37,37,36,36,36,36,36,36,36,35,35,35,35,
07274 35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,34,34,33,33,33,
07275 33,33,33,33,33,33,33,32,32,32,31,31,31,31,31,31,30,30,30,30,30,
07276 30,30,29,29,29,29,29,29,29,29,28,28,28,28,28,28,27,27,27,26,26,
07277 26,26,26,26,26,25,25,25,25,25,25,24,24,24,24,24,23,23,23,22,22,
07278 22,22,22,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20
07279 };
07280 const int n4c1w2_h[] = {
07281 100,
07282 500,
07283
07284 100,100,100,100,100,99,99,99,98,98,98,97,97,97,97,97,97,96,96,
07285 96,96,96,96,95,95,95,95,95,95,95,95,95,95,94,94,94,94,94,94,94,
07286 94,94,93,93,93,93,92,92,92,92,92,92,91,91,91,91,91,90,90,90,90,
07287 90,89,89,89,89,89,88,88,88,88,88,87,87,87,87,86,86,86,86,85,85,
07288 85,85,85,85,84,84,84,84,84,84,83,83,83,83,83,83,83,83,82,82,82,
07289 82,82,82,82,82,81,81,81,80,80,80,80,80,80,80,79,79,79,79,78,78,
07290 78,77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,75,
07291 75,75,75,75,74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,71,
07292 71,71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,68,
07293 68,68,68,68,68,68,68,68,68,67,67,67,67,67,67,67,67,66,66,66,66,
07294 66,66,66,65,65,65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,63,
07295 63,63,62,62,62,62,62,62,61,61,61,61,61,60,60,60,60,60,60,59,59,
07296 59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,58,58,57,57,56,
07297 56,56,56,56,56,56,56,56,55,55,55,55,55,55,54,54,53,53,53,53,53,
07298 53,52,52,52,52,52,52,51,51,51,51,51,51,51,50,50,50,50,49,49,49,
07299 49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,48,48,48,47,47,47,
07300 46,46,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,44,
07301 44,44,43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,41,41,41,41,
07302 41,40,40,39,39,39,39,39,39,39,38,38,38,38,38,38,37,37,37,37,37,
07303 37,37,36,36,36,36,35,35,35,35,35,34,34,34,34,33,33,33,33,33,33,
07304 33,33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,30,30,30,30,30,
07305 30,30,30,30,30,29,29,29,29,29,29,28,28,28,27,27,27,27,27,27,26,
07306 26,26,26,26,26,26,26,26,25,25,25,25,25,24,24,24,23,23,23,23,23,
07307 22,22,22,22,22,22,22,21,21,21,20,20,20,20,20,20,20,20,20
07308 };
07309 const int n4c1w2_i[] = {
07310 100,
07311 500,
07312
07313 100,100,100,100,100,99,99,99,98,98,98,98,97,97,97,97,96,96,96,
07314 96,96,96,96,96,96,95,95,95,95,95,94,94,94,94,94,94,94,93,93,93,
07315 93,93,92,92,92,92,92,92,92,91,91,91,91,91,90,90,90,90,89,89,89,
07316 89,89,89,89,89,89,89,89,89,89,89,88,88,87,87,87,87,87,86,86,86,
07317 86,86,86,86,86,86,85,85,85,85,85,84,84,84,84,84,83,83,83,83,82,
07318 82,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,80,80,79,79,79,
07319 79,79,79,79,79,79,79,78,78,78,78,77,77,77,77,77,76,76,76,76,76,
07320 75,75,75,75,75,75,75,75,75,75,75,74,74,74,74,73,73,73,73,73,73,
07321 73,72,72,72,72,72,72,72,71,71,71,71,71,71,71,71,70,70,70,70,69,
07322 69,69,69,69,69,69,68,68,68,68,67,67,67,66,66,66,66,66,66,65,65,
07323 64,64,64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,62,62,62,62,
07324 61,61,61,61,61,61,60,60,60,60,59,59,59,59,59,59,59,58,58,58,58,
07325 57,57,57,57,57,56,56,56,56,56,56,56,56,56,55,55,55,55,55,55,54,
07326 54,54,54,54,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,
07327 50,50,50,50,49,49,49,49,49,49,48,48,48,48,48,47,47,46,46,46,46,
07328 46,46,46,45,45,45,45,45,45,45,45,45,44,44,44,43,43,43,43,43,43,
07329 43,43,43,43,42,42,42,42,41,41,41,41,40,39,39,39,39,39,39,39,39,
07330 39,38,38,38,38,37,37,37,37,37,37,37,37,37,37,36,36,36,36,35,35,
07331 35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,
07332 33,33,33,33,33,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,31,
07333 31,31,31,31,31,30,30,30,30,30,29,29,29,28,28,28,28,28,28,27,27,
07334 27,27,27,27,26,26,26,26,26,26,26,25,25,25,25,25,25,25,25,25,25,
07335 25,25,25,24,24,24,24,24,24,24,24,24,24,23,23,23,23,23,23,23,23,
07336 22,22,22,22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,20
07337 };
07338 const int n4c1w2_j[] = {
07339 100,
07340 500,
07341
07342 100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,98,97,97,97,
07343 97,97,97,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,95,
07344 95,94,94,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,92,91,
07345 91,91,91,91,91,91,90,90,90,90,90,90,89,88,88,88,88,88,88,88,87,
07346 87,87,87,87,87,87,86,86,86,86,86,85,85,85,85,84,84,84,84,84,83,
07347 83,83,83,83,82,82,82,82,82,82,82,82,82,82,82,82,81,81,81,81,81,
07348 80,80,80,80,80,79,79,79,79,79,79,79,79,79,79,79,78,78,78,78,77,
07349 77,77,77,77,77,77,76,76,76,76,76,76,75,75,75,75,74,74,74,74,74,
07350 73,73,73,73,73,73,73,73,72,72,72,71,71,71,71,71,71,71,71,70,70,
07351 70,70,69,69,69,69,68,68,68,68,68,68,68,67,67,67,67,67,66,66,66,
07352 66,66,65,65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,64,64,
07353 64,63,63,63,62,62,62,62,62,62,62,61,61,61,60,60,60,60,60,59,59,
07354 59,59,59,59,58,58,58,58,57,57,57,57,57,56,56,56,56,56,56,56,55,
07355 54,54,54,54,54,54,54,54,54,54,53,53,53,53,53,53,53,52,52,52,52,
07356 52,51,51,51,51,51,51,51,50,50,50,50,50,50,49,49,49,49,48,48,48,
07357 47,47,47,46,46,46,46,46,46,46,46,45,45,45,45,45,45,44,43,43,43,
07358 43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,41,41,41,41,41,40,
07359 40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,39,39,39,38,38,
07360 38,38,38,38,38,37,37,37,37,37,36,36,36,36,36,36,35,35,35,35,35,
07361 34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,32,32,31,31,31,
07362 31,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,29,
07363 29,29,29,29,29,28,28,28,28,28,28,28,28,28,28,27,27,27,27,26,26,
07364 26,26,26,25,25,25,25,25,25,25,25,25,24,24,24,24,24,24,23,23,22,
07365 22,22,22,22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,20
07366 };
07367 const int n4c1w2_k[] = {
07368 100,
07369 500,
07370
07371 100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,97,97,
07372 97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,94,
07373 93,93,93,93,93,92,92,92,92,92,92,91,91,91,91,90,90,90,90,90,90,
07374 89,89,89,89,89,89,89,89,88,88,88,88,88,88,88,88,88,88,87,87,87,
07375 87,87,87,86,86,86,86,86,86,86,85,85,84,84,84,84,84,84,84,84,83,
07376 83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,80,
07377 80,80,79,79,79,79,79,78,78,78,78,78,78,77,77,77,77,77,77,77,77,
07378 76,76,76,76,75,75,75,75,75,75,75,75,74,74,74,74,74,74,73,73,73,
07379 73,73,73,73,73,73,72,72,72,71,71,71,71,71,71,71,71,70,70,70,70,
07380 70,70,69,69,69,69,69,69,69,69,68,68,68,68,68,67,67,67,67,67,67,
07381 67,67,67,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,
07382 63,63,63,63,63,63,62,62,61,61,61,61,61,61,61,60,60,60,60,60,60,
07383 59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,
07384 56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,53,53,53,52,
07385 52,52,52,52,52,51,51,51,51,51,51,51,51,51,51,50,50,50,49,49,48,
07386 48,48,48,47,47,47,47,47,47,46,46,46,45,45,45,45,45,45,45,45,45,
07387 44,44,44,44,44,44,44,43,43,43,43,43,43,43,43,43,42,42,42,42,41,
07388 41,41,41,41,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,38,
07389 37,37,37,36,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,35,35,
07390 34,34,34,34,34,33,33,33,33,33,33,33,33,33,33,33,33,33,32,32,32,
07391 32,32,32,32,32,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30,30,
07392 29,29,29,29,29,29,29,29,29,29,29,28,28,28,28,27,27,27,26,26,25,
07393 25,25,25,25,25,25,25,25,25,24,24,24,24,24,24,24,24,24,24,24,23,
07394 23,23,23,22,22,22,22,22,22,22,22,22,21,21,21,21,20,20,20,20
07395 };
07396 const int n4c1w2_l[] = {
07397 100,
07398 500,
07399
07400 100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,98,
07401 98,98,98,98,98,97,97,97,97,97,97,97,96,96,96,96,96,96,95,95,95,
07402 95,95,95,95,95,94,94,94,93,93,93,92,92,92,91,91,91,91,91,91,90,
07403 90,90,90,89,89,89,89,89,89,89,89,88,88,88,88,88,88,88,88,88,88,
07404 87,87,87,86,86,86,86,86,86,86,85,85,85,85,85,85,85,84,84,84,84,
07405 84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,82,82,82,82,82,82,
07406 81,81,81,81,81,81,81,80,80,80,79,79,78,78,78,78,78,78,78,78,78,
07407 77,77,77,77,77,77,77,77,77,76,76,76,75,75,74,74,74,74,74,74,73,
07408 73,73,73,73,73,72,72,72,72,71,71,71,71,71,71,71,70,70,70,70,69,
07409 69,69,69,69,69,69,69,68,68,68,68,68,68,68,68,67,67,67,66,66,66,
07410 66,65,65,65,65,65,65,65,65,64,64,64,64,64,63,63,63,63,63,63,62,
07411 62,62,62,62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,60,60,
07412 60,60,60,59,59,59,59,58,58,58,58,58,58,58,58,57,57,57,57,57,57,
07413 57,57,57,57,56,56,56,56,56,56,56,56,56,56,56,56,55,55,55,54,54,
07414 54,53,53,53,53,53,53,52,52,52,52,52,52,52,52,51,51,51,51,51,51,
07415 50,50,50,50,50,50,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,
07416 47,47,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,44,
07417 43,43,43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,41,41,40,40,
07418 40,39,39,39,39,39,39,39,39,39,38,38,38,38,38,38,38,38,38,37,37,
07419 37,36,36,36,36,36,35,35,35,35,35,35,34,34,34,34,34,33,33,33,33,
07420 33,33,33,33,32,32,31,31,31,31,30,30,30,30,30,29,29,29,29,29,29,
07421 29,28,28,28,28,28,27,27,27,27,27,27,27,27,26,26,26,26,26,26,25,
07422 25,25,25,25,25,25,24,24,24,24,24,24,23,23,23,23,23,23,23,22,22,
07423 22,22,22,22,22,22,22,21,21,21,21,21,21,21,21,20,20,20,20,20,20
07424 };
07425 const int n4c1w2_m[] = {
07426 100,
07427 500,
07428
07429 100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,
07430 98,98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,97,97,96,96,96,
07431 96,95,95,95,95,95,95,95,95,94,94,94,94,94,94,94,93,93,92,92,92,
07432 92,92,91,91,91,91,91,91,91,90,90,90,90,89,89,89,89,88,88,88,88,
07433 88,87,87,87,87,86,86,86,86,85,85,85,85,85,84,84,84,83,83,83,83,
07434 83,83,83,82,82,82,82,82,82,81,81,81,81,81,81,81,81,81,80,80,80,
07435 80,80,79,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,78,
07436 78,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,75,74,
07437 74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,72,72,72,72,71,71,
07438 71,71,71,70,70,70,70,70,69,69,69,69,69,69,69,68,68,68,68,68,68,
07439 68,68,68,68,68,68,67,67,67,67,67,66,66,66,66,66,66,66,66,65,65,
07440 65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,63,
07441 62,62,62,62,62,62,62,61,61,61,61,61,61,61,61,61,60,60,60,60,60,
07442 59,59,59,59,59,59,59,59,58,58,58,58,57,57,57,57,56,56,56,56,56,
07443 56,55,55,55,54,54,53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,
07444 51,51,51,51,50,50,50,50,50,50,49,49,49,49,48,48,48,48,48,48,47,
07445 47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,46,46,46,46,45,45,
07446 45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,43,43,43,43,42,42,
07447 42,42,42,42,42,42,41,41,41,40,40,40,40,40,39,39,39,39,38,38,38,
07448 37,37,37,37,37,36,36,36,36,36,36,35,35,35,35,35,35,35,34,34,34,
07449 33,33,33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,
07450 30,30,30,30,30,30,30,30,30,30,29,29,29,29,28,28,28,28,28,28,28,
07451 28,28,27,27,27,27,27,27,26,26,25,25,25,25,24,24,24,24,24,24,24,
07452 23,23,23,22,22,22,22,22,22,22,21,21,21,21,21,21,20,20,20,20
07453 };
07454 const int n4c1w2_n[] = {
07455 100,
07456 500,
07457
07458 100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,98,98,
07459 98,98,98,98,98,97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,
07460 95,95,95,94,94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,92,92,
07461 92,92,92,92,92,92,91,91,91,91,91,91,91,90,90,90,90,90,90,90,90,
07462 89,89,89,89,89,89,89,89,89,88,88,88,88,88,88,88,87,87,87,87,87,
07463 87,86,86,86,86,85,85,85,85,85,85,85,85,85,84,84,84,84,84,83,83,
07464 83,83,82,81,81,81,81,81,80,80,80,80,79,79,79,79,79,79,79,78,78,
07465 78,78,78,77,77,77,77,76,76,76,76,76,76,75,75,75,75,74,74,73,73,
07466 73,73,73,72,72,72,72,72,72,71,71,71,71,71,70,70,70,70,70,70,69,
07467 69,69,69,69,68,68,68,68,68,68,68,67,67,67,66,66,66,66,66,66,66,
07468 66,65,65,64,64,63,63,63,63,63,63,63,63,63,63,63,62,62,62,62,61,
07469 61,61,61,61,61,61,60,60,60,60,59,59,59,59,59,58,58,58,58,58,57,
07470 57,57,57,57,57,56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,
07471 54,54,54,54,54,54,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,
07472 52,52,52,52,51,51,51,51,51,51,51,50,50,50,50,50,50,50,50,49,49,
07473 49,49,49,49,49,49,48,48,48,48,47,47,46,46,46,45,45,45,45,44,44,
07474 44,44,44,44,44,44,44,44,44,43,43,43,42,42,42,42,42,42,42,41,41,
07475 41,41,41,41,41,41,40,40,40,40,40,40,40,40,39,39,39,39,39,39,38,
07476 38,38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,36,36,36,36,36,
07477 35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,33,33,32,
07478 32,32,32,32,32,32,32,31,31,31,31,31,31,31,31,30,30,30,30,30,30,
07479 30,30,30,30,29,29,29,29,29,29,29,28,28,28,28,27,27,27,26,26,26,
07480 26,26,26,26,25,25,25,25,25,24,24,24,24,24,23,23,23,23,23,22,22,
07481 22,22,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,20,20
07482 };
07483 const int n4c1w2_o[] = {
07484 100,
07485 500,
07486
07487 100,100,100,100,100,100,100,99,99,99,99,99,99,98,98,98,98,98,
07488 98,97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,95,95,95,
07489 95,94,94,94,94,93,93,93,93,93,92,92,91,91,91,91,91,91,91,90,90,
07490 90,89,89,89,89,89,89,89,88,88,88,88,88,88,88,88,88,88,87,87,87,
07491 87,87,86,86,86,86,86,86,86,86,86,86,86,86,85,85,85,85,85,85,84,
07492 84,84,84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,83,82,82,82,
07493 82,81,81,81,81,81,81,81,81,81,81,80,80,80,80,80,80,79,79,79,78,
07494 78,78,78,78,78,77,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,
07495 75,75,75,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,72,72,72,
07496 71,71,71,71,71,71,71,71,71,69,69,68,68,68,68,68,68,68,68,68,67,
07497 67,66,66,66,65,65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,63,
07498 63,63,62,62,62,62,62,62,62,61,61,61,61,61,61,61,61,60,60,60,60,
07499 60,60,60,60,60,59,59,59,59,58,58,58,58,58,58,57,57,57,57,57,57,
07500 56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,
07501 53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,51,51,51,51,51,50,
07502 50,50,50,50,50,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,47,
07503 47,47,47,47,47,47,47,46,46,46,46,46,46,45,45,45,45,45,45,45,44,
07504 44,44,44,44,44,44,43,43,43,42,42,42,42,42,42,42,41,40,40,40,40,
07505 40,40,39,39,39,39,39,39,38,38,38,38,38,37,37,37,37,37,36,36,36,
07506 36,36,36,35,35,35,35,34,34,34,34,33,33,33,32,32,32,32,32,32,32,
07507 32,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,29,29,
07508 29,29,29,29,29,29,29,29,29,29,28,28,28,28,28,28,27,27,27,27,27,
07509 27,27,26,26,26,26,26,25,25,25,25,25,25,25,25,24,24,24,24,24,23,
07510 23,23,23,22,22,22,22,21,21,21,21,21,21,21,21,20,20,20,20,20
07511 };
07512 const int n4c1w2_p[] = {
07513 100,
07514 500,
07515
07516 100,100,100,100,99,99,99,99,98,98,98,98,98,98,98,98,98,98,97,
07517 97,97,97,96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,94,94,94,
07518 94,94,94,94,93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,91,
07519 91,91,91,90,90,90,90,89,89,89,89,89,89,88,88,88,87,87,87,87,86,
07520 86,86,86,85,85,84,84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,
07521 83,83,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,80,80,80,80,
07522 80,79,79,79,79,79,78,78,78,77,77,77,77,77,77,77,76,76,76,76,76,
07523 75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,73,73,73,73,72,72,
07524 72,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,70,70,70,70,70,
07525 70,70,69,69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,67,67,67,
07526 67,67,67,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,63,63,
07527 63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,61,61,61,61,61,60,
07528 60,60,60,60,60,59,59,59,59,59,58,58,58,58,58,58,57,57,57,57,57,
07529 57,57,57,57,56,56,56,56,56,56,55,55,54,54,54,54,54,54,54,54,54,
07530 54,54,54,53,53,53,53,53,53,52,52,52,52,51,51,51,51,51,51,50,50,
07531 50,50,49,49,49,48,48,48,48,48,48,48,48,48,48,47,47,47,47,47,46,
07532 46,46,46,46,46,46,46,45,45,45,45,45,45,45,45,44,44,44,43,43,43,
07533 43,43,43,43,42,42,42,42,42,42,42,41,41,41,41,41,41,41,40,40,40,
07534 40,40,40,39,39,39,39,39,39,39,39,39,38,38,38,38,38,38,37,37,37,
07535 37,37,37,37,37,37,37,36,36,36,36,36,36,36,35,35,34,34,34,34,34,
07536 34,33,33,33,33,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,
07537 30,30,30,30,30,30,29,29,29,29,29,29,28,28,28,28,28,27,27,27,27,
07538 27,27,26,26,26,26,26,25,25,25,25,25,25,25,25,24,24,24,23,23,23,
07539 23,23,23,22,22,21,21,21,21,21,21,20,20,20,20,20,20,20,20
07540 };
07541 const int n4c1w2_q[] = {
07542 100,
07543 500,
07544
07545 100,100,100,100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,
07546 97,97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,95,94,94,94,94,
07547 94,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,92,91,91,91,
07548 91,91,91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,89,89,89,88,
07549 88,88,88,87,87,87,87,87,86,86,86,86,86,86,85,85,85,85,84,84,84,
07550 84,84,84,84,84,83,83,82,82,82,82,82,82,82,81,81,81,81,81,81,81,
07551 80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,78,78,78,78,77,77,
07552 77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,76,75,75,75,75,74,
07553 74,74,74,74,74,74,74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,
07554 71,71,71,71,71,71,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,
07555 69,68,68,68,68,68,67,67,67,66,66,66,66,66,66,66,66,65,65,65,65,
07556 65,65,65,65,64,64,64,63,63,63,62,62,62,62,61,61,61,61,61,61,61,
07557 61,61,60,60,60,60,59,59,59,59,59,59,59,58,58,57,57,57,57,57,57,
07558 57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,54,
07559 54,54,54,54,54,54,54,54,53,53,53,53,53,52,52,52,51,51,51,51,50,
07560 50,50,50,50,50,50,50,50,50,49,49,49,48,48,48,48,48,48,48,48,47,
07561 47,47,46,46,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,
07562 44,44,44,44,44,43,43,42,42,42,42,42,41,41,41,41,41,41,40,40,40,
07563 40,40,40,40,40,39,39,39,39,39,39,39,39,39,38,38,38,37,37,37,37,
07564 37,37,36,36,36,36,36,36,36,35,35,35,35,34,34,34,34,34,34,34,34,
07565 34,34,33,33,33,33,33,32,32,32,31,31,31,31,31,31,31,30,30,30,30,
07566 30,30,29,29,29,29,29,28,28,28,28,28,28,28,27,27,27,27,27,26,26,
07567 26,26,26,26,25,25,25,25,24,24,24,24,24,24,24,23,23,23,23,23,23,
07568 23,22,22,22,22,22,22,22,21,21,21,21,20,20,20,20,20,20,20,20
07569 };
07570 const int n4c1w2_r[] = {
07571 100,
07572 500,
07573
07574 100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,
07575 99,99,99,98,98,98,98,98,97,97,97,96,96,96,96,96,96,96,96,96,96,
07576 96,95,95,95,94,94,93,93,93,93,93,93,93,92,92,92,92,92,92,92,91,
07577 91,91,90,90,90,89,89,89,89,89,89,89,89,89,89,89,88,88,88,88,88,
07578 88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,86,86,86,86,86,85,
07579 85,85,84,84,84,84,84,83,83,83,83,83,83,83,83,82,82,82,82,82,82,
07580 81,81,81,80,80,80,80,80,79,79,79,79,78,78,78,78,78,78,78,78,78,
07581 78,78,77,77,77,77,77,77,77,76,76,76,76,75,75,75,75,75,75,75,75,
07582 75,74,74,74,74,74,74,74,74,73,73,73,73,73,73,72,72,72,72,71,71,
07583 71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,68,68,68,
07584 68,68,67,67,67,67,67,67,67,67,67,67,66,66,66,66,65,65,65,65,65,
07585 65,65,64,64,64,64,64,64,64,64,64,63,63,63,63,62,62,62,62,62,61,
07586 61,61,61,60,60,60,60,59,59,59,59,59,58,58,58,58,58,58,58,58,58,
07587 58,58,57,57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,54,54,54,
07588 54,53,53,52,52,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,
07589 49,49,49,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,48,47,47,
07590 46,46,46,46,46,46,46,46,46,46,46,45,45,44,44,44,44,44,44,43,43,
07591 43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,42,42,41,41,41,41,
07592 40,40,40,40,40,40,40,40,39,39,39,39,38,38,38,38,38,38,37,37,37,
07593 37,37,37,36,36,36,36,36,35,35,35,35,35,34,34,34,34,34,34,34,33,
07594 33,33,33,33,33,33,33,32,31,31,31,31,30,30,30,30,30,30,30,29,29,
07595 29,29,29,29,29,29,28,28,28,28,27,27,27,27,27,26,26,26,26,26,26,
07596 25,25,25,25,25,25,25,24,24,24,24,24,24,23,22,22,22,22,22,22,22,
07597 22,22,21,21,21,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20
07598 };
07599 const int n4c1w2_s[] = {
07600 100,
07601 500,
07602
07603 100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,98,98,
07604 98,98,98,98,97,97,97,97,97,97,97,97,96,96,96,95,95,95,95,95,94,
07605 94,94,94,94,93,93,93,93,93,93,93,93,92,92,92,92,91,91,91,91,91,
07606 91,91,91,91,90,90,90,89,89,89,89,89,89,89,89,89,89,89,89,89,89,
07607 88,88,88,88,88,87,87,87,87,87,87,87,86,86,86,85,85,85,85,85,85,
07608 85,85,85,84,84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,82,82,
07609 82,82,82,82,82,81,81,80,80,79,79,79,79,79,79,78,78,78,77,77,77,
07610 77,76,76,76,76,76,75,75,74,74,73,73,73,73,73,73,73,73,73,72,72,
07611 72,72,72,72,72,71,71,71,71,70,70,70,69,69,69,69,69,69,69,69,69,
07612 68,68,68,68,68,68,68,68,68,68,68,67,67,67,67,66,66,66,66,66,65,
07613 65,65,65,65,65,65,65,64,64,64,64,64,63,63,63,63,63,63,63,63,63,
07614 63,63,62,62,62,62,62,62,62,61,61,61,61,61,60,60,59,59,59,59,59,
07615 59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,57,57,57,57,56,
07616 56,56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,54,54,54,53,53,
07617 53,53,52,52,52,52,52,51,51,51,51,51,50,50,50,49,49,49,49,48,47,
07618 47,47,47,47,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,44,
07619 44,44,43,43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,42,41,41,
07620 41,41,41,40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,39,39,
07621 39,38,38,38,38,38,38,38,38,38,38,38,38,37,37,37,37,37,37,36,36,
07622 36,36,36,36,36,36,35,35,35,35,35,35,35,34,34,34,34,33,33,33,33,
07623 33,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,
07624 29,29,29,29,29,29,29,28,28,28,28,28,28,28,28,27,27,27,27,27,27,
07625 26,26,26,26,26,26,26,26,26,25,25,25,25,25,25,25,25,24,24,24,24,
07626 23,23,23,23,23,23,23,22,22,22,22,21,21,21,21,21,20,20,20
07627 };
07628 const int n4c1w2_t[] = {
07629 100,
07630 500,
07631
07632 100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,98,98,98,
07633 98,98,98,98,97,97,96,96,96,96,96,96,96,96,96,96,95,95,95,95,95,
07634 95,95,94,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,92,92,
07635 91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,
07636 89,88,88,87,87,87,87,87,86,86,86,86,85,85,85,84,84,84,84,84,83,
07637 83,83,83,83,83,83,82,82,82,81,80,80,80,80,80,80,80,80,80,80,79,
07638 79,79,79,79,78,78,78,78,78,78,78,77,77,77,76,76,76,76,76,76,76,
07639 76,75,75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,74,74,74,73,
07640 73,73,73,73,73,73,72,72,72,72,72,72,72,72,72,71,71,71,71,71,71,
07641 71,70,70,70,70,70,70,69,69,69,69,69,69,69,68,68,68,67,67,67,67,
07642 67,67,67,67,66,66,66,65,65,65,65,65,65,65,65,65,64,64,64,64,64,
07643 64,63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,61,61,61,61,61,
07644 60,60,60,60,60,60,60,60,59,59,59,59,59,59,59,58,58,58,58,57,57,
07645 57,57,57,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,
07646 54,53,53,53,53,53,53,53,53,52,52,52,52,51,51,51,51,51,51,51,51,
07647 51,50,50,50,50,50,50,50,49,49,49,49,49,49,49,48,48,48,48,47,47,
07648 47,47,47,47,47,46,46,46,46,46,46,46,45,45,45,45,45,45,45,45,45,
07649 45,45,45,44,44,44,44,44,44,44,44,43,43,43,43,43,43,43,43,42,42,
07650 42,42,42,42,41,41,41,41,41,41,40,40,40,40,40,39,39,39,39,39,38,
07651 38,38,38,38,38,37,37,36,36,36,36,36,36,36,36,36,36,35,35,35,34,
07652 34,34,33,33,33,32,32,32,32,32,32,32,32,32,32,31,31,31,31,31,31,
07653 30,30,30,30,29,29,29,29,29,28,28,28,28,27,27,27,26,26,26,26,26,
07654 25,25,25,25,25,25,24,24,24,24,23,23,23,23,22,22,22,22,22,21,21,
07655 21,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,20,20,20
07656 };
07657 const int n4c1w4_a[] = {
07658 100,
07659 500,
07660
07661 100,100,100,100,100,100,99,99,99,99,99,99,98,98,98,98,98,97,97,
07662 97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,
07663 95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,93,93,92,92,92,
07664 92,92,92,91,91,91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,89,
07665 89,89,89,89,88,88,88,88,88,88,88,88,88,88,88,87,87,87,87,87,87,
07666 87,87,87,87,86,86,86,86,86,86,86,86,85,85,85,85,85,85,85,85,85,
07667 84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,83,82,82,82,82,81,
07668 81,81,81,81,81,81,81,80,80,80,80,80,79,79,79,79,79,79,79,78,78,
07669 78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,75,74,
07670 74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,73,73,73,73,73,73,
07671 73,73,73,73,72,72,72,72,72,72,71,71,71,71,70,70,70,70,70,69,69,
07672 69,69,69,69,69,69,69,69,68,68,68,67,67,67,67,67,67,67,67,66,66,
07673 66,66,66,66,65,65,65,65,65,65,65,65,64,64,64,64,64,64,63,63,63,
07674 63,63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,60,60,60,60,60,
07675 60,60,60,60,60,59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,
07676 58,57,57,57,56,56,56,56,56,56,56,56,56,56,55,55,55,55,55,54,54,
07677 54,54,54,54,54,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,51,
07678 51,50,50,50,50,50,50,50,50,50,50,49,49,49,49,48,48,48,48,48,48,
07679 48,48,48,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,46,
07680 46,46,46,46,46,46,45,45,45,45,45,44,44,44,44,44,44,44,44,43,43,
07681 43,43,42,42,42,42,42,42,42,42,42,41,41,41,41,41,40,40,40,40,40,
07682 40,39,39,39,39,39,38,38,38,38,38,38,37,37,37,37,37,36,36,36,36,
07683 36,36,36,36,36,35,35,35,35,35,35,35,35,35,34,34,34,33,33,33,33,
07684 33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30
07685 };
07686 const int n4c1w4_b[] = {
07687 100,
07688 500,
07689
07690 100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,
07691 98,98,98,98,98,98,98,98,98,98,97,97,97,97,97,97,96,96,96,96,96,
07692 96,96,96,96,95,95,95,95,95,95,94,94,93,93,93,93,93,93,92,92,92,
07693 92,92,92,92,91,91,91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,
07694 89,89,89,89,89,89,89,88,88,88,88,88,87,87,87,87,87,87,87,86,86,
07695 86,86,85,85,85,85,85,84,84,83,83,83,83,83,83,82,82,82,82,81,81,
07696 81,81,81,81,81,81,81,81,81,80,80,80,80,79,79,79,79,79,79,79,78,
07697 78,78,78,78,78,78,77,77,77,77,77,77,76,76,76,76,76,76,76,75,75,
07698 75,75,75,75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,73,72,72,
07699 72,72,72,72,71,70,70,70,69,69,69,69,69,69,69,69,69,68,68,68,68,
07700 68,68,68,68,68,68,67,67,67,67,67,66,66,66,66,66,65,65,65,65,65,
07701 65,65,64,64,64,64,64,64,63,63,63,63,63,63,63,62,62,62,62,62,62,
07702 62,62,62,61,61,61,61,61,61,60,60,60,60,60,60,59,59,59,59,59,59,
07703 58,58,58,58,58,58,58,58,58,58,58,58,58,58,57,57,57,57,57,57,57,
07704 57,56,56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,54,53,53,
07705 53,53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,51,51,
07706 51,51,51,51,51,51,51,51,51,51,51,50,50,50,50,50,50,50,49,49,49,
07707 49,49,49,49,49,49,48,48,48,48,48,48,48,48,48,47,47,47,47,47,47,
07708 47,47,47,47,47,46,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,
07709 44,44,44,44,44,43,43,43,43,43,43,43,43,43,43,43,42,42,42,42,42,
07710 42,42,42,42,41,41,41,41,41,41,41,40,40,39,39,39,39,39,39,38,38,
07711 38,38,37,37,37,37,37,37,37,37,37,36,36,36,36,36,35,35,35,35,35,
07712 35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,
07713 33,33,33,33,33,33,32,32,32,32,32,31,31,31,31,30,30,30,30,30
07714 };
07715 const int n4c1w4_c[] = {
07716 100,
07717 500,
07718
07719 100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,98,98,98,98,
07720 97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,95,94,
07721 94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,92,92,92,92,92,92,
07722 92,92,92,91,91,91,91,91,91,90,90,90,90,90,90,90,90,90,90,89,89,
07723 89,89,89,89,89,89,89,89,89,89,88,88,88,88,88,87,87,87,87,87,87,
07724 87,87,86,86,86,86,86,85,85,85,84,84,83,83,83,83,83,82,82,82,82,
07725 82,82,81,81,81,81,80,80,80,80,80,80,80,80,80,80,80,79,79,79,79,
07726 78,78,78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,76,76,76,76,
07727 76,76,75,75,75,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,
07728 73,73,72,72,72,71,71,71,71,71,71,71,71,71,70,70,70,70,70,70,70,
07729 69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,67,67,67,67,67,
07730 67,67,67,67,67,67,67,67,67,67,67,66,66,66,66,66,66,66,66,66,66,
07731 65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,64,64,63,63,63,63,
07732 63,63,62,62,62,62,62,62,62,62,62,62,61,61,61,61,61,61,61,60,60,
07733 60,60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,58,58,58,58,58,
07734 58,58,58,58,57,57,57,56,56,56,55,55,55,55,55,55,55,54,54,54,54,
07735 54,54,53,53,53,53,52,52,52,52,51,51,51,51,51,51,51,51,51,51,50,
07736 50,50,50,50,50,50,50,50,50,50,49,49,49,49,49,49,49,49,48,48,48,
07737 48,48,48,47,47,47,47,47,47,46,46,46,46,46,45,45,45,45,45,44,44,
07738 44,44,44,44,44,44,44,43,43,43,43,43,43,43,43,43,42,42,42,42,42,
07739 41,41,41,41,41,41,41,41,41,40,40,40,39,39,39,39,39,39,38,38,38,
07740 38,38,38,38,38,38,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,
07741 35,35,35,35,34,34,34,34,34,34,33,33,33,33,33,33,33,33,33,33,32,
07742 32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,30
07743 };
07744 const int n4c1w4_d[] = {
07745 100,
07746 500,
07747
07748 100,100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,
07749 99,98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,97,96,96,96,96,
07750 95,95,95,95,95,95,95,94,94,94,93,93,93,93,93,93,93,93,92,92,92,
07751 92,92,92,91,91,91,90,90,90,89,89,89,89,89,89,89,89,89,89,88,88,
07752 88,88,88,87,87,87,87,86,86,86,86,86,86,86,86,86,86,86,85,85,85,
07753 85,85,85,85,85,85,85,85,84,84,84,84,83,83,83,83,83,83,83,82,82,
07754 82,82,82,82,81,80,80,80,80,80,80,80,80,80,79,79,79,79,79,78,78,
07755 78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,76,75,
07756 75,75,75,75,75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,73,73,
07757 73,73,72,72,72,72,71,71,71,71,71,71,71,71,71,70,70,70,70,69,69,
07758 69,69,68,68,68,68,68,68,67,67,67,67,67,66,66,66,66,66,65,65,65,
07759 65,65,65,64,64,64,64,64,64,64,64,64,64,63,63,63,63,63,63,63,62,
07760 62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,61,61,61,61,
07761 61,61,61,61,61,61,60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,
07762 58,58,58,58,58,58,58,58,58,57,57,57,57,57,57,57,56,56,56,56,56,
07763 56,56,55,55,55,55,55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,
07764 53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,51,51,
07765 51,51,51,50,50,50,50,50,49,49,49,49,49,49,49,49,49,48,48,48,48,
07766 47,47,47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,45,45,45,45,
07767 45,45,44,44,44,44,44,44,44,44,43,43,43,43,43,43,42,42,42,42,42,
07768 42,42,41,41,41,41,41,41,41,41,40,40,40,40,40,40,39,39,39,39,39,
07769 38,38,38,38,38,38,38,38,38,38,37,37,37,37,37,37,36,36,36,36,36,
07770 36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,34,34,34,34,34,34,
07771 34,33,33,33,33,33,33,33,32,31,31,31,31,31,30,30,30,30,30,30,30
07772 };
07773 const int n4c1w4_e[] = {
07774 100,
07775 500,
07776
07777 100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,98,98,
07778 98,98,98,98,98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,96,96,
07779 96,96,96,96,96,96,96,96,96,95,95,95,95,94,94,94,94,94,93,93,93,
07780 93,93,93,92,92,92,92,92,92,92,91,91,91,91,91,90,90,90,90,90,90,
07781 90,90,89,89,89,89,89,89,89,89,89,89,88,88,88,88,88,88,87,87,87,
07782 87,87,87,86,86,86,86,85,85,85,85,85,85,85,85,85,85,84,84,84,84,
07783 84,84,84,83,83,83,83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,
07784 81,81,80,80,80,80,80,80,80,80,80,80,80,80,80,80,79,79,79,79,79,
07785 79,78,78,78,78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,76,76,
07786 76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,
07787 74,74,74,73,73,73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,71,
07788 71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,68,68,
07789 68,68,68,68,67,67,67,67,67,67,67,67,67,67,67,67,67,67,66,66,66,
07790 66,66,66,66,66,65,65,65,65,64,64,64,64,63,63,63,63,63,63,63,63,
07791 63,63,62,62,62,62,62,61,61,61,61,61,60,60,60,60,60,60,59,59,59,
07792 59,59,59,59,59,59,59,59,59,59,58,58,58,58,57,57,57,57,57,57,57,
07793 57,57,56,56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,53,53,53,
07794 53,53,53,53,53,52,52,52,52,51,51,51,51,51,51,50,50,49,49,49,49,
07795 49,49,48,48,48,48,48,48,47,47,47,47,47,47,47,46,46,46,46,46,46,
07796 46,45,45,45,45,45,44,44,44,43,43,43,43,43,43,43,43,43,43,42,42,
07797 42,42,42,42,42,42,42,42,41,41,41,41,41,41,40,40,39,39,39,39,39,
07798 39,39,38,38,38,38,38,38,38,38,37,37,36,36,36,36,36,36,35,35,35,
07799 35,35,35,35,35,34,34,34,34,33,33,33,33,33,33,32,32,32,32,32,32,
07800 32,32,32,32,32,32,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30
07801 };
07802 const int n4c1w4_f[] = {
07803 100,
07804 500,
07805
07806 100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,98,97,97,97,97,
07807 97,97,96,96,96,96,96,96,96,94,94,94,94,94,94,93,93,93,93,93,92,
07808 92,92,91,91,91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,88,88,
07809 88,88,88,87,87,87,87,87,87,86,86,86,86,85,85,85,84,84,84,84,84,
07810 84,84,83,83,83,83,83,83,83,83,83,83,82,82,82,82,82,82,81,81,81,
07811 81,81,81,81,81,80,80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,
07812 78,78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,76,76,76,76,76,
07813 76,76,76,76,75,75,75,75,75,75,75,75,75,75,74,74,74,74,74,74,74,
07814 73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,72,72,72,
07815 72,72,72,72,71,71,71,70,70,70,70,69,69,69,69,69,69,69,69,69,69,
07816 69,69,68,68,68,68,68,68,68,68,68,68,68,67,67,66,66,66,66,65,65,
07817 65,65,65,65,65,65,64,64,64,64,64,64,64,64,64,64,64,64,64,63,63,
07818 63,63,63,63,63,63,62,62,62,62,62,61,61,61,61,61,60,60,60,60,60,
07819 60,60,60,60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,59,59,58,
07820 58,58,58,58,58,58,58,58,58,57,57,57,57,57,57,57,57,57,57,57,57,
07821 56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,54,54,54,54,54,
07822 54,54,54,54,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,52,51,
07823 51,51,51,51,51,51,51,51,50,50,50,50,50,50,50,50,50,49,49,49,48,
07824 48,48,48,48,47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,46,45,
07825 45,45,45,44,44,44,44,44,44,44,44,44,44,44,43,43,43,42,42,42,41,
07826 41,41,41,41,40,40,40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,
07827 39,39,38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,36,36,36,36,
07828 36,35,35,35,35,35,35,35,35,34,34,34,34,34,33,33,33,33,32,32,32,
07829 32,32,32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,30
07830 };
07831 const int n4c1w4_g[] = {
07832 100,
07833 500,
07834
07835 100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,98,98,98,
07836 98,98,98,98,97,97,97,97,97,97,97,96,96,96,96,96,96,95,95,95,95,
07837 95,95,95,95,95,94,94,94,94,94,93,93,93,93,93,93,93,93,93,93,92,
07838 92,92,92,92,92,91,91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,
07839 89,89,89,89,89,89,89,89,88,88,88,88,87,87,87,87,87,87,87,86,86,
07840 86,86,86,86,86,86,86,86,85,85,85,85,85,85,84,84,83,83,83,83,83,
07841 82,82,82,82,82,82,82,82,82,82,82,82,82,81,81,81,81,81,81,81,81,
07842 81,80,80,80,80,80,80,79,79,79,79,79,79,79,79,79,78,78,78,78,78,
07843 78,78,78,78,78,77,77,77,77,77,77,77,77,77,77,77,76,76,76,75,75,
07844 75,75,75,75,75,75,75,74,74,74,74,74,74,74,73,73,73,73,73,73,73,
07845 73,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,71,70,70,70,70,
07846 70,70,69,69,69,69,69,68,68,68,68,68,68,68,68,68,68,68,68,67,67,
07847 67,66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,63,
07848 63,63,63,63,63,62,62,62,62,62,62,61,61,61,60,60,60,60,60,60,60,
07849 60,60,60,59,59,59,59,59,59,59,59,59,58,58,58,58,58,58,57,57,57,
07850 56,56,56,56,55,55,55,55,55,55,55,54,54,54,54,54,54,54,54,54,54,
07851 53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,51,51,51,51,51,50,
07852 50,50,50,50,50,49,49,49,49,49,49,49,48,48,48,48,48,48,48,48,47,
07853 47,47,47,47,47,47,47,46,46,46,46,46,46,45,45,45,45,44,44,44,44,
07854 44,44,44,43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,42,42,41,
07855 41,41,41,41,41,41,41,41,41,40,40,40,40,40,39,39,39,39,39,39,39,
07856 39,38,38,38,38,37,37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,
07857 35,35,35,34,34,34,34,33,33,33,33,33,33,32,32,32,32,32,32,32,32,
07858 32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30
07859 };
07860 const int n4c1w4_h[] = {
07861 100,
07862 500,
07863
07864 100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,
07865 99,99,99,98,98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,97,97,
07866 96,96,96,96,96,95,95,95,95,95,95,95,95,95,95,95,95,94,94,94,94,
07867 94,94,93,93,93,93,93,92,92,92,92,92,92,91,91,91,91,91,91,91,91,
07868 91,91,91,91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,89,88,88,
07869 88,88,88,87,87,87,87,87,87,87,86,86,86,86,86,86,86,86,85,85,85,
07870 85,84,84,84,84,84,84,84,83,83,83,83,82,82,82,82,82,82,82,82,82,
07871 82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,80,80,80,80,80,79,
07872 79,79,79,79,79,79,78,78,78,78,78,78,78,78,77,77,77,76,76,76,76,
07873 76,76,76,76,76,76,76,76,76,75,75,75,75,74,74,74,74,74,74,73,73,
07874 73,72,72,72,71,71,71,71,71,71,71,70,70,70,70,70,70,70,70,70,69,
07875 69,69,69,69,68,68,68,68,68,68,68,67,67,67,67,67,67,66,66,66,66,
07876 66,66,66,66,66,65,65,65,65,65,65,65,65,65,65,64,64,64,64,64,63,
07877 63,63,63,63,63,62,62,62,62,62,61,61,61,61,61,61,61,61,61,60,60,
07878 60,60,60,59,59,59,59,58,58,58,58,58,58,58,58,58,57,57,57,57,57,
07879 57,56,56,56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,
07880 54,54,54,54,54,53,53,52,52,52,52,52,51,51,51,51,50,50,49,49,49,
07881 49,49,48,48,48,48,48,48,48,47,47,47,47,46,46,46,46,46,46,45,45,
07882 45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,44,44,43,43,43,43,
07883 43,43,43,43,42,42,42,42,42,42,42,42,42,41,41,41,41,41,41,40,40,
07884 40,39,39,39,38,38,38,38,38,38,38,38,38,38,38,37,37,37,37,37,37,
07885 37,37,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,34,34,34,34,
07886 34,34,34,34,34,34,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,
07887 32,31,31,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30
07888 };
07889 const int n4c1w4_i[] = {
07890 100,
07891 500,
07892
07893 100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,98,98,
07894 98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,97,97,96,96,96,96,
07895 96,96,95,95,95,95,95,95,95,95,95,95,94,94,94,94,94,94,94,94,94,
07896 93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,91,
07897 91,91,91,91,91,91,91,90,90,90,90,89,89,89,89,89,89,89,89,88,88,
07898 88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,86,86,86,85,85,85,
07899 85,85,85,84,84,84,84,84,84,84,84,83,83,83,83,82,82,82,82,82,82,
07900 81,81,81,81,81,80,80,80,80,80,80,80,80,80,80,80,80,79,79,79,79,
07901 78,78,78,78,78,78,77,77,77,76,76,76,76,76,76,76,76,75,75,75,75,
07902 75,75,75,75,75,75,75,74,74,74,74,74,74,74,73,73,73,72,72,72,72,
07903 72,71,71,71,71,71,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,
07904 69,69,68,68,68,68,68,68,68,67,67,67,67,67,67,67,66,66,66,66,66,
07905 66,66,66,66,65,65,65,65,64,64,64,64,64,64,64,63,63,63,63,62,62,
07906 62,62,62,62,61,61,61,61,61,61,61,61,61,61,61,60,60,60,60,60,60,
07907 59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,
07908 57,56,56,56,56,56,55,55,55,55,55,55,55,54,54,54,54,53,53,53,53,
07909 53,52,52,52,52,52,52,52,52,52,52,51,51,51,51,51,50,50,50,50,50,
07910 50,49,49,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,46,
07911 46,45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,44,44,44,44,44,
07912 43,43,43,43,43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,40,40,
07913 40,40,40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,39,39,38,
07914 38,38,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,36,36,
07915 35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,34,33,33,33,33,
07916 33,33,32,32,32,32,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30
07917 };
07918 const int n4c1w4_j[] = {
07919 100,
07920 500,
07921
07922 100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,
07923 98,98,98,98,98,98,98,97,97,97,97,96,96,96,96,96,96,96,96,96,96,
07924 96,95,95,95,95,95,95,95,94,94,94,94,94,94,94,93,93,93,93,93,93,
07925 93,93,92,92,92,92,92,92,92,92,92,92,92,92,91,91,91,91,91,91,90,
07926 90,90,90,90,90,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,88,
07927 87,87,87,87,87,87,87,87,87,87,86,86,86,86,86,86,85,85,85,85,85,
07928 85,85,85,85,85,85,84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,
07929 82,82,82,82,82,82,82,81,81,81,80,80,80,80,80,80,80,80,80,80,80,
07930 80,79,79,79,79,79,79,79,79,79,78,78,78,78,77,77,77,77,77,77,76,
07931 76,76,76,76,76,76,76,76,75,75,75,75,75,75,74,74,74,74,74,74,73,
07932 73,73,73,73,73,73,73,72,72,72,71,71,71,71,71,71,71,70,70,70,70,
07933 70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,68,68,68,68,68,67,
07934 67,67,66,66,65,65,65,65,65,65,65,65,64,64,64,64,64,63,63,63,63,
07935 63,63,63,62,62,62,62,62,62,62,62,62,62,62,61,61,61,61,61,61,61,
07936 61,61,60,60,60,60,60,60,59,59,59,59,59,59,59,59,59,59,59,59,59,
07937 59,58,58,58,58,57,57,57,57,57,57,57,56,56,56,56,56,56,56,56,55,
07938 55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,52,52,52,52,52,52,
07939 52,51,51,51,51,51,51,51,51,51,50,50,50,50,50,50,49,49,49,48,48,
07940 48,48,48,48,48,48,48,48,48,47,47,47,47,46,46,46,46,46,46,46,45,
07941 45,45,45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,43,43,43,42,
07942 42,42,42,42,42,42,41,41,41,41,40,40,40,40,40,40,39,39,39,39,39,
07943 39,39,38,38,38,38,38,38,38,37,37,37,37,37,37,36,36,36,36,36,36,
07944 35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,34,34,34,34,34,33,
07945 33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30,30
07946 };
07947 const int n4c1w4_k[] = {
07948 100,
07949 500,
07950
07951 100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,98,
07952 98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,96,96,96,96,96,96,
07953 96,96,96,96,95,95,95,95,95,95,95,95,95,94,94,94,93,93,93,93,93,
07954 93,92,92,92,92,92,92,92,91,91,91,91,91,91,91,90,90,90,90,90,89,
07955 89,89,89,89,89,89,89,89,89,88,88,88,88,88,88,88,88,88,88,88,88,
07956 88,88,87,87,87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,85,85,
07957 85,85,84,84,84,84,84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,
07958 83,82,82,82,81,81,81,80,80,80,80,80,79,79,79,79,79,78,78,78,78,
07959 78,78,77,77,77,77,77,77,77,77,77,76,76,76,75,75,75,75,75,75,74,
07960 74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,73,73,73,73,72,72,
07961 72,72,72,72,72,71,71,71,71,71,71,71,71,71,71,70,70,70,70,70,70,
07962 70,70,70,69,69,69,69,69,69,69,69,69,69,69,69,68,68,68,67,67,67,
07963 67,67,67,66,66,66,66,66,66,66,66,65,65,65,65,65,64,64,64,64,64,
07964 64,64,64,64,64,63,63,63,63,63,63,63,63,63,63,62,62,62,62,62,62,
07965 61,61,61,61,60,60,60,60,59,59,59,59,59,59,59,59,59,59,59,59,59,
07966 58,58,58,58,58,58,58,57,57,57,57,57,56,56,56,56,55,55,55,55,55,
07967 55,55,55,55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,53,53,52,
07968 52,52,52,52,51,51,51,51,51,50,50,50,50,50,50,50,50,50,49,49,49,
07969 49,49,49,48,48,48,48,48,48,48,48,47,47,47,46,46,46,46,46,46,46,
07970 46,46,45,45,45,45,45,44,44,44,44,44,44,44,44,44,44,43,43,43,43,
07971 43,43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,40,40,40,40,40,
07972 40,39,39,39,39,39,39,38,38,38,38,38,37,37,37,36,36,36,36,36,36,
07973 35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,33,32,
07974 32,32,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,30
07975 };
07976 const int n4c1w4_l[] = {
07977 100,
07978 500,
07979
07980 100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,
07981 98,98,98,98,98,98,98,98,98,98,98,98,98,98,97,97,97,96,96,96,96,
07982 96,96,96,95,95,95,95,95,95,95,95,95,95,95,94,94,94,94,94,94,94,
07983 94,94,94,94,93,93,93,93,93,92,92,92,91,91,91,91,91,91,91,90,90,
07984 90,90,89,89,89,89,89,89,88,88,88,88,87,87,87,87,87,87,87,86,86,
07985 86,86,86,86,85,85,85,85,85,85,85,85,85,84,84,84,83,83,83,83,83,
07986 83,83,83,83,83,82,82,82,82,82,81,81,81,81,80,80,80,80,80,80,80,
07987 80,80,80,79,79,79,78,78,78,78,78,77,77,77,77,77,77,77,76,76,76,
07988 76,76,76,76,76,76,76,76,76,76,76,75,75,75,75,75,74,74,74,74,74,
07989 73,73,73,73,73,73,72,72,72,72,72,71,71,71,71,71,71,71,71,71,71,
07990 71,71,70,70,70,70,70,70,70,69,69,69,69,69,69,68,68,68,68,68,68,
07991 67,67,67,67,66,66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,65,
07992 64,64,64,64,64,64,64,64,63,63,63,63,62,62,62,62,62,62,62,62,62,
07993 61,61,61,61,61,61,61,61,60,60,60,60,60,60,60,60,60,60,60,60,60,
07994 60,59,59,59,59,59,59,58,58,58,58,57,57,57,57,57,57,57,57,56,56,
07995 56,56,56,56,56,55,55,55,55,54,54,54,54,53,53,53,53,53,52,52,52,
07996 51,51,51,51,51,51,51,51,50,50,50,50,50,49,49,49,49,49,48,48,48,
07997 48,48,48,48,48,48,48,48,47,47,47,47,47,47,47,47,47,46,46,46,46,
07998 46,46,46,46,46,46,45,45,45,45,44,44,44,44,44,44,44,44,44,43,43,
07999 43,43,43,43,43,43,42,42,42,42,42,42,42,42,41,41,41,41,41,41,41,
08000 41,41,40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,38,38,38,38,
08001 38,38,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,35,35,35,35,
08002 35,35,35,35,35,34,34,33,33,33,33,33,33,33,33,32,32,32,32,32,32,
08003 32,32,32,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30
08004 };
08005 const int n4c1w4_m[] = {
08006 100,
08007 500,
08008
08009 100,100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,
08010 98,98,98,97,97,97,97,96,96,96,96,95,95,95,95,95,95,95,95,94,94,
08011 94,94,94,94,94,94,94,94,94,94,94,94,93,93,93,93,93,93,92,92,92,
08012 92,92,92,91,91,91,91,91,91,91,90,90,90,90,90,90,90,90,90,90,90,
08013 90,89,89,89,89,89,88,88,88,88,88,88,88,87,87,87,87,87,87,87,87,
08014 87,87,87,86,86,86,86,86,86,86,86,85,85,85,85,85,85,85,85,85,85,
08015 84,83,83,83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,81,80,80,
08016 80,80,80,80,80,80,80,80,79,79,79,79,79,79,78,78,78,78,78,78,77,
08017 77,77,77,77,77,76,76,76,75,75,75,75,75,74,74,74,74,74,74,73,73,
08018 73,73,73,73,73,73,73,72,72,72,72,72,72,72,72,72,72,71,71,71,71,
08019 71,71,71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,69,68,68,68,
08020 68,68,68,68,68,68,68,68,67,67,67,67,67,67,67,67,67,66,66,66,66,
08021 66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,63,63,63,63,63,63,
08022 62,62,62,62,62,62,62,61,61,61,61,61,61,60,60,60,60,60,60,60,59,
08023 59,59,59,59,59,59,59,58,58,58,58,57,57,57,57,57,57,57,56,56,56,
08024 56,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,
08025 54,54,54,54,54,53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,51,
08026 50,50,50,50,50,50,50,50,50,50,49,49,49,49,49,48,48,48,48,47,47,
08027 47,47,47,47,47,47,47,46,46,46,46,45,45,45,44,44,44,44,44,44,44,
08028 44,44,44,44,43,43,43,43,43,43,43,42,42,42,42,41,41,41,41,41,41,
08029 41,41,40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,38,38,38,
08030 37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,35,35,35,35,34,34,
08031 34,34,34,34,34,34,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,
08032 32,32,32,32,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30
08033 };
08034 const int n4c1w4_n[] = {
08035 100,
08036 500,
08037
08038 100,100,100,100,100,99,99,99,99,99,99,98,98,98,98,97,97,97,96,
08039 96,96,96,96,95,95,95,95,95,95,95,95,95,95,95,95,95,94,94,94,94,
08040 94,94,94,94,93,93,93,93,93,93,92,92,92,92,92,92,91,91,91,91,91,
08041 91,91,91,90,90,90,90,89,89,89,89,89,89,89,89,89,88,88,88,88,88,
08042 88,88,87,87,87,87,87,87,87,87,87,87,86,86,86,86,86,86,86,85,85,
08043 85,85,85,85,85,84,84,84,84,84,84,84,84,83,83,83,83,83,83,83,82,
08044 82,82,82,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,
08045 80,80,80,79,79,79,79,79,79,78,78,78,78,78,78,78,78,77,77,77,77,
08046 77,77,77,77,76,76,75,75,75,75,75,75,75,75,75,74,74,74,74,74,74,
08047 74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,73,73,73,72,72,72,
08048 72,72,72,71,71,71,71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,
08049 69,69,69,69,69,68,68,68,68,68,67,67,67,67,66,66,66,66,66,66,66,
08050 66,66,65,65,65,65,65,65,65,64,64,64,64,64,64,64,63,63,63,63,62,
08051 62,62,62,62,62,62,61,61,61,61,61,61,61,61,60,60,60,60,60,60,60,
08052 60,60,59,59,59,59,58,58,58,58,58,58,58,58,58,58,58,57,57,57,57,
08053 57,57,56,56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,54,54,54,
08054 54,54,54,54,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,51,
08055 51,51,51,51,51,50,50,50,50,50,50,49,49,49,49,49,49,48,48,48,48,
08056 48,48,48,48,47,47,47,47,47,47,46,46,46,46,46,46,46,45,45,45,45,
08057 45,45,45,45,45,45,44,44,44,44,43,43,43,43,43,42,42,42,42,42,42,
08058 41,41,41,41,41,41,41,41,41,41,40,40,40,40,40,40,40,40,40,40,39,
08059 39,39,39,39,38,38,38,37,37,37,36,36,36,36,36,35,35,35,35,35,35,
08060 35,35,35,35,35,34,34,34,34,34,34,33,33,33,33,33,33,32,32,32,32,
08061 32,32,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30
08062 };
08063 const int n4c1w4_o[] = {
08064 100,
08065 500,
08066
08067 100,100,100,100,100,100,100,100,99,99,99,98,98,98,98,98,98,98,
08068 98,98,97,97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,94,
08069 94,94,94,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,91,91,
08070 91,91,91,91,90,90,90,90,90,90,90,90,90,90,90,90,90,89,89,89,89,
08071 89,89,89,89,88,88,88,88,88,88,87,87,87,87,86,85,85,85,85,84,84,
08072 84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,83,83,
08073 82,82,82,82,81,81,81,81,81,81,80,80,80,79,79,79,79,79,79,79,79,
08074 79,78,78,78,78,78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,76,
08075 76,76,76,76,76,75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,73,
08076 72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,70,70,70,70,
08077 69,69,69,69,69,69,68,68,68,68,68,68,68,67,66,66,66,66,66,66,66,
08078 66,66,66,66,65,65,65,64,64,64,64,64,64,64,64,64,64,64,63,63,63,
08079 63,63,63,63,63,62,62,62,62,62,62,62,62,61,61,60,60,60,60,60,59,
08080 59,59,59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,
08081 57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,
08082 54,54,54,54,54,54,54,54,53,53,53,53,53,53,53,52,52,52,52,52,52,
08083 52,51,51,51,51,51,51,51,51,50,50,50,50,50,50,50,50,49,49,49,49,
08084 49,49,48,48,48,48,48,48,47,47,47,47,47,47,47,47,46,46,46,46,46,
08085 46,46,45,45,45,45,45,45,45,45,45,45,45,44,44,44,44,44,43,43,43,
08086 43,43,43,43,43,43,43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,
08087 41,41,41,41,41,41,41,40,40,40,40,40,39,39,39,39,39,39,39,39,39,
08088 38,38,38,38,38,38,38,37,37,37,37,37,37,37,36,36,36,36,36,36,36,
08089 36,36,35,35,35,35,35,35,34,34,34,34,34,34,34,34,33,33,33,33,33,
08090 33,33,33,32,32,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30
08091 };
08092 const int n4c1w4_p[] = {
08093 100,
08094 500,
08095
08096 100,100,100,100,100,100,99,99,99,99,98,98,98,98,98,98,98,98,98,
08097 97,97,97,97,97,97,97,96,96,96,96,95,95,95,95,95,95,95,94,94,94,
08098 94,94,93,93,93,93,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,
08099 91,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,89,89,89,88,88,
08100 88,88,88,88,88,88,88,88,88,88,88,87,87,87,87,87,87,87,87,87,87,
08101 87,86,86,86,86,86,86,86,86,86,86,86,85,85,85,85,84,84,84,84,84,
08102 84,84,84,83,83,83,83,83,83,83,83,83,83,83,83,83,82,82,82,82,82,
08103 82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,80,79,79,79,
08104 79,79,79,79,79,78,78,78,78,78,78,78,78,78,78,77,77,77,77,77,76,
08105 76,76,76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,74,74,74,74,
08106 74,74,74,73,73,72,72,72,72,71,71,71,71,70,70,70,70,70,70,70,70,
08107 70,70,70,69,69,69,68,68,68,68,68,68,68,67,67,67,67,67,67,67,67,
08108 66,66,66,66,65,65,64,64,64,64,64,64,64,64,64,64,63,63,63,63,63,
08109 63,63,63,63,62,62,62,62,62,62,62,62,61,61,61,61,61,61,60,60,60,
08110 60,60,59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,57,57,57,
08111 57,57,57,56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,55,55,55,
08112 55,54,54,54,54,53,53,53,53,53,52,52,52,52,52,52,52,52,52,52,51,
08113 51,51,51,51,51,50,50,50,50,50,49,49,49,49,49,48,48,48,48,48,47,
08114 47,47,47,47,47,47,47,46,46,46,46,46,46,46,46,45,45,45,44,44,44,
08115 44,43,43,43,43,43,43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,
08116 41,40,40,40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,39,39,
08117 39,38,38,38,38,38,38,37,37,37,37,37,37,36,36,36,36,36,35,35,35,
08118 35,35,35,35,35,35,34,34,34,34,34,34,34,34,33,33,33,33,33,33,32,
08119 32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30
08120 };
08121 const int n4c1w4_q[] = {
08122 100,
08123 500,
08124
08125 100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,98,
08126 98,98,98,98,98,97,97,97,97,96,96,96,96,96,96,95,95,95,95,94,94,
08127 94,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,92,91,91,91,
08128 91,91,91,91,90,90,90,90,90,90,90,90,90,90,90,90,90,89,89,89,88,
08129 88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,86,85,85,85,85,85,
08130 84,84,84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,83,82,82,82,
08131 82,82,82,82,82,82,81,81,81,81,81,81,81,81,81,80,80,80,80,80,80,
08132 80,80,80,79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,78,78,78,
08133 77,77,77,76,76,76,76,76,76,75,75,75,74,74,74,74,74,74,74,74,74,
08134 73,73,73,72,72,72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,71,
08135 71,71,70,70,70,70,70,70,69,69,69,69,69,69,68,68,68,68,68,67,67,
08136 67,67,67,67,67,66,66,66,66,66,66,66,65,65,65,65,64,64,64,64,64,
08137 64,64,64,64,64,64,64,64,63,63,63,63,63,63,63,62,62,62,62,62,62,
08138 61,61,61,60,60,60,60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,
08139 59,58,58,58,58,58,57,57,57,57,57,57,57,57,57,57,56,56,56,56,56,
08140 56,56,56,56,56,55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,53,
08141 53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,51,51,
08142 51,50,50,50,50,49,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,
08143 47,47,47,47,47,46,46,46,46,46,46,46,46,46,46,45,45,45,45,45,45,
08144 44,44,44,44,44,44,44,44,44,44,43,43,43,43,43,43,42,42,42,42,42,
08145 42,41,41,41,41,41,41,41,41,41,41,41,41,40,40,40,40,40,40,40,40,
08146 39,39,39,39,39,39,39,39,39,38,38,38,38,38,38,38,38,37,37,37,37,
08147 37,37,37,36,36,36,36,36,35,35,35,35,34,34,34,34,34,34,34,33,33,
08148 33,33,33,33,33,33,33,32,32,32,32,31,31,31,31,31,31,31,31,30,30
08149 };
08150 const int n4c1w4_r[] = {
08151 100,
08152 500,
08153
08154 100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,
08155 98,98,98,98,97,97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,96,
08156 96,96,96,96,96,95,95,95,94,94,94,94,94,94,94,94,94,94,93,93,93,
08157 93,93,93,93,92,92,92,92,92,92,92,92,92,92,92,92,92,91,91,91,91,
08158 91,90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,88,88,88,88,
08159 88,88,88,88,88,88,88,88,87,87,87,87,87,87,87,87,87,86,86,86,86,
08160 86,85,85,85,85,85,84,84,84,84,84,83,83,83,83,83,83,83,82,82,82,
08161 82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,80,80,80,80,80,
08162 80,79,79,79,79,79,79,78,78,78,78,78,77,77,77,77,77,76,76,76,76,
08163 76,76,76,76,76,75,75,75,75,75,74,74,74,74,74,74,73,73,73,73,73,
08164 73,73,73,73,72,72,72,72,72,71,71,71,71,70,70,70,70,70,69,69,69,
08165 69,69,69,69,69,69,69,68,68,68,67,67,67,67,66,66,66,66,66,66,66,
08166 65,65,65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,
08167 63,63,63,63,62,62,61,61,61,61,61,61,61,61,60,60,60,60,60,60,59,
08168 59,59,59,59,59,59,59,59,59,58,58,58,58,58,57,57,57,57,57,57,57,
08169 57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,
08170 54,54,53,53,53,53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,
08171 52,52,52,52,52,51,51,51,51,51,51,51,51,51,50,50,50,49,49,49,49,
08172 49,49,49,49,48,48,48,48,47,47,47,47,47,47,47,47,47,47,47,46,46,
08173 46,46,45,45,45,45,45,45,45,45,45,45,45,44,44,44,44,44,44,43,43,
08174 43,43,43,43,43,43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,40,
08175 40,40,40,40,40,40,39,39,39,39,39,38,38,37,37,37,37,37,37,37,37,
08176 36,36,36,36,36,35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,33,
08177 33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30
08178 };
08179 const int n4c1w4_s[] = {
08180 100,
08181 500,
08182
08183 100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,98,98,97,
08184 97,97,97,97,97,96,96,96,96,96,96,95,95,95,95,95,94,94,94,94,94,
08185 94,93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,91,91,91,91,
08186 91,91,91,90,90,90,90,90,90,90,90,90,89,89,89,89,89,88,88,88,88,
08187 88,88,88,88,88,88,87,87,87,87,87,86,86,86,86,86,86,86,86,85,85,
08188 85,85,85,85,85,85,85,85,84,84,84,84,84,84,84,84,84,84,83,83,83,
08189 83,83,82,82,82,82,81,81,81,81,81,81,81,80,80,80,80,80,80,80,80,
08190 80,79,79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,77,77,77,77,
08191 77,76,76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,75,75,75,74,
08192 74,74,74,74,74,74,73,73,73,73,73,73,73,73,73,73,73,72,72,72,72,
08193 72,72,72,72,71,71,71,70,70,70,70,69,69,69,69,69,69,69,69,69,69,
08194 68,68,68,68,67,67,67,67,67,67,67,66,66,66,66,66,66,65,65,65,65,
08195 64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,62,62,62,62,61,61,
08196 61,61,61,61,61,61,60,60,60,60,60,60,59,59,59,59,59,59,59,59,59,
08197 59,58,58,58,58,57,57,57,57,57,57,57,57,57,57,56,56,56,55,55,55,
08198 55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,53,53,53,53,52,52,
08199 52,52,52,52,52,52,51,51,51,51,50,50,50,50,50,50,50,50,49,49,49,
08200 49,49,49,49,49,49,49,48,48,48,48,47,47,47,47,47,47,47,47,46,46,
08201 46,46,46,46,46,46,46,45,45,45,45,44,44,44,44,44,44,44,43,43,43,
08202 43,43,42,42,42,42,42,41,41,41,41,41,41,41,41,41,40,40,40,40,40,
08203 40,40,39,39,39,39,39,39,39,39,39,39,39,39,39,39,38,38,38,38,38,
08204 38,38,38,38,37,37,37,37,37,37,37,37,36,36,36,36,36,36,35,35,35,
08205 35,35,35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,33,33,33,
08206 33,33,33,32,32,32,32,32,31,31,31,31,30,30,30,30,30,30,30
08207 };
08208 const int n4c1w4_t[] = {
08209 100,
08210 500,
08211
08212 100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,
08213 98,98,98,98,97,97,97,97,97,97,96,96,96,96,95,95,95,95,95,95,95,
08214 95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,93,92,92,92,92,
08215 92,92,91,91,91,91,91,91,90,90,90,89,89,89,89,89,89,89,89,89,89,
08216 88,88,87,87,87,87,86,86,86,86,86,86,86,86,85,85,85,85,85,85,85,
08217 85,84,84,84,84,84,84,84,84,84,83,83,83,83,82,82,82,82,82,82,82,
08218 82,82,82,81,81,81,80,80,80,80,80,80,80,79,79,79,79,79,79,78,78,
08219 78,78,78,78,78,78,78,78,78,77,77,77,76,76,76,76,76,76,76,76,75,
08220 75,75,75,75,75,74,74,74,73,73,73,73,73,73,72,72,72,72,72,72,72,
08221 72,72,72,72,72,72,72,72,71,71,71,71,70,70,70,70,70,70,70,70,70,
08222 70,70,70,69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,68,68,
08223 68,68,68,67,67,67,67,67,67,67,67,66,66,66,65,65,65,65,65,65,65,
08224 65,65,65,65,64,64,64,64,63,63,63,63,63,63,62,62,62,62,62,61,61,
08225 61,61,61,61,60,60,60,60,60,59,59,59,59,59,59,58,58,58,58,57,57,
08226 57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,54,
08227 54,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,51,50,
08228 50,50,50,50,50,50,50,50,49,49,49,49,49,49,48,48,48,48,48,48,47,
08229 47,47,47,46,46,46,46,46,45,45,45,45,45,45,45,45,44,44,44,44,44,
08230 44,44,44,44,44,44,44,43,43,43,43,43,43,42,42,42,42,42,42,42,42,
08231 42,42,42,42,42,41,41,41,41,41,41,41,40,40,40,40,40,40,40,40,40,
08232 39,39,39,39,39,39,38,38,38,38,38,38,38,38,38,37,37,37,37,37,37,
08233 36,36,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,35,35,35,35,
08234 35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,32,32,32,32,
08235 32,32,32,32,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30,30
08236 };
08237 const int n4c2w1_a[] = {
08238 120,
08239 500,
08240
08241 100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,98,97,96,96,
08242 96,95,95,95,95,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,
08243 92,92,92,92,92,92,91,91,91,91,91,91,90,90,90,90,90,90,90,90,89,
08244 89,88,88,88,88,88,88,87,87,87,87,86,86,86,85,85,85,85,85,84,84,
08245 84,84,83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,81,80,80,80,
08246 80,80,79,79,79,79,78,78,78,78,78,78,78,77,77,76,76,76,76,75,75,
08247 75,75,75,75,74,74,74,73,73,72,72,72,72,72,72,71,71,71,71,71,71,
08248 70,70,69,69,69,68,68,68,68,68,68,68,68,67,66,66,66,66,66,66,65,
08249 65,65,65,65,64,64,64,64,64,64,64,63,63,63,63,63,62,62,61,61,61,
08250 61,61,61,60,60,60,59,59,59,59,59,59,58,58,58,58,58,58,58,57,57,
08251 57,57,57,57,57,57,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,
08252 54,54,54,53,53,53,53,53,53,53,53,53,52,52,52,52,51,51,50,50,50,
08253 50,50,50,50,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,46,46,
08254 46,46,45,45,45,45,45,45,45,45,45,45,45,44,44,44,44,43,43,43,43,
08255 43,43,42,42,42,42,41,41,41,41,41,41,41,40,40,40,39,38,38,38,38,
08256 37,37,37,37,36,36,36,36,36,35,35,35,35,35,35,34,34,34,34,34,33,
08257 33,33,33,33,33,33,33,32,32,32,32,32,32,32,31,30,30,30,30,29,29,
08258 29,29,29,29,29,28,28,28,28,28,28,28,28,27,27,27,26,26,26,26,26,
08259 25,25,25,25,25,24,24,24,24,24,24,24,24,24,24,23,22,22,22,22,22,
08260 21,21,21,21,21,21,20,20,20,20,20,19,19,19,19,19,19,18,18,18,17,
08261 17,17,17,17,16,16,16,15,15,15,15,15,14,14,14,14,14,14,13,13,13,
08262 13,13,13,12,12,12,12,12,12,12,12,12,11,11,11,10,10,10,10,10,10,
08263 10,9,9,9,9,9,8,8,8,8,8,8,7,6,6,6,6,6,6,6,5,5,5,4,4,4,4,4,3,3,
08264 3,3,3,3,2,2,2,1,1,1
08265 };
08266 const int n4c2w1_b[] = {
08267 120,
08268 500,
08269
08270 100,100,100,99,99,99,99,99,98,98,98,98,98,97,97,97,97,96,96,96,
08271 96,95,95,95,95,95,95,95,94,94,94,94,93,93,93,93,93,93,92,92,92,
08272 92,91,91,90,90,90,90,90,90,90,89,89,89,89,88,88,88,88,87,87,87,
08273 86,86,86,86,86,86,86,86,86,85,85,85,85,85,84,84,84,84,84,84,83,
08274 83,83,83,83,83,83,82,82,82,82,82,82,81,81,81,81,80,80,79,79,79,
08275 79,79,79,79,79,78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,77,
08276 76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,74,73,73,73,73,72,
08277 72,72,72,72,71,71,71,71,71,71,70,70,69,69,69,69,69,69,69,69,68,
08278 68,68,68,68,68,67,67,67,67,66,66,65,65,65,65,65,65,65,64,64,64,
08279 63,63,62,62,62,62,62,62,61,61,61,61,61,61,61,61,61,61,61,60,60,
08280 60,60,60,60,60,59,59,59,59,59,59,58,58,58,58,58,58,58,57,57,57,
08281 57,56,56,56,56,56,56,56,56,55,55,55,55,54,54,54,54,53,53,53,53,
08282 53,53,53,52,52,52,52,52,51,51,51,51,51,51,51,50,50,50,49,49,48,
08283 47,47,47,47,47,47,47,47,47,47,46,46,45,45,44,44,44,44,44,43,42,
08284 42,42,42,42,42,41,41,41,40,40,40,40,40,40,40,39,39,39,39,38,38,
08285 38,38,38,38,37,37,36,36,36,36,36,35,35,34,34,34,34,33,33,33,33,
08286 33,33,33,32,32,31,31,31,30,30,29,29,29,29,29,29,28,28,28,28,28,
08287 28,28,27,27,26,26,26,26,26,26,25,25,25,25,24,24,24,24,24,24,24,
08288 24,24,24,23,23,23,23,23,22,22,22,22,22,21,21,21,21,21,20,20,20,
08289 20,20,19,19,18,18,18,18,18,17,17,17,17,17,16,16,16,15,14,14,14,
08290 14,14,14,14,13,13,13,13,13,13,13,13,12,12,12,11,11,11,11,11,10,
08291 10,10,10,10,10,10,9,9,9,9,9,9,9,9,9,9,8,8,8,8,8,7,7,7,7,7,6,6,
08292 6,5,5,5,5,5,4,4,4,4,4,4,4,4,3,3,3,3,3,3,3,2,2,2,2,2,2,2,1,1,1,
08293 1
08294 };
08295 const int n4c2w1_c[] = {
08296 120,
08297 500,
08298
08299 100,100,100,99,99,99,99,98,98,98,98,98,98,98,98,98,98,98,97,97,
08300 97,97,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,95,94,93,93,
08301 93,93,92,92,92,92,92,92,92,91,91,91,91,91,90,90,90,90,90,90,90,
08302 90,90,89,89,88,88,88,88,88,88,87,87,87,86,86,86,86,86,85,85,84,
08303 84,84,83,83,83,83,83,83,82,82,82,82,82,81,81,81,80,80,80,80,80,
08304 80,80,80,80,79,79,79,79,79,79,79,78,77,77,76,76,76,75,75,75,74,
08305 74,74,74,73,73,73,73,73,73,73,73,73,73,73,73,73,72,72,72,72,72,
08306 72,71,71,71,71,71,71,70,70,70,69,69,69,69,69,68,68,67,67,67,67,
08307 67,67,67,67,66,66,66,65,65,65,65,65,64,64,64,64,64,63,63,63,63,
08308 63,62,62,62,62,62,62,62,62,62,61,61,60,60,60,60,60,59,59,58,58,
08309 58,58,58,57,57,57,56,56,56,56,56,56,55,55,55,55,55,54,54,54,54,
08310 53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,51,50,50,50,50,50,
08311 49,49,49,49,49,49,49,49,48,48,48,48,47,47,47,47,47,46,46,46,45,
08312 45,45,45,45,45,44,44,44,44,44,44,44,44,44,43,43,43,43,43,42,42,
08313 42,42,42,41,41,41,41,41,41,40,40,40,39,39,39,39,39,39,39,38,38,
08314 38,37,37,37,37,37,37,37,36,36,36,36,36,36,35,35,35,35,35,35,35,
08315 35,35,34,34,33,33,33,33,33,32,32,32,32,32,31,31,31,31,31,31,31,
08316 30,30,30,30,30,30,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,
08317 27,27,27,26,26,26,26,26,25,25,25,24,24,24,24,24,24,24,23,23,23,
08318 23,23,22,22,22,22,22,21,21,21,21,21,20,20,20,20,20,19,19,19,19,
08319 19,18,18,18,18,17,17,17,16,16,16,16,16,16,15,15,15,14,14,14,14,
08320 14,14,14,14,13,13,13,13,13,12,12,12,12,12,12,11,11,10,9,9,9,9,
08321 9,9,8,8,8,8,8,7,7,7,6,6,6,6,6,5,5,5,5,4,4,4,4,3,3,3,3,2,2,2,2,
08322 2,2,1,1,1,1,1
08323 };
08324 const int n4c2w1_d[] = {
08325 120,
08326 500,
08327
08328 100,100,100,100,99,99,99,99,99,98,98,98,98,97,97,97,97,97,96,
08329 96,96,96,96,96,95,95,95,95,94,94,94,94,94,94,93,93,93,93,93,93,
08330 92,92,92,92,92,91,91,91,91,91,91,91,90,90,90,90,89,89,88,88,88,
08331 87,87,87,86,85,85,85,85,85,85,85,84,84,84,83,83,83,83,82,82,82,
08332 82,82,82,81,81,81,81,80,80,79,79,79,78,78,78,78,78,77,77,77,77,
08333 77,77,77,77,76,76,76,76,76,76,75,75,75,74,74,74,74,73,73,73,73,
08334 73,73,73,72,72,72,72,72,71,71,70,70,70,70,70,70,69,68,68,68,68,
08335 67,67,67,66,66,65,65,65,65,65,64,64,64,64,64,64,64,64,64,64,64,
08336 63,63,63,63,62,62,62,62,61,61,61,60,59,59,59,58,58,58,58,58,58,
08337 57,57,57,57,57,56,56,56,54,54,54,54,54,54,53,53,53,53,53,53,53,
08338 52,52,51,51,51,51,51,51,51,50,50,50,50,49,49,49,48,48,48,48,48,
08339 47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,46,46,46,45,45,45,
08340 45,45,45,45,45,44,44,44,43,43,43,43,43,42,42,42,42,41,41,41,41,
08341 41,41,41,40,40,40,40,40,40,40,40,39,39,39,39,38,38,38,38,38,38,
08342 38,38,38,38,37,37,37,37,36,36,36,36,36,36,35,35,34,34,34,34,33,
08343 33,33,33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,
08344 30,30,30,30,30,30,29,29,29,29,28,28,28,28,28,28,28,28,28,28,27,
08345 27,27,26,26,26,26,26,26,26,26,26,26,26,25,25,25,25,25,25,25,25,
08346 24,24,24,23,23,23,23,23,23,23,23,23,23,23,23,22,22,22,21,21,21,
08347 21,21,21,21,20,20,20,20,20,20,20,20,19,19,18,18,18,18,17,17,17,
08348 17,17,16,16,16,16,16,16,16,16,15,15,15,15,14,14,13,13,13,13,12,
08349 12,12,12,12,12,12,12,12,11,11,11,11,11,10,10,10,10,9,9,9,9,8,
08350 8,8,8,8,8,8,8,8,8,7,7,7,7,7,7,7,6,6,6,5,5,5,4,4,4,4,3,3,3,3,3,
08351 2,2,2,2,2,1,1,1
08352 };
08353 const int n4c2w1_e[] = {
08354 120,
08355 500,
08356
08357 100,100,100,100,99,99,99,99,98,98,98,98,97,97,97,97,97,97,97,
08358 96,96,96,96,96,96,96,96,95,95,95,95,95,94,94,94,94,94,93,93,93,
08359 93,93,93,93,93,92,92,92,92,92,92,91,91,90,90,90,90,90,90,90,90,
08360 90,89,89,89,88,88,88,88,88,88,88,87,87,87,87,86,86,86,85,85,84,
08361 84,84,83,83,83,82,82,82,82,81,81,81,81,81,81,81,81,81,80,80,80,
08362 80,80,80,79,79,79,79,78,78,78,78,77,77,77,77,77,76,76,76,76,76,
08363 76,76,75,75,75,75,75,75,75,74,74,74,73,73,73,73,73,73,73,73,72,
08364 72,72,72,72,72,71,71,71,71,71,70,70,70,70,70,69,69,69,69,69,69,
08365 69,68,68,68,68,68,68,68,68,67,67,67,66,66,66,66,65,65,65,64,64,
08366 64,63,63,62,62,62,62,62,62,62,61,61,61,60,60,60,60,60,59,59,59,
08367 59,59,59,59,58,58,58,58,57,57,57,57,56,56,56,56,56,56,56,56,56,
08368 55,55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,54,54,53,53,53,
08369 53,52,52,52,52,51,51,51,51,51,51,51,50,50,50,50,50,49,49,49,49,
08370 49,49,48,48,48,48,47,47,47,47,47,46,46,45,45,45,44,44,44,44,44,
08371 43,43,43,43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,41,40,40,
08372 40,39,39,39,38,38,38,37,36,36,36,36,36,36,36,35,35,35,35,35,35,
08373 35,35,34,34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,32,31,
08374 31,31,31,31,30,30,30,30,30,30,30,30,29,29,29,29,29,29,29,29,29,
08375 28,27,27,27,27,27,27,27,27,26,25,25,25,24,24,23,23,23,23,23,22,
08376 22,22,21,21,21,21,21,20,20,20,20,19,19,19,19,19,19,18,18,18,18,
08377 18,18,17,17,17,16,16,16,16,16,16,16,16,16,16,15,15,14,14,14,14,
08378 14,13,13,13,13,13,13,12,12,12,12,12,12,12,12,11,11,11,11,11,10,
08379 10,10,10,10,9,9,9,8,8,8,8,8,8,7,7,7,7,7,6,6,6,6,5,5,5,4,4,4,4,
08380 3,3,3,3,3,3,2,2,2,2,1
08381 };
08382 const int n4c2w1_f[] = {
08383 120,
08384 500,
08385
08386 100,99,99,99,99,99,98,98,98,98,98,98,98,98,97,97,96,96,96,96,
08387 95,95,94,94,94,94,94,94,93,93,93,93,93,93,93,93,92,92,92,92,92,
08388 91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,89,89,88,88,88,87,
08389 87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,85,85,85,84,84,84,
08390 84,83,83,83,83,83,83,83,83,82,82,81,81,81,81,81,80,80,80,80,80,
08391 79,79,79,79,79,79,78,77,77,77,76,76,76,76,76,76,75,75,74,74,73,
08392 73,73,73,73,72,72,72,71,71,71,70,70,70,70,70,70,70,70,69,69,69,
08393 69,68,68,68,67,67,67,67,67,66,65,65,65,64,64,64,64,64,64,63,63,
08394 63,63,63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,61,61,61,60,
08395 60,60,60,60,60,60,60,59,59,57,57,57,57,57,56,56,56,56,56,56,55,
08396 55,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,52,52,52,52,
08397 52,52,52,52,51,51,51,51,51,50,50,50,50,50,50,50,50,49,49,49,49,
08398 49,49,49,49,48,48,47,47,47,47,47,46,46,46,46,46,46,46,46,45,45,
08399 45,44,44,44,44,44,43,43,43,43,42,42,42,42,41,41,41,40,40,40,40,
08400 40,39,39,39,39,38,38,38,38,38,37,37,37,37,36,36,36,36,36,35,35,
08401 35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,32,32,32,32,32,
08402 31,31,31,31,31,31,31,30,30,30,29,29,29,29,29,29,28,28,28,27,27,
08403 27,27,27,27,26,26,26,26,26,26,25,25,25,25,24,24,24,24,24,24,23,
08404 23,23,23,23,22,22,22,22,21,21,21,21,21,21,20,20,20,20,19,19,19,
08405 19,18,18,18,17,17,17,17,16,16,16,16,16,15,15,15,14,14,14,14,14,
08406 13,13,13,13,13,13,13,12,12,12,12,11,11,11,10,10,10,10,10,10,10,
08407 10,9,9,9,8,8,8,8,8,7,7,7,7,7,7,7,7,7,7,7,7,6,6,6,6,6,6,5,5,5,
08408 5,5,5,5,4,4,4,4,4,3,3,3,3,3,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1
08409 };
08410 const int n4c2w1_g[] = {
08411 120,
08412 500,
08413
08414 100,100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,
08415 99,99,99,99,98,98,98,98,97,97,97,97,96,96,96,96,96,96,96,96,96,
08416 96,96,95,95,95,94,94,94,94,94,94,94,93,93,93,93,92,92,92,92,92,
08417 92,91,91,91,91,91,90,90,90,89,89,89,89,89,89,88,88,88,88,88,88,
08418 87,87,86,86,86,86,86,85,85,85,84,84,84,84,84,83,83,83,83,83,83,
08419 82,82,82,82,82,82,81,81,81,81,81,80,80,80,79,79,79,79,79,78,78,
08420 78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,75,75,74,74,74,74,
08421 74,73,73,73,73,73,73,72,72,72,72,71,71,71,71,71,70,70,70,70,70,
08422 70,70,69,69,69,69,69,68,68,68,67,67,67,66,66,65,64,64,64,63,63,
08423 63,63,63,62,62,62,62,61,60,60,60,60,59,59,59,59,59,58,58,58,58,
08424 58,57,57,57,57,57,56,56,55,55,55,55,55,54,54,54,53,53,53,53,53,
08425 52,52,52,52,52,51,51,51,51,51,50,50,50,50,49,49,49,49,49,49,48,
08426 48,48,48,47,47,47,47,47,47,47,47,47,46,46,46,46,46,46,46,45,45,
08427 45,45,45,44,44,44,44,44,44,43,43,43,43,42,41,41,41,41,40,40,40,
08428 40,40,39,39,39,38,38,38,38,38,38,38,38,38,37,37,37,37,37,36,36,
08429 36,36,36,36,36,36,36,35,35,35,35,35,34,34,34,34,34,33,33,33,33,
08430 33,33,33,33,32,32,32,32,32,31,31,31,30,30,30,30,30,30,29,29,29,
08431 29,29,29,29,29,29,29,29,28,27,27,27,27,27,27,26,26,26,26,26,26,
08432 26,26,26,25,25,25,25,24,24,24,24,24,24,24,23,22,22,22,22,22,21,
08433 21,21,20,20,20,19,19,19,19,19,19,18,18,18,17,17,17,17,17,17,17,
08434 17,17,17,16,16,16,16,16,15,15,15,14,14,14,14,14,13,13,13,13,13,
08435 13,12,12,12,12,12,11,11,11,11,10,10,10,10,10,10,10,10,9,9,9,9,
08436 9,9,9,9,8,8,8,8,8,8,8,7,7,7,7,6,6,6,5,5,5,4,4,4,4,3,3,3,2,2,2,
08437 2,2,2,2,1,1,1,1,1,1
08438 };
08439 const int n4c2w1_h[] = {
08440 120,
08441 500,
08442
08443 100,100,100,100,99,99,99,99,99,98,98,98,98,98,97,97,97,97,97,
08444 96,96,96,96,96,96,96,96,96,96,96,95,95,94,94,94,94,94,93,93,93,
08445 93,93,93,92,92,92,91,91,91,91,90,90,90,89,89,89,89,89,88,88,88,
08446 88,87,87,87,87,86,86,86,86,85,85,85,85,85,85,84,84,84,84,84,84,
08447 84,84,83,83,83,82,82,82,82,81,81,81,81,81,81,81,80,80,80,80,80,
08448 80,80,79,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,78,
08449 77,77,77,77,77,77,77,77,76,76,76,76,76,74,74,74,74,74,73,73,73,
08450 73,73,73,72,72,72,71,71,71,71,70,70,70,70,70,70,70,69,69,69,69,
08451 69,69,68,68,68,68,68,67,67,67,67,67,66,66,66,65,65,65,65,64,64,
08452 64,64,63,63,63,63,63,63,63,63,63,63,62,62,62,62,62,62,61,61,61,
08453 61,61,61,60,60,60,60,60,60,60,60,59,58,58,58,58,57,57,56,56,56,
08454 56,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,53,53,52,52,52,
08455 52,52,52,52,52,52,51,51,51,51,50,50,50,50,50,49,49,48,48,48,47,
08456 47,46,46,46,46,46,46,46,45,45,44,43,43,43,43,42,42,42,42,42,42,
08457 41,41,41,41,40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,
08458 38,37,37,37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,35,34,34,
08459 34,34,34,34,33,33,33,33,32,32,32,32,32,32,32,32,31,31,31,31,30,
08460 30,30,30,30,30,29,29,29,29,29,28,28,28,28,28,27,27,27,27,26,26,
08461 26,26,26,26,26,26,26,25,25,25,24,24,24,24,24,23,23,23,23,23,23,
08462 23,22,22,22,22,21,21,21,20,20,20,19,19,19,19,19,19,18,18,18,18,
08463 18,18,18,17,17,17,17,17,17,16,16,16,16,16,15,15,15,15,14,14,14,
08464 13,13,12,12,12,12,12,12,12,11,11,11,11,11,11,10,10,10,9,9,9,9,
08465 9,8,8,8,8,7,7,7,6,6,6,6,6,6,6,6,6,5,5,5,5,5,5,4,4,3,3,3,3,2,2,
08466 2,2,2,1,1,1,1,1
08467 };
08468 const int n4c2w1_i[] = {
08469 120,
08470 500,
08471
08472 100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,99,98,98,98,
08473 98,98,98,98,97,97,97,96,96,96,96,96,96,96,96,95,95,95,95,94,94,
08474 94,94,94,93,92,92,92,92,91,91,91,91,91,91,90,90,90,90,90,89,89,
08475 89,89,89,88,88,88,88,88,87,87,87,86,86,86,86,85,85,85,85,84,84,
08476 84,84,84,84,83,83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,
08477 81,81,80,80,80,80,79,79,79,79,78,78,78,77,77,77,76,76,75,75,74,
08478 74,74,74,74,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,71,70,
08479 70,70,70,70,70,70,70,69,69,69,69,68,68,67,67,67,67,67,67,67,66,
08480 66,66,65,65,65,65,64,64,64,64,64,64,64,64,64,64,63,63,63,63,63,
08481 63,63,62,62,62,62,62,61,61,61,61,61,60,60,60,59,59,58,58,58,58,
08482 58,58,57,57,57,57,56,56,56,56,55,55,55,55,55,55,54,54,54,54,53,
08483 53,53,52,52,52,52,52,51,51,51,51,51,50,50,50,50,50,50,50,50,50,
08484 49,49,49,48,48,48,47,47,47,47,47,47,46,46,46,46,46,45,45,45,45,
08485 44,44,44,43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,41,41,41,
08486 41,41,41,40,40,40,40,40,40,40,39,39,39,39,39,38,38,38,38,37,37,
08487 37,37,37,36,36,36,36,36,36,36,36,35,35,34,34,34,34,34,34,34,34,
08488 33,33,33,33,33,32,32,31,31,31,31,31,31,30,29,29,29,28,28,28,28,
08489 28,28,28,27,27,27,27,26,26,26,26,26,26,26,26,25,25,25,25,25,25,
08490 24,24,24,24,24,24,24,24,24,23,23,23,22,22,22,21,21,21,21,21,21,
08491 20,20,20,20,20,20,19,19,19,19,18,18,18,18,18,18,18,18,18,18,17,
08492 17,17,17,17,16,16,16,16,16,15,15,15,15,15,14,14,14,14,14,13,13,
08493 13,13,13,12,12,12,12,11,11,11,11,11,11,10,10,10,10,10,9,9,9,8,
08494 7,7,7,7,7,7,7,7,7,6,6,6,5,5,5,5,5,5,5,5,5,4,4,3,3,3,3,3,2,2,2,
08495 2,2,2,2,2,2,1,1
08496 };
08497 const int n4c2w1_j[] = {
08498 120,
08499 500,
08500
08501 100,100,100,100,99,99,98,98,98,98,97,97,97,97,97,97,96,96,96,
08502 96,95,95,94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,92,92,
08503 92,92,91,91,91,90,90,89,89,89,89,89,89,89,89,88,88,88,87,87,87,
08504 87,86,86,86,86,85,85,85,85,85,84,84,83,83,83,82,82,82,82,82,82,
08505 81,81,81,81,81,81,81,81,80,80,80,80,80,80,80,79,79,79,79,78,78,
08506 78,78,78,78,78,78,77,77,76,76,76,76,76,76,75,75,75,75,75,75,75,
08507 75,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,72,72,72,72,
08508 71,71,70,70,70,69,69,69,69,69,68,68,67,67,67,67,66,66,66,66,66,
08509 66,66,65,65,65,65,65,65,64,64,64,64,63,63,62,62,61,61,61,60,60,
08510 60,59,59,59,59,59,58,58,58,58,58,58,58,58,58,57,57,57,57,57,57,
08511 56,56,55,55,55,55,55,55,54,54,54,53,53,53,52,52,52,52,52,51,51,
08512 51,51,51,51,51,51,50,50,50,49,49,49,49,49,49,48,48,48,48,48,48,
08513 47,47,47,47,47,47,46,45,45,45,45,45,44,44,44,44,44,44,43,43,43,
08514 42,42,42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,40,40,40,39,
08515 39,39,39,39,39,39,39,38,38,37,37,37,37,37,37,36,36,36,36,36,36,
08516 36,36,36,36,35,35,35,35,34,34,33,33,33,33,33,33,32,32,32,32,32,
08517 31,30,30,30,30,30,30,30,30,30,29,29,29,29,29,29,29,29,28,28,28,
08518 28,27,27,27,27,26,26,26,25,25,25,25,25,24,24,24,24,24,23,23,23,
08519 22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,20,20,19,19,19,19,
08520 18,18,18,18,18,17,17,17,17,17,17,16,16,16,16,15,15,15,15,14,14,
08521 14,14,13,13,13,13,13,13,12,12,12,12,12,12,11,11,11,11,10,10,10,
08522 10,9,9,9,9,9,9,9,9,9,9,8,8,8,8,8,8,8,8,8,8,8,8,7,7,7,7,7,6,6,
08523 6,6,6,5,5,5,5,5,4,4,4,3,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1
08524 };
08525 const int n4c2w1_k[] = {
08526 120,
08527 500,
08528
08529 100,100,100,100,100,100,100,99,99,98,98,98,97,97,97,97,97,96,
08530 96,96,96,95,95,95,95,95,95,95,95,94,94,94,94,94,93,93,93,93,93,
08531 92,92,92,92,92,91,91,91,91,91,90,90,90,89,89,88,88,88,88,88,88,
08532 88,88,88,87,87,86,86,86,86,86,85,85,85,85,85,85,85,85,85,84,84,
08533 84,84,83,83,83,83,83,83,82,82,82,82,82,81,81,81,81,80,80,80,80,
08534 80,79,79,79,79,79,79,78,78,78,78,78,77,77,77,77,77,77,76,76,76,
08535 76,76,76,75,75,75,75,75,74,74,74,74,74,74,73,73,73,73,72,72,71,
08536 71,71,71,70,70,70,70,69,69,69,69,68,68,68,67,67,66,66,66,66,66,
08537 66,66,66,65,65,65,64,64,64,64,64,64,64,64,64,64,64,63,63,63,62,
08538 62,62,62,62,61,61,61,61,61,60,60,60,60,60,59,59,59,59,59,58,58,
08539 57,57,57,57,56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,54,
08540 54,54,54,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,
08541 50,50,50,50,50,50,50,49,49,49,49,48,48,48,48,48,48,48,48,47,47,
08542 46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,44,
08543 44,43,43,43,42,42,42,42,41,41,41,40,40,40,40,39,39,39,39,39,39,
08544 39,39,38,37,37,37,37,37,36,36,36,36,36,35,35,35,35,34,34,34,34,
08545 33,33,33,32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,
08546 29,29,29,28,28,28,28,28,28,28,27,27,27,27,27,27,27,27,26,26,26,
08547 26,26,26,26,26,25,25,25,25,25,25,24,24,24,24,24,23,23,22,22,22,
08548 22,22,22,22,21,21,21,21,20,20,20,20,20,20,20,19,19,19,19,19,19,
08549 19,18,18,18,18,18,17,17,16,16,16,16,16,15,15,15,14,14,13,13,12,
08550 12,12,12,12,11,11,11,11,11,11,11,11,11,11,10,10,10,10,10,10,10,
08551 10,9,9,9,8,8,8,8,7,6,6,6,6,6,6,6,6,5,5,5,5,4,4,4,4,3,3,3,3,3,
08552 3,3,2,2,2,2,1,1,1,1,1
08553 };
08554 const int n4c2w1_l[] = {
08555 120,
08556 500,
08557
08558 100,100,100,99,99,99,99,99,99,99,98,98,98,97,97,96,96,95,95,95,
08559 95,95,95,95,95,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,
08560 92,92,91,91,90,90,90,89,89,89,89,88,88,88,87,87,87,87,87,87,87,
08561 86,86,86,86,86,86,85,85,85,85,85,85,85,85,85,84,84,84,84,84,84,
08562 84,84,84,83,83,83,83,83,83,83,82,82,82,81,81,81,81,80,80,80,80,
08563 79,79,79,79,78,78,78,78,78,77,77,77,77,76,76,76,76,75,75,75,75,
08564 74,74,74,73,73,73,73,73,72,72,71,71,71,71,71,71,70,70,70,70,70,
08565 70,70,70,69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,67,67,
08566 67,66,66,66,65,65,64,64,64,64,64,63,63,63,62,62,62,62,62,62,62,
08567 62,62,61,61,61,61,61,60,60,60,60,60,59,59,59,59,59,59,58,58,58,
08568 58,58,58,57,57,57,57,57,56,56,56,56,56,56,56,56,55,55,55,55,55,
08569 55,55,55,54,54,54,54,54,54,54,53,53,53,52,52,52,52,52,51,51,50,
08570 50,50,50,49,49,49,49,49,49,49,48,48,48,48,48,48,47,47,47,47,47,
08571 46,46,46,46,46,46,46,45,45,45,44,44,44,43,43,42,42,42,42,41,41,
08572 41,41,41,40,40,40,40,40,40,40,40,39,39,39,39,39,39,38,38,38,38,
08573 38,38,37,37,37,37,37,36,36,36,36,35,35,35,35,34,34,34,34,33,33,
08574 33,32,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,
08575 30,29,29,29,29,29,29,29,29,28,28,28,27,27,27,26,26,26,26,26,25,
08576 25,25,25,24,24,24,24,24,24,24,23,23,23,23,22,22,22,22,22,22,21,
08577 21,21,21,21,21,21,21,20,20,20,20,20,20,20,19,19,19,19,18,18,18,
08578 18,18,18,17,17,17,17,17,16,16,16,16,16,15,14,13,13,13,13,12,12,
08579 12,12,12,11,11,10,10,10,10,9,9,9,9,9,9,8,8,8,8,7,7,7,7,6,6,5,
08580 5,5,4,4,4,4,4,4,4,4,4,4,3,3,3,3,3,3,3,2,2,2,2,2,2,1,1,1,1,1,1,
08581 1,1,1
08582 };
08583 const int n4c2w1_m[] = {
08584 120,
08585 500,
08586
08587 100,100,100,100,100,100,100,99,99,99,99,99,99,98,98,98,97,97,
08588 97,97,96,96,96,96,96,96,96,95,95,95,95,94,94,94,94,93,93,93,93,
08589 93,93,93,93,93,93,93,92,92,91,91,91,91,90,90,90,90,89,89,89,89,
08590 89,89,89,89,89,88,88,88,88,87,87,87,87,86,86,86,86,86,86,86,86,
08591 86,85,85,85,85,85,85,84,84,84,83,83,83,83,82,82,82,82,82,82,81,
08592 81,81,81,80,80,80,80,80,80,79,79,79,78,78,78,78,77,77,77,77,77,
08593 77,77,76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,74,74,73,73,
08594 73,72,72,72,72,72,72,72,71,71,71,71,71,71,70,70,70,70,69,69,68,
08595 68,68,68,68,68,68,68,67,67,67,67,67,67,66,66,66,66,66,66,66,66,
08596 65,65,65,65,65,64,64,64,64,63,63,63,63,62,62,62,61,61,61,60,60,
08597 60,60,60,60,60,60,60,60,60,60,59,59,59,59,59,58,58,58,57,57,57,
08598 57,57,57,57,56,56,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,
08599 53,53,53,52,52,52,52,52,51,51,51,51,51,51,51,51,50,50,50,50,50,
08600 49,49,49,49,49,49,49,49,48,48,48,48,48,48,47,47,47,46,46,46,45,
08601 45,45,45,44,44,44,44,44,44,44,43,43,43,42,42,42,41,41,41,41,40,
08602 40,39,39,39,39,38,38,38,38,38,38,37,37,37,37,36,36,36,36,36,36,
08603 35,35,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,32,32,31,31,
08604 31,30,30,30,30,30,30,29,29,29,28,28,28,28,28,28,28,28,27,27,27,
08605 27,26,26,26,26,26,26,26,26,26,26,25,25,25,25,25,24,24,24,23,23,
08606 23,23,22,22,22,21,21,21,21,20,20,20,20,20,20,20,20,20,19,19,19,
08607 19,18,18,18,18,18,17,17,17,17,17,17,17,16,16,16,15,15,15,15,15,
08608 14,14,14,14,14,14,14,13,13,13,13,13,13,12,12,12,12,11,11,11,11,
08609 10,10,10,10,10,9,9,9,9,9,9,8,8,8,8,8,8,8,7,7,7,7,7,6,6,6,5,5,
08610 5,5,5,5,5,4,3,3,2,2,1,1,1
08611 };
08612 const int n4c2w1_n[] = {
08613 120,
08614 500,
08615
08616 100,100,100,100,99,99,99,99,99,98,98,98,98,98,97,97,96,96,96,
08617 96,95,95,95,94,94,94,94,94,93,93,93,93,93,93,92,92,92,91,91,91,
08618 91,91,91,91,90,90,90,89,89,88,88,88,88,88,88,88,88,87,87,87,87,
08619 87,87,87,87,87,86,86,86,86,86,86,86,85,85,84,84,84,84,83,83,83,
08620 83,83,82,82,82,82,82,81,81,81,81,80,80,80,80,80,80,79,79,79,79,
08621 78,78,78,78,78,78,78,77,77,76,76,75,75,75,75,75,75,75,75,75,74,
08622 74,74,74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,71,70,70,69,
08623 69,69,69,69,69,69,68,68,68,68,67,67,67,67,67,67,66,66,66,66,66,
08624 66,65,65,65,65,65,64,64,64,64,64,64,64,64,64,63,63,63,63,63,63,
08625 63,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,59,59,59,59,59,
08626 59,58,58,58,58,58,57,57,57,57,56,56,56,56,56,56,56,55,55,55,54,
08627 54,54,54,53,53,52,52,52,52,52,52,52,51,51,51,51,51,50,50,50,50,
08628 50,50,50,49,49,49,49,48,48,48,48,48,48,48,48,48,47,47,47,47,47,
08629 47,47,47,47,46,46,46,46,46,46,45,45,45,45,44,44,44,44,44,44,43,
08630 43,43,43,42,42,42,41,41,41,41,41,40,40,40,40,40,40,39,39,39,39,
08631 39,39,39,38,38,38,38,38,38,37,37,37,37,37,36,36,36,35,35,35,35,
08632 34,34,34,33,33,33,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30,
08633 30,30,30,29,29,29,29,29,28,28,27,27,27,27,27,27,26,26,25,25,25,
08634 25,25,25,25,25,24,24,24,24,24,24,24,24,24,23,23,22,22,22,22,21,
08635 21,21,21,21,20,20,20,20,20,19,19,19,19,18,18,18,18,18,17,17,17,
08636 17,17,17,16,16,16,16,16,16,15,15,15,15,15,14,14,14,14,14,13,13,
08637 13,13,13,13,12,12,12,12,11,11,11,11,11,11,11,10,10,10,10,10,10,
08638 9,9,9,9,9,9,9,8,8,8,8,7,7,7,7,6,6,6,5,5,5,5,5,4,4,4,4,3,3,3,3,
08639 2,2,2,2,2,1,1,1,1
08640 };
08641 const int n4c2w1_o[] = {
08642 120,
08643 500,
08644
08645 100,100,100,100,100,100,99,99,99,99,98,98,98,98,98,97,97,97,97,
08646 96,96,96,96,96,96,96,96,95,95,95,95,94,94,93,93,93,93,93,93,93,
08647 92,92,92,92,92,92,91,91,91,91,90,90,90,90,90,89,89,89,89,89,88,
08648 88,88,88,87,87,87,87,86,86,85,85,85,85,84,84,84,84,83,83,83,82,
08649 82,82,82,81,81,81,81,81,81,81,81,81,81,81,81,81,80,80,80,79,79,
08650 79,79,79,79,79,79,79,78,78,78,78,77,77,77,77,77,77,76,76,76,76,
08651 76,76,76,75,75,74,74,74,74,74,74,74,74,73,73,73,73,72,72,72,72,
08652 72,72,72,72,71,71,71,71,71,71,71,71,71,71,70,70,70,70,70,70,70,
08653 69,69,69,69,69,68,67,67,66,66,65,65,65,65,65,65,65,64,64,63,63,
08654 63,63,63,63,63,63,63,63,63,62,62,62,61,61,61,61,61,61,60,60,60,
08655 60,59,59,59,59,59,59,58,58,58,58,58,57,57,57,56,56,56,56,56,56,
08656 56,56,55,55,55,55,55,54,54,54,54,54,53,53,53,53,53,53,53,52,51,
08657 51,50,50,50,50,49,49,49,48,48,47,47,47,47,47,47,47,47,47,47,47,
08658 47,46,46,46,46,46,45,45,45,45,44,44,44,44,44,43,43,43,43,42,42,
08659 42,42,42,42,42,42,41,41,41,40,40,39,39,39,39,39,38,38,38,38,38,
08660 37,37,37,37,37,36,36,36,36,36,36,35,35,35,35,35,35,34,34,34,34,
08661 34,34,33,33,33,33,33,32,32,32,32,31,31,31,31,30,30,30,30,30,29,
08662 29,29,29,29,29,29,29,29,28,28,28,28,28,27,27,27,27,27,27,26,26,
08663 26,26,26,25,25,25,25,25,25,25,25,24,24,24,24,24,24,24,23,22,22,
08664 22,22,21,21,21,21,21,21,20,19,19,19,19,19,18,18,18,18,18,17,17,
08665 17,17,17,17,16,16,16,16,15,15,15,15,14,14,14,14,14,13,13,13,13,
08666 13,12,12,12,12,12,12,12,11,11,11,11,11,10,10,10,10,9,9,9,9,8,
08667 8,8,7,7,6,6,6,6,5,5,5,5,4,4,4,4,4,4,4,4,4,4,4,3,3,3,3,3,2,2,2,
08668 1,1,1,1,1,1,1,1
08669 };
08670 const int n4c2w1_p[] = {
08671 120,
08672 500,
08673
08674 100,100,100,100,100,100,100,99,99,99,99,99,99,98,98,98,97,97,
08675 97,96,96,96,96,96,96,96,95,95,95,95,95,94,94,93,93,93,92,92,92,
08676 92,92,92,92,91,91,90,90,90,90,90,90,90,89,89,89,89,89,88,88,88,
08677 87,87,87,87,87,86,85,85,85,85,85,85,85,85,84,84,84,84,84,84,84,
08678 84,83,83,83,83,83,82,82,82,82,82,82,81,81,81,81,81,81,81,80,80,
08679 80,79,79,78,78,78,78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,
08680 76,75,75,75,74,74,74,74,74,74,74,74,73,73,72,72,72,71,71,71,70,
08681 70,70,70,70,70,70,70,69,69,69,69,69,69,68,68,68,68,68,68,68,68,
08682 68,68,67,67,67,67,66,66,66,66,66,66,66,65,65,65,65,65,64,64,64,
08683 64,64,64,64,63,63,63,63,63,62,62,62,62,61,61,61,61,60,60,60,60,
08684 59,59,59,59,59,58,58,58,57,57,57,57,56,56,55,55,55,55,55,55,54,
08685 54,54,54,54,53,53,53,53,53,53,53,53,53,53,53,53,53,53,52,52,52,
08686 51,51,51,51,51,51,51,50,50,50,50,50,50,49,49,49,49,49,48,48,48,
08687 48,48,48,48,47,47,47,47,47,47,47,47,46,46,46,46,46,45,45,45,45,
08688 44,44,44,44,44,44,44,43,43,43,43,42,42,42,42,42,41,41,41,41,41,
08689 40,40,40,39,39,38,38,38,38,38,38,37,37,37,37,36,36,36,35,35,35,
08690 35,35,35,35,34,34,34,34,34,33,33,33,32,32,32,32,31,31,31,31,31,
08691 30,30,30,30,29,29,29,29,29,29,28,28,28,27,27,26,26,26,26,26,26,
08692 26,26,26,26,25,25,24,24,24,24,24,24,23,23,23,23,23,23,23,23,22,
08693 22,22,21,21,21,20,20,20,19,19,19,19,19,19,18,18,17,17,16,16,16,
08694 16,16,16,15,15,15,15,15,15,14,14,14,14,14,14,14,14,13,13,13,13,
08695 13,13,13,13,13,13,12,12,12,12,11,11,11,11,11,11,11,11,10,9,9,
08696 9,9,8,8,8,8,8,8,7,7,7,7,6,6,6,6,6,5,5,5,5,5,4,4,3,3,3,3,3,3,2,
08697 2,2,2,2,2,2,2,1,1,1
08698 };
08699 const int n4c2w1_q[] = {
08700 120,
08701 500,
08702
08703 100,100,100,100,100,100,100,99,99,99,98,98,98,98,98,98,98,98,
08704 97,97,97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,95,95,
08705 95,94,94,94,94,94,94,94,93,93,93,92,91,91,91,91,90,90,89,89,89,
08706 89,89,89,89,89,88,88,88,88,88,88,87,87,87,87,86,86,86,86,85,85,
08707 85,85,85,85,85,84,84,84,84,84,84,84,84,84,83,83,83,83,82,82,81,
08708 81,81,80,80,80,79,79,79,78,78,77,77,77,77,77,76,76,76,75,75,75,
08709 75,75,75,74,74,74,74,73,73,73,73,73,73,73,73,72,72,72,72,72,72,
08710 72,72,72,72,71,71,71,71,71,71,71,70,70,69,69,69,69,69,68,68,68,
08711 67,67,67,66,66,66,66,66,65,65,65,65,65,65,64,64,64,64,63,63,63,
08712 63,62,62,62,61,61,61,61,61,61,61,61,61,60,60,60,60,60,60,59,59,
08713 59,59,59,59,59,58,58,58,58,58,57,56,56,56,56,55,55,55,55,55,55,
08714 55,54,53,53,53,53,53,52,52,52,52,52,52,52,52,52,52,51,51,51,51,
08715 51,51,51,50,50,49,49,49,48,48,48,48,48,48,48,48,47,47,47,46,46,
08716 46,46,46,45,45,45,45,44,44,44,44,44,44,44,44,44,43,43,43,43,42,
08717 42,42,41,41,41,41,41,40,40,40,40,40,39,39,39,39,39,39,39,39,38,
08718 38,38,37,37,37,37,36,36,36,36,35,35,35,34,34,34,34,34,34,34,33,
08719 33,33,33,33,33,33,32,32,32,32,31,31,31,31,30,30,30,30,29,29,29,
08720 29,29,29,28,28,28,28,28,28,27,27,27,27,27,26,26,25,25,25,25,24,
08721 24,24,23,23,23,23,23,23,23,23,22,22,22,22,22,22,21,21,21,21,20,
08722 20,20,20,20,19,19,19,19,19,19,19,19,19,19,18,18,18,18,17,17,17,
08723 17,17,17,17,16,16,16,15,15,15,14,14,14,13,12,12,12,12,11,11,11,
08724 10,10,10,10,10,10,10,9,9,9,9,9,9,9,9,9,8,8,8,8,8,7,7,7,7,7,7,
08725 7,7,7,7,6,6,5,5,5,5,5,5,4,4,4,4,4,3,3,3,3,3,2,2,2,2,2,1,1,1,1,
08726 1,1,1,1
08727 };
08728 const int n4c2w1_r[] = {
08729 120,
08730 500,
08731
08732 100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,
08733 98,97,97,97,97,97,97,97,96,96,96,96,96,96,95,95,95,95,95,94,93,
08734 93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,90,
08735 90,89,89,89,89,89,89,89,88,88,87,87,87,87,87,87,86,86,86,86,86,
08736 86,86,86,86,86,86,85,85,85,83,83,83,83,83,82,82,82,82,82,82,81,
08737 80,80,80,80,79,79,79,78,78,78,78,78,78,77,77,77,77,77,76,76,76,
08738 76,76,76,76,76,75,75,75,75,75,75,74,74,74,73,73,73,73,72,72,71,
08739 71,71,71,71,70,70,70,70,70,69,69,69,69,69,69,69,68,68,67,66,66,
08740 65,65,65,65,65,65,64,64,64,64,64,63,63,63,63,63,63,62,62,62,62,
08741 62,61,61,61,61,61,61,61,61,61,61,61,60,60,60,60,60,60,60,59,59,
08742 59,59,59,59,58,58,58,58,58,57,57,57,57,56,56,56,56,56,56,55,55,
08743 55,55,55,54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,51,51,51,
08744 51,51,50,50,49,49,49,49,49,48,48,48,48,48,48,48,48,47,47,47,46,
08745 46,45,45,45,45,45,45,45,45,45,45,45,45,44,43,43,43,43,43,43,43,
08746 42,42,42,42,42,42,42,42,42,41,41,41,41,40,40,40,40,40,40,39,39,
08747 39,39,39,39,39,38,38,38,37,37,37,37,37,37,37,36,36,36,36,36,36,
08748 35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,32,32,32,31,31,31,
08749 31,31,30,30,30,29,29,29,29,29,28,28,28,28,28,27,27,27,27,27,27,
08750 27,26,26,26,26,26,25,25,25,25,25,24,24,24,24,24,24,24,24,23,23,
08751 22,22,22,22,21,21,21,20,20,20,19,19,19,19,19,19,18,18,18,18,17,
08752 17,17,16,16,16,16,16,16,16,15,15,15,15,14,13,13,13,13,12,12,12,
08753 12,12,12,12,12,12,11,11,11,10,10,10,10,10,10,10,9,9,8,8,8,7,7,
08754 7,7,7,7,7,7,7,6,6,6,5,5,5,5,5,5,4,4,4,4,4,4,4,3,3,3,3,3,3,3,2,
08755 1,1,1,1,1,1,1,1
08756 };
08757 const int n4c2w1_s[] = {
08758 120,
08759 500,
08760
08761 100,100,100,99,99,99,98,98,98,98,97,97,97,97,96,96,96,96,96,96,
08762 95,95,95,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,92,91,
08763 91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,88,88,88,88,88,88,
08764 88,88,87,87,87,86,86,86,85,85,85,85,85,85,85,85,85,84,84,84,84,
08765 83,83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,81,80,80,80,80,
08766 80,80,80,79,79,79,79,78,77,77,77,77,77,76,76,76,75,74,74,74,74,
08767 73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,70,70,70,69,69,69,
08768 68,68,68,68,68,68,68,68,68,67,66,66,66,66,66,66,65,65,65,65,65,
08769 65,65,65,65,65,65,65,64,64,63,63,63,63,63,63,63,63,63,62,62,62,
08770 62,62,62,62,62,62,61,61,61,61,61,61,61,61,61,60,60,60,60,59,59,
08771 59,59,58,58,58,57,57,57,57,56,56,56,56,56,56,55,55,54,54,54,54,
08772 53,53,53,53,53,53,52,52,52,52,51,51,51,51,51,50,50,50,50,49,49,
08773 49,49,48,48,48,47,47,47,47,46,46,46,46,46,46,46,46,45,45,45,45,
08774 45,45,45,44,44,44,44,44,43,43,43,43,43,43,43,43,43,42,42,42,42,
08775 42,42,42,42,41,41,41,41,41,41,40,40,40,40,40,40,40,39,39,39,39,
08776 39,39,38,38,37,37,37,36,36,36,36,36,36,35,35,35,35,35,35,35,34,
08777 34,34,34,34,33,33,33,33,33,33,32,32,32,32,32,32,32,31,31,31,31,
08778 31,31,30,30,30,30,30,29,29,29,29,28,28,28,27,27,27,27,26,26,26,
08779 26,26,26,26,25,25,24,24,24,24,24,24,23,23,23,22,22,22,22,21,21,
08780 21,21,21,20,20,19,19,19,19,19,19,19,19,19,18,18,18,18,17,17,17,
08781 17,17,17,17,17,16,16,16,16,15,15,14,14,14,14,13,12,12,12,12,12,
08782 12,11,11,11,11,11,11,11,11,10,10,10,9,9,9,9,9,9,9,9,9,8,8,8,8,
08783 8,8,8,8,8,7,7,7,7,6,6,6,6,6,6,5,5,5,5,5,5,5,5,4,4,4,3,3,3,2,2,
08784 2,1,1,1
08785 };
08786 const int n4c2w1_t[] = {
08787 120,
08788 500,
08789
08790 100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,98,98,
08791 97,97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,95,94,94,94,94,
08792 94,94,94,94,93,93,93,93,92,92,92,92,92,92,91,91,91,91,90,90,90,
08793 90,90,89,89,89,89,89,89,89,89,88,88,88,88,87,87,87,87,86,86,85,
08794 85,85,84,84,84,84,84,84,84,84,83,83,83,83,82,82,82,82,82,81,81,
08795 81,81,81,81,81,81,80,80,80,80,79,79,79,79,79,78,78,78,78,77,77,
08796 77,77,76,76,76,75,75,75,75,75,75,75,74,74,74,74,74,73,73,73,72,
08797 72,72,71,71,71,70,70,70,70,69,69,69,69,69,69,68,68,68,67,67,67,
08798 67,67,67,67,67,67,66,66,66,66,66,66,66,65,65,65,65,64,64,64,64,
08799 64,63,63,63,62,62,62,62,61,61,61,61,61,61,61,60,60,60,59,59,59,
08800 59,59,59,58,58,58,58,58,58,57,57,57,57,57,56,56,56,55,55,55,54,
08801 54,54,53,53,53,53,53,53,52,52,52,52,51,51,51,51,51,50,50,50,50,
08802 50,49,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,46,46,46,46,
08803 46,46,45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,43,43,43,42,
08804 42,42,42,42,42,42,41,41,41,41,41,41,40,40,40,39,39,39,39,38,37,
08805 37,37,37,37,37,37,37,36,36,36,36,36,35,35,34,34,34,34,33,33,33,
08806 33,33,33,33,32,32,32,31,31,31,31,31,31,31,30,30,29,29,29,29,29,
08807 29,27,27,26,26,25,25,25,25,25,25,25,25,24,24,24,24,24,24,24,24,
08808 24,24,23,23,23,23,22,22,22,22,21,21,21,21,21,21,21,21,21,21,20,
08809 20,20,20,19,19,19,19,19,19,18,18,18,18,18,18,18,18,18,17,17,17,
08810 17,17,17,16,16,16,16,15,14,14,14,14,14,14,14,14,13,13,13,13,12,
08811 12,12,12,12,12,12,12,12,11,11,10,10,10,10,9,9,9,9,8,8,8,8,8,8,
08812 7,7,7,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,4,4,4,4,3,3,3,3,3,3,2,2,
08813 2,2,2,2,2,1
08814 };
08815 const int n4c2w2_a[] = {
08816 120,
08817 500,
08818
08819 100,100,100,100,99,99,99,99,99,99,99,99,99,99,98,97,97,97,97,
08820 97,97,97,96,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,
08821 95,94,94,94,94,94,94,94,94,94,93,93,93,93,92,92,92,92,92,92,92,
08822 92,92,91,91,91,91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,89,
08823 89,88,88,88,88,88,88,87,87,87,87,87,86,86,86,86,86,86,86,85,85,
08824 85,85,85,85,85,84,84,84,84,84,84,84,83,83,82,82,82,82,82,81,81,
08825 81,81,81,80,80,80,80,80,80,80,79,79,79,79,79,79,78,78,78,78,78,
08826 78,78,77,77,77,77,76,76,76,76,75,75,75,75,75,75,75,75,75,75,74,
08827 73,73,73,73,73,73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,71,
08828 71,71,70,69,69,69,69,69,69,69,69,68,68,68,68,68,67,67,67,67,67,
08829 67,67,67,67,67,66,66,66,66,65,65,65,65,65,65,65,65,64,64,64,63,
08830 63,63,62,62,62,62,62,62,62,62,62,62,61,61,61,61,61,60,60,60,60,
08831 60,59,59,59,59,59,59,59,59,58,58,58,58,58,58,57,57,57,57,57,57,
08832 57,57,57,56,56,56,56,56,56,55,54,54,54,54,54,53,53,53,53,53,52,
08833 52,52,52,52,52,52,52,52,51,51,50,50,50,50,50,50,50,50,50,49,49,
08834 49,49,49,49,48,48,48,48,48,48,48,48,47,47,47,46,46,46,46,46,46,
08835 46,45,45,45,45,45,45,45,45,45,45,44,44,44,44,44,44,43,43,43,43,
08836 43,43,42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,40,40,39,39,
08837 39,39,39,39,39,38,38,38,38,38,37,37,37,36,36,36,35,35,35,35,35,
08838 35,35,34,34,34,34,34,33,33,33,33,33,33,33,33,33,32,32,32,32,32,
08839 32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,30,29,29,29,29,29,
08840 29,29,29,28,28,28,28,28,28,27,27,27,27,27,27,27,26,26,26,26,26,
08841 26,26,26,25,25,25,25,24,24,24,24,24,24,24,24,24,23,23,23,23,23,
08842 23,23,22,22,22,22,22,21,21,21,21,21,21,21,21,20,20,20,20
08843 };
08844 const int n4c2w2_b[] = {
08845 120,
08846 500,
08847
08848 100,100,100,100,100,100,99,99,99,99,99,99,98,98,98,98,98,98,98,
08849 97,97,97,97,97,97,97,97,97,97,97,97,97,97,96,96,96,95,95,95,95,
08850 95,94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,93,93,92,
08851 92,92,92,92,91,91,91,91,91,91,90,90,90,90,89,89,89,89,89,89,89,
08852 89,88,88,88,88,88,87,86,86,86,86,86,86,85,85,85,84,84,84,84,84,
08853 84,83,83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,81,81,
08854 81,81,80,80,79,79,79,79,79,79,79,79,78,78,78,78,78,77,77,77,77,
08855 77,77,77,76,76,76,76,76,76,76,76,76,75,75,75,74,74,74,74,74,74,
08856 74,74,74,73,73,73,73,72,72,72,72,72,72,72,71,70,70,70,70,70,69,
08857 69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,67,67,67,67,67,
08858 67,67,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,63,63,
08859 63,63,63,63,63,63,62,62,62,62,62,61,61,61,61,61,61,60,60,60,60,
08860 60,59,59,59,59,59,59,59,58,58,57,57,57,56,56,56,56,56,56,56,55,
08861 55,55,55,55,55,55,55,54,54,54,54,54,53,53,53,53,53,53,53,53,52,
08862 52,52,52,52,52,52,51,51,51,51,51,51,51,50,50,50,50,50,50,50,50,
08863 50,50,49,49,49,49,49,49,48,48,48,48,48,48,48,48,47,47,47,47,47,
08864 47,47,47,47,47,46,46,46,46,45,45,45,44,44,44,43,43,42,42,42,42,
08865 42,41,41,41,41,41,41,41,41,41,41,40,40,40,39,39,39,39,39,38,38,
08866 38,38,37,37,37,37,37,37,37,37,37,37,36,36,36,36,36,36,35,35,35,
08867 35,35,35,35,34,34,34,34,34,33,33,33,33,33,33,33,33,33,32,32,32,
08868 32,31,31,31,31,31,31,31,30,30,30,30,30,30,29,29,29,28,28,28,28,
08869 28,28,28,28,28,27,27,27,27,27,27,27,26,26,26,26,26,26,25,25,25,
08870 25,25,25,25,25,25,25,25,24,24,24,24,24,24,24,24,23,23,23,23,23,
08871 23,23,23,22,22,22,22,22,22,21,21,21,21,20,20,20,20,20,20
08872 };
08873 const int n4c2w2_c[] = {
08874 120,
08875 500,
08876
08877 100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,98,98,98,97,
08878 97,97,97,97,97,96,96,96,95,95,95,95,95,95,95,95,94,94,94,94,94,
08879 94,93,93,93,93,93,93,93,92,92,92,92,92,92,92,91,91,91,91,91,91,
08880 90,90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,88,88,88,88,
08881 88,88,88,87,87,87,86,86,86,86,86,85,85,85,85,85,84,84,84,84,84,
08882 84,83,83,83,83,83,83,83,82,82,82,82,81,81,81,81,81,81,81,80,80,
08883 80,80,78,78,78,78,78,78,78,78,78,78,77,77,77,76,76,76,76,76,76,
08884 76,75,75,75,75,74,74,74,74,74,74,74,73,73,73,73,73,73,73,73,72,
08885 72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,70,69,69,69,
08886 69,69,68,68,67,67,67,67,67,66,66,66,66,66,66,66,65,65,65,65,65,
08887 65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,64,63,63,63,63,
08888 62,62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,60,60,59,59,
08889 59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,57,57,57,57,57,
08890 56,56,56,56,56,56,56,56,55,55,55,54,54,53,53,53,53,53,53,53,52,
08891 52,52,52,52,51,51,51,50,50,50,50,49,49,49,49,49,49,49,49,48,48,
08892 48,48,48,48,48,47,47,47,47,47,47,47,46,46,46,45,45,45,45,45,45,
08893 45,45,44,44,44,44,44,44,43,43,43,43,43,43,43,43,43,42,42,42,42,
08894 42,42,42,42,41,41,41,41,41,41,41,41,41,40,40,40,40,40,39,39,39,
08895 39,39,38,38,38,38,38,37,37,37,37,37,36,36,36,35,35,35,35,35,35,
08896 35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,32,
08897 32,32,32,31,31,31,31,31,31,31,31,30,30,30,30,30,30,29,29,29,29,
08898 29,29,29,29,28,28,28,28,28,27,27,27,27,27,27,27,26,26,26,26,26,
08899 26,25,25,25,25,25,24,24,24,24,24,24,24,23,23,23,23,23,23,23,23,
08900 23,22,22,22,22,21,21,21,21,21,21,21,21,21,20,20,20,20,20
08901 };
08902 const int n4c2w2_d[] = {
08903 120,
08904 500,
08905
08906 100,99,99,99,99,99,99,99,98,98,98,98,98,98,98,97,97,97,97,97,
08907 97,97,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,94,94,
08908 94,94,94,93,93,93,93,93,92,92,92,92,91,91,91,91,91,90,90,90,90,
08909 90,90,90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,88,88,88,88,
08910 88,88,87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,84,84,84,84,
08911 84,84,84,83,83,83,83,83,83,83,83,83,83,83,82,82,82,82,82,82,82,
08912 82,81,81,81,81,81,81,81,80,80,80,80,80,79,79,79,79,79,79,78,78,
08913 78,78,78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,76,76,75,75,
08914 75,75,75,75,74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,73,72,
08915 72,72,72,72,71,71,71,71,71,71,71,71,70,70,70,70,70,70,70,69,69,
08916 69,68,68,68,68,68,68,67,67,67,67,67,66,66,65,65,65,65,65,64,64,
08917 64,63,63,63,63,62,62,62,62,62,62,61,61,61,61,61,61,60,60,60,60,
08918 60,60,60,59,59,59,59,59,59,59,58,58,58,58,58,57,57,57,57,57,57,
08919 57,56,56,56,55,55,55,55,55,54,54,54,54,54,54,54,54,54,54,53,53,
08920 53,53,53,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,50,50,
08921 50,49,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,47,47,
08922 46,45,45,45,45,45,45,45,45,44,44,44,43,43,43,43,43,43,42,42,42,
08923 42,42,42,42,42,42,41,41,41,41,41,40,40,40,40,40,39,39,39,39,39,
08924 39,39,39,39,39,38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,36,
08925 36,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,35,35,34,34,34,
08926 34,34,33,33,33,33,33,33,33,33,33,32,32,32,32,32,32,32,31,31,31,
08927 31,31,31,31,30,30,30,30,29,29,28,28,28,28,28,28,28,27,27,27,27,
08928 26,26,26,26,26,25,25,25,25,25,24,24,24,24,24,24,24,23,22,22,22,
08929 22,22,22,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20
08930 };
08931 const int n4c2w2_e[] = {
08932 120,
08933 500,
08934
08935 100,100,100,100,100,100,100,99,99,98,98,98,98,98,98,98,97,97,
08936 97,96,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,95,94,
08937 94,94,94,94,93,93,93,93,93,93,93,93,93,92,92,92,92,92,91,91,91,
08938 91,91,91,91,91,91,91,90,90,90,90,89,89,88,88,88,88,88,88,87,87,
08939 87,87,87,86,86,86,86,85,85,85,84,84,84,84,84,84,83,83,83,83,83,
08940 83,83,83,82,82,82,82,82,81,81,81,81,81,80,80,80,80,80,80,79,79,
08941 79,79,79,79,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,76,76,
08942 76,76,75,75,75,75,75,75,75,75,74,74,74,74,73,73,73,73,73,73,73,
08943 73,72,72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,70,70,
08944 70,70,70,69,69,69,68,68,68,68,68,68,67,67,67,67,67,67,67,67,67,
08945 66,66,66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,
08946 64,63,63,63,63,63,62,62,62,62,62,62,62,62,62,61,61,61,61,61,61,
08947 61,61,61,61,61,61,60,60,60,60,59,59,59,59,59,59,59,58,58,58,58,
08948 58,57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,55,55,54,54,
08949 54,54,54,54,54,54,53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,
08950 52,52,51,51,51,51,51,51,51,51,50,50,50,50,50,50,50,50,49,49,49,
08951 49,49,49,49,49,49,48,48,48,47,47,47,47,47,47,47,46,46,46,46,46,
08952 46,45,45,45,45,45,44,44,44,44,44,44,44,43,43,42,42,42,42,41,41,
08953 40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,38,38,37,37,36,36,
08954 36,36,36,36,35,35,35,35,35,35,35,35,35,35,35,35,34,34,34,34,34,
08955 34,34,34,34,34,34,33,33,33,33,33,33,32,32,32,32,32,32,31,31,31,
08956 31,30,30,30,30,30,30,29,29,28,28,27,27,27,27,27,27,27,26,26,26,
08957 26,26,25,25,25,25,25,25,25,25,25,25,24,24,24,24,24,24,24,23,23,
08958 23,23,23,23,23,23,23,22,22,22,22,21,21,21,21,20,20,20,20,20
08959 };
08960 const int n4c2w2_f[] = {
08961 120,
08962 500,
08963
08964 100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,
08965 99,99,99,98,98,98,98,98,98,97,97,97,97,97,96,95,95,95,95,95,94,
08966 94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,93,92,92,92,92,92,
08967 91,91,91,91,91,91,91,91,91,91,90,90,90,90,90,90,90,90,90,90,89,
08968 89,89,89,89,89,89,88,88,88,88,87,87,87,87,87,86,86,86,86,86,86,
08969 86,86,86,86,85,85,85,85,85,85,84,84,84,84,84,83,83,83,83,83,83,
08970 83,83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,
08971 79,79,79,79,79,79,79,78,78,78,78,78,78,78,77,77,77,77,77,77,77,
08972 76,76,76,76,76,76,75,75,75,75,75,75,75,75,75,74,74,74,74,74,74,
08973 74,74,74,74,73,73,73,73,72,72,72,72,72,72,72,72,72,72,71,71,71,
08974 71,70,70,70,70,70,70,70,69,69,69,69,69,69,68,68,68,68,68,68,68,
08975 68,68,68,67,67,67,67,67,66,66,66,66,66,65,65,65,65,65,64,64,64,
08976 64,63,63,63,63,63,63,62,62,62,62,62,62,62,62,62,61,61,61,61,61,
08977 61,60,59,58,58,58,58,57,57,57,57,57,56,56,56,56,56,56,56,56,56,
08978 56,55,55,55,54,54,54,54,53,53,53,53,52,52,52,52,52,51,51,51,51,
08979 51,51,50,50,50,50,50,50,50,50,50,50,49,49,48,48,48,48,48,48,48,
08980 47,47,46,46,46,46,46,46,46,46,45,45,45,45,45,45,44,44,43,43,43,
08981 43,42,42,42,42,42,42,42,41,41,41,41,41,41,40,40,40,39,39,38,38,
08982 38,38,37,37,37,37,37,37,37,37,37,37,37,37,37,36,36,36,36,36,36,
08983 36,36,36,35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,
08984 33,33,33,32,32,32,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30,
08985 30,29,29,29,29,29,28,28,28,28,28,28,28,28,28,27,27,27,27,27,26,
08986 26,26,26,25,25,25,25,25,25,25,25,24,24,24,23,23,23,23,23,23,23,
08987 23,23,22,22,22,22,22,22,22,22,22,21,21,21,21,21,20,20,20,20
08988 };
08989 const int n4c2w2_g[] = {
08990 120,
08991 500,
08992
08993 100,100,100,100,100,100,100,100,100,100,99,99,99,99,98,98,98,
08994 98,98,98,97,97,97,97,97,97,96,96,96,96,96,95,95,95,95,95,95,95,
08995 95,95,95,95,94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,92,
08996 92,92,91,91,91,91,90,90,90,90,90,90,90,89,89,89,89,89,89,88,88,
08997 88,88,88,88,88,87,87,87,87,86,86,86,86,85,85,85,85,85,85,85,84,
08998 84,84,84,84,84,83,83,83,83,83,82,82,82,81,81,81,81,80,80,80,80,
08999 79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,77,77,77,77,77,76,
09000 76,76,76,75,75,75,75,75,75,75,75,74,74,74,74,74,74,73,73,73,72,
09001 72,72,72,72,72,71,71,71,71,71,71,70,70,70,70,70,69,69,69,69,69,
09002 69,69,69,69,69,68,68,68,68,68,68,68,68,68,68,68,68,68,67,67,67,
09003 67,66,66,66,65,65,65,65,65,65,65,65,65,64,64,64,64,64,64,63,63,
09004 63,63,63,63,63,63,63,63,63,62,62,62,62,62,61,61,61,60,60,60,60,
09005 60,60,59,59,59,59,59,59,59,59,59,59,58,58,58,57,57,57,57,57,57,
09006 57,57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,54,54,54,54,
09007 54,54,54,54,54,53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,51,
09008 51,51,51,50,50,50,50,50,50,50,50,50,49,49,49,48,48,48,48,47,47,
09009 47,47,47,47,47,47,47,46,46,46,46,45,45,45,45,45,45,44,44,44,43,
09010 43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,41,40,40,40,40,40,
09011 39,39,39,39,39,38,38,37,37,37,37,37,36,36,36,36,35,35,35,35,35,
09012 35,35,35,35,34,34,34,34,34,33,33,33,33,33,33,33,32,32,32,32,32,
09013 31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,29,29,29,29,28,
09014 28,28,28,28,27,27,27,27,27,27,27,27,27,26,26,26,26,26,26,25,25,
09015 25,24,24,24,24,23,23,23,23,23,23,22,22,22,22,22,22,22,22,21,21,
09016 21,21,21,21,21,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20
09017 };
09018 const int n4c2w2_h[] = {
09019 120,
09020 500,
09021
09022 100,99,99,99,99,99,99,99,98,98,98,98,98,98,97,97,97,97,96,96,
09023 96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,94,94,94,94,93,93,
09024 93,93,93,93,93,92,92,92,92,92,92,92,92,92,91,91,91,91,91,91,90,
09025 90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,88,88,88,88,87,87,
09026 86,86,86,86,86,86,86,86,86,85,85,85,85,85,85,85,85,85,85,85,84,
09027 84,84,84,84,83,83,83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,
09028 81,80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,78,78,78,78,
09029 77,77,77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,
09030 75,75,74,74,74,73,73,73,73,72,72,72,72,71,71,71,71,71,71,71,71,
09031 70,70,70,70,70,69,69,69,69,69,68,68,68,68,68,68,68,67,67,67,67,
09032 67,66,66,66,66,66,66,65,65,65,65,65,64,64,64,64,64,64,63,63,62,
09033 62,62,62,62,61,61,61,60,60,60,60,60,60,60,60,60,60,60,59,59,59,
09034 59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,
09035 56,56,56,56,56,56,56,55,55,55,55,55,54,54,54,54,54,53,53,53,53,
09036 53,53,53,52,52,52,52,52,51,51,51,51,51,51,51,51,49,49,49,49,49,
09037 48,48,48,48,47,47,47,47,47,47,47,47,47,47,47,47,47,46,46,46,46,
09038 46,46,46,45,45,45,45,45,45,45,45,44,44,43,43,43,43,43,43,43,43,
09039 42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,38,38,38,38,38,38,
09040 38,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,35,35,35,35,
09041 35,34,34,34,34,34,34,34,34,33,33,33,33,33,33,33,32,32,32,32,32,
09042 32,31,31,31,31,31,31,30,30,30,30,30,30,29,29,29,29,29,28,28,28,
09043 27,27,27,27,27,27,27,26,26,26,26,26,25,25,25,25,25,25,25,25,25,
09044 25,25,24,24,24,23,23,23,23,23,23,23,23,22,22,22,22,22,22,22,22,
09045 21,21,21,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20
09046 };
09047 const int n4c2w2_i[] = {
09048 120,
09049 500,
09050
09051 100,100,100,100,99,99,99,99,99,99,98,98,98,98,97,97,97,97,97,
09052 97,97,96,96,96,96,96,95,95,95,95,95,95,95,95,95,95,95,94,94,94,
09053 94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,92,92,92,92,
09054 92,92,91,91,91,91,91,91,90,90,90,90,90,90,90,90,90,90,89,89,89,
09055 88,88,88,88,87,87,87,87,87,87,87,87,87,87,87,86,86,86,85,85,85,
09056 85,85,85,85,84,84,84,84,83,83,83,83,83,82,82,82,82,82,82,82,82,
09057 82,81,81,81,81,81,81,81,80,80,80,80,80,79,79,79,79,79,79,79,78,
09058 78,78,77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,76,75,75,75,
09059 75,75,75,75,74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,72,
09060 72,72,72,72,72,71,71,71,71,71,70,70,70,70,70,70,70,70,70,70,69,
09061 69,68,68,68,68,68,68,68,67,67,67,67,67,66,66,66,66,65,65,65,65,
09062 65,65,65,65,65,65,65,64,64,64,64,64,63,63,63,62,62,62,62,62,61,
09063 61,61,61,61,60,60,60,60,60,59,59,59,59,59,59,59,58,58,58,58,58,
09064 58,58,58,58,57,57,57,57,57,57,57,57,56,56,55,55,55,54,54,54,53,
09065 53,53,53,53,53,53,52,51,51,50,50,50,50,49,49,49,49,49,49,49,49,
09066 48,48,48,48,48,48,48,48,48,48,48,47,47,47,47,47,47,47,46,46,46,
09067 46,46,46,45,45,45,45,45,45,44,44,44,44,44,43,43,43,43,43,43,43,
09068 43,43,43,43,43,43,42,42,42,42,42,42,42,41,41,41,41,41,41,41,40,
09069 40,40,40,40,40,39,39,39,39,39,38,38,38,38,37,37,37,37,37,37,36,
09070 35,35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,33,33,32,32,
09071 32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,29,29,29,29,
09072 29,29,29,29,29,29,28,28,28,28,28,28,27,27,27,27,27,26,26,26,26,
09073 25,25,25,25,25,25,25,25,25,24,24,24,24,24,24,23,23,23,23,23,23,
09074 22,22,22,22,22,22,22,22,21,21,21,20,20,20,20,20,20,20,20
09075 };
09076 const int n4c2w2_j[] = {
09077 120,
09078 500,
09079
09080 100,100,100,99,99,99,99,98,98,98,98,98,98,98,98,98,98,98,97,97,
09081 97,97,97,97,97,97,96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,
09082 94,94,93,93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,91,91,
09083 91,91,91,91,91,91,91,90,90,90,90,89,89,89,89,88,88,88,88,87,87,
09084 87,87,87,87,87,87,86,86,86,86,86,85,85,85,85,85,85,85,84,84,84,
09085 84,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,82,81,81,81,81,
09086 81,81,81,81,80,80,80,79,79,79,79,79,79,78,78,78,78,78,78,78,77,
09087 77,77,77,76,76,76,75,75,75,75,75,75,75,74,74,74,74,73,73,73,72,
09088 72,72,72,72,71,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,69,
09089 69,69,69,68,68,68,68,68,68,68,68,67,67,67,67,67,67,67,67,67,67,
09090 66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,65,65,65,65,65,64,
09091 64,64,64,64,64,64,63,63,63,63,62,62,61,61,61,61,61,61,61,61,61,
09092 61,61,59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,57,57,57,
09093 57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,54,54,54,
09094 54,54,54,53,53,53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,
09095 52,51,51,51,51,51,51,51,51,51,51,51,51,50,50,50,50,50,49,49,49,
09096 49,49,49,48,48,48,47,47,47,47,47,46,45,45,45,45,45,45,44,44,43,
09097 43,43,43,43,42,42,42,42,42,42,42,42,41,41,41,41,41,41,41,41,40,
09098 40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,38,38,38,38,
09099 37,37,37,36,35,35,35,35,35,35,35,35,35,35,35,35,34,34,34,34,34,
09100 34,34,33,33,33,33,33,32,32,32,32,32,32,32,32,32,31,31,31,31,30,
09101 30,30,30,29,29,29,28,28,28,28,28,28,28,28,27,27,27,27,27,27,27,
09102 26,26,26,25,25,25,24,24,24,24,24,24,24,23,23,23,23,23,23,23,23,
09103 23,23,22,22,22,22,22,22,21,21,21,20,20,20,20,20,20,20
09104 };
09105 const int n4c2w2_k[] = {
09106 120,
09107 500,
09108
09109 100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,
09110 98,98,98,98,98,97,97,97,97,97,97,96,96,96,96,96,96,96,96,96,96,
09111 95,95,95,95,95,94,94,94,94,94,94,94,94,93,93,93,93,92,92,92,92,
09112 92,92,92,91,91,91,91,91,91,91,91,91,90,89,89,89,89,89,89,88,88,
09113 88,88,88,88,87,87,87,87,87,87,86,86,86,86,86,86,85,85,85,85,85,
09114 84,84,84,84,83,83,83,83,83,83,83,83,82,82,82,82,82,82,82,81,81,
09115 81,81,81,80,80,80,80,80,80,80,79,79,79,79,79,78,78,78,78,77,77,
09116 77,77,77,77,77,77,77,77,76,76,76,75,75,75,75,75,75,75,74,74,74,
09117 74,74,74,74,74,73,73,73,73,72,72,72,72,72,71,71,71,71,71,71,71,
09118 71,71,70,70,70,70,70,70,69,69,69,69,69,68,68,68,68,68,68,67,67,
09119 67,67,67,66,66,66,66,66,66,66,65,65,65,65,65,65,65,65,65,65,65,
09120 65,64,64,64,64,64,64,64,63,63,63,63,62,62,62,62,62,62,62,62,61,
09121 61,61,61,60,60,60,60,60,60,60,59,59,59,59,59,58,58,58,58,58,57,
09122 56,56,56,56,55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,54,54,
09123 54,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,51,51,
09124 51,51,51,51,51,50,50,50,50,50,49,49,49,48,48,48,48,48,47,47,47,
09125 47,46,46,46,46,46,45,44,44,44,44,44,44,44,44,44,44,44,44,44,43,
09126 43,43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,41,40,40,40,40,
09127 39,39,39,39,39,39,39,38,38,38,38,38,38,38,38,38,37,37,37,37,37,
09128 37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,35,35,34,34,34,34,
09129 34,34,34,34,33,33,33,33,33,32,32,32,32,32,32,32,31,31,31,31,31,
09130 31,31,31,31,30,30,30,30,30,30,30,29,29,29,29,29,29,29,29,28,28,
09131 28,28,28,28,28,28,27,27,27,27,27,27,26,26,26,25,25,25,25,24,24,
09132 23,23,23,23,23,23,23,23,22,22,22,22,21,21,21,21,20,20,20,20
09133 };
09134 const int n4c2w2_l[] = {
09135 120,
09136 500,
09137
09138 100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,98,98,
09139 98,98,98,98,98,97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,96,
09140 95,95,95,95,95,94,94,94,94,93,93,93,93,93,92,92,92,92,92,91,91,
09141 91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,88,88,
09142 88,87,87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,85,85,85,85,
09143 85,85,85,85,85,84,84,84,84,84,84,84,84,84,84,84,84,83,83,83,83,
09144 83,82,82,82,82,81,81,81,81,81,80,79,79,79,79,79,79,79,79,79,78,
09145 78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,
09146 75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,
09147 73,73,73,73,72,72,72,72,72,72,72,71,71,71,71,71,71,71,71,70,70,
09148 69,69,69,69,69,68,68,68,67,67,67,67,67,66,66,66,66,66,65,65,65,
09149 65,65,65,65,64,64,64,64,64,64,64,63,63,63,63,63,63,63,62,62,62,
09150 61,61,61,61,61,60,60,60,60,60,60,59,59,59,59,59,59,59,59,59,58,
09151 58,58,58,58,57,57,57,57,57,57,56,56,56,55,55,55,55,55,54,54,54,
09152 54,54,53,53,53,53,53,53,53,53,53,53,53,52,52,52,52,51,51,50,50,
09153 50,50,50,50,50,50,50,49,49,49,48,48,48,48,48,48,47,47,47,47,47,
09154 47,47,47,46,46,45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,
09155 43,43,43,43,43,43,42,42,42,42,42,41,41,40,40,40,40,40,39,39,39,
09156 39,39,39,39,39,39,39,38,38,38,38,37,37,37,37,37,37,37,36,36,36,
09157 36,36,35,35,35,35,35,35,34,34,34,34,34,33,33,33,33,33,33,33,32,
09158 32,32,32,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,
09159 30,29,29,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,27,27,27,
09160 27,27,27,26,26,26,26,26,26,25,25,25,25,25,24,24,24,24,24,24,24,
09161 24,24,23,23,23,23,22,22,22,22,22,21,21,21,21,21,20,20,20
09162 };
09163 const int n4c2w2_m[] = {
09164 120,
09165 500,
09166
09167 100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,98,
09168 98,98,98,97,97,97,97,97,97,97,96,96,96,96,96,95,95,95,94,94,94,
09169 94,93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,
09170 91,91,91,91,90,90,90,90,90,90,89,88,88,88,88,87,87,87,87,87,87,
09171 87,87,86,86,86,86,86,86,86,86,86,85,85,85,85,84,84,84,84,84,83,
09172 83,83,83,83,83,82,82,82,82,82,82,82,82,82,82,82,81,81,81,81,81,
09173 81,81,81,80,80,80,80,79,79,79,79,78,78,78,78,78,78,78,77,77,77,
09174 77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,75,75,
09175 75,75,75,75,75,75,75,74,74,74,74,74,74,74,73,73,73,73,73,72,72,
09176 72,72,71,71,71,71,71,71,71,71,70,70,70,70,70,69,69,69,69,69,69,
09177 69,69,69,69,68,68,68,68,67,67,67,67,67,66,65,65,65,64,64,63,63,
09178 63,63,63,63,63,62,62,62,62,62,62,62,62,62,61,61,61,61,60,60,60,
09179 60,60,60,60,59,59,59,59,59,58,58,57,57,57,57,57,57,57,57,57,56,
09180 56,56,56,56,56,55,55,55,55,55,54,54,54,54,54,54,54,54,54,53,53,
09181 53,53,53,52,52,52,52,52,52,52,52,52,52,52,51,51,51,51,51,51,50,
09182 50,50,50,50,49,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,48,
09183 48,47,47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,45,45,45,45,
09184 45,44,44,44,44,44,44,44,44,43,43,43,43,43,43,43,42,42,42,42,41,
09185 41,41,41,41,41,41,41,40,40,40,40,40,39,39,39,39,39,38,38,37,37,
09186 37,37,37,37,37,36,36,36,35,35,35,35,35,35,35,34,34,34,34,34,34,
09187 34,34,33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,
09188 30,30,30,29,29,28,28,28,28,28,28,27,27,27,26,26,25,25,25,25,25,
09189 25,25,25,24,24,24,24,24,23,23,23,23,22,22,22,22,22,22,22,21,21,
09190 21,21,21,21,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20
09191 };
09192 const int n4c2w2_n[] = {
09193 120,
09194 500,
09195
09196 100,100,100,100,100,100,99,99,99,99,99,99,98,98,98,98,98,98,98,
09197 98,97,97,97,97,97,97,96,96,96,96,95,95,95,95,95,95,95,95,95,94,
09198 94,94,94,94,94,93,93,93,93,93,93,93,93,93,93,92,92,91,91,91,91,
09199 90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,89,89,89,88,88,88,
09200 88,88,88,88,87,87,87,87,87,87,87,86,86,86,86,86,86,84,84,84,84,
09201 84,84,84,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,
09202 80,80,80,80,80,80,80,80,80,80,80,79,79,79,79,79,79,78,78,78,78,
09203 78,78,78,78,77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,75,75,
09204 75,75,75,75,75,74,74,74,74,74,74,73,73,72,72,72,72,71,71,71,71,
09205 71,70,70,70,70,70,70,70,70,69,69,68,68,68,68,68,68,67,67,67,67,
09206 67,67,67,66,66,66,66,66,66,66,65,64,64,64,64,64,64,64,64,64,64,
09207 64,63,63,63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,61,61,61,
09208 61,61,60,60,60,60,60,59,59,59,59,59,59,58,58,58,58,58,57,57,57,
09209 57,57,57,57,56,56,56,56,56,56,56,56,56,56,56,56,56,55,55,55,55,
09210 55,55,55,54,54,54,54,53,52,52,52,52,52,52,52,52,51,51,51,51,51,
09211 51,51,51,51,51,50,50,50,50,50,49,49,49,49,49,49,49,48,48,48,48,
09212 48,48,48,48,48,47,47,47,47,46,46,46,46,46,46,46,46,46,46,46,45,
09213 45,45,45,44,44,44,44,44,44,44,43,43,43,43,42,42,42,42,42,41,41,
09214 41,41,41,41,41,40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,37,
09215 37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,36,36,35,35,
09216 35,35,35,35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,33,33,33,
09217 33,33,33,33,33,33,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30,
09218 30,29,29,29,29,29,29,29,28,28,28,27,27,27,27,27,27,26,26,26,25,
09219 25,24,24,24,23,23,22,22,22,22,21,21,21,21,20,20,20,20,20
09220 };
09221 const int n4c2w2_o[] = {
09222 120,
09223 500,
09224
09225 100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,
09226 98,98,98,97,97,97,97,97,97,96,96,96,96,96,95,95,95,95,95,95,94,
09227 94,94,94,94,94,94,94,93,93,93,93,93,92,92,92,92,92,91,91,91,91,
09228 90,90,90,90,90,89,89,89,89,89,89,88,88,88,88,87,87,87,86,86,86,
09229 86,86,86,86,86,85,85,85,85,85,85,84,84,84,84,84,83,83,83,83,83,
09230 83,83,83,83,82,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,
09231 80,80,79,79,79,79,79,78,78,78,78,78,78,78,77,77,77,77,77,77,76,
09232 76,76,76,76,75,75,75,75,75,75,75,75,75,74,74,74,74,73,73,73,73,
09233 73,73,73,72,72,72,72,72,72,72,72,72,71,71,70,70,70,70,70,70,70,
09234 70,70,70,69,69,69,69,69,69,68,68,68,68,67,67,67,67,67,67,66,66,
09235 66,66,66,66,66,66,66,65,65,65,65,65,65,65,65,65,65,65,64,64,64,
09236 64,64,63,63,63,63,62,62,62,62,62,62,61,61,61,61,60,60,60,60,60,
09237 60,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,58,57,57,57,57,
09238 57,56,56,56,56,56,56,55,55,55,55,54,54,54,54,54,54,53,53,53,53,
09239 52,52,52,52,52,51,51,51,51,51,51,51,51,50,50,50,50,49,49,49,49,
09240 49,48,48,48,48,48,48,48,48,47,47,47,47,47,46,46,45,45,45,44,44,
09241 44,44,44,44,43,43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,42,
09242 41,41,41,41,41,41,41,41,41,40,40,40,40,40,40,39,39,39,38,38,38,
09243 38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,37,36,36,36,36,36,
09244 35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,34,34,33,33,33,33,
09245 33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,31,31,31,31,30,
09246 30,30,30,30,30,30,30,30,29,29,29,29,28,28,28,28,28,28,27,27,27,
09247 27,27,27,26,26,26,26,26,25,25,25,25,25,25,25,25,25,25,25,24,24,
09248 23,23,23,23,23,23,22,22,22,22,22,21,21,21,21,21,21,21,21,20
09249 };
09250 const int n4c2w2_p[] = {
09251 120,
09252 500,
09253
09254 100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,98,98,
09255 98,98,97,97,97,97,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,
09256 94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,92,
09257 92,92,92,92,92,92,92,92,92,91,91,91,91,90,90,90,90,90,89,89,89,
09258 89,89,89,89,88,88,88,88,88,88,88,88,88,88,88,87,87,87,87,87,86,
09259 86,86,86,86,86,85,85,85,85,85,85,85,85,84,84,84,83,83,83,83,83,
09260 83,83,83,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,80,80,80,
09261 79,79,79,79,79,79,79,79,79,78,78,78,78,78,78,77,77,76,76,76,76,
09262 75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,72,72,72,72,72,72,
09263 72,72,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,69,69,69,69,
09264 69,68,68,68,68,68,68,67,67,67,67,67,67,67,67,67,67,66,66,66,66,
09265 66,66,65,65,65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,63,63,
09266 62,62,62,62,61,61,61,61,61,61,60,60,60,60,60,60,59,59,59,59,59,
09267 59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,56,56,56,56,56,56,
09268 55,55,55,55,54,54,54,54,54,54,53,53,53,53,53,53,53,53,53,53,53,
09269 52,52,51,51,51,51,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
09270 49,49,48,48,48,48,48,48,48,47,47,46,46,46,45,45,45,45,45,44,44,
09271 44,43,43,43,43,43,42,42,42,42,42,41,41,40,40,40,40,40,40,40,40,
09272 39,39,39,39,39,39,39,39,39,39,38,38,38,38,37,37,37,37,37,36,36,
09273 36,36,36,35,35,35,35,35,35,35,35,35,35,35,35,35,34,34,34,34,34,
09274 34,33,33,33,33,32,32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,
09275 29,29,29,29,28,28,28,28,27,27,27,27,27,27,27,27,26,26,26,25,25,
09276 25,25,25,24,24,24,24,24,24,24,24,23,23,23,23,23,23,23,23,22,22,
09277 22,22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,20,20,20
09278 };
09279 const int n4c2w2_q[] = {
09280 120,
09281 500,
09282
09283 100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,98,
09284 98,97,97,97,97,97,97,97,97,97,97,97,97,96,96,96,96,96,95,95,95,
09285 95,95,94,94,94,94,94,94,94,94,93,93,93,93,92,92,92,92,92,92,92,
09286 91,91,91,91,91,91,91,91,90,90,90,90,90,90,90,90,90,89,89,89,89,
09287 89,89,89,89,88,88,87,87,87,87,86,86,86,86,86,85,85,85,85,85,84,
09288 84,84,84,84,84,83,83,83,82,82,82,82,82,81,81,81,81,81,81,81,80,
09289 80,80,79,79,79,79,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,
09290 78,78,77,77,77,77,77,77,77,77,76,76,76,76,76,76,75,75,75,75,74,
09291 74,74,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,71,71,71,
09292 70,70,70,70,70,70,70,69,69,69,69,68,68,68,67,67,67,67,67,67,66,
09293 66,66,66,66,66,65,65,65,65,65,64,64,64,64,64,64,64,63,63,63,63,
09294 63,62,62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,60,60,60,
09295 59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,57,57,56,56,
09296 56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,53,53,53,53,53,53,
09297 53,52,52,52,52,52,52,52,51,51,51,51,51,51,51,51,50,50,50,50,50,
09298 50,50,50,49,49,49,49,49,49,49,48,48,48,48,47,47,47,47,47,47,46,
09299 46,46,46,46,46,46,45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,
09300 44,43,43,43,43,43,43,43,43,43,42,42,42,42,41,41,41,41,41,41,41,
09301 41,40,40,40,40,40,40,40,40,39,39,39,39,38,38,38,38,37,37,37,37,
09302 37,36,36,36,36,35,35,35,34,34,34,34,34,34,34,34,33,33,33,33,33,
09303 33,33,33,33,33,33,33,32,32,32,32,32,32,31,31,31,30,30,30,29,29,
09304 29,29,29,29,28,28,28,28,28,28,27,27,27,27,27,27,27,27,27,26,26,
09305 26,26,26,26,25,25,25,25,25,25,24,24,24,23,23,23,23,23,23,23,23,
09306 23,23,22,22,22,22,22,22,22,21,21,21,21,21,21,20,20,20,20
09307 };
09308 const int n4c2w2_r[] = {
09309 120,
09310 500,
09311
09312 100,100,100,100,99,99,99,99,98,98,98,98,98,98,98,98,97,97,97,
09313 97,97,97,97,97,97,97,96,96,95,95,95,95,95,95,95,94,94,94,94,94,
09314 94,94,94,94,94,93,93,92,92,92,92,92,91,91,91,90,90,90,90,90,90,
09315 89,89,89,89,89,89,89,89,89,89,89,88,88,87,87,86,86,86,86,86,86,
09316 86,86,86,86,85,85,85,84,84,84,84,84,84,84,84,84,84,84,84,84,83,
09317 83,83,83,83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,81,81,81,
09318 81,81,81,81,81,81,80,80,80,80,80,80,79,79,79,79,79,79,79,78,78,
09319 78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,76,76,75,75,75,74,
09320 74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,72,71,71,71,71,
09321 71,71,70,70,70,70,70,69,69,69,69,69,68,68,68,68,67,67,66,66,66,
09322 66,66,66,66,66,66,65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,
09323 64,64,64,64,63,63,63,63,63,63,63,62,62,62,62,62,62,62,62,62,61,
09324 61,61,60,60,60,60,60,59,59,59,59,58,58,58,58,58,58,58,58,57,57,
09325 57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,
09326 54,54,54,54,53,53,53,53,53,53,53,52,52,52,52,52,51,51,51,51,51,
09327 51,51,51,51,51,50,50,49,49,49,49,48,48,48,48,48,48,48,47,47,47,
09328 47,47,47,47,46,46,46,46,46,46,46,46,45,44,44,44,44,44,44,44,43,
09329 43,43,43,43,42,42,41,41,41,41,41,40,40,40,40,40,40,40,39,39,39,
09330 39,39,39,39,38,38,38,38,38,38,37,37,37,37,37,37,37,37,36,36,36,
09331 36,36,36,36,36,36,36,36,36,35,35,34,34,34,34,34,33,33,33,33,32,
09332 32,32,32,31,31,31,31,31,31,31,30,30,30,29,29,29,29,29,29,29,29,
09333 29,28,28,28,28,28,27,27,27,27,27,27,26,26,26,26,25,25,25,25,25,
09334 25,25,25,24,24,24,24,24,24,24,24,24,24,23,23,23,23,23,22,22,22,
09335 22,22,21,21,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20
09336 };
09337 const int n4c2w2_s[] = {
09338 120,
09339 500,
09340
09341 100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,97,97,97,97,
09342 97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,96,96,95,95,95,94,
09343 94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,92,92,92,92,
09344 91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,
09345 89,89,89,88,88,88,88,88,87,87,87,87,87,87,87,86,86,86,85,85,85,
09346 85,85,84,84,84,84,83,83,83,83,83,82,82,81,81,81,81,81,81,80,80,
09347 80,80,80,80,80,79,79,79,79,78,78,78,78,78,78,78,78,78,77,77,77,
09348 77,77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,75,75,
09349 75,75,75,74,74,74,74,74,74,74,74,74,74,74,73,73,73,72,72,72,72,
09350 72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,71,70,70,70,70,70,
09351 70,70,70,69,69,69,69,69,68,68,68,68,68,68,68,68,68,68,67,67,66,
09352 66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,63,63,
09353 63,63,63,63,63,63,62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,
09354 60,60,60,60,60,59,59,59,59,59,59,59,58,58,58,57,57,57,57,57,57,
09355 57,56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,54,54,53,53,
09356 52,52,52,52,52,51,51,51,51,51,50,50,50,50,50,50,50,49,49,49,49,
09357 49,48,48,48,48,47,47,47,47,47,47,46,46,46,45,45,45,45,45,45,45,
09358 45,45,44,44,44,44,44,43,43,43,43,43,43,43,43,42,42,41,41,41,41,
09359 41,41,41,41,41,40,40,39,39,39,39,38,38,38,38,38,38,37,37,37,37,
09360 37,37,37,36,36,36,36,36,36,36,36,36,36,36,35,35,35,35,35,35,34,
09361 34,34,34,34,34,33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,30,
09362 30,30,29,29,29,29,28,28,28,27,27,27,27,26,26,26,26,26,26,26,26,
09363 25,25,24,24,24,24,24,24,24,24,24,23,23,23,23,23,23,23,23,23,23,
09364 23,22,22,22,22,22,21,21,21,21,21,21,20,20,20,20,20,20,20
09365 };
09366 const int n4c2w2_t[] = {
09367 120,
09368 500,
09369
09370 100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,99,98,98,98,
09371 98,98,98,98,98,98,98,98,97,97,97,97,97,97,97,97,96,96,96,96,96,
09372 96,95,95,95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,92,92,
09373 92,92,92,92,91,91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,88,
09374 88,88,87,87,87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,85,85,
09375 85,85,85,84,84,84,84,83,83,83,83,83,83,82,82,82,82,82,82,82,82,
09376 82,82,82,82,81,81,81,81,81,81,81,81,81,80,80,80,80,80,80,80,80,
09377 80,80,79,79,79,78,78,78,78,77,77,77,77,77,76,76,76,76,75,75,75,
09378 75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,74,73,73,73,72,72,
09379 72,72,72,72,71,70,70,70,70,69,69,69,69,68,68,68,68,68,68,68,67,
09380 67,67,66,66,66,66,66,66,66,65,65,65,65,65,65,65,65,65,64,64,64,
09381 64,64,64,63,63,62,62,62,62,62,61,61,61,61,60,60,60,60,60,60,60,
09382 59,59,59,59,59,59,58,58,58,58,57,57,57,56,56,56,56,56,56,56,55,
09383 55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,53,53,52,52,52,52,
09384 52,52,52,52,51,51,51,51,51,51,51,50,50,50,50,49,49,48,48,48,48,
09385 48,48,48,48,48,48,47,47,47,47,47,47,46,46,46,46,46,46,46,46,45,
09386 45,45,45,45,45,45,44,44,44,44,44,44,43,43,43,42,42,42,42,42,41,
09387 41,41,41,41,40,40,40,40,40,39,39,39,38,38,38,38,38,37,37,37,37,
09388 37,37,37,36,36,36,36,36,36,35,35,35,35,35,34,34,34,34,34,34,34,
09389 34,34,34,33,33,33,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,
09390 32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,30,29,29,29,29,29,
09391 29,29,28,28,28,28,28,28,28,28,27,27,27,27,27,27,27,27,27,27,26,
09392 26,26,26,26,26,26,26,25,25,25,25,25,25,25,24,24,23,23,23,23,23,
09393 23,23,23,22,22,22,22,22,22,22,21,21,21,21,21,21,20,20,20
09394 };
09395 const int n4c2w4_a[] = {
09396 120,
09397 500,
09398
09399 100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,98,
09400 98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,97,97,96,96,96,96,
09401 96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,95,95,95,95,95,94,
09402 94,94,94,94,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,91,90,
09403 90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,88,88,88,88,88,88,
09404 88,87,87,87,87,87,87,87,87,87,87,87,87,86,86,85,85,85,85,85,85,
09405 84,84,84,84,84,83,83,83,83,83,83,82,82,82,81,81,81,81,81,81,81,
09406 81,80,80,79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,78,78,78,
09407 77,77,77,77,76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,75,75,
09408 75,74,74,74,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,72,
09409 72,72,71,71,71,71,71,71,71,71,71,70,70,70,70,70,69,69,69,69,68,
09410 68,68,68,68,68,68,68,68,68,68,68,68,67,67,67,67,67,66,66,66,66,
09411 66,66,66,66,66,65,65,65,65,65,65,65,65,64,64,63,63,63,63,63,63,
09412 63,63,63,62,62,62,62,62,61,61,61,61,61,60,60,60,60,60,59,59,59,
09413 59,59,59,59,59,58,58,58,58,58,58,57,57,57,57,57,57,57,56,56,56,
09414 56,56,55,55,55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,52,52,
09415 52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,50,50,50,50,50,
09416 50,49,49,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,47,
09417 47,47,47,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,44,43,
09418 43,43,43,43,43,43,43,43,42,42,41,41,41,41,40,40,40,40,40,40,40,
09419 40,40,40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,38,38,
09420 37,37,37,37,37,37,37,36,36,36,36,36,36,35,35,35,35,35,35,35,35,
09421 35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,
09422 33,33,33,33,33,32,32,32,32,32,32,31,31,31,31,30,30,30,30,30
09423 };
09424 const int n4c2w4_b[] = {
09425 120,
09426 500,
09427
09428 100,100,100,100,99,99,99,99,98,98,98,98,98,98,97,97,97,97,97,
09429 97,96,96,95,95,95,95,95,95,95,95,94,94,94,94,94,94,94,94,94,94,
09430 94,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,92,92,91,91,
09431 91,91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,88,
09432 88,88,87,87,87,87,86,86,86,86,85,85,85,84,84,84,84,83,83,83,83,
09433 82,82,82,82,82,82,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,
09434 80,80,80,80,79,79,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,
09435 77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,76,75,75,
09436 75,75,75,75,74,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,
09437 72,72,72,72,72,72,72,72,72,72,72,71,71,71,71,71,71,70,70,70,70,
09438 70,70,70,69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,68,68,
09439 67,67,67,67,67,67,66,66,66,65,65,65,65,64,64,63,63,63,63,63,63,
09440 63,62,62,62,62,62,61,61,61,61,61,61,61,61,60,60,60,60,60,60,60,
09441 59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,58,58,57,57,57,
09442 57,57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,54,54,
09443 54,54,54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,
09444 51,51,51,51,51,51,50,50,50,50,50,50,50,50,50,49,49,49,49,49,49,
09445 49,49,49,49,49,49,48,48,48,48,48,48,48,47,47,47,47,47,47,46,46,
09446 46,46,46,46,46,45,45,45,45,45,45,45,45,44,44,44,44,44,44,43,43,
09447 43,43,43,43,43,42,42,42,42,42,42,42,42,42,41,41,41,41,41,41,41,
09448 41,40,40,40,40,40,40,40,40,39,39,38,38,38,38,38,38,38,37,37,37,
09449 37,37,37,36,36,36,36,36,36,35,35,35,35,35,35,35,35,34,34,34,34,
09450 34,34,34,33,33,33,33,32,32,32,32,32,32,32,32,32,32,32,32,32,32,
09451 31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30,30
09452 };
09453 const int n4c2w4_c[] = {
09454 120,
09455 500,
09456
09457 100,100,100,100,100,100,99,99,99,98,98,97,97,97,97,97,96,96,95,
09458 95,95,95,95,95,95,95,95,95,94,94,94,94,94,93,93,93,93,93,92,92,
09459 92,92,92,92,92,92,92,92,91,91,91,91,90,90,90,90,89,89,89,89,89,
09460 89,89,88,88,88,88,88,88,88,88,88,88,88,88,87,87,87,86,86,86,86,
09461 86,86,86,86,86,86,86,86,86,85,85,85,85,84,84,84,84,84,84,84,83,
09462 83,83,83,83,83,83,83,83,83,82,82,82,82,82,82,81,81,81,81,81,81,
09463 80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,79,78,78,78,78,
09464 78,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,76,76,
09465 76,76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,75,75,75,75,75,
09466 75,75,74,74,74,74,74,74,74,73,73,73,73,73,73,73,73,73,73,72,72,
09467 72,72,72,72,72,71,71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,
09468 69,69,69,69,69,69,69,68,68,68,68,68,68,68,68,67,67,67,67,66,66,
09469 66,66,66,65,65,65,65,64,64,64,64,64,64,63,63,63,63,63,63,63,63,
09470 62,62,62,62,62,62,62,62,62,62,62,61,61,61,61,61,60,60,60,60,60,
09471 59,59,59,59,59,58,58,58,58,58,58,57,57,57,57,57,57,57,57,57,56,
09472 56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,55,54,54,54,54,54,
09473 54,53,53,53,53,53,52,52,52,52,52,52,52,52,52,52,52,52,52,51,51,
09474 51,50,50,50,50,50,50,50,49,49,49,49,49,49,49,49,48,48,48,48,48,
09475 48,48,48,48,48,48,47,47,47,47,46,46,46,46,46,46,45,45,45,45,45,
09476 45,45,45,45,45,44,44,44,44,44,44,44,43,43,43,43,43,43,42,42,42,
09477 42,41,41,41,41,41,41,41,40,40,40,40,40,40,39,39,39,39,39,39,39,
09478 38,38,38,38,38,38,38,38,37,37,37,37,37,36,36,36,36,36,35,35,35,
09479 34,34,34,34,34,34,34,34,33,33,33,33,32,32,32,32,32,32,32,31,31,
09480 31,31,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30
09481 };
09482 const int n4c2w4_d[] = {
09483 120,
09484 500,
09485
09486 100,100,99,99,99,99,99,99,98,98,98,98,98,98,98,98,98,98,97,97,
09487 97,97,97,97,96,96,96,96,96,96,96,95,95,94,94,94,94,94,94,94,93,
09488 93,93,93,92,92,92,92,92,92,91,91,91,91,91,91,91,91,90,90,90,90,
09489 90,90,90,89,89,89,89,89,89,89,89,89,89,89,89,89,88,88,88,88,87,
09490 87,87,87,87,87,87,87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,
09491 85,85,85,85,85,84,84,84,84,84,83,83,83,83,83,82,82,82,82,82,82,
09492 82,82,82,82,82,82,82,82,81,81,81,81,81,81,81,81,81,81,80,80,80,
09493 80,80,80,80,80,80,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,
09494 77,77,77,77,77,77,77,77,77,77,77,77,77,76,76,76,76,75,75,75,75,
09495 75,74,74,74,74,74,74,73,73,73,73,73,73,73,73,73,72,72,72,72,72,
09496 72,72,72,72,71,71,71,71,71,71,71,71,70,70,70,70,70,70,70,69,69,
09497 69,69,68,68,68,68,68,67,67,67,67,67,67,67,66,66,66,66,66,66,65,
09498 65,65,65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,
09499 63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,61,61,60,60,60,60,
09500 60,60,60,60,60,60,59,59,59,59,59,59,58,58,58,58,58,57,57,57,57,
09501 57,57,57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,54,54,54,
09502 54,54,54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,
09503 51,51,51,51,50,50,49,49,49,49,49,49,49,48,48,48,48,48,48,48,47,
09504 47,47,47,47,47,47,47,46,46,46,46,46,46,45,45,45,45,44,44,44,44,
09505 44,44,44,44,44,43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,42,
09506 41,41,41,41,41,41,41,41,41,41,41,41,40,40,40,40,39,39,39,39,39,
09507 39,39,39,38,38,38,38,38,37,37,37,37,37,37,36,36,36,36,36,36,36,
09508 35,35,35,35,34,34,34,34,34,34,34,34,33,33,33,33,33,33,33,33,32,
09509 32,32,32,32,31,31,31,31,31,31,31,31,31,31,31,30,30,30
09510 };
09511 const int n4c2w4_e[] = {
09512 120,
09513 500,
09514
09515 100,100,100,99,99,99,99,99,99,99,99,99,99,98,98,98,98,98,98,98,
09516 98,98,98,98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,97,96,96,
09517 96,96,96,96,96,95,95,95,95,95,94,94,94,93,93,93,93,93,93,92,92,
09518 92,92,92,92,92,91,91,91,91,91,91,90,90,90,90,89,89,89,89,89,89,
09519 89,89,88,88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,86,86,85,
09520 85,85,85,85,85,84,84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,
09521 83,83,82,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,
09522 80,80,79,79,79,79,79,79,78,78,78,78,78,78,78,78,77,77,77,77,77,
09523 77,77,76,76,76,76,76,76,76,76,76,76,75,75,75,75,75,75,74,74,74,
09524 74,74,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,70,69,69,69,
09525 69,69,69,69,68,68,68,68,67,67,67,67,67,67,67,67,67,66,66,66,66,
09526 66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,65,64,64,64,64,63,
09527 63,63,63,63,62,62,62,62,62,62,62,62,62,61,61,61,61,61,60,60,60,
09528 60,60,60,60,60,60,60,59,59,59,59,59,59,58,58,58,58,58,57,57,57,
09529 57,57,57,57,57,57,56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,
09530 55,55,55,54,54,54,54,54,54,54,54,54,54,54,53,53,53,53,53,53,53,
09531 53,53,52,52,52,52,52,52,52,52,52,52,51,51,51,51,51,51,51,51,50,
09532 50,50,50,50,50,50,50,49,49,49,49,49,49,48,48,47,47,47,47,46,46,
09533 46,46,46,46,46,46,46,46,46,45,45,45,45,45,45,45,45,45,44,44,44,
09534 44,44,43,43,43,43,43,42,42,42,42,42,42,42,41,41,41,41,40,40,40,
09535 40,40,40,40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,38,
09536 38,37,37,37,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,
09537 35,35,35,34,34,34,34,34,34,34,34,34,34,34,33,33,33,32,32,32,32,
09538 32,32,32,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30
09539 };
09540 const int n4c2w4_f[] = {
09541 120,
09542 500,
09543
09544 100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,98,98,98,
09545 98,98,98,98,98,98,97,97,97,97,97,97,97,97,96,96,96,96,96,96,95,
09546 95,95,95,95,95,95,95,94,94,94,94,94,94,94,94,93,93,93,93,93,93,
09547 93,92,92,92,92,92,92,92,91,91,91,91,91,90,90,90,90,90,90,90,89,
09548 89,89,89,89,88,88,88,88,88,88,88,88,88,88,88,87,87,87,87,87,87,
09549 86,86,86,86,86,85,85,85,85,85,85,85,85,85,84,84,84,84,84,84,83,
09550 83,83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,81,81,81,
09551 81,81,81,81,81,81,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,
09552 80,80,79,79,79,79,79,79,79,79,78,78,78,78,78,78,77,77,77,76,76,
09553 76,76,75,75,75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,73,72,
09554 72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,71,71,70,70,70,70,
09555 70,70,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,67,67,67,67,
09556 67,67,67,67,66,66,66,66,66,66,66,66,65,65,65,65,65,65,64,64,64,
09557 64,64,63,63,63,63,63,63,63,63,62,62,62,62,62,62,61,61,61,61,61,
09558 61,61,61,61,61,61,60,60,60,59,59,59,59,59,59,59,59,59,58,58,58,
09559 58,58,58,58,58,57,57,57,57,57,56,56,56,56,56,56,56,56,56,55,55,
09560 55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,53,
09561 53,52,52,52,52,52,52,52,52,52,52,52,51,51,51,51,51,50,50,50,50,
09562 50,50,50,50,50,50,49,49,48,48,48,48,48,48,48,47,47,47,46,46,46,
09563 46,46,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,43,
09564 43,43,43,43,43,43,43,42,42,42,41,41,41,41,41,41,41,40,40,40,40,
09565 40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,39,38,38,38,38,
09566 38,37,37,37,37,36,36,36,36,35,35,35,35,35,34,34,34,33,33,33,33,
09567 33,33,33,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30
09568 };
09569 const int n4c2w4_g[] = {
09570 120,
09571 500,
09572
09573 100,100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,
09574 99,99,99,99,98,98,98,97,97,97,97,97,97,97,97,97,97,96,96,96,96,
09575 96,96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,94,94,93,93,93,
09576 93,92,92,92,92,92,91,91,91,91,91,91,91,91,91,91,91,91,90,90,90,
09577 90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,89,89,89,88,88,
09578 88,88,88,87,87,87,87,87,86,86,86,86,85,85,85,85,85,85,85,85,85,
09579 84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,83,83,83,82,82,82,
09580 82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,79,79,79,79,79,79,
09581 79,78,78,78,78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,76,
09582 76,75,75,75,75,74,74,74,74,74,74,74,73,73,73,73,72,72,72,72,72,
09583 72,71,71,71,71,71,71,71,71,70,70,70,70,70,70,70,69,69,69,69,69,
09584 69,69,69,68,68,68,68,68,68,67,67,67,67,67,67,66,66,66,66,66,66,
09585 65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,63,63,62,
09586 62,62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,60,60,60,60,
09587 59,59,59,59,59,59,59,58,58,58,58,57,57,57,57,56,56,56,56,56,55,
09588 55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,52,
09589 52,52,52,52,52,52,51,51,51,51,51,51,51,50,50,50,50,50,50,50,49,
09590 49,49,49,49,48,48,48,48,48,48,48,47,47,47,47,47,47,46,46,46,46,
09591 45,45,45,45,44,44,44,44,44,43,43,43,43,43,43,42,42,42,42,42,42,
09592 42,42,42,42,42,41,41,41,41,41,41,41,41,41,40,40,40,40,40,40,40,
09593 39,39,39,39,39,38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,
09594 37,36,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,35,34,34,34,
09595 34,34,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,33,33,33,33,
09596 33,33,32,32,32,32,32,32,32,31,31,31,31,31,30,30,30,30,30,30,30
09597 };
09598 const int n4c2w4_h[] = {
09599 120,
09600 500,
09601
09602 100,100,100,100,100,100,99,99,99,98,98,98,98,98,98,98,97,97,97,
09603 97,97,97,97,97,97,97,97,97,97,97,96,96,96,96,96,95,95,95,95,95,
09604 94,94,94,94,94,94,94,93,93,93,92,92,92,92,92,91,91,91,91,91,90,
09605 90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,88,88,88,88,88,
09606 88,88,88,88,87,87,86,86,86,86,86,86,86,86,85,85,85,85,85,85,85,
09607 85,85,84,84,84,84,84,84,84,84,83,83,83,83,83,83,82,82,82,81,81,
09608 81,81,81,81,81,81,80,80,80,80,80,80,79,79,79,79,79,79,79,79,78,
09609 78,78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,
09610 76,76,76,75,75,75,75,75,75,75,75,75,75,75,75,75,74,74,74,74,74,
09611 74,74,73,73,73,73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,71,
09612 71,71,71,71,71,71,71,71,70,70,70,70,70,70,70,69,69,69,69,69,69,
09613 69,69,69,68,68,68,68,68,68,68,68,68,67,67,67,67,67,67,67,66,66,
09614 66,66,66,66,66,66,65,65,65,65,65,65,65,65,65,64,64,64,64,64,64,
09615 64,64,63,63,63,63,62,62,62,62,62,62,62,62,61,61,61,61,61,61,61,
09616 60,60,60,60,60,60,59,59,59,58,58,58,58,58,58,58,58,58,57,57,57,
09617 57,57,57,57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,
09618 54,54,54,53,53,53,53,53,52,52,52,52,52,52,52,52,51,51,51,51,51,
09619 51,51,51,51,51,50,50,50,50,50,50,50,50,50,50,49,49,49,49,49,49,
09620 49,49,49,49,48,48,48,48,48,48,47,47,47,47,47,47,47,47,47,47,46,
09621 46,46,46,46,45,45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,43,
09622 42,42,42,42,41,41,41,41,41,41,41,41,41,41,40,40,40,40,40,40,39,
09623 39,39,39,39,39,38,38,38,38,38,38,38,37,37,37,36,36,36,36,36,36,
09624 35,35,35,35,35,35,34,34,34,34,34,33,33,33,33,33,33,32,32,32,32,
09625 32,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30
09626 };
09627 const int n4c2w4_i[] = {
09628 120,
09629 500,
09630
09631 100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,
09632 98,98,98,98,98,97,97,97,97,97,97,97,97,97,97,97,97,96,96,96,96,
09633 96,96,95,95,95,95,95,95,95,95,95,94,94,94,93,93,93,93,93,93,93,
09634 93,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,91,90,90,90,90,
09635 89,89,89,89,89,89,89,89,89,88,88,88,88,87,87,87,87,87,86,86,86,
09636 86,86,86,86,86,86,86,85,85,85,85,85,85,84,84,84,84,84,84,83,83,
09637 83,83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,80,80,80,80,80,
09638 80,80,80,80,80,80,79,79,79,79,79,79,79,78,78,78,78,78,77,77,77,
09639 77,77,77,76,76,76,76,76,75,75,75,75,74,74,74,74,74,74,74,74,74,
09640 74,73,73,73,73,73,72,72,72,72,71,71,71,71,71,71,71,71,70,70,70,
09641 70,70,70,70,70,69,69,69,68,68,68,68,68,68,68,68,67,67,67,67,67,
09642 67,67,66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,
09643 64,63,63,63,63,63,63,63,62,62,62,62,62,62,62,62,62,62,62,62,61,
09644 61,61,61,61,61,61,61,61,61,60,60,60,60,60,60,60,60,60,60,59,59,
09645 59,59,59,59,58,58,58,58,58,58,58,58,58,58,58,58,58,57,57,57,57,
09646 57,57,57,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,54,54,
09647 54,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,51,51,51,
09648 51,50,50,50,50,49,49,49,49,49,49,49,49,48,48,48,48,47,47,47,47,
09649 47,47,47,47,47,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,44,
09650 44,43,43,43,43,43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,41,
09651 41,41,41,41,41,40,40,40,40,40,40,39,39,39,39,39,39,39,39,38,38,
09652 38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,37,37,36,36,36,36,
09653 35,35,35,35,35,35,34,34,34,34,33,33,33,33,33,33,33,33,32,32,32,
09654 32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30
09655 };
09656 const int n4c2w4_j[] = {
09657 120,
09658 500,
09659
09660 100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,98,98,
09661 97,97,97,97,97,97,97,97,97,97,97,97,96,96,96,96,96,96,95,95,95,
09662 95,95,94,94,94,94,94,94,94,94,94,94,94,94,94,93,93,93,93,93,93,
09663 93,93,93,93,92,92,92,92,92,92,92,91,91,91,91,91,91,91,91,91,90,
09664 90,90,90,90,90,90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,
09665 88,88,88,88,88,88,88,88,88,87,87,87,86,86,86,86,86,85,85,85,84,
09666 84,83,83,83,83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,81,81,
09667 80,80,80,80,80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,79,
09668 79,79,78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,
09669 76,76,76,75,75,75,75,75,75,75,74,74,74,74,73,73,72,72,72,72,72,
09670 72,71,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,69,69,69,69,
09671 69,69,69,68,68,68,68,68,68,68,68,67,67,67,67,67,67,67,66,66,66,
09672 66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,64,64,
09673 64,64,63,63,63,63,63,63,63,63,62,62,62,62,62,62,62,62,62,61,61,
09674 61,61,61,61,61,61,60,60,60,60,59,59,59,59,59,58,58,58,58,57,57,
09675 57,57,57,57,57,57,57,56,56,56,56,56,56,56,56,56,56,56,56,56,55,
09676 55,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,53,53,53,
09677 53,53,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,50,50,50,49,
09678 49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,47,47,46,46,46,
09679 46,46,46,46,46,45,45,45,44,44,44,44,44,44,44,44,44,44,43,43,43,
09680 43,43,42,42,42,42,42,42,42,42,41,41,41,41,41,41,41,41,41,41,40,
09681 40,40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,38,38,
09682 38,37,37,37,37,36,36,36,36,35,35,35,35,35,34,34,34,34,34,34,34,
09683 33,33,33,32,32,32,32,32,32,31,31,31,31,30,30,30,30,30,30
09684 };
09685 const int n4c2w4_k[] = {
09686 120,
09687 500,
09688
09689 100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,99,98,98,98,
09690 98,97,97,97,97,97,97,97,96,96,96,96,96,96,95,95,95,95,95,95,95,
09691 95,95,95,94,94,94,94,94,94,94,94,94,93,93,93,93,92,92,92,92,92,
09692 92,92,92,91,91,91,90,90,90,90,90,90,90,90,90,89,89,89,89,89,89,
09693 89,88,88,88,88,88,88,88,88,88,87,87,87,87,87,87,87,87,87,86,86,
09694 86,86,86,85,85,85,85,85,85,85,84,84,84,84,84,84,84,83,83,83,83,
09695 83,83,82,82,82,82,82,82,82,82,82,82,82,81,81,81,81,81,81,81,81,
09696 80,80,80,80,80,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,78,
09697 78,78,77,77,77,77,77,77,76,76,76,76,76,75,75,75,75,75,75,74,74,
09698 74,74,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,72,72,
09699 72,72,72,71,71,71,70,70,70,70,70,70,69,69,69,69,69,69,68,68,68,
09700 68,68,68,68,67,67,67,67,67,67,67,66,66,66,66,66,66,66,65,65,65,
09701 65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,62,62,62,62,62,61,
09702 61,61,60,60,60,60,60,60,59,59,59,59,59,59,58,58,58,58,58,58,58,
09703 58,57,57,57,57,57,57,57,57,57,57,56,56,56,56,56,56,55,55,55,55,
09704 55,55,55,54,54,54,54,54,54,54,54,54,54,54,54,53,53,53,53,53,53,
09705 53,53,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,50,50,50,
09706 50,50,49,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,47,47,47,
09707 47,46,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,43,43,
09708 43,42,42,42,42,42,42,42,42,41,41,41,41,41,40,40,40,40,40,40,40,
09709 40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,38,38,38,38,38,38,
09710 38,38,38,38,38,38,37,36,36,36,36,36,36,36,36,36,36,36,36,36,36,
09711 35,35,35,35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,33,33,32,
09712 32,32,32,32,32,32,32,31,31,30,30,30,30,30,30,30,30,30,30
09713 };
09714 const int n4c2w4_l[] = {
09715 120,
09716 500,
09717
09718 100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,
09719 99,99,99,98,98,98,98,98,98,98,98,98,98,98,98,98,98,97,97,97,97,
09720 97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,95,94,94,94,
09721 94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,
09722 92,91,91,91,91,91,91,91,91,90,90,90,90,90,90,90,89,89,89,88,88,
09723 88,88,88,88,88,88,87,87,87,87,87,87,87,87,87,86,86,86,86,86,85,
09724 85,85,85,85,84,84,84,84,83,83,83,83,83,83,83,82,82,82,81,81,81,
09725 81,81,81,81,80,80,80,80,80,80,79,79,79,79,79,79,79,79,78,78,78,
09726 78,78,78,78,78,77,77,77,77,77,76,76,76,76,75,75,75,75,75,75,75,
09727 74,74,74,74,74,74,74,74,74,74,73,73,73,73,72,72,72,72,72,72,72,
09728 72,72,71,71,71,71,71,71,71,71,71,70,70,70,70,69,69,69,69,69,69,
09729 69,69,68,68,68,68,68,68,68,68,68,68,68,68,68,68,67,67,67,67,67,
09730 67,67,67,67,66,66,66,66,66,66,66,66,66,66,65,65,65,65,65,65,64,
09731 64,64,64,64,64,63,63,63,63,63,62,62,62,62,61,61,61,61,60,60,60,
09732 60,60,59,59,59,59,59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,
09733 58,58,57,57,56,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,
09734 54,54,54,54,54,53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,
09735 51,51,51,51,51,50,50,49,49,49,49,49,49,49,49,48,48,48,48,48,48,
09736 47,47,47,47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,45,45,45,
09737 45,44,44,44,44,44,44,44,43,43,43,43,42,42,42,42,42,42,42,41,41,
09738 41,41,41,41,41,41,41,40,40,40,40,40,40,40,40,40,39,39,39,39,39,
09739 39,39,39,39,38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,37,
09740 36,36,36,36,36,36,36,35,35,35,35,34,34,34,34,34,34,33,33,33,33,
09741 33,33,33,33,33,33,33,33,32,31,31,31,31,31,30,30,30,30,30,30,30
09742 };
09743 const int n4c2w4_m[] = {
09744 120,
09745 500,
09746
09747 100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,
09748 98,98,98,98,97,97,97,97,97,97,97,97,96,96,96,96,96,95,95,95,95,
09749 95,94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,92,92,92,92,
09750 91,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,
09751 89,89,89,89,88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,86,86,
09752 86,86,86,85,85,85,85,85,85,85,85,84,84,84,84,84,84,84,84,84,84,
09753 84,84,83,83,83,83,83,83,82,82,82,81,81,81,81,81,81,81,80,80,80,
09754 80,80,80,79,79,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,78,
09755 78,78,78,78,77,77,77,77,76,76,76,76,76,76,75,75,75,75,75,75,75,
09756 75,75,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,72,72,
09757 71,71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,69,
09758 68,68,68,68,68,68,68,67,67,67,67,67,67,67,67,67,67,66,66,66,66,
09759 65,65,65,64,64,64,64,64,63,63,63,63,63,63,62,62,62,62,62,62,62,
09760 62,61,61,61,61,60,60,60,60,60,60,60,60,59,59,59,59,59,59,59,58,
09761 58,58,58,58,57,57,57,57,57,57,57,57,57,56,56,56,56,56,56,56,55,
09762 55,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,53,53,53,
09763 53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,
09764 50,50,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,46,46,46,
09765 46,46,46,45,45,45,45,45,45,44,44,44,44,44,44,44,44,44,44,44,43,
09766 43,43,43,43,43,43,43,43,43,42,42,42,42,42,42,41,41,41,41,40,40,
09767 40,39,39,39,39,39,39,39,39,38,38,38,38,38,38,38,38,37,37,37,37,
09768 37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,36,35,35,35,35,
09769 35,34,34,34,34,34,34,34,34,33,33,33,33,33,33,33,33,33,33,33,32,
09770 32,32,32,32,32,32,32,32,31,31,31,31,30,30,30,30,30,30,30,30
09771 };
09772 const int n4c2w4_n[] = {
09773 120,
09774 500,
09775
09776 100,100,100,100,100,100,100,99,99,99,99,99,98,98,97,97,97,97,
09777 97,97,97,96,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,
09778 95,95,94,94,94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,
09779 92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,91,91,91,91,91,91,
09780 91,90,90,90,90,90,89,89,89,89,89,89,89,89,89,89,88,88,88,87,87,
09781 87,87,86,86,86,86,85,85,85,85,84,84,84,84,84,84,84,84,84,84,84,
09782 84,84,84,84,83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,81,81,
09783 81,81,81,81,81,80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,
09784 79,79,78,78,78,78,78,78,78,78,78,77,77,77,77,76,76,76,76,76,76,
09785 76,75,75,75,75,75,75,74,74,74,74,74,74,74,74,73,73,73,73,73,73,
09786 72,72,72,72,72,72,72,72,72,72,71,71,71,71,70,70,70,69,69,69,69,
09787 69,69,69,69,69,69,69,69,68,68,68,68,68,68,67,67,67,67,67,67,67,
09788 67,67,67,67,66,66,66,66,66,66,65,65,65,65,64,64,64,64,64,64,64,
09789 64,63,63,63,63,63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,61,
09790 61,60,60,60,60,60,60,60,60,60,60,60,60,60,59,59,59,59,58,58,58,
09791 58,58,58,57,57,57,57,57,57,57,57,57,57,56,56,56,55,55,55,55,55,
09792 55,55,55,55,55,55,54,54,54,54,54,53,53,53,53,53,53,53,52,52,52,
09793 52,52,52,51,51,51,51,51,50,50,50,50,50,50,50,50,50,49,49,49,49,
09794 49,49,49,49,49,48,48,48,47,47,47,47,47,47,47,46,46,46,46,46,46,
09795 46,46,45,45,45,45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,
09796 44,43,43,43,43,42,42,42,41,41,41,41,41,41,41,41,41,41,41,40,40,
09797 40,40,40,40,39,39,39,39,39,39,39,39,39,39,38,38,38,38,38,37,37,
09798 37,37,37,36,36,36,36,36,36,36,35,35,34,34,34,34,34,33,33,33,33,
09799 33,33,32,32,32,32,32,32,32,31,31,31,31,31,31,31,31,31,30,30
09800 };
09801 const int n4c2w4_o[] = {
09802 120,
09803 500,
09804
09805 100,100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,98,98,98,
09806 98,97,97,97,97,97,96,96,96,96,95,95,95,95,95,95,95,95,94,94,94,
09807 94,94,94,94,94,93,93,93,93,93,92,92,92,92,92,92,92,92,92,92,92,
09808 92,91,91,91,91,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,89,
09809 89,88,88,88,88,88,88,88,88,88,88,88,87,87,87,87,87,87,86,86,86,
09810 86,86,86,86,86,86,86,86,86,86,85,85,85,85,85,85,85,84,84,84,84,
09811 84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,82,82,82,82,82,82,
09812 82,81,81,81,81,81,81,81,80,80,80,80,80,80,79,79,79,79,79,79,79,
09813 78,78,78,78,78,78,78,78,78,77,77,77,77,76,76,76,76,76,76,76,75,
09814 75,75,75,75,75,75,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,
09815 72,72,72,71,71,71,71,71,71,71,71,71,71,71,71,70,70,70,70,70,70,
09816 70,70,69,69,69,69,69,69,68,68,68,67,67,67,67,66,66,66,66,66,66,
09817 66,66,65,65,65,65,64,64,64,63,63,63,62,62,62,62,62,62,62,61,61,
09818 61,61,61,61,61,60,60,60,60,59,59,59,59,58,58,58,58,58,58,58,58,
09819 58,58,58,57,57,57,57,57,57,57,57,57,57,56,56,56,56,56,56,56,56,
09820 56,55,55,55,55,55,55,55,54,54,54,54,54,54,54,54,54,54,54,54,53,
09821 53,53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,
09822 50,50,50,50,50,49,49,49,49,49,48,48,47,47,47,47,47,47,47,47,47,
09823 47,46,46,46,46,46,46,45,45,45,45,45,45,44,44,44,44,44,44,44,44,
09824 43,43,43,43,43,43,43,43,43,42,42,42,42,42,42,42,41,41,41,41,41,
09825 41,41,41,41,41,40,40,40,40,39,39,39,39,39,39,39,39,39,39,38,38,
09826 38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,36,36,36,36,35,
09827 35,35,35,35,34,34,34,34,34,34,34,34,34,34,33,33,33,33,33,32,32,
09828 32,32,32,32,32,32,31,31,31,31,31,31,31,31,30,30,30,30,30
09829 };
09830 const int n4c2w4_p[] = {
09831 120,
09832 500,
09833
09834 100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,
09835 98,98,98,98,97,97,97,97,97,97,97,97,97,97,97,96,96,96,96,96,95,
09836 95,95,95,95,95,95,95,95,95,94,94,94,94,94,94,94,94,94,94,94,93,
09837 93,93,93,93,93,93,92,92,92,92,91,91,91,91,91,91,91,91,91,91,91,
09838 90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,88,88,88,88,88,88,
09839 88,88,88,87,87,87,87,87,87,87,87,87,87,86,86,86,86,86,85,85,85,
09840 85,85,85,85,85,84,84,84,84,84,84,84,83,83,83,83,83,83,82,82,82,
09841 82,82,82,82,82,82,82,81,81,81,81,81,81,81,81,81,81,81,80,80,80,
09842 80,80,79,79,79,79,79,79,79,78,78,78,78,78,78,78,77,77,77,77,77,
09843 76,76,75,75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,73,73,73,
09844 73,73,73,73,72,72,72,72,72,72,72,72,72,72,72,71,71,71,70,70,70,
09845 70,70,70,70,70,70,70,69,69,69,69,68,68,68,68,67,67,66,66,66,66,
09846 66,66,66,66,66,66,66,66,66,65,65,65,64,64,64,64,64,63,63,63,63,
09847 63,63,63,63,63,63,62,62,62,62,62,62,62,62,62,61,61,61,61,61,61,
09848 60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,58,58,58,58,58,58,
09849 57,57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,
09850 54,54,54,54,54,54,54,54,54,54,54,54,53,53,53,53,52,52,52,52,52,
09851 51,51,51,51,51,51,51,50,50,50,50,50,50,50,50,50,50,50,50,49,49,
09852 49,49,49,49,48,48,48,48,48,48,48,48,48,47,47,47,47,47,47,46,46,
09853 46,46,46,46,46,46,46,46,46,45,45,45,44,44,44,44,44,43,43,43,43,
09854 43,43,42,42,42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,40,39,
09855 39,39,39,39,39,39,38,38,38,38,38,38,37,37,37,37,37,37,36,36,36,
09856 36,36,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,33,33,
09857 33,32,32,32,32,32,32,32,32,32,32,32,32,31,31,31,31,30,30,30
09858 };
09859 const int n4c2w4_q[] = {
09860 120,
09861 500,
09862
09863 100,100,100,99,99,99,99,99,98,98,98,98,98,98,97,97,97,97,97,96,
09864 96,96,96,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,94,94,
09865 94,94,94,94,93,93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,91,
09866 91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,
09867 88,88,87,87,87,86,86,86,86,86,86,86,85,85,85,85,85,84,84,84,84,
09868 84,84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,
09869 83,83,82,82,82,82,82,82,82,82,82,82,82,82,82,82,81,81,81,81,81,
09870 81,81,81,81,81,80,80,80,80,80,80,80,80,80,80,80,79,79,79,79,79,
09871 79,79,79,79,78,78,78,78,77,77,77,77,77,76,76,76,76,75,75,75,75,
09872 75,75,75,75,75,74,73,73,73,73,73,73,73,73,73,72,72,72,72,71,71,
09873 71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,69,69,68,68,68,68,
09874 67,67,67,67,67,67,67,67,67,66,66,66,66,65,65,65,65,65,65,65,64,
09875 64,64,64,64,64,63,63,63,63,63,63,63,63,63,63,63,63,63,63,62,62,
09876 62,62,62,62,62,62,62,61,61,61,61,61,60,60,60,60,60,60,60,60,60,
09877 60,60,60,59,59,59,59,59,59,59,59,59,59,59,58,58,58,58,58,57,57,
09878 57,57,57,57,57,56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,54,
09879 53,53,53,53,53,53,53,53,53,53,52,52,52,52,51,51,51,51,51,51,51,
09880 51,50,50,50,50,50,50,50,50,50,50,49,49,49,49,49,49,49,48,48,48,
09881 47,47,47,47,46,46,46,46,46,46,45,45,45,45,45,44,44,43,43,43,43,
09882 43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,40,
09883 40,40,40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,38,38,38,37,
09884 37,37,37,37,37,36,36,36,36,36,36,36,35,35,35,35,35,35,34,34,34,
09885 34,34,33,33,33,33,32,32,32,32,32,32,32,32,32,32,32,31,31,31,31,
09886 31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30,30,30
09887 };
09888 const int n4c2w4_r[] = {
09889 120,
09890 500,
09891
09892 100,100,100,100,99,99,99,99,98,98,98,98,98,98,98,98,98,97,97,
09893 97,97,97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,96,95,95,95,
09894 95,95,95,95,95,95,95,95,95,94,94,94,94,93,93,93,93,93,93,93,92,
09895 92,92,92,92,91,91,91,91,91,91,91,91,91,90,90,90,90,90,90,90,89,
09896 89,89,89,88,88,88,88,88,87,87,87,87,87,86,86,86,86,86,86,86,85,
09897 85,85,85,84,84,84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,83,
09898 83,83,82,82,82,82,82,82,81,81,81,81,81,81,81,81,81,81,80,80,80,
09899 80,80,80,79,79,79,79,79,79,79,78,78,78,78,78,77,77,77,77,77,77,
09900 77,77,77,76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,
09901 74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,71,71,71,71,71,71,
09902 71,71,71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,
09903 69,68,68,68,68,67,67,67,67,67,67,67,67,66,66,66,66,66,66,66,66,
09904 66,65,65,65,65,65,65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,
09905 64,64,63,63,63,63,63,63,63,63,63,63,62,62,62,62,62,62,62,62,61,
09906 61,61,61,61,61,60,60,60,60,60,59,59,59,59,58,58,58,58,58,58,57,
09907 57,57,57,57,57,57,57,56,56,56,56,56,56,56,55,55,55,55,54,54,54,
09908 54,54,54,54,54,54,54,54,54,53,53,53,53,52,52,52,52,52,52,52,52,
09909 51,51,51,51,51,51,50,50,50,50,50,50,49,49,49,49,49,49,49,48,48,
09910 47,47,47,47,46,46,46,46,46,46,46,45,45,45,45,45,45,45,45,44,44,
09911 44,44,44,44,44,44,43,43,43,43,43,43,43,43,43,43,43,42,42,42,42,
09912 42,42,41,41,41,41,41,40,40,40,39,39,39,39,39,39,39,39,39,39,38,
09913 38,38,38,38,38,38,38,37,37,37,37,37,37,36,36,36,36,36,36,36,36,
09914 36,36,36,35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,33,33,
09915 33,33,33,33,33,32,32,32,32,32,32,32,32,32,31,31,31,30,30
09916 };
09917 const int n4c2w4_s[] = {
09918 120,
09919 500,
09920
09921 100,100,100,100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,
09922 98,98,97,97,97,97,96,96,96,95,95,95,95,95,95,95,95,95,95,95,94,
09923 94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,93,93,93,93,93,
09924 92,92,92,92,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,89,89,
09925 89,88,88,88,87,87,87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,
09926 85,85,85,85,85,85,85,85,85,85,85,84,84,84,84,84,83,83,83,83,83,
09927 83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,80,80,80,80,
09928 79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,78,77,77,77,
09929 77,76,76,76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,75,75,75,
09930 74,74,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,72,71,
09931 71,71,71,71,71,71,71,71,71,71,71,71,70,70,70,70,70,70,70,70,70,
09932 69,69,69,69,69,69,68,68,68,68,68,68,68,68,67,67,67,66,66,66,66,
09933 65,65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,
09934 63,62,62,62,62,62,62,62,61,61,61,61,61,61,61,61,60,60,60,60,60,
09935 60,59,59,59,59,59,59,59,59,58,58,58,58,58,58,57,57,57,57,57,57,
09936 57,57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,54,54,54,54,
09937 53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,51,51,51,50,50,50,
09938 50,50,50,50,50,50,50,50,50,50,50,50,49,49,49,49,49,49,49,49,48,
09939 48,48,48,48,48,48,48,47,47,47,47,47,47,46,46,46,46,46,45,45,45,
09940 45,45,44,44,44,44,44,44,43,43,43,43,43,43,43,43,42,42,42,42,42,
09941 42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,40,40,40,40,40,40,
09942 40,40,39,39,39,39,39,38,37,37,37,37,37,37,36,36,36,36,36,36,36,
09943 36,35,35,35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,33,32,32,
09944 32,32,32,32,32,32,32,32,31,31,31,31,30,30,30,30,30,30,30,30
09945 };
09946 const int n4c2w4_t[] = {
09947 120,
09948 500,
09949
09950 100,100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,97,97,
09951 96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,94,94,94,94,94,94,
09952 94,94,94,93,93,93,93,93,92,92,92,92,92,92,91,91,91,91,91,91,91,
09953 91,91,91,91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,89,
09954 88,88,88,88,88,88,88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,
09955 85,85,85,85,85,85,84,84,84,83,83,83,83,83,83,83,82,82,82,82,82,
09956 82,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,79,79,79,
09957 79,79,79,79,78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,77,77,
09958 77,77,76,76,76,76,76,75,75,75,75,75,75,74,74,74,74,74,74,74,74,
09959 73,73,73,73,73,73,73,73,73,72,72,72,72,72,72,72,71,71,71,71,71,
09960 71,71,71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,
09961 68,68,68,68,68,68,67,67,67,67,67,67,67,67,67,66,66,66,65,65,65,
09962 65,65,65,64,64,64,64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,
09963 63,63,62,62,62,62,62,62,62,61,61,61,60,60,60,60,59,59,59,59,59,
09964 59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,56,56,56,56,
09965 56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,54,53,53,53,53,53,
09966 53,53,53,52,52,52,52,52,52,52,51,51,51,51,51,51,51,50,50,50,50,
09967 50,49,49,49,49,49,49,48,48,48,48,48,48,48,48,47,47,47,47,46,46,
09968 46,46,46,46,46,46,46,46,45,45,45,45,45,45,45,45,45,44,44,44,44,
09969 44,43,43,43,43,43,43,43,42,42,42,42,42,42,42,41,41,41,41,41,41,
09970 40,40,40,40,40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,
09971 37,37,37,37,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,
09972 35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,
09973 31,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30
09974 };
09975 const int n4c3w1_a[] = {
09976 150,
09977 500,
09978
09979 100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,97,97,97,96,
09980 96,96,96,96,96,96,96,95,95,95,95,94,94,94,93,93,93,93,93,92,92,
09981 92,92,92,91,91,91,91,91,90,90,89,89,89,89,89,89,88,88,88,88,86,
09982 86,85,85,85,84,84,84,84,83,83,83,83,83,83,83,82,82,81,81,81,81,
09983 81,81,81,81,81,81,80,80,80,80,79,79,79,79,79,79,79,78,78,78,78,
09984 78,78,78,77,77,77,77,77,77,76,75,75,74,74,74,74,74,74,74,73,73,
09985 73,72,72,72,72,72,72,72,72,72,71,70,70,69,69,68,68,68,68,68,67,
09986 66,66,66,65,65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,63,
09987 63,63,62,62,62,62,62,62,61,61,61,60,60,60,60,60,60,60,59,59,59,
09988 59,59,59,59,59,59,59,59,58,58,58,57,57,57,57,56,56,56,56,56,56,
09989 56,55,55,55,54,54,54,54,54,54,54,54,54,53,53,53,52,52,52,52,51,
09990 51,51,51,50,50,50,49,49,49,48,48,48,48,48,48,48,48,48,48,48,48,
09991 47,47,47,47,47,46,46,46,46,45,45,45,45,45,45,45,45,44,44,44,44,
09992 44,43,43,43,43,43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,41,
09993 41,41,40,40,40,40,39,39,39,39,39,38,38,38,37,37,37,37,37,37,36,
09994 36,36,36,36,35,35,35,35,34,34,34,34,34,34,34,34,33,33,33,33,33,
09995 32,32,32,32,32,32,32,31,31,31,31,30,30,30,30,30,30,30,30,30,30,
09996 29,29,29,28,28,28,28,28,28,27,27,27,27,26,26,26,25,25,25,25,25,
09997 25,25,24,24,24,24,24,24,23,23,23,23,23,22,22,22,22,22,22,21,21,
09998 21,21,21,21,21,21,21,20,20,20,20,20,19,19,19,19,19,19,19,19,18,
09999 18,18,18,18,18,18,18,18,17,17,16,16,16,15,15,15,15,15,14,14,14,
10000 14,14,14,14,13,13,13,13,12,12,12,11,11,11,11,11,10,10,10,10,10,
10001 9,9,9,9,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,5,5,4,4,4,3,3,3,3,
10002 3,2,2,2,2,1,1,1,1
10003 };
10004 const int n4c3w1_b[] = {
10005 150,
10006 500,
10007
10008 100,100,100,100,100,100,100,100,100,100,100,100,100,99,99,99,
10009 99,99,99,99,98,98,98,97,97,97,97,96,96,96,95,95,95,95,95,95,94,
10010 93,93,93,92,92,92,92,92,91,91,91,91,91,91,90,89,89,88,87,87,87,
10011 87,87,86,86,86,86,86,85,85,85,85,84,84,84,84,84,84,83,83,83,82,
10012 82,82,82,82,81,81,81,81,81,80,80,80,80,80,80,80,80,80,79,79,79,
10013 79,78,78,78,77,77,77,76,76,76,75,75,75,75,75,75,74,74,73,73,73,
10014 73,72,72,72,72,72,71,71,70,69,69,69,69,69,68,68,68,68,68,68,68,
10015 68,68,67,67,67,66,65,65,65,65,65,65,64,64,64,64,64,63,63,63,63,
10016 62,62,61,61,61,61,61,60,60,60,60,60,60,60,60,60,59,59,59,59,59,
10017 59,59,58,58,58,58,58,58,58,58,57,57,57,57,56,56,56,56,55,55,55,
10018 55,55,55,55,54,54,54,54,54,54,53,53,53,53,53,52,52,52,52,52,52,
10019 52,52,52,52,51,51,51,51,51,51,51,51,50,50,50,50,50,50,50,49,49,
10020 49,49,49,49,49,48,48,48,48,48,48,47,47,47,47,47,47,46,46,46,45,
10021 45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,43,43,43,43,43,43,
10022 42,42,42,42,42,41,41,41,40,40,40,40,39,39,39,39,39,39,38,38,38,
10023 38,37,37,37,36,36,36,36,36,36,35,35,35,35,35,34,34,34,34,34,33,
10024 33,33,33,33,33,32,32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,
10025 30,30,29,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,27,27,27,
10026 26,26,26,26,26,25,25,25,25,24,24,24,24,24,23,23,23,23,23,23,23,
10027 22,22,22,22,22,22,22,22,22,22,22,21,21,21,21,20,20,20,20,19,19,
10028 18,18,18,18,18,18,17,17,17,17,17,17,16,16,16,16,16,15,15,15,15,
10029 15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13,13,12,12,12,11,
10030 10,10,9,9,9,9,9,9,9,8,7,7,7,6,6,6,6,5,5,5,5,5,5,4,4,4,3,3,3,3,
10031 3,3,3,3,3,2,2,2,1,1,1,1,1
10032 };
10033 const int n4c3w1_c[] = {
10034 150,
10035 500,
10036
10037 100,100,99,99,99,99,99,99,99,98,98,98,98,98,97,97,96,96,96,96,
10038 96,96,96,95,95,95,94,94,94,94,94,93,93,93,93,93,93,92,92,92,92,
10039 92,92,91,91,91,91,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,
10040 88,88,88,87,87,87,87,86,86,86,86,86,86,85,84,84,83,83,83,83,83,
10041 82,82,81,81,81,80,80,79,79,78,78,78,78,78,78,78,77,77,77,77,77,
10042 77,77,76,76,76,75,75,75,75,75,75,75,75,74,74,74,74,74,74,74,73,
10043 73,73,73,72,72,72,72,71,71,71,71,71,71,71,70,70,70,70,70,69,69,
10044 69,69,69,68,68,68,68,68,68,67,67,66,66,66,66,66,66,66,66,65,65,
10045 65,65,64,64,64,64,64,63,63,63,63,63,63,62,62,62,62,62,62,62,61,
10046 61,61,61,60,60,60,59,59,59,59,59,59,59,58,58,58,58,58,58,57,57,
10047 57,57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,54,53,53,53,53,
10048 53,53,53,53,53,53,52,52,52,52,51,51,51,51,51,50,50,50,50,49,49,
10049 49,49,49,48,48,48,48,48,48,48,48,47,47,47,47,46,46,46,45,45,45,
10050 45,45,45,45,45,45,44,44,44,44,44,44,44,43,43,43,42,42,42,42,42,
10051 42,42,41,40,40,40,39,39,39,39,39,38,38,38,38,38,37,37,37,37,37,
10052 37,37,37,37,37,36,36,36,36,36,36,36,36,36,35,35,34,34,34,34,34,
10053 33,33,33,33,33,32,32,32,32,32,32,32,32,31,31,31,31,31,30,30,30,
10054 30,29,29,29,29,29,28,27,27,27,27,27,27,27,26,25,25,25,25,25,25,
10055 25,24,24,24,24,24,24,23,23,23,22,22,22,22,22,22,21,21,21,21,21,
10056 20,20,19,19,19,19,19,19,19,19,19,19,19,19,19,18,18,18,17,17,17,
10057 16,16,15,15,15,15,15,15,15,15,14,14,14,14,14,14,14,13,13,13,13,
10058 13,13,13,12,12,12,12,12,12,12,11,11,11,11,11,10,10,10,10,9,9,
10059 8,8,8,8,7,7,7,6,6,6,6,5,5,5,5,5,5,5,4,4,4,4,4,3,3,3,3,3,3,3,2,
10060 2,2,2,2,2,1,1,1
10061 };
10062 const int n4c3w1_d[] = {
10063 150,
10064 500,
10065
10066 100,100,100,99,99,99,99,99,99,99,98,98,98,98,97,97,97,96,96,96,
10067 96,96,96,95,95,94,94,93,93,93,93,93,93,93,92,92,92,92,92,91,91,
10068 91,91,91,91,90,90,90,90,90,90,89,88,87,87,86,86,86,86,86,85,85,
10069 85,85,85,85,84,84,84,84,83,83,83,83,83,82,82,82,81,81,80,80,80,
10070 79,79,79,78,78,78,77,77,77,77,77,77,77,76,76,76,76,75,75,74,74,
10071 73,73,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,70,70,70,70,
10072 70,69,69,69,69,69,69,69,69,68,68,68,67,67,67,67,67,66,66,66,66,
10073 66,66,66,65,65,65,65,65,65,65,65,65,64,64,64,64,63,63,63,63,63,
10074 62,62,62,61,61,60,60,60,60,60,59,59,58,58,58,58,58,57,57,57,57,
10075 57,57,57,57,56,56,56,56,56,55,55,55,55,55,55,55,55,54,54,54,54,
10076 54,54,54,54,54,53,53,53,52,52,52,52,51,51,50,50,50,50,49,49,49,
10077 49,48,48,48,48,48,48,48,48,48,47,47,47,46,46,46,46,46,45,45,45,
10078 45,45,45,45,45,44,44,44,44,44,44,43,43,43,43,43,43,42,42,42,42,
10079 41,41,41,41,41,40,40,40,40,39,39,39,39,39,38,38,38,38,38,38,38,
10080 37,37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,34,34,34,34,34,
10081 34,33,33,32,32,32,32,31,31,31,30,30,30,30,30,30,30,30,30,30,30,
10082 30,30,29,29,29,29,29,29,28,28,28,28,28,28,28,27,27,27,27,27,27,
10083 27,26,26,26,26,26,26,26,25,25,25,25,25,25,25,25,25,24,24,24,24,
10084 24,23,23,23,23,23,23,22,22,21,21,21,21,21,21,20,20,20,20,20,20,
10085 20,19,19,19,19,18,18,17,17,17,17,17,17,17,17,16,16,16,15,15,15,
10086 15,14,14,14,14,14,14,14,13,13,13,13,12,12,12,12,12,12,11,11,11,
10087 11,11,11,11,11,11,11,10,10,10,10,10,10,9,9,9,9,9,9,8,8,8,8,8,
10088 8,7,7,7,7,7,6,6,6,6,5,5,5,5,5,5,4,4,4,4,4,4,4,3,3,2,2,2,2,2,2,
10089 2,2,2,1,1
10090 };
10091 const int n4c3w1_e[] = {
10092 150,
10093 500,
10094
10095 100,100,100,99,99,98,98,98,98,97,97,97,97,96,96,96,96,96,96,96,
10096 96,95,95,95,95,95,95,95,94,94,93,93,93,93,92,92,92,91,91,91,90,
10097 90,90,90,89,89,89,89,88,88,88,88,88,88,87,87,87,87,87,86,86,86,
10098 86,86,86,86,86,86,86,86,86,85,85,85,85,85,85,84,84,84,84,84,84,
10099 84,84,84,83,83,83,83,83,82,82,82,82,82,82,81,81,81,81,80,80,80,
10100 80,80,80,79,79,79,79,79,79,79,78,78,77,77,77,77,77,77,76,76,76,
10101 75,75,75,75,75,75,74,74,74,74,73,73,73,73,73,73,73,73,73,73,72,
10102 72,72,72,71,71,71,70,70,69,69,69,69,69,69,68,68,68,68,68,68,68,
10103 67,67,67,67,66,66,66,66,66,65,65,65,65,65,65,65,65,65,64,64,64,
10104 64,63,63,63,63,62,62,62,62,62,62,61,60,60,60,60,60,60,59,59,59,
10105 59,59,58,58,58,57,57,57,57,57,56,56,56,56,55,55,55,55,55,55,55,
10106 54,54,54,54,54,53,53,52,52,51,51,51,51,50,50,50,50,50,50,50,49,
10107 49,49,49,48,48,48,48,48,48,47,47,46,46,46,46,46,45,45,45,44,44,
10108 44,44,43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,41,41,41,40,
10109 40,40,40,40,39,39,39,39,38,38,38,37,37,37,37,37,37,36,36,36,35,
10110 35,35,34,34,34,34,34,34,34,33,33,33,33,33,33,33,33,32,32,32,32,
10111 31,31,31,31,31,31,30,30,30,30,30,30,30,29,29,29,29,28,28,28,27,
10112 27,27,27,26,26,26,26,26,26,26,25,25,25,24,24,23,23,23,23,23,23,
10113 23,23,22,22,22,21,21,21,21,21,21,20,20,20,19,19,19,19,19,19,19,
10114 19,19,18,18,18,18,17,17,17,16,16,16,16,16,16,15,15,15,15,15,14,
10115 14,14,14,14,13,13,13,13,13,12,12,12,12,12,12,12,12,12,11,11,11,
10116 11,11,11,11,11,10,10,10,9,9,9,9,9,8,8,8,8,8,8,7,7,7,7,7,7,6,6,
10117 6,6,6,6,5,5,5,5,5,4,4,4,4,4,4,4,4,4,3,3,3,3,2,2,2,2,2,1,1,1,1,
10118 1,1
10119 };
10120 const int n4c3w1_f[] = {
10121 150,
10122 500,
10123
10124 100,100,100,100,100,99,99,99,98,98,97,97,97,97,96,96,96,96,95,
10125 95,95,95,94,94,94,94,94,94,94,93,93,92,92,92,92,92,91,91,91,91,
10126 91,91,90,90,90,90,89,89,89,89,89,89,88,88,88,88,88,88,87,87,87,
10127 87,86,86,86,86,86,86,86,85,85,85,85,84,84,84,84,84,83,83,83,83,
10128 83,83,83,83,83,83,83,83,82,82,82,82,81,81,81,80,80,80,80,79,79,
10129 79,78,78,78,78,78,78,77,77,77,77,77,77,76,76,76,76,76,75,75,75,
10130 75,74,74,74,73,73,73,73,73,73,73,73,73,72,72,71,71,71,71,71,71,
10131 71,70,70,70,70,69,69,69,68,68,68,67,67,67,67,67,67,67,67,67,66,
10132 66,66,66,66,66,66,66,65,64,64,64,64,64,64,63,63,62,62,61,61,61,
10133 60,60,59,59,59,59,59,59,58,58,58,58,57,57,57,57,56,56,56,56,56,
10134 56,55,55,55,54,54,54,54,54,54,54,54,53,53,53,52,52,52,52,51,51,
10135 51,51,51,51,50,50,50,50,50,50,49,49,49,49,48,48,48,48,47,47,47,
10136 47,47,46,46,46,46,46,46,45,45,45,45,45,45,44,44,44,44,43,43,43,
10137 43,42,42,42,42,42,42,42,42,42,41,41,40,40,40,40,40,39,39,39,39,
10138 38,38,38,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,35,35,
10139 35,35,34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,31,31,31,
10140 31,30,30,30,30,30,30,30,30,30,30,29,29,29,29,29,28,28,28,28,28,
10141 27,27,27,26,26,26,26,26,25,25,25,25,25,25,25,25,25,24,24,24,24,
10142 24,24,24,24,24,24,24,24,24,23,23,23,23,23,22,22,22,22,22,22,22,
10143 22,21,21,21,21,21,21,20,20,20,20,20,20,20,20,19,19,19,19,18,18,
10144 18,18,18,18,18,18,17,17,17,17,17,16,16,15,14,14,14,14,14,14,14,
10145 13,13,13,13,12,11,11,9,9,9,9,9,9,9,9,8,8,8,8,8,7,7,7,7,7,6,6,
10146 6,5,5,5,5,5,5,5,5,5,4,4,4,4,3,3,3,3,3,3,3,2,2,2,2,2,2,2,2,2,1,
10147 1,1,1
10148 };
10149 const int n4c3w1_g[] = {
10150 150,
10151 500,
10152
10153 100,100,100,100,100,99,99,99,98,98,98,98,98,97,97,97,97,96,96,
10154 96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,94,94,94,93,93,93,
10155 93,93,93,93,93,93,92,92,92,92,92,92,91,91,91,91,91,91,90,90,90,
10156 89,89,89,88,87,87,87,87,87,86,86,86,86,86,85,85,85,84,84,84,84,
10157 83,83,83,83,83,83,83,82,82,82,82,81,81,81,81,81,81,81,80,80,80,
10158 80,80,80,80,80,79,79,79,79,79,79,78,78,78,78,78,78,77,77,77,77,
10159 77,76,76,76,75,75,75,75,75,75,75,74,74,73,73,73,72,72,72,72,72,
10160 71,71,71,71,71,71,71,71,70,70,70,69,69,69,69,68,68,68,68,68,68,
10161 67,67,67,67,67,66,66,65,65,65,65,65,65,65,64,64,64,64,64,64,63,
10162 63,63,63,63,63,62,62,61,61,61,61,61,61,61,60,60,60,60,59,59,59,
10163 58,58,57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,
10164 55,54,54,53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,51,51,
10165 50,50,49,49,49,49,49,49,49,49,48,48,48,48,48,48,48,48,47,47,47,
10166 47,47,47,47,47,47,47,47,46,46,46,46,45,45,45,45,45,44,44,44,44,
10167 44,44,43,43,43,42,42,42,42,41,41,41,41,41,41,40,39,39,39,39,38,
10168 38,38,38,38,38,38,38,38,37,37,37,37,37,37,36,36,36,36,36,36,35,
10169 34,34,33,33,33,33,33,33,32,32,32,32,31,30,30,29,29,29,29,29,28,
10170 28,28,28,27,27,27,27,27,26,26,26,26,26,26,26,26,26,26,25,25,25,
10171 25,25,25,25,24,24,24,24,24,23,23,23,23,23,23,23,22,22,22,21,21,
10172 21,21,21,21,21,21,21,20,20,20,20,20,20,19,19,19,18,18,18,18,18,
10173 18,17,17,17,16,16,16,16,15,15,15,15,14,14,14,14,13,13,13,13,12,
10174 12,12,12,12,11,11,11,11,10,10,9,9,9,9,9,8,8,8,8,8,7,7,7,7,7,7,
10175 6,6,6,6,5,5,5,5,5,5,5,4,4,4,4,4,4,4,4,4,3,3,3,3,2,2,2,2,1,1,1,
10176 1,1,1,1
10177 };
10178 const int n4c3w1_h[] = {
10179 150,
10180 500,
10181
10182 100,100,100,100,100,99,98,98,97,97,97,97,97,97,97,97,97,97,96,
10183 96,96,96,95,95,95,95,95,94,94,94,94,94,94,94,94,93,93,93,93,92,
10184 92,92,92,92,92,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,89,
10185 89,88,88,88,88,88,88,87,87,87,87,87,87,87,87,87,87,87,86,86,86,
10186 86,86,86,86,86,86,85,85,85,85,85,85,84,84,84,83,83,83,82,82,82,
10187 82,82,81,81,81,81,81,81,80,80,79,79,79,79,79,79,79,79,79,78,78,
10188 78,78,78,77,77,77,76,76,76,76,75,75,75,75,74,74,74,74,74,73,73,
10189 73,73,73,72,72,72,71,70,70,70,70,70,70,70,69,69,69,69,69,68,68,
10190 68,68,68,68,68,68,67,67,67,67,67,67,67,66,66,66,66,66,66,66,65,
10191 65,65,65,65,65,64,64,63,63,63,63,63,63,62,62,62,62,62,61,61,61,
10192 61,60,60,60,60,60,60,59,59,59,59,59,59,58,58,58,58,57,57,57,57,
10193 56,56,55,55,55,55,54,54,54,54,54,54,53,53,53,53,53,53,53,53,52,
10194 52,52,52,51,51,50,50,50,50,50,49,49,49,49,48,47,47,47,47,47,47,
10195 47,47,47,47,46,46,46,46,46,45,45,44,44,43,43,42,42,42,41,41,41,
10196 41,41,40,40,40,40,40,40,40,40,40,40,40,39,39,39,39,39,38,38,38,
10197 38,37,37,37,37,36,36,36,35,35,35,35,35,35,34,34,34,33,33,33,33,
10198 33,33,32,32,32,32,32,32,32,32,32,32,32,31,31,30,30,30,30,30,29,
10199 29,28,28,28,27,27,27,27,27,26,26,26,26,26,26,25,25,25,25,25,24,
10200 24,24,23,23,23,23,23,23,22,22,22,22,22,22,21,21,21,21,21,21,20,
10201 20,20,20,19,19,19,19,18,18,18,18,18,17,17,16,16,16,16,16,16,16,
10202 16,15,15,15,15,15,15,15,15,15,14,14,14,14,14,13,13,13,13,12,12,
10203 12,12,12,12,11,11,11,11,11,11,10,10,9,9,9,9,9,8,8,8,8,8,8,7,7,
10204 7,7,7,7,7,7,7,6,6,6,6,6,6,5,5,5,5,5,4,4,4,3,3,3,3,3,3,3,2,2,2,
10205 2,2,1,1,1
10206 };
10207 const int n4c3w1_i[] = {
10208 150,
10209 500,
10210
10211 100,100,100,100,99,99,99,99,99,99,99,99,98,97,97,96,96,96,96,
10212 96,96,95,95,94,94,94,94,93,93,93,92,92,92,92,92,91,91,90,90,90,
10213 90,90,90,89,89,89,89,89,88,88,88,88,88,87,87,87,87,86,86,86,86,
10214 86,86,85,85,85,85,85,85,85,84,84,84,83,83,83,82,82,82,82,81,81,
10215 81,81,81,81,81,81,80,80,80,80,80,80,80,79,79,79,79,79,79,78,78,
10216 78,78,78,78,78,78,77,77,77,77,77,77,77,77,77,76,76,75,75,75,75,
10217 74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,72,71,71,71,71,
10218 71,71,70,70,70,70,70,70,69,69,69,68,68,68,68,67,67,67,67,67,67,
10219 67,66,66,66,66,66,66,66,66,66,65,65,65,65,65,65,64,64,64,64,64,
10220 64,63,63,63,63,63,62,62,62,62,62,61,61,61,61,61,60,60,60,60,60,
10221 60,60,59,59,58,58,58,58,58,58,57,57,57,56,56,56,56,56,55,55,55,
10222 55,55,55,54,54,54,54,53,53,53,53,53,53,52,52,52,52,51,51,50,50,
10223 50,50,49,48,48,48,48,48,48,47,47,47,47,47,47,47,47,46,46,46,46,
10224 46,46,46,45,45,44,44,44,44,43,43,43,42,42,42,41,41,41,41,41,41,
10225 41,40,40,40,40,40,40,39,39,38,38,38,38,38,38,37,37,37,37,37,37,
10226 37,37,37,37,36,36,35,35,35,35,35,35,35,34,34,33,33,33,33,33,32,
10227 32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,30,29,29,29,29,
10228 29,29,29,29,29,28,28,27,27,27,27,27,27,26,26,26,26,26,26,26,26,
10229 26,25,25,25,25,25,25,24,24,24,24,24,24,24,24,23,23,23,23,22,22,
10230 22,22,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,19,19,19,19,
10231 19,18,18,18,18,18,17,17,16,16,16,16,16,16,16,15,15,15,15,14,14,
10232 14,14,14,13,13,13,13,12,12,12,12,12,12,12,12,11,11,11,11,11,11,
10233 10,10,10,10,10,9,8,8,8,8,8,8,8,7,6,6,6,5,5,5,5,5,5,4,4,4,4,4,
10234 4,3,3,3,2,2,2,1,1,1,1,1
10235 };
10236 const int n4c3w1_j[] = {
10237 150,
10238 500,
10239
10240 100,100,100,100,100,100,100,99,99,99,99,98,98,98,98,98,98,97,
10241 97,96,96,95,95,95,95,95,95,95,95,94,93,93,93,92,92,92,92,92,92,
10242 92,91,91,91,91,91,91,90,89,89,89,89,88,88,88,88,87,87,87,87,87,
10243 87,87,87,87,86,86,86,86,86,86,85,85,85,85,85,84,84,84,84,84,83,
10244 83,82,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,80,
10245 80,79,79,79,79,79,78,78,78,78,78,77,77,77,77,77,77,76,76,76,76,
10246 76,76,75,75,75,75,75,75,74,73,73,73,73,73,73,72,72,72,72,72,72,
10247 71,71,71,71,71,71,71,70,70,69,69,69,68,68,68,68,68,68,68,68,67,
10248 67,67,67,67,66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,
10249 63,63,62,62,62,62,62,62,61,61,61,61,61,61,60,60,59,59,59,59,59,
10250 59,59,59,58,58,58,58,58,58,58,58,58,57,57,56,56,56,56,56,55,55,
10251 55,55,55,55,55,55,54,54,53,53,53,53,53,53,52,52,52,52,52,52,52,
10252 51,51,51,51,51,51,50,50,50,50,50,49,49,49,49,49,49,48,48,48,48,
10253 48,47,47,47,47,47,47,47,46,46,46,46,46,46,45,45,45,45,45,44,44,
10254 44,44,44,44,43,43,42,42,42,42,42,42,42,41,41,41,41,40,40,40,40,
10255 40,40,40,40,39,39,39,39,39,39,38,38,38,38,37,37,37,37,37,36,36,
10256 36,36,36,36,35,35,35,35,35,35,34,34,34,34,34,33,33,33,33,33,32,
10257 32,32,31,30,30,30,30,30,30,29,29,29,28,28,28,28,27,27,26,26,25,
10258 25,25,25,24,24,24,24,23,23,23,23,23,23,23,22,22,22,22,22,22,21,
10259 21,21,20,20,20,20,20,19,19,19,19,19,18,18,18,17,17,17,17,17,17,
10260 17,17,16,16,16,16,16,16,15,15,14,14,14,14,14,14,14,13,13,13,13,
10261 13,12,12,12,11,11,10,10,10,10,10,10,9,9,9,9,9,9,8,8,8,8,8,8,8,
10262 8,7,7,7,7,7,7,7,6,6,5,5,5,4,4,4,4,4,3,3,3,3,3,2,2,2,2,2,2,2,2,
10263 2,2,2,1,1,1
10264 };
10265 const int n4c3w1_k[] = {
10266 150,
10267 500,
10268
10269 100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,
10270 98,97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,94,94,94,94,
10271 94,94,93,93,92,92,91,91,91,91,91,90,90,90,90,89,89,89,89,89,89,
10272 88,88,88,87,87,86,86,85,85,85,85,84,84,84,84,84,83,83,83,83,83,
10273 82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,80,80,79,79,79,79,
10274 79,78,78,78,78,78,78,78,77,77,77,77,77,77,76,76,76,76,76,76,76,
10275 75,75,75,75,74,74,74,74,74,74,73,73,73,72,72,72,72,72,72,72,71,
10276 71,70,70,70,70,70,70,69,69,69,69,68,68,68,68,68,67,67,67,67,67,
10277 67,67,66,66,66,66,66,66,66,65,65,65,64,64,64,64,63,63,63,63,63,
10278 63,63,63,62,62,62,62,60,59,59,59,59,59,59,59,59,58,58,58,58,56,
10279 56,56,56,55,55,55,54,53,53,53,53,52,52,52,52,52,52,51,51,51,51,
10280 51,51,51,50,50,50,49,49,49,48,48,48,48,48,48,48,47,47,47,47,47,
10281 47,47,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,43,43,43,
10282 43,43,42,42,42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,40,40,
10283 40,40,40,39,39,39,39,39,38,38,37,37,37,37,36,36,36,36,36,36,36,
10284 35,35,35,35,35,35,35,35,35,34,34,34,34,33,33,33,33,33,33,32,32,
10285 32,32,31,31,31,31,31,30,30,30,29,29,29,29,29,29,29,28,28,28,28,
10286 28,27,27,27,26,26,26,26,26,26,25,25,25,25,25,24,24,24,24,23,23,
10287 23,23,23,23,23,23,22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,
10288 20,19,19,19,19,19,18,18,18,18,18,18,18,18,18,18,18,17,17,17,17,
10289 17,17,16,16,15,15,14,14,14,14,14,14,14,14,13,13,13,13,13,13,12,
10290 12,12,12,11,11,11,10,10,10,10,9,9,9,9,9,9,9,8,8,8,8,7,7,7,7,7,
10291 7,7,7,6,6,6,6,6,5,5,5,4,4,4,4,3,3,3,3,3,3,3,3,2,2,2,2,2,2,2,2,
10292 1,1,1,1,1
10293 };
10294 const int n4c3w1_l[] = {
10295 150,
10296 500,
10297
10298 100,100,100,100,100,99,99,99,98,98,98,98,98,98,97,97,97,97,97,
10299 97,97,97,97,96,96,95,95,94,94,94,94,93,93,93,93,93,93,92,92,92,
10300 92,92,92,91,91,91,91,91,90,89,89,88,88,88,88,88,87,87,87,87,86,
10301 85,85,85,85,84,84,84,83,83,83,83,82,81,81,81,81,81,81,81,80,80,
10302 79,79,79,79,79,79,79,79,78,78,78,78,78,78,77,77,77,77,77,77,77,
10303 76,76,76,76,76,75,75,75,74,74,74,74,74,74,74,74,73,73,73,73,72,
10304 72,72,72,72,72,71,71,71,71,70,70,70,70,70,69,69,69,69,68,68,68,
10305 68,67,67,67,67,67,66,66,66,66,66,66,65,65,65,65,65,64,64,64,64,
10306 64,64,64,63,63,63,63,63,63,63,62,62,61,61,61,60,60,60,60,59,59,
10307 59,59,59,58,58,58,58,57,57,57,57,57,57,57,57,56,56,56,56,56,55,
10308 55,55,54,54,54,53,53,53,52,52,52,52,52,52,52,51,51,51,50,50,50,
10309 50,50,50,50,49,49,49,49,49,48,48,48,48,48,48,48,48,48,47,47,47,
10310 47,47,47,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,
10311 44,44,43,43,43,43,43,43,43,43,43,43,42,42,42,42,42,42,42,41,41,
10312 41,41,40,40,40,40,39,39,39,39,39,38,38,38,38,38,38,37,37,37,36,
10313 36,36,36,36,35,35,35,35,35,35,35,35,34,34,34,33,32,32,32,32,32,
10314 32,32,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30,30,29,29,29,
10315 29,28,28,28,28,28,28,28,28,27,27,27,27,26,26,26,26,26,26,26,26,
10316 26,26,25,25,25,25,25,25,25,24,24,24,23,23,23,23,23,23,23,23,23,
10317 22,22,22,22,22,21,21,21,21,21,21,21,21,20,20,20,19,19,18,18,18,
10318 17,17,17,17,16,16,16,15,15,14,14,14,14,14,14,13,13,13,13,13,13,
10319 13,12,12,11,11,11,11,11,11,11,11,11,10,10,10,10,10,10,9,9,9,8,
10320 8,8,8,8,8,7,7,7,7,7,7,7,6,6,6,5,5,5,5,4,4,4,4,4,4,4,4,4,3,3,3,
10321 3,2,2,2,2,1,1,1
10322 };
10323 const int n4c3w1_m[] = {
10324 150,
10325 500,
10326
10327 100,100,100,100,99,99,99,98,98,98,98,98,98,98,97,97,97,96,96,
10328 96,96,96,95,95,95,95,95,94,94,93,93,93,93,92,92,92,92,91,90,90,
10329 89,89,89,89,89,89,88,88,87,87,87,87,87,87,87,87,87,86,86,86,85,
10330 85,85,85,85,85,84,84,84,84,84,84,84,84,84,83,83,83,82,82,82,82,
10331 82,81,81,81,81,81,81,81,80,80,80,80,80,80,79,79,79,78,78,77,77,
10332 77,76,76,76,76,76,76,76,75,75,75,75,75,75,75,75,74,74,74,74,74,
10333 74,74,74,74,73,73,73,73,73,73,73,73,73,72,72,72,72,71,71,71,71,
10334 71,71,71,71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,
10335 68,68,68,68,68,68,67,67,67,67,67,67,67,66,66,66,66,66,66,65,65,
10336 65,64,64,64,64,64,63,62,62,62,62,61,61,60,60,60,60,60,60,59,59,
10337 59,59,59,58,58,58,58,58,57,57,56,56,56,55,55,55,55,54,54,54,54,
10338 54,54,54,54,54,54,53,53,53,53,53,52,51,51,51,51,51,50,50,50,50,
10339 50,50,49,49,49,49,49,49,49,48,48,48,47,47,47,47,47,46,46,45,45,
10340 45,45,45,45,45,45,44,44,44,44,43,43,43,43,43,42,42,42,42,42,42,
10341 42,41,41,41,41,41,41,41,41,41,40,40,40,40,39,39,39,38,38,38,38,
10342 37,37,37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,35,34,34,34,
10343 34,34,33,33,33,33,32,32,32,32,32,32,32,32,32,31,31,31,31,31,31,
10344 29,29,29,29,29,29,29,28,28,27,27,27,27,27,27,26,26,26,26,25,25,
10345 25,25,25,24,24,24,24,24,23,23,23,22,22,22,21,21,21,21,20,20,20,
10346 20,20,18,18,18,18,18,18,18,17,17,17,17,17,17,17,17,17,16,16,16,
10347 16,15,15,15,15,15,15,15,15,15,14,14,14,14,14,14,14,13,13,13,13,
10348 13,13,13,12,12,12,12,12,12,11,11,11,11,11,11,11,10,10,10,10,10,
10349 10,10,10,10,9,8,8,8,8,8,7,7,7,7,6,6,6,6,5,5,5,4,4,4,4,4,3,3,3,
10350 3,2,2,2,2,2,2,1,1,1,1
10351 };
10352 const int n4c3w1_n[] = {
10353 150,
10354 500,
10355
10356 100,100,100,100,99,99,99,99,98,98,98,98,98,98,98,98,98,97,97,
10357 97,97,97,97,97,97,96,96,96,96,96,95,95,95,95,95,95,95,94,94,94,
10358 94,94,94,94,94,93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,
10359 91,91,91,90,90,90,89,89,89,89,89,89,89,89,89,89,89,88,88,88,88,
10360 87,86,86,86,86,85,85,84,84,84,84,84,84,83,83,83,83,83,83,83,82,
10361 82,81,81,81,81,81,81,81,81,80,80,80,80,80,80,80,79,79,79,79,79,
10362 79,79,78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,75,75,75,
10363 75,74,74,74,74,73,73,73,73,72,72,72,71,71,71,71,71,71,71,71,71,
10364 71,71,70,70,70,69,69,69,69,69,69,69,68,68,67,67,67,67,67,67,67,
10365 67,67,66,66,66,65,65,65,65,64,64,64,64,64,64,64,64,64,63,63,63,
10366 63,63,63,63,62,62,61,61,61,60,60,60,60,59,59,59,59,59,59,59,58,
10367 58,58,58,58,58,58,58,58,57,57,57,57,57,57,57,56,56,56,55,55,54,
10368 54,54,54,54,54,53,53,53,52,52,52,52,52,51,51,51,51,51,51,51,51,
10369 51,51,50,50,50,50,50,49,49,49,48,48,48,47,46,46,46,46,45,45,45,
10370 45,44,44,44,44,44,43,43,43,43,43,43,42,41,41,41,41,41,41,41,40,
10371 40,40,40,39,39,39,39,38,38,38,38,38,38,37,37,37,37,37,37,35,35,
10372 35,34,34,34,33,33,33,33,32,32,32,32,32,32,32,32,31,31,31,31,31,
10373 30,30,30,30,30,30,30,30,29,29,29,29,29,29,28,28,28,27,27,27,26,
10374 26,26,26,26,26,26,26,26,25,25,25,25,25,25,24,24,24,23,23,23,23,
10375 23,23,22,22,22,21,21,21,20,20,19,19,19,19,19,19,18,18,18,18,18,
10376 18,18,17,17,17,17,17,16,15,15,15,15,14,14,14,14,14,14,13,13,13,
10377 13,13,12,12,11,11,11,10,10,10,10,10,9,9,9,9,9,8,8,8,8,8,7,7,7,
10378 7,7,7,7,6,6,6,5,5,5,5,5,5,4,4,4,4,3,3,3,3,3,3,3,3,3,2,2,2,2,2,
10379 2,2,1,1,1
10380 };
10381 const int n4c3w1_o[] = {
10382 150,
10383 500,
10384
10385 100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,98,98,
10386 98,97,97,97,97,97,97,96,96,95,95,95,95,95,95,95,95,94,94,94,94,
10387 94,94,93,92,92,92,92,91,91,91,91,91,91,91,91,91,90,90,90,90,90,
10388 90,90,89,89,89,89,89,89,89,88,88,88,88,87,87,87,87,87,87,86,86,
10389 86,86,85,84,84,84,84,83,83,83,82,82,82,82,82,82,82,82,82,82,82,
10390 81,81,81,81,81,81,81,81,80,80,80,80,80,80,79,79,78,78,77,77,77,
10391 77,77,76,76,76,75,75,75,75,75,74,74,74,74,74,73,73,72,72,72,72,
10392 71,71,70,70,70,70,70,70,69,69,69,69,68,68,68,68,67,67,67,67,66,
10393 66,66,66,66,66,65,65,65,65,64,64,64,64,64,64,64,64,64,64,63,63,
10394 63,63,63,62,62,62,62,62,62,61,61,61,60,60,60,60,60,60,59,59,59,
10395 58,58,58,58,58,57,57,57,57,57,57,56,56,56,56,56,56,56,56,56,55,
10396 55,55,55,55,54,54,54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,
10397 52,52,51,51,51,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,
10398 46,46,46,46,46,46,46,46,45,45,45,45,44,44,44,44,43,43,42,42,42,
10399 42,42,42,42,42,42,41,41,41,41,41,41,41,40,40,40,39,39,38,38,38,
10400 38,38,38,38,38,37,37,36,36,36,35,35,35,34,34,34,33,33,33,33,33,
10401 32,32,32,32,32,32,31,31,31,31,31,31,31,31,31,30,30,30,30,30,29,
10402 29,28,28,28,28,27,27,27,27,27,27,26,26,26,26,25,25,25,25,25,25,
10403 25,25,25,24,24,24,24,24,23,23,23,23,23,23,23,23,22,22,22,22,22,
10404 22,22,21,21,21,21,20,20,20,20,20,19,19,18,18,18,18,18,18,17,17,
10405 17,17,17,17,16,16,16,16,16,15,15,15,14,14,14,13,13,13,13,13,13,
10406 13,12,12,12,12,12,11,10,10,10,10,10,10,10,9,9,9,9,9,9,8,8,8,8,
10407 8,7,7,7,7,7,7,7,6,6,6,5,5,5,5,5,5,5,4,4,4,4,4,4,3,3,3,2,2,2,2,
10408 2,2,2,1,1,1,1,1
10409 };
10410 const int n4c3w1_p[] = {
10411 150,
10412 500,
10413
10414 100,100,100,99,99,99,98,98,98,98,97,97,97,97,97,97,97,97,96,96,
10415 96,96,96,96,95,95,95,95,94,94,94,94,94,94,94,94,94,93,93,93,93,
10416 93,93,93,93,92,91,91,91,91,90,90,89,89,89,89,89,89,88,88,87,86,
10417 86,86,86,86,85,85,85,85,85,85,85,84,84,84,84,84,84,84,83,83,82,
10418 82,82,82,82,81,80,80,79,79,79,79,79,79,79,79,79,78,78,78,78,78,
10419 78,77,77,77,77,77,76,76,76,76,76,76,75,75,75,75,74,74,74,74,74,
10420 74,74,74,74,74,74,74,74,74,73,73,73,73,72,72,72,72,72,72,72,72,
10421 72,72,72,71,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,69,69,
10422 69,68,68,68,68,68,68,67,67,67,66,66,66,66,65,65,65,65,65,65,65,
10423 64,64,64,64,63,63,63,63,63,63,62,62,62,61,61,61,61,61,60,60,59,
10424 59,59,59,59,59,59,58,58,58,58,58,57,57,56,56,56,56,54,54,54,54,
10425 54,54,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,51,51,50,
10426 50,50,50,49,49,48,48,48,48,48,48,48,47,47,47,46,46,46,46,46,46,
10427 46,46,45,45,45,45,45,44,44,44,44,44,44,44,44,44,44,43,43,43,43,
10428 43,43,42,42,41,41,41,41,41,41,41,40,40,40,40,39,39,38,38,38,38,
10429 37,37,37,37,36,36,36,36,36,35,35,35,35,35,35,34,34,34,34,34,33,
10430 33,33,33,32,32,32,32,32,31,31,31,30,29,29,29,29,29,29,28,28,28,
10431 28,28,27,27,27,27,26,26,26,26,26,26,26,26,25,25,25,25,24,24,24,
10432 24,24,23,23,23,23,23,23,22,22,22,22,22,22,21,21,21,20,20,20,20,
10433 20,19,19,18,18,18,17,17,17,17,17,16,16,16,16,16,16,16,16,16,15,
10434 14,14,14,14,14,14,14,13,13,13,13,13,12,12,12,12,12,12,12,11,11,
10435 11,11,11,11,11,10,10,10,10,10,10,10,10,9,9,9,9,9,8,8,8,8,8,7,
10436 7,6,6,6,6,5,5,5,5,5,4,4,4,4,4,4,4,4,3,3,3,3,2,2,2,2,2,2,2,2,1,
10437 1,1,1,1,1
10438 };
10439 const int n4c3w1_q[] = {
10440 150,
10441 500,
10442
10443 100,100,100,100,100,99,98,98,98,98,97,97,97,97,97,96,96,96,96,
10444 96,96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,
10445 93,92,92,92,92,92,92,92,91,91,90,90,90,90,90,89,89,89,89,89,89,
10446 89,88,87,87,87,87,87,86,86,86,86,86,86,86,85,85,85,85,85,85,84,
10447 84,84,84,84,84,84,83,83,83,83,83,83,83,83,83,82,82,81,81,81,81,
10448 81,80,80,80,80,79,79,79,79,78,78,78,78,78,78,77,77,77,77,77,76,
10449 76,76,76,76,76,76,76,76,75,75,74,74,74,74,73,73,73,72,72,72,72,
10450 72,72,71,71,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,69,68,
10451 68,68,68,68,67,67,67,67,67,67,67,67,67,66,66,66,66,66,66,66,66,
10452 66,66,66,66,65,65,65,65,65,64,64,64,64,64,64,64,64,64,64,63,63,
10453 62,62,62,62,62,62,61,61,61,61,60,60,60,60,60,59,59,59,58,58,58,
10454 58,58,58,58,58,57,57,57,56,56,56,56,56,56,56,56,56,55,55,55,54,
10455 54,54,54,53,53,53,53,53,53,53,53,52,52,51,51,51,51,51,51,51,50,
10456 50,50,50,49,49,49,49,48,48,48,48,48,47,47,46,46,46,46,45,45,44,
10457 44,44,44,43,43,43,43,43,42,42,42,42,42,42,42,42,41,41,41,41,41,
10458 41,41,40,40,40,40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,
10459 39,38,38,38,38,38,37,37,37,37,36,36,36,36,36,36,36,36,36,35,35,
10460 35,34,34,34,34,33,33,33,32,32,32,31,31,31,31,31,30,30,29,29,29,
10461 28,28,28,28,28,28,27,27,27,26,26,26,26,26,26,26,26,25,25,25,25,
10462 25,25,25,24,23,23,23,23,23,22,22,21,21,20,20,20,20,20,20,19,18,
10463 18,18,18,17,17,17,17,16,16,16,15,15,15,15,15,15,15,15,15,14,14,
10464 14,14,14,14,13,13,13,13,13,13,12,12,12,12,12,12,12,12,11,11,11,
10465 10,10,10,10,10,10,10,9,9,9,9,9,8,8,8,8,8,8,7,7,7,7,6,6,5,5,4,
10466 4,4,3,2,2,2,2,2,2,1,1,1,1
10467 };
10468 const int n4c3w1_r[] = {
10469 150,
10470 500,
10471
10472 100,100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,98,97,
10473 97,96,96,96,96,95,95,95,95,95,95,95,95,95,95,94,94,94,94,93,93,
10474 93,93,92,92,92,92,92,92,91,91,91,91,90,90,90,90,90,90,89,89,89,
10475 89,88,88,88,88,87,87,87,87,87,87,86,86,85,85,84,84,83,83,83,83,
10476 83,83,82,82,82,82,81,81,81,81,80,80,80,80,80,80,80,80,79,79,79,
10477 79,79,79,79,79,79,79,78,78,78,78,77,77,77,76,76,76,76,75,75,75,
10478 75,75,75,74,74,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,71,
10479 71,71,71,70,70,70,70,70,70,70,69,69,69,68,68,68,68,67,67,67,67,
10480 67,67,67,67,67,66,66,66,66,65,65,65,65,65,64,64,64,64,63,63,63,
10481 63,62,62,62,62,62,61,61,61,61,61,61,61,61,61,61,61,61,60,60,60,
10482 60,60,59,59,59,58,58,58,58,58,58,58,58,57,57,57,57,56,56,55,55,
10483 55,55,55,54,54,54,54,53,53,53,53,53,52,52,52,52,52,52,51,51,51,
10484 51,51,51,51,51,50,49,48,48,48,48,48,48,47,47,47,46,46,46,46,45,
10485 45,45,45,45,45,44,44,43,43,43,42,42,42,42,42,41,41,41,40,40,40,
10486 40,40,40,40,40,40,40,39,39,39,39,38,38,38,38,38,38,38,38,37,37,
10487 37,37,36,36,36,36,36,34,34,34,34,33,33,33,33,33,32,32,32,32,32,
10488 32,31,31,31,31,31,31,31,31,30,30,30,30,29,29,29,29,29,29,29,29,
10489 29,28,28,28,28,28,28,28,28,28,28,28,28,27,27,27,27,26,26,26,26,
10490 26,25,25,25,25,25,24,24,24,24,24,24,23,23,23,23,23,22,22,22,22,
10491 22,22,21,21,21,20,20,19,19,19,19,19,19,19,19,18,18,18,18,17,17,
10492 17,17,17,17,16,16,16,16,15,15,14,14,14,14,13,13,13,13,13,13,13,
10493 12,12,12,12,11,11,11,11,11,11,11,11,11,11,10,10,10,9,9,9,9,9,
10494 9,8,8,8,8,7,7,7,7,6,6,6,6,6,6,6,6,5,5,5,5,5,4,4,4,4,4,4,4,4,4,
10495 3,3,3,2,2,2,1,1,1
10496 };
10497 const int n4c3w1_s[] = {
10498 150,
10499 500,
10500
10501 100,100,99,99,99,99,99,98,98,98,98,98,98,97,97,97,97,96,96,96,
10502 96,96,96,95,95,95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,
10503 93,92,92,92,92,91,91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,
10504 89,89,88,88,87,87,87,86,86,86,86,86,86,85,85,85,85,85,85,85,84,
10505 84,84,84,83,83,83,82,82,82,82,81,81,80,80,80,80,80,80,79,79,78,
10506 78,78,78,78,78,78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,75,
10507 75,75,74,74,74,74,74,74,73,73,73,73,72,72,71,71,71,71,70,70,70,
10508 70,70,70,70,69,69,69,68,68,68,68,68,67,67,67,66,66,66,66,66,66,
10509 66,66,66,66,65,65,65,64,64,64,63,63,63,63,62,62,62,62,62,61,61,
10510 61,61,61,61,60,60,60,60,59,59,59,59,58,58,58,58,58,58,58,58,57,
10511 57,57,57,57,57,57,57,56,56,55,55,55,55,55,55,54,54,54,54,54,54,
10512 54,54,53,53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,51,51,50,
10513 50,50,50,50,50,50,50,49,49,49,49,49,49,49,49,49,48,48,48,48,48,
10514 47,47,47,47,47,46,46,46,46,46,45,45,45,45,45,45,45,45,44,44,43,
10515 43,43,43,42,42,42,41,40,40,39,39,39,39,39,38,38,38,38,37,37,37,
10516 37,36,36,36,36,36,35,35,35,34,34,34,34,34,33,33,33,33,33,33,33,
10517 32,32,32,32,32,32,32,32,31,31,31,30,30,30,30,30,29,29,29,29,29,
10518 29,29,29,29,29,28,28,27,27,27,27,27,26,26,26,26,26,26,25,25,25,
10519 25,25,25,25,25,24,24,24,24,24,24,24,24,23,23,23,23,23,22,22,22,
10520 22,22,22,21,21,21,21,21,21,20,20,20,20,20,19,19,19,18,18,18,18,
10521 18,18,17,17,17,16,15,15,15,15,14,14,14,14,13,13,13,13,13,13,12,
10522 12,12,12,12,12,11,11,11,11,11,11,11,11,10,10,10,10,10,10,10,10,
10523 9,9,9,9,9,8,8,8,7,7,7,7,6,5,5,5,5,4,4,4,4,4,4,4,3,3,3,3,3,3,2,
10524 2,2,2,2,1,1,1,1
10525 };
10526 const int n4c3w1_t[] = {
10527 150,
10528 500,
10529
10530 100,100,100,99,99,98,98,98,97,97,97,97,96,96,96,96,96,96,95,95,
10531 95,95,95,95,94,94,94,94,94,94,93,93,93,92,92,92,92,92,91,91,91,
10532 91,91,90,90,90,90,90,90,89,89,89,89,89,89,88,88,88,88,88,88,88,
10533 88,88,88,87,87,86,86,86,86,85,85,85,85,85,85,84,84,84,84,83,83,
10534 82,82,82,82,82,82,81,81,81,81,80,80,80,80,79,79,79,79,79,79,79,
10535 79,79,79,79,78,78,78,78,78,78,77,77,76,76,76,76,76,76,76,76,76,
10536 75,75,75,75,75,74,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,
10537 73,72,72,72,72,72,72,72,71,71,70,70,70,70,70,70,70,70,70,70,70,
10538 70,70,69,69,69,69,69,69,68,68,68,68,68,68,67,67,67,67,67,66,66,
10539 66,66,65,65,65,65,65,65,65,64,63,63,63,62,62,62,62,61,61,61,61,
10540 60,60,60,60,59,59,59,59,59,59,58,58,58,58,58,57,57,57,57,57,56,
10541 56,56,56,56,55,55,55,55,55,54,54,54,54,54,53,53,53,53,53,53,53,
10542 53,52,51,51,51,50,50,50,50,50,50,50,50,50,49,49,49,49,49,49,49,
10543 48,48,48,48,47,47,47,46,46,46,46,46,45,45,45,44,44,44,44,44,43,
10544 43,43,43,43,43,43,43,42,42,42,41,41,41,41,41,40,40,40,40,40,40,
10545 40,40,40,39,39,39,38,38,38,37,37,37,37,37,37,37,37,37,37,37,36,
10546 36,36,36,36,35,35,35,34,34,34,34,33,33,33,33,32,32,32,32,31,31,
10547 31,31,31,31,31,31,31,31,30,30,30,29,29,29,29,29,28,28,28,28,28,
10548 27,27,27,27,27,26,26,26,26,26,26,25,25,25,24,24,24,24,24,24,23,
10549 23,23,23,23,22,22,22,22,22,22,21,21,21,21,20,20,20,20,19,19,19,
10550 18,18,18,18,17,17,17,17,17,16,16,16,16,16,16,15,15,15,14,14,14,
10551 14,14,13,13,13,13,13,13,12,12,12,12,12,12,12,12,11,11,11,11,11,
10552 11,11,10,9,9,9,9,9,9,9,9,8,8,8,8,7,7,7,7,7,7,6,6,6,6,5,4,4,3,
10553 3,3,3,3,3,3,3,2,2,2
10554 };
10555 const int n4c3w2_a[] = {
10556 150,
10557 500,
10558
10559 100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,97,97,97,97,
10560 97,97,96,96,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,
10561 95,93,93,93,93,93,93,93,93,92,92,92,92,91,91,91,91,91,91,91,91,
10562 90,90,90,90,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,88,88,
10563 88,88,88,87,87,87,87,87,87,87,87,87,87,86,86,86,86,86,86,85,85,
10564 85,85,85,85,85,84,84,84,84,84,84,83,83,83,83,83,83,82,82,82,82,
10565 81,81,81,81,81,81,81,81,81,81,81,81,80,80,79,79,79,78,78,78,78,
10566 78,77,77,77,77,76,76,76,76,76,76,76,75,75,75,75,75,75,75,74,74,
10567 74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,
10568 71,71,71,71,71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,68,68,
10569 68,68,68,68,67,67,67,67,67,67,67,67,67,67,66,66,66,66,65,65,65,
10570 64,64,64,64,64,64,64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,
10571 62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,60,59,59,59,59,
10572 59,59,58,58,58,58,58,57,57,57,57,57,56,56,56,56,56,56,56,56,56,
10573 55,54,54,54,54,54,53,53,53,53,52,52,52,52,52,52,52,52,51,51,51,
10574 51,51,51,50,50,50,50,50,50,49,49,49,49,49,49,49,49,48,47,47,47,
10575 47,47,47,47,47,47,47,46,46,46,46,46,45,45,45,45,45,45,44,44,44,
10576 44,44,43,42,42,42,42,42,42,42,42,41,41,41,41,41,41,40,40,40,40,
10577 40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,38,37,37,37,37,
10578 37,37,37,37,37,37,36,36,36,36,36,35,35,35,35,35,34,34,34,34,34,
10579 34,34,33,33,33,33,33,33,33,32,32,32,32,32,31,31,31,31,31,31,30,
10580 30,30,30,29,29,29,29,29,28,28,28,28,28,27,27,27,27,27,26,26,26,
10581 25,25,25,25,25,25,24,24,24,24,24,24,24,24,23,23,23,23,23,23,23,
10582 23,22,22,22,22,22,22,22,21,21,21,21,21,21,21,21,21,20,20
10583 };
10584 const int n4c3w2_b[] = {
10585 150,
10586 500,
10587
10588 100,100,100,100,100,100,100,99,99,99,99,98,98,98,98,98,97,97,
10589 97,97,97,97,96,96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,94,
10590 94,94,93,93,93,93,93,92,92,92,92,92,92,92,91,91,91,91,91,91,91,
10591 91,90,90,89,89,89,89,89,89,89,89,89,89,89,88,88,88,88,88,87,87,
10592 87,86,86,86,86,86,86,86,85,85,85,85,85,85,84,84,84,84,83,83,83,
10593 83,83,83,83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,81,80,80,
10594 80,80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,78,78,78,78,78,
10595 78,78,78,77,77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,76,75,
10596 75,75,74,74,74,74,74,73,73,73,73,73,73,73,73,73,72,72,72,72,72,
10597 72,72,72,71,71,71,71,71,71,71,71,71,70,70,70,70,70,69,69,69,69,
10598 69,68,68,68,68,68,68,68,68,68,68,68,67,67,67,67,67,67,67,67,66,
10599 66,66,66,66,66,65,65,65,65,65,64,64,64,63,63,63,63,63,63,63,62,
10600 62,62,62,62,62,62,61,61,61,61,61,61,60,60,60,60,59,59,59,58,58,
10601 58,58,58,57,57,57,56,56,56,56,55,55,55,55,55,55,55,54,54,54,54,
10602 54,54,54,54,54,54,53,53,53,53,52,52,52,52,52,52,52,51,51,51,51,
10603 50,50,50,50,50,49,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,
10604 47,47,47,47,47,47,47,46,46,46,45,45,45,45,45,45,44,44,44,44,44,
10605 43,43,43,43,43,43,42,42,42,42,41,41,41,41,41,41,40,40,40,40,40,
10606 40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,37,37,37,37,37,
10607 37,36,36,36,36,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,35,
10608 34,34,34,34,33,33,33,33,33,33,32,32,32,32,32,32,32,32,32,32,31,
10609 31,31,31,31,31,30,30,30,30,30,30,30,30,29,29,29,29,29,29,28,28,
10610 28,28,28,28,28,28,26,26,26,26,26,26,26,25,25,25,24,24,24,24,23,
10611 23,23,23,22,22,22,22,22,22,21,21,21,21,21,20,20,20,20,20,20
10612 };
10613 const int n4c3w2_c[] = {
10614 150,
10615 500,
10616
10617 100,100,100,100,99,99,99,99,99,99,99,99,99,99,98,98,98,97,97,
10618 97,97,97,97,97,96,96,96,96,96,95,95,95,94,94,94,94,94,93,93,93,
10619 93,93,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,91,91,91,91,
10620 90,90,90,90,90,89,89,89,89,89,88,88,88,88,88,88,88,88,88,87,87,
10621 87,87,87,87,87,87,87,86,86,86,86,86,86,86,85,85,85,85,84,84,84,
10622 83,83,83,83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,80,80,80,
10623 80,79,79,79,79,79,79,79,78,78,78,78,78,77,77,77,77,77,77,77,77,
10624 77,76,76,76,76,76,76,75,75,75,75,75,75,74,74,74,74,74,74,73,73,
10625 73,73,72,72,72,72,72,71,71,71,71,71,71,71,71,70,70,70,70,70,70,
10626 70,70,70,70,70,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,68,
10627 68,68,68,68,68,67,67,67,67,66,66,66,65,65,64,64,64,64,64,64,63,
10628 63,63,63,63,63,63,63,62,62,62,62,62,62,62,61,61,61,60,60,60,60,
10629 60,60,60,60,60,60,59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,
10630 58,58,57,57,57,57,57,57,56,56,56,56,56,56,56,56,56,56,55,55,55,
10631 55,54,54,54,54,54,54,54,54,54,54,53,53,53,53,53,52,52,52,52,52,
10632 52,52,51,51,51,51,51,51,50,50,50,50,50,49,49,49,49,49,48,48,48,
10633 47,47,47,47,47,47,47,46,46,46,46,46,46,46,45,45,45,45,45,45,44,
10634 44,44,44,44,44,44,43,42,42,42,42,42,41,41,41,41,40,40,40,40,40,
10635 39,39,39,39,39,39,39,39,39,38,38,38,38,37,37,37,36,36,36,36,36,
10636 36,35,35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,32,
10637 32,32,32,32,32,32,31,31,31,31,31,31,31,31,30,30,29,29,29,29,29,
10638 29,28,28,28,28,28,28,27,27,27,27,27,27,26,26,26,26,26,26,26,26,
10639 26,26,26,25,25,25,25,25,24,24,24,24,24,24,24,23,23,23,23,23,22,
10640 22,22,22,22,22,22,21,21,21,21,21,21,21,21,20,20,20,20,20
10641 };
10642 const int n4c3w2_d[] = {
10643 150,
10644 500,
10645
10646 100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,98,97,97,97,
10647 97,97,97,97,96,96,96,95,95,95,95,95,95,95,94,94,94,94,94,94,93,
10648 93,93,93,93,93,93,93,93,92,92,92,92,91,91,91,91,91,90,90,90,90,
10649 90,90,90,89,89,89,89,89,89,89,88,88,88,88,88,88,88,87,87,87,87,
10650 87,87,87,87,86,86,86,86,86,85,85,85,85,84,84,84,84,84,83,83,83,
10651 83,83,82,82,81,81,80,80,80,80,80,80,80,80,80,79,79,79,79,79,79,
10652 79,79,78,78,78,78,78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,
10653 77,77,77,76,76,76,76,76,76,75,75,75,75,74,74,74,74,74,74,74,73,
10654 73,73,73,73,73,72,72,72,71,71,71,71,71,71,71,70,70,70,70,70,69,
10655 69,69,69,69,69,69,69,69,68,68,68,67,67,67,67,67,66,66,66,66,66,
10656 65,65,65,65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,63,63,63,
10657 63,63,63,62,62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,60,
10658 60,60,60,60,59,59,59,59,59,59,59,59,59,59,59,59,59,58,58,58,58,
10659 58,58,57,57,57,57,57,56,56,56,56,56,56,55,55,54,54,54,54,54,54,
10660 54,54,54,54,54,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,
10661 52,52,51,51,51,51,51,50,50,50,50,50,50,49,49,49,49,49,49,48,48,
10662 48,47,47,47,47,47,47,47,46,46,46,46,46,46,45,45,45,45,45,45,45,
10663 45,44,43,43,43,43,43,43,42,42,42,42,41,41,41,40,40,40,40,40,40,
10664 40,40,40,39,39,39,39,39,39,39,39,39,39,38,38,38,38,38,38,38,37,
10665 37,37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,34,34,34,34,34,
10666 34,34,34,34,34,34,34,34,33,33,33,32,32,32,32,32,32,31,31,30,30,
10667 30,30,30,30,30,29,29,29,29,29,29,29,29,29,28,28,28,28,28,27,27,
10668 27,27,27,27,27,27,26,26,26,26,25,25,25,24,24,24,23,22,22,22,22,
10669 22,22,22,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20
10670 };
10671 const int n4c3w2_e[] = {
10672 150,
10673 500,
10674
10675 100,100,100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,98,
10676 98,97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,96,96,95,95,95,
10677 95,94,94,94,94,94,94,93,93,93,93,93,92,92,92,92,91,91,91,91,91,
10678 91,90,90,90,90,90,90,90,90,90,90,90,89,89,89,89,89,89,88,88,88,
10679 88,87,87,87,87,87,86,86,85,85,85,85,85,85,85,84,84,84,84,84,84,
10680 83,83,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,82,82,82,82,
10681 82,81,81,81,81,80,80,80,80,80,79,79,79,79,79,79,79,79,78,78,78,
10682 78,78,77,77,77,77,77,77,76,76,76,76,76,75,75,75,75,74,74,74,74,
10683 74,74,74,74,74,74,73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,
10684 71,71,71,70,70,70,69,69,69,69,69,69,69,69,69,69,69,69,68,68,68,
10685 68,68,68,68,68,68,67,67,66,66,66,66,66,65,65,64,64,64,64,64,63,
10686 63,63,63,62,62,62,62,61,61,61,61,61,60,60,60,60,60,59,59,59,59,
10687 59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,56,56,56,56,56,56,
10688 56,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,53,53,52,52,
10689 52,52,51,51,50,50,50,49,49,49,49,49,49,49,49,48,48,48,48,48,48,
10690 48,48,47,47,47,47,47,46,46,46,46,46,46,46,46,45,45,45,45,45,45,
10691 45,45,45,44,44,44,44,44,44,43,43,43,43,43,43,43,43,43,43,43,42,
10692 42,42,42,42,42,41,41,41,41,41,40,40,40,40,40,40,39,39,39,39,39,
10693 38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,36,36,35,35,35,
10694 35,35,35,35,34,34,34,34,33,33,33,33,32,32,32,32,32,32,32,32,32,
10695 32,32,32,32,32,32,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,
10696 30,30,30,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,28,28,28,
10697 27,27,27,27,27,26,26,26,26,26,25,25,24,24,24,24,24,23,23,23,23,
10698 23,23,23,23,22,22,22,22,22,22,22,22,22,21,21,20,20,20,20,20
10699 };
10700 const int n4c3w2_f[] = {
10701 150,
10702 500,
10703
10704 100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,
10705 99,98,98,98,98,98,97,97,97,97,97,97,97,97,97,96,96,96,96,95,95,
10706 95,95,95,95,95,95,95,95,95,95,94,94,94,94,94,94,94,94,94,94,93,
10707 93,93,93,93,92,92,92,91,91,91,91,91,91,91,90,90,90,90,90,90,90,
10708 90,90,89,89,89,89,89,89,89,88,88,88,88,88,87,87,87,87,87,87,87,
10709 86,86,86,86,85,85,85,85,85,85,85,84,84,84,84,84,84,84,84,84,83,
10710 83,83,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,
10711 81,81,80,80,80,80,80,79,79,79,79,79,79,79,79,79,78,78,78,78,78,
10712 78,78,77,77,77,76,76,76,76,76,76,75,75,75,75,75,75,74,74,74,74,
10713 74,73,73,73,73,73,73,73,73,73,73,72,72,72,72,72,72,72,72,72,72,
10714 71,71,71,71,71,70,70,70,69,69,69,69,68,68,68,68,68,68,68,68,67,
10715 67,67,67,67,67,67,67,66,66,66,66,66,65,65,65,65,64,64,64,64,64,
10716 63,63,63,63,63,63,63,62,62,62,62,62,61,61,61,61,61,61,61,60,60,
10717 60,60,60,59,59,59,59,59,59,59,59,58,58,58,58,58,58,57,57,57,57,
10718 57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,54,54,
10719 54,54,53,53,52,52,52,52,52,52,52,51,51,51,51,51,50,50,49,49,49,
10720 49,49,49,48,48,48,48,48,48,48,48,48,48,47,47,47,47,47,47,47,46,
10721 46,46,46,46,46,46,45,45,45,45,45,45,45,45,44,44,44,44,44,44,43,
10722 43,43,43,43,43,43,42,42,42,42,42,42,42,41,41,41,41,41,41,41,40,
10723 40,40,39,39,39,38,38,38,38,38,38,38,37,37,37,37,37,37,37,36,35,
10724 35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,
10725 31,31,31,31,31,30,30,30,30,30,30,30,29,29,29,29,29,29,28,28,28,
10726 28,28,28,28,27,27,27,27,27,27,27,26,26,26,26,26,26,25,25,24,24,
10727 24,24,24,24,23,22,22,22,22,22,22,22,22,21,21,21,21,20,20,20,20
10728 };
10729 const int n4c3w2_g[] = {
10730 150,
10731 500,
10732
10733 100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,98,98,
10734 97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,95,95,94,94,94,
10735 94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,92,92,91,91,91,91,
10736 91,91,91,91,90,90,89,89,88,88,88,88,88,88,87,87,87,87,86,86,86,
10737 86,86,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,84,84,84,84,
10738 84,83,83,83,83,82,82,82,82,81,81,81,81,81,80,80,80,80,80,79,79,
10739 79,79,79,79,79,79,78,78,78,78,78,77,77,77,77,77,77,77,76,76,76,
10740 76,76,76,76,75,75,75,75,75,75,75,75,75,74,74,74,74,74,74,74,74,
10741 74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,71,70,
10742 70,70,70,70,70,70,70,69,69,69,69,69,68,68,68,68,68,68,67,67,67,
10743 67,67,67,67,66,66,66,66,66,66,65,65,65,65,65,65,64,64,64,63,63,
10744 63,63,62,62,62,62,61,61,61,61,61,61,61,61,61,60,60,60,59,59,59,
10745 59,59,58,58,58,58,58,57,57,57,57,57,57,57,57,57,56,56,56,56,56,
10746 56,56,56,56,56,56,56,55,55,55,54,54,54,54,54,54,54,53,53,53,53,
10747 53,53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,51,51,51,51,50,
10748 50,50,50,50,49,49,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,
10749 48,47,47,47,47,47,47,46,46,46,46,45,45,45,45,45,45,45,45,44,44,
10750 44,44,44,43,43,43,43,42,42,42,42,41,41,41,40,40,40,40,39,39,39,
10751 39,39,39,38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,36,36,36,
10752 36,36,36,36,36,35,35,35,35,35,35,34,34,34,34,34,33,33,33,33,33,
10753 33,33,33,33,33,33,32,32,32,32,32,32,32,32,31,31,31,31,31,31,31,
10754 31,30,30,30,30,30,30,29,29,29,29,29,28,28,28,28,27,27,27,27,27,
10755 27,27,27,27,27,27,26,26,26,26,26,25,24,24,24,24,24,24,24,23,23,
10756 23,23,23,22,22,22,22,22,22,22,21,21,21,21,21,21,21,20,20
10757 };
10758 const int n4c3w2_h[] = {
10759 150,
10760 500,
10761
10762 100,100,100,100,100,100,100,100,99,99,99,99,98,98,98,98,98,98,
10763 97,97,97,96,96,96,96,96,96,95,95,95,94,94,94,94,94,94,94,93,93,
10764 93,93,93,93,92,92,92,92,91,91,91,91,91,91,91,91,91,90,90,90,90,
10765 89,89,89,89,89,89,89,88,88,88,88,88,88,88,88,87,87,87,87,87,86,
10766 86,86,86,86,86,85,85,85,85,85,85,84,84,84,84,84,84,84,83,83,83,
10767 83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,81,81,81,80,
10768 80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,78,78,78,78,78,
10769 77,77,77,77,77,77,76,76,76,75,75,75,75,75,74,74,74,74,74,74,74,
10770 74,73,73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,71,71,71,71,
10771 71,71,70,70,70,70,70,70,70,69,69,69,68,68,68,68,68,68,68,67,67,
10772 67,67,67,67,67,66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,
10773 64,64,64,64,64,64,64,64,64,63,63,63,63,62,62,62,62,61,61,61,61,
10774 60,60,60,60,60,60,60,60,60,60,59,59,59,59,59,58,58,58,58,58,58,
10775 58,58,58,58,57,57,57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,
10776 54,54,54,53,53,52,52,52,52,52,52,52,52,51,51,51,51,51,50,50,50,
10777 50,50,49,49,49,49,49,49,49,48,48,48,48,48,48,48,48,47,47,47,47,
10778 47,47,46,46,46,46,46,46,45,45,45,45,45,45,45,45,45,45,45,44,44,
10779 44,44,43,43,43,43,43,43,42,41,41,41,41,41,41,41,41,40,40,40,40,
10780 40,40,40,40,40,40,40,39,39,39,38,38,38,37,37,37,37,37,37,37,36,
10781 36,36,36,35,35,35,35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,
10782 33,33,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,30,29,29,29,
10783 29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,28,28,28,27,27,27,
10784 27,27,26,26,26,26,26,26,25,25,25,25,25,25,25,25,25,24,24,24,23,
10785 23,23,23,23,23,23,22,22,22,22,22,22,21,21,21,21,21,20,20,20
10786 };
10787 const int n4c3w2_i[] = {
10788 150,
10789 500,
10790
10791 100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,
10792 98,98,98,98,97,97,97,97,97,96,96,96,96,95,95,95,95,95,94,94,94,
10793 94,94,93,93,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,91,90,
10794 90,90,90,90,89,89,89,89,89,89,88,88,88,87,87,87,87,87,87,87,86,
10795 86,86,86,85,85,85,85,84,84,84,84,83,83,83,83,83,83,83,83,83,82,
10796 82,82,82,81,81,81,81,81,81,81,80,80,80,80,80,80,80,80,80,79,79,
10797 79,79,79,79,79,79,79,78,78,78,77,77,77,77,77,76,76,76,76,76,75,
10798 75,75,75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,
10799 72,72,71,71,71,71,71,71,71,70,70,70,70,69,69,69,69,69,69,68,68,
10800 68,68,68,68,68,68,68,67,67,67,67,67,67,66,66,66,66,66,66,65,65,
10801 65,65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,63,63,63,63,62,
10802 62,62,62,62,62,61,61,61,61,61,61,60,60,60,60,60,60,60,60,60,60,
10803 59,59,59,59,59,58,58,58,58,58,58,57,57,57,57,57,56,56,56,56,56,
10804 56,56,56,56,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,
10805 52,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,50,50,49,49,
10806 49,49,49,48,48,48,48,48,48,48,47,47,47,47,46,46,46,46,46,46,46,
10807 45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,44,44,44,44,43,
10808 43,43,43,43,42,42,42,42,42,42,42,42,42,42,42,41,41,41,40,40,40,
10809 39,38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,36,36,36,36,
10810 36,36,35,35,35,34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,
10811 32,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30,30,29,
10812 29,29,29,29,29,29,28,28,28,28,28,28,27,27,27,27,27,27,27,27,26,
10813 26,26,26,26,26,26,26,25,25,25,25,25,25,25,24,24,24,24,24,24,24,
10814 24,24,24,23,23,23,23,22,22,21,21,21,21,21,21,21,21,20,20,20
10815 };
10816 const int n4c3w2_j[] = {
10817 150,
10818 500,
10819
10820 100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,
10821 98,98,98,98,98,98,98,98,98,97,97,97,97,97,96,96,96,96,96,95,95,
10822 95,95,95,94,94,94,94,93,93,93,93,93,92,92,92,92,91,91,91,91,91,
10823 91,91,90,90,90,90,90,90,90,90,90,90,89,89,89,89,88,88,88,88,88,
10824 88,88,88,88,87,87,87,87,86,86,86,86,86,86,86,86,85,85,84,84,84,
10825 84,84,84,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,82,82,81,
10826 81,81,81,80,80,80,80,80,80,79,79,78,78,78,78,78,78,78,78,78,78,
10827 78,77,77,77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,75,75,75,
10828 75,75,74,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,72,72,72,
10829 72,71,71,71,71,70,70,70,70,70,70,70,69,69,69,69,69,68,68,68,67,
10830 67,67,67,67,67,67,67,66,66,66,66,66,66,66,65,65,65,65,65,64,64,
10831 63,63,63,63,62,62,62,62,62,62,62,62,62,61,61,61,61,60,60,60,60,
10832 60,60,60,60,60,60,60,59,59,59,59,59,58,58,58,58,58,58,58,58,58,
10833 57,57,57,56,56,56,56,56,56,56,56,55,55,55,55,54,54,54,54,54,53,
10834 53,53,52,52,52,52,52,52,52,52,52,52,52,52,51,51,51,51,51,50,50,
10835 50,50,50,50,50,50,49,49,49,49,49,49,49,49,49,49,49,48,48,48,48,
10836 48,48,48,48,48,48,48,48,47,47,47,47,47,46,46,46,46,46,46,46,45,
10837 45,45,45,45,44,44,44,44,44,44,44,44,44,43,43,43,43,43,43,43,42,
10838 42,42,42,42,42,42,41,41,40,40,40,40,40,40,40,39,39,39,39,39,39,
10839 38,38,38,38,38,38,37,37,37,37,37,36,36,36,36,36,35,35,35,35,35,
10840 35,34,34,33,33,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,31,
10841 31,31,31,30,30,30,30,30,30,29,29,29,29,29,29,29,28,28,28,27,27,
10842 27,27,27,27,27,26,26,26,26,26,26,26,25,25,25,25,24,24,24,24,23,
10843 23,23,23,23,23,23,23,22,22,22,22,22,22,22,21,21,21,21,21,20
10844 };
10845 const int n4c3w2_k[] = {
10846 150,
10847 500,
10848
10849 100,100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,
10850 98,98,98,98,97,97,97,97,97,96,96,96,96,96,96,96,96,96,95,95,95,
10851 95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,
10852 92,92,92,92,92,92,92,92,92,91,91,91,91,91,91,91,91,91,90,90,90,
10853 90,90,89,89,89,89,89,88,88,88,88,88,88,88,88,88,87,87,87,87,87,
10854 87,86,86,85,85,85,85,84,84,84,84,84,84,84,83,83,83,83,83,82,82,
10855 82,82,82,82,82,81,81,81,81,80,80,80,79,79,79,79,79,78,78,78,78,
10856 78,78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,76,
10857 75,75,75,75,75,75,75,75,74,74,74,73,73,73,73,73,73,73,72,72,72,
10858 72,72,72,72,72,72,71,71,71,71,71,70,70,70,70,70,69,69,69,69,69,
10859 68,68,68,68,68,68,67,67,67,67,67,66,66,66,66,66,65,65,65,65,65,
10860 65,65,65,65,65,65,64,64,64,64,64,64,64,63,63,63,63,63,63,63,63,
10861 63,63,63,62,62,62,61,61,61,61,61,61,61,61,60,60,60,59,59,58,58,
10862 58,58,58,57,57,57,57,57,57,57,57,56,56,56,56,56,56,55,55,55,55,
10863 54,54,54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,52,52,51,51,
10864 51,51,51,50,50,50,50,50,49,49,49,49,48,48,48,48,48,47,47,46,46,
10865 46,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,43,43,43,43,
10866 43,43,43,42,42,42,42,41,41,41,41,41,41,41,41,41,41,40,40,40,40,
10867 40,40,40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,38,38,37,37,
10868 37,37,37,37,37,36,35,35,35,35,35,35,35,35,35,34,34,34,34,34,34,
10869 33,33,33,33,33,32,32,32,32,32,32,32,32,31,31,31,30,30,30,30,29,
10870 29,29,29,29,29,29,28,28,28,28,28,27,27,27,27,27,27,26,26,26,26,
10871 25,25,25,25,25,25,25,25,24,24,24,24,24,24,24,24,24,24,24,24,24,
10872 23,23,23,22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,20,20
10873 };
10874 const int n4c3w2_l[] = {
10875 150,
10876 500,
10877
10878 100,100,100,100,100,100,100,99,99,99,99,99,99,98,98,98,98,98,
10879 98,98,98,97,97,97,97,97,97,97,97,96,96,96,95,95,94,94,94,94,94,
10880 94,94,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,91,91,91,
10881 91,91,91,91,91,90,90,90,90,90,90,90,89,89,89,89,89,89,88,88,88,
10882 88,88,88,88,88,87,87,87,87,86,86,86,86,86,86,86,86,86,85,85,85,
10883 85,85,85,85,84,84,84,84,84,84,84,84,83,83,83,83,83,83,83,83,83,
10884 82,82,81,81,81,81,81,81,81,80,80,80,80,80,79,79,79,79,79,79,79,
10885 79,79,79,78,78,78,78,78,78,78,77,77,76,76,76,76,75,75,75,75,75,
10886 75,75,74,74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,72,71,
10887 71,71,71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,
10888 68,68,68,68,68,68,67,67,67,66,66,66,66,66,66,65,65,65,65,65,64,
10889 64,64,64,64,64,63,63,63,63,63,63,62,62,62,62,62,62,62,61,61,61,
10890 61,61,60,60,60,60,60,60,59,59,59,59,59,59,59,59,58,58,58,58,58,
10891 57,57,57,57,57,56,56,56,56,56,56,56,56,56,56,55,55,55,55,55,55,
10892 55,54,54,53,53,53,53,52,52,52,51,51,51,50,50,50,50,50,49,49,49,
10893 49,48,48,48,48,48,48,48,48,47,47,47,47,47,47,46,46,46,45,45,45,
10894 45,45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,42,42,42,42,42,
10895 42,42,42,41,41,41,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,
10896 38,38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,36,36,36,
10897 36,35,35,35,35,35,35,35,35,34,34,34,34,33,33,33,33,33,33,33,33,
10898 33,33,33,33,32,32,32,32,32,32,32,32,31,31,30,30,30,29,29,29,28,
10899 28,28,28,28,28,28,27,27,27,26,26,26,26,26,25,25,25,25,25,25,25,
10900 25,25,25,25,25,24,24,24,24,24,24,24,24,24,24,23,23,23,23,23,23,
10901 23,23,23,23,22,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20
10902 };
10903 const int n4c3w2_m[] = {
10904 150,
10905 500,
10906
10907 100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,98,
10908 98,98,98,98,97,97,97,97,97,97,97,97,96,96,96,96,95,95,95,94,94,
10909 94,94,93,93,93,93,93,93,93,93,92,92,92,91,91,91,91,91,91,91,91,
10910 91,91,91,90,90,90,90,90,89,89,89,88,88,88,88,88,88,87,87,87,87,
10911 87,87,87,86,86,86,85,85,85,85,85,85,84,84,84,84,84,84,84,83,83,
10912 83,83,83,83,82,82,82,82,82,82,81,81,81,81,81,80,80,80,80,80,80,
10913 79,79,79,79,79,79,79,78,78,78,78,78,78,77,77,77,77,77,77,77,77,
10914 77,76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,74,73,
10915 73,73,73,73,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,70,70,
10916 70,70,70,69,69,69,69,69,68,68,68,68,67,67,67,67,67,66,66,66,66,
10917 66,66,65,65,65,65,65,64,64,64,64,64,63,63,63,63,63,62,62,62,62,
10918 62,62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,60,60,59,59,
10919 59,59,59,59,59,58,58,58,58,57,57,57,57,57,57,56,56,56,56,56,56,
10920 56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,53,53,
10921 53,53,53,53,53,53,53,52,52,52,52,51,51,50,50,50,50,50,50,50,50,
10922 50,50,49,49,49,49,48,48,48,48,48,48,48,48,48,47,46,46,46,46,46,
10923 45,45,45,45,45,44,44,44,44,44,43,43,43,43,42,42,42,42,42,41,41,
10924 41,41,41,41,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,39,39,
10925 39,38,38,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,35,35,35,
10926 35,34,34,34,33,33,33,33,33,33,33,33,33,33,32,32,32,32,32,32,31,
10927 31,31,31,31,31,30,30,30,30,30,29,29,29,29,29,29,29,28,28,28,28,
10928 28,27,27,27,27,26,26,26,26,26,26,25,25,25,25,25,25,25,25,25,24,
10929 24,24,24,24,24,24,24,23,23,23,23,23,23,23,23,22,22,22,22,22,21,
10930 21,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,20,20
10931 };
10932 const int n4c3w2_n[] = {
10933 150,
10934 500,
10935
10936 100,100,100,100,100,99,99,99,99,98,98,98,98,98,98,97,97,97,97,
10937 97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,94,94,94,94,94,94,
10938 94,94,94,94,93,93,93,92,92,92,92,91,91,91,91,91,91,91,91,91,91,
10939 90,90,90,90,90,90,89,89,89,88,88,88,88,87,87,87,87,87,87,87,86,
10940 86,86,86,86,85,85,85,84,84,84,84,84,83,83,83,83,83,83,83,83,83,
10941 83,82,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,79,79,
10942 79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,77,77,77,76,76,76,
10943 76,76,76,76,76,75,75,75,75,75,74,74,74,74,73,73,73,73,73,73,73,
10944 73,73,72,72,72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,
10945 70,70,70,70,70,69,69,69,68,68,68,68,68,67,67,67,67,66,66,66,65,
10946 65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,63,63,63,63,62,62,
10947 62,62,62,62,62,61,61,61,61,60,60,60,60,60,59,59,59,59,59,59,59,
10948 59,59,59,59,59,59,58,58,58,58,58,57,57,57,57,57,57,56,56,56,56,
10949 56,56,56,56,55,55,55,55,55,54,54,54,54,54,54,54,54,54,54,54,53,
10950 53,53,53,53,53,53,52,52,51,51,51,51,51,51,51,51,50,50,50,50,50,
10951 49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,47,47,46,46,
10952 46,46,46,45,45,45,45,45,44,44,44,44,44,44,43,43,43,43,43,43,42,
10953 42,42,42,42,42,42,41,41,41,40,40,40,40,39,39,39,39,39,39,39,39,
10954 38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,36,36,36,35,35,35,
10955 35,35,34,34,34,34,33,33,33,33,33,33,33,33,33,33,33,33,33,32,32,
10956 32,32,32,32,32,32,32,31,31,31,31,31,31,31,31,31,31,31,30,30,30,
10957 30,30,29,29,29,29,29,28,28,27,27,27,27,26,26,26,26,26,25,25,25,
10958 25,25,25,24,24,24,24,24,24,24,23,23,23,23,23,23,22,22,22,22,22,
10959 22,21,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20
10960 };
10961 const int n4c3w2_o[] = {
10962 150,
10963 500,
10964
10965 100,100,100,100,100,100,100,100,100,100,100,100,100,99,99,99,
10966 99,99,98,98,98,97,97,97,97,96,96,96,96,96,96,96,96,96,95,95,95,
10967 95,95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,93,93,93,93,
10968 92,92,92,92,92,92,91,91,91,91,91,90,90,90,90,90,90,89,89,89,89,
10969 89,89,89,88,87,87,87,87,87,86,86,86,86,86,86,86,86,85,85,85,85,
10970 85,85,85,85,85,85,84,84,84,84,84,84,83,83,83,82,82,82,82,82,82,
10971 81,81,81,81,81,81,81,81,81,81,80,80,80,79,79,79,79,79,78,78,78,
10972 78,78,78,78,77,77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,
10973 75,75,75,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,72,72,72,
10974 72,72,71,71,71,71,71,70,70,70,70,70,70,70,70,70,70,70,70,70,70,
10975 69,69,69,69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,68,68,
10976 68,68,68,67,67,67,67,67,67,67,66,66,66,66,65,65,65,65,65,65,64,
10977 64,64,63,63,63,63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,61,
10978 61,61,61,60,60,60,60,59,59,59,59,59,58,58,58,58,58,57,57,57,57,
10979 57,57,57,57,57,56,56,56,56,56,56,55,55,55,55,54,54,54,54,54,54,
10980 54,54,53,53,53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,51,51,
10981 51,51,51,51,51,51,51,51,51,51,50,50,50,50,50,49,49,49,49,49,49,
10982 49,49,48,48,48,48,48,48,48,47,47,47,47,47,47,47,47,47,45,45,45,
10983 44,44,44,44,44,44,44,43,43,43,43,43,42,42,42,42,42,42,41,41,41,
10984 41,41,41,41,40,40,40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,
10985 38,37,37,37,37,37,37,37,36,36,36,35,35,35,35,35,34,34,34,34,34,
10986 33,33,32,32,32,32,32,32,32,31,31,31,31,31,30,30,30,30,30,30,29,
10987 29,29,28,28,28,28,28,27,27,27,26,26,26,26,26,25,24,24,24,23,23,
10988 22,22,22,22,22,22,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20,
10989 20
10990 };
10991 const int n4c3w2_p[] = {
10992 150,
10993 500,
10994
10995 100,100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,
10996 99,99,98,98,98,98,98,98,97,97,97,97,97,97,96,96,96,96,96,95,95,
10997 95,95,95,95,94,94,94,94,94,93,93,93,93,93,93,92,92,92,92,92,91,
10998 91,91,91,91,91,90,90,90,90,90,90,90,90,90,89,89,89,89,89,88,88,
10999 88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,86,85,85,85,85,85,
11000 85,85,85,85,85,84,84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,
11001 83,83,83,82,82,82,81,81,81,80,80,80,80,80,80,80,79,79,79,79,78,
11002 78,78,78,78,78,78,78,77,77,77,77,77,77,77,76,76,76,75,75,74,74,
11003 74,74,74,74,74,74,74,73,73,73,73,73,73,72,72,72,72,71,71,71,71,
11004 71,71,70,70,70,70,70,70,70,69,69,68,68,68,68,68,68,67,67,67,67,
11005 67,67,67,66,66,66,66,65,65,65,65,65,64,64,64,64,64,64,64,63,63,
11006 63,63,63,63,63,63,62,62,62,62,62,62,62,62,61,61,61,60,60,60,60,
11007 60,60,60,60,60,59,59,59,59,59,59,59,59,59,58,58,58,58,58,57,57,
11008 57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,54,54,54,54,54,53,
11009 53,53,53,53,53,53,52,52,52,52,52,51,51,51,51,51,50,50,50,50,50,
11010 49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,47,47,47,47,47,
11011 46,46,46,46,46,46,45,45,45,45,45,44,44,44,44,44,44,43,43,43,43,
11012 43,43,43,42,42,42,42,42,42,42,42,42,42,42,42,41,41,41,41,41,41,
11013 41,41,40,40,39,39,39,39,39,39,39,39,39,39,38,38,38,37,37,37,37,
11014 37,37,37,37,37,37,37,37,36,36,36,36,35,34,34,34,34,34,34,34,34,
11015 34,33,33,33,33,33,33,33,32,32,32,32,32,31,31,31,30,30,30,29,29,
11016 29,29,29,29,29,29,29,28,28,28,28,28,28,27,27,27,27,27,27,27,27,
11017 26,26,25,25,25,25,25,25,25,25,24,24,24,24,24,24,24,24,23,23,23,
11018 23,22,22,22,22,22,22,22,22,22,22,21,21,21,21,21,21,20,20,20,20
11019 };
11020 const int n4c3w2_q[] = {
11021 150,
11022 500,
11023
11024 100,100,100,100,100,100,100,100,99,99,99,98,98,98,98,98,98,98,
11025 98,98,98,97,97,97,97,97,97,97,97,96,96,96,96,96,95,95,95,95,94,
11026 94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,93,93,92,92,
11027 92,92,92,92,92,92,92,91,91,91,90,90,90,90,90,90,89,89,89,89,89,
11028 89,88,88,88,88,88,88,88,88,88,88,87,87,87,87,87,86,86,86,86,86,
11029 86,86,86,86,85,85,85,85,85,85,85,84,84,84,84,84,84,84,84,84,84,
11030 83,83,83,82,82,82,82,81,81,81,81,81,81,81,80,80,80,80,79,79,79,
11031 79,79,79,79,78,78,78,78,77,77,77,77,76,76,76,76,76,75,75,75,75,
11032 74,74,73,73,73,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,71,
11033 71,71,70,70,70,70,70,70,70,69,69,69,69,69,68,68,68,68,68,67,67,
11034 67,67,66,66,65,65,65,65,65,64,64,64,64,64,64,64,64,64,64,64,63,
11035 63,63,63,63,63,63,62,62,62,62,62,62,62,62,61,61,61,61,60,60,60,
11036 60,60,60,59,59,59,58,58,58,57,57,57,57,56,56,56,56,56,56,55,55,
11037 55,55,54,54,54,54,54,54,54,54,54,54,54,53,53,53,53,53,53,52,52,
11038 52,52,52,52,51,51,51,51,51,51,51,51,50,50,49,49,49,49,49,49,49,
11039 48,48,48,48,48,48,48,48,48,48,47,47,46,46,46,46,46,46,46,45,45,
11040 45,45,45,45,45,45,44,44,44,44,44,44,43,43,43,43,42,42,42,42,42,
11041 41,41,41,41,40,40,40,40,39,39,39,38,38,38,38,38,37,37,37,36,36,
11042 36,36,36,35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,
11043 33,33,32,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,
11044 30,30,30,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,28,27,27,
11045 27,27,27,26,26,26,26,26,26,26,26,25,25,25,25,25,25,25,25,25,25,
11046 25,24,24,24,24,24,24,24,24,24,24,23,23,23,23,22,22,22,22,22,22,
11047 22,22,22,22,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,20
11048 };
11049 const int n4c3w2_r[] = {
11050 150,
11051 500,
11052
11053 100,100,100,100,100,100,99,99,99,98,98,98,98,98,97,97,97,97,96,
11054 96,96,95,95,95,95,95,95,95,95,94,94,94,94,94,93,93,92,92,92,92,
11055 92,92,91,91,91,91,91,91,90,90,90,90,90,90,90,89,89,89,89,89,89,
11056 89,89,88,88,88,87,87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,
11057 85,85,85,85,85,85,84,84,84,84,84,84,84,83,83,83,83,83,83,83,83,
11058 83,83,83,82,82,82,82,82,82,82,82,82,82,82,82,81,81,81,81,80,80,
11059 80,80,80,80,79,79,78,78,78,77,77,77,77,77,77,76,76,76,76,76,75,
11060 75,75,74,74,73,73,73,73,73,73,73,72,72,72,72,72,72,72,72,72,72,
11061 72,71,71,71,71,71,70,70,70,70,70,69,69,68,68,68,68,67,67,67,67,
11062 67,67,67,67,66,66,66,66,66,66,66,66,66,66,66,65,65,65,65,65,64,
11063 64,64,64,64,64,64,64,64,64,63,63,63,63,62,62,61,61,61,61,61,61,
11064 61,61,61,61,61,60,60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,
11065 59,59,58,58,58,58,57,57,57,57,57,57,57,56,56,56,55,55,55,55,55,
11066 55,55,54,54,54,54,54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,
11067 52,52,52,51,51,51,51,51,51,51,50,50,50,49,49,49,49,49,48,48,48,
11068 48,48,48,47,47,47,47,47,47,46,46,46,46,46,46,46,45,45,45,45,44,
11069 44,44,44,44,43,43,43,43,43,43,42,42,42,42,42,42,42,41,41,41,41,
11070 41,40,40,40,40,40,40,39,39,39,39,39,39,38,38,38,38,37,37,37,37,
11071 37,36,36,35,35,35,35,35,34,34,34,34,34,34,34,34,33,33,33,33,33,
11072 33,33,33,33,32,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,
11073 30,30,30,30,30,30,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,
11074 28,28,27,27,27,27,27,27,27,27,27,26,26,26,25,25,25,25,25,24,24,
11075 24,24,24,24,24,24,23,23,23,23,23,23,23,23,23,23,23,22,22,22,22,
11076 22,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,20,20
11077 };
11078 const int n4c3w2_s[] = {
11079 150,
11080 500,
11081
11082 100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,97,
11083 97,97,97,97,97,97,97,97,96,96,96,96,96,96,95,95,95,95,95,95,94,
11084 94,94,94,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,91,91,
11085 91,91,90,90,90,89,89,89,89,89,89,89,89,89,88,88,88,88,88,87,87,
11086 87,87,87,87,87,86,86,86,86,86,86,86,85,85,85,85,85,85,85,84,83,
11087 83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,
11088 80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,78,78,78,78,78,78,
11089 78,78,77,77,76,76,76,76,75,75,75,75,74,74,74,74,73,73,73,73,73,
11090 73,72,72,72,72,72,71,71,71,70,70,70,69,69,69,69,68,68,68,68,68,
11091 67,67,67,67,67,67,67,66,66,66,66,66,66,66,66,66,66,65,65,65,65,
11092 65,65,65,64,64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,63,62,
11093 62,62,62,62,62,61,61,61,60,60,60,60,60,60,60,59,59,59,59,59,59,
11094 58,58,58,57,57,57,57,57,57,56,56,56,56,55,55,55,55,55,55,54,54,
11095 54,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,51,51,51,
11096 51,51,51,51,50,50,50,50,50,50,50,50,49,49,49,49,49,49,49,48,48,
11097 48,48,48,48,48,47,47,47,46,46,46,45,45,45,45,45,45,44,44,44,43,
11098 43,43,43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,41,41,41,40,
11099 40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,38,37,37,37,
11100 37,37,37,37,36,36,36,36,36,36,36,36,36,36,36,35,35,35,35,35,35,
11101 35,35,34,34,34,34,34,34,33,33,33,32,32,32,32,32,32,31,31,31,31,
11102 31,31,31,31,31,31,30,30,30,30,30,29,29,29,29,29,28,28,28,28,28,
11103 28,27,27,27,27,27,27,27,26,26,26,26,26,26,26,25,25,25,25,24,24,
11104 24,24,24,24,24,24,24,24,24,23,23,23,23,23,23,23,23,23,23,22,22,
11105 22,22,22,22,22,21,21,21,21,21,21,20,20,20,20,20,20,20,20
11106 };
11107 const int n4c3w2_t[] = {
11108 150,
11109 500,
11110
11111 100,100,100,100,100,99,99,99,99,99,99,98,98,98,97,97,97,97,97,
11112 97,97,97,96,96,96,96,96,95,95,95,95,95,95,95,94,94,94,93,93,93,
11113 93,93,93,93,92,92,92,92,91,91,91,91,91,90,89,89,89,89,89,89,88,
11114 88,88,88,87,87,87,87,87,86,86,86,86,85,85,85,85,85,85,85,85,84,
11115 84,84,84,84,84,84,84,83,83,83,83,83,83,82,82,82,82,82,81,81,81,
11116 81,81,81,80,80,80,80,80,79,79,79,79,78,78,78,78,78,78,78,77,77,
11117 77,77,77,77,77,77,77,77,77,77,77,77,76,76,76,76,76,75,75,75,75,
11118 75,75,75,75,75,75,74,74,73,73,73,73,73,73,72,72,72,72,71,71,71,
11119 71,71,71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,68,68,68,68,
11120 67,67,67,67,67,67,67,67,66,66,66,65,65,65,65,64,64,64,64,64,64,
11121 64,63,63,63,63,62,62,62,61,61,61,61,61,61,61,61,60,60,59,59,59,
11122 59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,57,57,57,57,57,57,
11123 57,56,56,56,56,56,56,56,56,56,56,56,55,55,55,55,55,54,54,54,54,
11124 54,54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,51,
11125 51,51,50,50,50,50,50,50,50,50,49,49,49,49,49,49,49,49,49,49,49,
11126 48,48,48,48,48,48,48,48,48,48,48,47,47,47,47,47,47,47,47,46,46,
11127 46,46,46,46,46,45,45,45,45,44,44,44,44,44,43,43,43,43,43,43,43,
11128 43,42,42,42,42,42,42,41,41,41,41,41,40,40,40,40,40,40,40,40,39,
11129 39,39,39,39,39,39,38,38,38,38,37,37,37,37,37,37,37,37,37,37,36,
11130 36,36,36,36,36,36,35,35,35,35,34,34,34,34,33,33,33,33,33,33,32,
11131 32,32,31,31,31,31,31,31,31,31,30,29,29,29,29,28,28,28,28,28,28,
11132 28,28,28,28,27,27,27,27,27,27,27,27,27,26,26,26,26,26,26,26,26,
11133 25,25,25,25,25,24,24,24,24,24,24,24,24,24,23,23,23,22,22,22,22,
11134 22,22,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,20
11135 };
11136 const int n4c3w4_a[] = {
11137 150,
11138 500,
11139
11140 100,100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,
11141 98,98,98,98,97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,
11142 95,95,95,94,94,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,
11143 92,92,92,91,91,91,91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,
11144 89,88,88,88,88,88,88,87,87,87,87,87,87,87,87,87,86,86,86,86,86,
11145 86,85,85,85,85,85,85,85,85,85,85,85,84,84,84,84,84,84,84,84,83,
11146 83,83,83,83,83,83,82,82,82,81,81,81,81,81,81,80,80,80,80,80,80,
11147 80,80,79,79,79,79,78,78,78,78,78,78,78,77,77,77,77,77,77,77,76,
11148 76,76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,75,74,74,73,73,
11149 73,73,73,73,73,73,73,72,72,72,72,72,72,72,72,72,72,72,72,72,71,
11150 71,71,71,71,70,70,70,70,70,70,70,70,70,70,70,69,69,69,69,69,69,
11151 68,68,68,67,67,67,67,67,66,66,66,66,66,65,65,65,65,65,65,65,65,
11152 65,64,64,64,64,64,64,64,63,63,63,63,63,63,63,62,62,62,62,62,62,
11153 62,61,61,61,61,61,60,60,60,60,60,59,59,59,59,58,58,58,58,58,58,
11154 58,58,58,57,57,57,57,57,57,57,57,57,56,56,56,56,56,56,56,56,56,
11155 55,55,55,55,55,55,55,55,55,54,54,54,54,53,53,53,53,53,53,53,53,
11156 53,53,53,53,52,52,52,52,52,52,52,52,52,52,52,52,51,51,51,51,51,
11157 51,50,50,50,49,49,49,49,48,48,48,48,48,48,48,48,48,48,48,48,48,
11158 47,47,47,46,46,46,46,46,46,45,45,45,45,45,45,44,44,44,44,44,44,
11159 43,43,43,43,43,43,43,43,43,43,43,43,42,42,41,41,41,41,40,40,40,
11160 40,40,40,40,40,40,40,40,40,39,39,39,39,39,38,38,38,38,38,38,38,
11161 38,38,38,37,37,37,37,37,37,36,36,36,36,36,36,36,36,35,35,35,35,
11162 35,35,34,34,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,31,31,
11163 31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30
11164 };
11165 const int n4c3w4_b[] = {
11166 150,
11167 500,
11168
11169 100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,98,98,98,98,
11170 98,97,97,97,97,97,97,97,97,97,97,96,96,95,95,95,95,95,94,94,94,
11171 94,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,92,91,91,91,
11172 91,91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,89,89,89,
11173 89,88,88,88,88,88,88,88,87,87,87,87,87,87,86,86,86,86,86,85,85,
11174 85,85,85,85,85,85,85,84,84,84,84,84,84,84,84,83,83,83,82,82,82,
11175 82,82,81,81,81,81,81,81,81,80,80,80,80,80,80,80,79,79,79,79,79,
11176 79,78,78,78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,76,75,
11177 75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,74,74,73,73,73,73,
11178 73,73,73,73,73,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,70,
11179 70,70,70,70,69,69,69,69,69,68,68,68,67,67,67,67,67,67,67,67,67,
11180 67,67,66,66,66,66,66,65,65,65,65,65,64,64,64,64,64,63,63,63,63,
11181 63,63,63,62,62,62,62,62,62,62,62,61,61,61,61,60,60,60,60,60,60,
11182 60,60,60,60,60,59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,
11183 56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,54,54,54,54,54,
11184 54,53,53,53,53,53,53,53,52,52,52,52,52,51,51,51,51,51,51,51,51,
11185 51,51,51,51,50,50,50,50,50,49,49,49,49,49,49,49,48,48,48,48,48,
11186 48,47,47,47,47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,45,45,
11187 45,45,45,45,45,45,44,44,44,44,44,43,43,43,43,43,43,43,43,43,43,
11188 43,43,43,43,42,42,42,42,42,42,42,42,42,42,42,42,42,41,41,41,41,
11189 41,41,41,41,41,40,40,40,40,40,40,40,40,40,39,39,39,39,39,38,38,
11190 38,38,38,37,37,37,37,37,37,36,36,36,36,36,36,36,35,35,35,35,35,
11191 35,35,35,35,34,34,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,
11192 32,32,32,32,32,31,31,31,31,31,31,31,31,30,30,30,30,30,30
11193 };
11194 const int n4c3w4_c[] = {
11195 150,
11196 500,
11197
11198 100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,
11199 99,99,99,99,99,99,98,98,98,98,97,97,97,97,97,97,96,96,96,96,96,
11200 96,96,96,96,95,95,95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,
11201 93,93,93,93,93,92,92,92,92,92,92,91,91,91,91,91,91,91,91,90,90,
11202 90,90,90,89,89,89,89,89,89,88,88,88,88,88,88,87,87,86,86,86,86,
11203 86,86,85,85,85,85,85,85,85,85,84,84,84,83,83,83,83,83,83,83,83,
11204 83,83,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,80,
11205 80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,79,79,79,78,78,
11206 78,77,77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,75,75,75,75,
11207 74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,
11208 72,72,72,71,71,71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,68,
11209 68,68,68,68,68,68,67,67,67,67,66,66,66,66,66,66,66,66,65,65,65,
11210 65,65,65,65,65,64,64,64,64,64,64,64,64,64,64,63,63,63,63,63,63,
11211 62,62,62,62,62,62,62,62,61,61,61,61,61,60,59,59,59,59,58,58,58,
11212 58,58,58,58,58,58,57,57,57,57,57,57,57,56,56,56,56,56,56,56,56,
11213 56,56,56,55,55,55,55,55,55,55,54,54,54,54,54,53,53,53,53,53,52,
11214 52,52,52,52,52,52,52,51,51,51,51,51,51,51,51,50,50,50,50,50,50,
11215 50,50,50,50,50,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,
11216 47,47,47,47,47,46,46,45,45,44,44,44,44,44,44,44,44,44,44,44,44,
11217 43,43,43,43,43,43,43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,
11218 41,41,41,40,40,40,40,39,39,39,39,39,38,38,38,38,38,38,38,38,38,
11219 38,38,38,37,37,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,
11220 36,35,35,35,35,35,35,35,35,34,34,34,34,34,33,33,33,33,33,33,33,
11221 33,33,33,32,32,32,32,32,32,32,32,32,31,31,31,30,30,30,30,30,30
11222 };
11223 const int n4c3w4_d[] = {
11224 150,
11225 500,
11226
11227 100,99,99,99,99,99,98,98,98,98,98,98,97,97,97,97,97,97,97,97,
11228 96,96,96,96,96,96,96,95,95,95,95,95,94,94,94,94,94,94,94,94,94,
11229 93,93,93,93,92,92,92,92,92,92,92,92,92,92,91,91,91,91,91,91,91,
11230 90,90,90,90,89,89,89,89,89,88,88,88,88,88,88,88,88,87,87,87,87,
11231 87,87,86,86,86,86,86,86,85,85,85,84,84,84,84,84,84,84,84,84,84,
11232 84,84,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,82,82,81,81,
11233 81,81,81,81,81,81,81,81,81,80,80,80,80,80,80,80,80,80,79,79,79,
11234 79,78,78,78,78,78,77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,
11235 76,75,75,75,75,75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,74,
11236 74,74,73,73,73,73,72,72,72,72,71,71,71,71,70,70,70,70,70,70,70,
11237 69,69,69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,68,68,68,
11238 68,68,68,67,67,67,67,67,66,66,66,66,66,66,66,66,66,66,66,65,65,
11239 65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,63,63,63,63,62,62,
11240 62,62,62,62,62,61,61,61,61,61,61,61,61,60,60,60,60,60,60,59,59,
11241 59,59,59,58,58,58,58,58,58,58,58,58,58,58,58,58,57,57,57,57,57,
11242 56,56,56,56,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,
11243 53,53,52,52,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,50,
11244 50,50,50,49,49,49,49,49,48,48,48,48,48,48,47,47,47,47,47,47,47,
11245 46,46,46,46,45,45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,
11246 44,44,43,43,43,43,43,43,43,43,42,42,42,41,41,41,41,41,41,41,40,
11247 40,40,40,40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,37,
11248 37,37,37,37,37,36,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,
11249 35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,32,32,32,32,
11250 32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30
11251 };
11252 const int n4c3w4_e[] = {
11253 150,
11254 500,
11255
11256 100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,
11257 98,98,98,98,98,97,97,97,97,97,97,97,97,96,96,96,96,96,95,95,95,
11258 95,95,95,94,94,94,94,94,94,94,94,94,94,94,93,93,93,92,92,92,92,
11259 92,92,92,92,92,92,92,92,92,91,91,91,91,91,91,91,91,91,90,90,90,
11260 90,90,89,89,88,88,88,88,88,88,87,87,87,87,87,87,87,86,86,86,86,
11261 86,85,85,85,85,85,85,85,84,84,83,83,83,83,83,83,83,83,82,82,82,
11262 82,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,80,80,80,80,80,
11263 80,80,80,79,79,79,79,79,79,78,78,78,78,78,78,78,77,77,76,76,76,
11264 76,76,76,76,76,76,75,75,75,75,75,75,75,75,75,75,75,74,74,74,74,
11265 74,74,74,74,74,74,73,73,73,73,73,73,73,73,73,72,72,72,72,72,72,
11266 72,71,71,71,71,71,71,71,70,70,70,70,70,70,70,70,70,70,69,69,69,
11267 68,68,68,67,67,67,67,67,67,67,67,67,66,66,66,66,65,65,65,65,65,
11268 65,65,64,64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,62,62,62,
11269 62,62,62,61,61,61,61,61,61,61,61,61,61,60,60,60,60,60,60,59,59,
11270 59,59,59,59,58,58,58,58,58,58,58,58,57,57,57,57,57,57,57,57,57,
11271 56,56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,54,54,54,54,54,
11272 54,54,53,53,53,53,53,52,52,52,52,52,51,51,51,51,51,51,51,51,51,
11273 50,50,50,50,50,50,50,50,50,50,49,49,49,49,49,48,48,48,48,48,48,
11274 48,48,47,47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,46,46,45,
11275 45,45,45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,
11276 43,42,42,42,42,42,41,41,41,41,40,40,40,40,40,39,39,39,39,39,39,
11277 39,39,39,39,39,38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,36,
11278 36,36,36,35,35,35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,
11279 33,33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,30,30,30,30
11280 };
11281 const int n4c3w4_f[] = {
11282 150,
11283 500,
11284
11285 100,100,99,99,99,99,98,98,98,98,98,98,98,97,97,97,97,97,97,97,
11286 97,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,95,95,94,94,94,
11287 94,94,94,94,94,94,94,94,94,94,94,94,94,94,93,93,93,93,92,92,92,
11288 92,92,92,92,92,92,92,92,91,91,91,91,91,91,91,91,90,90,90,90,90,
11289 89,89,89,89,89,89,89,89,89,89,89,89,88,88,88,88,88,88,87,87,87,
11290 87,87,87,87,86,86,86,86,86,86,86,85,85,85,85,85,85,85,84,84,84,
11291 84,84,84,84,84,83,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,
11292 82,82,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,79,
11293 79,79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,77,77,77,77,77,
11294 77,76,76,76,76,76,75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,
11295 73,73,73,73,73,73,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,
11296 71,71,70,70,70,69,69,69,69,69,69,69,69,68,68,68,68,68,68,68,68,
11297 67,67,67,66,66,66,66,66,65,65,65,65,65,64,64,63,63,63,63,63,63,
11298 63,63,62,62,62,62,62,61,61,61,61,61,61,61,61,61,60,60,60,60,60,
11299 60,60,59,59,59,59,59,59,58,58,58,58,57,57,57,57,57,57,56,56,56,
11300 56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,54,54,
11301 53,53,53,53,53,52,52,52,52,52,52,50,50,50,50,50,50,50,50,50,50,
11302 50,49,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,47,47,47,47,
11303 47,47,46,46,46,45,45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,
11304 43,43,43,42,42,42,42,42,42,42,41,41,41,41,41,41,41,41,41,41,40,
11305 40,40,40,40,40,40,38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,
11306 37,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,35,35,35,35,34,
11307 34,34,34,34,34,34,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,
11308 31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30,30
11309 };
11310 const int n4c3w4_g[] = {
11311 150,
11312 500,
11313
11314 100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,98,
11315 98,98,98,98,97,97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,
11316 95,95,94,94,94,94,94,93,93,93,93,93,93,93,93,93,93,93,93,92,92,
11317 92,92,92,92,92,92,92,92,92,92,91,91,91,91,91,91,90,90,90,90,89,
11318 89,89,89,89,89,89,88,88,88,88,88,88,87,87,87,87,87,86,86,86,86,
11319 86,86,86,86,86,86,86,85,85,85,85,85,85,85,84,84,84,84,84,84,84,
11320 84,84,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,
11321 81,81,81,81,81,81,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,
11322 79,79,78,78,77,77,77,77,77,77,76,76,76,75,75,75,75,75,75,75,75,
11323 75,74,74,74,74,74,74,74,74,74,74,74,74,73,73,73,73,73,72,72,72,
11324 72,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,70,70,70,70,70,
11325 69,69,69,69,69,69,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,
11326 67,67,67,67,67,67,67,67,67,66,66,66,66,66,66,66,66,66,66,66,66,
11327 66,66,65,65,65,65,65,65,65,64,64,64,63,63,63,63,63,63,63,62,62,
11328 62,62,62,61,61,61,61,61,60,60,60,60,60,60,60,60,60,60,60,60,59,
11329 59,59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,
11330 57,56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,54,54,54,54,
11331 54,54,54,54,53,53,53,53,53,52,52,52,52,52,51,51,51,51,51,51,50,
11332 50,50,49,49,49,49,49,49,49,48,48,48,48,47,47,47,47,47,47,46,46,
11333 46,46,46,46,46,46,46,45,45,45,45,45,45,44,44,44,44,43,43,43,43,
11334 43,42,42,42,42,42,42,42,41,41,41,41,41,40,40,40,40,39,39,39,39,
11335 39,39,39,39,38,38,38,38,38,38,38,38,38,37,37,37,37,36,36,36,36,
11336 36,36,36,36,36,35,35,35,35,34,34,34,34,33,33,33,33,33,33,33,33,
11337 32,32,32,32,32,32,32,31,31,31,31,31,31,31,31,31,30,30,30,30,30
11338 };
11339 const int n4c3w4_h[] = {
11340 150,
11341 500,
11342
11343 100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,
11344 98,98,98,98,98,97,97,97,97,96,96,96,96,96,96,96,96,96,96,96,96,
11345 95,95,95,95,95,95,94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,
11346 93,92,92,92,92,92,91,91,91,91,91,91,91,91,91,91,90,90,90,90,89,
11347 89,88,88,88,88,88,88,88,88,88,87,87,87,87,87,87,87,87,87,87,87,
11348 86,86,86,86,86,86,85,85,85,85,85,85,85,84,84,84,84,83,83,83,83,
11349 83,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,82,82,81,81,81,
11350 81,81,81,81,81,80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,
11351 79,79,79,78,78,78,78,78,78,78,77,77,77,76,76,76,76,76,76,76,75,
11352 75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,
11353 72,71,71,71,71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,69,69,
11354 69,68,68,68,68,68,68,68,68,68,68,67,67,67,67,67,67,66,66,66,66,
11355 66,66,66,65,65,65,65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,
11356 63,63,63,62,62,62,62,62,61,61,61,61,61,61,60,60,60,60,60,60,60,
11357 60,59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,58,57,57,57,
11358 57,57,57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,55,55,54,
11359 54,54,54,54,54,54,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,
11360 52,51,51,51,51,51,51,51,51,50,50,50,49,49,49,49,49,49,49,49,49,
11361 49,49,48,48,48,48,47,47,46,46,46,46,46,45,45,45,45,45,45,45,44,
11362 44,44,44,44,44,43,43,43,43,43,43,42,42,42,42,42,42,42,41,41,41,
11363 41,41,41,40,40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,38,38,
11364 38,38,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,35,35,35,35,
11365 35,35,34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,32,31,31,
11366 31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30
11367 };
11368 const int n4c3w4_i[] = {
11369 150,
11370 500,
11371
11372 100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,99,
11373 99,99,99,98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,96,96,96,
11374 96,96,96,96,96,96,95,95,95,95,95,95,95,95,95,94,94,94,94,94,94,
11375 94,94,94,94,94,94,93,93,93,93,93,93,92,92,92,92,92,92,92,92,92,
11376 91,91,91,91,91,91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,88,
11377 88,88,88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,86,86,85,85,
11378 85,85,85,85,85,84,84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,
11379 83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,80,80,
11380 80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,78,78,78,78,78,77,
11381 77,77,77,76,76,76,76,76,75,75,75,75,74,74,74,74,74,73,73,73,73,
11382 73,73,73,73,72,72,72,72,72,72,72,71,71,71,71,71,71,71,71,70,70,
11383 70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,68,68,68,68,68,68,
11384 67,67,67,67,67,67,67,67,66,66,66,66,66,66,66,65,65,65,64,64,64,
11385 64,64,63,63,63,63,63,63,63,63,62,62,62,62,62,62,61,61,61,61,61,
11386 61,61,61,61,61,60,60,60,60,60,60,60,60,59,59,59,58,58,58,58,58,
11387 57,57,57,57,56,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,
11388 54,54,54,54,54,54,54,54,54,53,53,53,53,53,53,53,52,52,52,52,52,
11389 52,52,52,52,52,52,52,52,51,51,51,51,50,50,50,50,50,49,49,49,49,
11390 49,49,49,49,48,48,48,48,48,48,48,48,47,47,47,47,47,47,47,47,46,
11391 46,46,46,45,45,45,45,45,45,44,44,44,43,43,43,43,43,42,42,42,42,
11392 42,41,41,41,41,41,41,40,40,39,39,39,39,39,39,39,39,39,39,38,38,
11393 38,38,38,38,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,35,
11394 35,35,34,34,34,34,34,34,34,33,33,33,33,33,33,33,33,33,32,32,32,
11395 32,32,32,32,32,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30
11396 };
11397 const int n4c3w4_j[] = {
11398 150,
11399 500,
11400
11401 100,100,100,100,100,100,99,99,99,98,98,98,98,98,98,98,98,97,97,
11402 97,97,97,97,97,97,97,96,96,96,96,95,95,95,95,95,94,94,94,94,94,
11403 93,93,93,93,92,92,92,92,92,92,92,92,91,91,91,90,90,90,90,90,90,
11404 90,90,90,89,89,89,89,89,89,89,89,89,89,89,89,88,88,88,88,88,87,
11405 87,87,87,87,87,86,86,86,86,86,86,85,85,85,85,85,84,84,84,84,84,
11406 84,83,83,83,83,82,82,82,82,82,81,81,81,81,81,80,80,80,80,80,80,
11407 80,79,79,79,79,79,79,78,78,78,78,78,78,78,77,77,77,77,77,77,77,
11408 77,77,76,76,76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,74,74,
11409 74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,72,72,72,72,71,
11410 71,71,71,71,71,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,69,
11411 69,69,69,69,69,69,68,68,68,68,67,67,67,67,67,67,66,66,66,66,66,
11412 66,66,66,66,66,65,65,65,65,65,65,65,65,64,64,64,64,64,63,63,63,
11413 63,63,63,63,63,63,63,63,62,62,62,62,62,62,62,62,62,61,61,61,61,
11414 60,60,60,60,60,59,59,59,59,59,59,59,59,58,58,58,58,58,57,57,57,
11415 57,57,57,57,57,56,56,56,56,56,56,56,56,56,55,55,55,54,54,54,54,
11416 54,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,52,52,51,51,
11417 51,51,51,51,51,51,51,50,50,50,50,50,50,50,50,50,50,50,49,49,49,
11418 49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,48,48,48,47,47,47,
11419 47,47,47,47,47,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,
11420 44,44,44,44,44,43,43,43,43,43,42,42,42,42,42,41,41,41,40,40,40,
11421 40,40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,39,38,38,38,
11422 38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,37,36,36,36,36,
11423 35,35,35,35,35,35,35,35,35,35,34,34,34,34,34,33,33,33,33,33,33,
11424 32,32,32,32,32,32,32,31,31,31,31,30,30,30,30,30,30,30,30
11425 };
11426 const int n4c3w4_k[] = {
11427 150,
11428 500,
11429
11430 100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,
11431 98,97,97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,96,96,96,95,
11432 95,95,95,95,95,94,94,94,94,94,94,94,94,93,93,93,93,92,92,92,92,
11433 92,92,92,92,92,91,90,90,90,89,89,88,88,88,88,88,88,88,88,88,88,
11434 88,87,87,87,86,86,86,86,86,86,86,85,85,85,85,85,85,85,85,85,85,
11435 84,84,84,84,84,84,83,83,83,83,83,82,82,82,81,81,81,81,81,81,80,