Generated on Fri Oct 19 11:24:48 2018 for Gecode by doxygen 1.6.3

bin-packing.cpp

Go to the documentation of this file.
00001 /* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
00002 /*
00003  *  Main authors:
00004  *     Christian Schulte <schulte@gecode.org>
00005  *
00006  *  Copyright:
00007  *     Christian Schulte, 2010
00008  *
00009  *  This file is part of Gecode, the generic constraint
00010  *  development environment:
00011  *     http://www.gecode.org
00012  *
00013  *  Permission is hereby granted, free of charge, to any person obtaining
00014  *  a copy of this software and associated documentation files (the
00015  *  "Software"), to deal in the Software without restriction, including
00016  *  without limitation the rights to use, copy, modify, merge, publish,
00017  *  distribute, sublicense, and/or sell copies of the Software, and to
00018  *  permit persons to whom the Software is furnished to do so, subject to
00019  *  the following conditions:
00020  *
00021  *  The above copyright notice and this permission notice shall be
00022  *  included in all copies or substantial portions of the Software.
00023  *
00024  *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
00025  *  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
00026  *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
00027  *  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
00028  *  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
00029  *  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
00030  *  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00031  *
00032  */
00033 
00034 #include <gecode/driver.hh>
00035 
00036 #include <gecode/int.hh>
00037 #include <gecode/minimodel.hh>
00038 
00039 #include <algorithm>
00040 
00041 using namespace Gecode;
00042 
00043 // Instance data
00044 namespace {
00045 
00046   // Instances
00047   extern const int* bpp[];
00048   // Instance names
00049   extern const char* name[];
00050 
00052   class Spec {
00053   protected:
00055     const int* data;
00057     int l, u;
00058   public:
00060     bool valid(void) const {
00061       return data != NULL;
00062     }
00064     int capacity(void) const {
00065       return data[0];
00066     }
00068     int items(void) const {
00069       return data[1];
00070     }
00072     int size(int i) const {
00073       return data[i+2];
00074     }
00075   protected:
00077     static const int* find(const char* s) {
00078       for (int i=0; name[i] != NULL; i++)
00079         if (!strcmp(s,name[i]))
00080           return bpp[i];
00081       return NULL;
00082     }
00084     int clower(void) const {
00085       /*
00086        * The lower bound is due to: S. Martello, P. Toth. Lower bounds
00087        * and reduction procedures for the bin packing problem.
00088        * Discrete and applied mathematics, 28(1):59-70, 1990.
00089        */
00090       const int c = capacity(), n = items();
00091       int l = 0;
00092 
00093       // Items in N1 are from 0 ... n1 - 1
00094       int n1 = 0;
00095       // Items in N2 are from n1 ... n12 - 1, we count elements in N1 and N2
00096       int n12 = 0;
00097       // Items in N3 are from n12 ... n3 - 1
00098       int n3 = 0;
00099       // Free space in N2
00100       int f2 = 0;
00101       // Total size of items in N3
00102       int s3 = 0;
00103 
00104       // Initialize n12 and f2
00105       for (; (n12 < n) && (size(n12) > c/2); n12++)
00106         f2 += c - size(n12);
00107 
00108       // Initialize n3 and s3
00109       for (n3 = n12; n3 < n; n3++)
00110         s3 += size(n3);
00111 
00112       // Compute lower bounds
00113       for (int k=0; k<=c/2; k++) {
00114         // Make N1 larger by adding elements and N2 smaller
00115         for (; (n1 < n) && (size(n1) > c-k); n1++)
00116           f2 -= c - size(n1);
00117         assert(n1 <= n12);
00118         // Make N3 smaller by removing elements
00119         for (; (size(n3-1) < k) && (n3 > n12); n3--)
00120           s3 -= size(n3-1);
00121         // Overspill
00122         int o = (s3 > f2) ? ((s3 - f2 + c - 1) / c) : 0;
00123         l = std::max(l, n12 + o);
00124       }
00125       return l;
00126     }
00128     int cupper(void) const {
00129       // Use a naive greedy algorithm
00130       const int c = capacity(), n = items();
00131 
00132       int* f = new int[n];
00133       for (int i=0; i<n; i++)
00134         f[i] = c;
00135 
00136       int u=0;
00137       for (int i=0; i<n; i++) {
00138         int j=0;
00139         // Skip bins with insufficient free space
00140         while (f[j] < size(i))
00141           j++;
00142         if (j > u) {
00143           // A new bin is needed
00144           u = j; f[u] -= size(i);
00145         } else {
00146           // The slack of the best-fit bin
00147           int b = j++;
00148           int s = f[b] - size(i);
00149           while (j <= u) {
00150             if ((f[j] >= size(i)) && (f[j] - size(i) < s)) {
00151               b = j; s = f[b] - size(i);
00152             }
00153             j++;
00154           }
00155           f[b] -= size(i);
00156         }
00157       }
00158       delete [] f;
00159       return u+1;
00160     }
00161   public:
00163     Spec(const char* s) : data(find(s)), l(0), u(0) {
00164       if (valid()) {
00165         l = clower(); u = cupper();
00166       }
00167     }
00169     int total(void) const {
00170       int t=0;
00171       for (int i=0; i<items(); i++)
00172         t += size(i);
00173       return t;
00174     }
00176     int lower(void) const {
00177       return l;
00178     }
00180     int upper(void) const {
00181       return u;
00182     }
00183   };
00184 
00185 }
00186 
00198 class CDBF : public Brancher {
00199 protected:
00201   ViewArray<Int::IntView> load;
00203   ViewArray<Int::IntView> bin;
00205   IntSharedArray size;
00207   mutable int item;
00209   class Choice : public Gecode::Choice {
00210   public:
00212     int item;
00214     int* same;
00216     int n_same;
00220     Choice(const Brancher& b, unsigned int a, int i, int* s, int n_s)
00221       : Gecode::Choice(b,a), item(i),
00222         same(heap.alloc<int>(n_s)), n_same(n_s) {
00223       for (int k=n_same; k--; )
00224         same[k] = s[k];
00225     }
00227     virtual void archive(Archive& e) const {
00228       Gecode::Choice::archive(e);
00229       e << alternatives() << item << n_same;
00230       for (int i=n_same; i--;)
00231         e << same[i];
00232     }
00234     virtual ~Choice(void) {
00235       heap.free<int>(same,n_same);
00236     }
00237   };
00238 
00239 public:
00241   CDBF(Home home, ViewArray<Int::IntView>& l, ViewArray<Int::IntView>& b,
00242        IntSharedArray& s)
00243     : Brancher(home), load(l), bin(b), size(s), item(0) {
00244     home.notice(*this,AP_DISPOSE);
00245   }
00247   static void post(Home home, ViewArray<Int::IntView>& l,
00248                    ViewArray<Int::IntView>& b,
00249                    IntSharedArray& s) {
00250     (void) new (home) CDBF(home, l, b, s);
00251   }
00253   CDBF(Space& home, CDBF& cdbf)
00254     : Brancher(home, cdbf), size(cdbf.size), item(cdbf.item) {
00255     load.update(home, cdbf.load);
00256     bin.update(home, cdbf.bin);
00257   }
00259   virtual Actor* copy(Space& home) {
00260     return new (home) CDBF(home, *this);
00261   }
00263   virtual size_t dispose(Space& home) {
00264     home.ignore(*this,AP_DISPOSE);
00265     size.~IntSharedArray();
00266     (void) Brancher::dispose(home);
00267     return sizeof(*this);
00268   }
00270   virtual bool status(const Space&) const {
00271     for (int i = item; i < bin.size(); i++)
00272       if (!bin[i].assigned()) {
00273         item = i; return true;
00274       }
00275     return false;
00276   }
00278   virtual Gecode::Choice* choice(Space&) {
00279     assert(!bin[item].assigned());
00280 
00281     int n = bin.size(), m = load.size();
00282 
00283     Region region;
00284 
00285     // Free space in bins
00286     int* free = region.alloc<int>(m);
00287 
00288     for (int j=m; j--; )
00289       free[j] = load[j].max();
00290     for (int i=n; i--; )
00291       if (bin[i].assigned())
00292         free[bin[i].val()] -= size[i];
00293 
00294     // Equivalent bins with same free space
00295     int* same = region.alloc<int>(m+1);
00296     unsigned int n_same = 0;
00297     unsigned int n_possible = 0;
00298 
00299     // Initialize such that failure is guaranteed (pack into bin -1)
00300     same[n_same++] = -1;
00301 
00302     // Find a best-fit bin for item
00303     int slack = INT_MAX;
00304     for (Int::ViewValues<Int::IntView> j(bin[item]); j(); ++j)
00305       if (size[item] <= free[j.val()]) {
00306         // Item still can fit into the bin
00307         n_possible++;
00308         if (free[j.val()] - size[item] < slack) {
00309           // A new, better fit
00310           slack = free[j.val()] - size[item];
00311           same[0] = j.val(); n_same = 1;
00312         } else if (free[j.val()] - size[item] == slack) {
00313           // An equivalent bin, remember it
00314           same[n_same++] = j.val();
00315         }
00316       }
00317     /*
00318      * Domination rules:
00319      *  - if the item fits the bin exactly, just assign
00320      *  - if all possible bins are equivalent, just assign
00321      *
00322      * Also catches failure: if no possible bin was found, commit
00323      * the item into bin -1.
00324      */
00325     if ((slack == 0) || (n_same == n_possible) || (slack == INT_MAX))
00326       return new Choice(*this, 1, item, same, 1);
00327     else
00328       return new Choice(*this, 2, item, same, n_same);
00329   }
00331   virtual const Gecode::Choice* choice(const Space&, Archive& e) {
00332     int alt, item, n_same;
00333     e >> alt >> item >> n_same;
00334     Region re;
00335     int* same = re.alloc<int>(n_same);
00336     for (int i=n_same; i--;) e >> same[i];
00337     return new Choice(*this, alt, item, same, n_same);
00338   }
00340   virtual ExecStatus commit(Space& home, const Gecode::Choice& _c,
00341                             unsigned int a) {
00342     const Choice& c = static_cast<const Choice&>(_c);
00343     // This catches also the case that the choice has a single aternative only
00344     if (a == 0) {
00345       GECODE_ME_CHECK(bin[c.item].eq(home, c.same[0]));
00346     } else {
00347       Iter::Values::Array same(c.same, c.n_same);
00348 
00349       GECODE_ME_CHECK(bin[c.item].minus_v(home, same));
00350 
00351       for (int i = c.item+1; (i<bin.size()) &&
00352                              (size[i] == size[c.item]); i++) {
00353         same.reset();
00354         GECODE_ME_CHECK(bin[i].minus_v(home, same));
00355       }
00356     }
00357     return ES_OK;
00358   }
00360   virtual void print(const Space&, const Gecode::Choice& _c,
00361                      unsigned int a,
00362                      std::ostream& o) const {
00363     const Choice& c = static_cast<const Choice&>(_c);
00364     if (a == 0) {
00365       o << "bin[" << c.item << "] = " << c.same[0];
00366     } else {
00367       o << "bin[" << c.item;
00368       for (int i = c.item+1; (i<bin.size()) &&
00369                              (size[i] == size[c.item]); i++)
00370         o << "," << i;
00371       o << "] != ";
00372       for (int i = 0; i<c.n_same-1; i++)
00373         o << c.same[i] << ",";
00374       o << c.same[c.n_same-1];
00375     }
00376   }
00377 };
00378 
00380 void cdbf(Home home, const IntVarArgs& l, const IntVarArgs& b,
00381           const IntArgs& s) {
00382   if (b.size() != s.size())
00383     throw Int::ArgumentSizeMismatch("cdbf");
00384   ViewArray<Int::IntView> load(home, l);
00385   ViewArray<Int::IntView> bin(home, b);
00386   IntSharedArray size(s);
00387   return CDBF::post(home, load, bin, size);
00388 }
00389 
00390 
00391 
00398 class BinPacking : public IntMinimizeScript {
00399 protected:
00401   const Spec spec;
00403   IntVarArray load;
00405   IntVarArray bin;
00407   IntVar bins;
00408 public:
00410   enum {
00411     MODEL_NAIVE, 
00412     MODEL_PACKING 
00413   };
00415   enum {
00416     BRANCH_NAIVE, 
00417     BRANCH_CDBF, 
00418   };
00420   BinPacking(const InstanceOptions& opt)
00421     : IntMinimizeScript(opt),
00422       spec(opt.instance()),
00423       load(*this, spec.upper(), 0, spec.capacity()),
00424       bin(*this, spec.items(), 0, spec.upper()-1),
00425       bins(*this, spec.lower(), spec.upper()) {
00426     // Number of items
00427     int n = bin.size();
00428     // Number of bins
00429     int m = load.size();
00430 
00431     // Size of all items
00432     int s = 0;
00433     for (int i=0; i<n; i++)
00434       s += spec.size(i);
00435 
00436     // Array of sizes
00437     IntArgs sizes(n);
00438     for (int i=0; i<n; i++)
00439       sizes[i] = spec.size(i);
00440 
00441     switch (opt.model()) {
00442     case MODEL_NAIVE:
00443       {
00444         // All loads must add up to all item sizes
00445         linear(*this, load, IRT_EQ, s);
00446 
00447         // Load must be equal to packed items
00448         BoolVarArgs _x(*this, n*m, 0, 1);
00449         Matrix<BoolVarArgs> x(_x, n, m);
00450 
00451         for (int i=0; i<n; i++)
00452           channel(*this, x.col(i), bin[i]);
00453 
00454         for (int j=0; j<m; j++)
00455           linear(*this, sizes, x.row(j), IRT_EQ, load[j]);
00456       }
00457       break;
00458     case MODEL_PACKING:
00459       binpacking(*this, load, bin, sizes);
00460       break;
00461     }
00462 
00463     // Break symmetries
00464     for (int i=1; i<n; i++)
00465       if (spec.size(i-1) == spec.size(i))
00466         rel(*this, bin[i-1] <= bin[i]);
00467 
00468     // Pack items that require a bin for sure! (wlog)
00469     {
00470       int i = 0;
00471       // These items all need a bin due to their own size
00472       for (; (i < n) && (i < m) && (spec.size(i) * 2 > spec.capacity()); i++)
00473         rel(*this, bin[i] == i);
00474       // Check if the next item cannot fit to position i-1
00475       if ((i < n) && (i < m) && (i > 0) &&
00476           (spec.size(i-1) + spec.size(i) > spec.capacity()))
00477         rel(*this, bin[i] == i);
00478     }
00479 
00480     // All excess bins must be empty
00481     for (int j=spec.lower()+1; j <= spec.upper(); j++)
00482       rel(*this, (bins < j) == (load[j-1] == 0));
00483 
00484     branch(*this, bins, INT_VAL_MIN());
00485     switch (opt.branching()) {
00486     case BRANCH_NAIVE:
00487       branch(*this, bin, INT_VAR_NONE(), INT_VAL_MIN());
00488       break;
00489     case BRANCH_CDBF:
00490       cdbf(*this, load, bin, sizes);
00491       break;
00492     }
00493   }
00495   virtual IntVar cost(void) const {
00496     return bins;
00497   }
00499   BinPacking(BinPacking& s)
00500     : IntMinimizeScript(s), spec(s.spec) {
00501     load.update(*this, s.load);
00502     bin.update(*this, s.bin);
00503     bins.update(*this, s.bins);
00504   }
00506   virtual Space*
00507   copy(void) {
00508     return new BinPacking(*this);
00509   }
00511   virtual void
00512   print(std::ostream& os) const {
00513     int n = bin.size();
00514     int m = load.size();
00515     os << "Bins used: " << bins << " (from " << m << " bins)." << std::endl;
00516     for (int j=0; j<m; j++) {
00517       bool fst = true;
00518       os << "\t[" << j << "]={";
00519       for (int i=0; i<n; i++)
00520         if (bin[i].assigned() && (bin[i].val() == j)) {
00521           if (fst) {
00522             fst = false;
00523           } else {
00524             os << ",";
00525           }
00526           os << i;
00527         }
00528       os << "} #" << load[j] << std::endl;
00529     }
00530     if (!bin.assigned()) {
00531       os << std::endl
00532          << "Unpacked items:" << std::endl;
00533       for (int i=0;i<n; i++)
00534         if (!bin[i].assigned())
00535           os << "\t[" << i << "] = " << bin[i] << std::endl;
00536     }
00537   }
00538 };
00539 
00543 int
00544 main(int argc, char* argv[]) {
00545   InstanceOptions opt("BinPacking");
00546   opt.model(BinPacking::MODEL_PACKING);
00547   opt.model(BinPacking::MODEL_NAIVE, "naive",
00548             "use naive model (decomposition)");
00549   opt.model(BinPacking::MODEL_PACKING, "packing",
00550             "use bin packing constraint");
00551   opt.branching(BinPacking::BRANCH_CDBF);
00552   opt.branching(BinPacking::BRANCH_NAIVE, "naive");
00553   opt.branching(BinPacking::BRANCH_CDBF, "cdbf");
00554   opt.instance(name[0]);
00555   opt.solutions(0);
00556   opt.parse(argc,argv);
00557   if (!Spec(opt.instance()).valid()) {
00558     std::cerr << "Error: unkown instance" << std::endl;
00559     return 1;
00560   }
00561   IntMinimizeScript::run<BinPacking,BAB,InstanceOptions>(opt);
00562   return 0;
00563 }
00564 
00565 namespace {
00566 
00567   /*
00568    * Instances taken from:
00569    * A. Scholl, R. Klein, and C. Jürgens: BISON: a fast hybrid procedure
00570    * for exactly solving the one-dimensional bin packing problem.
00571    * Computers & Operations Research 24 (1997) 627-645.
00572    *
00573    * The item size have been sorted for simplicty.
00574    *
00575    */
00576 
00577   /*
00578    * Data set 1
00579    *
00580    */
00581   const int n1c1w1_a[] = {
00582     100, // Capacity
00583     50, // Number of items
00584     // Size of items (sorted)
00585     99,99,96,96,92,92,91,88,87,86,85,76,74,72,69,67,67,62,61,56,52,
00586     51,49,46,44,42,40,40,33,33,30,30,29,28,28,27,25,24,23,22,21,20,
00587     17,14,13,11,10,7,7,3
00588   };
00589   const int n1c1w1_b[] = {
00590     100, // Capacity
00591     50, // Number of items
00592     // Size of items (sorted)
00593     100,99,97,97,97,93,93,92,92,88,83,83,79,76,76,75,72,71,70,69,
00594     67,66,63,62,62,61,61,51,50,44,44,43,43,40,39,37,37,30,23,20,19,
00595     18,17,15,14,13,13,12,8,8
00596   };
00597   const int n1c1w1_c[] = {
00598     100, // Capacity
00599     50, // Number of items
00600     // Size of items (sorted)
00601     92,89,87,84,82,82,81,75,73,71,67,67,63,59,57,56,52,49,48,47,46,
00602     41,39,38,36,35,34,34,30,29,26,21,20,19,18,15,15,13,11,10,10,10,
00603     9,8,8,7,6,6,6,3
00604   };
00605   const int n1c1w1_d[] = {
00606     100, // Capacity
00607     50, // Number of items
00608     // Size of items (sorted)
00609     100,99,98,97,95,94,92,92,91,82,80,77,76,75,73,73,73,71,68,65,
00610     65,63,63,63,60,59,53,45,44,40,31,25,24,24,24,23,22,21,21,15,14,
00611     14,10,10,7,7,6,3,2,2
00612   };
00613   const int n1c1w1_e[] = {
00614     100, // Capacity
00615     50, // Number of items
00616     // Size of items (sorted)
00617     91,88,88,87,87,86,86,85,85,84,83,80,79,78,77,70,70,68,67,66,59,
00618     52,49,48,47,47,44,42,38,37,37,34,34,33,31,29,27,24,21,17,16,16,
00619     15,14,8,6,5,4,2,2
00620   };
00621   const int n1c1w1_f[] = {
00622     100, // Capacity
00623     50, // Number of items
00624     // Size of items (sorted)
00625     99,98,98,93,92,89,89,84,84,83,78,77,75,73,72,71,70,69,69,68,60,
00626     60,57,56,54,50,49,49,45,37,36,35,30,30,27,26,26,25,24,21,20,19,
00627     15,14,13,11,11,8,2,2
00628   };
00629   const int n1c1w1_g[] = {
00630     100, // Capacity
00631     50, // Number of items
00632     // Size of items (sorted)
00633     100,99,98,98,98,91,90,87,84,84,78,77,72,71,70,69,69,64,63,58,
00634     58,46,45,45,43,43,42,41,37,37,37,35,34,31,30,29,24,23,22,21,20,
00635     17,12,11,10,9,7,6,5,4
00636   };
00637   const int n1c1w1_h[] = {
00638     100, // Capacity
00639     50, // Number of items
00640     // Size of items (sorted)
00641     97,93,93,92,92,91,90,88,86,85,85,85,82,81,80,79,75,73,71,70,70,
00642     67,66,64,62,62,61,54,48,48,47,46,44,41,40,39,34,29,24,24,21,18,
00643     16,16,14,13,11,10,5,1
00644   };
00645   const int n1c1w1_i[] = {
00646     100, // Capacity
00647     50, // Number of items
00648     // Size of items (sorted)
00649     95,92,87,87,85,84,83,79,77,77,75,73,69,68,65,63,63,62,61,58,57,
00650     52,50,44,43,40,40,38,38,38,35,33,33,32,31,29,27,24,24,22,19,19,
00651     18,16,14,11,6,4,3,2
00652   };
00653   const int n1c1w1_j[] = {
00654     100, // Capacity
00655     50, // Number of items
00656     // Size of items (sorted)
00657     99,99,95,94,94,93,91,90,86,81,81,80,79,77,74,69,69,63,55,54,54,
00658     53,52,50,44,40,39,38,37,36,36,36,36,34,31,31,26,25,23,22,18,17,
00659     15,14,13,12,10,7,2,1
00660   };
00661   const int n1c1w1_k[] = {
00662     100, // Capacity
00663     50, // Number of items
00664     // Size of items (sorted)
00665     96,91,91,89,87,85,84,83,82,79,78,77,77,75,75,70,68,66,64,62,62,
00666     56,53,51,44,41,40,38,38,36,34,31,30,29,28,27,26,23,17,16,15,14,
00667     14,12,11,10,8,8,4,2
00668   };
00669   const int n1c1w1_l[] = {
00670     100, // Capacity
00671     50, // Number of items
00672     // Size of items (sorted)
00673     99,99,98,96,95,93,92,92,89,87,85,85,82,80,72,71,68,68,64,64,63,
00674     61,59,59,57,57,57,55,55,52,52,51,49,48,47,47,40,39,38,37,29,28,
00675     28,22,22,19,17,16,9,4
00676   };
00677   const int n1c1w1_m[] = {
00678     100, // Capacity
00679     50, // Number of items
00680     // Size of items (sorted)
00681     100,100,99,97,94,93,91,90,89,88,87,87,86,86,79,77,72,71,70,69,
00682     68,68,65,64,61,60,59,51,50,50,43,42,39,37,29,27,25,24,21,19,17,
00683     16,13,13,8,6,6,3,2,1
00684   };
00685   const int n1c1w1_n[] = {
00686     100, // Capacity
00687     50, // Number of items
00688     // Size of items (sorted)
00689     99,98,95,95,95,94,94,91,88,87,86,85,76,74,73,71,68,60,55,54,51,
00690     45,42,40,39,39,36,34,33,32,32,31,31,30,29,26,26,23,21,21,21,19,
00691     18,18,16,15,5,5,4,1
00692   };
00693   const int n1c1w1_o[] = {
00694     100, // Capacity
00695     50, // Number of items
00696     // Size of items (sorted)
00697     100,99,98,97,97,94,92,91,91,90,88,87,85,81,81,80,79,72,70,67,
00698     67,66,64,63,61,59,58,56,55,51,50,50,50,49,46,41,39,39,38,30,30,
00699     24,22,21,20,19,14,8,7,5
00700   };
00701   const int n1c1w1_p[] = {
00702     100, // Capacity
00703     50, // Number of items
00704     // Size of items (sorted)
00705     96,94,91,90,82,81,80,77,76,75,74,72,70,68,65,63,63,63,60,60,59,
00706     58,57,55,51,47,46,36,36,34,32,32,30,30,28,28,27,26,24,24,19,19,
00707     17,17,11,9,9,7,4,4
00708   };
00709   const int n1c1w1_q[] = {
00710     100, // Capacity
00711     50, // Number of items
00712     // Size of items (sorted)
00713     97,92,90,85,83,83,82,81,77,76,74,73,71,67,67,67,67,63,63,62,59,
00714     58,58,56,56,55,53,50,47,42,41,41,41,39,37,35,32,31,30,26,25,22,
00715     20,17,16,15,13,13,10,5
00716   };
00717   const int n1c1w1_r[] = {
00718     100, // Capacity
00719     50, // Number of items
00720     // Size of items (sorted)
00721     95,94,93,92,87,81,81,79,78,76,75,72,72,71,70,65,62,61,60,55,54,
00722     54,51,49,46,45,38,38,37,36,36,36,32,31,28,27,26,25,24,24,21,20,
00723     20,17,14,10,9,7,7,3
00724   };
00725   const int n1c1w1_s[] = {
00726     100, // Capacity
00727     50, // Number of items
00728     // Size of items (sorted)
00729     100,99,99,97,96,95,87,87,87,86,84,82,80,80,80,76,75,74,71,68,
00730     67,63,62,60,52,52,52,48,44,44,43,43,37,34,33,31,29,28,25,21,20,
00731     17,16,13,11,9,6,5,4,3
00732   };
00733   const int n1c1w1_t[] = {
00734     100, // Capacity
00735     50, // Number of items
00736     // Size of items (sorted)
00737     100,97,92,91,89,88,83,82,82,82,78,77,77,77,73,72,68,67,66,65,
00738     64,62,60,60,57,53,50,48,46,42,40,40,38,37,37,31,30,29,28,21,20,
00739     20,20,20,18,18,15,15,11,1
00740   };
00741   const int n1c1w2_a[] = {
00742     100, // Capacity
00743     50, // Number of items
00744     // Size of items (sorted)
00745     96,93,86,86,85,83,80,80,80,79,77,68,67,64,64,63,60,57,55,54,54,
00746     54,54,52,52,52,51,44,43,41,41,39,39,39,38,36,36,35,34,34,31,31,
00747     29,29,28,24,23,22,22,20
00748   };
00749   const int n1c1w2_b[] = {
00750     100, // Capacity
00751     50, // Number of items
00752     // Size of items (sorted)
00753     99,96,95,95,91,91,91,90,89,86,85,85,84,79,76,69,68,68,65,64,63,
00754     58,58,54,53,52,50,49,48,48,45,45,43,42,36,35,33,31,31,30,30,30,
00755     29,27,27,26,22,22,22,21
00756   };
00757   const int n1c1w2_c[] = {
00758     100, // Capacity
00759     50, // Number of items
00760     // Size of items (sorted)
00761     100,99,98,97,94,93,91,89,89,89,85,85,84,83,81,81,78,73,73,73,
00762     73,70,69,68,64,64,63,59,54,49,48,45,45,43,42,41,39,37,37,36,32,
00763     30,26,26,25,24,24,23,21,21
00764   };
00765   const int n1c1w2_d[] = {
00766     100, // Capacity
00767     50, // Number of items
00768     // Size of items (sorted)
00769     97,97,90,89,89,89,85,83,82,81,77,76,76,75,71,71,68,68,66,63,63,
00770     63,62,61,61,59,58,54,53,50,50,50,46,43,40,36,36,33,32,31,31,31,
00771     28,27,27,26,26,24,23,22
00772   };
00773   const int n1c1w2_e[] = {
00774     100, // Capacity
00775     50, // Number of items
00776     // Size of items (sorted)
00777     99,96,94,94,90,90,90,90,87,86,85,85,84,84,84,84,84,83,81,81,79,
00778     71,71,70,65,65,65,63,62,59,51,51,50,49,49,49,47,45,44,43,41,35,
00779     35,33,31,27,23,23,22,22
00780   };
00781   const int n1c1w2_f[] = {
00782     100, // Capacity
00783     50, // Number of items
00784     // Size of items (sorted)
00785     99,94,94,89,88,86,86,85,84,84,83,79,77,76,74,73,71,71,66,65,63,
00786     62,60,54,53,50,49,48,48,48,48,43,41,40,40,39,38,35,34,32,31,29,
00787     28,25,23,23,22,21,20,20
00788   };
00789   const int n1c1w2_g[] = {
00790     100, // Capacity
00791     50, // Number of items
00792     // Size of items (sorted)
00793     100,99,94,91,90,88,86,85,85,83,82,80,79,77,73,71,71,71,67,65,
00794     65,58,57,57,55,53,52,51,45,40,39,39,38,38,38,37,36,36,35,35,32,
00795     29,28,27,27,27,24,23,21,20
00796   };
00797   const int n1c1w2_h[] = {
00798     100, // Capacity
00799     50, // Number of items
00800     // Size of items (sorted)
00801     100,100,96,95,95,92,92,92,91,90,90,89,89,86,84,83,81,78,76,73,
00802     73,73,71,71,67,66,61,60,59,57,54,54,44,42,42,38,36,33,31,31,28,
00803     28,27,27,27,27,26,25,21,20
00804   };
00805   const int n1c1w2_i[] = {
00806     100, // Capacity
00807     50, // Number of items
00808     // Size of items (sorted)
00809     100,100,98,97,96,94,93,93,85,85,84,83,83,83,82,79,76,76,76,75,
00810     74,73,73,72,68,66,60,60,56,55,53,52,49,47,46,45,42,41,38,37,37,
00811     37,36,32,31,31,31,28,24,21
00812   };
00813   const int n1c1w2_j[] = {
00814     100, // Capacity
00815     50, // Number of items
00816     // Size of items (sorted)
00817     100,99,98,95,93,90,87,85,84,84,83,83,81,81,80,79,75,75,71,70,
00818     68,67,63,63,62,62,61,58,56,51,51,50,49,48,48,42,40,39,37,37,36,
00819     34,32,30,29,28,28,27,26,26
00820   };
00821   const int n1c1w2_k[] = {
00822     100, // Capacity
00823     50, // Number of items
00824     // Size of items (sorted)
00825     100,99,98,97,97,96,95,94,92,89,89,87,85,77,76,73,71,69,68,68,
00826     67,66,66,65,64,64,63,62,58,58,52,50,49,48,47,46,44,43,43,35,35,
00827     32,29,26,26,25,25,23,20,20
00828   };
00829   const int n1c1w2_l[] = {
00830     100, // Capacity
00831     50, // Number of items
00832     // Size of items (sorted)
00833     98,95,94,93,92,91,89,88,87,87,84,82,82,74,73,73,72,69,65,64,63,
00834     63,62,62,60,59,57,54,54,52,48,47,46,44,43,41,35,33,30,30,30,29,
00835     29,28,28,27,27,26,24,23
00836   };
00837   const int n1c1w2_m[] = {
00838     100, // Capacity
00839     50, // Number of items
00840     // Size of items (sorted)
00841     99,95,90,89,89,85,82,80,80,79,79,79,77,74,70,70,66,65,65,64,57,
00842     56,56,55,55,55,53,52,50,49,48,47,45,42,40,37,36,36,36,32,31,31,
00843     31,31,30,28,28,25,22,20
00844   };
00845   const int n1c1w2_n[] = {
00846     100, // Capacity
00847     50, // Number of items
00848     // Size of items (sorted)
00849     98,96,95,85,84,84,83,82,81,80,78,76,76,74,72,72,71,71,69,66,65,
00850     64,64,62,61,60,56,53,52,52,49,48,47,45,43,43,42,40,40,40,39,37,
00851     32,30,28,26,21,21,21,20
00852   };
00853   const int n1c1w2_o[] = {
00854     100, // Capacity
00855     50, // Number of items
00856     // Size of items (sorted)
00857     100,100,100,96,95,93,86,82,82,80,79,75,73,71,71,70,69,69,68,63,
00858     60,59,58,56,53,52,50,45,44,44,43,42,37,37,36,36,35,31,30,30,29,
00859     28,28,27,27,22,21,21,20,20
00860   };
00861   const int n1c1w2_p[] = {
00862     100, // Capacity
00863     50, // Number of items
00864     // Size of items (sorted)
00865     100,96,95,95,95,93,92,87,87,83,83,82,79,78,77,76,76,76,72,71,
00866     69,69,68,64,63,60,57,55,54,54,51,50,46,42,41,40,40,38,38,37,31,
00867     30,30,29,28,27,26,26,22,20
00868   };
00869   const int n1c1w2_q[] = {
00870     100, // Capacity
00871     50, // Number of items
00872     // Size of items (sorted)
00873     97,96,96,93,93,93,91,88,86,86,85,85,85,82,81,78,75,74,71,71,69,
00874     67,67,65,65,65,64,61,61,60,58,58,56,54,53,49,45,44,43,40,38,38,
00875     38,34,33,31,30,26,23,23
00876   };
00877   const int n1c1w2_r[] = {
00878     100, // Capacity
00879     50, // Number of items
00880     // Size of items (sorted)
00881     98,97,97,97,94,91,89,85,84,82,81,80,79,79,75,73,70,69,69,69,68,
00882     68,68,66,61,55,54,52,52,51,51,49,49,48,47,47,47,45,44,37,37,36,
00883     35,34,34,30,29,29,27,24
00884   };
00885   const int n1c1w2_s[] = {
00886     100, // Capacity
00887     50, // Number of items
00888     // Size of items (sorted)
00889     99,99,98,96,95,93,92,91,91,91,88,86,84,84,84,80,80,79,78,77,76,
00890     76,73,72,71,71,69,68,67,64,64,61,59,58,54,52,49,49,41,40,38,31,
00891     31,29,28,27,27,27,22,20
00892   };
00893   const int n1c1w2_t[] = {
00894     100, // Capacity
00895     50, // Number of items
00896     // Size of items (sorted)
00897     100,100,100,97,96,92,91,91,89,86,85,84,83,83,82,81,79,79,77,74,
00898     74,73,73,70,68,67,67,65,63,62,62,55,55,52,50,47,45,44,44,44,44,
00899     43,41,39,37,32,30,26,24,23
00900   };
00901   const int n1c1w4_a[] = {
00902     100, // Capacity
00903     50, // Number of items
00904     // Size of items (sorted)
00905     99,95,93,92,91,89,89,88,88,85,84,84,84,80,80,79,77,76,72,69,65,
00906     64,64,63,63,60,56,56,53,53,52,51,50,50,49,49,47,44,41,41,40,40,
00907     40,35,35,34,32,31,31,30
00908   };
00909   const int n1c1w4_b[] = {
00910     100, // Capacity
00911     50, // Number of items
00912     // Size of items (sorted)
00913     100,100,98,97,97,94,92,92,91,85,84,84,83,82,82,80,78,78,78,78,
00914     75,74,73,72,71,70,70,68,66,65,65,54,50,50,50,49,49,49,47,44,44,
00915     42,42,41,41,41,40,36,36,30
00916   };
00917   const int n1c1w4_c[] = {
00918     100, // Capacity
00919     50, // Number of items
00920     // Size of items (sorted)
00921     94,92,89,88,88,87,86,84,82,82,81,79,77,77,77,76,73,72,70,69,68,
00922     68,65,63,63,61,59,58,57,55,54,52,52,52,51,48,46,43,40,38,37,37,
00923     36,35,35,35,34,34,34,33
00924   };
00925   const int n1c1w4_d[] = {
00926     100, // Capacity
00927     50, // Number of items
00928     // Size of items (sorted)
00929     100,97,95,95,95,95,94,93,93,91,90,89,87,83,82,79,79,78,77,77,
00930     74,71,69,68,68,65,65,64,61,58,55,55,54,53,53,51,51,49,46,44,42,
00931     41,39,38,37,37,37,35,33,31
00932   };
00933   const int n1c1w4_e[] = {
00934     100, // Capacity
00935     50, // Number of items
00936     // Size of items (sorted)
00937     100,99,94,92,92,92,89,88,85,83,83,80,79,79,79,79,77,74,74,73,
00938     71,70,69,68,65,62,62,62,61,61,58,56,56,55,55,55,48,47,46,46,44,
00939     43,43,43,40,40,36,35,32,30
00940   };
00941   const int n1c1w4_f[] = {
00942     100, // Capacity
00943     50, // Number of items
00944     // Size of items (sorted)
00945     98,98,93,93,92,91,89,86,85,84,80,80,79,78,76,70,68,67,66,62,60,
00946     59,59,58,58,53,52,52,50,50,49,48,48,48,47,45,43,41,41,40,40,40,
00947     35,33,32,31,31,30,30,30
00948   };
00949   const int n1c1w4_g[] = {
00950     100, // Capacity
00951     50, // Number of items
00952     // Size of items (sorted)
00953     100,100,100,99,97,95,95,95,93,93,91,90,87,87,86,85,85,84,84,84,
00954     82,80,77,76,72,70,67,66,65,64,59,56,55,52,48,46,45,44,41,38,37,
00955     35,35,34,34,33,33,32,32,31
00956   };
00957   const int n1c1w4_h[] = {
00958     100, // Capacity
00959     50, // Number of items
00960     // Size of items (sorted)
00961     100,100,99,98,98,97,96,92,91,91,91,87,86,85,83,83,81,79,78,78,
00962     75,75,75,74,73,73,70,66,66,65,64,64,63,62,61,60,59,56,55,54,46,
00963     45,44,41,37,35,34,32,31,30
00964   };
00965   const int n1c1w4_i[] = {
00966     100, // Capacity
00967     50, // Number of items
00968     // Size of items (sorted)
00969     95,92,91,91,90,88,87,87,86,86,85,81,79,76,76,76,72,72,69,65,63,
00970     63,63,63,61,61,59,59,58,56,54,54,52,51,50,47,47,45,45,45,43,40,
00971     40,36,35,35,34,32,32,31
00972   };
00973   const int n1c1w4_j[] = {
00974     100, // Capacity
00975     50, // Number of items
00976     // Size of items (sorted)
00977     99,98,93,93,92,90,88,87,87,83,83,81,78,77,77,77,76,75,73,73,71,
00978     68,66,64,63,63,63,62,60,59,58,54,53,52,52,51,49,47,47,42,42,41,
00979     40,40,40,39,35,32,32,31
00980   };
00981   const int n1c1w4_k[] = {
00982     100, // Capacity
00983     50, // Number of items
00984     // Size of items (sorted)
00985     100,98,95,94,94,94,93,92,87,85,85,84,83,82,81,78,78,75,73,72,
00986     71,71,70,70,68,67,67,66,65,64,60,59,58,57,56,56,56,55,55,54,51,
00987     49,46,45,43,43,43,37,36,35
00988   };
00989   const int n1c1w4_l[] = {
00990     100, // Capacity
00991     50, // Number of items
00992     // Size of items (sorted)
00993     100,99,98,98,97,96,95,91,91,90,88,88,87,86,81,80,79,76,75,67,
00994     66,65,65,64,60,59,59,58,57,57,55,53,53,50,49,49,49,46,44,43,42,
00995     38,37,37,36,35,34,34,31,30
00996   };
00997   const int n1c1w4_m[] = {
00998     100, // Capacity
00999     50, // Number of items
01000     // Size of items (sorted)
01001     100,99,99,94,93,92,91,89,88,88,87,80,79,77,75,74,73,71,71,71,
01002     69,66,64,64,64,63,63,63,62,60,60,59,59,59,55,55,55,53,51,49,49,
01003     48,46,46,45,42,42,34,33,31
01004   };
01005   const int n1c1w4_n[] = {
01006     100, // Capacity
01007     50, // Number of items
01008     // Size of items (sorted)
01009     99,97,97,96,96,95,94,93,92,90,86,85,85,84,82,82,82,80,79,75,73,
01010     72,72,71,70,69,69,68,68,66,65,63,61,60,57,55,53,49,48,47,44,41,
01011     41,39,36,34,32,31,31,31
01012   };
01013   const int n1c1w4_o[] = {
01014     100, // Capacity
01015     50, // Number of items
01016     // Size of items (sorted)
01017     100,90,89,89,89,87,84,81,80,77,77,77,74,71,71,71,67,66,65,63,
01018     62,61,60,59,59,57,56,56,54,54,51,51,49,48,48,47,47,46,40,39,37,
01019     36,36,35,34,34,33,32,31,30
01020   };
01021   const int n1c1w4_p[] = {
01022     100, // Capacity
01023     50, // Number of items
01024     // Size of items (sorted)
01025     99,98,95,95,93,93,90,88,87,87,85,83,82,80,79,79,79,77,74,74,73,
01026     73,72,71,70,66,63,61,61,61,60,60,59,57,55,54,51,48,45,43,42,39,
01027     39,37,37,36,36,35,32,32
01028   };
01029   const int n1c1w4_q[] = {
01030     100, // Capacity
01031     50, // Number of items
01032     // Size of items (sorted)
01033     95,94,92,91,91,91,90,89,89,84,84,82,79,74,74,74,70,69,68,67,63,
01034     62,59,59,57,56,56,55,53,52,51,50,50,49,48,48,47,45,43,42,41,41,
01035     41,40,38,35,35,32,31,30
01036   };
01037   const int n1c1w4_r[] = {
01038     100, // Capacity
01039     50, // Number of items
01040     // Size of items (sorted)
01041     100,99,98,97,95,94,93,93,93,92,92,92,92,85,85,83,81,79,77,76,
01042     75,73,71,70,70,69,66,63,60,60,59,59,58,58,57,49,48,47,45,42,41,
01043     41,40,38,38,36,36,35,34,30
01044   };
01045   const int n1c1w4_s[] = {
01046     100, // Capacity
01047     50, // Number of items
01048     // Size of items (sorted)
01049     99,99,98,97,97,94,94,93,91,90,87,87,86,85,85,81,80,78,78,77,76,
01050     72,66,66,64,59,58,57,57,53,52,50,50,50,48,48,47,46,43,40,39,37,
01051     37,36,36,35,33,32,30,30
01052   };
01053   const int n1c1w4_t[] = {
01054     100, // Capacity
01055     50, // Number of items
01056     // Size of items (sorted)
01057     98,96,94,87,86,85,83,81,80,79,77,77,76,75,72,70,69,69,69,68,68,
01058     68,68,67,67,66,65,65,63,62,60,60,60,59,58,56,53,53,52,52,50,50,
01059     49,45,45,44,39,36,32,30
01060   };
01061   const int n1c2w1_a[] = {
01062     120, // Capacity
01063     50, // Number of items
01064     // Size of items (sorted)
01065     100,97,96,92,89,88,88,87,83,75,75,72,71,70,69,66,63,62,62,61,
01066     60,58,50,47,46,40,40,37,36,32,31,30,28,27,27,26,24,18,16,14,13,
01067     12,10,10,10,8,7,5,4,2
01068   };
01069   const int n1c2w1_b[] = {
01070     120, // Capacity
01071     50, // Number of items
01072     // Size of items (sorted)
01073     99,96,96,96,95,95,94,90,90,88,87,84,82,78,77,77,77,75,75,70,70,
01074     69,68,56,54,53,53,50,50,49,48,47,45,38,36,35,34,28,25,21,19,18,
01075     16,13,13,7,7,6,3,3
01076   };
01077   const int n1c2w1_c[] = {
01078     120, // Capacity
01079     50, // Number of items
01080     // Size of items (sorted)
01081     100,97,96,92,89,86,83,83,82,79,77,76,73,73,70,69,69,61,60,60,
01082     60,58,56,56,53,51,49,48,48,48,47,46,42,41,36,35,34,32,32,32,31,
01083     22,17,12,12,6,6,5,3,2
01084   };
01085   const int n1c2w1_d[] = {
01086     120, // Capacity
01087     50, // Number of items
01088     // Size of items (sorted)
01089     98,96,96,87,87,87,86,85,83,83,82,81,77,74,67,65,64,64,63,60,57,
01090     57,56,55,50,49,46,43,43,42,37,33,31,31,27,27,26,25,23,23,19,18,
01091     15,13,10,9,6,3,2,1
01092   };
01093   const int n1c2w1_e[] = {
01094     120, // Capacity
01095     50, // Number of items
01096     // Size of items (sorted)
01097     94,92,89,89,87,82,82,81,80,80,78,71,70,67,66,63,58,52,50,48,46,
01098     36,34,33,31,30,27,26,21,21,20,19,18,18,17,12,11,11,11,11,10,10,
01099     7,7,7,6,5,5,4,3
01100   };
01101   const int n1c2w1_f[] = {
01102     120, // Capacity
01103     50, // Number of items
01104     // Size of items (sorted)
01105     99,95,95,94,91,90,89,84,82,81,78,78,77,73,72,69,62,60,59,58,56,
01106     56,52,52,51,48,48,47,47,45,43,42,38,32,32,31,28,28,28,26,23,21,
01107     20,18,14,12,8,3,2,1
01108   };
01109   const int n1c2w1_g[] = {
01110     120, // Capacity
01111     50, // Number of items
01112     // Size of items (sorted)
01113     100,100,99,96,96,95,94,90,88,84,81,79,76,70,67,65,60,60,57,57,
01114     56,52,47,45,44,42,39,37,36,36,35,31,31,28,27,27,25,19,18,17,14,
01115     14,12,9,9,9,9,3,2,1
01116   };
01117   const int n1c2w1_h[] = {
01118     120, // Capacity
01119     50, // Number of items
01120     // Size of items (sorted)
01121     99,97,94,94,90,90,87,83,82,81,79,77,76,76,75,74,72,67,66,65,63,
01122     59,59,55,51,50,50,49,47,41,41,39,38,38,37,37,35,34,33,33,21,20,
01123     18,15,14,9,8,3,1,1
01124   };
01125   const int n1c2w1_i[] = {
01126     120, // Capacity
01127     50, // Number of items
01128     // Size of items (sorted)
01129     100,100,89,89,89,89,88,87,81,78,78,77,76,75,74,73,70,70,69,66,
01130     66,64,64,64,63,61,60,58,54,52,51,50,49,48,48,48,46,45,45,43,40,
01131     39,35,34,33,24,9,4,4,1
01132   };
01133   const int n1c2w1_j[] = {
01134     120, // Capacity
01135     50, // Number of items
01136     // Size of items (sorted)
01137     99,98,96,96,95,92,91,89,88,87,86,84,82,82,79,79,78,77,75,72,69,
01138     66,64,63,61,60,56,55,54,54,49,49,48,44,44,44,41,41,39,27,23,22,
01139     22,21,15,13,7,5,3,1
01140   };
01141   const int n1c2w1_k[] = {
01142     120, // Capacity
01143     50, // Number of items
01144     // Size of items (sorted)
01145     97,96,96,94,94,91,88,87,85,81,81,77,74,74,74,71,69,68,68,66,65,
01146     63,60,59,57,57,46,46,45,45,44,43,41,37,35,35,32,30,28,27,25,23,
01147     23,19,18,16,14,14,10,8
01148   };
01149   const int n1c2w1_l[] = {
01150     120, // Capacity
01151     50, // Number of items
01152     // Size of items (sorted)
01153     98,98,98,97,97,93,92,91,90,89,89,82,82,77,76,75,74,74,73,63,62,
01154     62,61,60,56,51,49,49,47,47,45,44,43,42,39,37,33,33,32,28,25,21,
01155     20,19,11,11,6,3,2,1
01156   };
01157   const int n1c2w1_m[] = {
01158     120, // Capacity
01159     50, // Number of items
01160     // Size of items (sorted)
01161     100,99,98,98,95,93,92,89,80,80,78,77,77,73,72,71,71,71,70,70,
01162     67,66,66,65,64,60,59,53,50,48,48,47,47,45,39,38,37,33,33,28,27,
01163     19,15,14,14,12,9,9,9,1
01164   };
01165   const int n1c2w1_n[] = {
01166     120, // Capacity
01167     50, // Number of items
01168     // Size of items (sorted)
01169     93,87,85,85,82,79,76,75,70,70,69,69,68,67,66,64,62,61,59,58,58,
01170     57,56,56,55,53,53,49,45,45,43,42,40,30,30,24,24,22,22,21,20,18,
01171     18,14,13,11,9,9,6,3
01172   };
01173   const int n1c2w1_o[] = {
01174     120, // Capacity
01175     50, // Number of items
01176     // Size of items (sorted)
01177     99,86,83,83,78,76,68,59,58,58,54,53,53,51,51,48,47,45,43,40,37,
01178     32,32,32,32,31,31,28,24,22,20,19,19,19,19,15,14,13,12,12,11,10,
01179     10,10,10,6,5,4,2,1
01180   };
01181   const int n1c2w1_p[] = {
01182     120, // Capacity
01183     50, // Number of items
01184     // Size of items (sorted)
01185     97,96,94,94,93,80,79,78,77,77,76,76,72,72,71,70,67,67,63,60,59,
01186     55,54,52,51,49,48,47,46,43,34,32,28,27,27,26,25,23,22,20,17,14,
01187     13,12,12,10,5,4,3,2
01188   };
01189   const int n1c2w1_q[] = {
01190     120, // Capacity
01191     50, // Number of items
01192     // Size of items (sorted)
01193     98,96,95,91,91,90,88,87,83,83,77,74,73,72,72,70,70,67,66,66,63,
01194     60,59,58,58,57,56,55,54,45,45,41,31,31,29,26,24,21,18,16,16,15,
01195     14,14,9,9,8,8,6,2
01196   };
01197   const int n1c2w1_r[] = {
01198     120, // Capacity
01199     50, // Number of items
01200     // Size of items (sorted)
01201     100,99,98,96,95,95,92,91,87,85,85,84,78,78,77,76,74,69,68,67,
01202     65,64,62,55,52,45,43,41,40,38,33,29,27,27,26,24,24,24,23,22,22,
01203     21,14,13,12,10,8,2,1,1
01204   };
01205   const int n1c2w1_s[] = {
01206     120, // Capacity
01207     50, // Number of items
01208     // Size of items (sorted)
01209     97,93,92,90,87,83,82,82,80,80,78,78,72,71,68,67,63,62,60,59,56,
01210     56,55,54,54,51,50,48,46,45,42,41,35,32,32,28,26,25,25,25,24,22,
01211     21,21,14,12,10,9,9,7
01212   };
01213   const int n1c2w1_t[] = {
01214     120, // Capacity
01215     50, // Number of items
01216     // Size of items (sorted)
01217     100,93,93,89,89,87,81,81,79,78,77,70,68,67,66,66,65,64,62,61,
01218     60,57,53,53,52,52,52,48,44,44,43,43,42,41,39,39,37,35,34,30,30,
01219     29,26,25,16,16,10,10,7,6
01220   };
01221   const int n1c2w2_a[] = {
01222     120, // Capacity
01223     50, // Number of items
01224     // Size of items (sorted)
01225     100,97,97,95,93,87,87,86,82,82,78,76,76,75,74,71,68,66,65,63,
01226     59,59,58,58,57,52,51,46,46,46,43,42,42,41,41,41,38,37,36,36,32,
01227     32,31,30,27,25,22,22,22,21
01228   };
01229   const int n1c2w2_b[] = {
01230     120, // Capacity
01231     50, // Number of items
01232     // Size of items (sorted)
01233     100,98,98,97,95,94,90,90,89,86,85,83,81,79,79,74,72,72,71,68,
01234     67,65,64,64,62,59,58,56,55,55,54,51,51,50,47,46,45,44,43,40,36,
01235     34,33,31,29,28,27,27,26,21
01236   };
01237   const int n1c2w2_c[] = {
01238     120, // Capacity
01239     50, // Number of items
01240     // Size of items (sorted)
01241     100,98,97,95,93,91,90,87,85,83,83,81,81,79,76,74,74,73,73,71,
01242     71,70,67,67,66,62,62,60,57,54,54,53,52,51,51,50,49,48,48,45,44,
01243     44,40,36,34,32,31,27,26,20
01244   };
01245   const int n1c2w2_d[] = {
01246     120, // Capacity
01247     50, // Number of items
01248     // Size of items (sorted)
01249     99,98,98,97,96,90,88,86,82,82,80,79,76,76,76,74,69,67,66,64,62,
01250     59,55,52,51,51,50,49,44,43,41,41,41,41,41,37,35,33,32,32,31,31,
01251     31,30,29,23,23,22,20,20
01252   };
01253   const int n1c2w2_e[] = {
01254     120, // Capacity
01255     50, // Number of items
01256     // Size of items (sorted)
01257     100,99,99,99,99,98,98,94,93,92,92,89,89,89,84,83,80,80,78,77,
01258     75,74,74,70,70,68,68,66,63,62,60,59,58,58,58,55,54,53,52,49,42,
01259     41,36,35,35,31,26,23,22,20
01260   };
01261   const int n1c2w2_f[] = {
01262     120, // Capacity
01263     50, // Number of items
01264     // Size of items (sorted)
01265     100,100,99,99,98,91,90,84,83,81,78,78,75,73,72,72,71,70,68,66,
01266     62,59,58,58,57,54,53,53,51,51,51,51,48,45,45,42,42,39,37,37,35,
01267     32,31,31,26,26,25,21,21,20
01268   };
01269   const int n1c2w2_g[] = {
01270     120, // Capacity
01271     50, // Number of items
01272     // Size of items (sorted)
01273     100,97,94,93,93,91,89,89,86,85,85,82,81,80,80,80,80,79,77,75,
01274     74,72,67,67,63,62,59,58,58,57,54,54,53,51,48,47,46,44,44,41,41,
01275     39,36,35,33,32,32,29,28,24
01276   };
01277   const int n1c2w2_h[] = {
01278     120, // Capacity
01279     50, // Number of items
01280     // Size of items (sorted)
01281     99,98,93,93,91,88,85,82,80,78,76,70,68,67,66,65,61,61,57,56,56,
01282     53,52,52,52,51,48,47,46,44,43,43,43,41,41,41,37,37,36,36,35,33,
01283     33,32,31,27,26,22,22,21
01284   };
01285   const int n1c2w2_i[] = {
01286     120, // Capacity
01287     50, // Number of items
01288     // Size of items (sorted)
01289     96,92,92,91,91,90,89,88,83,83,81,79,77,76,76,71,70,68,68,66,63,
01290     63,63,62,60,60,58,57,53,53,52,52,49,47,45,44,41,38,37,34,33,32,
01291     31,29,27,26,25,23,21,21
01292   };
01293   const int n1c2w2_j[] = {
01294     120, // Capacity
01295     50, // Number of items
01296     // Size of items (sorted)
01297     100,98,96,95,95,93,91,89,89,88,88,81,80,78,73,72,69,67,64,61,
01298     60,54,52,52,51,50,50,49,49,47,46,44,43,42,41,40,40,39,36,33,33,
01299     28,26,26,25,23,22,22,22,20
01300   };
01301   const int n1c2w2_k[] = {
01302     120, // Capacity
01303     50, // Number of items
01304     // Size of items (sorted)
01305     97,97,95,91,91,89,85,85,82,82,81,75,74,73,70,70,70,69,68,67,67,
01306     67,65,63,63,63,62,61,60,60,55,48,46,45,45,45,45,44,43,43,42,41,
01307     39,37,36,30,28,22,22,22
01308   };
01309   const int n1c2w2_l[] = {
01310     120, // Capacity
01311     50, // Number of items
01312     // Size of items (sorted)
01313     96,95,93,92,90,87,87,86,86,86,85,84,83,82,78,78,78,78,77,76,76,
01314     72,72,71,70,68,65,65,62,59,58,51,42,42,40,38,38,36,34,34,33,32,
01315     30,29,29,27,26,25,24,23
01316   };
01317   const int n1c2w2_m[] = {
01318     120, // Capacity
01319     50, // Number of items
01320     // Size of items (sorted)
01321     100,99,99,99,97,95,95,94,93,92,92,88,86,86,86,84,79,78,78,77,
01322     76,69,68,65,61,60,58,57,57,55,54,54,53,53,52,52,51,48,47,43,43,
01323     40,39,38,36,34,33,28,27,25
01324   };
01325   const int n1c2w2_n[] = {
01326     120, // Capacity
01327     50, // Number of items
01328     // Size of items (sorted)
01329     99,97,95,94,88,87,85,83,82,78,75,72,71,71,70,69,67,67,65,64,63,
01330     62,59,59,58,58,58,58,58,54,53,53,52,49,49,48,45,45,44,43,43,42,
01331     40,38,36,34,30,30,24,20
01332   };
01333   const int n1c2w2_o[] = {
01334     120, // Capacity
01335     50, // Number of items
01336     // Size of items (sorted)
01337     100,99,98,96,94,90,89,88,88,86,84,81,81,80,79,79,78,76,72,72,
01338     72,68,68,65,63,63,63,62,62,57,57,55,48,48,47,45,44,44,41,39,36,
01339     33,31,30,28,26,25,24,22,20
01340   };
01341   const int n1c2w2_p[] = {
01342     120, // Capacity
01343     50, // Number of items
01344     // Size of items (sorted)
01345     94,93,91,90,90,88,87,82,77,75,72,71,70,70,69,69,66,65,63,59,57,
01346     56,53,51,48,48,48,47,44,44,43,42,41,40,39,38,37,36,36,32,31,31,
01347     29,29,27,23,23,21,20,20
01348   };
01349   const int n1c2w2_q[] = {
01350     120, // Capacity
01351     50, // Number of items
01352     // Size of items (sorted)
01353     96,96,91,90,89,86,86,84,83,83,82,82,82,82,79,75,73,72,71,69,68,
01354     67,67,66,65,63,62,61,59,59,59,59,58,56,56,55,54,53,50,45,41,39,
01355     35,33,29,25,24,21,20,20
01356   };
01357   const int n1c2w2_r[] = {
01358     120, // Capacity
01359     50, // Number of items
01360     // Size of items (sorted)
01361     99,98,96,91,88,88,86,86,82,82,81,78,77,77,76,76,72,72,70,68,67,
01362     64,61,60,59,56,55,49,48,47,47,46,44,43,43,42,40,40,39,38,35,34,
01363     30,30,29,27,26,21,20,20
01364   };
01365   const int n1c2w2_s[] = {
01366     120, // Capacity
01367     50, // Number of items
01368     // Size of items (sorted)
01369     100,94,94,92,91,87,87,85,82,78,76,75,72,72,72,69,61,61,61,61,
01370     61,56,55,54,53,51,51,50,47,44,44,44,44,42,42,39,38,36,34,33,33,
01371     32,31,30,29,28,26,25,23,23
01372   };
01373   const int n1c2w2_t[] = {
01374     120, // Capacity
01375     50, // Number of items
01376     // Size of items (sorted)
01377     100,96,96,91,84,83,83,83,81,81,80,80,77,77,72,70,70,68,68,67,
01378     65,64,63,62,60,59,58,51,51,50,49,47,47,47,46,45,43,43,41,38,37,
01379     36,35,31,31,29,28,27,26,20
01380   };
01381   const int n1c2w4_a[] = {
01382     120, // Capacity
01383     50, // Number of items
01384     // Size of items (sorted)
01385     100,99,97,97,96,96,95,92,92,90,90,88,87,87,85,84,83,82,81,79,
01386     74,68,68,63,59,58,56,55,55,51,50,49,49,49,47,44,44,42,39,37,37,
01387     34,34,34,33,33,31,30,30,30
01388   };
01389   const int n1c2w4_b[] = {
01390     120, // Capacity
01391     50, // Number of items
01392     // Size of items (sorted)
01393     99,96,94,93,93,91,87,87,87,84,84,83,83,83,83,83,82,81,81,78,77,
01394     77,77,76,67,65,61,61,59,58,53,53,50,49,48,47,47,46,46,44,43,42,
01395     41,41,38,35,34,32,32,31
01396   };
01397   const int n1c2w4_c[] = {
01398     120, // Capacity
01399     50, // Number of items
01400     // Size of items (sorted)
01401     100,100,99,96,96,93,91,90,90,87,84,83,80,80,80,75,74,72,72,71,
01402     71,70,69,66,65,63,60,58,57,56,54,54,53,53,53,51,51,49,46,43,40,
01403     39,38,37,37,34,33,33,31,31
01404   };
01405   const int n1c2w4_d[] = {
01406     120, // Capacity
01407     50, // Number of items
01408     // Size of items (sorted)
01409     97,97,96,94,93,91,89,89,86,83,79,78,77,77,77,75,75,74,71,68,68,
01410     67,65,63,61,61,58,57,56,54,48,46,44,43,41,41,40,38,36,36,35,35,
01411     35,35,35,34,33,33,33,31
01412   };
01413   const int n1c2w4_e[] = {
01414     120, // Capacity
01415     50, // Number of items
01416     // Size of items (sorted)
01417     100,99,99,97,97,96,96,96,93,93,91,84,83,81,79,78,77,74,71,67,
01418     66,63,62,61,61,61,59,59,59,58,57,56,54,54,53,53,51,50,49,48,45,
01419     45,45,40,40,39,39,34,32,30
01420   };
01421   const int n1c2w4_f[] = {
01422     120, // Capacity
01423     50, // Number of items
01424     // Size of items (sorted)
01425     99,98,98,97,96,93,88,86,86,85,85,81,80,80,77,76,74,73,73,72,69,
01426     69,67,66,66,65,64,63,63,62,60,59,59,59,54,54,51,49,49,46,43,43,
01427     38,38,38,38,36,36,35,33
01428   };
01429   const int n1c2w4_g[] = {
01430     120, // Capacity
01431     50, // Number of items
01432     // Size of items (sorted)
01433     100,99,99,97,95,93,91,91,90,90,88,88,87,86,82,80,79,75,70,69,
01434     68,66,66,64,62,62,61,60,60,57,56,55,53,51,47,46,44,42,38,37,36,
01435     36,36,36,35,35,32,32,31,31
01436   };
01437   const int n1c2w4_h[] = {
01438     120, // Capacity
01439     50, // Number of items
01440     // Size of items (sorted)
01441     99,98,97,95,94,93,93,93,92,91,91,89,86,85,81,77,74,70,69,68,67,
01442     66,66,65,63,62,61,60,59,58,57,57,56,56,52,50,49,48,47,43,43,43,
01443     40,39,37,36,36,35,30,30
01444   };
01445   const int n1c2w4_i[] = {
01446     120, // Capacity
01447     50, // Number of items
01448     // Size of items (sorted)
01449     97,92,91,88,87,86,85,85,84,84,84,83,80,80,79,78,76,76,76,76,75,
01450     75,75,74,74,74,72,71,71,70,67,63,59,59,57,55,55,54,50,49,44,42,
01451     40,38,37,35,31,31,30,30
01452   };
01453   const int n1c2w4_j[] = {
01454     120, // Capacity
01455     50, // Number of items
01456     // Size of items (sorted)
01457     100,97,96,90,86,84,83,82,79,78,76,74,72,70,70,70,68,68,67,67,
01458     66,66,66,65,64,64,63,63,62,59,57,57,57,55,54,54,51,49,48,47,43,
01459     41,40,40,37,37,34,33,32,32
01460   };
01461   const int n1c2w4_k[] = {
01462     120, // Capacity
01463     50, // Number of items
01464     // Size of items (sorted)
01465     100,100,100,99,98,93,91,89,88,87,84,82,80,80,78,78,77,77,77,76,
01466     75,75,73,71,71,70,65,61,61,60,59,58,58,55,53,52,51,49,49,44,43,
01467     42,40,40,40,39,38,38,32,32
01468   };
01469   const int n1c2w4_l[] = {
01470     120, // Capacity
01471     50, // Number of items
01472     // Size of items (sorted)
01473     99,99,98,98,94,93,92,90,90,89,89,88,84,81,79,78,77,77,76,75,74,
01474     72,72,70,69,66,64,63,60,57,57,56,54,52,47,45,43,43,43,41,40,39,
01475     39,38,37,37,36,35,34,30
01476   };
01477   const int n1c2w4_m[] = {
01478     120, // Capacity
01479     50, // Number of items
01480     // Size of items (sorted)
01481     99,99,99,97,95,94,92,91,90,90,90,90,88,83,79,78,78,76,76,70,68,
01482     67,66,63,62,62,61,60,58,58,58,58,56,56,55,54,53,51,50,48,48,47,
01483     42,37,37,37,36,32,31,30
01484   };
01485   const int n1c2w4_n[] = {
01486     120, // Capacity
01487     50, // Number of items
01488     // Size of items (sorted)
01489     98,96,93,92,91,91,91,90,90,90,89,89,88,88,84,82,77,76,76,75,74,
01490     73,72,69,69,66,65,59,59,58,57,56,54,53,52,52,51,51,49,48,47,47,
01491     46,42,41,40,39,36,35,33
01492   };
01493   const int n1c2w4_o[] = {
01494     120, // Capacity
01495     50, // Number of items
01496     // Size of items (sorted)
01497     100,97,94,93,91,91,86,84,83,78,78,78,77,77,77,77,75,74,74,73,
01498     71,69,68,64,64,62,62,61,57,54,54,53,50,49,49,48,47,47,47,46,45,
01499     45,44,44,42,40,39,35,35,35
01500   };
01501   const int n1c2w4_p[] = {
01502     120, // Capacity
01503     50, // Number of items
01504     // Size of items (sorted)
01505     98,98,95,95,93,91,91,89,89,87,83,83,82,78,77,76,75,74,72,67,62,
01506     61,59,57,55,55,54,52,50,49,49,48,47,47,45,45,44,44,43,43,42,40,
01507     39,39,38,37,36,33,33,31
01508   };
01509   const int n1c2w4_q[] = {
01510     120, // Capacity
01511     50, // Number of items
01512     // Size of items (sorted)
01513     100,98,98,98,91,90,90,88,87,87,87,86,86,83,82,81,80,80,76,73,
01514     72,71,71,70,69,68,68,67,67,66,65,64,60,54,53,52,52,47,46,46,46,
01515     41,40,37,37,36,36,35,34,33
01516   };
01517   const int n1c2w4_r[] = {
01518     120, // Capacity
01519     50, // Number of items
01520     // Size of items (sorted)
01521     100,99,99,98,95,95,95,94,90,87,87,86,85,85,83,82,80,79,79,76,
01522     73,73,72,71,70,69,69,68,68,66,65,63,63,62,58,57,56,55,54,53,52,
01523     49,47,46,46,43,42,35,34,31
01524   };
01525   const int n1c2w4_s[] = {
01526     120, // Capacity
01527     50, // Number of items
01528     // Size of items (sorted)
01529     98,98,93,93,93,92,92,92,92,90,89,86,86,85,85,84,83,83,83,81,81,
01530     78,77,77,75,74,71,70,70,68,66,66,65,65,63,62,61,61,59,57,50,50,
01531     49,49,47,44,40,32,31,30
01532   };
01533   const int n1c2w4_t[] = {
01534     120, // Capacity
01535     50, // Number of items
01536     // Size of items (sorted)
01537     97,95,91,89,88,87,86,83,82,82,81,73,73,69,69,68,68,68,65,62,61,
01538     60,60,60,58,58,58,56,55,54,54,52,51,51,51,49,49,47,45,44,43,42,
01539     42,41,41,40,36,33,30,30
01540   };
01541   const int n1c3w1_a[] = {
01542     150, // Capacity
01543     50, // Number of items
01544     // Size of items (sorted)
01545     100,100,96,94,90,88,87,85,83,81,80,80,77,74,65,62,62,62,61,59,
01546     59,57,54,51,45,45,40,38,37,37,37,36,29,29,27,26,22,22,21,17,14,
01547     14,8,7,6,5,5,3,3,1
01548   };
01549   const int n1c3w1_b[] = {
01550     150, // Capacity
01551     50, // Number of items
01552     // Size of items (sorted)
01553     95,88,88,86,85,84,84,82,81,79,72,71,69,69,69,68,68,65,61,61,61,
01554     61,60,58,57,57,53,44,43,36,29,29,27,23,23,22,21,17,14,14,14,13,
01555     12,11,11,6,5,3,3,2
01556   };
01557   const int n1c3w1_c[] = {
01558     150, // Capacity
01559     50, // Number of items
01560     // Size of items (sorted)
01561     100,99,95,94,87,85,85,83,81,81,80,80,77,76,75,74,73,73,72,66,
01562     63,60,52,50,47,45,44,43,39,39,38,38,35,34,33,32,25,25,23,20,17,
01563     15,15,14,12,11,10,10,8,8
01564   };
01565   const int n1c3w1_d[] = {
01566     150, // Capacity
01567     50, // Number of items
01568     // Size of items (sorted)
01569     99,96,95,95,92,91,90,86,86,86,85,80,77,77,76,76,71,70,70,69,68,
01570     64,64,61,60,60,56,55,53,52,50,48,44,41,40,38,38,37,35,21,19,14,
01571     12,9,6,6,6,4,3,2
01572   };
01573   const int n1c3w1_e[] = {
01574     150, // Capacity
01575     50, // Number of items
01576     // Size of items (sorted)
01577     99,97,97,96,95,89,88,83,81,81,79,77,76,75,74,61,55,51,50,50,48,
01578     48,47,46,45,42,42,38,35,34,32,32,31,26,25,21,14,13,11,10,9,9,
01579     9,8,8,7,5,5,5,1
01580   };
01581   const int n1c3w1_f[] = {
01582     150, // Capacity
01583     50, // Number of items
01584     // Size of items (sorted)
01585     100,98,97,96,95,93,92,88,88,86,84,83,80,80,78,77,76,76,76,74,
01586     73,70,69,68,65,64,63,62,62,61,60,60,53,51,51,42,41,28,26,23,22,
01587     21,16,13,9,9,7,5,2,2
01588   };
01589   const int n1c3w1_g[] = {
01590     150, // Capacity
01591     50, // Number of items
01592     // Size of items (sorted)
01593     97,92,91,91,88,86,85,84,79,76,75,67,66,65,62,61,61,58,54,54,50,
01594     47,46,45,44,44,42,37,37,30,27,27,26,23,23,21,20,20,19,13,12,11,
01595     10,9,9,6,5,5,5,1
01596   };
01597   const int n1c3w1_h[] = {
01598     150, // Capacity
01599     50, // Number of items
01600     // Size of items (sorted)
01601     99,91,89,89,89,88,86,85,83,82,80,80,80,80,78,76,73,69,67,66,65,
01602     65,64,64,60,60,57,56,56,52,51,45,43,42,42,38,37,32,32,32,29,28,
01603     26,25,18,15,10,6,6,4
01604   };
01605   const int n1c3w1_i[] = {
01606     150, // Capacity
01607     50, // Number of items
01608     // Size of items (sorted)
01609     100,98,97,95,87,87,87,84,80,77,76,73,71,66,66,62,61,60,60,60,
01610     57,56,53,52,51,49,46,44,44,43,43,38,33,31,30,29,29,28,24,22,18,
01611     17,16,16,16,15,12,8,3,2
01612   };
01613   const int n1c3w1_j[] = {
01614     150, // Capacity
01615     50, // Number of items
01616     // Size of items (sorted)
01617     99,98,92,91,90,88,87,86,82,80,77,74,73,72,72,71,69,69,63,61,55,
01618     54,53,50,48,48,48,37,37,37,34,33,32,29,26,22,19,17,15,14,10,9,
01619     7,3,3,2,2,2,1,1
01620   };
01621   const int n1c3w1_k[] = {
01622     150, // Capacity
01623     50, // Number of items
01624     // Size of items (sorted)
01625     100,96,95,94,94,92,92,90,86,84,77,73,66,66,59,56,56,56,55,54,
01626     53,53,53,52,49,48,47,45,45,45,41,41,41,37,36,24,22,21,20,18,16,
01627     15,14,14,13,12,10,8,4,1
01628   };
01629   const int n1c3w1_l[] = {
01630     150, // Capacity
01631     50, // Number of items
01632     // Size of items (sorted)
01633     99,99,93,93,90,90,87,87,81,81,80,78,77,76,68,64,63,62,60,60,59,
01634     58,53,52,52,47,45,44,44,42,39,39,36,35,29,29,28,26,25,18,9,7,
01635     7,7,7,6,5,5,5,1
01636   };
01637   const int n1c3w1_m[] = {
01638     150, // Capacity
01639     50, // Number of items
01640     // Size of items (sorted)
01641     100,100,99,94,90,88,88,86,86,84,84,80,77,73,70,69,69,66,66,61,
01642     58,58,57,57,52,51,47,44,43,42,36,34,28,27,26,25,21,18,18,17,13,
01643     12,12,12,11,9,8,7,4,4
01644   };
01645   const int n1c3w1_n[] = {
01646     150, // Capacity
01647     50, // Number of items
01648     // Size of items (sorted)
01649     98,97,91,90,90,90,88,87,87,85,83,81,79,78,78,76,74,74,73,72,68,
01650     66,64,63,61,57,56,56,56,55,55,48,48,46,44,44,39,37,35,35,34,32,
01651     31,29,27,26,19,18,17,11
01652   };
01653   const int n1c3w1_o[] = {
01654     150, // Capacity
01655     50, // Number of items
01656     // Size of items (sorted)
01657     96,96,96,94,94,87,86,84,84,83,82,82,80,77,75,57,57,56,55,54,52,
01658     51,48,48,48,46,46,45,42,34,34,34,32,32,30,23,16,16,16,15,15,14,
01659     12,10,6,6,3,1,1,1
01660   };
01661   const int n1c3w1_p[] = {
01662     150, // Capacity
01663     50, // Number of items
01664     // Size of items (sorted)
01665     99,99,98,98,96,93,93,92,91,89,85,82,80,79,78,73,73,71,70,69,69,
01666     61,61,55,54,52,47,47,46,43,43,42,41,38,36,35,34,28,27,25,24,21,
01667     17,13,10,9,6,5,5,2
01668   };
01669   const int n1c3w1_q[] = {
01670     150, // Capacity
01671     50, // Number of items
01672     // Size of items (sorted)
01673     100,100,100,100,98,96,95,93,90,89,86,86,85,85,84,81,79,78,74,
01674     70,69,68,66,62,62,61,58,56,55,54,53,51,48,44,42,40,36,35,33,32,
01675     31,24,23,23,18,13,12,4,4,2
01676   };
01677   const int n1c3w1_r[] = {
01678     150, // Capacity
01679     50, // Number of items
01680     // Size of items (sorted)
01681     100,99,97,97,97,95,94,91,88,87,87,86,86,86,82,77,77,75,74,73,
01682     72,71,70,65,63,62,60,59,56,56,51,50,50,49,49,47,47,46,36,29,23,
01683     23,21,20,18,16,13,11,9,3
01684   };
01685   const int n1c3w1_s[] = {
01686     150, // Capacity
01687     50, // Number of items
01688     // Size of items (sorted)
01689     95,90,88,87,86,83,79,78,76,75,71,70,70,68,64,63,63,61,59,58,57,
01690     57,53,52,52,49,44,40,36,36,32,29,25,23,23,22,22,20,19,19,19,17,
01691     16,11,11,7,6,5,3,2
01692   };
01693   const int n1c3w1_t[] = {
01694     150, // Capacity
01695     50, // Number of items
01696     // Size of items (sorted)
01697     98,98,97,96,93,93,92,89,83,82,76,76,76,74,70,69,67,66,66,65,62,
01698     60,58,56,56,55,55,54,53,51,49,47,42,35,31,31,26,22,22,22,18,17,
01699     17,17,16,9,8,5,4,4
01700   };
01701   const int n1c3w2_a[] = {
01702     150, // Capacity
01703     50, // Number of items
01704     // Size of items (sorted)
01705     100,96,94,93,91,91,91,88,84,83,80,78,78,76,75,74,72,72,70,65,
01706     61,60,56,52,51,51,48,46,45,38,38,37,37,37,36,35,35,32,32,31,30,
01707     29,29,28,27,27,23,23,22,21
01708   };
01709   const int n1c3w2_b[] = {
01710     150, // Capacity
01711     50, // Number of items
01712     // Size of items (sorted)
01713     98,96,95,94,92,89,88,88,87,87,86,85,83,80,80,77,76,76,73,72,71,
01714     69,69,69,57,57,53,50,45,45,44,44,43,42,37,36,36,35,35,34,33,31,
01715     30,27,24,24,23,21,20,20
01716   };
01717   const int n1c3w2_c[] = {
01718     150, // Capacity
01719     50, // Number of items
01720     // Size of items (sorted)
01721     98,98,96,95,94,93,92,91,89,88,88,88,86,83,83,82,80,79,78,76,76,
01722     75,73,67,63,63,62,55,54,53,52,51,51,51,47,45,45,42,42,40,37,37,
01723     36,36,29,29,25,24,20,20
01724   };
01725   const int n1c3w2_d[] = {
01726     150, // Capacity
01727     50, // Number of items
01728     // Size of items (sorted)
01729     100,99,98,96,94,92,90,89,89,89,87,86,81,80,78,77,74,74,72,72,
01730     63,62,60,60,55,55,54,53,50,50,46,46,45,42,42,41,38,35,34,33,33,
01731     32,28,28,27,26,23,21,21,20
01732   };
01733   const int n1c3w2_e[] = {
01734     150, // Capacity
01735     50, // Number of items
01736     // Size of items (sorted)
01737     100,100,99,96,95,94,92,92,90,89,89,84,82,80,80,79,74,74,72,71,
01738     69,67,67,64,62,60,60,59,58,55,51,48,47,46,45,43,42,41,41,40,38,
01739     34,33,32,27,26,24,24,23,20
01740   };
01741   const int n1c3w2_f[] = {
01742     150, // Capacity
01743     50, // Number of items
01744     // Size of items (sorted)
01745     100,99,99,98,97,96,93,91,89,86,85,82,78,76,75,74,73,71,68,68,
01746     66,65,65,64,63,63,63,63,63,62,60,59,56,55,55,53,51,50,48,45,43,
01747     43,42,42,39,39,35,31,27,26
01748   };
01749   const int n1c3w2_g[] = {
01750     150, // Capacity
01751     50, // Number of items
01752     // Size of items (sorted)
01753     98,98,98,96,93,93,92,91,90,90,87,87,86,85,83,82,81,78,78,75,75,
01754     74,74,72,72,71,70,69,68,66,61,60,60,59,57,53,51,42,40,40,35,34,
01755     34,31,30,30,24,22,21,20
01756   };
01757   const int n1c3w2_h[] = {
01758     150, // Capacity
01759     50, // Number of items
01760     // Size of items (sorted)
01761     99,98,98,97,97,95,94,93,91,91,88,87,82,80,80,79,79,79,75,74,73,
01762     72,71,69,68,66,63,63,61,60,58,58,55,54,53,53,52,50,46,45,44,42,
01763     40,38,37,35,29,24,24,20
01764   };
01765   const int n1c3w2_i[] = {
01766     150, // Capacity
01767     50, // Number of items
01768     // Size of items (sorted)
01769     96,95,91,89,87,86,85,81,78,78,68,67,66,66,65,62,61,60,60,59,58,
01770     56,54,51,50,50,49,49,49,48,47,46,46,46,45,45,44,41,41,41,40,36,
01771     35,34,33,32,31,27,26,26
01772   };
01773   const int n1c3w2_j[] = {
01774     150, // Capacity
01775     50, // Number of items
01776     // Size of items (sorted)
01777     99,96,95,95,94,93,93,92,91,91,90,89,87,86,86,84,81,80,73,68,66,
01778     64,62,61,61,59,59,56,55,54,49,48,48,47,46,45,45,43,42,41,41,40,
01779     39,37,36,34,32,26,24,20
01780   };
01781   const int n1c3w2_k[] = {
01782     150, // Capacity
01783     50, // Number of items
01784     // Size of items (sorted)
01785     95,94,93,93,91,89,89,89,88,85,82,82,78,78,77,76,73,73,73,70,70,
01786     70,70,69,68,66,63,62,59,55,55,53,51,49,42,42,41,41,40,38,35,32,
01787     31,30,30,28,28,24,23,23
01788   };
01789   const int n1c3w2_l[] = {
01790     150, // Capacity
01791     50, // Number of items
01792     // Size of items (sorted)
01793     99,99,98,98,97,95,92,92,87,85,84,83,80,78,77,75,73,73,69,68,66,
01794     63,63,63,59,57,56,56,53,53,51,50,50,48,48,46,46,44,43,42,39,37,
01795     34,32,29,25,24,22,22,21
01796   };
01797   const int n1c3w2_m[] = {
01798     150, // Capacity
01799     50, // Number of items
01800     // Size of items (sorted)
01801     100,99,96,94,92,91,91,89,85,84,81,81,79,79,78,77,76,75,74,73,
01802     67,65,64,63,63,59,57,57,54,52,51,49,49,47,46,46,44,44,43,43,40,
01803     38,34,33,32,31,30,29,25,22
01804   };
01805   const int n1c3w2_n[] = {
01806     150, // Capacity
01807     50, // Number of items
01808     // Size of items (sorted)
01809     98,95,95,91,91,89,89,88,88,87,86,84,83,82,80,79,78,75,74,74,73,
01810     72,72,70,70,68,68,67,65,59,58,58,57,55,54,53,51,42,41,39,37,36,
01811     35,34,32,25,25,21,21,20
01812   };
01813   const int n1c3w2_o[] = {
01814     150, // Capacity
01815     50, // Number of items
01816     // Size of items (sorted)
01817     99,99,96,93,88,83,82,80,79,79,77,77,75,75,73,73,72,71,71,71,71,
01818     69,69,67,62,62,61,58,58,56,54,53,52,49,46,45,45,41,40,39,35,35,
01819     34,33,31,27,27,26,22,21
01820   };
01821   const int n1c3w2_p[] = {
01822     150, // Capacity
01823     50, // Number of items
01824     // Size of items (sorted)
01825     95,94,88,88,88,86,85,84,83,79,73,72,72,72,71,70,64,63,61,58,55,
01826     53,53,52,51,51,51,48,48,46,45,40,39,38,36,36,35,33,32,28,25,24,
01827     24,23,23,23,22,22,20,20
01828   };
01829   const int n1c3w2_q[] = {
01830     150, // Capacity
01831     50, // Number of items
01832     // Size of items (sorted)
01833     96,91,87,86,84,83,83,83,81,80,79,74,72,70,70,67,62,61,60,59,58,
01834     56,55,55,54,52,51,51,51,50,49,48,44,43,43,42,40,39,38,34,34,34,
01835     33,32,31,31,29,29,22,21
01836   };
01837   const int n1c3w2_r[] = {
01838     150, // Capacity
01839     50, // Number of items
01840     // Size of items (sorted)
01841     100,98,91,87,82,78,77,77,77,75,75,74,72,72,72,70,70,66,66,65,
01842     63,63,62,59,57,56,55,53,52,51,49,48,47,46,46,44,44,42,36,35,34,
01843     34,31,30,29,26,23,22,21,20
01844   };
01845   const int n1c3w2_s[] = {
01846     150, // Capacity
01847     50, // Number of items
01848     // Size of items (sorted)
01849     100,99,97,96,96,95,94,91,90,88,85,83,83,81,79,79,78,77,77,74,
01850     72,70,69,66,64,63,63,61,58,56,52,51,45,42,36,36,36,35,34,33,32,
01851     32,31,30,28,25,24,21,21,20
01852   };
01853   const int n1c3w2_t[] = {
01854     150, // Capacity
01855     50, // Number of items
01856     // Size of items (sorted)
01857     100,99,96,95,93,91,91,88,87,87,85,85,85,84,83,83,78,77,76,75,
01858     74,70,67,65,63,63,62,60,60,58,56,55,55,54,52,50,49,49,45,42,29,
01859     29,27,27,26,25,24,23,22,20
01860   };
01861   const int n1c3w4_a[] = {
01862     150, // Capacity
01863     50, // Number of items
01864     // Size of items (sorted)
01865     97,95,92,91,90,90,86,85,85,82,82,81,80,79,78,76,71,70,69,67,63,
01866     63,63,62,58,58,56,55,54,53,52,51,51,48,47,46,44,44,42,42,41,40,
01867     39,39,37,35,34,32,31,31
01868   };
01869   const int n1c3w4_b[] = {
01870     150, // Capacity
01871     50, // Number of items
01872     // Size of items (sorted)
01873     100,98,97,97,92,92,92,91,88,84,83,82,77,77,76,75,74,73,72,70,
01874     70,67,66,65,63,62,62,62,62,58,57,57,54,53,52,52,50,46,45,43,42,
01875     41,41,41,40,37,37,36,33,33
01876   };
01877   const int n1c3w4_c[] = {
01878     150, // Capacity
01879     50, // Number of items
01880     // Size of items (sorted)
01881     99,99,95,94,92,91,90,87,86,84,83,82,82,81,81,81,80,80,78,78,78,
01882     77,77,74,72,71,69,68,66,66,64,63,62,62,61,60,57,55,52,52,46,46,
01883     45,45,42,39,39,38,35,32
01884   };
01885   const int n1c3w4_d[] = {
01886     150, // Capacity
01887     50, // Number of items
01888     // Size of items (sorted)
01889     100,96,93,90,88,88,86,85,84,84,83,83,80,80,79,77,77,74,70,68,
01890     67,64,61,61,58,58,58,56,54,54,53,51,49,48,47,45,45,44,43,41,41,
01891     40,40,37,36,34,34,33,33,31
01892   };
01893   const int n1c3w4_e[] = {
01894     150, // Capacity
01895     50, // Number of items
01896     // Size of items (sorted)
01897     98,97,96,95,95,94,93,93,93,93,91,90,87,87,80,80,80,77,72,71,68,
01898     68,67,64,63,62,60,60,60,57,57,56,54,53,53,52,49,47,45,43,41,41,
01899     39,38,38,37,37,36,35,31
01900   };
01901   const int n1c3w4_f[] = {
01902     150, // Capacity
01903     50, // Number of items
01904     // Size of items (sorted)
01905     95,92,92,89,88,87,85,84,83,82,82,81,81,81,76,76,73,72,69,68,68,
01906     67,65,65,63,63,61,61,57,56,54,54,54,52,50,50,49,47,46,40,40,39,
01907     39,39,37,37,34,33,32,30
01908   };
01909   const int n1c3w4_g[] = {
01910     150, // Capacity
01911     50, // Number of items
01912     // Size of items (sorted)
01913     99,99,97,97,96,92,90,88,87,87,87,86,86,85,85,83,81,79,78,77,77,
01914     74,73,73,73,72,68,65,62,58,56,55,55,55,52,52,51,50,49,46,42,40,
01915     39,38,37,36,36,33,31,31
01916   };
01917   const int n1c3w4_h[] = {
01918     150, // Capacity
01919     50, // Number of items
01920     // Size of items (sorted)
01921     100,100,99,97,95,94,92,90,88,87,86,85,83,80,79,78,78,78,75,75,
01922     74,73,71,70,69,67,65,64,59,58,57,57,55,54,54,52,51,50,49,48,46,
01923     46,45,43,43,42,39,38,33,32
01924   };
01925   const int n1c3w4_i[] = {
01926     150, // Capacity
01927     50, // Number of items
01928     // Size of items (sorted)
01929     99,98,95,89,88,88,87,87,87,87,86,84,84,83,78,77,74,74,73,73,73,
01930     72,72,70,68,67,64,64,64,63,63,60,59,58,56,54,51,50,49,49,39,37,
01931     37,36,36,36,34,34,31,30
01932   };
01933   const int n1c3w4_j[] = {
01934     150, // Capacity
01935     50, // Number of items
01936     // Size of items (sorted)
01937     100,93,91,91,89,89,88,86,85,84,83,83,82,80,79,78,77,76,76,73,
01938     72,68,68,63,63,61,60,60,58,57,57,56,54,53,52,50,48,47,47,45,41,
01939     41,36,35,34,34,33,31,31,30
01940   };
01941   const int n1c3w4_k[] = {
01942     150, // Capacity
01943     50, // Number of items
01944     // Size of items (sorted)
01945     100,97,96,94,94,93,90,89,89,86,85,84,83,83,83,82,80,78,75,74,
01946     72,72,71,70,69,69,66,64,64,63,62,60,59,59,58,57,57,57,57,56,50,
01947     50,47,44,43,41,37,36,35,33
01948   };
01949   const int n1c3w4_l[] = {
01950     150, // Capacity
01951     50, // Number of items
01952     // Size of items (sorted)
01953     100,100,93,91,88,86,86,84,83,75,75,75,75,75,73,72,70,69,67,66,
01954     66,65,61,58,56,55,55,54,52,51,51,51,50,47,45,44,42,42,41,40,39,
01955     36,35,35,33,33,33,32,31,30
01956   };
01957   const int n1c3w4_m[] = {
01958     150, // Capacity
01959     50, // Number of items
01960     // Size of items (sorted)
01961     99,98,97,95,90,87,87,85,85,83,80,80,76,71,71,70,69,68,67,66,65,
01962     63,63,62,62,60,60,60,58,56,55,53,50,49,45,42,42,41,38,36,36,34,
01963     34,33,32,32,31,31,31,30
01964   };
01965   const int n1c3w4_n[] = {
01966     150, // Capacity
01967     50, // Number of items
01968     // Size of items (sorted)
01969     100,92,91,90,89,85,84,81,80,80,78,78,77,77,76,75,74,73,69,69,
01970     68,68,67,67,65,64,63,63,61,60,56,54,54,51,49,45,43,42,39,39,39,
01971     38,36,35,34,34,33,32,31,30
01972   };
01973   const int n1c3w4_o[] = {
01974     150, // Capacity
01975     50, // Number of items
01976     // Size of items (sorted)
01977     100,100,96,96,94,94,93,85,83,82,82,81,80,79,76,76,76,72,72,72,
01978     71,70,70,70,68,67,66,64,64,58,58,57,49,49,46,42,39,39,39,38,37,
01979     37,36,35,33,32,32,30,30,30
01980   };
01981   const int n1c3w4_p[] = {
01982     150, // Capacity
01983     50, // Number of items
01984     // Size of items (sorted)
01985     100,98,98,96,95,95,94,94,94,91,90,90,89,86,85,85,85,84,78,78,
01986     77,76,75,73,72,72,70,70,69,69,68,68,66,60,59,55,50,50,48,48,47,
01987     47,44,43,42,40,39,39,37,35
01988   };
01989   const int n1c3w4_q[] = {
01990     150, // Capacity
01991     50, // Number of items
01992     // Size of items (sorted)
01993     100,99,98,97,97,95,92,92,91,90,89,88,87,84,84,83,82,80,80,78,
01994     77,77,76,76,75,72,70,68,67,64,63,61,61,60,58,57,57,56,55,49,49,
01995     48,40,40,37,35,32,31,31,30
01996   };
01997   const int n1c3w4_r[] = {
01998     150, // Capacity
01999     50, // Number of items
02000     // Size of items (sorted)
02001     98,94,94,93,92,92,92,91,85,84,84,81,81,79,79,78,76,73,72,71,68,
02002     68,67,67,65,63,61,60,60,59,59,58,57,56,55,48,47,46,45,43,40,40,
02003     39,38,37,35,34,32,31,31
02004   };
02005   const int n1c3w4_s[] = {
02006     150, // Capacity
02007     50, // Number of items
02008     // Size of items (sorted)
02009     99,98,97,95,95,93,93,92,89,80,80,79,79,77,76,75,74,74,73,71,71,
02010     70,68,66,64,63,61,60,57,57,55,54,53,50,50,49,48,47,46,46,42,42,
02011     39,38,38,37,37,34,32,31
02012   };
02013   const int n1c3w4_t[] = {
02014     150, // Capacity
02015     50, // Number of items
02016     // Size of items (sorted)
02017     100,98,98,97,97,97,96,94,93,90,89,88,88,85,84,84,83,83,81,80,
02018     78,76,75,73,73,71,71,70,69,66,65,64,64,63,60,60,57,56,54,54,53,
02019     53,48,43,42,38,34,32,31,30
02020   };
02021   const int n2c1w1_a[] = {
02022     100, // Capacity
02023     100, // Number of items
02024     // Size of items (sorted)
02025     99,97,95,95,94,92,91,89,86,86,85,84,80,80,80,80,80,79,76,76,75,
02026     74,73,71,71,69,65,64,64,64,63,63,62,60,59,58,57,54,53,52,51,50,
02027     48,48,48,46,44,43,43,43,43,42,41,40,40,39,38,38,38,38,37,37,37,
02028     37,36,35,34,33,32,30,29,28,26,26,26,24,23,22,21,21,19,18,17,16,
02029     16,15,14,13,12,12,11,9,9,8,8,7,6,6,5,1
02030   };
02031   const int n2c1w1_b[] = {
02032     100, // Capacity
02033     100, // Number of items
02034     // Size of items (sorted)
02035     100,99,99,98,98,96,96,93,89,84,84,83,83,82,81,80,79,79,79,79,
02036     78,77,76,75,74,71,71,70,69,69,68,67,67,66,62,56,55,54,53,51,50,
02037     50,50,49,48,48,47,45,45,45,42,42,42,41,41,40,40,39,38,37,36,36,
02038     34,34,33,32,32,31,29,28,28,28,26,24,24,22,22,22,21,18,18,17,17,
02039     15,14,14,12,12,11,10,10,9,8,7,7,5,3,3,2,2
02040   };
02041   const int n2c1w1_c[] = {
02042     100, // Capacity
02043     100, // Number of items
02044     // Size of items (sorted)
02045     98,97,94,92,91,91,90,89,86,85,84,83,82,81,78,76,75,73,73,72,72,
02046     71,70,70,69,69,66,64,60,60,59,58,57,56,55,54,53,52,52,51,50,49,
02047     49,48,47,47,45,43,43,43,42,42,42,42,40,39,39,36,35,34,34,34,33,
02048     32,30,30,30,29,29,28,25,23,22,22,22,22,22,20,20,19,19,18,16,16,
02049     16,15,15,15,13,12,12,10,9,8,6,5,4,4,2,2
02050   };
02051   const int n2c1w1_d[] = {
02052     100, // Capacity
02053     100, // Number of items
02054     // Size of items (sorted)
02055     99,98,96,93,93,92,90,89,89,89,88,88,87,86,84,84,81,80,80,80,80,
02056     78,78,77,75,73,72,70,69,68,65,65,64,63,63,63,62,61,60,58,58,58,
02057     57,56,54,52,51,49,49,46,45,45,44,44,42,42,41,41,38,38,37,36,36,
02058     34,34,31,30,30,28,27,26,25,24,24,24,23,22,21,21,18,17,17,16,14,
02059     13,12,12,11,10,10,9,8,6,5,5,4,4,3,2,1
02060   };
02061   const int n2c1w1_e[] = {
02062     100, // Capacity
02063     100, // Number of items
02064     // Size of items (sorted)
02065     100,99,99,98,96,95,95,95,93,93,92,92,92,91,90,89,89,89,87,87,
02066     87,85,84,81,81,80,79,77,74,74,74,73,73,72,71,70,70,66,66,65,65,
02067     65,64,63,63,63,63,63,61,57,56,54,52,52,51,49,48,46,44,44,44,42,
02068     40,40,40,38,38,35,34,31,31,31,30,27,27,25,25,24,21,21,21,18,17,
02069     17,16,16,16,15,15,11,11,9,9,9,8,5,5,5,3,1
02070   };
02071   const int n2c1w1_f[] = {
02072     100, // Capacity
02073     100, // Number of items
02074     // Size of items (sorted)
02075     100,100,99,97,96,96,95,95,95,94,93,93,92,92,91,89,85,84,78,76,
02076     76,76,76,75,73,73,70,70,69,67,67,66,63,62,60,60,60,58,56,55,53,
02077     53,52,51,50,50,50,49,49,48,47,47,46,45,45,42,41,41,39,37,36,36,
02078     35,34,34,30,30,29,29,28,28,26,26,23,22,22,22,22,21,21,21,19,18,
02079     17,17,15,14,14,11,10,8,7,7,6,5,2,2,1,1,1
02080   };
02081   const int n2c1w1_g[] = {
02082     100, // Capacity
02083     100, // Number of items
02084     // Size of items (sorted)
02085     99,96,93,93,93,92,92,91,90,89,88,88,88,87,87,86,84,84,82,81,80,
02086     80,80,79,79,79,79,76,75,75,75,75,75,74,74,73,71,68,64,62,61,61,
02087     61,60,58,58,58,58,57,57,57,55,54,53,52,51,51,51,50,50,47,45,44,
02088     41,40,39,39,39,38,36,36,35,35,34,33,32,31,30,30,29,29,29,28,24,
02089     22,21,19,19,18,10,9,8,8,7,6,5,5,4,3,2
02090   };
02091   const int n2c1w1_h[] = {
02092     100, // Capacity
02093     100, // Number of items
02094     // Size of items (sorted)
02095     98,98,98,98,94,94,94,93,92,91,89,89,87,86,85,84,80,80,78,76,76,
02096     75,73,73,72,71,71,71,70,69,67,65,64,64,62,62,62,62,59,56,55,55,
02097     54,53,53,53,52,52,50,49,49,49,49,49,45,44,43,43,43,43,43,39,38,
02098     38,38,37,37,36,36,34,34,33,29,29,29,28,27,27,27,25,22,22,19,17,
02099     17,17,16,15,14,14,14,13,13,13,10,8,6,6,5,3
02100   };
02101   const int n2c1w1_i[] = {
02102     100, // Capacity
02103     100, // Number of items
02104     // Size of items (sorted)
02105     99,98,97,96,95,95,94,94,94,90,88,86,86,86,86,85,85,85,85,85,83,
02106     83,82,81,81,80,80,79,79,78,77,77,76,76,76,75,75,74,74,74,72,71,
02107     69,67,67,66,66,65,65,63,61,61,59,59,57,57,56,56,55,54,53,49,48,
02108     46,45,41,39,39,38,38,37,37,36,36,35,32,30,30,30,28,28,28,27,26,
02109     26,25,24,23,22,22,17,17,13,11,10,10,6,3,2,1
02110   };
02111   const int n2c1w1_j[] = {
02112     100, // Capacity
02113     100, // Number of items
02114     // Size of items (sorted)
02115     100,100,99,98,95,94,93,93,93,92,92,91,91,91,88,88,87,86,85,83,
02116     81,81,81,80,80,80,79,77,77,77,76,75,73,71,71,71,70,69,68,67,66,
02117     65,63,60,60,59,59,59,59,56,54,54,54,54,53,53,52,51,51,49,46,44,
02118     44,43,42,42,41,41,41,39,35,34,34,32,32,31,30,29,28,27,22,22,21,
02119     21,20,17,14,12,12,11,11,10,10,8,8,6,6,5,5,4
02120   };
02121   const int n2c1w1_k[] = {
02122     100, // Capacity
02123     100, // Number of items
02124     // Size of items (sorted)
02125     100,99,98,97,97,97,97,97,92,91,91,91,88,86,86,85,84,84,83,81,
02126     80,79,79,79,78,77,77,75,75,75,74,74,71,71,70,69,64,64,63,63,62,
02127     62,61,61,56,56,56,56,55,53,53,52,52,51,49,48,46,44,44,43,43,42,
02128     42,40,38,37,36,35,34,32,32,31,30,29,29,28,28,28,27,26,24,24,22,
02129     20,20,18,17,16,16,14,13,13,12,11,10,8,6,4,2,1
02130   };
02131   const int n2c1w1_l[] = {
02132     100, // Capacity
02133     100, // Number of items
02134     // Size of items (sorted)
02135     100,100,98,97,96,96,95,95,95,94,94,94,93,92,90,87,87,84,83,83,
02136     83,81,80,77,77,77,77,75,74,74,73,72,71,71,71,70,70,70,69,69,67,
02137     63,63,63,63,62,58,55,55,55,54,53,53,51,49,49,49,47,45,42,41,39,
02138     38,35,34,29,28,28,28,28,27,27,26,26,25,25,25,24,24,23,21,19,17,
02139     15,15,15,14,12,11,7,7,7,6,5,5,5,2,2,1,1
02140   };
02141   const int n2c1w1_m[] = {
02142     100, // Capacity
02143     100, // Number of items
02144     // Size of items (sorted)
02145     97,96,95,94,90,88,88,87,86,85,84,84,82,81,81,80,80,80,79,79,78,
02146     74,73,69,69,68,68,67,67,65,64,63,63,60,60,58,57,56,55,53,53,51,
02147     51,51,47,47,46,46,45,41,41,39,38,37,37,37,37,35,34,33,33,33,33,
02148     32,31,31,31,30,30,28,22,22,20,20,20,20,19,19,17,17,17,16,16,15,
02149     13,13,12,12,10,10,9,8,8,8,5,5,5,4,4,1
02150   };
02151   const int n2c1w1_n[] = {
02152     100, // Capacity
02153     100, // Number of items
02154     // Size of items (sorted)
02155     100,98,97,95,90,90,89,89,87,87,85,83,82,82,81,81,81,80,79,78,
02156     77,76,74,73,72,70,70,68,67,64,63,63,60,60,58,58,57,57,55,54,54,
02157     53,52,52,52,51,50,50,50,48,45,45,45,44,44,43,41,38,37,34,34,34,
02158     33,32,32,31,30,30,30,30,26,25,24,23,20,19,19,19,18,17,16,15,13,
02159     12,12,11,11,11,11,10,9,8,8,8,7,4,3,3,2,1
02160   };
02161   const int n2c1w1_o[] = {
02162     100, // Capacity
02163     100, // Number of items
02164     // Size of items (sorted)
02165     100,100,98,97,95,94,92,92,92,91,90,89,89,88,88,88,87,85,84,83,
02166     81,79,79,77,77,76,72,70,70,69,69,68,64,63,62,62,61,61,60,59,59,
02167     58,57,55,52,52,51,47,47,46,43,43,42,37,36,35,35,35,35,34,32,32,
02168     31,31,29,29,28,28,25,23,22,22,21,19,17,16,15,14,12,11,11,11,11,
02169     11,11,10,8,8,7,6,5,5,4,4,3,3,2,2,1,1
02170   };
02171   const int n2c1w1_p[] = {
02172     100, // Capacity
02173     100, // Number of items
02174     // Size of items (sorted)
02175     99,99,96,96,95,93,92,92,91,91,90,90,88,88,87,86,83,83,83,83,81,
02176     81,80,80,78,78,76,76,74,73,72,72,70,69,69,68,67,66,58,57,56,55,
02177     55,55,54,54,54,54,53,51,51,51,48,48,47,47,47,46,46,46,45,44,43,
02178     43,43,42,41,40,40,35,34,31,29,26,24,24,23,23,22,22,22,21,20,18,
02179     17,17,15,14,12,12,11,9,9,8,6,4,3,3,1,1
02180   };
02181   const int n2c1w1_q[] = {
02182     100, // Capacity
02183     100, // Number of items
02184     // Size of items (sorted)
02185     99,98,97,97,96,94,94,94,93,90,84,82,81,78,76,76,75,75,73,70,70,
02186     69,69,66,66,65,65,65,63,61,60,59,59,59,58,58,56,55,54,54,53,53,
02187     50,50,50,48,48,47,46,45,45,45,45,41,41,40,39,39,36,36,35,35,34,
02188     33,33,31,30,29,28,27,26,26,24,24,19,19,19,18,18,18,18,16,14,14,
02189     13,12,11,11,10,10,10,7,7,6,6,6,4,3,1,1
02190   };
02191   const int n2c1w1_r[] = {
02192     100, // Capacity
02193     100, // Number of items
02194     // Size of items (sorted)
02195     100,100,99,97,97,96,96,95,94,94,94,94,92,92,91,90,88,87,85,84,
02196     84,83,82,81,80,78,75,74,72,72,71,70,69,69,68,65,64,64,62,61,61,
02197     60,59,58,58,58,57,57,55,54,54,54,53,53,50,49,48,47,47,46,46,45,
02198     45,44,43,42,40,36,36,35,34,34,33,32,31,30,30,26,26,25,24,23,23,
02199     22,22,21,20,19,18,18,17,17,17,15,9,8,7,6,3,3
02200   };
02201   const int n2c1w1_s[] = {
02202     100, // Capacity
02203     100, // Number of items
02204     // Size of items (sorted)
02205     100,99,96,96,95,94,94,93,91,89,89,88,81,80,75,74,73,72,69,69,
02206     69,68,64,63,63,62,61,58,57,57,57,57,56,56,54,54,54,51,49,49,49,
02207     48,48,48,48,48,48,47,47,47,44,43,43,41,40,40,39,38,38,36,35,33,
02208     31,30,30,30,30,29,29,28,25,25,23,23,20,19,18,16,15,14,14,14,12,
02209     12,11,10,9,9,8,8,8,7,7,7,5,4,4,3,2,2
02210   };
02211   const int n2c1w1_t[] = {
02212     100, // Capacity
02213     100, // Number of items
02214     // Size of items (sorted)
02215     100,100,100,98,97,96,95,94,92,91,91,90,90,90,88,87,87,85,84,83,
02216     81,78,76,74,71,71,70,68,68,66,66,65,64,63,63,62,62,61,59,59,59,
02217     59,59,57,57,56,54,53,52,51,50,50,49,46,45,43,41,41,40,40,40,39,
02218     36,35,34,33,33,32,32,32,30,30,29,29,29,28,27,27,27,23,21,21,20,
02219     20,19,19,17,15,15,15,11,9,6,5,5,5,4,3,2,1
02220   };
02221   const int n2c1w2_a[] = {
02222     100, // Capacity
02223     100, // Number of items
02224     // Size of items (sorted)
02225     100,100,100,99,99,98,96,95,95,94,93,93,92,90,90,89,86,86,85,85,
02226     84,83,82,82,82,81,80,79,77,77,77,76,75,75,75,74,73,71,71,69,68,
02227     67,67,67,65,63,63,60,57,56,56,55,55,54,54,54,53,53,51,51,47,46,
02228     46,45,45,45,44,44,44,44,43,41,40,40,39,39,39,39,38,36,36,34,33,
02229     33,32,32,31,30,29,28,26,25,24,24,23,22,22,22,21,20
02230   };
02231   const int n2c1w2_b[] = {
02232     100, // Capacity
02233     100, // Number of items
02234     // Size of items (sorted)
02235     99,96,96,94,94,93,93,90,90,88,88,88,87,87,86,85,84,84,84,83,83,
02236     83,82,81,81,80,80,77,75,75,75,74,73,69,69,67,67,66,66,65,65,64,
02237     64,63,63,63,59,58,56,55,54,54,53,53,52,50,50,50,48,48,47,47,45,
02238     43,42,42,42,41,41,41,40,39,38,38,34,34,32,32,32,31,31,30,30,29,
02239     27,26,26,26,26,25,25,25,24,23,22,22,22,21,21,20
02240   };
02241   const int n2c1w2_c[] = {
02242     100, // Capacity
02243     100, // Number of items
02244     // Size of items (sorted)
02245     98,96,95,95,94,94,92,91,89,88,86,85,84,84,83,83,82,82,81,80,80,
02246     79,77,77,77,75,75,75,75,75,72,71,70,69,68,68,66,66,66,66,64,64,
02247     64,64,63,62,62,61,59,58,58,58,57,56,56,56,56,55,55,54,54,53,51,
02248     51,51,50,50,49,49,49,48,48,48,45,45,44,43,41,40,40,36,34,33,32,
02249     32,32,29,27,27,27,27,25,25,25,24,23,23,21,21,20
02250   };
02251   const int n2c1w2_d[] = {
02252     100, // Capacity
02253     100, // Number of items
02254     // Size of items (sorted)
02255     100,99,98,97,96,95,94,94,94,93,93,93,92,92,92,91,90,90,89,88,
02256     88,87,86,85,85,85,84,83,83,83,79,78,78,78,77,77,77,76,74,74,73,
02257     72,72,71,71,70,70,69,68,67,65,64,64,63,61,61,60,59,59,58,57,57,
02258     56,55,55,55,54,54,54,54,52,52,51,51,49,46,46,46,45,44,43,41,40,
02259     39,38,37,35,35,32,32,32,30,30,30,29,28,27,23,22,20
02260   };
02261   const int n2c1w2_e[] = {
02262     100, // Capacity
02263     100, // Number of items
02264     // Size of items (sorted)
02265     100,100,100,99,99,99,99,98,97,96,95,94,94,91,90,90,90,89,89,89,
02266     88,88,87,87,86,85,85,85,84,82,81,80,80,79,79,77,76,74,73,71,70,
02267     69,68,68,67,67,66,65,65,65,62,62,62,59,59,59,57,57,55,55,54,51,
02268     50,49,47,47,46,45,45,43,42,41,41,41,39,38,37,35,35,34,34,34,33,
02269     32,31,30,29,29,27,26,26,25,24,24,24,21,21,21,20,20
02270   };
02271   const int n2c1w2_f[] = {
02272     100, // Capacity
02273     100, // Number of items
02274     // Size of items (sorted)
02275     100,99,99,98,98,98,96,96,96,96,95,95,94,94,93,91,90,90,89,89,
02276     89,88,88,86,85,83,83,83,83,81,81,79,79,78,78,78,77,76,75,75,72,
02277     71,68,68,67,66,61,60,60,59,59,58,58,58,57,56,52,52,52,52,50,47,
02278     47,47,44,43,43,43,41,41,41,40,39,38,36,36,32,32,32,31,29,29,29,
02279     28,28,28,28,27,27,27,26,25,24,24,24,24,23,23,21,21
02280   };
02281   const int n2c1w2_g[] = {
02282     100, // Capacity
02283     100, // Number of items
02284     // Size of items (sorted)
02285     99,99,99,99,97,97,95,94,92,92,92,91,91,90,90,90,89,88,87,87,86,
02286     85,84,83,83,83,81,80,79,78,78,77,76,76,74,73,73,72,72,72,71,70,
02287     70,70,68,68,67,67,65,65,65,64,64,64,64,63,63,63,63,61,60,59,58,
02288     57,57,56,55,54,53,51,50,49,48,48,48,47,47,45,41,39,39,38,38,37,
02289     36,35,29,28,27,26,26,24,22,22,22,22,22,21,20,20
02290   };
02291   const int n2c1w2_h[] = {
02292     100, // Capacity
02293     100, // Number of items
02294     // Size of items (sorted)
02295     100,99,95,95,94,94,93,93,93,92,91,88,87,86,86,86,86,85,85,85,
02296     84,84,84,83,82,81,79,78,77,76,76,76,76,75,75,73,72,71,71,69,69,
02297     69,69,67,67,65,65,64,64,64,64,63,63,62,61,61,60,59,59,59,57,57,
02298     56,56,55,55,54,53,51,49,47,45,45,43,43,43,42,42,42,38,37,36,36,
02299     33,31,29,28,28,28,28,27,27,27,26,26,25,24,22,22,20
02300   };
02301   const int n2c1w2_i[] = {
02302     100, // Capacity
02303     100, // Number of items
02304     // Size of items (sorted)
02305     100,99,98,97,97,96,95,95,93,93,93,93,91,91,90,89,89,89,89,89,
02306     89,88,88,87,86,84,84,81,80,79,78,78,76,75,74,72,72,71,71,70,69,
02307     69,66,66,63,63,62,62,61,60,59,59,57,57,55,55,55,54,54,54,53,53,
02308     52,52,51,50,50,50,49,49,48,47,47,41,40,40,39,38,36,35,34,33,33,
02309     32,31,31,31,31,30,30,28,27,24,23,23,22,21,20,20,20
02310   };
02311   const int n2c1w2_j[] = {
02312     100, // Capacity
02313     100, // Number of items
02314     // Size of items (sorted)
02315     99,97,96,95,95,95,94,94,94,93,92,90,90,89,89,89,89,89,89,88,88,
02316     86,86,85,85,85,84,84,83,82,82,80,79,78,78,78,77,77,77,76,75,75,
02317     69,67,66,66,66,65,65,65,64,64,62,62,58,58,58,58,58,55,54,53,53,
02318     51,50,50,50,49,49,46,45,42,42,42,41,40,39,39,37,37,37,37,35,33,
02319     33,32,31,30,29,28,26,25,21,21,21,21,21,20,20,20
02320   };
02321   const int n2c1w2_k[] = {
02322     100, // Capacity
02323     100, // Number of items
02324     // Size of items (sorted)
02325     100,99,98,97,95,95,93,92,91,91,91,91,90,89,89,88,88,86,85,85,
02326     83,81,81,81,80,80,79,78,77,77,77,76,76,76,75,75,74,74,73,73,71,
02327     71,70,70,69,69,69,67,67,67,67,66,65,63,63,63,63,62,62,62,61,57,
02328     55,53,53,51,51,51,50,50,49,49,48,48,48,47,47,46,43,41,41,40,36,
02329     36,36,36,35,35,33,32,32,31,31,29,28,28,25,25,23,21
02330   };
02331   const int n2c1w2_l[] = {
02332     100, // Capacity
02333     100, // Number of items
02334     // Size of items (sorted)
02335     100,97,96,96,94,94,94,93,93,93,91,91,90,90,88,83,83,82,82,81,
02336     81,80,78,78,78,76,75,75,74,72,72,71,70,70,70,70,70,67,65,64,64,
02337     64,63,62,62,61,60,60,58,58,57,55,55,54,53,52,52,51,50,49,48,47,
02338     47,47,46,45,45,45,44,43,42,42,41,41,40,39,38,38,36,36,35,35,35,
02339     33,32,31,30,30,29,27,26,25,24,24,23,23,22,22,22,20
02340   };
02341   const int n2c1w2_m[] = {
02342     100, // Capacity
02343     100, // Number of items
02344     // Size of items (sorted)
02345     100,100,99,98,97,97,97,96,95,95,95,95,94,92,92,91,91,90,90,89,
02346     89,89,87,86,85,83,82,82,80,80,79,78,76,75,74,72,72,71,71,71,70,
02347     66,65,63,63,63,63,62,61,60,60,60,60,59,57,55,55,55,53,52,51,46,
02348     46,46,45,45,42,41,41,41,40,40,39,39,39,39,38,38,37,36,36,35,35,
02349     35,35,34,34,31,30,29,29,28,27,27,27,27,26,26,22,22
02350   };
02351   const int n2c1w2_n[] = {
02352     100, // Capacity
02353     100, // Number of items
02354     // Size of items (sorted)
02355     100,100,99,99,99,98,96,95,95,94,94,94,93,93,92,92,92,91,91,89,
02356     86,86,85,85,83,82,81,81,80,78,77,77,75,74,74,73,70,70,69,69,68,
02357     68,67,66,65,64,63,63,62,60,59,59,58,56,56,56,55,54,51,50,50,49,
02358     48,47,47,46,46,46,44,44,43,42,39,39,38,38,37,37,34,34,32,32,31,
02359     30,30,29,29,28,28,27,27,27,25,24,24,24,23,21,20,20
02360   };
02361   const int n2c1w2_o[] = {
02362     100, // Capacity
02363     100, // Number of items
02364     // Size of items (sorted)
02365     100,98,98,98,98,97,96,95,95,94,93,92,90,90,89,88,88,88,87,87,
02366     86,85,84,83,83,83,82,82,80,80,79,79,78,78,76,74,74,74,74,71,69,
02367     68,68,67,67,66,64,64,64,64,62,62,61,60,60,55,55,53,53,50,49,49,
02368     47,45,44,44,43,43,42,42,42,41,41,39,36,35,35,33,33,32,31,31,31,
02369     31,30,30,29,28,25,25,23,23,22,22,21,21,21,20,20,20
02370   };
02371   const int n2c1w2_p[] = {
02372     100, // Capacity
02373     100, // Number of items
02374     // Size of items (sorted)
02375     99,98,97,96,96,95,94,93,93,92,92,90,90,89,89,88,88,88,88,86,86,
02376     85,83,82,82,80,80,80,79,79,77,77,77,76,76,76,74,73,73,71,71,70,
02377     69,69,69,68,68,67,66,66,65,63,60,59,57,57,57,57,56,53,53,52,51,
02378     51,51,51,50,47,46,45,44,44,44,43,42,42,39,39,38,38,38,37,36,36,
02379     36,32,31,30,28,28,27,27,27,26,26,24,24,22,22,20
02380   };
02381   const int n2c1w2_q[] = {
02382     100, // Capacity
02383     100, // Number of items
02384     // Size of items (sorted)
02385     97,97,97,96,96,95,94,94,94,90,89,86,85,84,83,79,78,78,78,77,77,
02386     77,76,76,75,75,74,74,72,72,71,71,70,69,69,67,67,66,66,66,66,65,
02387     65,64,63,63,62,62,61,60,59,59,57,56,56,55,53,53,52,52,51,51,51,
02388     50,50,49,49,49,49,48,48,47,47,45,43,40,39,37,37,35,34,33,33,32,
02389     32,31,30,29,28,28,28,27,27,27,25,24,24,23,23,22
02390   };
02391   const int n2c1w2_r[] = {
02392     100, // Capacity
02393     100, // Number of items
02394     // Size of items (sorted)
02395     100,99,98,98,98,98,97,97,96,96,96,94,94,93,92,90,88,87,87,86,
02396     86,85,85,85,85,85,84,84,83,83,83,83,80,79,79,78,77,77,76,75,75,
02397     74,71,70,69,67,65,64,62,62,62,62,61,61,60,58,57,56,55,55,55,54,
02398     54,53,52,51,49,49,47,46,45,44,44,43,43,41,41,40,39,37,34,32,32,
02399     31,29,28,28,27,26,26,25,25,24,24,23,23,22,22,21,20
02400   };
02401   const int n2c1w2_s[] = {
02402     100, // Capacity
02403     100, // Number of items
02404     // Size of items (sorted)
02405     100,98,98,97,96,94,94,93,93,91,90,90,90,89,89,87,87,86,86,86,
02406     84,84,82,82,81,81,80,79,77,77,77,76,76,75,75,73,72,72,71,70,70,
02407     70,70,67,64,62,62,59,59,59,58,58,58,55,55,54,54,53,53,53,51,51,
02408     50,50,50,49,49,48,47,46,46,45,45,44,41,41,39,39,37,37,37,37,35,
02409     34,34,34,33,33,33,32,31,29,27,25,25,24,23,22,20,20
02410   };
02411   const int n2c1w2_t[] = {
02412     100, // Capacity
02413     100, // Number of items
02414     // Size of items (sorted)
02415     100,99,99,99,98,97,95,94,94,94,93,93,92,92,91,90,90,90,90,89,
02416     89,87,86,85,83,82,80,80,79,79,78,78,78,77,75,72,71,70,70,67,65,
02417     64,63,62,62,62,61,60,60,59,58,58,58,57,57,56,56,56,55,55,54,52,
02418     51,49,49,48,47,46,46,46,46,46,44,44,43,42,42,39,37,36,36,35,34,
02419     34,33,33,33,32,30,30,30,27,26,25,24,24,24,21,21,20
02420   };
02421   const int n2c1w4_a[] = {
02422     100, // Capacity
02423     100, // Number of items
02424     // Size of items (sorted)
02425     100,99,97,96,96,96,94,94,94,93,93,93,92,91,90,90,90,89,89,88,
02426     88,83,83,82,82,81,80,80,80,79,79,79,79,78,78,78,76,74,74,73,73,
02427     71,70,69,69,68,67,67,66,65,64,63,63,63,62,59,58,58,57,56,56,56,
02428     56,53,53,53,52,51,51,50,49,48,48,48,47,46,46,45,43,42,41,41,39,
02429     39,39,38,38,38,38,38,37,37,37,36,36,33,32,32,31,31
02430   };
02431   const int n2c1w4_b[] = {
02432     100, // Capacity
02433     100, // Number of items
02434     // Size of items (sorted)
02435     100,100,99,99,99,97,96,95,95,93,93,93,91,89,89,89,88,87,87,86,
02436     85,85,84,83,81,80,80,79,79,78,78,78,77,75,75,73,73,73,72,71,71,
02437     70,70,69,66,65,65,63,60,60,59,59,58,58,57,57,55,55,55,55,54,54,
02438     53,53,52,51,50,50,49,49,49,48,45,45,45,45,44,44,43,43,41,41,40,
02439     40,40,36,36,35,34,34,33,33,33,33,33,32,32,32,32,30
02440   };
02441   const int n2c1w4_c[] = {
02442     100, // Capacity
02443     100, // Number of items
02444     // Size of items (sorted)
02445     99,97,97,96,96,94,93,93,92,92,91,90,90,90,88,87,87,86,86,86,85,
02446     85,85,85,84,84,83,83,82,82,81,81,81,79,79,78,77,76,76,76,76,76,
02447     74,74,73,71,71,70,70,69,69,67,67,66,65,65,65,63,62,62,61,60,60,
02448     60,59,59,58,57,56,56,55,55,54,53,52,51,50,50,48,48,43,40,38,38,
02449     38,37,35,35,35,35,34,33,33,32,32,31,31,31,31,30
02450   };
02451   const int n2c1w4_d[] = {
02452     100, // Capacity
02453     100, // Number of items
02454     // Size of items (sorted)
02455     100,100,99,98,98,97,97,96,95,95,94,94,94,93,92,89,89,88,88,88,
02456     88,87,86,85,84,84,82,81,81,80,79,78,77,77,76,76,76,76,74,74,74,
02457     73,72,72,72,71,71,71,69,69,68,68,68,68,67,67,66,66,65,65,64,64,
02458     62,61,58,57,57,57,56,55,54,54,54,53,53,52,52,52,52,51,51,50,49,
02459     49,48,47,46,45,45,40,40,39,37,37,35,34,34,33,33,30
02460   };
02461   const int n2c1w4_e[] = {
02462     100, // Capacity
02463     100, // Number of items
02464     // Size of items (sorted)
02465     99,99,98,97,97,96,96,95,95,95,94,94,94,94,91,91,89,88,87,86,86,
02466     85,84,83,82,82,82,81,81,79,78,78,76,76,76,76,73,72,71,71,70,70,
02467     70,69,69,69,69,69,68,68,67,66,65,64,61,61,61,61,60,60,59,59,58,
02468     57,57,55,54,54,48,45,45,44,44,43,42,42,42,42,41,41,39,38,37,37,
02469     36,36,35,35,35,35,34,34,34,33,33,32,31,31,31,30
02470   };
02471   const int n2c1w4_f[] = {
02472     100, // Capacity
02473     100, // Number of items
02474     // Size of items (sorted)
02475     100,100,99,97,97,95,95,95,94,93,92,91,90,89,89,88,87,87,86,84,
02476     83,82,80,80,80,80,80,80,79,79,79,79,78,76,76,76,76,73,73,72,71,
02477     71,70,69,69,69,69,68,67,66,66,66,64,64,64,62,62,62,62,61,60,60,
02478     59,58,58,58,58,57,57,56,56,56,56,56,53,52,50,49,48,47,44,44,43,
02479     42,40,39,37,37,36,36,36,35,35,34,33,33,33,32,30,30
02480   };
02481   const int n2c1w4_g[] = {
02482     100, // Capacity
02483     100, // Number of items
02484     // Size of items (sorted)
02485     100,100,98,98,96,95,95,95,94,94,93,93,88,87,85,84,80,80,80,79,
02486     78,78,78,77,77,77,76,76,73,71,71,70,70,70,70,69,69,68,67,67,66,
02487     66,66,66,66,66,66,64,63,63,63,61,61,61,61,60,59,59,59,58,57,57,
02488     57,56,55,54,54,53,51,51,49,49,49,48,47,45,44,44,42,41,41,41,40,
02489     39,39,39,38,38,37,37,37,36,35,34,34,33,32,32,32,31
02490   };
02491   const int n2c1w4_h[] = {
02492     100, // Capacity
02493     100, // Number of items
02494     // Size of items (sorted)
02495     100,100,99,99,98,98,97,96,96,94,94,94,94,93,91,90,89,87,87,87,
02496     86,84,84,84,83,82,80,79,75,75,75,74,74,73,73,73,72,71,70,69,69,
02497     69,68,68,68,67,65,65,63,63,61,61,61,61,60,60,60,60,60,59,59,58,
02498     57,57,56,56,55,54,54,54,51,50,50,49,49,49,49,48,48,48,46,46,44,
02499     42,42,41,40,40,38,37,35,35,34,34,33,33,33,33,32,31
02500   };
02501   const int n2c1w4_i[] = {
02502     100, // Capacity
02503     100, // Number of items
02504     // Size of items (sorted)
02505     98,97,97,96,96,95,95,95,95,92,92,92,91,91,91,91,90,88,87,86,85,
02506     83,82,81,80,79,77,76,76,75,75,75,74,74,72,72,72,71,71,71,70,70,
02507     70,69,69,68,67,65,65,64,63,63,62,62,62,61,61,60,59,59,59,59,58,
02508     58,56,56,55,55,52,51,50,48,48,47,47,47,46,45,44,44,42,42,42,41,
02509     40,39,38,36,36,36,35,35,35,35,34,32,32,32,30,30
02510   };
02511   const int n2c1w4_j[] = {
02512     100, // Capacity
02513     100, // Number of items
02514     // Size of items (sorted)
02515     100,99,99,98,97,97,97,96,96,96,95,93,91,90,87,87,86,86,84,83,
02516     82,81,81,81,80,79,79,77,77,76,76,75,74,72,72,72,71,70,70,70,69,
02517     69,68,68,67,67,67,66,66,66,65,65,65,64,64,62,60,59,57,57,57,57,
02518     55,55,55,55,53,53,52,52,52,50,50,50,49,49,48,47,47,45,45,45,44,
02519     43,42,39,39,39,38,38,38,37,35,35,34,32,32,31,30,30
02520   };
02521   const int n2c1w4_k[] = {
02522     100, // Capacity
02523     100, // Number of items
02524     // Size of items (sorted)
02525     99,98,98,97,97,97,95,94,94,94,93,93,91,91,90,89,89,88,88,87,86,
02526     83,83,82,82,81,81,80,80,79,79,78,76,74,73,73,72,71,71,70,70,70,
02527     68,68,67,66,66,65,64,64,61,61,60,59,59,57,56,56,56,56,56,55,54,
02528     53,51,51,51,51,50,50,50,49,47,47,47,46,46,45,45,43,43,42,41,40,
02529     40,39,39,38,38,37,35,34,34,34,33,33,32,30,30,30
02530   };
02531   const int n2c1w4_l[] = {
02532     100, // Capacity
02533     100, // Number of items
02534     // Size of items (sorted)
02535     99,99,96,96,95,95,94,94,93,91,91,88,88,87,87,87,87,84,84,83,83,
02536     82,82,82,81,81,81,80,78,77,77,76,76,76,74,74,74,74,74,73,73,73,
02537     73,73,72,72,71,71,70,70,69,68,67,64,64,63,62,60,60,59,59,59,58,
02538     58,57,57,57,55,55,53,52,51,50,49,48,46,46,45,43,43,42,42,42,42,
02539     42,40,40,40,38,37,36,36,34,34,33,33,33,31,30,30
02540   };
02541   const int n2c1w4_m[] = {
02542     100, // Capacity
02543     100, // Number of items
02544     // Size of items (sorted)
02545     100,100,99,99,99,99,98,98,97,96,96,96,96,95,95,95,95,91,90,89,
02546     88,87,86,84,83,83,82,80,79,77,77,76,76,74,74,74,73,72,72,71,71,
02547     70,69,68,67,67,66,66,65,63,60,60,59,59,58,57,57,56,56,54,53,53,
02548     53,53,52,51,50,50,50,50,49,47,47,46,46,45,44,43,42,42,42,41,41,
02549     39,38,38,38,37,37,36,36,36,35,35,35,33,32,32,32,31
02550   };
02551   const int n2c1w4_n[] = {
02552     100, // Capacity
02553     100, // Number of items
02554     // Size of items (sorted)
02555     100,100,99,99,98,98,97,97,96,96,96,95,94,94,92,91,91,90,90,90,
02556     88,87,85,85,84,83,83,81,80,79,79,78,76,76,76,75,74,74,74,73,71,
02557     70,67,67,67,66,66,66,64,64,64,64,63,63,61,59,59,58,58,58,56,56,
02558     56,54,53,53,52,51,50,50,49,48,48,48,48,46,45,44,41,40,40,40,39,
02559     39,37,37,36,36,36,35,35,34,33,33,33,33,32,31,31,30
02560   };
02561   const int n2c1w4_o[] = {
02562     100, // Capacity
02563     100, // Number of items
02564     // Size of items (sorted)
02565     100,100,100,100,99,99,98,98,98,97,97,97,96,95,95,94,94,94,94,
02566     93,93,93,92,92,92,91,91,90,87,86,86,85,85,84,83,83,80,79,78,78,
02567     77,76,74,72,72,72,71,71,71,71,70,70,69,68,67,66,65,64,63,63,62,
02568     62,62,60,59,59,58,58,57,57,56,55,55,54,53,52,52,51,51,51,49,46,
02569     42,41,41,41,40,40,39,39,39,38,36,36,34,34,33,31,30,30
02570   };
02571   const int n2c1w4_p[] = {
02572     100, // Capacity
02573     100, // Number of items
02574     // Size of items (sorted)
02575     99,99,98,96,93,93,92,91,91,91,90,89,89,88,85,85,83,82,82,81,80,
02576     79,78,78,74,74,70,69,69,66,65,65,64,64,64,64,63,63,62,62,62,62,
02577     61,61,61,61,61,59,59,59,58,58,57,57,56,55,55,54,53,53,52,52,51,
02578     49,48,48,47,47,47,47,45,45,45,44,44,43,43,43,42,42,42,42,41,41,
02579     41,40,40,39,37,37,36,36,35,34,34,34,32,32,30,30
02580   };
02581   const int n2c1w4_q[] = {
02582     100, // Capacity
02583     100, // Number of items
02584     // Size of items (sorted)
02585     100,100,98,98,97,97,94,93,93,92,92,92,91,91,91,90,89,89,89,88,
02586     87,86,85,83,83,83,82,81,80,80,80,79,79,78,77,77,77,77,77,75,75,
02587     74,74,74,72,70,69,69,69,66,66,66,66,65,64,64,63,62,61,61,60,60,
02588     60,58,57,57,56,56,54,52,50,49,49,48,47,46,44,43,42,42,40,40,40,
02589     40,39,39,39,39,38,38,38,38,36,36,35,35,35,34,33,32
02590   };
02591   const int n2c1w4_r[] = {
02592     100, // Capacity
02593     100, // Number of items
02594     // Size of items (sorted)
02595     99,98,98,97,96,96,96,95,95,94,94,93,93,92,92,91,90,89,87,86,85,
02596     84,82,82,80,79,79,78,78,77,76,75,75,75,75,74,74,74,73,70,69,67,
02597     67,66,64,64,63,62,62,62,61,61,60,60,59,59,58,58,57,57,56,55,54,
02598     54,54,51,50,49,49,49,48,48,48,47,47,44,43,43,42,41,41,41,40,40,
02599     40,40,39,39,38,36,36,36,35,35,33,32,32,32,31,31
02600   };
02601   const int n2c1w4_s[] = {
02602     100, // Capacity
02603     100, // Number of items
02604     // Size of items (sorted)
02605     100,100,100,100,99,99,99,99,98,97,97,97,96,96,96,95,94,94,93,
02606     92,91,91,91,90,89,89,88,88,85,85,82,82,80,80,79,78,77,76,75,75,
02607     75,75,74,73,72,71,71,70,69,69,69,67,67,66,66,66,66,65,64,64,64,
02608     64,62,62,61,59,59,59,58,56,56,56,55,55,54,52,50,50,49,49,48,48,
02609     48,47,46,44,44,43,43,40,40,39,38,35,35,33,33,31,30,30
02610   };
02611   const int n2c1w4_t[] = {
02612     100, // Capacity
02613     100, // Number of items
02614     // Size of items (sorted)
02615     98,97,97,97,96,96,95,92,91,90,89,89,88,88,87,87,87,86,86,86,85,
02616     85,83,83,83,82,81,80,79,78,78,78,78,75,71,70,70,70,70,69,68,67,
02617     65,65,64,64,63,61,61,61,61,60,60,60,60,59,57,57,54,54,54,54,53,
02618     53,53,52,51,50,50,50,49,46,46,46,46,46,45,44,44,44,42,42,41,40,
02619     40,39,39,38,38,38,37,36,35,35,34,34,34,34,32,32
02620   };
02621   const int n2c2w1_a[] = {
02622     120, // Capacity
02623     100, // Number of items
02624     // Size of items (sorted)
02625     99,98,98,98,97,96,94,92,91,90,90,89,86,84,82,81,81,80,80,79,79,
02626     79,77,75,73,72,71,71,71,70,67,65,65,62,61,59,56,55,55,55,55,54,
02627     54,53,52,51,50,48,48,48,47,47,46,45,44,43,43,43,43,42,42,40,39,
02628     38,38,36,34,30,30,29,27,26,26,24,22,21,21,20,19,18,18,18,15,14,
02629     13,11,9,8,7,7,6,6,6,4,4,3,3,2,1,1
02630   };
02631   const int n2c2w1_b[] = {
02632     120, // Capacity
02633     100, // Number of items
02634     // Size of items (sorted)
02635     100,100,100,99,99,98,97,96,95,95,91,91,91,90,90,88,88,88,88,87,
02636     87,85,85,82,82,81,79,78,78,78,78,78,78,77,77,77,75,74,72,71,69,
02637     69,68,67,64,64,62,62,60,58,57,55,55,54,51,51,51,48,48,47,46,45,
02638     44,42,38,38,36,34,34,31,30,30,30,28,28,28,26,26,25,25,23,23,22,
02639     21,20,19,18,18,17,16,13,9,8,5,4,4,4,4,3,1
02640   };
02641   const int n2c2w1_c[] = {
02642     120, // Capacity
02643     100, // Number of items
02644     // Size of items (sorted)
02645     100,100,97,97,96,95,94,91,90,89,88,84,84,84,83,82,81,80,80,80,
02646     78,73,72,72,72,69,69,66,65,65,65,65,65,64,63,63,62,60,58,58,57,
02647     54,54,53,52,51,50,49,49,48,47,46,44,42,40,40,40,39,38,37,37,35,
02648     35,33,32,31,30,30,29,28,27,27,23,21,20,20,20,19,19,19,18,17,16,
02649     16,15,14,13,12,12,12,11,10,8,7,5,5,4,3,3,1
02650   };
02651   const int n2c2w1_d[] = {
02652     120, // Capacity
02653     100, // Number of items
02654     // Size of items (sorted)
02655     99,97,97,96,94,94,93,93,89,89,89,88,87,85,85,84,84,82,82,78,77,
02656     76,75,73,73,71,71,67,66,63,63,62,62,61,61,59,59,57,57,57,57,55,
02657     53,53,52,51,51,50,49,49,48,48,48,47,46,46,46,44,44,41,38,37,37,
02658     37,37,35,35,34,34,32,32,31,31,30,29,28,27,27,26,26,26,25,25,24,
02659     21,19,18,15,13,13,12,12,12,10,10,5,4,3,2,1
02660   };
02661   const int n2c2w1_e[] = {
02662     120, // Capacity
02663     100, // Number of items
02664     // Size of items (sorted)
02665     100,100,99,96,94,93,92,92,92,90,90,89,89,89,87,84,82,82,82,81,
02666     80,77,77,77,77,75,73,72,71,69,68,68,64,64,62,61,58,54,53,53,53,
02667     52,52,51,51,49,49,48,48,46,45,45,44,43,42,41,40,37,37,36,35,35,
02668     34,34,33,33,33,31,29,27,24,24,23,22,21,20,18,17,17,16,15,14,14,
02669     14,13,13,13,11,11,9,8,7,7,6,4,3,1,1,1,1
02670   };
02671   const int n2c2w1_f[] = {
02672     120, // Capacity
02673     100, // Number of items
02674     // Size of items (sorted)
02675     100,100,100,100,99,99,97,97,97,97,95,92,91,89,88,88,88,88,88,
02676     86,85,85,83,82,81,81,80,80,80,79,78,76,75,75,71,70,70,70,69,69,
02677     68,67,67,65,63,63,62,62,62,56,54,54,54,53,52,52,51,49,49,47,42,
02678     42,42,41,40,40,38,38,35,34,34,33,31,31,31,31,30,30,29,27,27,26,
02679     23,22,22,21,19,19,17,16,15,15,12,11,10,9,9,8,4,1
02680   };
02681   const int n2c2w1_g[] = {
02682     120, // Capacity
02683     100, // Number of items
02684     // Size of items (sorted)
02685     100,100,100,99,99,98,98,96,95,94,93,91,90,90,89,89,88,86,83,83,
02686     82,81,81,80,80,80,79,79,79,76,75,74,73,73,70,70,65,63,60,59,59,
02687     58,57,55,54,54,52,52,51,51,51,50,47,47,46,45,45,45,43,42,42,41,
02688     36,35,35,35,34,33,33,29,29,29,29,29,28,24,22,22,22,22,22,20,20,
02689     20,19,18,17,17,16,15,12,11,11,9,8,6,3,1,1,1
02690   };
02691   const int n2c2w1_h[] = {
02692     120, // Capacity
02693     100, // Number of items
02694     // Size of items (sorted)
02695     100,99,99,98,98,97,96,94,94,93,93,92,92,90,88,88,87,87,86,86,
02696     86,85,85,78,78,77,77,77,74,71,71,68,68,67,66,65,65,62,62,60,59,
02697     59,55,55,54,53,52,52,51,51,50,49,49,48,47,46,46,46,45,45,45,42,
02698     42,41,41,40,38,36,36,34,33,32,32,32,31,29,27,23,22,22,21,21,20,
02699     18,16,15,11,10,10,9,9,8,6,6,5,5,4,3,1,1
02700   };
02701   const int n2c2w1_i[] = {
02702     120, // Capacity
02703     100, // Number of items
02704     // Size of items (sorted)
02705     100,100,99,98,97,96,96,96,93,93,92,91,88,87,86,85,84,82,82,79,
02706     79,79,77,77,76,72,71,71,70,68,67,66,66,65,64,64,63,63,62,62,62,
02707     62,61,60,59,59,58,57,56,55,55,54,51,51,50,50,48,47,47,46,46,46,
02708     45,44,41,41,38,37,35,33,32,31,29,29,29,28,28,27,26,25,25,22,19,
02709     19,18,18,13,11,10,10,9,6,5,5,4,3,3,2,1,1
02710   };
02711   const int n2c2w1_j[] = {
02712     120, // Capacity
02713     100, // Number of items
02714     // Size of items (sorted)
02715     100,100,99,98,97,96,95,93,87,87,86,85,85,85,84,83,82,82,81,80,
02716     80,79,79,77,75,75,75,72,72,70,69,69,66,66,66,63,62,62,61,61,60,
02717     57,57,57,55,53,52,52,48,48,47,46,43,43,42,41,41,40,40,38,37,37,
02718     37,36,34,32,31,31,31,30,29,29,28,28,26,26,26,25,24,22,19,16,16,
02719     15,15,14,14,13,9,9,8,7,6,6,5,4,4,4,3,1
02720   };
02721   const int n2c2w1_k[] = {
02722     120, // Capacity
02723     100, // Number of items
02724     // Size of items (sorted)
02725     100,100,97,96,95,95,93,93,92,90,90,90,89,88,88,87,85,84,82,78,
02726     78,78,78,77,74,74,70,69,68,67,67,66,66,65,61,60,60,59,57,56,55,
02727     55,54,54,52,52,51,51,50,50,49,48,48,48,47,44,43,41,41,40,39,37,
02728     37,32,32,31,30,30,29,28,27,26,25,24,24,24,23,23,22,21,19,18,18,
02729     17,16,15,14,12,10,10,8,6,5,4,3,3,2,2,2,1
02730   };
02731   const int n2c2w1_l[] = {
02732     120, // Capacity
02733     100, // Number of items
02734     // Size of items (sorted)
02735     100,100,100,99,99,99,98,98,96,96,95,95,95,94,94,93,92,90,90,88,
02736     87,85,85,85,82,81,81,80,80,80,76,76,76,75,73,73,73,73,72,71,71,
02737     68,68,64,64,64,61,60,59,58,57,57,56,51,51,50,49,47,45,45,45,44,
02738     42,40,38,38,36,36,36,35,34,33,30,30,29,29,28,28,27,23,22,20,20,
02739     19,17,16,16,11,11,9,8,8,7,7,5,5,3,2,2,1
02740   };
02741   const int n2c2w1_m[] = {
02742     120, // Capacity
02743     100, // Number of items
02744     // Size of items (sorted)
02745     98,97,95,93,93,92,92,92,91,90,89,89,89,88,86,84,84,84,83,83,82,
02746     82,81,81,79,78,77,75,73,72,72,71,71,70,69,68,65,65,64,64,62,61,
02747     60,57,55,55,53,51,51,50,50,50,48,46,45,42,42,41,41,41,41,41,40,
02748     39,39,37,36,35,34,33,33,33,30,30,29,27,25,23,23,23,23,19,19,16,
02749     16,14,14,14,14,12,12,10,8,8,7,7,6,5,3,3
02750   };
02751   const int n2c2w1_n[] = {
02752     120, // Capacity
02753     100, // Number of items
02754     // Size of items (sorted)
02755     99,99,96,96,95,93,92,89,89,88,87,85,81,80,80,78,77,77,76,75,74,
02756     72,71,71,70,70,69,69,67,67,67,65,65,65,65,64,62,62,59,59,59,58,
02757     58,56,56,56,56,55,55,54,52,50,50,49,49,48,47,45,43,43,43,41,40,
02758     39,38,38,37,36,36,36,35,35,35,30,30,29,26,26,26,26,24,24,23,23,
02759     17,17,17,15,13,13,12,11,11,11,6,5,4,4,3,1
02760   };
02761   const int n2c2w1_o[] = {
02762     120, // Capacity
02763     100, // Number of items
02764     // Size of items (sorted)
02765     98,97,97,97,97,94,93,93,93,92,91,91,90,89,89,88,87,87,87,85,84,
02766     84,83,83,82,81,81,81,81,78,76,76,75,75,74,73,70,69,68,68,68,66,
02767     65,64,64,63,59,58,57,56,56,52,51,51,50,49,48,48,47,47,46,46,45,
02768     45,44,44,43,43,42,40,40,40,37,33,31,30,29,28,26,25,25,24,19,19,
02769     19,19,17,16,16,15,15,14,13,12,12,7,4,2,1,1
02770   };
02771   const int n2c2w1_p[] = {
02772     120, // Capacity
02773     100, // Number of items
02774     // Size of items (sorted)
02775     99,99,99,99,99,96,96,96,95,94,93,93,91,91,91,89,87,87,86,86,85,
02776     85,84,83,82,82,81,81,76,75,75,74,72,68,68,66,65,64,64,64,63,61,
02777     61,60,60,59,58,56,56,56,55,55,54,54,52,51,51,46,44,43,41,40,39,
02778     39,39,39,38,37,37,36,36,35,33,29,28,27,26,23,23,21,17,17,14,13,
02779     11,11,10,10,10,9,9,9,8,6,6,4,4,3,3,2
02780   };
02781   const int n2c2w1_q[] = {
02782     120, // Capacity
02783     100, // Number of items
02784     // Size of items (sorted)
02785     98,98,98,98,96,93,92,91,90,89,87,87,86,86,85,84,83,83,81,78,78,
02786     78,78,78,78,77,72,72,71,70,70,70,69,68,67,65,65,64,64,64,63,63,
02787     62,62,62,62,61,61,60,60,59,59,58,57,57,56,56,56,55,54,51,50,49,
02788     49,47,46,46,39,39,38,38,34,33,32,30,30,29,28,27,26,24,23,23,22,
02789     22,22,20,18,18,15,12,9,6,6,5,3,3,2,2,2
02790   };
02791   const int n2c2w1_r[] = {
02792     120, // Capacity
02793     100, // Number of items
02794     // Size of items (sorted)
02795     98,97,94,94,93,91,90,89,89,89,88,86,86,84,83,80,79,78,77,75,75,
02796     72,71,70,69,67,66,65,64,64,62,61,60,60,60,59,57,56,56,56,56,56,
02797     55,55,55,54,51,50,50,49,49,49,48,47,47,46,44,43,42,40,40,37,37,
02798     36,36,36,36,34,33,33,32,32,30,30,28,28,25,25,24,24,24,22,22,21,
02799     20,19,17,16,13,12,10,9,6,5,5,4,3,3,2,1
02800   };
02801   const int n2c2w1_s[] = {
02802     120, // Capacity
02803     100, // Number of items
02804     // Size of items (sorted)
02805     99,98,97,96,95,94,93,93,91,90,89,88,87,87,86,86,85,84,83,82,79,
02806     79,78,77,77,77,77,73,73,72,71,71,70,68,67,63,63,62,61,61,61,61,
02807     60,59,57,56,52,51,49,48,47,47,47,46,45,44,44,44,44,43,43,42,42,
02808     39,39,39,34,33,33,32,31,31,28,28,27,25,25,24,24,24,24,22,21,20,
02809     18,17,17,16,14,14,13,10,10,9,9,7,7,7,7,6
02810   };
02811   const int n2c2w1_t[] = {
02812     120, // Capacity
02813     100, // Number of items
02814     // Size of items (sorted)
02815     100,99,99,98,98,95,94,94,91,90,89,87,84,80,80,77,75,74,73,73,
02816     72,72,72,69,69,65,64,63,62,62,59,59,59,59,59,59,57,56,53,53,51,
02817     51,51,50,50,50,49,49,48,47,47,47,47,44,44,43,43,40,39,38,37,36,
02818     34,34,32,30,29,29,27,23,23,23,21,18,18,18,18,17,16,16,16,15,15,
02819     14,12,12,11,10,10,9,8,8,7,7,5,4,4,4,2,1
02820   };
02821   const int n2c2w2_a[] = {
02822     120, // Capacity
02823     100, // Number of items
02824     // Size of items (sorted)
02825     100,100,98,95,94,94,93,93,93,92,90,90,90,89,88,87,87,86,86,84,
02826     84,83,82,82,81,80,79,79,79,77,77,76,75,75,75,75,74,73,71,69,69,
02827     68,65,63,60,59,59,58,57,57,56,56,56,56,55,55,54,54,54,54,50,50,
02828     49,48,48,48,45,45,44,44,43,43,39,38,38,37,37,37,37,36,36,33,33,
02829     31,29,28,27,27,26,26,26,26,25,25,25,23,23,23,22,22
02830   };
02831   const int n2c2w2_b[] = {
02832     120, // Capacity
02833     100, // Number of items
02834     // Size of items (sorted)
02835     99,99,98,97,96,94,93,93,93,92,91,91,91,91,90,89,88,87,85,85,85,
02836     82,82,81,80,80,79,78,76,76,75,75,74,74,72,71,71,70,70,69,69,66,
02837     65,65,65,64,64,63,63,60,60,60,59,59,58,57,56,56,55,54,53,53,53,
02838     52,52,51,51,50,49,49,49,48,48,47,47,47,47,46,45,45,43,43,41,41,
02839     40,37,37,36,36,36,31,31,30,29,28,23,22,21,21,20
02840   };
02841   const int n2c2w2_c[] = {
02842     120, // Capacity
02843     100, // Number of items
02844     // Size of items (sorted)
02845     100,99,98,98,98,98,98,97,96,94,93,92,90,89,89,88,87,84,83,82,
02846     81,81,80,80,78,78,78,78,75,75,75,75,74,71,71,71,70,70,69,69,69,
02847     68,68,66,65,64,64,64,64,63,61,58,57,56,56,55,55,55,54,54,54,54,
02848     51,50,50,49,48,46,45,45,44,44,43,41,41,40,40,40,39,37,37,36,36,
02849     35,35,35,35,33,32,31,31,30,29,29,27,27,25,24,21,20
02850   };
02851   const int n2c2w2_d[] = {
02852     120, // Capacity
02853     100, // Number of items
02854     // Size of items (sorted)
02855     100,100,96,96,95,95,94,93,92,92,90,89,89,88,88,87,87,87,86,86,
02856     85,85,85,85,85,84,83,82,77,77,77,76,74,74,72,72,72,71,70,69,67,
02857     67,66,62,62,60,59,59,59,57,57,56,56,56,55,53,52,52,51,49,48,47,
02858     46,43,43,43,43,43,41,41,40,40,39,38,37,36,36,36,36,35,34,34,33,
02859     33,33,33,31,31,29,28,27,27,24,24,23,22,21,20,20,20
02860   };
02861   const int n2c2w2_e[] = {
02862     120, // Capacity
02863     100, // Number of items
02864     // Size of items (sorted)
02865     100,99,99,98,97,97,97,95,95,93,92,92,90,90,89,88,88,87,87,85,
02866     84,84,84,82,80,80,80,79,79,79,78,78,77,77,72,71,71,68,68,66,66,
02867     66,64,62,61,60,60,59,58,58,57,57,56,55,55,55,54,53,50,50,49,47,
02868     47,45,45,45,45,45,43,43,43,43,42,42,42,42,42,40,40,39,37,36,36,
02869     36,33,33,33,30,28,27,27,26,24,23,23,22,22,22,22,21
02870   };
02871   const int n2c2w2_f[] = {
02872     120, // Capacity
02873     100, // Number of items
02874     // Size of items (sorted)
02875     99,96,95,94,92,92,92,92,91,90,89,88,87,86,85,83,83,83,83,82,80,
02876     80,80,78,77,76,76,75,75,74,74,73,72,71,71,71,68,68,68,66,64,62,
02877     59,58,58,55,55,54,54,53,53,53,52,52,51,50,50,47,46,45,43,42,41,
02878     41,40,40,39,39,38,38,37,37,36,35,35,35,35,33,33,33,32,32,32,30,
02879     28,27,27,26,25,25,25,24,24,23,23,22,22,21,21,20
02880   };
02881   const int n2c2w2_g[] = {
02882     120, // Capacity
02883     100, // Number of items
02884     // Size of items (sorted)
02885     98,98,97,97,96,96,96,95,95,95,95,93,92,92,90,90,90,89,88,88,88,
02886     85,84,84,82,81,81,80,79,79,77,77,74,73,73,72,71,70,70,70,68,67,
02887     66,65,65,64,63,63,63,60,58,58,58,57,56,56,56,56,56,55,52,51,51,
02888     50,49,49,48,48,46,45,45,44,43,43,42,41,41,38,36,36,35,34,34,33,
02889     32,31,31,30,30,30,29,28,27,26,26,26,23,22,21,20
02890   };
02891   const int n2c2w2_h[] = {
02892     120, // Capacity
02893     100, // Number of items
02894     // Size of items (sorted)
02895     100,99,99,98,98,98,96,96,95,94,94,94,93,92,91,90,90,89,88,87,
02896     84,83,82,79,78,78,78,77,76,74,74,74,73,73,72,71,70,69,69,67,64,
02897     64,63,63,63,62,61,61,60,60,59,58,57,56,55,54,54,54,54,53,53,51,
02898     51,50,50,50,49,48,48,48,47,45,44,44,44,43,42,42,41,41,40,38,38,
02899     38,38,37,35,30,29,28,27,27,26,26,25,25,24,22,22,21
02900   };
02901   const int n2c2w2_i[] = {
02902     120, // Capacity
02903     100, // Number of items
02904     // Size of items (sorted)
02905     100,99,99,96,96,92,92,91,91,91,89,87,87,86,86,86,85,84,83,82,
02906     81,79,79,78,77,76,76,75,75,74,74,73,71,69,69,69,68,68,66,64,63,
02907     63,63,62,62,61,61,58,57,56,56,54,53,53,52,52,52,50,50,50,49,49,
02908     48,48,47,45,44,43,42,41,41,40,39,38,37,36,36,35,34,34,32,32,32,
02909     31,26,25,24,24,24,24,24,23,23,22,22,21,20,20,20,20
02910   };
02911   const int n2c2w2_j[] = {
02912     120, // Capacity
02913     100, // Number of items
02914     // Size of items (sorted)
02915     99,98,98,97,97,96,95,93,93,93,93,93,92,91,91,91,89,87,86,83,83,
02916     82,81,80,80,80,76,76,76,75,75,75,75,75,73,71,71,70,70,70,69,67,
02917     66,65,64,63,62,62,61,61,61,61,60,60,59,58,58,58,57,56,55,55,55,
02918     54,53,52,52,52,52,51,51,50,49,47,46,46,45,45,44,44,43,43,39,39,
02919     38,37,37,34,33,32,29,28,28,26,25,24,22,22,21,20
02920   };
02921   const int n2c2w2_k[] = {
02922     120, // Capacity
02923     100, // Number of items
02924     // Size of items (sorted)
02925     98,98,98,97,96,95,94,94,92,90,88,88,86,86,86,85,85,83,83,81,80,
02926     79,78,78,77,77,76,76,75,74,72,71,71,70,70,67,66,65,65,62,61,61,
02927     60,59,59,59,58,58,57,57,57,56,55,53,53,53,52,52,50,50,49,49,49,
02928     47,47,47,46,46,44,44,42,42,41,41,40,39,39,39,38,38,36,34,33,33,
02929     32,29,29,26,26,26,26,25,25,25,25,24,22,21,21,20
02930   };
02931   const int n2c2w2_l[] = {
02932     120, // Capacity
02933     100, // Number of items
02934     // Size of items (sorted)
02935     100,100,98,98,98,98,97,97,96,93,91,91,91,91,89,88,87,86,86,85,
02936     83,83,83,82,82,80,79,78,78,76,75,75,75,74,72,72,72,72,71,69,68,
02937     66,66,66,62,61,60,59,58,58,57,56,55,54,53,51,50,50,50,50,49,48,
02938     48,47,47,47,47,46,46,45,45,42,41,40,40,39,39,38,38,37,36,36,36,
02939     36,33,32,30,30,30,27,25,24,24,24,23,23,22,21,21,20
02940   };
02941   const int n2c2w2_m[] = {
02942     120, // Capacity
02943     100, // Number of items
02944     // Size of items (sorted)
02945     100,99,98,98,98,98,97,96,95,95,93,92,92,91,90,90,89,88,88,87,
02946     85,85,85,85,84,84,83,83,83,82,81,80,79,79,79,78,77,74,74,73,72,
02947     71,64,61,60,60,59,58,57,57,57,54,54,54,52,51,50,50,49,49,49,48,
02948     48,47,47,47,46,45,45,44,43,41,41,40,39,36,36,35,34,34,34,32,31,
02949     30,29,29,28,28,28,27,26,26,25,25,24,23,23,22,22,20
02950   };
02951   const int n2c2w2_n[] = {
02952     120, // Capacity
02953     100, // Number of items
02954     // Size of items (sorted)
02955     99,98,98,97,97,97,97,97,96,95,95,92,92,92,92,91,91,90,90,89,88,
02956     87,85,85,83,82,82,82,82,81,79,77,76,76,75,75,74,74,71,71,70,69,
02957     68,66,66,64,63,62,61,61,60,59,56,53,52,51,50,50,48,47,46,43,42,
02958     41,41,40,40,40,39,39,38,36,34,34,33,33,33,32,32,32,31,31,30,30,
02959     30,29,29,29,27,27,25,24,23,22,22,21,21,21,20,20
02960   };
02961   const int n2c2w2_o[] = {
02962     120, // Capacity
02963     100, // Number of items
02964     // Size of items (sorted)
02965     100,100,98,98,97,97,97,95,93,93,89,89,88,87,86,84,83,82,81,80,
02966     79,79,79,77,75,73,73,72,72,71,71,71,69,68,68,67,67,66,65,65,64,
02967     63,60,59,59,58,58,57,57,56,56,55,55,55,55,54,54,54,53,51,51,50,
02968     50,50,48,47,47,47,47,46,46,45,44,43,41,41,40,40,39,37,36,32,32,
02969     31,29,28,27,27,27,27,26,25,25,25,25,24,24,22,21,20
02970   };
02971   const int n2c2w2_p[] = {
02972     120, // Capacity
02973     100, // Number of items
02974     // Size of items (sorted)
02975     99,97,97,96,96,95,95,93,93,92,92,91,91,89,89,88,87,86,86,85,84,
02976     84,83,82,79,78,78,76,72,71,71,71,70,68,68,68,67,66,65,64,62,62,
02977     62,61,61,59,59,57,57,55,55,54,53,52,52,51,49,48,47,47,47,46,46,
02978     45,45,44,43,43,42,42,40,39,39,39,39,39,38,37,36,36,35,34,33,32,
02979     31,30,29,28,28,27,25,25,25,24,23,22,22,21,20,20
02980   };
02981   const int n2c2w2_q[] = {
02982     120, // Capacity
02983     100, // Number of items
02984     // Size of items (sorted)
02985     98,97,97,97,97,96,96,96,96,95,93,93,92,91,90,90,88,88,87,87,87,
02986     86,86,86,85,83,83,80,80,80,77,76,76,76,75,75,75,70,69,69,68,67,
02987     66,65,65,65,64,61,60,59,59,58,58,58,55,55,54,54,54,54,54,53,53,
02988     52,52,52,50,50,46,46,46,45,45,44,44,41,41,40,39,39,37,33,32,31,
02989     30,30,29,29,29,28,26,24,24,23,22,22,21,21,20,20
02990   };
02991   const int n2c2w2_r[] = {
02992     120, // Capacity
02993     100, // Number of items
02994     // Size of items (sorted)
02995     100,99,99,98,97,97,96,95,95,94,93,93,91,91,91,90,89,88,86,86,
02996     85,82,82,82,81,81,80,79,79,78,78,76,74,73,69,68,67,67,66,66,66,
02997     66,64,63,62,62,60,60,59,58,56,54,53,52,51,50,50,49,48,47,46,46,
02998     44,44,43,43,43,43,43,42,42,41,41,40,39,36,35,34,33,33,33,32,32,
02999     32,31,30,30,30,29,29,27,26,25,24,24,23,22,22,20,20
03000   };
03001   const int n2c2w2_s[] = {
03002     120, // Capacity
03003     100, // Number of items
03004     // Size of items (sorted)
03005     99,99,98,97,96,95,94,94,94,93,93,92,92,92,92,90,90,90,89,88,88,
03006     87,87,85,85,84,81,79,76,75,74,74,74,72,72,72,72,72,71,70,70,69,
03007     68,68,68,67,67,65,65,64,64,63,63,63,61,61,61,60,60,59,58,57,57,
03008     56,56,55,54,53,52,51,49,49,49,49,47,47,46,44,41,40,38,37,37,37,
03009     35,34,34,33,32,32,31,30,29,27,25,24,23,22,22,20
03010   };
03011   const int n2c2w2_t[] = {
03012     120, // Capacity
03013     100, // Number of items
03014     // Size of items (sorted)
03015     100,100,100,99,99,99,97,97,96,93,91,90,87,86,86,86,85,85,85,84,
03016     84,83,83,82,81,81,79,77,75,75,74,74,73,72,72,72,71,70,70,70,70,
03017     69,69,69,68,68,67,67,66,65,64,59,59,59,59,57,57,57,56,56,55,54,
03018     54,52,49,49,48,45,44,44,43,42,42,42,42,41,40,40,39,39,39,38,38,
03019     36,35,35,35,33,33,32,30,30,29,28,27,27,26,25,25,22
03020   };
03021   const int n2c2w4_a[] = {
03022     120, // Capacity
03023     100, // Number of items
03024     // Size of items (sorted)
03025     100,99,99,98,93,93,93,93,93,93,92,92,92,91,91,90,90,89,86,86,
03026     85,84,84,83,82,82,80,79,77,77,76,76,76,74,74,73,71,71,71,70,69,
03027     68,68,68,68,67,67,66,64,64,63,62,62,60,60,60,58,56,56,55,55,51,
03028     50,49,49,46,45,45,45,44,43,43,42,41,41,40,40,40,40,38,38,37,36,
03029     36,36,36,36,35,34,34,33,32,32,31,31,30,30,30,30,30
03030   };
03031   const int n2c2w4_b[] = {
03032     120, // Capacity
03033     100, // Number of items
03034     // Size of items (sorted)
03035     100,99,99,99,98,96,96,96,96,95,94,93,92,92,90,90,90,89,88,86,
03036     84,84,84,80,80,79,79,79,78,75,75,75,75,74,74,74,72,72,71,71,70,
03037     70,70,69,69,69,68,67,67,67,67,66,66,65,63,61,60,60,58,57,57,57,
03038     56,56,55,55,54,53,52,51,50,50,47,47,46,45,43,43,43,42,41,41,40,
03039     40,39,39,39,38,37,37,37,37,34,34,33,33,32,32,32,30
03040   };
03041   const int n2c2w4_c[] = {
03042     120, // Capacity
03043     100, // Number of items
03044     // Size of items (sorted)
03045     100,100,100,100,99,97,96,95,94,94,94,93,90,90,89,89,89,89,88,
03046     88,87,87,87,86,85,84,84,84,83,83,83,82,80,80,79,78,78,76,75,75,
03047     74,70,70,69,69,69,69,68,68,68,68,67,66,65,65,64,64,64,63,63,62,
03048     62,61,61,60,60,59,58,58,57,57,55,54,53,53,51,51,49,49,49,48,47,
03049     47,46,46,42,41,38,37,35,34,33,32,32,32,31,31,30,30,30
03050   };
03051   const int n2c2w4_d[] = {
03052     120, // Capacity
03053     100, // Number of items
03054     // Size of items (sorted)
03055     99,99,99,98,98,98,97,97,97,96,96,95,94,94,92,91,90,88,88,87,86,
03056     86,86,86,84,84,83,82,82,82,81,81,81,81,80,79,78,77,77,76,75,75,
03057     75,75,74,74,73,72,72,69,67,66,63,63,63,61,60,60,59,59,58,58,56,
03058     56,55,55,54,52,50,49,48,48,48,47,47,47,46,46,44,42,40,40,39,38,
03059     37,37,36,36,36,35,34,33,33,32,31,31,31,30,30,30
03060   };
03061   const int n2c2w4_e[] = {
03062     120, // Capacity
03063     100, // Number of items
03064     // Size of items (sorted)
03065     100,100,99,99,98,98,98,98,98,97,97,96,95,95,95,93,93,91,89,89,
03066     88,88,87,87,87,86,84,84,84,84,83,83,83,83,81,79,77,76,74,73,71,
03067     70,69,69,68,68,68,66,66,64,64,64,64,63,61,61,60,60,60,60,59,58,
03068     58,56,56,56,54,54,51,51,50,50,48,48,47,46,45,45,43,43,43,42,42,
03069     41,40,37,36,36,36,36,34,33,33,33,33,32,31,31,30,30
03070   };
03071   const int n2c2w4_f[] = {
03072     120, // Capacity
03073     100, // Number of items
03074     // Size of items (sorted)
03075     100,99,99,98,97,97,96,96,95,95,94,92,92,90,90,89,87,87,86,85,
03076     85,85,84,84,84,83,82,81,81,80,80,79,79,79,78,78,76,75,74,73,72,
03077     72,70,70,68,67,65,65,64,64,63,63,63,62,62,61,59,58,58,57,57,56,
03078     55,54,54,54,53,52,51,50,47,47,43,42,42,42,42,41,41,40,40,39,38,
03079     38,38,37,36,35,35,35,35,34,34,33,33,33,32,32,31,31
03080   };
03081   const int n2c2w4_g[] = {
03082     120, // Capacity
03083     100, // Number of items
03084     // Size of items (sorted)
03085     100,100,100,99,99,98,96,96,96,95,95,92,91,91,91,91,91,88,87,87,
03086     87,87,85,85,84,84,82,81,81,80,79,78,77,75,74,74,74,74,72,71,70,
03087     70,70,70,70,69,69,68,68,67,66,66,65,65,64,63,63,62,61,61,60,58,
03088     58,56,55,54,54,54,53,53,53,53,52,51,47,47,45,45,44,44,43,43,42,
03089     41,41,39,38,37,36,36,36,35,35,34,34,33,33,32,32,30
03090   };
03091   const int n2c2w4_h[] = {
03092     120, // Capacity
03093     100, // Number of items
03094     // Size of items (sorted)
03095     100,100,99,99,98,97,97,97,96,96,96,96,95,94,93,89,88,87,86,85,
03096     85,85,85,84,84,84,83,83,82,81,81,81,80,80,79,78,78,77,77,77,76,
03097     75,72,72,70,69,69,69,69,66,66,65,64,64,63,63,62,59,59,58,58,57,
03098     57,57,55,54,52,52,51,51,51,48,47,47,47,46,46,45,45,45,44,43,43,
03099     42,42,42,42,39,37,37,37,35,34,33,32,32,31,31,30,30
03100   };
03101   const int n2c2w4_i[] = {
03102     120, // Capacity
03103     100, // Number of items
03104     // Size of items (sorted)
03105     100,99,99,98,97,94,94,94,94,93,93,92,91,91,91,90,90,89,88,87,
03106     87,87,85,84,83,83,82,82,82,82,79,78,78,77,74,74,74,74,72,72,71,
03107     71,70,68,67,67,66,66,64,63,63,62,61,61,60,60,59,59,58,56,53,52,
03108     52,52,52,52,52,52,51,51,50,49,49,48,47,46,46,45,45,45,43,41,40,
03109     40,39,38,38,38,37,37,35,35,33,33,32,31,30,30,30,30
03110   };
03111   const int n2c2w4_j[] = {
03112     120, // Capacity
03113     100, // Number of items
03114     // Size of items (sorted)
03115     100,100,100,99,98,98,98,98,97,97,96,95,95,93,92,91,90,90,90,89,
03116     88,88,86,86,85,85,83,82,81,81,80,76,76,76,74,74,73,73,73,71,71,
03117     71,70,70,69,68,68,67,67,67,66,66,66,65,64,64,64,62,61,59,58,58,
03118     55,55,55,54,52,51,50,50,49,49,49,49,48,47,47,47,44,44,43,43,40,
03119     40,38,38,38,37,37,37,36,36,36,36,35,33,32,32,31,30
03120   };
03121   const int n2c2w4_k[] = {
03122     120, // Capacity
03123     100, // Number of items
03124     // Size of items (sorted)
03125     99,97,97,97,96,95,94,94,93,93,93,91,90,89,88,86,84,83,83,83,82,
03126     82,81,81,81,80,78,78,78,77,75,75,74,73,73,73,73,71,71,71,70,69,
03127     69,68,68,67,66,65,64,64,63,63,63,63,62,62,61,60,59,58,57,57,57,
03128     57,56,55,54,54,53,52,52,52,52,50,50,49,49,49,48,48,46,45,45,44,
03129     44,42,39,39,37,34,34,34,34,33,33,32,31,31,30,30
03130   };
03131   const int n2c2w4_l[] = {
03132     120, // Capacity
03133     100, // Number of items
03134     // Size of items (sorted)
03135     100,99,99,97,97,97,96,93,91,89,89,88,88,88,85,84,82,82,80,80,
03136     78,78,78,78,78,77,77,76,76,75,75,75,74,74,74,72,71,70,69,69,69,
03137     67,67,67,66,65,65,65,64,63,63,61,61,60,60,60,60,59,58,58,57,57,
03138     57,56,56,54,53,53,52,52,51,51,47,47,46,45,45,45,44,44,43,43,43,
03139     43,42,37,37,37,35,34,34,33,33,33,33,32,32,31,30,30
03140   };
03141   const int n2c2w4_m[] = {
03142     120, // Capacity
03143     100, // Number of items
03144     // Size of items (sorted)
03145     100,99,98,97,96,96,95,94,94,94,93,93,92,92,91,91,91,90,90,90,
03146     89,86,86,85,84,84,83,82,82,77,77,77,77,77,76,75,75,74,73,72,71,
03147     71,70,70,70,70,69,69,68,67,67,66,65,64,64,63,61,60,58,58,58,57,
03148     57,57,54,54,54,53,52,52,52,51,51,51,48,46,46,46,45,44,44,44,43,
03149     43,43,41,39,38,38,36,36,35,35,34,32,31,31,31,30,30
03150   };
03151   const int n2c2w4_n[] = {
03152     120, // Capacity
03153     100, // Number of items
03154     // Size of items (sorted)
03155     100,99,99,98,97,95,95,94,94,94,93,92,92,91,91,91,90,89,87,87,
03156     86,86,85,84,81,81,81,81,80,79,79,79,79,78,77,75,75,75,74,74,73,
03157     73,73,71,71,70,70,69,67,67,66,64,64,63,63,63,62,61,61,61,61,60,
03158     59,59,59,59,58,58,56,56,54,54,53,53,53,52,52,51,49,45,44,44,43,
03159     43,39,37,37,37,37,37,37,36,36,35,33,32,32,31,31,30
03160   };
03161   const int n2c2w4_o[] = {
03162     120, // Capacity
03163     100, // Number of items
03164     // Size of items (sorted)
03165     100,99,97,97,97,94,94,93,93,93,92,92,92,91,91,90,90,90,88,88,
03166     88,88,87,87,87,86,86,86,86,85,85,84,84,83,83,81,81,80,79,79,79,
03167     79,77,74,74,73,72,72,70,70,67,67,66,66,66,65,64,64,64,63,62,61,
03168     59,58,54,53,53,52,51,47,47,45,44,43,43,42,41,41,41,39,39,39,39,
03169     37,37,36,35,35,34,34,33,33,33,32,31,31,30,30,30,30
03170   };
03171   const int n2c2w4_p[] = {
03172     120, // Capacity
03173     100, // Number of items
03174     // Size of items (sorted)
03175     100,99,99,99,98,97,97,96,96,95,94,94,93,91,89,89,89,87,87,86,
03176     85,84,84,84,83,83,83,83,79,79,76,76,75,74,73,73,72,71,71,70,70,
03177     70,70,68,67,67,66,64,64,63,62,62,62,62,62,59,58,58,56,56,56,54,
03178     54,54,53,53,53,51,51,50,49,49,48,48,48,47,46,46,45,44,43,43,43,
03179     42,41,41,41,41,40,39,38,38,38,38,37,36,35,32,31,30
03180   };
03181   const int n2c2w4_q[] = {
03182     120, // Capacity
03183     100, // Number of items
03184     // Size of items (sorted)
03185     99,98,98,98,96,95,94,91,90,90,90,89,88,86,85,85,84,83,83,83,83,
03186     82,80,80,79,79,78,78,77,77,77,77,77,76,76,76,76,76,76,76,76,73,
03187     73,72,71,71,70,70,68,67,67,67,66,65,64,63,62,62,62,61,59,57,56,
03188     56,56,56,55,54,54,54,54,53,52,52,51,51,50,48,47,47,47,45,45,44,
03189     44,42,41,41,38,37,36,34,34,34,32,32,32,31,30,30
03190   };
03191   const int n2c2w4_r[] = {
03192     120, // Capacity
03193     100, // Number of items
03194     // Size of items (sorted)
03195     100,99,99,98,97,97,97,96,94,94,93,93,93,91,89,89,89,89,89,88,
03196     87,87,86,86,85,85,84,83,80,79,78,77,77,77,73,73,71,70,70,69,69,
03197     68,67,65,63,62,62,62,62,61,60,60,59,59,59,58,58,58,57,57,56,56,
03198     55,54,53,52,51,49,48,47,46,45,45,45,44,43,42,42,42,42,41,40,39,
03199     39,38,37,35,35,35,35,34,33,33,32,32,31,30,30,30,30
03200   };
03201   const int n2c2w4_s[] = {
03202     120, // Capacity
03203     100, // Number of items
03204     // Size of items (sorted)
03205     100,100,97,96,96,95,94,94,94,90,90,90,87,86,86,86,83,83,83,83,
03206     83,82,82,82,80,79,79,78,77,77,77,76,76,75,71,71,71,70,70,68,68,
03207     67,67,66,66,65,63,63,63,62,61,61,60,60,59,59,59,58,56,55,53,53,
03208     53,52,51,49,49,47,45,45,45,45,45,44,42,42,42,41,41,41,41,41,39,
03209     39,38,38,38,37,33,33,33,33,32,32,32,31,31,31,31,30
03210   };
03211   const int n2c2w4_t[] = {
03212     120, // Capacity
03213     100, // Number of items
03214     // Size of items (sorted)
03215     99,99,98,98,97,97,97,96,93,92,91,91,90,89,88,88,87,86,86,85,85,
03216     84,84,83,83,81,80,80,78,76,75,75,74,72,72,71,69,69,68,68,68,68,
03217     67,66,66,65,62,61,61,60,60,60,59,58,58,57,57,57,56,56,54,54,53,
03218     53,53,52,52,51,50,50,50,49,48,48,46,46,46,46,45,45,43,42,42,41,
03219     41,41,38,37,36,36,35,34,34,34,33,33,33,32,30,30
03220   };
03221   const int n2c3w1_a[] = {
03222     150, // Capacity
03223     100, // Number of items
03224     // Size of items (sorted)
03225     99,99,97,97,96,96,96,94,93,93,92,90,90,90,89,88,88,87,83,82,81,
03226     81,81,80,79,78,77,77,76,76,75,74,74,74,71,69,69,68,67,67,66,62,
03227     59,58,57,56,55,54,54,53,53,52,52,49,49,48,47,46,45,44,43,43,42,
03228     42,39,38,37,35,35,34,32,32,31,31,30,29,24,24,21,21,21,20,18,16,
03229     13,12,11,9,7,7,7,6,5,5,4,4,2,2,1,1
03230   };
03231   const int n2c3w1_b[] = {
03232     150, // Capacity
03233     100, // Number of items
03234     // Size of items (sorted)
03235     100,99,96,94,93,92,92,91,91,91,89,88,86,86,86,85,84,84,84,81,
03236     81,80,79,79,78,77,77,77,77,73,71,69,67,66,65,65,64,64,64,62,60,
03237     57,57,56,56,56,56,53,52,51,51,50,50,48,47,46,45,44,43,42,41,41,
03238     40,40,39,39,38,37,36,36,36,34,33,31,31,29,29,26,25,22,22,22,20,
03239     17,11,11,10,9,7,7,7,7,6,5,3,2,2,1,1,1
03240   };
03241   const int n2c3w1_c[] = {
03242     150, // Capacity
03243     100, // Number of items
03244     // Size of items (sorted)
03245     98,97,97,97,96,95,95,95,95,93,92,88,87,86,86,85,81,81,80,78,78,
03246     78,77,77,76,75,74,72,71,70,70,69,69,67,67,67,65,65,65,64,64,63,
03247     62,58,58,56,56,56,55,52,51,50,50,50,49,49,47,45,43,43,43,42,41,
03248     40,40,40,39,38,36,35,33,33,32,30,29,28,28,25,25,22,22,20,20,18,
03249     17,16,15,11,11,10,8,5,5,5,4,4,2,2,2,1
03250   };
03251   const int n2c3w1_d[] = {
03252     150, // Capacity
03253     100, // Number of items
03254     // Size of items (sorted)
03255     99,99,97,97,96,96,94,92,92,92,92,91,90,90,89,89,88,85,84,84,84,
03256     80,80,78,78,77,77,77,76,75,75,75,74,73,73,72,71,71,70,68,66,65,
03257     64,62,61,60,57,56,56,55,55,54,54,52,50,50,48,48,47,47,45,45,45,
03258     44,42,40,40,39,38,38,38,36,34,32,30,29,29,29,28,28,28,26,25,25,
03259     24,21,18,17,14,13,12,12,10,10,9,9,8,5,4,1
03260   };
03261   const int n2c3w1_e[] = {
03262     150, // Capacity
03263     100, // Number of items
03264     // Size of items (sorted)
03265     100,99,99,98,98,96,93,91,89,89,88,86,86,85,85,85,84,84,82,82,
03266     81,80,79,78,77,76,75,75,73,72,71,70,69,68,68,66,66,64,63,63,62,
03267     62,58,57,55,54,52,51,50,50,49,48,48,46,46,44,43,41,41,38,37,34,
03268     33,31,31,31,31,29,29,28,28,27,27,27,26,26,26,25,22,22,21,20,20,
03269     19,18,18,16,15,15,15,14,14,13,9,8,8,8,2,2,2
03270   };
03271   const int n2c3w1_f[] = {
03272     150, // Capacity
03273     100, // Number of items
03274     // Size of items (sorted)
03275     100,100,100,98,98,97,97,96,94,92,90,87,86,84,84,83,83,81,81,81,
03276     81,80,77,77,77,75,74,74,74,73,70,69,69,68,67,66,66,65,65,64,63,
03277     62,62,61,60,59,57,57,57,57,56,56,54,52,50,50,47,45,43,43,43,40,
03278     38,37,37,36,36,35,35,33,33,32,31,31,29,27,27,24,23,19,18,16,14,
03279     13,13,12,12,11,10,9,8,8,8,4,4,4,3,2,2,1
03280   };
03281   const int n2c3w1_g[] = {
03282     150, // Capacity
03283     100, // Number of items
03284     // Size of items (sorted)
03285     99,98,96,94,93,92,91,91,88,88,87,87,87,86,85,84,83,82,81,79,79,
03286     77,75,73,73,73,72,71,69,68,67,66,65,65,64,64,62,62,61,60,60,57,
03287     55,55,54,50,50,50,49,48,48,47,45,44,44,44,42,42,39,38,35,35,34,
03288     34,34,33,33,32,31,31,29,29,28,26,25,23,21,21,20,19,18,18,16,16,
03289     15,14,13,13,11,11,11,10,8,6,6,5,5,4,3,2
03290   };
03291   const int n2c3w1_h[] = {
03292     150, // Capacity
03293     100, // Number of items
03294     // Size of items (sorted)
03295     100,99,98,98,98,94,93,91,91,89,87,87,87,86,86,86,85,85,84,83,
03296     83,81,81,80,78,77,77,76,76,75,75,73,73,70,69,69,65,63,63,63,62,
03297     62,62,60,59,58,57,57,55,54,53,52,51,51,50,49,49,48,47,47,44,44,
03298     42,38,37,37,32,32,32,30,30,29,28,27,27,25,25,25,23,23,23,22,22,
03299     21,20,19,17,15,14,13,13,10,9,8,6,5,4,3,2,1
03300   };
03301   const int n2c3w1_i[] = {
03302     150, // Capacity
03303     100, // Number of items
03304     // Size of items (sorted)
03305     100,99,97,96,94,94,92,92,92,91,91,89,87,86,86,86,85,85,83,83,
03306     80,80,78,76,75,73,72,68,66,65,64,63,63,62,62,61,60,58,58,56,56,
03307     56,54,54,53,53,52,51,51,50,49,49,49,48,47,47,46,45,43,43,42,42,
03308     42,40,37,37,36,36,34,34,33,33,31,29,25,24,24,23,21,21,20,17,16,
03309     15,13,13,12,11,11,11,10,9,9,8,8,7,7,5,3,1
03310   };
03311   const int n2c3w1_j[] = {
03312     150, // Capacity
03313     100, // Number of items
03314     // Size of items (sorted)
03315     99,99,98,97,97,95,95,92,91,90,90,89,88,87,86,86,86,85,83,83,83,
03316     82,80,78,78,77,76,76,75,75,74,72,70,69,67,62,61,61,59,59,59,58,
03317     58,56,56,55,52,52,52,51,51,49,47,47,46,44,43,42,42,39,37,37,36,
03318     31,31,31,28,27,25,25,25,23,21,19,18,17,16,16,16,16,15,14,14,14,
03319     14,13,13,10,10,9,7,7,6,6,5,4,2,2,1,1
03320   };
03321   const int n2c3w1_k[] = {
03322     150, // Capacity
03323     100, // Number of items
03324     // Size of items (sorted)
03325     98,98,96,95,95,94,94,93,93,92,92,92,90,89,89,88,87,87,87,87,85,
03326     85,83,83,82,81,80,80,79,76,75,75,74,73,71,70,68,68,66,66,63,63,
03327     63,59,59,58,58,58,58,56,55,54,53,51,49,49,47,46,46,45,44,44,43,
03328     42,40,37,37,37,36,33,33,33,30,30,29,26,26,26,26,25,24,23,22,21,
03329     21,20,18,17,17,16,15,10,7,6,5,4,3,2,1,1
03330   };
03331   const int n2c3w1_l[] = {
03332     150, // Capacity
03333     100, // Number of items
03334     // Size of items (sorted)
03335     100,99,99,97,97,96,95,95,95,93,93,90,89,89,86,85,82,81,79,79,
03336     78,77,77,76,76,76,74,74,74,73,71,71,70,70,69,67,66,66,65,65,61,
03337     61,61,60,59,59,58,57,54,52,48,48,47,47,46,46,46,46,44,44,42,42,
03338     41,41,39,39,39,39,36,35,34,31,31,26,26,26,24,22,21,21,19,18,17,
03339     17,16,16,15,15,14,14,13,12,10,7,7,7,3,3,2,2
03340   };
03341   const int n2c3w1_m[] = {
03342     150, // Capacity
03343     100, // Number of items
03344     // Size of items (sorted)
03345     100,100,98,97,95,94,92,89,87,87,83,81,81,81,80,80,78,77,75,74,
03346     74,71,69,68,67,66,66,65,64,64,64,64,64,64,64,63,58,56,55,54,52,
03347     50,49,49,46,46,45,44,43,41,40,40,37,35,35,35,34,34,33,32,32,32,
03348     31,30,29,27,27,26,25,25,24,24,23,22,21,21,19,19,19,18,18,18,17,
03349     17,15,14,14,14,11,11,8,6,6,5,4,3,2,2,1,1
03350   };
03351   const int n2c3w1_n[] = {
03352     150, // Capacity
03353     100, // Number of items
03354     // Size of items (sorted)
03355     98,98,96,94,94,91,89,88,88,87,87,87,86,85,85,84,84,82,81,81,80,
03356     80,79,79,78,76,75,72,72,70,69,69,68,67,66,65,64,63,58,57,54,54,
03357     53,53,53,53,50,49,47,44,44,43,43,42,42,40,38,38,37,36,34,33,33,
03358     30,30,30,29,26,25,25,23,23,20,20,19,19,16,16,15,15,15,15,13,12,
03359     12,11,10,10,9,9,7,6,6,4,4,3,2,2,1,1
03360   };
03361   const int n2c3w1_o[] = {
03362     150, // Capacity
03363     100, // Number of items
03364     // Size of items (sorted)
03365     100,98,96,96,94,93,93,92,91,91,90,89,89,86,86,85,84,83,82,82,
03366     79,79,79,79,77,75,75,75,74,74,74,74,71,71,70,68,68,67,66,63,63,
03367     62,62,60,59,59,58,55,54,54,52,49,48,47,47,46,45,44,43,43,42,40,
03368     39,39,37,37,36,35,34,33,28,26,26,25,25,23,22,21,20,19,19,19,18,
03369     17,17,16,12,12,12,10,10,9,9,8,7,7,7,6,3,2
03370   };
03371   const int n2c3w1_p[] = {
03372     150, // Capacity
03373     100, // Number of items
03374     // Size of items (sorted)
03375     100,97,96,94,94,93,92,92,91,90,90,87,86,86,86,84,84,82,81,80,
03376     77,76,76,76,75,74,74,73,73,72,72,71,71,70,70,70,69,68,68,67,66,
03377     66,65,64,63,62,62,60,59,59,59,59,57,52,52,50,49,48,47,46,44,42,
03378     41,38,36,36,34,33,30,28,27,25,25,24,22,20,20,17,16,16,15,15,15,
03379     13,13,12,11,11,10,10,10,10,9,8,8,6,5,5,4,3
03380   };
03381   const int n2c3w1_q[] = {
03382     150, // Capacity
03383     100, // Number of items
03384     // Size of items (sorted)
03385     100,99,97,94,93,91,89,88,86,85,85,84,83,81,81,80,79,78,77,76,
03386     75,75,74,71,71,70,69,68,68,68,68,66,64,63,63,62,62,62,61,59,58,
03387     56,55,55,54,54,54,54,52,52,47,46,46,46,45,44,41,41,39,39,39,38,
03388     38,37,36,36,35,35,34,34,34,33,31,30,29,29,29,29,28,28,27,27,27,
03389     26,26,26,23,23,22,20,20,20,17,14,8,8,6,3,1,1
03390   };
03391   const int n2c3w1_r[] = {
03392     150, // Capacity
03393     100, // Number of items
03394     // Size of items (sorted)
03395     100,98,95,95,94,92,92,92,90,88,88,87,87,87,86,86,83,83,82,82,
03396     81,80,77,76,75,75,75,74,73,70,70,68,66,66,66,65,64,64,60,59,58,
03397     56,55,52,52,52,52,52,51,49,49,48,46,44,42,42,41,41,41,40,40,39,
03398     38,36,36,35,34,34,34,31,31,30,27,27,27,24,24,22,21,20,15,15,15,
03399     14,14,12,12,11,10,9,7,6,6,5,4,4,3,3,2,1
03400   };
03401   const int n2c3w1_s[] = {
03402     150, // Capacity
03403     100, // Number of items
03404     // Size of items (sorted)
03405     100,99,99,98,97,96,95,95,94,91,91,89,88,88,86,83,82,79,78,78,
03406     76,75,75,74,72,71,70,70,69,69,69,68,66,65,64,64,63,63,62,62,61,
03407     60,58,58,57,56,56,55,55,54,52,52,49,49,49,48,48,47,46,46,45,45,
03408     41,40,40,39,37,36,36,36,35,35,35,35,33,32,31,31,31,28,28,25,24,
03409     24,21,20,19,19,19,18,16,16,16,16,13,13,11,8,6,5
03410   };
03411   const int n2c3w1_t[] = {
03412     150, // Capacity
03413     100, // Number of items
03414     // Size of items (sorted)
03415     100,99,98,96,95,95,95,91,90,90,90,89,88,85,85,83,81,80,80,80,
03416     79,79,78,77,77,77,76,76,75,74,74,73,73,71,68,67,66,65,64,63,62,
03417     58,56,56,55,53,51,51,51,50,49,46,44,44,43,43,42,42,42,40,39,38,
03418     37,37,37,36,36,36,34,34,34,33,32,31,30,30,29,27,26,26,25,22,19,
03419     18,17,16,16,15,14,12,12,10,9,7,6,5,4,4,3,1
03420   };
03421   const int n2c3w2_a[] = {
03422     150, // Capacity
03423     100, // Number of items
03424     // Size of items (sorted)
03425     100,99,98,96,96,96,96,96,96,94,93,93,92,92,92,91,91,91,90,87,
03426     84,83,83,79,78,78,77,77,76,76,75,75,75,73,73,73,72,72,72,72,72,
03427     71,71,70,70,66,66,65,64,63,59,58,57,56,56,55,55,54,53,53,52,51,
03428     49,47,46,46,45,44,43,43,42,41,41,39,39,38,37,35,35,34,34,33,33,
03429     32,32,32,32,31,30,30,29,28,24,23,22,22,22,22,21,20
03430   };
03431   const int n2c3w2_b[] = {
03432     150, // Capacity
03433     100, // Number of items
03434     // Size of items (sorted)
03435     99,97,96,96,96,95,95,95,95,94,94,93,92,92,92,91,91,91,90,89,89,
03436     89,88,88,88,87,86,86,85,85,84,83,82,81,81,77,77,76,76,75,73,73,
03437     73,72,72,72,72,70,69,67,66,65,65,64,62,61,60,58,57,56,55,53,52,
03438     52,52,48,48,46,45,43,42,39,39,38,38,38,38,37,36,35,34,34,32,31,
03439     30,30,28,27,27,27,25,24,24,24,23,23,22,22,22,21
03440   };
03441   const int n2c3w2_c[] = {
03442     150, // Capacity
03443     100, // Number of items
03444     // Size of items (sorted)
03445     100,99,99,98,97,97,97,96,96,95,95,95,94,93,93,93,92,91,89,88,
03446     87,86,84,84,83,83,82,81,81,81,78,78,75,74,73,72,72,71,70,68,67,
03447     66,65,64,63,63,62,60,60,59,59,58,57,56,56,55,54,51,49,49,48,47,
03448     47,46,45,45,45,45,44,44,44,44,43,41,41,40,39,39,39,37,37,37,35,
03449     35,34,32,31,31,30,28,26,25,24,24,23,23,22,21,20,20
03450   };
03451   const int n2c3w2_d[] = {
03452     150, // Capacity
03453     100, // Number of items
03454     // Size of items (sorted)
03455     100,100,100,99,99,98,97,96,95,95,95,94,94,91,91,90,90,88,86,84,
03456     83,83,79,78,77,74,74,72,72,70,69,69,69,69,68,68,68,67,67,67,66,
03457     66,65,64,63,63,63,63,63,62,62,61,60,60,59,59,59,59,57,55,55,55,
03458     53,53,52,52,51,50,49,48,47,47,45,44,44,43,43,42,42,41,41,38,37,
03459     36,36,36,36,34,34,29,29,28,27,25,24,23,23,22,22,20
03460   };
03461   const int n2c3w2_e[] = {
03462     150, // Capacity
03463     100, // Number of items
03464     // Size of items (sorted)
03465     99,98,98,98,93,93,92,90,90,89,89,87,85,85,84,81,81,81,80,77,76,
03466     75,75,74,74,73,71,70,70,69,68,67,67,67,66,66,65,65,64,63,62,62,
03467     61,61,59,58,57,57,57,56,55,54,54,54,52,52,52,52,52,51,51,50,50,
03468     50,49,47,47,47,47,47,45,45,44,43,42,42,39,39,39,39,39,39,38,37,
03469     37,37,34,33,33,32,32,31,31,31,29,28,28,27,25,22
03470   };
03471   const int n2c3w2_f[] = {
03472     150, // Capacity
03473     100, // Number of items
03474     // Size of items (sorted)
03475     100,99,99,98,98,97,97,96,95,94,92,92,92,90,86,86,85,85,83,83,
03476     74,74,73,73,73,72,71,71,71,70,70,70,70,69,69,67,67,66,66,66,66,
03477     65,65,63,63,62,61,57,56,56,56,55,54,54,53,53,53,51,49,47,47,47,
03478     46,46,45,44,44,44,42,41,40,40,37,37,35,35,35,35,33,32,32,32,32,
03479     31,31,30,28,28,27,27,27,26,24,23,22,21,21,21,21,20
03480   };
03481   const int n2c3w2_g[] = {
03482     150, // Capacity
03483     100, // Number of items
03484     // Size of items (sorted)
03485     100,99,99,99,97,97,96,96,95,94,94,93,93,92,91,91,90,89,88,88,
03486     87,87,86,85,84,83,83,83,82,82,78,75,75,73,73,72,72,70,69,69,67,
03487     67,65,65,63,61,61,60,59,58,58,58,58,57,57,57,55,54,54,54,52,52,
03488     52,51,48,47,47,47,46,45,45,45,44,42,41,40,37,35,34,31,30,29,27,
03489     26,26,26,25,25,25,24,24,24,24,23,23,23,23,23,22,20
03490   };
03491   const int n2c3w2_h[] = {
03492     150, // Capacity
03493     100, // Number of items
03494     // Size of items (sorted)
03495     99,98,98,98,96,92,92,91,89,87,86,86,85,85,82,81,81,80,80,77,77,
03496     76,76,75,74,74,74,73,71,71,69,69,68,68,66,66,65,64,63,63,63,62,
03497     61,59,59,57,56,55,54,54,53,53,53,51,50,50,49,49,49,48,48,47,47,
03498     46,44,44,44,43,42,41,36,36,36,36,36,35,33,33,32,32,32,32,30,30,
03499     30,30,29,28,28,28,25,25,25,24,24,22,22,22,20,20
03500   };
03501   const int n2c3w2_i[] = {
03502     150, // Capacity
03503     100, // Number of items
03504     // Size of items (sorted)
03505     99,99,99,99,98,97,97,97,96,95,95,95,93,93,93,92,92,91,91,91,90,
03506     90,89,88,87,87,86,84,83,82,81,80,79,79,79,78,78,77,77,76,74,73,
03507     72,71,70,69,69,68,66,66,65,65,65,64,63,63,63,63,62,61,60,60,59,
03508     57,57,54,54,52,49,48,48,47,47,47,47,46,46,45,44,43,43,37,37,36,
03509     36,34,33,32,30,30,30,27,25,22,22,22,21,21,20,20
03510   };
03511   const int n2c3w2_j[] = {
03512     150, // Capacity
03513     100, // Number of items
03514     // Size of items (sorted)
03515     100,100,99,99,99,98,97,97,96,96,96,95,94,94,94,93,93,93,91,90,
03516     89,87,87,86,85,84,83,83,82,81,80,80,80,79,79,78,78,78,78,77,76,
03517     75,74,72,72,72,71,70,70,69,67,66,66,63,62,60,60,57,56,56,56,56,
03518     53,52,52,50,50,48,48,45,44,44,44,44,43,40,38,38,38,37,37,37,36,
03519     36,35,33,32,30,30,28,28,27,27,26,26,25,24,23,22,22
03520   };
03521   const int n2c3w2_k[] = {
03522     150, // Capacity
03523     100, // Number of items
03524     // Size of items (sorted)
03525     100,99,99,99,98,98,97,95,95,95,94,94,93,93,93,90,89,87,87,87,
03526     87,86,85,85,84,84,83,83,82,81,81,80,79,79,78,74,74,73,72,71,71,
03527     70,70,69,68,67,67,67,66,64,62,62,61,61,59,59,58,56,55,54,52,52,
03528     52,52,51,50,50,48,48,48,47,47,42,41,39,38,36,34,34,34,34,33,33,
03529     32,32,32,31,31,30,29,29,27,27,26,26,25,24,23,20,20
03530   };
03531   const int n2c3w2_l[] = {
03532     150, // Capacity
03533     100, // Number of items
03534     // Size of items (sorted)
03535     100,100,98,98,96,95,95,93,93,93,92,92,91,91,91,90,90,89,87,87,
03536     85,85,84,84,82,82,81,80,78,78,75,74,72,72,71,70,69,68,67,66,65,
03537     65,65,65,64,63,63,63,61,61,61,61,61,61,60,60,59,58,57,57,57,56,
03538     54,54,53,53,53,52,49,48,47,47,47,45,43,43,42,40,40,40,40,38,36,
03539     36,34,32,32,29,28,27,27,27,25,23,23,23,22,22,22,21
03540   };
03541   const int n2c3w2_m[] = {
03542     150, // Capacity
03543     100, // Number of items
03544     // Size of items (sorted)
03545     100,100,100,98,98,98,97,96,95,95,94,92,92,91,91,91,90,90,89,89,
03546     89,89,87,87,85,84,84,83,82,81,78,78,78,77,77,77,76,75,74,72,72,
03547     71,69,69,68,67,67,67,66,65,62,62,62,61,60,60,60,60,60,59,58,58,
03548     57,55,55,54,52,52,48,46,46,45,45,44,44,43,43,43,42,42,41,41,40,
03549     40,37,35,33,33,33,32,31,30,29,29,29,25,25,24,23,21
03550   };
03551   const int n2c3w2_n[] = {
03552     150, // Capacity
03553     100, // Number of items
03554     // Size of items (sorted)
03555     100,100,98,96,94,94,93,92,92,92,91,91,90,89,89,87,87,85,85,81,
03556     81,81,80,79,79,78,78,78,78,78,77,77,76,76,76,76,75,75,75,74,73,
03557     72,72,69,68,67,66,66,65,64,63,62,61,58,56,56,55,55,54,54,51,49,
03558     49,49,48,47,47,46,44,44,44,43,43,40,39,38,38,38,38,37,37,36,35,
03559     35,34,32,32,32,31,30,27,27,25,25,24,23,23,22,21,20
03560   };
03561   const int n2c3w2_o[] = {
03562     150, // Capacity
03563     100, // Number of items
03564     // Size of items (sorted)
03565     100,99,99,99,98,97,96,95,95,95,94,93,93,93,92,92,91,88,88,88,
03566     88,87,86,86,85,85,85,85,84,82,82,81,81,81,78,78,77,77,76,76,75,
03567     72,72,72,71,71,70,68,68,67,66,64,64,63,63,63,63,61,60,60,57,56,
03568     56,55,55,55,53,53,52,52,51,51,50,49,48,48,47,45,45,43,42,40,39,
03569     38,38,37,37,37,37,36,34,34,33,33,33,32,31,26,25,21
03570   };
03571   const int n2c3w2_p[] = {
03572     150, // Capacity
03573     100, // Number of items
03574     // Size of items (sorted)
03575     100,100,100,100,99,99,98,98,97,96,96,94,94,94,92,91,90,88,87,
03576     86,85,84,83,82,82,82,81,80,79,75,74,73,72,72,72,72,71,69,68,68,
03577     67,65,65,65,65,65,64,62,60,60,59,59,58,57,57,57,56,55,54,54,53,
03578     52,52,49,49,47,45,45,45,43,42,41,41,40,39,39,36,35,34,34,34,33,
03579     31,31,31,30,30,30,29,28,27,26,26,24,23,22,21,20,20,20
03580   };
03581   const int n2c3w2_q[] = {
03582     150, // Capacity
03583     100, // Number of items
03584     // Size of items (sorted)
03585     100,97,95,95,94,94,93,92,92,92,91,89,88,88,88,87,86,86,85,85,
03586     83,83,82,81,80,75,75,75,74,74,73,73,72,72,69,69,69,69,69,69,68,
03587     68,68,68,66,65,64,63,63,63,63,61,59,59,58,58,57,56,53,52,50,50,
03588     49,48,48,46,46,45,44,43,43,42,42,42,42,42,42,41,41,39,38,38,38,
03589     37,37,35,34,32,31,30,29,28,28,27,25,24,24,22,21,21
03590   };
03591   const int n2c3w2_r[] = {
03592     150, // Capacity
03593     100, // Number of items
03594     // Size of items (sorted)
03595     100,98,98,97,97,96,96,96,96,92,91,91,87,86,84,83,82,82,81,81,
03596     81,81,80,79,79,79,78,78,78,76,76,76,76,76,75,73,73,71,71,70,69,
03597     69,66,66,65,63,62,61,60,58,57,57,57,55,52,51,49,46,46,46,46,46,
03598     46,45,45,45,44,43,43,43,42,42,42,41,40,40,37,37,37,35,35,34,34,
03599     33,32,32,27,27,26,26,25,24,23,22,22,22,21,20,20,20
03600   };
03601   const int n2c3w2_s[] = {
03602     150, // Capacity
03603     100, // Number of items
03604     // Size of items (sorted)
03605     100,100,99,99,99,99,98,97,97,97,96,96,95,95,95,94,92,91,91,90,
03606     90,89,87,84,83,83,83,82,82,82,82,81,80,80,79,79,79,78,78,77,77,
03607     77,75,74,73,69,68,65,64,64,63,62,62,62,62,62,61,61,60,58,57,56,
03608     55,51,49,48,47,46,45,45,44,43,42,41,39,38,38,37,36,36,36,35,34,
03609     34,34,33,33,32,32,31,31,29,28,26,26,25,25,20,20,20
03610   };
03611   const int n2c3w2_t[] = {
03612     150, // Capacity
03613     100, // Number of items
03614     // Size of items (sorted)
03615     100,100,99,97,95,95,94,93,93,92,91,90,89,89,88,88,86,86,85,84,
03616     84,82,82,82,81,81,80,80,79,79,77,77,76,74,74,74,73,72,71,70,69,
03617     69,69,67,67,66,66,65,64,64,63,63,62,61,61,61,61,60,59,59,59,58,
03618     57,57,57,57,56,55,54,54,54,51,50,50,50,49,48,47,46,46,45,44,42,
03619     41,40,40,40,39,38,35,34,29,27,26,25,25,23,23,22,20
03620   };
03621   const int n2c3w4_a[] = {
03622     150, // Capacity
03623     100, // Number of items
03624     // Size of items (sorted)
03625     99,99,98,98,97,97,96,96,96,96,95,94,93,92,91,89,87,87,87,86,85,
03626     84,84,83,83,83,82,81,80,79,79,79,77,77,76,74,74,74,73,72,72,71,
03627     71,69,69,69,66,65,64,64,64,63,62,61,60,59,57,57,57,56,56,55,54,
03628     53,52,52,51,51,49,47,47,46,46,46,46,46,46,44,43,43,43,41,40,40,
03629     39,39,38,36,36,35,34,34,33,32,32,31,31,30,30,30
03630   };
03631   const int n2c3w4_b[] = {
03632     150, // Capacity
03633     100, // Number of items
03634     // Size of items (sorted)
03635     100,99,99,98,98,97,95,95,95,94,94,94,94,93,93,92,91,90,90,90,
03636     90,89,89,88,86,85,85,84,83,83,82,81,81,80,79,79,77,76,76,73,72,
03637     71,71,71,69,69,68,67,67,63,61,61,61,60,60,59,58,57,57,57,57,56,
03638     56,56,56,56,55,53,53,53,51,51,49,48,48,47,47,47,47,46,46,45,45,
03639     44,44,43,43,42,42,39,38,38,37,36,35,33,32,31,30,30
03640   };
03641   const int n2c3w4_c[] = {
03642     150, // Capacity
03643     100, // Number of items
03644     // Size of items (sorted)
03645     99,99,98,97,96,93,92,92,91,91,91,90,90,90,89,88,88,87,85,85,84,
03646     84,84,82,80,80,80,80,78,77,76,75,74,73,72,70,70,69,68,68,67,66,
03647     65,65,65,65,64,62,59,59,59,58,58,57,57,56,56,56,55,55,54,51,51,
03648     50,49,48,46,46,46,46,46,46,45,44,44,41,41,41,41,40,40,39,39,38,
03649     37,36,36,36,35,35,35,35,34,34,34,34,32,32,31,30
03650   };
03651   const int n2c3w4_d[] = {
03652     150, // Capacity
03653     100, // Number of items
03654     // Size of items (sorted)
03655     100,100,99,99,99,99,98,98,98,97,97,97,94,94,93,93,92,90,89,88,
03656     87,86,85,83,83,82,81,80,79,78,77,76,75,73,73,73,73,72,72,71,71,
03657     71,70,68,67,66,65,64,64,64,64,63,62,62,62,61,57,56,55,55,54,53,
03658     53,53,53,52,52,52,51,51,49,49,48,48,45,45,45,45,44,44,43,42,41,
03659     41,40,40,38,35,34,34,34,34,33,33,32,32,32,30,30,30
03660   };
03661   const int n2c3w4_e[] = {
03662     150, // Capacity
03663     100, // Number of items
03664     // Size of items (sorted)
03665     100,100,99,99,98,98,98,96,96,95,94,94,93,93,92,92,91,91,90,89,
03666     88,88,88,88,88,87,86,86,85,85,85,85,84,84,84,83,83,83,81,80,80,
03667     80,79,77,77,75,75,74,72,72,69,68,68,66,65,65,64,64,63,61,61,60,
03668     60,58,58,58,58,57,57,56,56,55,54,49,49,47,47,47,46,45,44,43,42,
03669     42,41,40,40,36,34,34,33,33,32,32,32,32,32,31,30,30
03670   };
03671   const int n2c3w4_f[] = {
03672     150, // Capacity
03673     100, // Number of items
03674     // Size of items (sorted)
03675     100,100,99,98,97,96,94,93,92,91,90,89,89,87,87,85,85,85,84,84,
03676     84,83,83,83,83,83,81,81,80,80,79,79,79,78,78,77,76,75,74,74,74,
03677     73,73,71,71,71,71,70,69,69,68,68,68,66,66,65,64,63,63,63,62,61,
03678     59,58,58,57,56,56,56,56,55,52,50,49,47,46,46,45,45,43,43,43,42,
03679     42,41,41,38,37,37,36,36,35,35,34,34,34,33,31,31,30
03680   };
03681   const int n2c3w4_g[] = {
03682     150, // Capacity
03683     100, // Number of items
03684     // Size of items (sorted)
03685     100,100,99,98,97,97,95,94,94,94,93,93,91,90,90,89,88,88,86,85,
03686     85,84,84,84,82,82,82,81,81,81,80,75,75,75,75,74,74,74,73,72,71,
03687     70,69,69,69,68,67,65,64,64,63,63,63,63,61,61,59,58,58,58,56,56,
03688     55,54,53,53,53,51,50,49,48,48,46,46,44,44,44,43,43,43,43,42,42,
03689     42,41,41,40,40,39,39,39,39,38,36,35,35,35,33,32,32
03690   };
03691   const int n2c3w4_h[] = {
03692     150, // Capacity
03693     100, // Number of items
03694     // Size of items (sorted)
03695     100,97,97,97,95,95,95,94,94,94,94,93,93,93,92,92,90,89,86,85,
03696     83,82,82,81,79,78,77,76,75,74,74,74,74,74,73,73,72,71,71,71,70,
03697     69,68,66,66,65,64,64,64,63,63,62,62,62,61,61,61,59,59,59,58,58,
03698     57,57,55,54,52,50,49,48,47,46,46,45,45,44,44,44,42,42,41,41,40,
03699     39,39,39,37,37,36,36,36,35,35,35,32,32,32,31,30,30
03700   };
03701   const int n2c3w4_i[] = {
03702     150, // Capacity
03703     100, // Number of items
03704     // Size of items (sorted)
03705     99,99,99,99,98,97,97,92,92,91,91,90,89,89,88,88,88,86,85,84,83,
03706     83,81,80,80,80,80,80,79,79,78,77,77,77,77,76,76,75,74,72,72,72,
03707     71,70,69,69,69,67,67,66,66,66,66,65,64,61,60,59,59,59,58,57,56,
03708     56,54,53,52,51,51,51,50,50,50,50,49,48,48,47,47,47,45,43,43,43,
03709     42,41,41,38,37,37,36,35,33,32,32,32,31,31,30,30
03710   };
03711   const int n2c3w4_j[] = {
03712     150, // Capacity
03713     100, // Number of items
03714     // Size of items (sorted)
03715     100,100,100,99,99,99,99,98,98,96,96,95,95,93,92,92,91,91,90,88,
03716     85,84,84,82,81,80,80,76,75,74,73,73,72,71,71,70,69,69,68,67,65,
03717     65,65,64,64,64,64,63,62,61,61,61,60,57,57,56,56,54,52,52,51,51,
03718     51,50,48,48,48,47,46,46,46,45,45,45,44,44,44,43,43,43,42,42,41,
03719     41,41,41,39,39,38,37,36,36,36,34,34,33,33,32,32,31
03720   };
03721   const int n2c3w4_k[] = {
03722     150, // Capacity
03723     100, // Number of items
03724     // Size of items (sorted)
03725     100,100,99,98,96,96,95,94,94,94,93,93,93,93,91,91,91,90,90,89,
03726     89,87,87,87,87,85,84,84,84,83,82,81,81,81,80,79,79,78,78,77,77,
03727     77,75,75,74,74,74,74,69,68,68,67,67,65,65,64,63,61,59,59,58,58,
03728     58,58,57,56,55,55,55,54,54,53,53,52,51,50,50,50,49,49,48,48,48,
03729     48,47,47,43,43,42,40,40,39,37,37,35,34,34,33,31,30
03730   };
03731   const int n2c3w4_l[] = {
03732     150, // Capacity
03733     100, // Number of items
03734     // Size of items (sorted)
03735     99,97,96,95,94,93,92,92,92,91,90,88,88,88,86,86,86,86,85,85,85,
03736     85,85,83,83,83,82,81,81,80,79,78,76,76,75,75,74,74,74,74,74,73,
03737     73,72,71,70,70,70,69,68,67,66,65,65,64,64,63,61,61,60,59,58,58,
03738     58,57,57,57,56,56,56,55,54,54,53,53,53,53,50,48,48,48,46,46,46,
03739     46,45,43,43,42,41,40,39,37,35,35,34,34,31,31,30
03740   };
03741   const int n2c3w4_m[] = {
03742     150, // Capacity
03743     100, // Number of items
03744     // Size of items (sorted)
03745     100,100,100,99,98,98,95,92,91,91,89,89,89,89,88,88,87,86,86,85,
03746     85,84,84,83,82,82,81,81,81,80,79,79,79,78,78,78,77,76,75,75,74,
03747     74,73,72,72,70,69,68,68,67,66,65,64,63,62,62,62,60,59,58,56,56,
03748     55,53,53,53,51,51,50,50,46,44,44,44,44,43,42,42,41,41,40,39,39,
03749     38,37,37,36,36,36,36,35,35,35,34,33,33,33,32,32,30
03750   };
03751   const int n2c3w4_n[] = {
03752     150, // Capacity
03753     100, // Number of items
03754     // Size of items (sorted)
03755     100,99,99,97,96,95,95,94,94,94,93,87,86,85,85,85,85,85,85,85,
03756     84,84,83,83,82,81,81,80,80,80,80,80,80,79,79,78,77,77,76,76,75,
03757     75,75,74,72,70,69,68,68,67,67,65,64,64,64,63,62,60,59,59,59,58,
03758     58,58,57,57,56,56,54,54,52,51,51,48,48,48,47,47,47,46,45,44,44,
03759     42,41,41,39,38,38,37,36,36,36,35,34,33,33,33,32,31
03760   };
03761   const int n2c3w4_o[] = {
03762     150, // Capacity
03763     100, // Number of items
03764     // Size of items (sorted)
03765     98,98,98,97,97,96,96,96,96,94,94,93,93,93,92,92,92,91,91,90,90,
03766     89,88,87,87,87,85,85,83,78,77,77,77,77,76,75,74,73,71,71,70,70,
03767     70,70,70,69,68,68,65,65,64,63,63,61,61,61,61,60,60,59,59,59,59,
03768     58,58,57,54,54,52,52,52,51,49,49,49,48,47,47,47,45,45,45,43,42,
03769     42,41,41,40,40,40,40,39,38,37,36,35,34,32,31,30
03770   };
03771   const int n2c3w4_p[] = {
03772     150, // Capacity
03773     100, // Number of items
03774     // Size of items (sorted)
03775     100,99,99,98,96,96,96,95,94,92,91,90,90,89,89,88,88,88,88,86,
03776     86,85,85,85,84,83,83,83,83,82,82,81,80,80,79,79,77,77,77,75,75,
03777     74,72,71,70,70,70,69,69,69,68,68,67,65,64,64,62,62,61,59,59,57,
03778     57,54,54,54,54,53,53,52,50,50,49,48,48,48,46,43,42,42,42,39,39,
03779     38,38,37,37,37,36,36,35,34,34,34,34,33,32,32,30,30
03780   };
03781   const int n2c3w4_q[] = {
03782     150, // Capacity
03783     100, // Number of items
03784     // Size of items (sorted)
03785     100,99,98,98,98,97,97,97,96,96,96,95,95,95,94,93,93,93,92,91,
03786     91,88,88,87,87,86,85,85,84,82,81,79,79,79,78,78,77,77,76,76,75,
03787     73,73,73,73,72,72,72,71,70,69,68,67,66,65,65,64,63,62,61,61,60,
03788     60,59,59,57,56,55,54,54,53,53,52,51,50,50,50,49,49,48,48,47,47,
03789     47,46,45,45,45,44,38,35,35,35,34,34,34,33,33,31,31
03790   };
03791   const int n2c3w4_r[] = {
03792     150, // Capacity
03793     100, // Number of items
03794     // Size of items (sorted)
03795     100,98,98,98,98,98,97,97,96,95,95,93,92,90,89,87,86,86,84,84,
03796     84,84,80,80,80,79,79,78,77,74,73,73,72,72,72,71,71,71,70,69,69,
03797     69,68,67,66,65,64,64,63,63,62,60,57,57,57,55,55,55,54,53,53,52,
03798     52,52,51,51,50,49,47,46,46,45,44,44,44,43,43,43,42,41,41,41,41,
03799     40,40,39,39,39,39,38,38,37,36,35,35,34,32,31,30,30
03800   };
03801   const int n2c3w4_s[] = {
03802     150, // Capacity
03803     100, // Number of items
03804     // Size of items (sorted)
03805     100,99,98,97,97,96,95,94,94,93,92,91,90,90,88,88,88,87,84,81,
03806     80,80,79,79,76,76,75,75,75,73,73,71,71,71,70,70,70,69,69,67,67,
03807     66,65,64,64,62,61,60,60,59,59,59,59,58,56,55,54,54,53,53,53,51,
03808     51,50,49,48,48,48,47,47,47,46,46,45,45,45,45,45,44,44,44,42,42,
03809     41,41,40,39,38,37,34,34,34,33,33,32,32,31,31,31,30
03810   };
03811   const int n2c3w4_t[] = {
03812     150, // Capacity
03813     100, // Number of items
03814     // Size of items (sorted)
03815     100,100,99,99,97,97,95,95,95,94,94,93,93,93,92,91,91,91,91,91,
03816     89,89,86,86,85,85,84,82,81,81,79,79,78,76,75,74,74,74,74,73,73,
03817     71,70,70,69,69,67,67,67,66,66,66,66,65,65,64,64,63,63,62,61,61,
03818     61,60,60,58,57,54,54,53,53,53,52,52,51,50,48,48,47,46,46,46,45,
03819     44,42,40,39,39,39,37,36,35,34,33,33,33,32,32,30,30
03820   };
03821   const int n3c1w1_a[] = {
03822     100, // Capacity
03823     200, // Number of items
03824     // Size of items (sorted)
03825     100,99,99,97,97,97,94,93,92,92,91,89,89,88,88,88,88,87,87,86,
03826     86,86,86,86,85,84,83,83,82,81,81,81,81,80,80,79,79,79,78,78,77,
03827     77,77,76,76,76,75,74,74,73,73,73,73,72,72,72,72,72,71,71,69,69,
03828     68,67,67,66,66,66,66,64,64,64,64,63,63,62,61,61,61,60,60,59,59,
03829     57,56,56,56,55,55,55,54,54,53,53,52,52,52,51,50,50,50,49,49,49,
03830     49,47,47,46,46,46,46,46,46,45,45,45,45,44,44,42,41,40,40,40,39,
03831     39,38,38,38,38,38,38,37,37,36,36,36,36,34,34,34,34,34,34,31,31,
03832     31,30,30,30,30,30,29,29,27,27,27,26,24,24,23,22,22,22,22,22,20,
03833     18,17,17,17,16,16,15,15,14,14,14,13,13,12,11,11,11,10,10,8,8,
03834     8,6,6,5,5,4,4,3,3,3,1,1
03835   };
03836   const int n3c1w1_b[] = {
03837     100, // Capacity
03838     200, // Number of items
03839     // Size of items (sorted)
03840     100,100,100,100,100,99,99,99,98,98,98,95,93,93,92,92,92,92,91,
03841     90,90,89,89,89,89,88,88,88,88,87,86,86,86,86,86,85,85,85,84,84,
03842     84,83,83,81,81,80,79,77,77,77,75,75,75,75,74,74,74,74,73,73,73,
03843     72,71,71,71,71,70,70,70,70,70,69,68,68,68,68,68,67,67,67,66,65,
03844     65,65,64,64,63,63,63,62,61,61,60,60,59,59,59,58,58,57,57,57,56,
03845     53,53,53,52,52,52,52,51,50,49,49,48,48,48,47,46,45,44,44,44,44,
03846     42,42,41,40,40,40,39,39,39,38,38,38,37,37,36,36,36,36,34,34,33,
03847     33,33,33,33,33,32,32,32,32,31,30,29,28,27,27,26,26,26,25,24,23,
03848     21,21,20,20,17,16,16,15,14,14,14,13,13,13,13,13,12,12,11,11,10,
03849     9,9,7,7,7,7,6,5,5,4,4,3,3
03850   };
03851   const int n3c1w1_c[] = {
03852     100, // Capacity
03853     200, // Number of items
03854     // Size of items (sorted)
03855     100,100,100,99,99,99,97,96,96,95,95,94,92,92,91,91,91,91,90,90,
03856     90,89,89,88,88,87,86,86,85,85,85,83,82,82,82,81,81,80,80,80,79,
03857     79,79,76,75,75,74,74,73,72,72,72,71,71,70,68,67,67,67,67,66,66,
03858     65,65,64,64,64,63,63,63,62,62,62,61,61,60,60,59,59,59,59,58,58,
03859     57,57,56,56,56,56,55,55,54,52,51,51,50,50,49,48,48,47,47,47,47,
03860     46,46,43,43,42,42,42,41,41,40,40,40,39,37,37,36,36,34,34,34,34,
03861     33,33,33,32,31,30,30,29,29,28,28,27,27,26,26,26,26,25,25,24,24,
03862     23,23,23,23,22,22,21,21,21,20,20,20,20,19,19,18,17,17,16,16,15,
03863     14,14,14,14,14,13,13,12,12,11,11,11,11,10,9,9,8,8,8,8,7,7,7,6,
03864     6,6,5,4,4,4,2,2,1
03865   };
03866   const int n3c1w1_d[] = {
03867     100, // Capacity
03868     200, // Number of items
03869     // Size of items (sorted)
03870     100,99,99,99,98,97,97,97,96,96,95,95,95,94,94,93,93,93,93,93,
03871     92,92,91,90,89,89,89,88,87,87,87,87,87,87,87,86,85,84,84,83,82,
03872     80,80,80,80,79,79,78,78,77,76,76,74,74,74,74,73,73,71,70,69,69,
03873     68,68,68,68,68,68,67,67,66,66,66,65,64,63,63,62,62,62,61,61,61,
03874     60,60,60,60,59,59,58,57,57,57,57,55,55,54,54,53,53,53,51,51,51,
03875     50,49,49,48,48,48,48,47,46,46,46,45,45,45,43,43,43,42,42,42,42,
03876     42,41,41,40,39,38,37,37,37,37,37,36,36,35,35,35,35,34,34,34,32,
03877     31,31,30,29,29,28,28,26,26,26,25,24,24,24,23,22,21,21,21,20,20,
03878     20,19,19,19,19,19,19,17,14,13,12,12,11,10,10,10,9,9,8,8,8,8,7,
03879     6,6,5,5,5,4,3,2,2,2
03880   };
03881   const int n3c1w1_e[] = {
03882     100, // Capacity
03883     200, // Number of items
03884     // Size of items (sorted)
03885     100,100,100,100,98,98,97,97,96,96,95,95,95,95,94,93,93,93,91,
03886     91,91,91,91,91,90,90,87,87,86,85,85,85,84,84,82,81,81,81,79,78,
03887     78,76,76,75,75,75,75,74,74,74,72,72,72,72,71,70,69,69,69,69,67,
03888     67,67,67,66,66,66,65,64,64,64,64,63,62,61,61,60,60,59,58,57,56,
03889     55,55,55,54,53,53,53,52,52,50,50,49,47,47,46,46,45,44,44,43,43,
03890     42,42,41,41,41,40,40,39,39,39,39,38,38,38,37,36,35,35,34,34,33,
03891     33,32,32,32,32,32,32,31,31,31,30,30,30,30,30,29,28,28,27,27,26,
03892     25,24,24,24,23,23,23,23,22,22,22,21,21,21,20,19,19,19,18,18,17,
03893     17,16,16,15,15,14,14,13,12,12,11,10,10,9,8,8,8,8,7,7,7,7,6,6,
03894     5,4,3,3,3,3,2,2,1,1
03895   };
03896   const int n3c1w1_f[] = {
03897     100, // Capacity
03898     200, // Number of items
03899     // Size of items (sorted)
03900     100,100,99,99,99,98,98,98,97,97,97,97,96,96,95,94,94,94,94,94,
03901     94,93,93,93,93,93,92,91,90,90,90,90,89,87,86,86,86,85,85,85,85,
03902     85,84,83,83,83,82,82,81,81,80,80,78,77,76,76,76,75,75,74,74,74,
03903     74,74,73,72,71,71,70,70,70,69,69,68,68,68,67,67,67,67,66,66,65,
03904     64,63,63,62,61,61,61,60,60,60,60,60,60,59,59,58,58,58,57,57,56,
03905     56,54,54,53,53,50,50,49,49,49,48,48,48,46,46,46,45,44,42,41,40,
03906     40,37,37,37,36,36,34,33,32,32,31,30,29,28,28,27,27,27,26,25,25,
03907     25,24,24,23,23,23,23,23,23,23,22,22,21,21,20,20,20,19,18,17,16,
03908     16,15,15,14,14,14,13,12,12,12,11,10,10,10,10,9,8,8,8,8,7,7,7,
03909     7,6,5,5,5,5,4,3,2,1
03910   };
03911   const int n3c1w1_g[] = {
03912     100, // Capacity
03913     200, // Number of items
03914     // Size of items (sorted)
03915     100,99,99,98,98,97,95,95,94,94,93,93,93,93,92,91,91,91,91,90,
03916     90,90,89,89,89,88,88,87,87,86,86,86,86,86,85,85,84,84,84,83,82,
03917     81,81,80,80,79,79,79,78,77,77,76,76,75,75,74,74,74,74,73,73,73,
03918     73,73,72,72,72,71,70,70,69,69,68,68,68,67,67,66,62,62,62,62,62,
03919     62,61,60,60,60,60,60,59,58,57,57,57,57,56,56,54,54,53,53,52,52,
03920     52,52,52,51,50,50,50,49,49,49,48,47,46,46,46,45,44,43,43,42,42,
03921     40,40,40,39,39,38,36,36,36,35,35,34,33,33,32,32,32,31,30,30,29,
03922     29,29,28,27,27,26,26,26,25,25,25,24,24,24,24,23,23,23,22,22,22,
03923     22,21,20,20,19,16,15,15,14,14,14,13,11,11,10,10,10,9,9,7,6,6,
03924     5,5,5,4,4,3,2,1,1,1,1
03925   };
03926   const int n3c1w1_h[] = {
03927     100, // Capacity
03928     200, // Number of items
03929     // Size of items (sorted)
03930     100,100,99,99,97,97,97,97,97,97,96,96,96,96,95,95,95,95,94,93,
03931     93,93,92,92,91,90,89,89,88,88,88,87,87,87,86,86,85,85,84,84,83,
03932     83,82,81,80,80,80,79,79,79,78,77,77,77,77,76,75,75,74,74,73,72,
03933     71,71,71,71,71,71,71,69,69,69,68,65,65,63,63,62,62,62,62,61,61,
03934     60,60,59,58,58,58,56,56,56,54,53,53,52,51,51,51,50,49,49,48,48,
03935     48,47,46,46,46,46,46,46,43,43,42,41,40,39,39,38,37,37,36,36,36,
03936     35,34,34,33,33,32,32,32,32,32,32,32,30,30,29,29,28,27,27,27,27,
03937     26,26,26,26,25,25,24,24,23,22,21,21,21,21,20,19,19,18,17,17,17,
03938     16,16,16,15,15,15,14,14,13,12,11,11,10,9,9,7,6,6,6,6,6,4,4,4,
03939     4,4,3,2,1,1,1,1,1
03940   };
03941   const int n3c1w1_i[] = {
03942     100, // Capacity
03943     200, // Number of items
03944     // Size of items (sorted)
03945     99,97,97,96,96,95,93,92,92,92,92,92,92,92,91,91,90,89,88,87,87,
03946     87,86,85,85,84,84,84,83,83,83,83,83,83,82,81,80,79,78,78,78,78,
03947     77,77,76,76,76,75,75,75,74,73,72,71,71,70,70,69,69,68,68,67,66,
03948     66,65,65,63,63,63,63,62,61,61,61,59,58,58,58,58,58,58,58,58,57,
03949     56,56,56,54,53,52,52,52,51,50,50,50,50,50,49,49,48,48,48,48,48,
03950     47,47,46,45,45,44,43,43,43,43,43,43,42,41,41,40,40,38,38,37,37,
03951     37,37,36,36,36,35,35,34,33,32,32,31,31,29,29,29,28,27,27,27,26,
03952     26,25,24,24,23,22,22,22,21,21,21,20,20,19,18,18,18,18,17,16,16,
03953     16,16,15,15,14,14,14,13,13,12,12,11,11,11,11,8,8,7,6,5,3,3,2,
03954     2,2,2,2,2,1,1,1,1
03955   };
03956   const int n3c1w1_j[] = {
03957     100, // Capacity
03958     200, // Number of items
03959     // Size of items (sorted)
03960     100,100,99,98,97,97,97,97,97,96,96,95,95,93,93,93,92,92,91,91,
03961     89,88,88,88,88,88,86,86,85,85,85,84,83,83,83,82,81,80,79,79,78,
03962     78,77,77,75,74,74,74,73,73,72,72,72,71,71,71,70,70,70,70,69,69,
03963     67,67,66,66,65,65,65,64,64,64,63,63,63,62,62,62,61,60,60,59,59,
03964     59,59,59,58,58,57,57,57,56,56,55,55,55,55,54,54,52,52,52,51,51,
03965     51,50,50,50,49,49,49,49,48,47,47,47,45,44,44,44,43,43,43,43,43,
03966     41,41,41,40,40,39,39,39,39,38,37,37,37,36,36,36,35,35,34,33,33,
03967     31,31,30,29,28,28,28,27,27,25,25,24,23,23,23,22,22,21,21,21,19,
03968     19,19,17,17,17,17,16,16,15,14,14,14,14,13,13,12,11,10,10,10,9,
03969     9,9,8,7,6,6,4,4,3,3,3,2
03970   };
03971   const int n3c1w1_k[] = {
03972     100, // Capacity
03973     200, // Number of items
03974     // Size of items (sorted)
03975     100,99,99,99,98,98,98,98,97,95,95,95,95,94,94,92,92,92,92,91,
03976     90,88,88,88,88,87,87,87,86,85,84,84,83,83,83,82,82,82,82,81,81,
03977     81,81,80,80,80,79,78,77,75,75,74,74,74,73,73,72,72,71,71,70,70,
03978     70,69,68,68,68,68,67,67,66,66,65,64,63,62,61,60,60,58,58,57,57,
03979     56,56,55,55,55,55,55,55,54,53,53,53,52,51,50,49,49,49,48,48,48,
03980     48,47,47,47,46,45,43,43,42,42,42,42,41,41,41,41,40,40,39,39,38,
03981     38,38,38,36,35,35,34,33,32,32,30,28,28,28,28,28,26,26,25,25,24,
03982     24,23,23,23,22,22,22,22,21,21,21,21,20,20,20,19,19,19,18,17,17,
03983     16,15,15,14,14,13,13,12,12,11,11,11,10,9,9,9,8,7,6,6,5,5,4,4,
03984     4,3,3,3,2,2,2,2,1
03985   };
03986   const int n3c1w1_l[] = {
03987     100, // Capacity
03988     200, // Number of items
03989     // Size of items (sorted)
03990     100,100,99,99,99,99,97,96,96,94,94,94,93,93,93,93,92,92,92,89,
03991     88,87,87,85,84,84,84,84,83,83,83,83,82,80,80,79,79,78,76,75,75,
03992     75,74,73,73,73,73,73,72,72,72,71,71,70,70,70,70,70,69,69,69,68,
03993     67,67,66,66,64,63,63,63,62,62,61,61,59,59,59,59,58,58,57,56,56,
03994     55,55,54,53,52,52,51,51,50,50,50,50,50,50,48,48,48,48,47,47,47,
03995     46,46,46,46,45,44,43,41,41,39,39,38,37,37,37,36,36,35,35,35,34,
03996     34,33,33,33,32,32,31,31,31,31,30,30,30,29,29,28,28,25,25,25,25,
03997     24,24,24,23,23,23,23,22,21,20,20,20,20,19,18,18,18,16,16,16,15,
03998     14,14,14,14,13,12,11,11,11,11,11,10,10,9,9,9,8,8,8,7,7,7,6,4,
03999     4,3,3,2,2,2,1,1,1
04000   };
04001   const int n3c1w1_m[] = {
04002     100, // Capacity
04003     200, // Number of items
04004     // Size of items (sorted)
04005     100,99,99,98,98,97,97,97,97,97,96,96,96,96,95,95,94,92,92,92,
04006     92,91,91,91,90,90,90,89,87,87,86,85,85,83,83,83,82,82,80,78,78,
04007     78,77,77,77,77,76,76,75,75,74,74,74,74,72,71,71,71,70,70,69,69,
04008     69,68,67,67,67,67,66,66,66,66,65,65,65,65,64,63,61,61,60,60,60,
04009     59,59,58,58,58,57,55,54,54,54,54,54,54,54,54,52,52,52,52,51,51,
04010     51,51,49,47,47,46,46,45,44,44,44,44,44,43,42,42,42,41,41,41,41,
04011     40,39,38,37,37,35,35,35,33,32,31,30,30,29,29,29,28,28,27,27,26,
04012     26,25,25,25,24,23,23,23,23,23,21,21,20,19,19,19,18,18,18,17,17,
04013     17,17,16,16,16,15,15,15,15,15,14,14,13,12,12,11,11,10,10,10,10,
04014     10,9,7,6,6,5,5,4,3,2,1,1
04015   };
04016   const int n3c1w1_n[] = {
04017     100, // Capacity
04018     200, // Number of items
04019     // Size of items (sorted)
04020     100,100,99,99,99,98,98,97,96,95,95,93,93,93,91,90,90,88,88,87,
04021     84,82,82,81,81,81,81,81,81,80,80,79,79,78,78,77,77,77,77,76,75,
04022     75,74,73,73,72,71,71,71,70,70,70,69,67,66,66,66,66,66,65,65,65,
04023     64,64,63,59,59,59,59,58,58,56,56,54,54,53,53,53,51,51,51,51,50,
04024     49,48,48,48,48,47,47,47,47,46,46,46,46,46,46,46,46,46,46,45,44,
04025     44,44,43,41,41,40,40,40,39,39,39,38,36,36,35,34,34,34,33,33,33,
04026     32,32,32,32,31,31,31,30,30,29,28,28,27,27,27,26,25,25,24,24,23,
04027     23,22,22,22,22,21,21,21,20,19,19,18,16,16,16,15,15,15,15,15,15,
04028     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,
04029     5,4,3,3,3,2,2,2
04030   };
04031   const int n3c1w1_o[] = {
04032     100, // Capacity
04033     200, // Number of items
04034     // Size of items (sorted)
04035     100,99,98,98,98,97,96,96,95,95,95,94,92,91,91,90,90,89,89,89,
04036     87,87,86,86,86,86,86,84,84,83,83,83,82,82,82,82,81,79,79,78,77,
04037     77,76,76,76,76,76,76,76,76,76,76,75,74,73,72,72,71,69,69,67,66,
04038     66,66,65,65,64,64,63,63,63,63,62,60,60,60,59,59,57,56,56,55,54,
04039     54,54,54,54,53,52,52,52,51,51,51,50,48,48,47,47,46,45,45,45,45,
04040     45,42,42,41,41,41,40,40,39,39,38,38,37,37,37,36,35,35,35,34,34,
04041     34,34,31,30,30,30,29,29,29,29,29,29,28,28,28,28,28,26,26,26,25,
04042     25,25,24,24,24,23,22,22,22,22,21,21,21,21,21,20,19,19,19,18,18,
04043     18,18,18,17,17,16,16,16,16,15,14,14,14,13,13,12,12,11,10,10,9,
04044     8,8,8,7,7,6,6,5,4,4,3,2
04045   };
04046   const int n3c1w1_p[] = {
04047     100, // Capacity
04048     200, // Number of items
04049     // Size of items (sorted)
04050     100,100,100,100,100,99,98,98,98,97,97,97,97,96,96,95,92,92,92,
04051     92,91,91,91,91,90,89,89,87,87,87,86,86,86,86,86,85,85,85,84,84,
04052     84,83,83,83,82,82,82,81,81,81,79,78,77,77,76,75,75,75,75,75,72,
04053     72,72,72,72,72,72,71,71,71,71,70,70,70,69,68,65,64,64,64,63,63,
04054     62,62,61,60,60,59,59,59,59,59,58,58,57,57,57,57,56,56,55,53,53,
04055     52,52,51,51,50,48,48,48,47,46,46,46,44,44,43,43,42,42,41,41,38,
04056     38,37,37,37,37,36,35,35,34,33,33,33,32,32,31,30,30,30,29,29,28,
04057     28,28,28,27,26,25,25,25,24,24,23,23,23,22,22,22,21,21,21,21,21,
04058     20,19,18,18,17,16,16,16,16,16,16,15,15,14,14,13,13,13,13,12,12,
04059     11,9,9,8,8,7,7,6,4,2,2,2,2
04060   };
04061   const int n3c1w1_q[] = {
04062     100, // Capacity
04063     200, // Number of items
04064     // Size of items (sorted)
04065     99,98,97,95,95,93,93,93,93,93,92,92,92,92,92,92,91,91,90,90,90,
04066     90,89,88,87,85,85,85,85,85,84,84,83,82,82,81,81,80,79,79,79,79,
04067     78,78,77,77,77,76,76,76,76,75,74,74,73,72,72,71,71,70,70,70,70,
04068     69,69,67,67,66,66,65,65,65,64,63,61,60,60,59,58,54,53,53,52,52,
04069     51,51,50,50,50,49,48,48,48,48,47,46,46,46,46,45,45,43,42,42,42,
04070     42,41,41,41,40,40,39,38,38,37,36,36,36,35,35,35,35,34,34,34,33,
04071     32,32,32,31,31,31,31,30,30,29,28,27,27,27,26,25,25,25,24,23,23,
04072     23,23,23,23,22,22,21,21,21,20,20,20,20,20,19,19,18,17,17,17,17,
04073     17,16,16,16,15,14,14,14,14,13,12,11,11,11,11,11,8,7,7,7,5,5,5,
04074     4,3,2,2,2,2,2,1,1
04075   };
04076   const int n3c1w1_r[] = {
04077     100, // Capacity
04078     200, // Number of items
04079     // Size of items (sorted)
04080     100,100,99,99,98,98,98,97,97,96,96,95,95,94,94,94,92,92,91,90,
04081     90,89,89,87,86,86,85,84,84,84,83,82,82,81,80,80,79,79,79,78,78,
04082     78,77,77,77,77,77,77,76,76,75,75,75,74,74,73,73,72,72,71,67,67,
04083     67,67,66,65,65,65,64,64,63,62,61,61,60,60,59,59,59,58,58,58,58,
04084     58,58,57,57,56,56,56,55,54,54,53,52,52,50,50,50,49,47,46,45,45,
04085     45,44,43,43,41,41,41,40,40,40,40,39,39,38,38,38,38,38,37,36,35,
04086     35,35,34,33,33,32,30,30,30,30,28,28,27,27,27,26,26,26,25,25,25,
04087     24,24,24,24,23,22,21,21,20,20,19,19,19,19,19,18,16,16,16,16,15,
04088     15,14,14,14,14,14,12,11,11,11,10,10,10,9,8,8,8,7,7,6,6,6,6,6,
04089     5,5,3,2,2,1,1,1,1
04090   };
04091   const int n3c1w1_s[] = {
04092     100, // Capacity
04093     200, // Number of items
04094     // Size of items (sorted)
04095     99,99,98,97,97,97,97,96,96,96,95,95,93,93,92,92,90,89,88,88,88,
04096     88,87,87,86,86,86,86,86,86,85,84,83,83,83,82,82,82,81,81,81,80,
04097     80,80,80,78,77,76,76,74,73,72,71,71,71,70,70,70,70,69,69,69,69,
04098     67,66,66,65,65,64,63,63,63,62,62,62,61,61,61,61,59,58,58,56,56,
04099     54,52,52,51,51,51,50,50,50,50,50,49,49,48,48,47,47,45,45,44,44,
04100     44,44,44,43,42,42,42,42,42,41,39,38,38,38,37,36,36,36,36,35,35,
04101     35,34,33,33,32,31,31,31,31,31,31,30,30,29,29,28,28,28,27,27,27,
04102     26,25,25,25,24,24,23,23,23,22,21,21,21,20,20,20,19,19,17,17,17,
04103     17,16,15,15,15,14,14,14,14,13,11,11,10,10,10,9,9,8,8,8,8,7,7,
04104     6,6,4,3,3,2,1,1,1
04105   };
04106   const int n3c1w1_t[] = {
04107     100, // Capacity
04108     200, // Number of items
04109     // Size of items (sorted)
04110     100,100,100,99,99,98,97,96,96,96,96,95,94,94,93,92,92,92,91,91,
04111     91,90,90,89,88,87,87,87,87,87,86,86,86,85,84,83,83,83,83,82,82,
04112     81,81,81,81,80,80,79,79,79,78,78,78,78,78,76,76,76,76,76,76,75,
04113     74,74,74,73,73,72,71,69,69,69,67,66,65,64,63,63,63,62,61,61,60,
04114     59,57,57,56,56,56,55,55,54,54,54,54,54,53,53,52,52,51,50,48,48,
04115     48,48,47,46,46,45,45,45,43,42,40,40,40,39,39,39,39,38,38,37,37,
04116     37,36,35,34,32,31,31,30,30,29,28,27,27,26,25,24,24,24,24,24,22,
04117     22,21,21,21,21,20,19,19,18,18,18,18,18,17,16,16,16,15,15,14,14,
04118     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,
04119     4,3,3,3,3,2,1,1
04120   };
04121   const int n3c1w2_a[] = {
04122     100, // Capacity
04123     200, // Number of items
04124     // Size of items (sorted)
04125     100,100,99,99,99,98,98,98,98,98,97,97,96,96,96,95,94,94,93,93,
04126     91,91,91,90,90,90,89,89,88,88,88,88,87,87,86,85,85,84,83,83,83,
04127     83,82,81,79,79,79,79,78,78,77,77,77,76,76,76,76,75,75,74,73,73,
04128     73,72,72,72,71,71,71,70,70,69,69,69,69,69,68,68,68,67,67,67,67,
04129     65,65,65,65,65,64,63,63,63,63,61,61,61,61,61,60,60,60,59,59,59,
04130     58,58,58,57,56,56,55,55,55,55,54,54,54,53,53,51,51,50,50,50,50,
04131     49,49,48,48,48,48,47,46,46,45,44,43,43,42,42,41,40,40,40,40,40,
04132     39,38,38,38,38,37,36,36,35,35,34,34,34,33,33,33,33,33,33,32,32,
04133     32,32,32,32,32,31,31,30,28,27,26,26,25,25,24,24,23,23,22,22,22,
04134     21,21,21,20,20,20,20,20,20,20,20,20
04135   };
04136   const int n3c1w2_b[] = {
04137     100, // Capacity
04138     200, // Number of items
04139     // Size of items (sorted)
04140     99,99,99,97,96,95,94,93,93,93,93,93,91,91,91,90,89,89,89,89,88,
04141     88,87,87,85,85,84,84,84,84,82,81,81,81,80,80,79,78,78,77,77,76,
04142     76,76,76,75,75,74,74,74,74,74,74,73,73,73,72,72,72,72,72,71,71,
04143     70,69,69,69,69,68,68,68,67,67,67,67,67,67,67,66,66,66,65,65,65,
04144     64,64,64,63,63,62,61,61,60,59,59,58,58,58,58,58,58,58,57,57,57,
04145     57,56,56,55,55,54,54,54,54,54,53,53,53,53,53,52,52,52,51,51,50,
04146     49,48,48,48,47,47,46,46,46,45,45,44,43,43,42,41,40,40,38,38,38,
04147     38,38,37,36,36,36,36,36,36,36,36,35,35,35,34,34,33,33,33,33,32,
04148     32,32,32,31,31,31,30,30,29,29,28,28,27,27,27,26,26,25,25,23,22,
04149     21,21,21,21,21,21,21,20,20,20,20
04150   };
04151   const int n3c1w2_c[] = {
04152     100, // Capacity
04153     200, // Number of items
04154     // Size of items (sorted)
04155     100,100,100,99,99,98,98,98,96,96,96,95,95,94,94,94,93,93,92,92,
04156     92,91,91,90,90,90,89,89,89,89,88,88,87,87,86,86,85,85,85,85,84,
04157     84,83,82,82,82,82,81,81,81,81,81,80,80,79,79,78,78,78,78,77,76,
04158     76,76,75,74,74,74,73,72,72,71,71,71,70,70,70,70,69,68,68,68,66,
04159     66,66,65,65,65,65,63,62,61,61,60,60,60,60,58,58,58,58,57,57,57,
04160     57,56,56,55,54,54,53,52,52,52,52,52,52,52,52,52,51,51,50,50,49,
04161     48,47,47,47,47,46,45,45,45,45,45,44,43,43,42,42,42,41,41,41,41,
04162     40,40,39,39,39,38,37,37,37,36,36,36,35,35,35,34,34,33,33,33,32,
04163     32,32,32,31,31,31,30,30,28,28,28,28,28,27,27,27,26,26,26,24,24,
04164     23,23,23,23,22,22,22,21,21,20,20,20
04165   };
04166   const int n3c1w2_d[] = {
04167     100, // Capacity
04168     200, // Number of items
04169     // Size of items (sorted)
04170     100,100,100,99,98,98,98,97,97,97,97,96,96,96,96,95,95,95,94,94,
04171     94,94,93,93,92,92,92,91,91,91,91,90,90,89,87,87,86,86,85,84,84,
04172     83,83,82,81,81,81,80,80,79,79,79,79,79,79,78,78,78,78,77,77,77,
04173     77,77,76,76,76,76,75,75,75,74,74,73,73,73,73,73,72,72,72,71,71,
04174     71,70,70,70,69,69,69,69,69,68,67,67,67,66,65,65,65,65,64,63,63,
04175     63,63,62,62,62,61,61,61,60,59,59,59,59,59,58,57,57,57,57,57,56,
04176     56,55,54,54,53,53,53,53,53,52,52,52,51,50,48,48,47,47,47,47,46,
04177     46,44,44,44,43,43,42,41,41,41,41,40,40,39,38,37,36,36,36,36,35,
04178     34,34,33,33,32,31,31,31,30,30,29,29,28,28,28,27,27,27,27,26,25,
04179     25,24,24,23,23,22,22,22,22,21,21,20
04180   };
04181   const int n3c1w2_e[] = {
04182     100, // Capacity
04183     200, // Number of items
04184     // Size of items (sorted)
04185     100,100,99,99,98,98,97,97,97,96,96,96,95,95,95,95,94,94,94,93,
04186     93,92,91,91,90,89,89,89,89,88,88,87,87,87,87,86,86,86,85,85,85,
04187     84,84,83,83,82,82,82,81,81,81,81,80,80,79,79,79,78,77,77,77,76,
04188     76,76,76,74,73,73,73,73,73,73,73,73,72,72,72,72,71,71,70,70,70,
04189     70,70,68,68,68,68,67,66,66,66,66,66,65,64,63,63,63,62,61,61,61,
04190     61,61,60,60,59,59,59,58,58,57,57,57,56,56,56,55,54,54,53,53,53,
04191     52,52,51,50,50,49,49,49,48,47,47,47,46,45,45,44,44,43,43,43,43,
04192     43,42,42,42,42,41,41,41,41,40,40,39,39,38,37,36,36,35,35,34,34,
04193     34,33,33,33,32,30,30,30,29,29,28,28,28,28,28,27,27,27,26,25,25,
04194     24,24,23,23,23,22,22,22,21,21,20,20
04195   };
04196   const int n3c1w2_f[] = {
04197     100, // Capacity
04198     200, // Number of items
04199     // Size of items (sorted)
04200     100,99,98,98,98,98,97,97,97,96,96,96,95,94,94,93,93,92,91,91,
04201     90,90,90,90,89,88,88,88,87,87,86,86,85,85,84,84,83,82,81,81,80,
04202     79,79,79,78,78,78,78,78,78,78,78,77,77,77,77,76,76,75,75,74,74,
04203     74,73,73,73,72,71,71,70,70,69,69,69,68,68,67,65,65,65,65,65,65,
04204     64,64,63,63,62,62,62,62,62,61,61,61,61,60,59,59,58,58,58,57,57,
04205     56,56,56,56,54,54,54,52,52,52,52,52,50,50,50,49,49,47,47,47,46,
04206     46,46,45,45,45,45,45,44,44,44,43,43,43,43,42,42,42,42,41,41,40,
04207     39,39,38,38,37,37,37,37,37,37,36,36,35,35,35,35,35,34,34,34,33,
04208     33,33,33,32,32,32,31,31,31,30,30,30,28,28,27,26,23,22,22,22,22,
04209     22,21,21,21,21,20,20,20,20,20,20,20
04210   };
04211   const int n3c1w2_g[] = {
04212     100, // Capacity
04213     200, // Number of items
04214     // Size of items (sorted)
04215     100,100,100,100,99,99,99,98,98,98,97,96,96,96,96,95,95,95,95,
04216     94,94,94,94,94,93,93,93,92,92,92,92,92,92,92,92,91,91,90,89,88,
04217     88,88,88,87,87,87,87,87,86,85,85,85,85,85,84,83,83,83,83,82,81,
04218     81,80,80,80,80,80,79,79,78,78,78,77,77,77,77,76,75,75,74,74,73,
04219     72,72,71,69,69,69,69,69,68,68,67,67,66,64,63,62,62,62,62,61,61,
04220     61,61,60,59,58,58,58,57,57,57,57,56,56,55,54,54,54,53,52,51,51,
04221     51,50,50,50,50,50,49,47,47,46,44,43,43,42,42,42,42,42,42,42,42,
04222     41,41,41,40,40,39,39,38,38,37,37,37,36,36,36,36,36,35,35,35,34,
04223     33,33,33,32,32,32,31,30,30,30,30,30,29,29,28,28,28,27,27,26,26,
04224     25,25,24,24,23,23,22,22,22,22,22,21,20
04225   };
04226   const int n3c1w2_h[] = {
04227     100, // Capacity
04228     200, // Number of items
04229     // Size of items (sorted)
04230     100,100,99,99,99,99,99,98,97,97,96,96,96,96,95,95,94,94,94,94,
04231     93,93,93,91,91,91,91,91,90,90,90,90,90,90,90,89,89,89,89,89,88,
04232     88,88,87,86,86,86,85,85,85,84,84,84,84,83,83,83,81,81,80,80,80,
04233     80,80,79,79,78,78,77,77,76,76,75,75,75,74,73,73,72,71,71,70,70,
04234     70,70,69,68,68,67,67,67,65,65,65,64,64,62,62,62,62,61,61,60,60,
04235     59,59,58,58,58,57,57,57,57,56,56,55,55,55,54,54,52,51,50,50,49,
04236     48,48,48,48,47,47,46,45,45,43,43,43,42,42,41,41,41,40,40,40,40,
04237     39,39,38,38,38,37,37,36,35,35,35,35,34,34,34,34,33,33,32,32,32,
04238     31,31,30,30,30,30,28,28,28,27,27,27,26,26,26,26,25,25,25,25,25,
04239     25,24,24,24,24,24,23,22,20,20,20,20
04240   };
04241   const int n3c1w2_i[] = {
04242     100, // Capacity
04243     200, // Number of items
04244     // Size of items (sorted)
04245     100,100,100,100,98,97,97,97,96,95,95,95,94,93,93,92,92,92,92,
04246     91,91,91,90,90,90,88,88,88,87,87,87,87,86,86,85,85,84,84,84,83,
04247     83,83,83,83,82,82,82,82,82,82,81,81,80,80,79,79,79,78,78,77,77,
04248     76,75,74,74,72,72,72,71,71,71,69,69,69,68,68,68,68,68,68,67,67,
04249     66,65,65,65,64,64,64,64,63,63,63,62,62,62,62,61,61,60,60,59,59,
04250     59,59,59,58,58,57,57,57,56,56,56,55,55,54,53,53,52,52,51,51,51,
04251     51,50,49,49,49,48,46,46,45,45,45,45,44,44,44,43,42,42,42,42,41,
04252     41,41,41,40,40,40,39,39,38,38,38,38,37,37,36,35,34,34,34,33,33,
04253     32,31,31,31,30,30,30,29,29,29,29,27,27,27,26,25,25,25,24,24,24,
04254     23,23,23,23,23,22,22,21,20,20,20,20,20
04255   };
04256   const int n3c1w2_j[] = {
04257     100, // Capacity
04258     200, // Number of items
04259     // Size of items (sorted)
04260     100,100,100,100,99,99,98,98,98,97,97,97,96,96,96,95,95,94,94,
04261     93,93,93,93,93,93,92,92,91,89,88,88,88,88,88,87,87,87,87,87,87,
04262     86,85,85,85,84,83,83,82,82,82,81,80,80,80,80,80,79,79,79,78,77,
04263     77,76,76,76,76,76,75,75,75,75,74,73,73,73,72,71,71,71,71,70,69,
04264     69,68,68,68,68,67,65,65,65,62,62,60,60,60,60,60,59,59,59,59,59,
04265     58,58,58,58,58,57,56,55,55,54,54,53,53,53,53,52,50,50,49,49,49,
04266     48,48,48,47,47,46,46,46,45,45,45,43,43,43,42,42,42,41,41,41,41,
04267     40,40,40,40,39,39,37,37,37,37,37,36,36,36,35,34,33,33,32,32,32,
04268     30,30,30,30,29,29,29,29,29,28,27,27,26,26,25,25,25,25,24,24,24,
04269     24,24,23,23,23,22,22,21,21,21,20,20,20
04270   };
04271   const int n3c1w2_k[] = {
04272     100, // Capacity
04273     200, // Number of items
04274     // Size of items (sorted)
04275     100,100,99,99,98,98,98,98,97,96,96,95,95,95,95,94,93,93,93,93,
04276     92,92,91,91,90,90,89,89,89,89,89,88,87,87,85,85,84,84,84,84,84,
04277     83,83,83,82,82,82,78,78,77,77,77,77,77,76,76,76,75,74,73,73,72,
04278     72,71,70,70,70,69,69,68,67,67,66,66,66,65,64,64,64,63,63,63,63,
04279     63,62,61,60,60,60,59,59,59,59,57,57,56,56,55,55,54,53,53,53,53,
04280     52,52,52,51,51,50,50,49,49,49,48,47,47,47,47,47,46,46,46,45,44,
04281     44,43,43,43,43,43,43,42,42,42,41,41,40,40,40,40,40,39,39,39,38,
04282     38,38,38,37,37,37,36,36,36,36,34,33,33,32,32,32,32,32,31,31,31,
04283     30,30,30,30,30,29,29,28,28,28,28,28,28,27,27,27,26,26,26,26,25,
04284     25,24,24,23,22,21,21,21,20,20,20,20
04285   };
04286   const int n3c1w2_l[] = {
04287     100, // Capacity
04288     200, // Number of items
04289     // Size of items (sorted)
04290     100,100,99,99,99,98,98,98,98,97,97,97,97,97,96,96,95,95,94,94,
04291     94,94,93,92,92,92,92,92,92,92,91,91,90,90,90,90,89,89,89,88,88,
04292     88,87,87,86,86,86,86,85,85,85,84,84,84,83,83,82,81,80,80,79,79,
04293     78,77,77,77,76,76,76,76,75,75,74,74,74,74,73,73,72,72,71,71,71,
04294     71,70,70,70,69,69,68,68,68,67,67,67,66,66,66,66,65,64,64,63,63,
04295     63,62,61,60,60,60,60,59,59,59,59,58,58,58,57,57,56,55,55,54,54,
04296     54,52,52,52,51,51,51,51,50,49,49,48,48,47,47,47,47,47,46,46,45,
04297     45,45,44,44,44,43,43,43,42,42,41,41,40,39,39,39,39,37,37,37,37,
04298     36,36,36,35,35,34,33,33,33,33,33,32,31,31,30,27,27,26,25,24,24,
04299     24,24,23,23,23,23,23,22,21,21,20,20
04300   };
04301   const int n3c1w2_m[] = {
04302     100, // Capacity
04303     200, // Number of items
04304     // Size of items (sorted)
04305     100,100,100,99,98,98,98,97,97,97,96,96,94,93,93,92,92,92,91,90,
04306     90,90,90,89,89,89,89,88,87,87,86,86,86,86,85,85,85,85,85,84,84,
04307     84,84,83,82,82,82,82,82,81,81,81,81,80,80,79,79,79,79,77,76,76,
04308     75,75,74,74,74,73,72,72,72,72,72,72,72,72,72,71,71,70,70,69,68,
04309     68,68,68,67,67,67,67,65,65,65,64,64,63,62,62,62,62,62,61,60,59,
04310     59,58,58,58,58,58,58,57,57,57,57,57,57,56,56,55,55,55,55,54,54,
04311     54,53,53,53,52,52,52,51,51,50,49,49,49,48,48,47,47,47,47,47,46,
04312     44,44,44,44,44,43,42,42,41,41,41,40,39,38,38,37,36,36,36,36,36,
04313     35,35,34,33,33,32,32,31,31,31,30,30,30,29,29,28,27,27,27,26,26,
04314     26,25,24,23,23,23,22,22,22,21,21,20
04315   };
04316   const int n3c1w2_n[] = {
04317     100, // Capacity
04318     200, // Number of items
04319     // Size of items (sorted)
04320     100,100,100,100,99,99,99,99,98,98,98,96,96,95,95,94,94,94,93,
04321     93,93,93,93,92,91,91,91,91,90,90,90,89,89,89,89,89,88,87,87,87,
04322     86,86,86,85,85,84,84,82,82,81,81,80,80,80,80,79,78,77,77,77,77,
04323     77,76,76,75,75,75,73,73,73,72,71,71,70,70,70,70,69,69,68,68,68,
04324     68,68,67,67,67,67,66,66,66,65,65,65,64,63,63,63,62,62,62,61,60,
04325     60,59,59,59,58,58,58,58,58,57,57,55,55,55,55,55,55,54,54,54,54,
04326     53,52,52,52,52,52,51,51,50,50,50,50,50,49,49,49,49,49,48,48,48,
04327     48,46,45,45,45,44,44,44,43,43,42,42,41,41,41,39,39,39,39,38,37,
04328     37,37,37,36,36,36,36,35,34,34,34,34,34,34,33,33,33,32,31,31,30,
04329     30,29,28,27,26,25,25,24,24,22,21,21,20
04330   };
04331   const int n3c1w2_o[] = {
04332     100, // Capacity
04333     200, // Number of items
04334     // Size of items (sorted)
04335     99,99,99,99,98,98,98,98,97,97,96,96,96,95,95,95,94,94,94,92,91,
04336     91,90,90,90,90,89,89,88,88,87,87,87,87,86,86,86,85,84,84,84,84,
04337     83,83,82,82,82,81,81,81,81,81,80,79,79,79,79,78,78,78,77,77,76,
04338     76,74,74,74,73,73,73,73,73,72,71,71,70,70,69,69,68,68,68,67,66,
04339     65,65,64,64,63,63,62,61,61,61,61,61,61,61,60,60,59,58,57,57,57,
04340     57,57,56,56,56,56,56,55,55,54,54,54,53,53,53,52,52,52,51,51,50,
04341     50,49,49,48,48,48,48,46,45,45,45,44,44,44,44,43,43,42,42,41,41,
04342     41,40,39,39,39,39,38,38,37,37,35,35,34,34,33,33,32,32,32,32,30,
04343     30,30,29,29,28,28,28,28,28,27,27,26,26,25,25,25,24,24,24,24,24,
04344     24,24,23,22,22,22,21,21,21,21,20
04345   };
04346   const int n3c1w2_p[] = {
04347     100, // Capacity
04348     200, // Number of items
04349     // Size of items (sorted)
04350     100,100,99,99,98,97,97,97,96,96,95,95,95,95,94,94,94,93,93,92,
04351     92,92,92,91,90,90,90,90,89,89,88,88,88,88,87,87,85,84,83,83,83,
04352     82,82,82,82,81,81,81,81,79,79,79,78,78,78,78,77,77,77,77,76,76,
04353     75,73,73,72,71,70,70,70,70,70,70,69,69,69,67,67,66,66,66,66,65,
04354     65,65,65,63,63,63,63,62,62,61,61,61,61,61,60,60,59,59,59,58,58,
04355     56,55,55,55,54,53,52,52,52,51,50,49,49,49,49,48,48,48,48,48,47,
04356     47,47,46,46,46,45,45,45,45,45,45,45,44,44,44,43,43,43,43,43,42,
04357     42,41,41,41,41,41,40,40,39,38,38,37,37,36,36,36,35,34,33,33,33,
04358     32,32,32,31,31,30,30,30,29,29,27,27,27,26,26,26,25,24,23,23,22,
04359     22,22,22,22,21,21,21,21,21,20,20,20
04360   };
04361   const int n3c1w2_q[] = {
04362     100, // Capacity
04363     200, // Number of items
04364     // Size of items (sorted)
04365     100,100,100,100,100,99,99,98,97,97,97,96,96,94,93,93,92,92,92,
04366     91,91,91,90,90,90,88,88,88,88,88,88,87,86,86,85,85,85,85,85,84,
04367     84,84,84,83,83,82,82,81,81,81,80,80,80,79,79,78,78,78,77,77,77,
04368     77,77,76,75,75,75,75,74,74,74,74,74,74,74,73,73,73,72,72,71,71,
04369     70,70,70,69,68,68,68,67,67,67,67,67,67,67,67,66,66,66,65,64,64,
04370     64,64,63,63,62,62,62,61,61,60,60,60,59,59,59,59,56,56,56,54,53,
04371     52,52,51,51,51,50,50,50,50,49,49,49,49,48,48,47,46,46,46,46,46,
04372     45,45,43,43,43,42,41,41,39,39,39,39,38,37,37,37,36,36,36,35,34,
04373     34,34,34,32,32,31,29,29,28,28,28,27,27,26,26,26,25,25,24,24,23,
04374     23,22,22,21,21,21,21,21,20,20,20,20,20
04375   };
04376   const int n3c1w2_r[] = {
04377     100, // Capacity
04378     200, // Number of items
04379     // Size of items (sorted)
04380     100,100,100,100,100,100,100,100,99,99,99,99,99,98,98,97,97,97,
04381     95,95,95,95,95,94,94,93,93,92,92,92,91,90,90,89,89,89,89,89,88,
04382     88,88,88,88,88,85,85,85,85,84,84,83,83,82,82,82,82,81,81,80,80,
04383     78,78,76,75,75,74,73,72,72,70,70,69,69,67,67,66,66,65,65,65,64,
04384     64,63,62,62,61,61,60,60,60,60,60,57,57,57,56,56,56,56,55,55,54,
04385     54,54,54,53,52,52,51,51,51,50,50,50,50,49,49,49,48,48,48,48,48,
04386     48,48,48,46,46,45,45,44,44,43,43,43,42,41,41,40,40,40,40,40,39,
04387     39,39,39,39,39,38,38,37,36,36,35,35,34,34,34,33,33,33,33,32,32,
04388     31,31,31,31,31,30,30,30,29,29,29,28,28,28,28,26,25,25,25,24,24,
04389     24,23,23,23,23,22,22,22,21,20,20,20,20,20
04390   };
04391   const int n3c1w2_s[] = {
04392     100, // Capacity
04393     200, // Number of items
04394     // Size of items (sorted)
04395     100,98,98,98,98,97,97,97,97,97,96,96,96,95,95,95,94,94,92,91,
04396     90,90,89,89,89,88,88,88,88,87,87,86,86,86,85,85,85,84,84,84,83,
04397     83,82,82,80,80,80,79,78,78,78,78,78,77,77,77,76,75,75,74,74,74,
04398     73,73,72,72,72,72,71,71,71,70,70,68,68,68,67,67,66,66,66,66,65,
04399     65,65,64,64,64,64,63,63,63,63,63,63,63,63,61,61,60,59,59,59,59,
04400     58,58,58,57,57,57,57,55,54,54,53,53,53,53,53,52,52,51,51,51,50,
04401     50,50,50,50,50,49,49,49,48,48,48,48,47,47,47,46,46,45,45,44,43,
04402     42,41,41,41,40,40,40,39,39,39,38,38,38,38,38,38,37,37,36,36,36,
04403     35,34,34,34,34,33,33,32,31,31,31,30,29,27,27,25,25,24,24,24,23,
04404     23,23,23,23,23,21,21,21,20,20,20,20
04405   };
04406   const int n3c1w2_t[] = {
04407     100, // Capacity
04408     200, // Number of items
04409     // Size of items (sorted)
04410     100,99,99,99,98,98,98,98,98,97,96,96,96,95,95,95,94,93,93,92,
04411     92,91,91,90,90,90,89,88,88,87,87,87,87,86,86,85,85,85,85,84,84,
04412     84,84,84,83,83,83,83,82,81,80,80,80,79,78,78,78,78,77,76,76,75,
04413     74,74,74,73,72,72,72,71,71,71,71,71,68,68,67,67,67,67,66,66,65,
04414     65,65,65,63,63,63,63,63,63,63,63,62,62,62,61,61,61,60,60,60,60,
04415     59,59,59,59,58,58,58,57,57,56,56,56,56,55,55,54,54,54,53,53,53,
04416     52,52,52,52,51,51,51,51,51,50,50,50,49,49,48,48,48,48,47,47,46,
04417     46,46,46,45,44,44,43,42,42,42,42,42,42,42,41,40,39,38,37,37,36,
04418     36,36,35,35,34,33,33,33,33,33,32,32,31,30,29,28,28,28,27,27,26,
04419     25,25,24,23,23,23,23,22,21,21,20,20
04420   };
04421   const int n3c1w4_a[] = {
04422     100, // Capacity
04423     200, // Number of items
04424     // Size of items (sorted)
04425     100,100,100,100,99,99,99,99,98,98,98,98,98,97,97,96,96,95,95,
04426     95,95,94,94,93,93,92,91,91,91,91,91,90,90,90,89,89,89,89,89,88,
04427     88,88,88,88,87,87,87,87,86,86,86,85,85,85,84,84,83,83,83,82,82,
04428     82,82,81,81,81,81,80,80,79,79,79,79,79,78,77,77,77,77,75,74,74,
04429     73,73,73,72,72,71,71,70,70,70,69,69,69,69,68,68,67,67,67,67,67,
04430     67,65,65,65,65,64,64,64,63,63,63,62,62,62,62,60,60,60,59,59,59,
04431     58,57,57,56,56,56,56,55,55,54,54,54,54,54,54,52,52,52,52,52,51,
04432     51,51,50,50,49,49,48,48,48,47,47,47,46,46,45,45,44,44,44,43,43,
04433     43,43,42,42,41,41,41,40,40,39,39,39,39,39,38,38,37,37,36,36,36,
04434     36,35,35,35,35,33,32,32,32,32,30,30,30
04435   };
04436   const int n3c1w4_b[] = {
04437     100, // Capacity
04438     200, // Number of items
04439     // Size of items (sorted)
04440     100,100,99,99,98,98,97,97,97,96,96,96,95,95,95,93,93,93,93,93,
04441     92,92,92,92,91,91,91,90,90,89,89,88,87,87,87,87,86,86,85,85,85,
04442     85,84,84,84,84,83,83,83,83,83,83,82,80,80,80,79,79,79,78,78,78,
04443     78,78,78,77,76,76,76,75,75,75,75,75,73,73,73,72,72,72,71,71,70,
04444     70,70,70,70,70,69,69,68,68,68,68,68,67,67,66,66,66,66,65,65,65,
04445     64,64,64,63,62,61,61,61,60,60,60,59,59,58,58,58,58,58,58,57,57,
04446     57,57,57,56,55,55,55,55,54,54,54,54,54,53,53,53,52,52,52,52,51,
04447     51,50,49,49,49,49,48,48,47,46,46,46,45,44,44,42,42,42,42,41,41,
04448     41,40,40,40,40,39,39,39,39,38,38,38,37,37,37,37,37,36,36,36,36,
04449     35,35,34,34,33,33,32,32,31,31,30,30
04450   };
04451   const int n3c1w4_c[] = {
04452     100, // Capacity
04453     200, // Number of items
04454     // Size of items (sorted)
04455     100,100,99,99,98,98,97,97,96,96,96,96,96,96,96,95,95,94,94,92,
04456     92,92,92,92,92,92,91,91,91,90,89,89,89,89,89,87,86,85,85,84,84,
04457     84,84,83,83,83,83,83,81,81,80,80,80,80,79,79,79,79,78,78,78,78,
04458     77,77,77,77,77,77,76,76,76,76,76,75,75,75,75,74,74,74,74,73,72,
04459     72,72,70,70,70,70,70,69,69,69,68,68,67,67,66,65,65,65,65,64,64,
04460     64,64,64,63,62,62,61,60,60,60,60,60,60,60,59,59,59,58,58,58,58,
04461     57,57,55,55,55,53,53,53,52,52,52,52,51,51,49,49,49,49,49,49,49,
04462     48,48,48,48,48,46,46,45,45,45,45,44,44,44,44,43,43,43,43,43,43,
04463     42,42,42,41,40,40,40,40,40,39,38,38,38,38,37,37,35,34,34,34,34,
04464     33,33,33,32,32,32,31,30,30,30,30,30
04465   };
04466   const int n3c1w4_d[] = {
04467     100, // Capacity
04468     200, // Number of items
04469     // Size of items (sorted)
04470     99,99,98,98,98,98,97,97,96,96,95,94,94,94,94,93,93,93,92,92,92,
04471     92,92,92,92,92,91,91,91,91,90,90,89,89,88,88,87,87,87,87,87,87,
04472     86,86,85,85,85,84,84,83,83,83,83,83,83,82,82,82,82,82,81,81,81,
04473     81,80,79,78,78,77,77,77,76,76,75,75,75,74,74,74,74,73,73,73,73,
04474     73,73,72,72,71,70,70,70,70,70,69,69,69,68,68,68,67,67,66,66,66,
04475     66,66,65,64,63,63,63,63,62,62,62,61,60,60,60,60,59,59,59,59,58,
04476     57,56,56,56,55,55,55,55,55,53,53,53,52,52,52,51,51,51,50,50,49,
04477     49,49,49,48,48,48,48,47,47,46,46,46,46,46,44,43,43,43,42,42,41,
04478     41,41,41,40,40,40,39,39,39,39,38,38,38,38,38,37,36,36,35,35,34,
04479     34,34,33,33,33,32,32,32,31,31,30
04480   };
04481   const int n3c1w4_e[] = {
04482     100, // Capacity
04483     200, // Number of items
04484     // Size of items (sorted)
04485     99,99,99,98,97,97,97,97,96,96,95,95,95,95,94,94,94,93,93,93,93,
04486     93,92,92,91,90,89,88,87,86,86,86,86,85,85,85,85,84,84,84,83,83,
04487     82,82,82,82,82,82,81,81,81,81,81,80,80,80,79,78,78,77,76,76,75,
04488     74,74,74,74,73,73,73,73,73,73,72,72,72,71,71,71,70,70,70,69,69,
04489     69,69,69,69,68,68,67,67,67,67,67,66,66,66,65,64,64,64,63,63,62,
04490     62,61,61,61,61,60,60,59,59,59,59,59,57,56,55,54,53,53,53,53,52,
04491     52,52,51,51,51,50,50,50,50,50,49,48,48,48,48,48,47,47,47,46,46,
04492     46,45,45,45,45,45,44,44,44,43,43,43,43,43,43,42,42,42,42,41,41,
04493     40,40,40,40,39,39,39,38,37,36,36,36,36,35,35,35,35,34,34,32,32,
04494     32,32,31,31,31,30,30,30,30,30,30
04495   };
04496   const int n3c1w4_f[] = {
04497     100, // Capacity
04498     200, // Number of items
04499     // Size of items (sorted)
04500     100,100,100,99,99,98,98,98,97,97,96,96,96,96,96,95,94,94,94,93,
04501     93,93,91,91,91,90,90,90,90,90,89,89,89,89,89,88,88,88,88,87,87,
04502     87,87,86,86,86,86,85,84,83,83,83,83,82,82,82,82,81,81,81,81,81,
04503     80,80,79,79,77,76,76,76,76,76,75,74,74,74,73,73,72,72,72,71,70,
04504     69,68,68,68,68,68,67,67,67,66,66,66,65,64,64,64,63,63,62,62,62,
04505     61,60,60,59,59,59,58,58,58,58,57,56,56,55,55,55,54,54,54,53,53,
04506     53,52,52,51,51,50,50,50,50,50,50,49,49,49,49,48,48,47,47,46,45,
04507     45,45,45,45,44,44,43,43,42,42,42,42,41,41,40,40,40,40,40,40,38,
04508     38,38,38,38,37,37,37,37,36,36,36,35,35,35,35,34,34,34,33,33,33,
04509     33,32,32,32,32,31,31,31,31,31,30,30
04510   };
04511   const int n3c1w4_g[] = {
04512     100, // Capacity
04513     200, // Number of items
04514     // Size of items (sorted)
04515     100,99,98,97,97,96,96,96,95,95,94,94,94,94,93,93,92,92,91,91,
04516     89,89,89,89,88,88,88,88,88,87,87,87,87,86,86,86,86,86,85,85,85,
04517     84,84,83,83,83,82,82,82,82,82,81,80,80,80,80,80,80,80,79,79,79,
04518     79,78,78,78,78,77,77,77,76,76,75,75,75,75,75,74,74,74,74,73,73,
04519     73,73,73,72,72,72,72,72,71,71,71,71,70,70,70,70,70,69,68,68,67,
04520     67,67,66,66,66,65,65,64,62,62,62,61,61,60,60,59,59,59,59,59,59,
04521     59,58,58,58,57,57,57,56,55,55,55,54,54,54,54,53,52,52,51,51,50,
04522     50,50,48,48,48,48,47,47,46,46,45,45,43,43,43,41,41,41,40,40,39,
04523     39,39,39,38,38,38,38,37,37,37,37,37,36,36,36,35,35,34,34,33,33,
04524     32,32,32,32,32,31,31,31,30,30,30,30
04525   };
04526   const int n3c1w4_h[] = {
04527     100, // Capacity
04528     200, // Number of items
04529     // Size of items (sorted)
04530     100,100,99,99,99,98,98,98,98,97,97,97,97,97,96,96,95,94,94,93,
04531     93,93,91,91,91,90,90,89,89,89,89,88,88,88,87,87,86,86,86,86,85,
04532     85,85,84,84,84,83,83,81,81,81,81,81,80,80,80,80,79,78,78,78,77,
04533     77,76,76,76,76,76,75,75,74,74,73,73,73,72,72,72,72,72,71,71,70,
04534     70,70,69,69,69,68,68,66,66,66,66,66,65,65,65,64,64,63,63,63,63,
04535     62,62,62,62,61,61,61,60,60,59,59,59,58,58,57,57,57,56,55,54,54,
04536     54,54,52,52,51,51,51,50,50,50,50,50,49,49,49,48,48,48,48,48,47,
04537     47,47,47,46,46,46,45,45,45,44,44,44,43,43,42,41,41,40,39,39,38,
04538     38,37,37,37,37,37,37,37,36,36,35,34,34,34,34,34,34,33,33,33,33,
04539     33,32,32,31,31,31,31,31,31,30,30,30
04540   };
04541   const int n3c1w4_i[] = {
04542     100, // Capacity
04543     200, // Number of items
04544     // Size of items (sorted)
04545     100,100,100,100,100,99,99,99,99,98,98,98,97,97,97,96,96,96,95,
04546     95,95,94,94,94,94,94,93,93,93,92,91,90,89,89,89,89,89,88,88,87,
04547     87,87,86,86,86,85,84,84,83,82,82,81,81,81,81,80,80,80,79,78,78,
04548     77,77,76,76,76,75,75,74,74,74,74,74,73,73,73,73,73,72,72,72,72,
04549     71,71,70,70,70,68,68,67,67,66,65,65,64,64,63,63,63,63,63,62,61,
04550     61,60,60,59,59,59,58,57,57,56,56,56,55,55,55,55,54,53,52,52,52,
04551     52,52,52,52,52,52,49,49,49,49,49,49,48,47,47,47,47,46,46,46,45,
04552     45,44,43,43,43,43,42,42,42,41,41,41,41,41,40,40,40,40,40,39,39,
04553     38,38,38,37,37,37,36,36,36,36,35,35,35,35,34,34,34,34,34,34,34,
04554     33,33,33,33,32,32,32,32,31,31,31,30,30
04555   };
04556   const int n3c1w4_j[] = {
04557     100, // Capacity
04558     200, // Number of items
04559     // Size of items (sorted)
04560     100,100,99,99,98,98,98,97,97,97,96,96,96,96,96,95,94,94,93,93,
04561     93,92,92,92,92,92,91,91,91,90,90,89,89,89,89,88,88,87,87,86,86,
04562     85,85,85,85,84,84,84,84,83,83,82,82,82,82,82,82,82,81,80,79,79,
04563     79,78,78,78,77,76,76,75,75,75,74,73,73,73,72,72,72,72,71,71,70,
04564     70,69,69,69,69,69,68,67,66,66,66,66,66,66,65,65,65,65,64,64,64,
04565     63,63,62,62,61,61,60,60,60,59,59,59,59,58,58,58,58,58,58,58,57,
04566     56,56,56,56,53,53,53,52,52,52,52,51,51,51,50,50,50,49,48,48,48,
04567     48,47,47,47,46,46,46,46,44,44,44,44,43,43,42,42,42,41,40,40,40,
04568     40,40,39,39,38,38,38,38,38,37,37,37,36,35,34,34,34,34,34,34,34,
04569     33,33,32,32,32,32,31,31,31,30,30,30
04570   };
04571   const int n3c1w4_k[] = {
04572     100, // Capacity
04573     200, // Number of items
04574     // Size of items (sorted)
04575     100,100,100,99,99,99,99,99,99,98,98,97,97,97,95,95,95,95,95,94,
04576     94,94,94,94,93,93,93,93,92,92,92,91,90,89,89,89,89,89,88,88,88,
04577     87,87,87,87,87,86,86,85,84,83,83,83,83,82,82,81,79,79,79,79,78,
04578     78,77,76,76,76,75,75,75,74,73,73,72,72,72,72,71,70,70,70,70,70,
04579     70,69,69,69,69,68,68,68,66,66,66,66,66,66,66,66,65,65,65,64,64,
04580     63,63,63,63,62,62,62,61,61,61,61,61,59,59,59,59,59,59,58,58,58,
04581     57,57,57,57,57,56,56,56,55,55,55,55,54,54,52,52,51,51,51,50,50,
04582     50,50,49,48,47,47,47,46,46,46,46,45,45,44,44,44,43,42,42,41,41,
04583     41,41,41,40,40,39,38,38,38,38,38,38,37,36,36,36,35,34,33,32,32,
04584     32,31,31,31,31,30,30,30,30,30,30,30
04585   };
04586   const int n3c1w4_l[] = {
04587     100, // Capacity
04588     200, // Number of items
04589     // Size of items (sorted)
04590     100,100,100,100,99,99,99,98,98,98,98,98,97,96,96,96,96,96,95,
04591     95,95,95,94,94,94,93,93,92,92,92,92,91,90,90,89,88,88,88,88,87,
04592     87,86,86,86,85,83,83,83,82,82,82,81,81,80,80,80,80,80,80,80,80,
04593     79,79,78,78,77,77,76,75,75,75,75,75,75,74,74,74,73,73,72,72,72,
04594     71,71,71,71,71,69,69,68,68,67,67,66,66,66,66,66,65,65,65,65,65,
04595     64,64,63,62,62,62,62,62,62,62,62,61,61,60,60,60,59,59,59,59,58,
04596     58,58,57,57,57,57,57,56,56,56,56,56,56,55,55,54,54,53,52,51,50,
04597     50,49,49,49,49,48,48,48,47,46,45,44,44,44,44,44,43,43,43,43,42,
04598     42,41,41,40,40,40,39,39,39,39,38,38,37,37,37,37,37,37,36,36,35,
04599     35,34,34,34,34,33,32,32,31,31,31,30,30
04600   };
04601   const int n3c1w4_m[] = {
04602     100, // Capacity
04603     200, // Number of items
04604     // Size of items (sorted)
04605     100,100,100,99,99,99,98,98,97,97,97,97,97,96,96,96,95,95,94,94,
04606     94,93,92,92,92,91,91,90,90,90,90,89,88,88,88,88,87,87,86,86,86,
04607     86,86,84,84,84,83,83,83,83,82,82,82,82,82,81,81,80,80,80,79,79,
04608     79,79,79,78,78,78,78,78,77,77,77,76,76,76,76,75,74,74,73,73,73,
04609     72,71,71,71,70,70,70,69,69,69,69,68,68,67,67,67,67,66,66,66,66,
04610     65,65,65,64,64,64,64,64,64,63,62,62,62,61,61,60,60,59,59,59,59,
04611     59,58,57,56,55,55,55,55,55,55,54,54,54,54,53,53,53,53,52,52,52,
04612     52,51,50,49,48,48,48,48,48,47,47,45,45,45,45,44,44,44,43,43,42,
04613     41,41,40,40,39,39,39,38,38,38,37,37,37,36,35,34,34,33,33,33,33,
04614     33,32,32,31,31,31,31,31,30,30,30,30
04615   };
04616   const int n3c1w4_n[] = {
04617     100, // Capacity
04618     200, // Number of items
04619     // Size of items (sorted)
04620     100,99,99,98,98,98,98,98,98,97,97,97,96,95,94,93,93,93,93,92,
04621     92,92,92,92,91,91,91,90,87,87,87,85,85,85,84,84,84,83,83,82,82,
04622     82,82,81,81,81,81,80,80,80,80,79,79,78,78,78,78,76,76,76,75,75,
04623     74,73,72,72,72,72,72,71,71,71,71,70,70,70,69,69,69,68,68,68,68,
04624     68,68,68,68,67,67,67,65,64,63,63,63,63,63,63,63,62,62,62,61,60,
04625     60,60,60,60,60,59,59,59,59,58,58,58,57,57,56,56,56,56,55,55,55,
04626     55,54,54,54,54,54,54,53,53,53,53,53,52,52,52,52,51,51,51,51,51,
04627     51,50,49,49,49,49,47,47,46,46,46,45,45,45,45,44,44,43,43,43,42,
04628     42,41,40,40,39,39,39,39,38,38,37,37,37,37,37,37,35,34,34,33,32,
04629     32,32,32,31,31,31,31,31,30,30,30,30
04630   };
04631   const int n3c1w4_o[] = {
04632     100, // Capacity
04633     200, // Number of items
04634     // Size of items (sorted)
04635     100,100,99,99,99,97,97,97,96,95,95,95,95,94,94,93,93,92,92,91,
04636     91,89,89,88,88,87,86,86,86,86,85,85,84,84,83,83,82,82,82,82,81,
04637     81,81,81,81,81,80,80,80,79,79,79,79,78,77,77,77,77,77,77,77,77,
04638     76,76,75,75,75,74,74,73,73,73,73,72,72,72,72,71,71,71,71,70,70,
04639     70,70,70,70,69,69,69,69,69,67,66,66,65,65,65,64,63,62,62,62,62,
04640     61,61,61,61,60,60,60,58,58,58,58,58,58,58,58,58,57,55,55,54,53,
04641     53,53,53,53,52,52,52,52,52,51,51,51,50,50,50,49,49,48,48,47,47,
04642     46,46,45,45,45,45,44,44,43,42,42,42,42,41,41,41,41,40,40,37,37,
04643     37,36,36,36,36,35,35,35,35,35,35,35,34,34,34,34,34,34,33,33,33,
04644     33,33,32,32,32,32,32,32,32,31,31,30
04645   };
04646   const int n3c1w4_p[] = {
04647     100, // Capacity
04648     200, // Number of items
04649     // Size of items (sorted)
04650     100,100,100,100,100,100,100,99,99,99,99,99,98,98,97,96,96,95,
04651     95,94,94,94,93,92,92,92,92,92,92,91,90,89,89,89,89,88,88,88,88,
04652     87,87,87,86,86,85,84,83,82,82,82,81,81,81,81,79,79,79,78,78,78,
04653     77,77,77,77,77,76,76,76,76,75,75,75,75,74,74,74,74,74,73,73,73,
04654     71,71,71,71,71,71,71,69,69,68,67,66,66,66,65,64,64,64,63,63,63,
04655     63,63,63,62,62,62,62,61,60,60,60,60,59,59,59,59,59,58,58,58,57,
04656     56,56,56,56,56,54,53,53,53,52,52,52,51,51,51,51,51,50,49,49,49,
04657     48,47,47,47,47,46,46,46,45,45,44,44,43,43,42,42,42,41,41,41,41,
04658     41,40,40,40,39,39,39,38,37,36,36,36,36,35,35,35,35,34,34,34,34,
04659     33,33,33,33,33,32,32,32,32,31,31,30,30,30
04660   };
04661   const int n3c1w4_q[] = {
04662     100, // Capacity
04663     200, // Number of items
04664     // Size of items (sorted)
04665     100,100,100,100,99,99,99,99,98,98,98,97,97,96,96,96,96,96,95,
04666     95,95,95,94,93,93,93,92,92,92,92,92,92,91,91,90,90,90,89,87,87,
04667     87,86,86,86,86,86,86,85,85,85,85,84,83,83,83,82,81,81,81,80,80,
04668     80,79,79,79,79,79,79,79,79,78,78,77,77,76,76,76,75,75,75,74,73,
04669     72,72,72,72,71,70,70,70,70,69,69,69,68,68,68,68,68,68,67,67,66,
04670     66,65,65,65,65,64,64,64,62,62,62,62,61,60,60,59,58,58,58,58,57,
04671     57,57,57,57,56,56,55,54,54,54,54,53,53,53,53,52,52,51,51,50,50,
04672     50,49,49,48,48,48,48,47,47,46,45,45,45,44,44,43,43,43,42,42,42,
04673     42,41,41,40,40,40,40,39,39,39,38,38,37,37,36,36,36,35,35,34,34,
04674     33,33,33,33,32,32,32,32,31,30,30,30,30
04675   };
04676   const int n3c1w4_r[] = {
04677     100, // Capacity
04678     200, // Number of items
04679     // Size of items (sorted)
04680     100,100,100,99,98,97,97,97,96,96,96,96,96,96,96,96,95,95,93,93,
04681     93,93,92,92,92,91,91,91,91,90,90,90,90,89,88,88,87,87,87,86,85,
04682     85,84,84,83,83,82,82,82,81,81,81,80,80,80,80,80,79,79,78,78,77,
04683     77,77,76,75,74,74,73,73,73,73,72,72,71,71,70,70,69,69,69,69,68,
04684     68,68,68,68,67,67,67,67,67,66,66,65,65,65,64,63,63,63,62,60,60,
04685     60,60,59,59,59,59,59,58,58,58,58,58,57,57,57,57,57,57,57,57,56,
04686     56,56,55,55,55,55,54,54,54,54,53,53,52,51,51,51,51,51,50,50,50,
04687     49,48,47,46,46,46,46,45,45,44,44,44,43,43,43,42,42,42,41,41,41,
04688     41,41,40,40,40,40,39,39,38,38,38,38,37,37,37,37,36,36,35,35,35,
04689     35,34,33,33,33,32,32,31,31,31,30,30
04690   };
04691   const int n3c1w4_s[] = {
04692     100, // Capacity
04693     200, // Number of items
04694     // Size of items (sorted)
04695     100,100,99,99,99,98,98,98,98,98,98,97,96,96,96,95,94,93,92,92,
04696     92,92,91,91,91,91,91,90,90,90,90,89,89,89,89,89,88,88,87,86,86,
04697     86,84,82,82,82,80,80,80,80,80,79,79,79,78,77,77,77,77,77,76,76,
04698     76,76,75,75,74,74,74,73,73,72,72,72,72,72,71,71,71,71,70,70,70,
04699     70,70,69,69,68,68,67,67,67,67,67,67,66,65,65,65,65,65,64,63,63,
04700     63,62,62,62,61,61,61,60,60,60,60,60,60,60,60,59,59,58,58,58,58,
04701     57,57,57,55,55,55,55,55,55,54,53,53,53,53,52,52,51,51,50,49,49,
04702     49,49,48,48,48,47,47,46,45,45,45,45,44,43,43,43,42,42,42,42,42,
04703     42,41,40,40,40,39,39,38,38,37,37,37,37,35,35,35,33,33,33,33,32,
04704     32,32,31,31,31,31,31,30,30,30,30,30
04705   };
04706   const int n3c1w4_t[] = {
04707     100, // Capacity
04708     200, // Number of items
04709     // Size of items (sorted)
04710     98,98,98,98,97,97,97,96,96,95,95,95,95,95,94,94,93,93,93,92,92,
04711     91,91,91,91,91,90,90,90,90,90,89,89,88,88,88,88,88,87,86,86,86,
04712     86,86,85,85,84,84,83,82,82,81,80,80,80,80,80,80,79,79,79,79,79,
04713     78,78,78,77,77,77,77,76,76,76,76,75,75,74,74,74,74,73,72,72,71,
04714     71,71,71,71,71,70,69,69,69,69,69,69,68,68,68,67,67,67,67,67,66,
04715     66,65,65,65,65,65,64,63,62,61,61,61,60,60,59,58,58,57,57,57,56,
04716     56,56,56,55,55,54,54,54,53,53,53,52,52,52,51,51,51,50,49,49,48,
04717     48,48,47,47,46,45,45,45,45,44,44,44,43,43,43,43,43,43,43,42,42,
04718     42,41,41,40,40,40,39,39,38,38,36,35,34,34,34,33,33,33,33,33,32,
04719     32,32,31,31,31,31,30,30,30,30,30
04720   };
04721   const int n3c2w1_a[] = {
04722     120, // Capacity
04723     200, // Number of items
04724     // Size of items (sorted)
04725     100,100,100,99,99,99,99,98,98,97,97,95,95,95,95,94,94,94,93,92,
04726     92,91,91,91,91,91,90,90,90,90,89,89,89,88,87,87,87,87,87,86,86,
04727     86,85,83,83,82,82,81,81,80,80,79,79,78,78,78,77,77,76,76,76,75,
04728     74,74,74,74,73,72,72,72,72,71,70,70,69,69,67,67,67,65,64,64,63,
04729     62,61,60,60,60,60,59,59,59,58,58,57,57,57,56,56,55,54,53,53,51,
04730     51,50,49,48,47,47,46,46,46,46,45,45,45,44,44,43,43,42,42,41,41,
04731     40,40,40,40,40,39,38,38,38,38,38,36,36,35,32,32,30,30,30,30,29,
04732     29,28,25,24,24,24,24,23,23,23,23,23,22,22,21,20,19,19,19,19,17,
04733     17,16,16,16,16,16,16,15,15,13,13,13,12,10,10,9,9,8,8,7,7,5,4,
04734     4,4,4,4,4,3,2,2,2,1
04735   };
04736   const int n3c2w1_b[] = {
04737     120, // Capacity
04738     200, // Number of items
04739     // Size of items (sorted)
04740     100,100,100,100,100,99,98,97,96,96,96,95,95,94,93,93,93,92,90,
04741     90,90,89,89,89,88,87,87,87,86,83,82,81,81,80,80,80,79,79,79,78,
04742     77,77,77,77,76,76,76,75,73,72,72,72,72,71,70,68,68,68,68,67,66,
04743     66,66,66,66,65,65,65,63,63,63,62,61,60,60,60,60,58,58,57,57,56,
04744     56,56,56,55,55,55,55,55,53,52,51,51,50,50,50,50,49,49,48,48,48,
04745     48,47,47,46,46,45,45,45,45,43,43,42,41,40,40,40,40,40,39,39,39,
04746     39,39,38,38,37,36,35,35,34,34,34,33,33,31,30,30,30,27,27,25,25,
04747     24,24,23,23,23,23,22,22,21,21,20,19,19,19,19,19,18,18,17,17,17,
04748     16,16,15,15,15,14,14,14,13,13,12,12,12,12,12,10,9,9,9,9,9,9,9,
04749     8,7,5,5,4,4,3,2,1,1,1
04750   };
04751   const int n3c2w1_c[] = {
04752     120, // Capacity
04753     200, // Number of items
04754     // Size of items (sorted)
04755     100,100,98,97,97,96,96,96,96,93,93,92,90,90,89,89,89,89,89,88,
04756     88,87,86,86,86,85,85,85,85,83,82,81,81,81,80,80,79,79,78,77,77,
04757     76,76,76,75,75,75,74,74,73,73,72,72,72,72,72,71,70,70,70,70,70,
04758     69,69,68,68,67,66,66,65,65,63,63,63,62,62,62,62,60,60,59,59,58,
04759     58,58,57,57,57,55,55,54,54,53,53,53,52,52,51,51,51,50,50,49,48,
04760     48,47,47,47,46,44,43,43,43,42,42,41,40,40,40,40,39,39,39,39,39,
04761     38,37,36,36,36,35,35,34,34,34,34,33,33,33,33,32,32,32,32,31,30,
04762     29,29,29,29,28,27,26,25,24,23,23,22,22,20,20,20,19,19,19,18,18,
04763     17,17,17,16,16,15,15,15,13,13,13,13,13,12,12,10,10,9,9,9,8,8,
04764     7,7,7,5,4,4,3,3,1,1,1
04765   };
04766   const int n3c2w1_d[] = {
04767     120, // Capacity
04768     200, // Number of items
04769     // Size of items (sorted)
04770     100,100,100,99,99,98,98,98,97,96,95,95,95,94,94,93,93,93,93,92,
04771     92,92,91,90,90,89,89,88,87,86,86,85,85,84,84,84,83,83,83,83,81,
04772     79,78,78,77,77,76,76,75,75,75,75,75,74,74,74,74,74,73,73,73,72,
04773     71,71,70,69,69,68,68,66,65,65,65,65,65,64,64,63,61,61,61,61,60,
04774     60,60,60,60,59,59,58,58,57,57,56,55,54,53,53,52,51,51,51,50,49,
04775     48,47,46,46,45,44,44,43,41,41,39,39,38,38,38,37,37,37,36,36,35,
04776     35,35,34,34,34,34,34,33,32,32,32,31,29,28,28,28,27,27,26,25,25,
04777     23,23,23,23,23,22,22,22,22,21,20,18,18,17,17,17,16,16,15,15,14,
04778     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,
04779     3,3,2,2,1,1,1,1
04780   };
04781   const int n3c2w1_e[] = {
04782     120, // Capacity
04783     200, // Number of items
04784     // Size of items (sorted)
04785     99,99,99,99,98,98,98,97,96,95,95,95,95,95,94,94,93,93,93,91,91,
04786     91,90,90,90,90,90,90,89,89,88,87,87,86,86,85,85,85,85,84,84,83,
04787     82,82,80,80,79,79,79,78,78,78,78,77,77,77,76,76,76,75,75,75,72,
04788     72,71,71,70,70,69,67,67,67,67,66,65,65,64,64,64,63,63,63,62,62,
04789     61,61,59,59,58,58,58,57,57,57,57,56,55,55,55,54,53,52,51,51,50,
04790     50,49,48,47,46,45,44,44,43,43,42,40,40,38,37,37,36,36,35,35,35,
04791     35,33,33,32,32,32,31,31,31,31,31,31,30,29,29,29,28,27,27,26,26,
04792     25,24,24,24,22,22,21,20,19,19,19,18,17,16,16,16,15,15,15,15,15,
04793     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,
04794     4,3,3,3,3,3,2
04795   };
04796   const int n3c2w1_f[] = {
04797     120, // Capacity
04798     200, // Number of items
04799     // Size of items (sorted)
04800     100,100,100,100,100,99,98,98,98,98,97,96,95,95,95,94,93,93,93,
04801     92,92,91,90,90,90,89,89,89,88,88,88,87,87,87,86,84,83,83,83,83,
04802     83,82,82,80,80,79,79,79,78,75,75,75,75,74,74,73,72,72,72,72,70,
04803     69,69,69,69,68,67,67,67,66,66,64,64,64,63,63,63,62,62,62,61,61,
04804     61,61,61,61,61,60,59,59,59,59,59,59,57,57,57,56,55,55,54,54,54,
04805     53,53,53,52,51,51,50,50,50,49,49,48,47,47,46,45,45,45,42,42,42,
04806     40,39,37,36,36,35,35,34,34,34,34,34,32,32,32,30,30,29,28,27,27,
04807     27,25,25,25,24,24,24,24,24,23,22,22,22,22,21,20,19,19,18,17,17,
04808     16,15,15,15,14,12,12,12,11,11,11,10,10,10,10,9,9,9,9,8,8,8,7,
04809     6,6,5,5,4,2,2,2,1,1,1
04810   };
04811   const int n3c2w1_g[] = {
04812     120, // Capacity
04813     200, // Number of items
04814     // Size of items (sorted)
04815     99,99,98,98,97,97,96,96,95,94,94,92,92,92,90,90,89,89,89,88,88,
04816     88,87,86,86,86,85,85,85,85,85,84,84,83,82,82,81,81,81,80,80,80,
04817     79,79,79,78,78,75,75,75,74,74,74,74,73,73,72,72,71,70,69,69,68,
04818     67,67,67,67,67,67,67,66,65,65,64,63,63,63,63,63,62,62,61,60,60,
04819     60,59,59,58,58,58,58,57,57,57,56,55,55,55,54,53,52,52,52,52,52,
04820     51,51,50,50,49,49,49,49,49,47,46,46,46,46,44,44,43,43,42,42,42,
04821     41,41,41,40,39,39,37,36,36,36,35,35,35,34,34,33,33,33,32,31,31,
04822     31,30,30,29,29,29,29,28,28,28,27,26,26,25,24,23,23,23,23,23,22,
04823     22,22,22,22,20,20,19,19,19,17,15,15,14,12,11,10,9,8,7,7,5,5,5,
04824     4,4,4,3,3,1,1,1,1
04825   };
04826   const int n3c2w1_h[] = {
04827     120, // Capacity
04828     200, // Number of items
04829     // Size of items (sorted)
04830     100,100,100,100,99,99,98,98,97,97,96,96,95,94,94,94,93,93,93,
04831     92,92,90,90,90,89,89,87,87,86,85,85,85,85,85,85,84,84,83,82,82,
04832     82,81,81,80,79,79,77,77,77,77,75,74,74,73,72,72,71,71,71,70,70,
04833     70,69,69,68,67,67,66,66,66,64,63,62,62,62,62,62,62,60,59,59,59,
04834     59,59,58,58,57,57,57,56,56,56,55,55,54,54,53,53,52,52,52,52,51,
04835     51,50,50,50,50,50,49,48,48,48,48,47,47,46,46,44,44,43,43,43,42,
04836     42,41,41,41,40,40,38,38,37,36,36,35,35,33,32,32,31,31,31,30,30,
04837     28,28,28,27,25,25,24,24,24,24,24,21,20,20,19,19,18,18,17,17,17,
04838     17,17,16,16,16,15,14,14,14,14,13,13,12,12,12,11,11,9,9,9,8,6,
04839     6,6,5,4,4,3,3,2,1,1,1,1
04840   };
04841   const int n3c2w1_i[] = {
04842     120, // Capacity
04843     200, // Number of items
04844     // Size of items (sorted)
04845     100,99,99,99,99,98,97,97,97,97,97,97,97,96,96,95,95,95,95,95,
04846     94,93,93,93,92,92,92,91,91,90,90,88,88,88,88,87,86,85,84,84,84,
04847     84,83,83,81,79,79,79,78,78,77,76,76,75,74,74,73,73,73,72,72,72,
04848     71,71,71,70,70,70,69,69,68,68,67,67,66,65,64,64,63,63,60,60,60,
04849     59,58,58,58,58,57,56,56,55,55,54,53,53,52,52,51,51,51,50,50,50,
04850     49,49,48,48,48,47,47,47,45,45,43,43,42,42,41,41,41,40,40,40,39,
04851     38,38,37,37,36,36,35,35,35,35,35,34,33,33,32,32,31,30,29,29,27,
04852     26,25,25,24,24,24,23,23,23,23,21,20,20,20,20,20,19,18,17,17,16,
04853     16,16,14,14,13,13,13,13,13,12,12,11,11,10,10,9,9,8,8,8,8,7,6,
04854     6,6,5,4,4,3,3,2,2,1
04855   };
04856   const int n3c2w1_j[] = {
04857     120, // Capacity
04858     200, // Number of items
04859     // Size of items (sorted)
04860     100,100,100,100,99,99,99,98,98,97,95,95,95,94,93,92,92,92,92,
04861     91,91,88,87,87,86,86,85,84,84,84,83,83,82,82,82,81,81,81,80,80,
04862     79,78,78,77,76,76,76,75,74,74,74,73,72,70,69,68,68,67,67,67,67,
04863     67,67,66,66,66,65,65,65,65,65,65,64,64,64,63,63,63,62,61,60,59,
04864     59,59,58,58,58,57,57,57,56,56,56,56,55,55,54,54,54,53,53,52,52,
04865     51,50,50,50,49,49,49,48,47,47,46,46,45,45,45,44,44,44,43,43,43,
04866     41,41,41,39,38,37,36,36,36,36,36,36,35,35,35,34,33,33,32,31,31,
04867     30,30,29,29,29,29,29,28,28,26,26,26,26,26,25,25,25,24,23,23,21,
04868     20,20,20,20,20,19,19,19,18,18,17,16,15,15,15,13,12,11,10,9,9,
04869     9,8,7,7,7,5,4,3,3,2,2,1,1
04870   };
04871   const int n3c2w1_k[] = {
04872     120, // Capacity
04873     200, // Number of items
04874     // Size of items (sorted)
04875     99,99,99,99,98,98,96,95,95,92,92,92,91,91,91,91,89,89,89,88,88,
04876     87,85,85,84,84,84,83,83,83,83,83,82,81,80,80,79,79,77,77,76,74,
04877     73,73,73,73,73,70,69,68,66,66,66,66,65,65,65,64,63,63,62,62,61,
04878     61,59,59,59,58,58,57,57,56,56,55,55,54,54,54,53,52,52,51,50,50,
04879     50,50,49,49,48,48,48,48,48,47,47,46,46,46,45,45,45,44,44,44,43,
04880     43,43,42,42,42,41,41,40,40,40,39,38,38,36,36,35,35,35,34,33,33,
04881     33,33,33,33,32,32,32,31,30,30,30,28,28,27,27,27,26,25,24,23,23,
04882     22,22,22,21,20,20,18,18,17,17,17,16,15,15,14,14,14,13,13,13,12,
04883     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,
04884     5,4,4,3,2,1
04885   };
04886   const int n3c2w1_l[] = {
04887     120, // Capacity
04888     200, // Number of items
04889     // Size of items (sorted)
04890     100,100,99,99,99,99,99,97,96,96,96,95,95,95,94,94,94,94,93,93,
04891     93,93,93,92,92,92,92,91,91,88,88,88,87,87,86,85,85,85,83,83,82,
04892     82,82,81,81,80,80,79,79,78,78,77,77,77,77,76,74,74,74,73,71,70,
04893     69,68,67,67,67,67,66,66,66,66,66,65,65,65,65,64,64,64,64,64,64,
04894     63,63,62,61,61,60,60,60,59,58,57,56,56,56,56,55,55,55,54,54,54,
04895     53,53,52,52,52,51,50,49,48,48,47,47,45,45,44,44,44,44,43,43,43,
04896     43,42,41,41,40,40,40,40,40,40,40,38,37,37,37,35,35,33,33,33,31,
04897     31,30,30,28,27,25,25,25,24,24,24,23,22,22,20,20,19,19,19,18,18,
04898     18,18,17,16,15,14,14,13,13,12,11,11,11,10,10,10,8,8,7,7,7,6,5,
04899     5,5,5,5,3,2,2,2,1,1
04900   };
04901   const int n3c2w1_m[] = {
04902     120, // Capacity
04903     200, // Number of items
04904     // Size of items (sorted)
04905     100,100,99,99,98,97,97,96,96,95,95,93,92,92,91,88,88,88,87,86,
04906     86,86,85,85,83,83,83,82,82,82,82,81,81,81,81,81,81,80,80,79,78,
04907     78,78,77,77,77,75,75,74,73,73,72,72,72,72,72,72,71,71,71,70,70,
04908     69,69,69,68,67,66,66,65,65,64,64,64,63,63,63,63,62,61,61,61,61,
04909     60,60,60,59,59,58,57,56,55,55,54,54,54,53,53,53,53,53,52,52,52,
04910     50,48,48,46,46,46,46,45,44,44,43,43,43,43,43,42,42,42,42,40,40,
04911     40,39,38,36,36,36,36,36,36,32,32,32,31,31,30,30,28,28,27,27,27,
04912     26,26,25,25,25,24,24,23,22,22,22,21,21,21,20,20,20,20,20,19,19,
04913     19,18,18,18,18,16,16,15,13,13,12,11,11,10,10,9,9,8,8,8,7,7,6,
04914     5,5,4,3,3,2,2,2,2,2
04915   };
04916   const int n3c2w1_n[] = {
04917     120, // Capacity
04918     200, // Number of items
04919     // Size of items (sorted)
04920     100,100,100,98,98,97,97,97,96,96,95,94,94,94,94,93,93,93,92,91,
04921     91,91,91,89,89,89,89,88,88,88,87,86,86,86,85,84,84,84,83,83,82,
04922     81,81,80,80,80,80,79,79,79,79,78,77,77,77,76,76,75,75,75,75,75,
04923     74,74,73,72,72,72,71,71,70,70,69,69,69,68,67,67,66,66,64,64,64,
04924     63,62,62,62,61,60,60,60,60,60,59,58,58,57,56,56,54,54,53,53,52,
04925     52,52,52,51,49,49,49,49,49,47,47,47,46,46,46,45,45,44,44,42,41,
04926     41,41,40,40,39,38,38,37,36,36,36,33,32,31,31,30,30,30,30,29,28,
04927     27,26,26,23,22,21,21,21,21,21,20,20,20,20,19,18,18,18,16,16,15,
04928     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,
04929     3,2,2,2,1,1,1
04930   };
04931   const int n3c2w1_o[] = {
04932     120, // Capacity
04933     200, // Number of items
04934     // Size of items (sorted)
04935     100,100,99,98,98,96,94,93,92,92,92,91,91,90,90,89,89,89,88,88,
04936     87,87,87,86,86,84,84,84,83,81,79,79,79,78,77,77,77,77,77,75,75,
04937     75,74,74,74,73,73,73,73,72,72,71,71,70,70,69,68,68,67,67,66,66,
04938     65,65,64,64,64,63,63,63,63,63,63,62,62,61,61,61,61,60,60,60,60,
04939     59,59,58,58,58,58,58,57,57,57,56,55,55,55,54,54,53,53,53,52,51,
04940     51,50,48,48,47,47,46,46,44,43,42,41,41,41,41,40,40,40,39,39,39,
04941     39,38,37,36,36,36,35,35,35,34,33,32,32,32,31,31,31,30,29,28,28,
04942     27,27,27,27,27,24,23,23,21,20,20,19,19,19,18,18,18,17,17,16,16,
04943     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,
04944     2,2,2,1,1,1,1
04945   };
04946   const int n3c2w1_p[] = {
04947     120, // Capacity
04948     200, // Number of items
04949     // Size of items (sorted)
04950     99,99,97,97,97,97,97,96,96,96,96,96,96,94,94,94,93,92,92,89,89,
04951     89,88,88,87,87,86,85,85,85,84,84,84,83,83,83,83,83,83,82,81,81,
04952     81,80,80,80,79,79,79,78,78,77,76,76,75,74,73,72,71,71,71,71,69,
04953     69,68,68,68,68,67,67,66,66,66,65,65,65,65,65,64,64,64,63,63,60,
04954     60,58,58,58,58,57,57,57,56,56,56,55,54,54,53,53,53,53,52,52,50,
04955     50,49,49,47,46,45,45,45,44,44,43,42,42,41,41,41,41,40,40,40,40,
04956     40,40,39,39,38,38,38,37,37,37,37,36,36,35,34,34,34,34,34,33,33,
04957     32,32,31,31,31,30,30,29,28,27,27,27,26,25,25,24,23,22,22,21,21,
04958     21,21,20,19,19,19,18,17,17,17,16,15,13,13,13,10,10,9,9,9,9,9,
04959     9,8,7,6,6,5,4,3,2,1
04960   };
04961   const int n3c2w1_q[] = {
04962     120, // Capacity
04963     200, // Number of items
04964     // Size of items (sorted)
04965     100,98,97,97,97,96,96,96,96,96,95,94,93,93,93,92,92,92,91,90,
04966     90,90,90,90,89,89,88,88,87,87,86,85,84,84,82,82,81,81,80,79,79,
04967     77,75,75,75,75,73,73,72,72,71,71,71,71,71,70,70,69,69,69,69,68,
04968     68,67,67,66,66,65,65,65,64,62,62,62,60,59,59,59,59,58,58,58,57,
04969     57,56,55,55,55,54,54,53,53,53,53,52,52,51,50,50,48,47,47,46,46,
04970     46,45,44,44,43,43,42,41,41,41,41,40,40,39,39,39,37,37,36,36,36,
04971     35,33,32,32,32,32,32,31,31,31,31,30,30,30,29,29,28,27,26,26,26,
04972     25,25,25,25,24,24,24,22,22,21,20,20,19,18,18,18,17,15,15,15,15,
04973     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,
04974     5,5,5,4,4,4,2,2
04975   };
04976   const int n3c2w1_r[] = {
04977     120, // Capacity
04978     200, // Number of items
04979     // Size of items (sorted)
04980     99,99,99,99,99,98,98,97,96,95,95,93,92,91,91,90,90,90,89,89,89,
04981     86,84,84,84,83,82,82,80,80,79,79,78,78,77,77,77,76,76,76,76,74,
04982     74,74,72,72,71,71,71,71,70,70,70,69,69,69,68,67,66,66,65,65,64,
04983     64,64,64,63,63,62,62,62,61,61,60,60,60,59,59,58,58,58,57,56,56,
04984     55,54,53,53,52,52,52,52,52,51,51,51,50,50,50,49,49,47,47,46,46,
04985     45,44,44,44,44,43,43,42,42,42,42,41,41,41,41,40,40,40,40,40,39,
04986     39,39,39,37,36,35,35,34,34,33,33,33,32,32,32,32,31,30,30,29,29,
04987     28,27,27,26,26,26,26,25,25,25,24,24,24,23,23,23,22,21,21,21,19,
04988     18,18,18,17,17,16,16,15,14,14,14,13,12,11,11,10,9,7,7,7,7,7,7,
04989     6,5,4,4,3,2,2,1,1
04990   };
04991   const int n3c2w1_s[] = {
04992     120, // Capacity
04993     200, // Number of items
04994     // Size of items (sorted)
04995     100,100,100,100,100,99,98,98,97,97,96,95,95,94,94,94,94,94,93,
04996     93,93,93,92,92,92,91,90,89,89,89,89,88,88,88,88,87,87,87,86,86,
04997     85,84,84,84,83,83,82,81,81,80,79,79,78,78,77,77,77,76,76,76,75,
04998     75,74,73,73,73,70,70,69,68,66,66,66,65,65,65,63,63,62,62,62,60,
04999     59,59,59,59,57,57,57,57,57,57,57,55,55,53,53,53,53,53,52,52,52,
05000     51,51,50,49,49,49,48,47,47,46,45,45,45,44,44,44,42,42,42,41,40,
05001     40,40,39,39,39,39,36,36,36,35,34,34,34,33,33,31,31,30,30,30,29,
05002     29,29,27,27,27,26,26,26,25,25,25,25,24,23,23,22,22,21,20,20,20,
05003     20,19,17,17,17,16,16,16,16,15,15,14,13,12,12,12,12,12,12,12,11,
05004     11,11,9,9,9,9,9,8,8,6,6,6,6
05005   };
05006   const int n3c2w1_t[] = {
05007     120, // Capacity
05008     200, // Number of items
05009     // Size of items (sorted)
05010     100,100,100,99,99,98,97,97,96,96,96,95,94,94,92,92,91,91,90,90,
05011     89,89,89,88,88,88,87,87,87,87,85,85,85,84,84,84,84,84,83,82,82,
05012     82,82,80,79,79,79,78,78,78,77,76,76,75,71,71,69,69,69,68,68,68,
05013     68,67,67,66,66,66,66,65,65,65,64,63,63,61,58,58,58,57,57,56,55,
05014     55,55,54,54,54,53,53,52,51,50,50,49,49,49,48,47,46,46,46,45,44,
05015     44,44,44,44,44,44,43,43,43,42,42,42,41,41,40,40,39,39,39,39,38,
05016     38,38,37,35,35,35,33,32,32,31,31,30,30,29,29,28,28,27,27,26,26,
05017     25,25,24,24,23,23,22,22,22,22,22,21,21,20,20,20,19,19,18,16,16,
05018     15,15,14,14,14,13,13,13,12,12,12,12,12,11,11,10,10,10,9,8,8,7,
05019     7,6,6,3,3,2,2,1,1,1,1
05020   };
05021   const int n3c2w2_a[] = {
05022     120, // Capacity
05023     200, // Number of items
05024     // Size of items (sorted)
05025     100,100,99,99,99,99,98,98,98,98,97,97,96,96,96,95,95,95,94,94,
05026     94,94,93,92,92,91,91,90,90,89,88,88,88,87,87,87,86,86,86,85,85,
05027     84,84,83,83,83,82,82,81,81,81,81,80,80,78,78,78,78,78,77,77,76,
05028     76,76,76,75,75,75,75,74,74,74,73,73,72,71,70,70,69,69,68,68,68,
05029     68,67,67,67,67,66,66,66,66,65,65,65,65,65,64,64,63,63,62,61,61,
05030     61,60,59,58,58,58,57,57,57,57,56,55,55,55,55,54,54,54,53,52,51,
05031     51,51,50,50,50,49,49,49,48,48,47,47,47,47,47,46,46,46,45,44,44,
05032     44,43,42,42,42,42,41,41,41,40,40,39,38,38,37,37,35,35,35,34,34,
05033     34,34,33,32,32,32,31,31,31,31,30,30,29,29,28,28,27,27,27,27,26,
05034     26,25,25,25,23,22,22,21,21,20,20,20
05035   };
05036   const int n3c2w2_b[] = {
05037     120, // Capacity
05038     200, // Number of items
05039     // Size of items (sorted)
05040     100,100,100,100,100,99,99,99,98,98,98,97,97,97,97,96,94,94,93,
05041     93,91,91,91,91,91,90,90,90,89,88,88,87,87,87,86,86,85,85,85,84,
05042     84,83,82,82,82,81,81,80,79,79,79,79,79,79,79,78,77,77,77,77,77,
05043     76,75,75,73,73,72,72,72,72,72,70,70,70,69,69,68,68,68,67,67,67,
05044     67,66,66,65,65,65,64,64,64,64,63,63,63,62,62,61,61,61,61,61,61,
05045     60,60,60,59,58,57,57,57,56,56,55,55,54,53,53,53,52,52,51,51,50,
05046     50,49,48,47,47,46,45,45,45,45,44,43,43,43,42,42,42,42,42,40,39,
05047     38,37,37,36,36,36,36,35,34,34,33,33,33,33,32,32,32,32,31,30,30,
05048     30,30,30,29,29,29,29,29,28,28,27,27,27,27,26,26,26,25,25,25,25,
05049     24,24,24,23,22,22,22,22,21,20,20,20,20
05050   };
05051   const int n3c2w2_c[] = {
05052     120, // Capacity
05053     200, // Number of items
05054     // Size of items (sorted)
05055     100,100,100,100,98,98,97,97,97,97,96,95,95,94,94,93,93,93,92,
05056     92,92,92,91,90,90,90,90,89,89,89,89,89,88,88,88,87,87,86,86,86,
05057     85,85,84,84,83,83,83,82,81,81,80,80,79,79,78,78,78,78,78,78,77,
05058     76,76,76,76,75,75,75,75,74,73,73,72,71,69,69,69,68,68,68,68,67,
05059     66,66,66,66,65,65,65,64,64,64,63,63,63,62,62,62,61,61,60,59,58,
05060     58,57,56,55,55,55,54,54,52,51,51,51,50,50,50,49,49,49,49,48,48,
05061     48,48,47,47,47,47,47,46,46,46,46,45,45,44,44,44,43,43,43,42,42,
05062     41,41,41,41,40,40,40,40,40,40,39,39,38,38,38,38,38,37,37,36,36,
05063     36,35,35,34,34,33,33,33,33,33,32,30,29,27,27,27,26,26,25,25,25,
05064     25,25,25,24,22,22,21,21,21,21,21,20,20
05065   };
05066   const int n3c2w2_d[] = {
05067     120, // Capacity
05068     200, // Number of items
05069     // Size of items (sorted)
05070     100,100,100,98,97,96,96,96,96,96,95,95,95,94,94,94,93,93,93,93,
05071     93,92,92,92,92,91,91,91,90,90,89,89,89,88,88,88,87,86,85,85,85,
05072     84,84,84,84,84,83,83,83,83,83,83,82,82,82,81,81,81,80,79,78,78,
05073     78,77,77,76,76,75,75,75,75,75,75,74,74,73,72,72,72,70,70,70,70,
05074     69,68,68,68,68,68,67,66,66,65,65,65,64,64,63,61,61,60,60,60,60,
05075     59,59,59,58,58,57,57,57,56,55,55,55,54,54,53,52,52,52,51,51,51,
05076     51,50,50,50,50,49,49,49,49,47,47,47,47,45,45,45,43,43,42,41,41,
05077     41,41,40,40,40,40,39,39,38,38,38,38,38,37,37,37,37,37,36,36,36,
05078     36,36,35,35,34,34,34,34,33,33,33,33,32,32,31,30,29,29,28,28,27,
05079     26,25,24,24,24,23,23,22,22,21,20,20
05080   };
05081   const int n3c2w2_e[] = {
05082     120, // Capacity
05083     200, // Number of items
05084     // Size of items (sorted)
05085     100,100,100,100,100,99,99,99,99,98,98,98,98,98,97,97,97,97,96,
05086     96,96,96,96,95,95,95,94,94,94,93,92,92,92,92,91,91,91,91,90,90,
05087     90,90,89,89,89,89,88,88,87,87,87,87,87,87,86,86,86,85,85,84,83,
05088     83,82,82,81,81,81,80,80,80,79,79,79,78,78,77,77,76,76,75,75,74,
05089     74,74,74,73,72,69,69,69,67,67,66,66,66,66,65,65,64,64,63,63,62,
05090     62,62,62,62,62,61,60,59,58,58,58,57,57,56,55,55,55,55,54,53,53,
05091     53,53,53,53,53,53,52,52,52,52,51,50,49,49,49,49,49,48,48,47,47,
05092     47,46,46,46,46,45,45,44,44,43,42,41,40,40,40,40,40,40,39,38,38,
05093     38,38,37,37,36,36,34,34,34,32,32,32,31,30,30,29,28,27,26,26,26,
05094     25,25,25,25,25,24,24,23,23,22,21,20,20
05095   };
05096   const int n3c2w2_f[] = {
05097     120, // Capacity
05098     200, // Number of items
05099     // Size of items (sorted)
05100     100,100,100,100,100,99,99,98,98,98,97,97,97,96,96,95,95,95,95,
05101     94,94,94,94,92,92,92,92,92,92,91,91,91,90,90,90,90,90,90,89,88,
05102     87,86,86,86,86,85,84,84,84,84,84,84,84,83,82,82,82,82,82,81,80,
05103     80,80,80,79,78,78,77,77,76,76,76,75,75,75,75,74,74,74,73,73,72,
05104     72,71,70,70,69,68,67,67,67,67,66,64,63,63,63,62,62,61,60,59,59,
05105     59,59,57,57,57,56,54,54,54,54,53,53,53,53,53,51,51,51,51,50,50,
05106     49,48,48,48,48,48,47,47,46,46,45,45,44,44,44,43,43,43,43,42,42,
05107     41,40,39,38,38,38,38,38,38,38,38,37,37,36,35,35,35,35,34,34,33,
05108     32,32,31,31,30,30,30,30,30,30,29,29,29,28,28,28,27,27,27,27,26,
05109     26,26,24,23,23,22,22,22,21,21,21,20,20
05110   };
05111   const int n3c2w2_g[] = {
05112     120, // Capacity
05113     200, // Number of items
05114     // Size of items (sorted)
05115     100,100,100,100,100,99,98,98,98,98,98,97,96,96,95,95,92,92,92,
05116     92,92,92,91,91,91,91,90,90,89,89,89,89,89,88,88,88,87,87,85,84,
05117     84,83,83,83,82,82,82,81,81,81,81,80,79,79,79,79,78,78,77,77,77,
05118     77,76,76,76,76,75,75,75,74,74,74,74,73,73,70,69,69,68,67,66,66,
05119     66,64,64,64,64,63,63,63,63,63,62,62,61,61,61,61,60,60,59,59,57,
05120     57,57,57,57,57,56,55,54,54,53,53,53,53,52,52,52,51,50,50,50,50,
05121     49,48,48,48,47,46,46,46,45,45,45,45,44,44,43,42,41,41,40,40,39,
05122     39,39,39,38,38,38,37,37,37,37,36,36,36,36,35,35,35,35,34,34,33,
05123     33,33,31,31,30,30,30,29,29,29,29,29,27,27,27,26,25,25,24,24,24,
05124     24,23,23,23,22,21,21,21,21,21,21,21,20
05125   };
05126   const int n3c2w2_h[] = {
05127     120, // Capacity
05128     200, // Number of items
05129     // Size of items (sorted)
05130     100,99,98,98,98,97,97,97,97,97,96,96,96,96,96,95,95,95,95,95,
05131     95,94,94,94,93,93,93,93,92,92,92,91,91,91,90,90,89,89,89,88,88,
05132     88,87,86,86,85,85,85,85,84,84,83,83,83,82,82,82,81,81,80,80,80,
05133     80,79,79,79,79,78,78,78,77,77,77,76,76,75,75,75,74,74,74,73,72,
05134     72,72,72,72,71,71,71,71,69,69,69,69,68,68,68,66,66,66,65,65,64,
05135     64,64,63,63,62,61,61,61,61,61,61,60,60,59,59,59,59,58,58,57,56,
05136     56,56,56,55,55,55,54,54,53,52,52,51,51,51,51,51,50,50,49,48,45,
05137     45,44,44,44,43,43,42,42,42,42,41,39,38,38,38,37,37,37,37,36,36,
05138     35,35,34,34,33,33,33,32,32,31,30,30,30,30,29,28,28,28,28,27,27,
05139     26,26,25,25,25,25,24,24,23,22,22,20
05140   };
05141   const int n3c2w2_i[] = {
05142     120, // Capacity
05143     200, // Number of items
05144     // Size of items (sorted)
05145     100,100,99,99,99,98,98,97,97,97,96,96,95,95,95,93,93,92,92,92,
05146     92,91,91,91,90,89,89,89,89,88,88,88,88,87,87,87,87,87,86,86,86,
05147     86,86,85,85,85,84,84,84,84,84,83,83,82,81,80,80,79,78,77,77,76,
05148     76,76,75,74,74,74,73,73,73,72,72,71,70,69,68,66,66,66,66,65,65,
05149     65,65,64,64,63,63,62,61,61,61,60,59,59,59,59,58,58,58,57,57,57,
05150     56,55,55,55,55,55,54,54,54,53,52,52,52,52,52,51,51,50,50,50,50,
05151     49,49,49,49,48,47,47,46,46,45,45,45,44,43,43,42,42,42,41,41,41,
05152     40,39,38,38,37,37,36,36,36,35,34,34,33,33,33,33,32,32,31,31,31,
05153     30,30,29,29,29,29,28,28,28,28,28,27,27,27,26,25,25,25,25,24,24,
05154     24,24,23,23,22,22,21,21,21,21,20,20
05155   };
05156   const int n3c2w2_j[] = {
05157     120, // Capacity
05158     200, // Number of items
05159     // Size of items (sorted)
05160     100,100,100,99,97,97,96,96,96,96,95,94,94,94,94,93,92,91,91,91,
05161     90,90,90,90,90,90,89,89,89,89,88,88,87,87,87,87,86,86,85,84,84,
05162     83,83,83,83,83,82,82,82,82,82,81,81,81,80,80,79,78,78,78,76,76,
05163     76,75,75,75,75,74,74,74,74,73,73,73,72,72,71,71,71,70,69,69,68,
05164     68,68,67,67,66,66,66,65,65,65,64,64,63,63,63,62,62,61,60,60,60,
05165     60,58,58,58,58,58,58,57,57,57,57,57,55,54,54,53,52,52,52,52,52,
05166     52,51,51,51,50,50,49,49,48,47,47,47,46,46,46,46,45,45,44,43,43,
05167     43,43,42,42,42,42,42,41,41,41,40,40,40,39,39,39,38,38,38,38,37,
05168     37,37,36,36,36,36,35,35,34,34,33,31,30,30,29,29,28,28,28,28,25,
05169     25,24,24,22,22,21,21,21,20,20,20,20
05170   };
05171   const int n3c2w2_k[] = {
05172     120, // Capacity
05173     200, // Number of items
05174     // Size of items (sorted)
05175     100,99,99,99,99,98,96,96,96,95,95,95,94,94,94,94,93,93,93,93,
05176     93,92,92,91,91,91,90,90,89,89,89,89,89,88,87,87,87,86,85,85,85,
05177     84,84,84,83,83,82,82,81,81,81,80,80,79,79,79,79,78,77,77,76,76,
05178     75,75,75,74,74,74,73,73,73,72,72,72,72,72,71,71,71,71,71,71,70,
05179     69,69,68,67,67,67,67,67,67,66,66,65,65,64,64,64,64,63,63,63,62,
05180     62,61,61,61,61,60,59,59,58,57,57,57,57,56,56,56,55,54,54,54,54,
05181     53,52,51,51,50,49,49,49,48,47,47,47,47,46,46,46,45,45,45,45,45,
05182     44,43,42,42,42,41,41,41,41,40,40,39,38,38,37,36,36,36,36,35,35,
05183     34,33,33,33,33,32,32,32,31,31,31,31,30,30,28,28,28,28,27,27,26,
05184     26,26,25,23,22,22,21,21,21,21,20,20
05185   };
05186   const int n3c2w2_l[] = {
05187     120, // Capacity
05188     200, // Number of items
05189     // Size of items (sorted)
05190     100,100,99,99,99,98,97,97,97,97,96,96,95,95,95,94,94,94,94,94,
05191     94,93,93,92,92,92,92,92,91,91,90,89,89,88,88,87,87,86,86,85,85,
05192     85,84,84,84,84,81,81,80,80,80,80,79,78,78,77,77,77,77,77,76,76,
05193     75,75,74,73,73,73,72,72,71,71,70,69,69,69,69,69,68,68,68,67,67,
05194     67,66,66,66,66,66,66,65,65,65,64,64,63,63,63,63,62,62,61,61,61,
05195     60,60,59,58,58,57,57,57,56,56,56,55,55,55,55,54,54,53,53,52,51,
05196     51,51,51,51,51,50,49,49,49,48,48,47,47,46,45,45,44,44,44,44,43,
05197     43,43,42,42,40,40,40,40,39,39,38,38,37,37,36,36,36,34,34,34,33,
05198     32,32,31,31,30,30,29,28,28,28,28,28,27,27,27,27,27,26,26,25,25,
05199     25,24,24,23,22,22,21,21,21,20,20,20
05200   };
05201   const int n3c2w2_m[] = {
05202     120, // Capacity
05203     200, // Number of items
05204     // Size of items (sorted)
05205     99,99,99,98,98,98,97,97,97,97,97,96,96,95,95,95,95,95,94,94,94,
05206     93,92,92,92,91,90,90,90,89,89,89,89,89,88,87,87,86,86,85,85,85,
05207     85,84,84,84,84,84,83,83,83,83,82,82,82,81,81,81,80,80,80,78,77,
05208     77,76,76,75,75,74,74,73,72,71,71,70,70,70,70,70,69,68,68,68,68,
05209     67,67,66,66,66,66,66,65,65,64,64,63,62,62,62,61,61,61,61,60,60,
05210     59,59,59,59,58,58,58,57,57,57,57,57,56,56,55,55,54,54,53,53,53,
05211     52,52,52,51,51,50,50,50,50,50,49,49,48,48,47,47,47,47,47,46,45,
05212     45,44,43,43,43,43,42,42,40,39,39,39,39,39,38,38,37,37,37,36,36,
05213     36,35,35,34,33,33,33,33,32,32,32,32,31,31,30,29,27,27,26,24,24,
05214     24,22,22,22,22,22,22,22,21,21,20
05215   };
05216   const int n3c2w2_n[] = {
05217     120, // Capacity
05218     200, // Number of items
05219     // Size of items (sorted)
05220     100,100,100,99,99,98,98,98,97,97,97,97,96,96,96,96,95,95,95,95,
05221     95,94,94,94,94,92,92,92,90,90,90,89,88,88,87,87,87,86,86,84,83,
05222     83,82,81,81,81,81,81,80,80,79,79,78,78,78,77,77,77,77,77,77,76,
05223     76,76,75,75,75,74,74,73,73,73,72,72,72,71,71,71,70,70,69,68,68,
05224     67,67,66,66,65,64,63,63,63,63,63,62,62,62,62,61,61,60,60,59,59,
05225     59,58,58,58,58,57,57,57,57,57,55,55,55,54,54,54,53,53,53,52,52,
05226     50,50,49,48,48,48,47,47,46,46,46,46,44,44,44,43,43,43,42,42,42,
05227     41,41,41,41,41,41,41,40,40,38,38,37,37,37,37,36,36,36,36,36,35,
05228     35,35,34,34,34,33,33,33,32,32,31,30,30,29,29,28,28,28,27,27,27,
05229     26,26,26,26,26,25,25,23,23,22,22,20
05230   };
05231   const int n3c2w2_o[] = {
05232     120, // Capacity
05233     200, // Number of items
05234     // Size of items (sorted)
05235     100,100,99,99,98,98,97,97,96,96,96,96,95,94,93,93,92,91,90,89,
05236     89,88,88,88,88,88,88,88,87,87,87,87,87,87,87,87,86,86,85,85,85,
05237     84,83,83,82,82,82,81,81,81,80,80,79,78,78,78,77,77,76,76,76,76,
05238     75,75,74,74,74,74,74,74,72,72,72,72,71,71,70,70,70,70,70,69,68,
05239     67,67,67,67,66,66,66,66,66,65,65,64,64,63,62,61,61,61,61,60,60,
05240     60,60,58,58,57,57,57,57,56,56,55,55,55,55,54,54,53,53,53,52,52,
05241     52,52,52,51,51,51,51,49,49,49,49,48,47,47,47,46,45,44,44,44,44,
05242     44,43,42,42,42,41,41,40,40,39,39,39,39,38,38,36,36,36,36,35,35,
05243     35,34,34,34,34,34,34,33,33,33,33,31,30,29,29,28,26,25,25,25,24,
05244     24,24,24,23,22,22,21,21,21,20,20,20
05245   };
05246   const int n3c2w2_p[] = {
05247     120, // Capacity
05248     200, // Number of items
05249     // Size of items (sorted)
05250     100,100,100,100,99,99,97,97,97,97,97,97,96,96,95,95,94,94,93,
05251     93,92,91,90,90,90,90,90,89,89,89,89,89,89,88,88,87,87,86,86,85,
05252     85,85,84,84,84,84,84,83,83,83,82,81,81,81,81,81,80,79,79,78,78,
05253     78,77,76,76,75,75,75,74,74,74,74,73,73,71,71,70,70,70,70,70,68,
05254     67,67,67,67,65,65,65,65,65,64,64,63,62,62,62,62,61,60,59,59,59,
05255     58,58,58,57,56,56,55,55,54,54,53,53,53,53,52,52,52,52,51,51,51,
05256     51,51,51,51,51,50,50,50,50,49,49,49,48,48,48,47,47,46,46,46,46,
05257     45,45,44,44,43,43,43,42,42,39,39,39,39,38,38,37,37,37,37,36,35,
05258     34,33,33,33,33,33,32,32,32,32,31,31,30,30,30,29,29,29,27,27,27,
05259     26,25,25,23,23,22,22,22,21,20,20,20,20
05260   };
05261   const int n3c2w2_q[] = {
05262     120, // Capacity
05263     200, // Number of items
05264     // Size of items (sorted)
05265     100,100,100,99,99,99,99,98,96,96,96,95,94,94,94,93,93,93,92,92,
05266     92,91,91,90,88,88,88,88,88,87,86,85,85,85,84,84,84,83,83,83,82,
05267     82,82,82,81,81,81,81,81,79,79,78,77,77,76,76,76,75,75,74,73,73,
05268     72,72,71,70,70,70,70,69,69,69,69,68,68,67,67,66,66,65,65,65,65,
05269     64,64,64,64,64,64,63,63,63,63,63,63,63,62,62,62,62,61,60,59,59,
05270     59,59,59,59,59,58,58,58,58,57,57,57,56,55,55,55,54,53,53,53,53,
05271     53,52,52,51,51,50,50,50,50,49,49,49,48,48,47,47,47,45,44,44,44,
05272     42,41,41,41,41,41,40,40,40,40,39,38,38,38,37,37,37,37,37,36,36,
05273     36,35,34,32,32,32,31,31,31,30,30,29,29,29,29,28,26,26,26,25,24,
05274     24,24,23,23,22,21,20,20,20,20,20,20
05275   };
05276   const int n3c2w2_r[] = {
05277     120, // Capacity
05278     200, // Number of items
05279     // Size of items (sorted)
05280     100,99,99,99,98,98,98,97,97,97,97,97,96,96,96,95,95,95,93,93,
05281     92,92,91,91,91,91,90,90,89,89,89,88,88,87,87,87,87,86,86,86,85,
05282     85,85,85,84,84,84,84,84,83,83,83,82,82,82,81,81,81,81,80,80,80,
05283     79,79,79,78,78,77,76,76,74,74,74,74,73,73,72,72,72,72,72,72,71,
05284     71,71,70,69,68,68,68,67,66,66,66,65,65,65,64,63,62,62,62,61,61,
05285     61,61,59,58,58,58,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,
05286     54,53,53,50,48,48,46,46,46,46,46,45,45,45,45,45,45,43,43,43,42,
05287     42,42,42,41,41,39,38,38,38,37,37,37,36,36,35,35,35,35,34,34,33,
05288     33,32,32,32,32,31,30,30,30,29,29,29,29,27,25,25,25,25,25,25,25,
05289     24,24,23,23,22,22,22,21,21,21,20,20
05290   };
05291   const int n3c2w2_s[] = {
05292     120, // Capacity
05293     200, // Number of items
05294     // Size of items (sorted)
05295     100,100,100,100,98,98,97,97,97,96,96,96,96,95,95,95,94,94,94,
05296     94,93,93,93,93,92,92,92,91,91,91,91,91,91,90,90,89,89,86,86,86,
05297     85,85,85,85,84,83,82,82,82,81,80,80,79,79,79,78,78,78,78,77,77,
05298     77,77,75,75,75,74,74,74,74,74,74,73,73,73,72,72,72,71,71,71,70,
05299     68,68,68,67,67,67,67,67,66,66,66,66,65,64,64,64,63,63,62,62,62,
05300     62,61,61,60,59,58,57,57,56,56,55,55,55,54,53,53,53,53,52,52,52,
05301     51,50,50,49,48,47,47,47,47,46,46,45,45,45,45,45,44,44,44,42,41,
05302     40,40,40,39,39,39,38,38,38,36,36,36,36,36,36,35,35,35,35,34,34,
05303     34,34,33,33,33,32,32,31,31,30,30,30,29,28,28,27,27,27,26,25,24,
05304     24,23,23,23,23,22,22,22,22,21,21,21,20
05305   };
05306   const int n3c2w2_t[] = {
05307     120, // Capacity
05308     200, // Number of items
05309     // Size of items (sorted)
05310     100,100,99,98,97,97,97,97,96,96,96,95,95,95,94,94,94,94,93,93,
05311     92,92,92,91,91,91,91,91,90,89,88,87,87,86,85,85,84,84,83,83,83,
05312     82,82,81,81,80,80,80,80,80,80,79,79,79,79,79,79,78,77,77,76,76,
05313     76,76,75,75,74,74,73,71,71,71,70,70,69,69,69,69,68,68,68,68,67,
05314     67,67,67,67,67,67,67,66,65,64,63,63,63,62,61,61,61,61,61,61,60,
05315     60,60,59,59,58,58,57,57,56,56,55,55,55,55,55,55,54,54,53,53,52,
05316     51,51,50,49,49,48,48,47,46,46,46,46,45,45,44,43,43,43,43,43,42,
05317     42,41,41,41,40,40,39,39,39,38,38,38,37,37,37,37,37,36,35,35,35,
05318     35,35,34,34,33,33,32,32,31,31,31,31,31,31,31,31,30,30,30,29,28,
05319     28,25,25,25,24,24,24,22,22,22,21,20
05320   };
05321   const int n3c2w4_a[] = {
05322     120, // Capacity
05323     200, // Number of items
05324     // Size of items (sorted)
05325     100,100,100,100,100,99,99,98,98,97,97,97,96,96,96,95,94,94,93,
05326     93,92,92,92,91,91,91,90,90,89,89,88,88,87,87,86,86,85,85,85,83,
05327     83,83,83,82,82,81,80,80,80,80,79,79,79,78,78,78,77,77,77,77,77,
05328     77,76,76,75,74,74,74,73,73,73,72,72,72,71,71,70,70,70,70,69,69,
05329     69,69,69,68,68,68,67,67,67,66,66,66,66,65,64,64,64,64,64,64,64,
05330     63,63,61,61,61,61,60,60,59,59,58,58,58,57,57,57,57,57,56,56,56,
05331     55,55,55,55,54,54,53,53,53,53,53,52,51,51,51,50,50,49,49,49,48,
05332     48,48,47,47,47,46,46,45,44,44,44,44,43,43,43,42,41,40,40,39,38,
05333     38,38,38,38,38,38,38,37,37,37,36,36,36,36,35,35,35,34,33,33,33,
05334     32,32,32,32,31,31,31,30,30,30,30,30,30
05335   };
05336   const int n3c2w4_b[] = {
05337     120, // Capacity
05338     200, // Number of items
05339     // Size of items (sorted)
05340     100,100,100,100,98,98,98,98,98,98,97,97,97,97,96,96,95,95,95,
05341     94,94,93,93,92,92,90,90,90,90,89,89,89,87,87,87,87,86,85,84,84,
05342     84,84,83,83,83,82,82,82,81,81,81,81,81,80,79,79,78,78,78,77,77,
05343     77,77,77,76,76,75,75,73,72,72,72,72,71,70,70,69,69,69,68,68,68,
05344     68,66,66,65,64,64,64,64,63,63,63,63,62,62,62,62,61,61,61,60,60,
05345     59,59,59,59,59,58,58,58,57,57,57,57,56,56,56,55,55,55,54,54,54,
05346     54,53,53,53,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,48,48,
05347     48,48,48,48,48,46,46,46,45,45,44,43,42,42,42,42,41,40,39,39,39,
05348     39,39,39,38,38,37,37,37,36,36,35,35,35,35,34,34,34,34,34,33,33,
05349     33,33,33,32,32,32,31,31,31,31,30,30,30
05350   };
05351   const int n3c2w4_c[] = {
05352     120, // Capacity
05353     200, // Number of items
05354     // Size of items (sorted)
05355     100,100,100,100,99,98,98,97,97,97,97,97,97,97,97,96,96,96,96,
05356     96,95,95,95,95,93,92,90,90,90,90,90,90,90,89,89,89,89,89,89,88,
05357     88,88,88,88,88,87,87,86,86,84,83,83,82,82,82,82,81,81,81,81,80,
05358     80,80,79,79,79,79,78,78,78,78,78,78,77,77,77,77,77,77,76,76,75,
05359     74,73,73,73,73,73,73,73,73,72,72,72,72,71,71,71,70,70,69,69,69,
05360     69,68,68,68,68,68,68,67,67,66,66,66,66,66,65,65,65,65,64,63,63,
05361     62,61,60,60,60,59,59,58,58,58,57,57,56,56,55,55,55,55,55,55,54,
05362     54,54,54,53,53,53,53,53,52,52,52,51,51,50,50,50,49,49,48,48,47,
05363     47,47,46,46,45,45,45,44,44,44,41,40,40,40,40,39,38,37,37,37,36,
05364     36,36,36,35,35,34,34,33,32,32,31,31,30
05365   };
05366   const int n3c2w4_d[] = {
05367     120, // Capacity
05368     200, // Number of items
05369     // Size of items (sorted)
05370     100,100,99,99,98,98,98,98,98,98,97,97,97,96,96,96,96,95,95,95,
05371     94,94,93,92,92,92,92,91,90,90,89,89,89,89,89,88,88,88,87,87,86,
05372     85,85,85,84,83,82,81,81,81,81,81,80,79,78,78,77,77,77,75,75,75,
05373     74,74,74,74,74,73,73,73,73,72,72,72,72,72,71,71,70,70,70,69,69,
05374     68,68,68,67,67,67,67,66,66,66,66,66,66,65,65,63,63,63,63,62,62,
05375     62,61,60,60,60,60,60,60,59,59,59,58,58,57,57,56,56,56,56,56,55,
05376     55,55,54,54,54,53,53,53,52,52,52,51,51,50,50,50,50,49,49,49,48,
05377     48,48,46,46,46,46,46,45,45,45,45,44,44,44,43,42,42,42,41,40,40,
05378     40,39,39,39,39,39,38,38,37,37,37,37,36,36,36,35,35,35,34,34,34,
05379     34,33,33,32,32,31,31,31,30,30,30,30
05380   };
05381   const int n3c2w4_e[] = {
05382     120, // Capacity
05383     200, // Number of items
05384     // Size of items (sorted)
05385     100,99,99,99,98,98,98,98,97,97,96,95,95,94,94,94,94,93,93,93,
05386     93,90,90,90,89,89,89,88,87,87,86,86,86,86,85,84,83,83,83,82,81,
05387     81,81,80,80,80,80,79,79,79,78,78,77,77,77,77,77,77,76,76,76,76,
05388     75,75,75,75,73,73,73,72,72,72,71,69,69,68,68,68,67,67,67,66,66,
05389     66,66,66,66,66,66,65,65,64,63,63,62,62,62,62,61,61,61,60,60,60,
05390     60,59,59,59,58,58,58,58,57,57,57,57,57,56,56,56,55,54,54,54,53,
05391     53,52,51,51,50,50,50,50,49,49,49,49,49,49,48,48,48,48,48,47,47,
05392     47,46,45,44,44,44,44,44,44,43,43,43,43,42,42,42,42,42,41,40,39,
05393     38,38,37,37,37,37,37,37,37,37,36,36,36,36,36,35,35,35,35,34,34,
05394     34,33,33,33,33,33,32,32,32,31,30,30
05395   };
05396   const int n3c2w4_f[] = {
05397     120, // Capacity
05398     200, // Number of items
05399     // Size of items (sorted)
05400     100,100,100,99,99,99,99,98,98,97,97,97,96,96,95,95,95,95,94,94,
05401     94,93,92,90,90,90,90,89,88,88,88,87,87,86,86,86,85,85,85,84,84,
05402     83,83,82,82,81,81,81,80,80,79,79,79,78,78,78,78,77,77,77,76,76,
05403     76,76,75,75,75,74,73,73,72,72,72,72,71,71,71,71,71,71,71,70,70,
05404     69,68,68,68,67,67,67,67,66,66,66,66,66,65,64,64,64,64,64,64,63,
05405     63,63,62,62,61,61,61,61,60,60,60,60,60,59,58,58,58,57,57,57,57,
05406     56,55,54,54,54,54,54,53,52,52,51,51,51,50,50,50,50,49,48,48,47,
05407     47,46,46,45,45,44,43,43,42,42,41,41,41,41,41,41,40,40,40,40,40,
05408     40,39,39,39,39,38,38,37,37,37,36,36,36,36,36,36,35,35,35,35,33,
05409     33,33,33,33,32,32,31,31,31,30,30,30
05410   };
05411   const int n3c2w4_g[] = {
05412     120, // Capacity
05413     200, // Number of items
05414     // Size of items (sorted)
05415     100,100,100,99,99,99,99,99,99,98,98,98,98,97,97,96,96,96,95,95,
05416     95,94,94,94,94,94,93,93,92,91,91,91,91,91,91,90,90,89,88,88,88,
05417     87,87,87,86,86,85,85,85,84,84,83,83,83,83,83,82,82,82,82,82,81,
05418     81,81,81,80,80,80,80,79,78,78,77,77,77,76,76,76,76,76,76,75,75,
05419     74,74,73,73,73,73,72,72,70,70,69,69,68,68,68,68,68,68,68,67,67,
05420     67,67,67,66,66,65,65,64,63,63,63,62,61,61,61,61,60,60,60,60,59,
05421     58,58,58,58,57,56,56,53,53,53,53,53,53,52,52,52,52,51,51,50,50,
05422     49,49,49,48,48,48,48,48,47,46,45,45,44,44,43,43,43,43,42,42,42,
05423     42,41,41,41,41,40,40,39,39,38,37,37,36,36,36,36,36,35,35,35,35,
05424     35,35,34,33,33,33,32,32,32,31,30,30
05425   };
05426   const int n3c2w4_h[] = {
05427     120, // Capacity
05428     200, // Number of items
05429     // Size of items (sorted)
05430     100,100,100,99,99,98,98,98,97,97,97,97,95,95,94,94,94,94,93,93,
05431     93,93,92,92,92,91,91,91,90,89,88,88,88,87,86,85,85,85,85,85,84,
05432     83,83,82,82,81,81,80,79,78,78,78,78,77,77,76,76,76,75,75,75,74,
05433     74,74,73,73,73,73,72,72,70,70,70,70,69,69,69,69,69,68,68,68,68,
05434     67,67,67,67,67,67,66,66,66,66,66,66,65,65,65,64,63,63,63,62,62,
05435     61,61,60,60,60,60,59,59,59,58,57,57,57,56,56,55,55,54,53,53,53,
05436     53,53,52,52,52,51,51,51,51,50,50,50,49,49,49,49,48,48,48,48,47,
05437     47,46,46,46,45,45,44,44,44,44,43,43,43,43,43,42,42,42,41,41,40,
05438     40,40,39,39,39,39,39,39,39,38,38,37,36,36,36,36,35,35,35,34,33,
05439     33,33,33,33,32,32,32,32,32,32,30,30
05440   };
05441   const int n3c2w4_i[] = {
05442     120, // Capacity
05443     200, // Number of items
05444     // Size of items (sorted)
05445     99,98,98,98,98,98,96,96,95,95,95,94,93,92,92,92,91,91,91,90,89,
05446     89,89,88,88,88,88,88,87,86,85,85,84,84,83,83,83,82,82,81,81,81,
05447     80,80,80,80,79,79,78,78,78,78,77,77,77,77,77,76,76,75,75,75,74,
05448     74,74,74,74,73,72,72,71,71,71,71,70,69,69,69,69,68,68,68,67,67,
05449     67,67,67,67,66,66,66,66,65,65,65,65,64,64,64,63,63,63,63,63,63,
05450     62,62,61,61,61,61,61,61,60,60,60,60,59,59,58,58,58,58,57,56,55,
05451     55,54,54,53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,50,50,50,
05452     50,50,50,49,49,49,48,48,48,48,47,47,47,46,46,45,45,44,44,43,43,
05453     43,43,43,42,42,41,41,40,39,39,38,38,37,37,37,36,36,35,35,35,34,
05454     34,33,33,33,32,32,31,31,30,30,30
05455   };
05456   const int n3c2w4_j[] = {
05457     120, // Capacity
05458     200, // Number of items
05459     // Size of items (sorted)
05460     100,100,99,99,98,97,97,96,96,96,95,95,94,94,93,93,91,91,91,91,
05461     90,90,90,90,88,88,88,88,87,87,86,86,86,86,86,85,85,85,85,84,84,
05462     83,83,83,82,82,82,82,82,82,82,81,81,80,80,80,80,79,79,78,78,77,
05463     77,76,76,75,75,75,74,73,73,73,73,72,72,72,72,71,71,70,70,70,69,
05464     69,69,69,69,68,68,68,67,67,67,66,66,65,65,65,65,65,65,65,65,65,
05465     64,64,64,64,64,64,64,63,63,62,62,62,62,60,60,60,59,59,58,58,58,
05466     58,58,57,56,56,56,56,56,55,55,54,54,53,53,53,53,52,52,52,52,52,
05467     52,52,51,51,51,50,50,49,49,49,47,46,46,46,46,45,45,44,44,44,44,
05468     44,44,43,43,42,41,41,41,38,38,38,37,35,35,35,35,34,33,33,33,33,
05469     33,33,33,32,32,31,31,31,30,30,30,30
05470   };
05471   const int n3c2w4_k[] = {
05472     120, // Capacity
05473     200, // Number of items
05474     // Size of items (sorted)
05475     100,100,100,100,99,99,99,98,98,98,98,98,97,97,97,96,96,95,94,
05476     94,94,94,94,93,93,92,91,91,90,90,90,90,89,89,88,88,88,88,88,87,
05477     87,87,86,85,85,85,85,85,85,85,83,83,82,82,82,82,81,81,81,80,80,
05478     80,79,78,77,77,77,76,76,76,75,75,74,74,74,74,73,73,73,72,72,71,
05479     71,71,71,69,69,69,68,68,67,67,66,66,66,65,65,64,64,64,64,64,64,
05480     64,63,62,62,61,61,61,61,60,60,60,60,60,60,59,58,58,57,57,57,57,
05481     56,56,55,55,54,54,53,53,53,53,53,52,52,52,52,52,52,50,49,48,48,
05482     48,48,48,47,47,47,47,47,47,47,47,46,46,45,44,44,44,44,42,42,42,
05483     42,42,41,41,41,40,40,39,38,38,37,37,37,37,37,37,36,35,35,35,35,
05484     35,34,34,33,33,32,32,31,31,31,30,30,30
05485   };
05486   const int n3c2w4_l[] = {
05487     120, // Capacity
05488     200, // Number of items
05489     // Size of items (sorted)
05490     100,99,99,99,99,99,98,97,97,97,97,95,95,95,94,94,94,93,93,93,
05491     92,92,92,92,91,91,91,91,90,90,90,89,89,88,88,88,88,87,87,87,87,
05492     86,85,85,85,84,84,84,83,83,83,82,82,81,81,80,80,80,80,80,79,79,
05493     78,78,78,78,78,77,77,77,77,77,76,76,76,76,75,75,74,74,74,73,73,
05494     72,72,71,71,71,70,70,70,69,68,68,68,68,67,66,66,65,65,65,65,65,
05495     64,63,62,62,61,61,61,61,61,60,60,60,58,58,58,58,57,56,56,56,56,
05496     56,56,55,55,55,55,55,54,53,52,52,52,51,51,51,51,49,49,47,47,46,
05497     45,45,45,45,45,45,44,44,44,44,43,42,41,41,41,40,40,39,39,39,39,
05498     38,38,38,37,37,36,36,36,36,36,36,36,35,35,35,35,34,34,34,34,34,
05499     33,33,33,33,33,32,32,32,31,31,30,30
05500   };
05501   const int n3c2w4_m[] = {
05502     120, // Capacity
05503     200, // Number of items
05504     // Size of items (sorted)
05505     100,100,100,99,99,99,99,99,99,99,98,98,98,98,97,97,97,97,97,96,
05506     96,96,95,95,95,95,95,95,94,93,92,92,92,92,92,91,91,90,90,90,89,
05507     88,88,86,86,86,85,85,85,84,83,82,82,82,82,81,81,81,80,80,80,80,
05508     80,79,79,79,79,78,78,78,78,77,76,76,75,74,73,73,73,72,72,72,71,
05509     71,70,70,69,69,69,68,68,68,68,68,67,67,67,66,66,65,64,64,64,64,
05510     64,63,63,63,63,62,62,62,62,62,62,61,61,61,61,60,59,59,58,58,57,
05511     57,55,54,54,53,53,53,53,53,53,53,53,53,53,52,52,51,51,50,50,50,
05512     49,48,46,46,45,45,45,45,44,43,42,41,41,41,40,40,40,40,39,39,38,
05513     38,38,38,38,37,37,37,36,36,35,35,35,35,35,34,34,34,34,33,33,33,
05514     32,32,32,32,32,32,32,31,30,30,30,30
05515   };
05516   const int n3c2w4_n[] = {
05517     120, // Capacity
05518     200, // Number of items
05519     // Size of items (sorted)
05520     100,100,100,100,100,100,99,99,99,99,98,98,98,98,97,97,97,96,96,
05521     95,95,95,94,93,93,92,92,92,91,90,90,89,88,88,88,88,88,88,87,87,
05522     87,87,86,85,85,85,85,85,84,84,82,82,82,81,81,81,80,80,80,80,80,
05523     80,80,78,78,78,78,78,77,77,77,75,75,75,74,74,73,72,71,71,71,70,
05524     70,70,70,69,69,69,69,68,68,67,67,65,65,65,64,64,64,64,64,63,63,
05525     63,62,62,61,61,60,60,59,59,59,58,58,57,57,56,56,56,56,56,55,55,
05526     55,55,54,54,54,53,53,53,53,52,52,51,51,51,50,50,50,50,49,49,49,
05527     48,47,47,47,46,46,46,46,45,45,45,44,44,44,44,44,44,44,43,43,41,
05528     41,40,40,39,39,39,38,38,37,37,36,36,36,36,36,36,35,35,34,33,33,
05529     33,32,32,32,32,32,32,31,31,30,30,30,30
05530   };
05531   const int n3c2w4_o[] = {
05532     120, // Capacity
05533     200, // Number of items
05534     // Size of items (sorted)
05535     100,100,100,100,100,99,99,99,97,97,97,96,96,96,95,95,95,94,93,
05536     93,93,93,93,93,92,92,92,90,90,90,90,90,90,89,89,89,88,88,88,88,
05537     87,87,86,86,85,84,83,83,83,82,82,82,82,81,81,80,80,80,80,79,79,
05538     78,78,78,77,77,77,77,77,76,75,75,74,74,73,72,71,70,69,69,68,67,
05539     67,67,67,67,66,66,66,65,65,65,65,64,64,64,63,63,61,61,61,61,60,
05540     60,59,59,59,59,58,57,57,57,57,56,56,55,55,55,55,54,54,54,54,53,
05541     53,53,52,52,52,51,51,51,51,51,50,50,50,50,50,49,49,49,48,48,47,
05542     47,47,47,47,45,45,44,44,44,43,43,42,42,42,41,41,41,41,40,40,40,
05543     39,39,39,38,38,37,37,37,36,36,36,36,35,34,34,34,34,34,33,33,33,
05544     33,32,32,31,31,31,31,31,31,30,30,30,30
05545   };
05546   const int n3c2w4_p[] = {
05547     120, // Capacity
05548     200, // Number of items
05549     // Size of items (sorted)
05550     100,100,100,99,99,99,99,99,99,98,98,98,97,97,96,96,94,94,93,93,
05551     93,93,92,92,91,91,91,90,90,90,90,90,89,89,89,89,89,88,88,88,87,
05552     87,87,86,86,86,86,85,84,84,83,83,83,83,83,82,82,82,82,81,81,81,
05553     81,81,80,80,79,79,79,79,79,78,78,78,78,78,77,77,76,76,75,75,75,
05554     74,74,74,74,72,72,72,71,71,71,70,70,70,70,69,68,67,67,67,67,67,
05555     66,66,66,66,65,65,64,63,63,62,61,60,60,60,60,59,59,59,59,58,58,
05556     58,58,57,56,56,56,55,55,55,54,54,53,53,52,52,52,52,52,51,51,51,
05557     51,50,49,49,49,48,47,46,46,46,45,44,44,43,42,42,41,40,40,40,40,
05558     40,39,39,39,39,38,38,38,38,37,37,37,37,37,37,36,36,35,35,35,35,
05559     34,33,33,33,32,31,31,30,30,30,30,30
05560   };
05561   const int n3c2w4_q[] = {
05562     120, // Capacity
05563     200, // Number of items
05564     // Size of items (sorted)
05565     100,100,100,100,98,98,98,98,98,97,97,97,97,97,97,97,96,96,96,
05566     96,95,94,93,93,93,93,92,92,92,92,91,90,90,89,89,89,88,87,86,86,
05567     86,86,85,85,85,84,84,84,83,83,82,82,81,81,81,80,80,80,79,79,79,
05568     79,78,78,78,78,77,77,77,77,76,76,76,75,75,75,74,74,74,74,73,72,
05569     72,72,72,72,72,71,70,70,70,69,69,69,68,68,68,67,66,66,65,65,65,
05570     64,64,64,64,64,63,63,63,63,62,62,61,60,60,59,59,59,58,58,57,57,
05571     57,56,56,55,55,55,55,55,54,54,54,54,53,53,53,52,51,51,51,50,50,
05572     50,49,48,48,48,47,47,47,47,46,46,46,46,45,44,44,44,43,43,43,42,
05573     42,42,41,41,41,40,40,40,39,39,39,39,38,38,38,37,36,36,36,36,35,
05574     35,34,34,33,32,32,32,32,32,32,31,31,30
05575   };
05576   const int n3c2w4_r[] = {
05577     120, // Capacity
05578     200, // Number of items
05579     // Size of items (sorted)
05580     100,100,100,100,99,99,99,99,98,98,98,98,97,97,96,96,96,95,95,
05581     94,94,94,93,93,93,93,92,92,91,91,91,90,90,89,89,88,88,88,88,88,
05582     87,87,87,87,86,86,85,85,84,84,84,84,83,82,82,81,81,81,81,81,80,
05583     80,79,79,79,78,78,78,78,78,78,77,77,77,77,77,76,75,75,74,74,73,
05584     73,72,72,72,72,71,71,70,70,70,70,70,69,68,68,68,68,68,68,67,67,
05585     66,66,65,65,65,65,65,65,64,64,63,62,62,61,60,60,60,60,59,59,58,
05586     58,58,57,56,56,56,55,55,55,54,54,54,54,54,54,53,53,53,53,53,53,
05587     52,52,52,51,50,50,49,49,49,48,48,47,47,47,46,46,46,46,45,45,44,
05588     44,43,43,43,42,42,42,42,42,42,41,40,39,38,38,38,38,38,38,37,37,
05589     37,36,36,35,34,34,33,32,32,32,31,30,30
05590   };
05591   const int n3c2w4_s[] = {
05592     120, // Capacity
05593     200, // Number of items
05594     // Size of items (sorted)
05595     100,99,99,99,98,98,97,96,96,96,96,95,95,95,94,94,94,93,93,93,
05596     93,93,93,93,93,92,92,92,91,91,90,90,89,89,89,88,88,88,88,88,87,
05597     87,86,86,86,86,86,86,86,85,84,84,83,83,83,81,81,81,81,80,80,79,
05598     79,79,79,78,78,78,78,77,77,77,77,76,76,76,75,75,74,74,73,73,72,
05599     72,71,71,70,70,70,70,69,69,69,68,68,68,68,68,67,67,67,66,66,66,
05600     66,65,65,65,64,63,63,62,61,61,59,58,58,57,57,57,56,56,56,55,55,
05601     55,54,52,51,51,50,50,50,50,50,50,49,49,49,49,49,49,48,48,48,47,
05602     47,47,46,46,46,46,46,45,45,44,43,43,43,42,42,42,41,41,41,41,40,
05603     40,40,40,40,39,39,38,37,37,37,37,37,37,36,36,36,36,36,35,35,35,
05604     34,34,33,32,32,32,31,31,30,30,30,30
05605   };
05606   const int n3c2w4_t[] = {
05607     120, // Capacity
05608     200, // Number of items
05609     // Size of items (sorted)
05610     100,100,99,99,99,98,98,98,97,97,97,96,96,96,96,96,95,95,95,95,
05611     94,94,94,92,92,92,91,91,91,91,90,90,90,90,90,89,89,88,88,87,87,
05612     87,87,86,86,86,86,86,85,85,85,84,83,82,82,81,81,81,81,81,81,81,
05613     80,80,80,80,78,78,78,78,78,77,77,77,76,75,75,75,75,73,73,73,72,
05614     71,71,71,71,70,70,69,69,69,68,67,67,67,66,66,66,65,65,65,64,63,
05615     63,63,62,62,62,62,61,61,61,61,61,60,60,60,59,59,59,59,58,58,57,
05616     56,56,56,56,56,55,55,54,54,53,53,53,52,52,52,51,51,50,50,50,49,
05617     49,48,48,48,48,46,46,46,46,45,45,44,44,44,43,43,43,43,43,43,42,
05618     41,41,41,41,40,39,39,38,37,36,36,36,36,35,35,35,34,34,34,34,33,
05619     33,32,32,32,32,31,31,30,30,30,30,30
05620   };
05621   const int n3c3w1_a[] = {
05622     150, // Capacity
05623     200, // Number of items
05624     // Size of items (sorted)
05625     100,100,100,99,99,99,98,98,98,97,96,96,96,95,95,95,94,93,92,91,
05626     91,91,90,90,90,89,87,87,86,86,86,84,84,83,83,82,82,82,80,80,80,
05627     79,78,77,77,77,77,77,75,74,73,73,73,73,72,71,71,71,70,69,68,68,
05628     68,68,67,65,65,65,65,65,65,64,63,63,62,62,62,61,60,59,58,58,57,
05629     57,54,54,53,53,52,52,52,52,51,51,50,50,49,49,49,48,48,47,46,45,
05630     44,44,44,43,42,42,41,40,39,39,39,39,39,38,37,37,37,37,37,37,37,
05631     37,36,36,35,35,35,35,34,34,33,33,32,32,31,31,29,29,29,28,27,26,
05632     26,25,25,24,23,21,21,21,20,20,18,18,17,17,17,16,16,16,16,15,15,
05633     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,
05634     3,3,2,2,2,1,1
05635   };
05636   const int n3c3w1_b[] = {
05637     150, // Capacity
05638     200, // Number of items
05639     // Size of items (sorted)
05640     100,99,99,98,98,98,98,98,98,98,96,95,91,91,90,90,90,90,90,89,
05641     88,88,87,87,87,85,85,85,84,84,83,83,82,81,81,81,81,80,80,80,80,
05642     80,79,79,79,79,78,77,77,76,75,74,74,73,73,73,73,73,72,71,71,71,
05643     70,70,70,69,69,69,69,69,68,68,68,67,67,66,65,65,64,64,64,63,63,
05644     63,62,61,61,61,61,61,59,59,59,58,58,58,58,57,56,56,56,55,55,55,
05645     55,54,54,53,53,52,52,51,51,50,50,50,50,49,49,48,48,48,46,46,46,
05646     46,43,42,42,42,40,39,39,39,39,39,38,36,36,36,35,35,34,34,33,32,
05647     31,31,29,27,26,26,26,25,25,24,24,24,23,22,22,21,21,20,20,19,19,
05648     18,18,17,17,17,17,17,15,15,14,14,14,13,13,12,12,12,12,12,10,10,
05649     10,10,10,10,10,9,8,5,4,4,4,1
05650   };
05651   const int n3c3w1_c[] = {
05652     150, // Capacity
05653     200, // Number of items
05654     // Size of items (sorted)
05655     100,100,100,100,99,99,98,98,97,96,96,95,95,94,94,94,93,91,90,
05656     90,89,89,89,89,88,88,88,88,88,88,87,85,85,84,84,84,83,83,82,82,
05657     81,80,80,78,78,78,78,78,78,78,77,77,77,76,76,76,75,75,74,74,74,
05658     74,74,73,73,72,70,67,67,67,66,66,66,66,66,65,65,65,63,63,63,62,
05659     62,61,61,61,61,61,60,60,59,58,57,56,54,54,54,53,52,52,51,50,50,
05660     49,48,48,48,47,47,47,47,46,46,46,45,45,45,42,42,39,39,39,38,38,
05661     37,37,37,36,36,35,34,34,34,33,33,31,31,31,31,31,29,28,28,27,27,
05662     26,26,26,26,26,26,25,25,25,24,23,22,22,22,21,21,21,21,20,20,19,
05663     16,16,16,15,15,15,14,14,13,13,12,12,12,11,10,10,10,9,9,9,8,7,
05664     7,6,6,6,5,5,5,3,3,3,2,1
05665   };
05666   const int n3c3w1_d[] = {
05667     150, // Capacity
05668     200, // Number of items
05669     // Size of items (sorted)
05670     100,100,100,100,99,99,99,98,97,97,96,96,96,95,95,95,94,94,93,
05671     92,92,92,91,91,90,89,87,87,86,86,86,86,86,85,84,84,83,83,81,80,
05672     80,79,78,78,77,76,76,76,73,72,72,71,70,70,67,67,67,66,66,65,63,
05673     63,62,62,61,60,60,59,58,57,56,56,56,55,55,55,55,54,54,54,53,53,
05674     53,52,52,51,51,50,50,50,49,48,48,47,46,46,44,44,44,44,44,43,41,
05675     41,40,40,40,39,39,39,39,36,36,36,36,36,35,35,35,35,33,33,33,32,
05676     32,32,32,31,30,30,29,29,29,29,28,28,26,26,26,25,25,25,25,25,24,
05677     23,23,22,22,22,22,21,21,21,21,21,20,20,20,20,20,19,18,17,17,17,
05678     17,15,15,15,14,13,13,12,12,12,12,11,10,10,9,9,9,8,8,8,7,7,6,6,
05679     5,4,4,4,3,3,3,2,1,1
05680   };
05681   const int n3c3w1_e[] = {
05682     150, // Capacity
05683     200, // Number of items
05684     // Size of items (sorted)
05685     100,100,100,99,99,99,98,98,98,98,97,97,97,97,95,95,94,94,93,93,
05686     92,92,91,91,90,90,90,90,89,89,89,89,88,88,87,86,85,84,84,84,84,
05687     83,83,82,82,82,82,81,80,79,78,78,77,76,76,75,74,74,74,73,72,71,
05688     71,70,70,70,70,70,70,69,69,68,68,68,67,66,65,64,64,63,63,62,62,
05689     61,60,59,57,57,57,56,55,55,55,55,54,54,53,53,52,52,52,52,50,48,
05690     48,48,47,47,46,46,45,45,44,44,43,43,43,42,42,42,42,41,41,40,40,
05691     39,39,36,35,34,33,32,32,31,30,29,29,28,28,27,27,24,24,24,24,23,
05692     23,23,23,23,23,21,21,20,20,19,19,18,17,17,17,16,16,15,15,15,15,
05693     14,14,13,13,13,12,12,12,12,11,11,11,10,10,9,9,8,8,8,8,7,7,7,6,
05694     5,4,4,3,3,1,1,1,1
05695   };
05696   const int n3c3w1_f[] = {
05697     150, // Capacity
05698     200, // Number of items
05699     // Size of items (sorted)
05700     100,100,100,99,99,98,98,98,98,96,96,95,95,93,92,92,92,91,89,89,
05701     88,88,88,87,87,87,87,86,86,86,85,85,84,83,83,82,80,80,80,79,79,
05702     78,78,77,76,76,75,75,74,74,73,73,73,72,71,70,70,70,69,69,69,69,
05703     68,68,66,66,66,66,65,64,64,64,64,64,64,63,63,63,62,62,61,60,60,
05704     59,58,58,58,58,58,58,57,57,55,55,55,53,52,52,52,51,51,50,50,50,
05705     49,49,49,49,49,48,48,46,46,45,45,45,44,43,42,42,42,41,41,40,40,
05706     40,39,39,39,37,37,37,36,36,36,36,35,35,35,33,33,33,33,32,32,31,
05707     31,31,31,30,29,29,29,29,28,27,27,27,26,26,24,22,22,22,21,21,20,
05708     19,18,17,17,16,16,15,14,14,13,12,11,11,11,11,10,9,8,7,7,7,7,7,
05709     6,6,5,4,4,4,3,3,2,1
05710   };
05711   const int n3c3w1_g[] = {
05712     150, // Capacity
05713     200, // Number of items
05714     // Size of items (sorted)
05715     100,100,97,97,97,96,96,96,96,95,95,95,95,95,94,94,92,92,91,91,
05716     90,89,87,86,86,86,86,85,84,84,84,84,83,83,81,81,81,80,78,77,77,
05717     76,75,75,74,74,73,73,73,72,71,71,71,70,70,69,68,66,65,65,64,64,
05718     64,64,63,63,63,62,61,61,61,60,60,60,60,59,58,58,58,58,58,58,57,
05719     57,55,55,55,54,54,53,52,52,51,51,51,51,51,51,50,49,49,49,48,47,
05720     46,46,45,45,44,44,44,43,43,43,41,41,40,40,40,39,37,36,36,35,35,
05721     35,35,34,34,34,33,32,31,31,30,30,30,29,29,28,28,27,27,27,27,25,
05722     25,24,23,22,22,21,21,21,21,21,21,21,20,19,18,17,17,16,16,15,15,
05723     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,
05724     2,2,2,1,1,1,1
05725   };
05726   const int n3c3w1_h[] = {
05727     150, // Capacity
05728     200, // Number of items
05729     // Size of items (sorted)
05730     100,100,99,99,98,98,97,96,96,96,96,96,96,95,94,94,94,93,92,91,
05731     91,90,89,89,89,88,87,86,86,86,86,85,85,85,84,84,84,84,84,84,83,
05732     82,82,81,80,78,78,77,77,77,77,77,76,76,75,75,74,74,74,74,70,70,
05733     70,69,69,69,68,68,68,68,67,66,66,66,65,65,65,64,64,64,64,64,63,
05734     63,62,62,60,58,57,56,56,56,56,56,56,55,55,55,55,55,53,53,51,51,
05735     51,50,50,49,47,47,47,44,43,43,43,42,42,40,40,38,38,38,37,37,37,
05736     36,36,35,34,34,34,33,33,33,33,32,32,30,30,29,28,28,27,27,26,26,
05737     26,25,25,25,25,25,24,24,23,23,22,22,21,21,21,19,19,19,18,17,17,
05738     16,16,15,14,14,14,13,13,13,13,12,11,11,10,10,9,9,9,8,8,8,7,7,
05739     7,6,4,4,4,4,3,2,1,1
05740   };
05741   const int n3c3w1_i[] = {
05742     150, // Capacity
05743     200, // Number of items
05744     // Size of items (sorted)
05745     100,100,100,100,100,99,99,99,98,97,96,94,93,93,93,92,92,91,90,
05746     89,89,88,88,88,88,88,88,88,86,86,86,86,86,85,85,84,84,84,83,83,
05747     83,83,83,83,82,82,81,79,79,76,76,76,76,75,75,75,75,75,75,74,74,
05748     73,72,71,71,71,68,68,67,67,67,66,66,66,65,65,64,64,63,63,63,62,
05749     62,62,61,60,60,60,58,58,57,57,56,56,55,55,55,54,54,54,54,53,51,
05750     50,50,49,48,48,47,47,47,46,46,45,45,44,43,43,41,40,40,39,39,39,
05751     37,37,37,36,34,33,32,31,31,31,31,30,30,29,29,29,29,29,28,27,24,
05752     24,23,23,23,23,23,22,22,21,21,20,19,19,18,18,17,17,17,17,16,16,
05753     16,15,15,15,15,15,14,14,14,13,12,12,12,12,11,11,11,10,8,8,7,6,
05754     6,5,5,5,5,5,4,4,4,3,2,1
05755   };
05756   const int n3c3w1_j[] = {
05757     150, // Capacity
05758     200, // Number of items
05759     // Size of items (sorted)
05760     99,99,99,98,98,98,96,95,95,94,94,94,93,93,92,92,92,91,91,90,88,
05761     86,86,85,85,84,84,84,83,82,82,82,81,81,81,80,80,79,79,79,78,78,
05762     78,77,77,77,76,74,74,73,73,72,71,71,71,71,70,70,68,68,68,67,66,
05763     66,66,66,66,65,64,63,63,63,62,61,60,60,59,58,58,58,57,57,57,57,
05764     56,55,54,53,53,51,51,51,51,50,50,50,49,47,47,47,46,46,45,45,45,
05765     45,45,44,43,43,42,42,41,41,40,40,39,39,37,37,36,36,35,35,34,34,
05766     34,34,34,33,32,32,32,31,31,29,28,27,27,26,26,26,25,25,25,25,25,
05767     25,25,25,22,22,22,21,21,21,21,21,21,19,19,19,18,17,17,17,17,17,
05768     17,16,16,15,14,14,14,13,13,12,11,10,10,10,10,9,8,7,6,5,4,4,4,
05769     4,3,3,3,3,3,3,2,2
05770   };
05771   const int n3c3w1_k[] = {
05772     150, // Capacity
05773     200, // Number of items
05774     // Size of items (sorted)
05775     100,99,99,99,99,98,98,98,97,96,95,94,93,93,93,92,91,91,91,91,
05776     91,90,90,88,88,88,87,87,87,86,86,85,85,84,84,84,83,83,82,81,81,
05777     81,81,77,77,76,76,75,74,74,74,73,73,72,72,71,71,70,69,69,69,69,
05778     68,68,66,66,65,64,63,63,63,62,61,61,59,59,59,58,58,57,57,57,57,
05779     55,55,53,53,52,52,49,49,49,48,48,47,47,46,46,46,46,45,45,44,43,
05780     43,43,41,40,40,40,39,39,38,38,38,37,37,35,35,35,34,34,33,33,32,
05781     31,31,29,29,28,28,27,26,25,25,24,24,24,23,23,23,23,23,23,22,22,
05782     22,21,20,19,19,19,18,18,18,18,18,17,15,15,14,13,13,13,12,11,10,
05783     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,
05784     1,1
05785   };
05786   const int n3c3w1_l[] = {
05787     150, // Capacity
05788     200, // Number of items
05789     // Size of items (sorted)
05790     100,100,100,99,97,97,96,95,95,95,94,92,91,91,91,91,90,90,89,89,
05791     89,88,88,87,87,87,86,86,86,85,85,85,85,85,84,84,83,83,81,81,81,
05792     80,80,80,79,79,79,78,78,77,77,77,77,76,75,74,74,74,72,72,71,71,
05793     70,69,68,68,67,65,64,64,63,63,63,62,62,62,62,61,61,60,60,60,60,
05794     60,60,59,59,59,59,58,58,57,56,55,55,55,55,54,53,53,52,52,52,51,
05795     51,51,51,50,50,49,49,48,45,45,43,42,42,41,40,40,39,39,38,38,37,
05796     36,36,35,35,34,34,34,33,33,32,31,31,31,31,30,29,29,29,29,29,28,
05797     28,28,27,26,26,25,25,24,24,24,22,22,21,20,19,19,19,19,18,18,18,
05798     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,
05799     5,4,3,3,2,1,1,1
05800   };
05801   const int n3c3w1_m[] = {
05802     150, // Capacity
05803     200, // Number of items
05804     // Size of items (sorted)
05805     100,99,99,99,98,97,97,96,96,95,94,93,93,93,92,92,92,92,92,92,
05806     91,91,91,91,90,90,89,89,89,89,86,86,86,85,85,84,83,83,83,82,82,
05807     82,81,81,80,80,80,79,78,77,77,77,77,76,76,76,76,75,75,73,72,72,
05808     71,70,70,70,70,68,68,68,68,68,67,65,65,64,64,62,62,61,60,60,59,
05809     59,59,59,59,58,58,57,57,56,56,56,56,55,54,53,53,53,53,52,52,52,
05810     51,51,51,50,50,50,50,49,49,49,49,49,49,48,48,48,47,46,46,46,45,
05811     44,43,42,42,42,41,39,37,37,36,36,35,35,35,34,34,33,33,32,32,31,
05812     31,31,30,29,29,29,29,28,28,27,26,25,25,25,25,24,23,23,23,23,23,
05813     22,22,22,21,18,18,18,17,16,16,16,15,14,14,13,13,12,11,11,11,11,
05814     9,8,8,5,4,4,3,2,2,2,1,1
05815   };
05816   const int n3c3w1_n[] = {
05817     150, // Capacity
05818     200, // Number of items
05819     // Size of items (sorted)
05820     100,99,99,98,98,97,97,96,95,95,95,95,94,94,93,92,92,92,92,91,
05821     90,88,87,87,87,87,87,87,87,86,86,85,85,84,84,84,82,82,82,82,81,
05822     81,81,81,80,80,80,80,79,79,78,78,77,76,75,75,75,75,73,72,72,71,
05823     71,71,70,70,70,69,69,68,67,66,66,66,65,64,63,62,62,62,61,61,61,
05824     60,59,59,57,57,56,56,55,55,53,53,52,51,51,51,51,50,50,49,49,49,
05825     49,48,47,47,47,47,47,47,47,46,46,46,45,45,45,45,45,43,43,43,43,
05826     42,41,40,38,38,38,38,36,36,36,35,35,34,34,33,33,32,32,31,30,30,
05827     28,28,28,27,27,27,26,26,25,25,22,21,20,19,19,18,17,17,17,17,16,
05828     14,14,14,13,13,13,12,12,11,11,11,10,10,9,8,7,6,6,4,4,4,4,4,4,
05829     3,3,3,3,3,1,1,1,1
05830   };
05831   const int n3c3w1_o[] = {
05832     150, // Capacity
05833     200, // Number of items
05834     // Size of items (sorted)
05835     100,100,99,98,98,97,97,96,96,96,95,95,94,92,92,91,91,91,91,91,
05836     91,90,90,90,89,89,88,88,87,87,86,85,82,81,81,81,81,80,80,80,80,
05837     79,79,78,78,78,78,77,77,77,77,76,75,74,74,74,74,74,73,73,73,73,
05838     73,71,70,70,70,69,69,69,69,68,68,67,66,64,64,64,63,61,59,58,58,
05839     57,57,55,54,54,52,52,52,52,52,51,50,50,48,48,47,47,47,46,45,45,
05840     45,44,43,43,43,42,41,40,40,39,39,38,38,38,38,36,36,34,34,34,33,
05841     33,32,32,32,32,31,31,31,30,30,30,28,28,26,26,26,26,26,26,25,25,
05842     25,25,24,24,23,23,23,20,20,20,20,20,18,17,16,16,16,16,15,15,14,
05843     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,
05844     3,2,2,2,1,1,1,1
05845   };
05846   const int n3c3w1_p[] = {
05847     150, // Capacity
05848     200, // Number of items
05849     // Size of items (sorted)
05850     100,100,100,100,100,99,99,98,98,97,97,96,96,96,95,95,94,94,94,
05851     94,93,92,91,91,90,90,90,90,90,90,89,89,88,87,85,85,85,83,83,83,
05852     82,82,82,81,81,81,80,80,79,79,79,78,78,77,77,77,76,76,76,75,75,
05853     75,73,73,72,72,72,71,71,70,70,70,69,68,67,67,67,67,67,66,66,65,
05854     65,64,64,64,63,62,62,61,61,61,61,60,60,60,58,58,58,56,55,54,54,
05855     53,53,53,53,51,51,49,49,49,48,48,48,47,46,46,45,44,44,42,42,42,
05856     42,42,41,41,41,41,41,40,40,39,38,38,37,36,36,34,34,34,34,33,32,
05857     32,32,31,31,31,29,29,28,27,26,26,25,25,24,23,22,21,21,21,21,20,
05858     19,19,18,17,17,16,16,15,15,14,13,13,13,12,11,11,11,10,10,9,9,
05859     8,8,8,7,7,6,5,5,4,3,3,2,1
05860   };
05861   const int n3c3w1_q[] = {
05862     150, // Capacity
05863     200, // Number of items
05864     // Size of items (sorted)
05865     100,98,98,97,97,97,97,97,96,96,96,96,94,94,94,93,93,92,91,91,
05866     90,90,90,89,89,89,88,87,87,86,86,85,85,83,83,83,83,82,82,82,81,
05867     80,79,79,78,78,78,78,77,77,77,77,77,77,76,75,74,74,73,72,72,72,
05868     71,70,70,69,69,69,67,67,66,66,66,66,66,66,66,66,64,63,62,62,62,
05869     61,61,61,60,60,60,59,59,59,58,58,57,56,56,56,55,54,54,54,54,54,
05870     54,54,53,53,53,53,53,51,51,51,50,50,50,50,49,49,48,47,46,46,45,
05871     45,45,44,44,44,43,43,42,41,41,40,40,40,39,39,39,38,38,37,37,37,
05872     36,36,36,36,36,34,34,34,34,33,30,29,29,28,28,27,27,27,25,25,25,
05873     25,24,24,23,22,22,22,22,19,18,18,16,16,15,14,13,13,13,11,11,10,
05874     10,8,7,5,5,5,4,4,2,1,1,1
05875   };
05876   const int n3c3w1_r[] = {
05877     150, // Capacity
05878     200, // Number of items
05879     // Size of items (sorted)
05880     100,100,99,99,99,99,99,98,97,97,97,96,96,96,94,94,94,94,93,92,
05881     91,91,91,90,90,90,89,88,88,87,87,86,86,86,86,86,85,84,82,81,81,
05882     78,78,78,77,77,77,76,76,74,74,74,73,72,72,71,70,69,69,69,68,68,
05883     68,68,68,67,66,66,66,65,64,64,64,64,63,61,60,60,59,58,57,57,55,
05884     55,55,54,54,52,52,52,51,51,50,49,48,48,47,47,47,46,46,46,46,43,
05885     43,43,43,43,42,42,42,41,41,41,40,40,40,40,40,39,39,39,39,38,38,
05886     38,37,37,37,37,36,36,35,34,33,33,32,31,31,31,31,30,29,29,29,28,
05887     28,28,25,25,23,23,22,22,22,20,20,20,19,19,19,17,17,16,16,16,15,
05888     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,
05889     4,3,2,2,1,1
05890   };
05891   const int n3c3w1_s[] = {
05892     150, // Capacity
05893     200, // Number of items
05894     // Size of items (sorted)
05895     99,99,97,96,96,95,95,95,95,94,94,94,93,93,93,93,93,92,92,91,91,
05896     90,90,90,89,89,89,87,86,86,86,86,85,84,84,84,84,83,83,83,78,78,
05897     75,75,75,75,74,74,71,71,70,70,70,70,69,69,69,69,69,69,68,67,67,
05898     67,67,67,65,65,65,64,64,63,62,62,62,61,61,60,59,59,59,59,58,57,
05899     57,57,57,56,56,56,55,55,54,54,54,54,54,54,54,53,53,51,50,49,49,
05900     49,49,49,48,47,47,47,44,43,42,41,40,40,40,40,39,39,38,38,38,38,
05901     38,37,37,36,36,35,35,33,33,33,33,32,32,32,31,31,30,30,30,30,29,
05902     29,28,28,28,28,27,27,27,27,26,26,25,25,25,24,24,24,24,23,23,22,
05903     20,17,17,17,17,16,16,16,14,13,12,12,11,11,10,9,9,8,7,7,6,6,6,
05904     5,4,4,2,2,2,2,1,1
05905   };
05906   const int n3c3w1_t[] = {
05907     150, // Capacity
05908     200, // Number of items
05909     // Size of items (sorted)
05910     100,99,98,98,98,98,98,98,97,97,97,96,95,94,94,94,94,94,92,91,
05911     91,91,90,89,88,88,88,87,87,86,86,86,86,85,85,85,84,84,83,83,83,
05912     82,82,80,80,80,80,80,79,79,78,77,77,76,75,74,74,73,73,72,71,71,
05913     70,69,69,69,68,68,67,67,67,67,66,66,66,65,63,63,63,62,61,61,61,
05914     61,61,60,59,59,58,57,57,56,56,56,56,55,55,53,53,52,52,50,50,49,
05915     49,47,47,47,46,46,46,46,45,44,44,43,42,42,42,41,41,41,41,40,40,
05916     40,39,39,37,37,37,37,37,36,36,35,35,35,35,34,33,33,33,32,32,31,
05917     31,30,30,29,27,25,25,23,23,22,22,22,21,21,20,20,19,19,19,19,19,
05918     18,18,18,17,17,16,16,14,14,14,13,12,12,11,10,10,9,9,8,7,7,6,5,
05919     5,5,4,4,4,2,2,2,1,1
05920   };
05921   const int n3c3w2_a[] = {
05922     150, // Capacity
05923     200, // Number of items
05924     // Size of items (sorted)
05925     100,100,100,100,99,99,99,98,98,98,97,97,97,97,97,97,96,96,96,
05926     95,94,94,93,93,93,93,93,92,92,91,91,90,89,89,88,88,88,87,87,87,
05927     86,86,86,85,85,85,84,84,84,83,82,81,81,80,80,79,79,79,79,79,78,
05928     76,76,76,76,75,75,75,75,75,75,74,73,73,73,73,72,72,72,72,72,71,
05929     71,70,70,70,70,69,68,68,68,67,67,65,65,65,64,64,64,64,63,63,63,
05930     63,62,62,62,62,61,60,60,59,59,59,58,58,58,58,56,56,56,56,56,56,
05931     56,56,55,53,52,52,51,51,50,50,50,49,49,49,48,48,47,47,46,46,45,
05932     45,44,44,44,43,43,43,42,42,42,41,41,40,40,39,37,37,37,37,36,36,
05933     35,35,35,34,34,31,30,29,29,29,29,29,28,28,28,28,27,27,26,26,25,
05934     25,25,24,24,23,22,21,21,21,21,21,20,20
05935   };
05936   const int n3c3w2_b[] = {
05937     150, // Capacity
05938     200, // Number of items
05939     // Size of items (sorted)
05940     100,100,100,100,99,99,99,99,98,98,97,97,95,95,95,94,93,92,92,
05941     91,91,90,90,89,89,89,89,89,89,88,87,87,86,86,86,86,85,84,83,83,
05942     82,82,82,81,81,81,81,81,80,80,80,79,79,79,78,77,77,76,76,75,74,
05943     74,73,73,73,73,73,72,72,70,70,70,70,70,69,68,68,68,68,68,67,66,
05944     66,66,66,66,66,65,65,65,65,65,64,64,64,64,63,63,62,62,61,59,59,
05945     59,59,58,58,56,56,56,56,56,55,55,55,55,54,54,54,54,54,54,53,53,
05946     53,53,53,52,51,51,51,50,49,49,49,49,48,48,48,47,47,47,46,46,46,
05947     46,46,45,45,44,44,44,42,42,42,41,39,38,38,38,37,37,36,36,36,36,
05948     35,34,34,33,33,32,32,32,31,31,31,30,30,29,29,29,29,28,28,27,26,
05949     25,23,23,23,22,22,22,22,22,21,21,21,21
05950   };
05951   const int n3c3w2_c[] = {
05952     150, // Capacity
05953     200, // Number of items
05954     // Size of items (sorted)
05955     100,100,100,99,98,98,97,96,96,96,96,96,96,95,95,94,94,94,94,93,
05956     93,93,93,93,93,92,92,92,90,89,89,89,89,87,87,86,86,86,86,85,85,
05957     84,84,84,84,83,83,83,83,83,81,81,81,80,80,79,79,79,79,78,78,77,
05958     77,77,76,76,76,74,74,74,74,73,73,73,73,73,72,70,70,69,69,69,69,
05959     68,67,66,66,66,66,65,65,65,64,64,63,62,62,61,61,60,60,60,58,58,
05960     57,57,57,57,56,56,55,55,55,55,55,54,54,54,54,54,53,53,53,53,52,
05961     51,51,51,50,50,50,50,50,49,49,48,48,46,46,45,44,44,44,43,43,43,
05962     40,40,40,40,40,39,39,38,38,37,37,37,37,37,36,35,35,34,34,33,33,
05963     33,33,32,32,32,32,31,31,30,29,29,29,29,29,28,28,27,27,27,27,26,
05964     26,26,25,24,23,22,22,22,21,21,21,20
05965   };
05966   const int n3c3w2_d[] = {
05967     150, // Capacity
05968     200, // Number of items
05969     // Size of items (sorted)
05970     100,99,99,98,98,98,96,95,95,94,94,94,93,93,92,92,89,89,89,89,
05971     88,88,88,88,87,87,87,87,86,86,86,85,84,84,83,83,83,83,83,82,81,
05972     80,80,80,79,79,79,78,78,77,77,77,77,77,77,75,74,74,74,73,73,72,
05973     72,71,71,71,71,71,71,70,69,68,68,67,66,66,66,65,65,65,65,65,64,
05974     64,64,64,62,62,62,62,61,61,61,60,60,60,59,59,59,59,58,58,58,58,
05975     57,57,57,57,56,56,56,55,54,54,54,54,54,53,53,53,53,52,51,50,50,
05976     50,49,48,48,48,48,48,48,47,47,45,45,45,44,44,43,43,43,43,43,42,
05977     42,41,41,41,40,40,40,40,40,39,39,38,38,38,37,37,36,36,36,35,35,
05978     34,34,33,33,32,32,31,31,31,30,29,29,28,27,26,25,25,25,24,24,24,
05979     24,24,23,22,22,22,21,21,21,20,20,20
05980   };
05981   const int n3c3w2_e[] = {
05982     150, // Capacity
05983     200, // Number of items
05984     // Size of items (sorted)
05985     100,99,97,97,96,96,96,95,95,95,95,94,94,93,93,93,93,92,92,91,
05986     90,90,90,90,90,90,90,90,89,89,88,88,88,87,86,86,86,84,84,84,84,
05987     83,83,81,81,80,80,80,78,78,78,77,77,77,76,75,75,75,74,73,73,73,
05988     72,71,71,71,70,70,70,69,69,69,68,67,67,67,66,66,65,64,64,63,63,
05989     63,62,62,62,62,62,62,61,61,61,60,60,60,59,59,59,58,58,58,58,57,
05990     57,57,56,55,55,55,55,53,53,53,52,51,51,51,51,50,50,50,49,49,49,
05991     49,48,47,46,46,45,45,45,44,44,44,44,43,43,43,43,43,42,41,41,41,
05992     40,40,40,40,40,39,39,39,39,39,38,37,37,36,36,35,34,34,34,34,33,
05993     33,32,32,32,31,31,31,31,30,30,30,29,28,27,27,26,25,25,25,24,24,
05994     24,23,23,23,22,22,22,22,21,21,21,20
05995   };
05996   const int n3c3w2_f[] = {
05997     150, // Capacity
05998     200, // Number of items
05999     // Size of items (sorted)
06000     100,100,100,100,99,99,98,98,97,97,97,96,95,95,95,95,95,94,94,
06001     94,94,93,93,93,93,92,90,89,89,89,89,88,88,88,87,87,87,86,85,85,
06002     85,84,84,84,83,83,82,82,82,82,82,81,81,80,80,80,79,79,79,79,78,
06003     78,78,76,75,75,74,74,74,73,72,72,72,72,72,72,71,70,70,70,69,68,
06004     68,68,66,65,65,64,64,64,62,61,61,60,59,59,58,58,57,57,57,56,56,
06005     55,55,55,55,54,54,54,53,53,52,52,52,52,51,51,51,50,50,50,50,50,
06006     49,49,48,48,47,47,46,46,46,46,45,45,44,44,44,44,44,44,44,43,43,
06007     43,43,43,43,43,42,42,42,41,41,41,41,40,40,39,39,38,38,38,37,37,
06008     36,36,35,35,35,35,34,34,34,33,31,31,31,30,30,30,30,30,29,28,27,
06009     26,26,25,25,24,24,22,22,21,20,20,20,20
06010   };
06011   const int n3c3w2_g[] = {
06012     150, // Capacity
06013     200, // Number of items
06014     // Size of items (sorted)
06015     100,100,100,100,100,100,99,99,98,98,98,97,97,96,96,95,94,93,93,
06016     93,92,91,90,90,90,89,89,88,88,88,88,88,87,87,87,87,86,86,85,85,
06017     85,84,84,84,84,84,83,83,83,82,81,81,80,80,79,78,77,77,77,77,76,
06018     76,75,75,75,75,74,74,74,73,73,73,73,72,71,70,70,70,70,69,68,68,
06019     68,68,68,67,67,67,67,66,66,65,65,65,64,63,63,63,63,63,63,62,62,
06020     62,60,60,59,59,59,58,57,56,55,55,54,53,53,52,51,50,50,50,50,49,
06021     48,48,48,48,48,47,47,47,47,46,46,45,44,44,43,43,43,43,43,43,42,
06022     42,41,41,39,39,38,38,37,37,37,36,36,36,35,34,34,34,34,33,33,32,
06023     31,31,31,31,30,30,30,30,30,29,28,27,27,26,26,26,25,25,25,25,25,
06024     25,24,24,24,23,23,22,21,21,21,20,20,20
06025   };
06026   const int n3c3w2_h[] = {
06027     150, // Capacity
06028     200, // Number of items
06029     // Size of items (sorted)
06030     100,100,100,100,100,99,99,99,99,99,98,98,97,97,97,96,94,94,94,
06031     94,94,94,94,93,93,91,91,91,90,89,89,89,88,88,87,87,87,86,86,86,
06032     86,86,86,86,85,85,85,85,84,84,83,83,82,82,81,81,81,80,80,79,79,
06033     78,78,77,77,76,75,75,75,74,74,74,74,74,73,73,72,71,71,70,69,68,
06034     68,67,67,66,66,66,66,65,65,65,65,65,64,63,63,63,63,63,61,61,61,
06035     60,60,60,60,59,59,58,58,58,57,57,56,56,56,55,54,54,53,53,52,52,
06036     52,51,50,50,48,48,47,46,46,44,44,44,44,44,43,43,43,43,42,41,41,
06037     41,40,40,40,40,39,39,39,39,38,38,38,38,38,38,38,37,37,36,36,36,
06038     35,35,34,34,33,32,32,32,32,31,31,30,30,30,29,28,27,27,26,26,26,
06039     26,25,25,25,24,23,22,22,22,21,21,20,20
06040   };
06041   const int n3c3w2_i[] = {
06042     150, // Capacity
06043     200, // Number of items
06044     // Size of items (sorted)
06045     100,99,99,99,99,99,99,98,98,98,96,96,96,95,95,95,95,95,95,95,
06046     95,94,94,92,92,92,92,92,92,92,92,92,91,89,89,87,87,86,86,86,85,
06047     85,85,84,84,84,83,83,83,82,82,81,81,81,81,79,79,79,79,77,76,75,
06048     75,74,74,73,72,70,69,69,69,69,69,69,69,69,68,67,67,64,64,64,64,
06049     64,64,63,63,63,63,63,62,62,62,62,61,59,58,58,57,57,56,55,55,54,
06050     54,52,52,52,52,52,51,51,50,50,50,48,47,46,46,45,45,45,45,45,45,
06051     45,44,44,44,44,43,42,42,41,41,41,41,41,41,40,40,39,39,38,38,38,
06052     37,37,36,36,36,35,35,35,35,35,35,35,35,34,34,34,34,33,33,32,31,
06053     31,31,31,31,30,30,30,29,29,28,28,28,28,28,27,26,26,26,26,25,24,
06054     24,23,23,23,22,22,22,22,21,21,20,20
06055   };
06056   const int n3c3w2_j[] = {
06057     150, // Capacity
06058     200, // Number of items
06059     // Size of items (sorted)
06060     99,99,99,99,99,99,98,98,98,97,97,97,97,96,96,96,95,95,95,95,95,
06061     95,94,94,94,93,93,92,92,92,92,92,91,91,90,90,87,87,87,87,87,86,
06062     86,85,84,84,84,83,83,83,83,82,82,82,82,82,82,81,80,80,79,78,78,
06063     77,76,76,75,75,74,74,73,73,72,72,72,71,71,71,70,70,69,69,69,68,
06064     68,68,68,68,67,67,66,66,66,65,65,65,64,64,64,64,63,63,61,60,59,
06065     59,59,59,58,58,57,57,57,57,56,56,55,55,54,54,54,54,54,53,52,52,
06066     52,52,50,50,49,49,49,48,48,48,48,48,48,47,47,47,47,46,45,44,44,
06067     43,43,43,43,43,42,41,41,40,40,40,40,40,39,38,37,36,36,35,34,34,
06068     33,33,32,32,31,30,30,29,28,28,28,28,28,27,26,26,25,24,23,23,23,
06069     23,23,22,22,22,21,21,21,21,21,20
06070   };
06071   const int n3c3w2_k[] = {
06072     150, // Capacity
06073     200, // Number of items
06074     // Size of items (sorted)
06075     100,100,100,100,100,99,99,98,98,98,98,97,97,96,96,96,95,95,94,
06076     94,93,93,93,92,91,91,91,91,91,90,89,89,89,89,89,88,88,88,88,88,
06077     87,87,86,86,86,86,85,85,85,84,84,84,83,83,83,82,82,82,82,82,81,
06078     81,80,80,80,80,79,79,79,79,79,79,78,75,75,75,74,74,73,73,73,73,
06079     73,71,71,70,70,68,68,67,67,67,67,67,66,65,65,65,65,64,64,63,62,
06080     62,62,62,61,61,60,59,58,58,57,56,56,55,54,54,53,52,52,52,52,52,
06081     51,51,51,51,51,51,51,48,48,47,47,46,46,46,46,46,45,45,44,43,43,
06082     43,43,43,42,42,41,39,39,39,38,36,34,34,33,33,33,33,33,32,32,31,
06083     31,31,30,30,30,29,29,29,29,28,28,28,28,28,27,27,26,26,26,26,26,
06084     25,25,25,25,24,24,22,22,21,21,21,21,20
06085   };
06086   const int n3c3w2_l[] = {
06087     150, // Capacity
06088     200, // Number of items
06089     // Size of items (sorted)
06090     100,100,99,99,99,99,99,98,98,98,98,97,97,97,97,97,96,96,96,95,
06091     95,94,94,94,93,93,92,91,91,90,90,89,89,89,89,89,88,87,85,85,85,
06092     85,85,84,83,83,83,82,82,81,81,80,80,80,80,79,79,79,79,78,78,76,
06093     75,75,74,74,74,74,74,73,73,73,72,71,70,70,69,69,69,69,68,67,67,
06094     67,67,66,66,66,65,64,64,64,63,63,63,63,62,62,61,61,60,60,60,60,
06095     60,60,58,58,57,56,56,56,56,56,56,55,55,55,54,54,53,51,51,51,51,
06096     51,50,50,50,49,48,48,47,46,46,46,45,45,45,45,45,44,44,43,42,41,
06097     41,41,40,40,40,39,39,39,39,38,38,37,37,37,37,36,35,35,35,34,34,
06098     34,33,33,32,30,30,30,30,30,29,29,28,28,28,27,26,26,26,25,25,25,
06099     25,24,24,24,24,23,23,23,23,23,22,21
06100   };
06101   const int n3c3w2_m[] = {
06102     150, // Capacity
06103     200, // Number of items
06104     // Size of items (sorted)
06105     100,100,100,99,99,99,99,98,98,97,97,97,96,96,96,96,96,96,95,95,
06106     94,93,93,93,93,92,92,92,91,91,91,91,91,91,91,90,89,89,89,88,86,
06107     86,86,85,85,85,85,84,84,83,83,82,82,82,82,80,80,80,80,80,79,79,
06108     79,78,77,77,77,74,74,73,73,73,73,73,73,72,71,71,70,70,69,69,69,
06109     69,69,68,68,68,67,66,65,65,65,64,64,64,63,62,61,61,61,61,61,60,
06110     60,60,59,58,57,57,57,57,56,56,56,56,56,55,55,55,54,54,54,54,54,
06111     53,53,52,52,52,51,50,50,50,50,49,49,49,48,47,47,46,46,45,45,45,
06112     44,44,44,44,44,43,42,42,41,38,38,38,38,38,37,37,37,35,35,35,35,
06113     35,33,32,32,32,32,31,31,31,31,30,30,29,29,29,29,28,27,26,26,25,
06114     25,25,25,25,25,24,24,23,23,21,20,20
06115   };
06116   const int n3c3w2_n[] = {
06117     150, // Capacity
06118     200, // Number of items
06119     // Size of items (sorted)
06120     100,100,100,99,98,98,97,97,97,96,94,94,93,93,92,91,90,90,89,89,
06121     89,89,89,88,88,88,87,87,87,87,86,86,86,86,85,85,83,83,83,82,82,
06122     82,82,81,80,80,80,80,78,77,77,76,76,74,73,73,73,73,72,72,72,71,
06123     71,71,70,70,70,69,69,69,68,68,68,68,67,67,66,66,66,65,65,65,65,
06124     64,64,64,64,63,62,60,59,58,58,58,57,57,57,57,57,57,56,55,55,53,
06125     52,52,52,51,50,50,49,48,48,48,48,48,48,48,47,46,46,46,46,45,45,
06126     45,45,44,44,44,44,43,43,43,42,42,42,42,41,40,40,39,39,39,39,38,
06127     38,38,38,38,38,36,36,35,34,34,33,33,33,33,33,33,32,32,32,32,32,
06128     31,31,31,31,31,30,30,30,30,29,28,27,27,27,26,26,25,25,25,24,24,
06129     23,23,23,22,22,21,21,20,20,20,20,20
06130   };
06131   const int n3c3w2_o[] = {
06132     150, // Capacity
06133     200, // Number of items
06134     // Size of items (sorted)
06135     100,100,100,100,99,98,98,97,97,97,97,97,97,96,96,95,94,93,93,
06136     92,91,91,91,90,90,90,90,89,89,89,89,88,88,88,88,87,87,86,86,86,
06137     85,85,85,85,85,84,84,84,84,83,82,82,82,82,82,81,81,81,81,80,79,
06138     79,79,79,78,78,78,78,77,76,76,75,75,74,74,73,71,71,70,70,70,70,
06139     69,69,68,68,68,67,67,67,66,65,65,65,65,63,63,62,61,61,61,61,59,
06140     59,59,59,59,58,58,58,57,57,57,56,56,56,55,55,55,54,54,54,54,53,
06141     53,53,53,53,52,52,51,51,50,50,50,49,48,47,46,45,45,44,43,42,42,
06142     42,41,41,41,41,40,40,39,39,38,37,36,36,35,34,34,34,34,34,34,33,
06143     33,32,31,31,30,30,29,29,29,29,29,28,28,27,26,25,25,25,24,24,24,
06144     23,23,22,22,22,21,21,21,20,20,20,20,20
06145   };
06146   const int n3c3w2_p[] = {
06147     150, // Capacity
06148     200, // Number of items
06149     // Size of items (sorted)
06150     100,99,99,99,99,99,98,98,98,98,96,96,96,96,95,95,94,93,93,92,
06151     92,92,92,91,91,91,91,90,90,90,89,89,87,87,87,86,85,84,84,84,83,
06152     82,82,82,81,81,80,80,79,79,79,78,78,78,76,76,76,76,75,75,75,73,
06153     73,73,72,72,71,71,71,71,70,70,70,69,69,68,68,68,68,67,67,67,67,
06154     67,67,67,66,66,66,65,65,64,64,64,63,63,63,62,62,62,62,61,61,60,
06155     59,59,59,58,57,57,56,55,55,55,55,55,53,52,52,51,51,51,51,51,50,
06156     50,50,50,49,49,49,48,47,47,46,46,45,44,44,44,44,43,43,41,41,41,
06157     40,40,38,38,37,37,37,37,36,36,36,36,36,35,34,34,34,34,33,33,33,
06158     32,32,32,31,31,31,30,30,29,27,27,27,27,26,26,25,25,25,25,25,24,
06159     24,24,23,23,23,22,22,22,20,20,20,20
06160   };
06161   const int n3c3w2_q[] = {
06162     150, // Capacity
06163     200, // Number of items
06164     // Size of items (sorted)
06165     100,99,99,99,98,98,98,98,98,97,97,96,96,95,94,94,94,93,93,93,
06166     92,92,91,91,91,91,90,90,89,88,88,88,87,87,87,86,86,86,85,85,84,
06167     84,83,82,80,80,80,79,79,79,79,78,78,77,77,77,76,74,74,73,73,73,
06168     72,71,71,71,70,70,70,70,68,68,68,67,67,67,67,66,66,65,64,64,63,
06169     63,61,61,60,60,60,60,59,59,58,58,58,58,57,57,57,56,56,55,54,51,
06170     51,50,49,48,48,48,47,45,45,45,44,44,44,44,43,43,43,43,43,43,42,
06171     42,42,42,41,41,40,39,39,39,39,38,38,38,38,38,38,38,38,37,37,37,
06172     36,36,35,35,35,35,34,34,34,34,34,33,33,33,33,32,32,31,31,31,30,
06173     30,29,28,28,28,27,25,25,24,24,24,24,24,23,23,23,23,23,22,22,22,
06174     22,22,21,21,21,21,21,21,21,20,20,20
06175   };
06176   const int n3c3w2_r[] = {
06177     150, // Capacity
06178     200, // Number of items
06179     // Size of items (sorted)
06180     100,100,99,99,99,97,96,96,96,95,95,95,95,95,94,94,94,94,93,93,
06181     93,92,92,91,90,89,89,89,88,88,87,87,87,87,86,85,85,84,84,83,83,
06182     83,82,82,81,81,81,80,80,80,80,80,79,78,78,77,77,76,76,75,74,74,
06183     73,73,73,72,71,71,71,70,70,70,69,68,68,68,67,67,67,66,65,65,65,
06184     64,64,63,62,62,62,61,61,61,60,60,60,59,58,58,58,58,58,58,57,57,
06185     57,57,56,56,55,54,53,53,53,53,52,52,52,51,51,50,50,50,49,49,49,
06186     48,46,46,46,46,46,46,44,43,43,43,42,42,42,41,41,40,40,40,39,39,
06187     39,38,38,38,37,37,37,36,36,36,36,35,35,35,35,33,33,33,33,33,32,
06188     32,32,32,32,31,31,30,30,29,29,29,29,29,29,29,29,28,28,28,28,27,
06189     26,26,26,25,24,24,24,23,22,21,21,21
06190   };
06191   const int n3c3w2_s[] = {
06192     150, // Capacity
06193     200, // Number of items
06194     // Size of items (sorted)
06195     100,98,98,98,98,97,97,97,96,96,95,95,95,94,94,94,93,92,91,91,
06196     91,90,89,89,88,88,87,87,87,87,87,86,86,86,86,85,85,85,84,84,84,
06197     83,83,82,81,80,80,80,80,80,79,78,78,78,78,77,77,77,77,77,77,77,
06198     76,76,76,74,74,74,74,74,73,73,73,72,71,71,71,69,69,69,69,69,68,
06199     68,67,67,67,66,66,66,65,65,65,65,64,64,64,62,62,62,62,62,61,61,
06200     61,61,59,59,59,57,57,57,56,55,55,54,52,52,52,51,51,50,50,50,50,
06201     49,49,48,48,47,46,46,45,45,45,44,44,44,43,42,41,41,41,40,39,39,
06202     38,37,37,37,37,37,36,36,35,35,35,34,34,34,33,33,33,32,31,31,31,
06203     31,30,30,30,29,29,29,28,28,28,28,27,27,27,27,26,26,25,25,24,24,
06204     24,23,23,23,22,22,22,22,21,21,20,20
06205   };
06206   const int n3c3w2_t[] = {
06207     150, // Capacity
06208     200, // Number of items
06209     // Size of items (sorted)
06210     100,100,99,99,99,99,99,98,97,97,96,95,95,95,94,94,94,93,92,92,
06211     92,91,91,90,90,90,88,88,87,85,85,84,84,84,84,84,84,84,84,84,83,
06212     83,82,82,82,82,82,82,81,81,80,80,79,79,78,78,78,78,78,78,77,77,
06213     77,76,76,75,74,74,74,74,73,73,72,71,70,69,69,69,67,67,66,65,64,
06214     64,62,62,62,61,61,61,60,60,60,60,59,59,58,57,57,56,56,56,56,56,
06215     56,55,55,55,55,54,53,53,53,53,52,52,51,51,49,49,49,49,49,49,49,
06216     48,47,47,47,46,46,45,44,44,44,44,43,43,42,42,42,42,41,39,39,38,
06217     37,37,37,36,36,36,36,35,35,33,33,33,33,33,32,32,32,31,31,31,31,
06218     30,30,30,30,30,30,29,29,29,29,28,28,28,28,26,25,25,25,24,24,24,
06219     23,23,23,23,23,22,22,21,21,21,21,20
06220   };
06221   const int n3c3w4_a[] = {
06222     150, // Capacity
06223     200, // Number of items
06224     // Size of items (sorted)
06225     100,100,100,100,100,100,99,99,99,99,98,98,98,98,98,98,97,97,96,
06226     96,96,96,96,95,95,95,94,94,93,93,93,92,92,92,91,90,90,89,89,89,
06227     89,89,89,89,89,89,88,88,87,86,86,86,85,85,85,85,84,84,83,83,82,
06228     82,82,81,80,80,80,80,79,79,78,78,78,78,77,76,76,76,75,74,73,73,
06229     73,73,73,72,72,72,71,68,68,68,68,68,67,66,66,65,65,65,65,65,65,
06230     64,64,63,63,62,62,62,62,60,59,59,59,58,58,58,56,56,56,55,55,55,
06231     54,54,54,54,53,53,53,52,52,52,51,51,51,51,51,50,50,50,50,50,49,
06232     49,49,49,48,48,48,48,47,46,46,45,45,45,45,44,43,43,43,43,42,42,
06233     41,41,41,40,40,40,39,39,39,39,39,38,38,38,37,37,37,36,35,35,34,
06234     34,34,34,33,33,33,33,32,32,31,30,30,30
06235   };
06236   const int n3c3w4_b[] = {
06237     150, // Capacity
06238     200, // Number of items
06239     // Size of items (sorted)
06240     99,99,98,98,97,97,97,96,96,96,96,95,95,95,94,94,93,93,92,92,91,
06241     91,91,91,91,90,89,89,89,88,88,87,87,87,86,86,86,86,86,86,86,84,
06242     84,83,82,82,82,82,81,81,81,81,80,80,80,79,79,79,79,78,78,78,78,
06243     77,77,77,77,77,76,76,75,75,75,75,74,74,74,73,72,72,72,72,72,72,
06244     72,71,71,70,70,70,69,69,69,69,69,68,68,68,68,67,67,67,67,67,67,
06245     65,65,64,63,63,62,62,62,62,62,61,61,61,60,60,59,58,57,57,56,55,
06246     55,55,55,53,53,52,52,52,52,51,51,51,51,50,50,50,49,49,49,48,48,
06247     48,48,47,47,46,45,45,45,44,44,44,44,44,43,43,43,43,42,42,42,42,
06248     42,42,41,40,40,39,38,38,38,37,37,36,36,36,36,36,35,35,35,34,34,
06249     33,33,33,32,32,32,31,31,31,31,30
06250   };
06251   const int n3c3w4_c[] = {
06252     150, // Capacity
06253     200, // Number of items
06254     // Size of items (sorted)
06255     100,99,98,98,98,97,97,97,97,97,97,96,96,96,96,96,95,95,95,95,
06256     95,95,94,94,94,94,94,94,93,93,92,92,92,92,91,91,90,89,89,89,89,
06257     88,88,88,88,87,87,87,87,86,85,84,84,83,83,83,83,82,82,82,82,81,
06258     80,79,79,79,79,77,77,77,76,76,74,74,74,73,73,73,73,72,72,72,71,
06259     71,71,71,71,71,71,70,69,69,69,69,68,68,67,67,66,65,65,64,63,63,
06260     63,63,62,62,62,62,60,60,59,59,59,59,59,58,58,58,58,58,58,57,57,
06261     56,56,56,56,55,55,54,53,53,53,52,52,52,52,51,51,50,50,50,49,49,
06262     48,48,48,48,47,47,46,46,46,46,46,45,45,44,43,43,43,43,42,41,41,
06263     39,38,38,38,38,38,37,37,37,37,37,37,36,36,36,36,35,35,35,35,34,
06264     34,34,34,34,33,33,33,32,32,31,31,30
06265   };
06266   const int n3c3w4_d[] = {
06267     150, // Capacity
06268     200, // Number of items
06269     // Size of items (sorted)
06270     100,100,100,100,100,100,99,98,98,98,97,96,96,96,96,95,95,95,94,
06271     94,94,94,94,93,92,92,92,92,91,91,91,90,90,90,90,88,87,87,86,86,
06272     86,86,85,85,85,83,83,82,82,82,82,81,81,81,80,80,79,79,79,79,79,
06273     78,78,78,78,78,78,77,76,75,75,75,75,75,75,74,74,73,73,73,73,72,
06274     72,72,71,70,70,69,68,68,68,67,66,65,65,65,65,64,64,63,63,63,63,
06275     63,62,61,61,60,60,60,59,59,59,59,58,58,56,56,56,56,56,56,55,55,
06276     55,55,55,54,54,54,53,53,53,52,52,52,51,51,51,51,50,50,50,49,48,
06277     48,48,48,48,48,48,48,47,47,47,47,47,46,46,46,45,45,45,45,44,43,
06278     43,43,42,42,42,41,40,38,37,37,37,37,36,36,36,36,35,34,34,34,33,
06279     33,33,33,33,32,32,32,32,32,32,30,30,30
06280   };
06281   const int n3c3w4_e[] = {
06282     150, // Capacity
06283     200, // Number of items
06284     // Size of items (sorted)
06285     100,100,99,99,98,98,97,96,96,95,94,94,93,93,93,93,93,92,92,91,
06286     90,90,90,90,89,89,89,88,88,88,88,87,87,87,87,86,86,85,85,85,84,
06287     84,83,83,83,82,81,81,80,80,80,79,79,78,78,78,77,77,77,77,76,76,
06288     75,75,75,75,74,74,74,74,73,73,73,72,71,71,71,71,70,70,69,68,68,
06289     68,68,68,68,68,67,67,67,66,66,66,65,64,64,64,64,63,63,63,63,62,
06290     62,61,61,61,60,60,58,58,58,58,58,57,57,56,56,56,56,56,56,55,55,
06291     55,54,54,54,53,53,52,52,52,52,51,51,51,50,50,50,49,49,49,48,48,
06292     47,47,47,47,46,46,46,46,46,45,44,44,44,44,44,43,43,42,42,42,42,
06293     41,41,41,39,39,39,39,39,39,38,38,37,37,37,37,36,35,35,34,34,34,
06294     34,34,33,33,33,33,32,32,31,30,30,30
06295   };
06296   const int n3c3w4_f[] = {
06297     150, // Capacity
06298     200, // Number of items
06299     // Size of items (sorted)
06300     100,100,99,99,99,98,98,98,98,98,97,97,97,97,96,96,95,94,94,93,
06301     93,93,92,92,92,91,90,90,87,87,87,86,86,86,86,85,85,84,83,83,83,
06302     82,82,81,81,80,80,80,80,80,80,80,79,79,79,79,79,79,78,78,78,76,
06303     75,75,74,73,73,72,71,71,71,71,71,70,69,69,69,68,68,67,67,67,66,
06304     66,66,66,66,66,66,66,65,65,65,63,63,63,63,62,62,62,62,61,61,60,
06305     60,60,60,60,60,58,58,58,58,58,58,57,56,56,56,56,55,55,54,54,54,
06306     53,53,53,52,52,51,51,51,49,49,49,48,48,48,48,48,48,47,46,46,46,
06307     46,45,45,44,44,44,43,43,42,42,42,42,41,41,41,40,40,40,40,39,39,
06308     39,39,39,39,39,38,38,38,38,37,36,36,36,36,36,36,35,35,35,35,34,
06309     34,33,33,32,31,31,31,31,30,30,30,30
06310   };
06311   const int n3c3w4_g[] = {
06312     150, // Capacity
06313     200, // Number of items
06314     // Size of items (sorted)
06315     100,100,100,100,100,99,99,98,98,98,98,98,98,98,97,97,97,97,97,
06316     96,95,94,94,94,93,93,92,92,92,91,91,91,91,91,90,90,90,89,89,89,
06317     89,89,88,88,88,88,88,87,87,87,87,86,86,86,86,85,85,84,84,84,84,
06318     84,84,83,83,83,83,82,82,81,81,81,80,80,80,80,79,78,77,77,77,76,
06319     76,76,76,76,76,76,75,75,75,75,74,74,74,74,74,72,72,71,71,71,70,
06320     70,69,68,68,68,68,68,67,67,66,66,65,65,65,64,63,63,62,62,61,61,
06321     61,60,60,60,60,60,60,59,59,59,58,58,58,58,57,57,56,56,55,55,55,
06322     55,54,54,54,54,54,54,52,52,51,50,50,49,49,49,48,47,47,47,47,46,
06323     46,46,45,44,44,43,43,42,42,40,40,39,38,38,38,38,37,37,36,36,35,
06324     35,35,35,35,35,34,34,32,31,31,31,31,30
06325   };
06326   const int n3c3w4_h[] = {
06327     150, // Capacity
06328     200, // Number of items
06329     // Size of items (sorted)
06330     100,99,99,99,97,97,96,95,95,94,94,94,94,93,92,92,92,92,92,92,
06331     92,91,91,91,91,90,90,89,89,89,89,88,87,87,86,86,86,85,85,85,84,
06332     84,84,83,83,83,82,82,82,82,81,81,81,81,79,79,77,77,76,76,76,76,
06333     75,75,74,74,74,74,73,72,71,71,70,70,68,68,67,67,67,66,66,66,65,
06334     65,64,63,63,63,62,62,62,62,62,61,61,61,61,60,60,60,60,60,60,60,
06335     58,58,57,57,57,56,56,56,56,56,55,55,55,55,54,54,53,53,53,53,53,
06336     52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,49,49,49,48,48,48,
06337     48,48,47,47,47,47,46,46,45,45,45,44,44,44,43,43,43,42,42,42,41,
06338     40,40,39,39,39,39,38,38,37,37,37,37,37,36,36,35,35,35,35,35,34,
06339     34,34,34,33,33,33,32,31,31,30,30,30
06340   };
06341   const int n3c3w4_i[] = {
06342     150, // Capacity
06343     200, // Number of items
06344     // Size of items (sorted)
06345     100,100,100,99,99,97,97,97,96,96,96,96,96,95,95,95,95,94,94,93,
06346     93,93,93,92,92,92,92,92,91,91,91,90,90,90,90,89,89,89,89,89,88,
06347     88,88,88,88,88,87,87,86,86,85,85,85,85,85,84,84,84,83,83,83,82,
06348     81,81,81,80,79,79,79,79,79,79,78,78,78,78,78,77,77,76,76,75,75,
06349     75,75,74,74,74,73,72,72,72,72,71,71,71,70,70,70,70,69,69,69,69,
06350     69,68,67,67,67,67,66,66,66,65,65,65,64,63,63,63,63,62,62,62,61,
06351     61,61,61,60,60,59,59,58,58,58,58,56,56,55,55,55,53,53,52,52,52,
06352     52,51,51,50,49,48,48,48,48,47,46,46,46,46,45,45,45,44,44,43,43,
06353     42,42,41,41,40,40,40,40,39,39,38,38,38,38,37,37,37,36,36,36,35,
06354     35,35,34,34,33,32,32,32,32,31,31,30
06355   };
06356   const int n3c3w4_j[] = {
06357     150, // Capacity
06358     200, // Number of items
06359     // Size of items (sorted)
06360     100,100,99,98,97,97,97,96,96,96,95,95,95,95,94,94,94,94,94,94,
06361     93,93,93,93,93,93,92,91,91,91,90,90,90,89,89,89,87,87,86,86,85,
06362     85,85,85,85,84,84,83,83,83,83,82,82,82,82,81,81,81,81,81,81,81,
06363     80,80,78,78,78,78,77,77,77,76,76,75,75,75,75,74,74,74,74,73,73,
06364     73,71,71,71,71,70,70,69,69,68,68,67,67,67,66,66,66,65,64,63,63,
06365     63,62,61,61,61,61,61,61,60,60,60,60,58,58,58,58,57,57,57,57,56,
06366     56,56,56,56,56,55,54,53,53,53,53,52,52,52,52,51,51,50,50,49,49,
06367     49,48,48,48,48,48,48,47,47,46,46,46,46,46,44,44,44,43,43,43,42,
06368     42,42,41,41,39,39,39,38,37,37,37,36,36,36,34,32,32,32,32,32,31,
06369     31,31,31,31,31,31,31,31,31,30,30,30
06370   };
06371   const int n3c3w4_k[] = {
06372     150, // Capacity
06373     200, // Number of items
06374     // Size of items (sorted)
06375     100,100,100,99,99,99,99,98,98,98,98,97,97,97,96,96,96,96,96,95,
06376     95,95,94,94,94,92,92,92,92,92,92,91,91,90,90,90,90,90,90,89,89,
06377     88,88,88,87,87,86,86,85,85,85,84,84,84,84,83,82,82,81,81,79,79,
06378     78,77,77,77,77,77,76,76,75,75,74,74,74,73,73,73,73,73,73,72,71,
06379     70,70,70,70,70,69,69,69,69,68,68,67,67,67,66,66,65,65,64,64,63,
06380     63,63,62,62,62,62,62,60,60,60,60,59,59,59,58,58,58,58,58,58,57,
06381     57,57,56,56,56,56,55,55,55,54,54,54,53,53,53,53,53,53,52,51,50,
06382     49,49,49,49,49,48,48,48,47,47,47,47,47,47,46,45,45,45,44,44,43,
06383     43,43,42,42,41,41,41,41,40,39,39,39,38,38,38,37,37,37,36,36,36,
06384     35,35,35,34,33,33,33,33,32,31,31,30
06385   };
06386   const int n3c3w4_l[] = {
06387     150, // Capacity
06388     200, // Number of items
06389     // Size of items (sorted)
06390     100,100,99,99,99,98,98,98,97,97,97,97,96,96,96,96,96,95,95,95,
06391     95,94,94,93,93,92,92,91,91,91,90,90,90,90,89,89,89,88,88,88,87,
06392     86,86,86,86,85,85,85,84,84,84,84,83,83,83,83,83,82,82,82,82,82,
06393     81,81,81,81,80,80,80,80,79,79,78,78,77,77,77,76,75,75,74,74,74,
06394     73,73,73,72,72,71,71,71,71,70,70,69,68,67,65,65,64,64,64,63,63,
06395     63,62,62,62,62,60,60,60,60,59,59,59,58,58,58,58,57,56,56,56,56,
06396     55,55,54,54,54,53,53,53,53,53,53,52,52,52,52,52,50,50,50,50,50,
06397     50,49,49,48,48,48,47,47,46,45,45,45,44,44,44,44,44,43,43,43,43,
06398     43,42,42,42,42,41,41,40,40,40,39,39,38,37,36,36,36,36,35,35,34,
06399     34,33,33,32,32,32,31,31,31,30,30,30
06400   };
06401   const int n3c3w4_m[] = {
06402     150, // Capacity
06403     200, // Number of items
06404     // Size of items (sorted)
06405     100,100,100,99,99,98,98,98,98,97,96,95,94,94,94,94,93,93,93,93,
06406     93,92,92,92,91,90,90,90,90,90,90,89,89,88,88,87,87,86,86,86,86,
06407     86,85,85,85,85,84,84,83,83,83,82,82,82,82,82,81,81,80,80,79,79,
06408     79,79,79,79,78,78,78,77,77,76,76,76,76,75,75,75,74,74,74,74,74,
06409     73,73,73,73,72,72,71,69,69,69,69,68,68,68,67,67,66,65,65,65,63,
06410     63,63,62,61,61,61,61,60,60,59,59,59,59,58,58,58,58,58,56,56,56,
06411     55,55,54,54,54,53,53,53,53,53,52,52,52,52,51,51,51,51,51,50,50,
06412     49,49,49,48,48,47,46,46,46,46,45,45,45,44,44,44,42,42,42,41,41,
06413     39,39,38,38,38,38,38,37,37,37,37,37,37,37,36,36,36,36,35,35,35,
06414     34,34,34,33,32,31,30,30,30,30,30,30
06415   };
06416   const int n3c3w4_n[] = {
06417     150, // Capacity
06418     200, // Number of items
06419     // Size of items (sorted)
06420     100,100,100,100,100,99,99,98,98,97,97,97,97,96,95,95,93,93,93,
06421     93,92,91,91,90,90,89,89,89,88,88,88,87,87,87,86,86,86,86,86,85,
06422     85,85,84,84,84,84,84,84,83,83,83,82,82,82,81,81,81,80,80,79,79,
06423     79,78,78,78,78,78,77,77,76,75,75,75,75,75,75,74,74,74,74,74,72,
06424     71,71,71,71,71,71,70,69,69,69,68,67,66,65,65,65,64,64,63,63,62,
06425     62,62,61,60,59,59,59,59,58,58,58,57,57,57,57,56,56,56,56,55,54,
06426     54,53,52,52,51,50,49,49,49,49,48,48,48,48,48,47,47,47,46,46,46,
06427     46,46,45,45,45,45,44,44,44,44,44,44,43,43,43,42,42,42,41,41,41,
06428     41,40,40,40,40,40,40,39,39,38,38,37,37,36,36,35,34,34,34,34,34,
06429     33,33,33,33,33,33,32,32,32,32,31,30,30
06430   };
06431   const int n3c3w4_o[] = {
06432     150, // Capacity
06433     200, // Number of items
06434     // Size of items (sorted)
06435     100,100,100,100,100,99,98,98,98,98,97,97,97,96,96,96,96,96,96,
06436     95,94,94,93,92,92,92,91,91,91,91,90,90,90,89,89,89,89,89,87,87,
06437     87,86,86,86,86,86,85,85,85,83,83,82,82,81,81,81,80,80,79,79,78,
06438     78,78,78,77,77,77,77,76,76,76,75,75,75,75,73,73,73,72,72,71,71,
06439     70,70,70,69,69,68,68,67,67,67,67,66,65,64,64,64,64,63,63,63,63,
06440     62,62,61,61,61,61,60,60,60,60,59,59,59,59,59,58,58,58,58,57,57,
06441     57,57,56,56,55,55,55,55,54,54,53,53,53,51,51,51,50,50,50,50,50,
06442     49,49,48,47,47,47,47,47,46,45,45,44,44,43,42,42,41,41,41,40,40,
06443     40,40,39,39,37,37,37,37,37,36,36,36,35,35,35,35,35,34,34,33,33,
06444     33,33,32,31,31,31,31,31,31,31,30,30,30
06445   };
06446   const int n3c3w4_p[] = {
06447     150, // Capacity
06448     200, // Number of items
06449     // Size of items (sorted)
06450     100,100,100,99,99,97,97,97,96,95,95,95,94,94,94,93,93,93,92,92,
06451     92,92,92,92,91,91,91,91,90,90,89,88,88,86,85,85,83,83,83,82,82,
06452     81,81,80,80,80,79,79,79,77,77,77,77,77,77,77,77,77,76,76,76,75,
06453     75,74,74,74,74,74,74,73,73,72,72,72,71,71,70,70,70,68,68,68,67,
06454     67,67,67,67,66,66,66,66,66,65,65,65,65,64,64,64,64,63,63,62,62,
06455     62,62,62,62,61,61,61,60,60,60,60,60,59,59,58,58,58,58,57,57,57,
06456     56,56,56,55,54,54,54,54,54,53,53,53,53,52,52,51,51,50,50,50,50,
06457     50,49,49,49,48,48,48,47,47,46,46,46,45,45,45,44,44,44,43,43,42,
06458     41,41,40,39,38,38,38,38,37,37,37,36,36,35,35,35,34,34,34,34,33,
06459     33,33,33,33,32,32,31,30,30,30,30,30
06460   };
06461   const int n3c3w4_q[] = {
06462     150, // Capacity
06463     200, // Number of items
06464     // Size of items (sorted)
06465     100,100,99,99,99,99,98,98,98,98,98,96,96,96,95,95,95,95,95,94,
06466     94,94,92,92,92,91,91,91,90,89,89,88,88,86,86,85,85,85,84,83,83,
06467     82,82,81,81,81,81,80,80,79,79,79,79,79,79,79,78,78,78,78,78,77,
06468     77,77,77,77,77,77,76,75,75,75,74,73,73,73,73,72,72,72,71,71,71,
06469     70,70,70,68,68,67,67,66,66,66,66,66,66,65,65,65,65,65,64,63,63,
06470     63,63,63,62,62,62,62,62,62,61,61,61,61,61,60,60,59,59,57,56,56,
06471     56,56,56,55,55,55,54,53,53,52,52,52,51,50,50,50,50,50,49,49,48,
06472     48,48,47,47,46,46,46,46,45,44,44,44,44,44,43,43,43,42,42,41,41,
06473     41,41,41,41,41,40,40,40,40,39,38,38,38,38,38,38,37,37,36,36,35,
06474     35,34,34,33,33,33,33,33,32,32,32,30
06475   };
06476   const int n3c3w4_r[] = {
06477     150, // Capacity
06478     200, // Number of items
06479     // Size of items (sorted)
06480     100,100,100,100,100,99,99,98,98,98,98,98,98,97,97,97,96,95,95,
06481     94,93,92,92,92,92,91,91,91,91,91,90,90,90,90,90,89,89,88,88,88,
06482     87,86,85,85,85,85,84,83,83,83,81,80,80,80,79,79,79,79,78,78,78,
06483     78,78,78,77,77,77,77,76,76,76,76,76,75,75,75,74,73,73,73,73,73,
06484     73,72,72,71,71,70,69,69,68,67,67,67,67,66,66,65,65,65,64,62,62,
06485     61,61,61,61,61,61,60,59,59,59,59,59,58,58,58,58,57,57,57,57,57,
06486     57,56,56,56,55,55,55,54,54,54,54,54,54,53,53,53,52,51,50,50,50,
06487     49,49,49,48,48,47,47,46,46,45,45,45,44,44,44,43,42,42,42,41,41,
06488     41,40,40,39,39,39,38,38,37,37,36,36,35,34,33,33,33,33,33,33,32,
06489     32,32,32,32,31,31,31,31,31,30,30,30,30
06490   };
06491   const int n3c3w4_s[] = {
06492     150, // Capacity
06493     200, // Number of items
06494     // Size of items (sorted)
06495     98,98,98,97,97,97,96,96,96,94,94,94,93,93,93,93,92,90,90,89,88,
06496     87,87,87,86,86,86,86,86,85,85,85,84,84,83,83,82,82,81,81,80,80,
06497     80,80,78,78,78,77,77,77,77,77,77,76,76,75,75,75,74,74,74,73,73,
06498     73,72,72,72,71,71,71,71,71,71,71,71,71,70,69,69,69,68,68,68,68,
06499     67,67,66,66,66,66,66,66,65,64,64,64,64,63,63,63,63,62,62,62,62,
06500     61,61,61,60,60,60,59,58,58,58,57,57,56,56,55,55,55,54,54,54,53,
06501     53,53,53,53,53,52,52,52,52,51,51,50,50,50,50,50,50,49,49,48,48,
06502     47,47,47,47,47,46,46,45,45,44,43,43,43,42,42,41,41,41,41,40,40,
06503     39,39,39,38,38,38,37,37,37,37,36,36,36,35,34,33,33,33,33,33,32,
06504     32,32,32,32,31,31,31,31,30,30,30
06505   };
06506   const int n3c3w4_t[] = {
06507     150, // Capacity
06508     200, // Number of items
06509     // Size of items (sorted)
06510     100,100,99,99,99,98,98,98,98,98,97,97,96,96,96,96,94,93,93,92,
06511     92,90,90,89,89,89,88,88,88,88,88,88,87,87,87,87,86,86,85,85,84,
06512     83,82,82,81,81,80,80,80,80,80,80,79,79,79,78,78,77,77,76,76,76,
06513     75,75,75,75,75,74,74,74,74,73,72,72,72,71,71,71,71,71,70,70,69,
06514     69,69,69,68,67,66,66,66,65,65,65,64,62,61,61,61,61,61,61,60,60,
06515     60,59,59,59,59,58,58,58,57,57,56,56,56,56,54,54,54,54,53,53,53,
06516     53,53,53,52,52,52,51,51,51,50,49,49,49,48,48,47,47,47,47,46,46,
06517     46,46,45,45,45,44,43,43,43,43,42,42,41,41,41,41,41,40,40,40,40,
06518     40,39,39,38,38,37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,34,
06519     34,34,34,34,34,33,33,32,31,31,30,30
06520   };
06521   const int n4c1w1_a[] = {
06522     100, // Capacity
06523     500, // Number of items
06524     // Size of items (sorted)
06525     100,99,99,99,99,98,98,98,98,97,97,97,97,97,97,97,96,96,96,96,
06526     96,96,96,95,95,95,95,95,94,94,94,94,93,93,93,92,92,92,91,91,91,
06527     91,90,90,90,89,89,89,89,89,88,88,88,88,87,87,87,87,87,87,86,86,
06528     86,86,86,86,85,85,85,84,84,83,83,83,83,83,83,82,82,82,82,81,81,
06529     81,81,80,80,80,80,80,79,79,79,78,78,78,78,78,78,77,77,77,76,76,
06530     76,76,76,75,75,75,75,75,75,74,74,74,74,73,73,73,73,73,73,73,72,
06531     72,72,72,71,71,71,71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,
06532     68,68,67,67,67,67,67,66,66,66,65,65,65,64,64,64,64,63,63,63,63,
06533     63,63,62,62,62,62,62,62,62,61,61,61,60,60,60,60,60,60,59,59,59,
06534     58,58,58,58,58,58,57,57,57,57,57,56,56,56,56,56,55,55,54,54,54,
06535     54,54,54,54,53,53,53,53,53,52,52,52,51,51,51,51,50,50,50,50,50,
06536     49,49,49,48,48,48,48,48,48,47,47,47,46,46,46,46,46,46,45,45,45,
06537     45,44,44,44,44,43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,42,
06538     42,41,41,41,41,41,40,40,40,40,39,39,39,39,38,38,38,38,38,38,37,
06539     37,37,37,37,37,37,37,36,36,36,36,36,36,35,35,35,35,35,35,34,34,
06540     34,34,33,33,33,33,33,32,32,32,32,32,31,31,31,31,31,31,31,31,31,
06541     30,30,30,30,29,29,29,29,29,28,28,28,28,28,28,28,27,27,27,27,27,
06542     27,27,27,26,26,26,26,26,26,26,25,25,25,25,24,24,24,24,24,24,24,
06543     23,23,23,23,23,22,22,22,22,22,22,21,21,21,21,20,20,20,20,20,20,
06544     19,19,19,19,19,19,19,19,18,18,18,18,18,17,17,17,17,17,17,17,16,
06545     16,15,15,15,15,15,15,15,15,14,14,14,14,13,13,13,13,13,13,13,13,
06546     13,12,12,12,11,11,11,11,11,11,11,11,11,10,10,10,10,10,10,10,10,
06547     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,
06548     2,2,1,1,1,1,1,1
06549   };
06550   const int n4c1w1_b[] = {
06551     100, // Capacity
06552     500, // Number of items
06553     // Size of items (sorted)
06554     100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,98,98,
06555     98,97,97,97,97,97,97,96,96,96,95,94,94,93,93,93,93,93,93,93,92,
06556     92,92,92,92,92,91,91,91,91,91,91,91,90,90,90,90,90,90,90,90,90,
06557     90,90,89,89,89,88,88,88,87,87,86,86,86,86,85,85,85,85,85,84,84,
06558     84,84,84,84,83,83,83,82,82,82,82,82,81,81,80,80,80,80,80,80,79,
06559     79,79,79,78,78,78,78,77,77,77,77,77,77,77,77,77,76,76,76,76,76,
06560     75,75,75,75,75,75,74,74,74,73,73,73,73,72,72,72,72,72,72,72,71,
06561     71,71,70,70,70,70,70,69,69,69,68,68,68,68,67,67,67,67,67,66,66,
06562     66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,63,
06563     63,63,62,62,62,62,62,62,62,62,62,62,61,61,61,61,61,61,60,60,60,
06564     60,60,60,60,60,60,59,59,59,59,59,59,59,59,58,58,57,57,57,56,56,
06565     56,56,56,55,55,55,55,55,54,54,54,54,54,53,53,52,52,52,52,51,51,
06566     51,51,50,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,47,47,47,
06567     47,47,47,47,46,46,46,46,46,45,45,45,44,44,44,44,44,44,44,44,44,
06568     43,43,43,43,43,43,43,42,42,42,41,41,41,41,41,41,41,41,40,40,40,
06569     40,40,40,39,39,39,39,39,38,38,38,38,37,37,37,37,37,37,37,36,36,
06570     36,36,36,36,36,36,35,35,35,35,35,35,35,35,34,34,33,33,33,32,32,
06571     32,32,32,31,31,31,30,30,30,30,30,30,30,30,30,29,29,28,28,28,28,
06572     27,27,26,26,26,26,26,26,26,26,26,26,26,25,25,25,25,25,24,24,24,
06573     24,23,23,23,22,22,22,22,22,22,21,21,21,21,20,20,20,20,20,19,19,
06574     19,19,19,19,18,18,18,18,18,17,17,17,16,16,16,16,16,16,15,15,15,
06575     15,15,15,15,14,14,14,14,13,13,12,12,12,12,12,12,12,11,11,11,11,
06576     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,
06577     3,3,3,3,3,3,2,2,2,1,1,1
06578   };
06579   const int n4c1w1_c[] = {
06580     100, // Capacity
06581     500, // Number of items
06582     // Size of items (sorted)
06583     100,100,100,99,99,99,98,98,98,98,98,98,98,98,97,97,97,97,97,97,
06584     97,97,97,97,97,96,96,96,96,96,95,95,95,95,95,95,94,93,93,93,92,
06585     92,92,92,92,92,92,92,91,91,91,90,90,89,89,89,88,88,87,87,87,87,
06586     87,87,87,86,86,86,85,85,84,84,84,83,83,83,83,83,82,82,82,82,82,
06587     82,82,81,81,81,81,81,80,80,80,80,80,79,79,79,79,79,79,78,78,77,
06588     77,77,77,77,77,76,75,75,75,74,74,74,74,73,73,73,73,73,73,73,72,
06589     72,71,71,71,71,71,71,71,70,70,70,70,70,69,68,68,68,68,68,67,67,
06590     67,66,66,66,66,65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,
06591     64,64,64,63,63,63,63,63,62,62,61,61,61,60,60,60,60,59,59,59,59,
06592     58,58,58,58,57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,55,
06593     55,55,55,54,54,53,53,53,53,52,52,52,52,51,51,51,51,51,51,50,50,
06594     50,50,50,50,50,49,49,49,49,49,49,49,48,48,47,47,46,46,46,45,45,
06595     45,45,44,44,44,44,43,43,43,43,43,42,42,42,42,42,42,42,42,42,42,
06596     41,41,41,41,40,40,40,40,39,39,39,39,39,38,38,38,38,38,38,38,38,
06597     37,37,37,37,37,37,37,37,37,36,36,36,36,36,35,35,35,35,35,35,35,
06598     34,34,34,34,34,33,33,33,33,33,33,33,33,32,32,32,32,31,31,31,31,
06599     31,31,31,31,30,30,30,30,30,29,29,29,29,28,28,28,28,27,27,26,26,
06600     26,26,25,25,25,25,25,24,24,24,24,24,24,23,23,23,23,23,23,22,22,
06601     22,22,22,21,21,21,21,20,20,20,20,20,19,19,19,19,19,19,19,19,19,
06602     19,18,18,18,18,17,17,17,17,17,17,17,17,17,17,16,16,16,16,16,16,
06603     15,15,15,15,15,15,15,15,15,14,14,14,14,13,13,13,13,13,12,12,12,
06604     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,
06605     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,
06606     2,2,1
06607   };
06608   const int n4c1w1_d[] = {
06609     100, // Capacity
06610     500, // Number of items
06611     // Size of items (sorted)
06612     100,100,100,100,100,100,99,99,99,99,99,98,98,97,97,97,97,97,97,
06613     97,96,96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,93,93,93,93,
06614     93,93,93,92,92,92,92,92,92,91,91,91,91,90,90,90,90,89,89,89,89,
06615     89,89,89,89,88,88,88,88,88,88,88,88,88,88,87,87,87,87,86,86,86,
06616     86,85,85,85,85,84,84,84,84,84,84,84,83,83,83,83,83,83,83,82,81,
06617     81,81,81,81,81,81,80,80,80,79,79,79,79,78,78,78,78,77,77,77,77,
06618     76,76,76,76,76,75,74,74,74,74,74,73,73,72,72,72,72,71,71,70,70,
06619     70,70,69,69,69,69,69,68,68,68,68,68,68,68,68,67,67,67,67,67,66,
06620     66,65,65,65,64,64,63,63,63,63,63,63,63,63,63,63,62,62,61,61,61,
06621     60,60,60,60,59,59,59,58,58,58,57,57,56,56,56,56,56,56,56,55,55,
06622     55,55,54,54,54,54,54,53,53,53,53,52,52,52,51,51,51,51,51,51,51,
06623     51,51,51,50,50,50,50,50,50,50,50,50,49,49,49,49,48,48,47,46,46,
06624     46,46,46,46,46,45,45,45,44,44,44,44,43,43,43,43,43,43,42,42,42,
06625     42,42,42,42,42,42,42,42,41,41,41,41,41,40,40,40,40,39,39,39,39,
06626     39,39,38,38,38,38,37,37,37,37,37,37,37,36,36,35,35,35,35,34,34,
06627     33,33,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,32,32,32,31,
06628     31,31,31,31,30,30,30,30,30,30,29,29,29,29,28,28,28,27,27,27,27,
06629     26,26,26,26,26,26,25,25,25,25,25,25,24,24,24,24,24,23,23,23,23,
06630     22,22,22,22,22,22,21,21,21,21,21,21,21,21,20,20,20,20,20,19,19,
06631     19,19,19,19,19,19,18,18,17,17,17,17,17,16,16,16,16,16,16,15,15,
06632     15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,12,12,12,12,12,12,
06633     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,
06634     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,
06635     1,1,1,1,1
06636   };
06637   const int n4c1w1_e[] = {
06638     100, // Capacity
06639     500, // Number of items
06640     // Size of items (sorted)
06641     100,100,100,99,99,99,98,98,98,98,98,98,97,97,97,97,97,97,97,96,
06642     96,96,96,96,96,96,96,95,95,95,95,95,95,94,94,94,94,93,93,93,93,
06643     93,92,92,92,92,90,90,90,90,90,90,90,89,89,89,89,89,89,88,88,88,
06644     88,88,88,88,88,87,87,86,86,86,86,86,85,85,85,85,84,84,84,83,83,
06645     83,83,82,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,79,79,79,
06646     79,78,78,78,78,78,78,78,78,78,78,78,78,77,77,77,77,77,77,76,76,
06647     76,76,76,76,75,75,75,74,74,74,74,74,74,73,73,73,73,73,73,72,72,
06648     72,72,72,72,72,71,71,71,71,71,71,70,70,70,70,70,70,70,70,69,69,
06649     69,68,68,68,68,68,68,68,67,67,67,67,67,67,66,66,66,66,66,66,65,
06650     65,65,64,64,64,63,63,63,63,63,63,63,63,63,63,63,62,62,62,62,61,
06651     60,60,60,60,60,60,59,59,59,58,58,58,58,58,57,57,57,57,57,57,56,
06652     56,56,56,56,55,55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,53,
06653     53,52,52,52,52,52,52,52,51,51,51,51,51,51,51,51,51,50,50,50,50,
06654     50,50,50,49,49,49,49,48,48,48,48,48,48,47,47,47,47,47,46,46,46,
06655     46,46,45,45,45,45,44,44,44,43,43,43,43,43,42,42,42,41,41,41,40,
06656     40,40,40,39,39,39,39,39,38,38,38,38,38,38,37,37,36,36,36,36,35,
06657     35,34,34,34,34,33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,
06658     30,30,30,30,30,30,30,29,29,29,29,28,28,28,28,28,28,27,27,27,26,
06659     26,25,25,25,24,24,24,24,24,24,23,23,23,23,23,23,23,22,22,22,22,
06660     21,21,21,21,21,20,20,20,20,19,19,19,19,18,18,18,18,17,17,17,17,
06661     17,17,16,16,16,16,16,16,16,16,16,16,15,15,15,14,14,14,14,14,13,
06662     13,13,13,12,12,12,12,12,12,12,11,11,11,11,10,10,10,10,9,9,9,9,
06663     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,
06664     2,1,1,1,1,1,1
06665   };
06666   const int n4c1w1_f[] = {
06667     100, // Capacity
06668     500, // Number of items
06669     // Size of items (sorted)
06670     100,100,100,100,100,99,99,98,98,98,98,98,97,97,97,97,97,97,96,
06671     96,96,96,95,95,95,95,95,94,94,93,93,93,93,93,93,92,92,92,92,92,
06672     92,91,91,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,89,89,89,
06673     88,88,88,87,87,87,87,87,87,87,86,86,86,86,86,86,86,86,85,85,84,
06674     84,84,84,84,84,84,84,83,83,83,83,83,83,82,82,81,81,81,81,81,81,
06675     80,79,79,79,79,79,79,78,78,78,78,77,77,77,77,77,77,76,76,76,76,
06676     76,75,75,75,75,75,74,74,74,74,73,73,73,73,72,72,71,71,71,71,71,
06677     71,71,71,71,71,70,70,70,70,70,70,70,69,69,69,68,68,68,68,68,67,
06678     67,66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,65,64,64,64,64,
06679     64,63,63,63,63,63,63,63,62,62,62,61,61,61,61,61,61,61,60,60,60,
06680     60,60,60,59,59,59,59,59,59,59,59,58,58,58,58,57,57,57,57,57,57,
06681     57,57,56,56,56,56,56,55,55,55,55,55,53,53,53,53,52,52,52,51,51,
06682     51,51,51,51,50,50,50,50,50,49,49,49,49,49,49,49,49,49,48,48,48,
06683     47,47,47,47,47,47,47,47,46,46,46,46,46,45,45,45,45,45,45,44,44,
06684     44,43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,41,40,40,40,40,
06685     40,40,39,39,39,39,39,38,38,38,38,38,37,37,37,37,37,37,37,37,37,
06686     37,36,36,36,36,36,36,36,36,36,35,34,34,33,33,33,33,32,32,32,32,
06687     32,32,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,29,29,
06688     29,29,28,28,28,28,28,28,28,27,27,27,27,27,26,26,26,26,26,26,26,
06689     25,25,25,25,24,24,24,24,24,24,24,24,24,23,23,23,23,23,23,22,22,
06690     22,21,21,21,21,20,20,20,20,20,20,19,19,19,19,18,18,17,17,17,17,
06691     17,17,17,17,16,15,15,15,14,14,13,13,13,12,12,12,12,11,11,11,11,
06692     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,
06693     3,3,2,2,2,2,2,2,1,1,1,1
06694   };
06695   const int n4c1w1_g[] = {
06696     100, // Capacity
06697     500, // Number of items
06698     // Size of items (sorted)
06699     100,99,99,99,99,98,98,98,97,97,97,97,97,97,96,96,96,96,96,96,
06700     96,95,95,95,95,95,94,94,94,94,94,94,94,93,93,93,92,92,92,91,91,
06701     91,90,90,90,90,90,90,89,89,89,89,89,89,89,89,88,88,88,88,88,88,
06702     88,88,88,88,88,87,87,87,87,87,86,86,86,86,86,85,85,85,85,85,85,
06703     85,85,85,84,84,84,84,83,83,83,82,82,82,81,81,81,81,80,80,80,80,
06704     80,80,80,80,80,79,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,
06705     78,77,77,77,77,76,76,76,75,75,75,75,74,74,74,74,74,74,73,73,73,
06706     73,72,72,72,72,71,70,70,70,70,69,69,69,69,68,68,68,68,68,68,68,
06707     67,67,67,67,67,67,67,67,67,67,66,66,66,66,66,66,66,65,65,64,64,
06708     64,64,63,62,62,62,62,61,61,61,60,60,60,60,60,60,59,59,59,59,58,
06709     58,58,58,58,58,58,58,58,57,57,57,57,57,57,56,56,56,56,55,55,55,
06710     54,54,54,54,53,53,53,53,53,52,52,52,52,51,51,51,51,51,50,50,50,
06711     50,49,49,49,49,49,49,48,48,48,48,48,48,48,48,47,47,47,47,46,46,
06712     46,46,46,45,45,45,45,44,44,44,44,44,44,44,44,44,44,43,43,43,43,
06713     43,43,43,42,42,42,42,42,41,41,41,40,40,40,39,39,39,39,39,39,38,
06714     38,38,38,38,38,38,38,37,37,37,37,36,36,36,36,36,35,35,35,34,34,
06715     34,33,33,33,33,33,33,32,31,31,31,31,31,30,30,30,30,30,30,30,29,
06716     29,28,28,28,28,28,28,28,27,27,27,27,27,27,26,26,26,26,26,26,26,
06717     26,26,26,26,26,25,25,24,24,24,23,23,21,21,21,21,21,21,20,20,20,
06718     20,20,19,19,19,19,19,18,18,18,18,18,18,18,17,17,17,17,17,17,17,
06719     17,17,17,16,16,16,16,16,16,15,15,15,15,15,14,14,14,14,14,13,13,
06720     13,12,12,12,12,12,12,12,12,11,11,11,11,11,10,10,9,9,9,9,9,9,9,
06721     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,
06722     2,1,1,1,1,1
06723   };
06724   const int n4c1w1_h[] = {
06725     100, // Capacity
06726     500, // Number of items
06727     // Size of items (sorted)
06728     100,100,99,99,99,99,98,98,98,97,97,97,97,96,96,96,96,96,96,96,
06729     95,95,95,94,94,94,93,93,92,92,92,92,92,92,92,92,92,91,91,91,91,
06730     91,90,90,90,90,90,90,89,89,89,89,89,89,88,88,88,88,88,88,88,88,
06731     88,88,87,87,86,86,86,86,85,85,85,84,84,84,84,83,83,83,83,83,82,
06732     82,82,82,82,82,82,81,81,81,80,80,80,80,79,79,79,79,79,79,78,78,
06733     78,77,77,77,76,76,76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,
06734     74,74,74,74,74,74,74,73,73,73,73,72,72,72,72,72,72,72,72,71,71,
06735     70,70,69,69,69,69,69,69,69,68,68,68,68,67,67,67,67,67,67,66,66,
06736     66,66,66,66,66,66,66,66,65,65,63,63,63,63,63,63,63,63,63,62,62,
06737     62,62,62,62,62,62,61,61,61,60,60,60,60,60,60,60,59,59,59,59,59,
06738     59,59,58,58,58,58,58,58,57,57,57,56,56,56,56,55,55,55,54,54,53,
06739     53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,
06740     50,50,50,49,48,48,48,48,48,48,47,47,47,47,47,47,46,46,46,46,46,
06741     46,45,45,44,44,43,43,43,42,42,42,42,42,41,41,41,41,40,40,40,40,
06742     40,40,39,39,39,39,39,38,38,38,38,38,37,37,37,37,36,36,36,36,36,
06743     36,36,36,36,35,35,35,34,34,34,34,34,33,33,33,33,32,32,32,32,32,
06744     32,32,32,32,32,32,31,31,31,31,30,30,30,30,30,30,29,29,29,29,29,
06745     29,29,28,28,28,28,28,28,27,27,27,26,26,26,26,26,26,26,26,25,25,
06746     25,25,24,24,23,23,23,23,23,22,22,22,22,21,21,21,21,21,21,21,21,
06747     20,20,20,20,20,20,20,20,19,19,19,19,19,18,18,18,18,17,17,17,17,
06748     17,16,16,16,16,16,15,15,14,14,14,14,14,14,14,14,14,14,14,13,13,
06749     12,12,12,12,12,12,12,11,11,11,11,10,10,10,10,10,10,9,9,9,8,8,
06750     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,
06751     2,2,2,1,1,1,1
06752   };
06753   const int n4c1w1_i[] = {
06754     100, // Capacity
06755     500, // Number of items
06756     // Size of items (sorted)
06757     100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,98,
06758     98,98,97,97,97,97,97,96,96,95,95,95,95,94,94,93,93,93,93,92,92,
06759     92,92,92,91,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,88,88,
06760     88,88,88,88,88,87,87,87,87,87,87,86,86,86,86,86,86,86,85,85,85,
06761     85,85,84,84,84,84,84,83,83,82,82,82,82,82,82,82,81,81,81,81,81,
06762     81,80,80,80,80,80,79,78,78,78,78,77,77,77,77,77,76,76,76,76,76,
06763     75,75,75,75,75,75,75,74,74,74,74,74,74,73,73,73,73,73,73,73,72,
06764     72,72,72,70,70,70,69,69,69,69,69,68,68,68,68,68,68,67,67,66,66,
06765     66,65,65,65,65,65,64,64,64,63,63,63,63,63,63,63,63,63,62,62,62,
06766     62,62,61,61,60,60,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,
06767     58,57,57,56,56,56,56,55,55,55,55,55,55,54,54,54,54,54,53,53,53,
06768     53,53,53,53,53,52,52,52,52,51,51,51,51,51,50,50,50,50,50,50,50,
06769     50,50,50,50,50,49,49,49,49,49,48,48,48,48,48,48,48,48,48,47,47,
06770     47,47,47,47,46,46,46,46,45,45,45,45,44,44,44,44,44,43,43,43,43,
06771     42,42,42,42,41,41,41,41,41,41,41,41,41,41,41,41,41,40,40,40,40,
06772     40,40,39,39,39,39,39,39,39,39,39,38,38,38,38,38,38,37,37,37,37,
06773     37,37,37,37,36,36,36,35,35,35,35,34,34,34,34,34,34,34,34,33,33,
06774     33,32,32,32,32,32,32,32,32,32,32,32,32,31,31,31,31,31,31,31,29,
06775     29,29,29,28,28,28,28,28,28,28,27,27,27,27,26,26,25,25,25,25,24,
06776     24,23,23,23,23,23,23,23,22,22,21,21,20,20,20,20,20,19,19,19,19,
06777     18,18,18,18,18,18,17,17,17,17,16,16,15,15,15,14,14,14,14,14,14,
06778     14,14,14,13,13,13,13,13,12,12,12,11,11,11,11,11,10,10,10,9,9,
06779     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,
06780     2,2,2,1,1,1,1,1,1
06781   };
06782   const int n4c1w1_j[] = {
06783     100, // Capacity
06784     500, // Number of items
06785     // Size of items (sorted)
06786     100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,97,97,97,97,
06787     97,97,97,96,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,94,
06788     93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,92,92,92,91,
06789     91,91,91,90,90,90,90,90,90,90,89,88,88,88,88,88,87,87,87,87,87,
06790     87,86,86,86,86,85,85,85,85,84,84,84,84,84,83,83,83,83,83,83,83,
06791     82,82,82,82,82,81,81,81,81,81,81,80,80,80,80,80,80,79,79,79,78,
06792     78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,76,76,76,76,76,76,
06793     75,75,75,75,75,75,74,74,74,74,73,73,73,73,72,72,72,72,71,71,71,
06794     71,71,71,70,70,70,70,70,69,69,69,69,69,69,68,68,67,67,67,67,67,
06795     66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,64,
06796     64,63,63,63,63,63,63,63,63,63,63,63,62,62,62,62,61,61,61,60,60,
06797     60,60,60,60,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,58,58,
06798     57,57,57,57,57,57,56,56,56,55,55,55,55,55,55,55,54,54,54,54,54,
06799     53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,51,50,49,49,48,48,
06800     48,48,48,47,47,46,46,46,45,45,45,45,45,45,45,45,44,44,44,44,44,
06801     43,43,43,43,43,42,42,42,41,41,40,39,39,39,39,39,39,38,38,38,37,
06802     37,37,36,36,36,36,36,36,36,35,35,34,34,34,33,33,33,33,33,33,33,
06803     33,33,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,29,29,29,29,
06804     28,28,28,27,27,27,27,27,27,26,26,26,25,25,25,25,24,24,24,24,24,
06805     24,24,24,23,23,23,23,23,23,23,22,22,22,22,22,22,22,21,21,20,20,
06806     20,20,20,19,19,19,19,18,18,18,18,18,18,18,17,16,16,16,16,16,15,
06807     15,14,14,14,14,14,14,13,13,13,13,13,13,13,12,11,10,10,10,9,8,
06808     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,
06809     3,3,3,3,2,2,2,1,1
06810   };
06811   const int n4c1w1_k[] = {
06812     100, // Capacity
06813     500, // Number of items
06814     // Size of items (sorted)
06815     100,100,100,100,99,99,99,99,98,98,98,97,97,97,97,97,97,96,96,
06816     96,95,95,94,94,94,94,94,93,93,93,93,93,93,92,92,92,92,91,91,91,
06817     90,90,90,90,90,90,89,89,89,89,89,88,88,87,87,87,86,86,86,86,86,
06818     85,85,85,85,85,85,85,84,84,84,84,83,83,83,83,83,83,82,82,81,81,
06819     81,81,81,80,80,80,80,80,80,80,80,79,79,79,79,78,78,78,78,78,78,
06820     78,78,77,77,77,77,76,76,76,76,75,75,75,75,74,74,74,74,74,74,74,
06821     74,73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,71,71,70,70,70,
06822     70,69,69,69,69,69,69,69,68,68,68,68,68,68,68,67,67,67,67,67,66,
06823     66,66,66,66,66,65,65,65,64,64,64,64,64,64,63,63,63,63,62,62,62,
06824     61,61,61,61,61,61,60,60,60,60,60,60,60,60,59,59,58,58,58,58,58,
06825     58,58,58,58,58,57,57,57,56,56,56,55,55,55,55,55,55,54,54,54,54,
06826     54,53,53,53,53,53,53,53,52,52,52,52,52,51,51,51,50,50,50,50,50,
06827     50,49,49,49,49,49,49,49,49,49,49,49,49,48,48,47,47,46,46,46,46,
06828     46,46,46,46,46,46,46,45,45,45,44,44,44,43,43,43,43,43,42,42,42,
06829     42,42,42,41,41,41,40,40,40,40,40,40,40,39,39,39,39,39,39,38,38,
06830     37,37,37,37,37,37,36,36,36,36,36,35,35,35,35,35,35,35,35,35,34,
06831     34,34,33,33,33,33,33,32,32,32,32,32,31,31,31,30,30,30,30,30,30,
06832     30,29,29,29,29,29,29,28,28,28,28,28,28,28,28,28,27,27,27,27,27,
06833     26,26,26,26,26,25,25,25,24,24,23,23,23,22,22,22,22,22,22,22,22,
06834     22,22,21,21,21,21,20,20,20,19,19,19,19,19,18,18,18,17,17,17,17,
06835     17,17,17,17,17,16,16,16,16,16,15,15,15,15,14,14,14,14,13,13,13,
06836     12,12,12,12,12,11,11,10,10,10,10,10,10,10,8,8,8,8,8,8,8,7,7,7,
06837     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,
06838     1,1,1,1,1,1
06839   };
06840   const int n4c1w1_l[] = {
06841     100, // Capacity
06842     500, // Number of items
06843     // Size of items (sorted)
06844     100,100,100,100,100,99,99,99,99,99,99,99,98,97,97,97,96,96,96,
06845     96,96,96,96,96,95,95,95,95,94,94,94,94,94,94,93,93,93,93,92,91,
06846     91,91,91,91,90,90,89,89,89,89,88,88,88,88,87,87,87,87,87,87,87,
06847     86,86,86,86,86,85,85,85,85,85,85,85,85,85,85,85,85,84,84,84,84,
06848     84,83,83,82,82,82,82,82,81,81,81,81,81,80,80,80,79,79,79,79,79,
06849     79,79,78,78,78,78,78,78,77,77,77,77,77,77,76,76,76,76,76,76,76,
06850     75,75,75,75,75,74,74,74,74,74,74,74,74,74,73,73,73,73,73,72,72,
06851     72,72,72,71,71,71,71,71,71,70,70,70,69,69,69,69,69,69,68,68,68,
06852     68,68,68,68,68,67,67,67,67,66,66,66,66,66,66,66,65,65,65,65,65,
06853     64,64,64,64,64,63,63,63,62,62,62,62,62,62,62,62,61,61,61,61,60,
06854     60,60,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,56,56,56,
06855     56,56,56,56,55,55,55,55,54,54,54,54,53,53,53,53,52,52,52,52,52,
06856     52,51,51,51,51,51,51,50,50,49,49,49,49,49,48,48,48,48,48,47,47,
06857     47,47,47,46,46,46,45,45,44,44,44,44,44,44,43,43,43,43,42,42,42,
06858     42,42,42,42,42,41,41,41,41,41,40,40,40,39,39,39,38,38,38,38,38,
06859     38,37,37,37,37,36,36,36,36,36,36,36,36,35,35,35,35,35,35,34,34,
06860     34,34,34,34,34,34,34,33,33,33,32,31,31,31,31,31,31,30,30,30,30,
06861     30,29,29,29,29,29,29,29,28,28,28,27,27,27,27,26,26,26,26,26,26,
06862     25,25,25,25,25,25,24,24,24,24,24,24,23,23,23,23,23,23,22,22,22,
06863     22,21,21,21,21,21,21,21,21,19,18,18,18,18,18,18,18,17,17,17,17,
06864     17,17,17,17,17,16,16,16,16,15,15,15,15,15,15,15,15,15,14,14,14,
06865     13,13,13,13,12,12,12,12,12,11,11,10,10,10,10,10,10,10,9,9,9,9,
06866     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,
06867     2,2,2,2,1,1,1,1
06868   };
06869   const int n4c1w1_m[] = {
06870     100, // Capacity
06871     500, // Number of items
06872     // Size of items (sorted)
06873     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,97,
06874     97,97,96,96,95,95,95,94,94,94,94,94,94,94,93,93,93,93,93,93,93,
06875     92,92,92,92,91,91,91,90,90,90,90,90,90,89,89,89,89,89,88,88,88,
06876     88,88,88,87,87,87,87,87,86,86,86,86,86,86,85,84,84,84,83,83,83,
06877     83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,81,81,81,80,80,79,
06878     79,79,79,79,78,78,78,78,78,78,78,77,77,77,76,76,76,76,75,75,75,
06879     74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,72,72,72,71,71,70,
06880     70,70,70,70,70,69,69,69,69,68,68,68,67,67,67,67,67,66,66,66,66,
06881     66,64,64,64,64,63,63,63,63,63,63,63,62,62,62,62,61,61,60,60,60,
06882     60,60,60,60,60,60,60,59,59,58,58,58,58,58,58,57,57,57,57,56,56,
06883     56,56,56,56,54,53,53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,
06884     50,50,50,49,49,49,49,49,49,49,49,49,49,48,48,47,47,46,46,46,46,
06885     46,46,46,45,45,45,45,45,45,45,44,44,44,44,43,43,42,42,42,42,42,
06886     42,42,42,41,41,41,41,41,41,41,41,41,40,40,40,39,39,39,39,38,38,
06887     38,38,38,38,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,
06888     35,35,35,34,34,34,34,34,33,33,33,33,33,33,32,32,32,32,32,32,32,
06889     32,31,31,31,30,30,30,30,30,30,30,29,29,29,29,29,28,28,28,28,28,
06890     28,28,28,27,27,27,26,26,26,26,26,26,26,26,26,25,25,25,25,25,25,
06891     25,25,24,24,24,24,24,23,23,23,23,23,23,23,22,22,22,22,21,21,21,
06892     20,20,20,20,19,19,19,19,18,18,18,18,18,18,17,17,17,17,17,17,17,
06893     17,16,16,16,16,16,15,15,15,15,15,15,15,14,14,14,14,14,14,13,13,
06894     13,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,10,10,10,9,9,
06895     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,
06896     3,3,3,2,2,2,2,1,1,1
06897   };
06898   const int n4c1w1_n[] = {
06899     100, // Capacity
06900     500, // Number of items
06901     // Size of items (sorted)
06902     100,100,100,100,100,100,100,99,99,99,98,98,98,98,98,98,97,97,
06903     97,97,97,97,97,96,96,96,96,95,95,95,95,94,94,94,94,94,94,94,94,
06904     94,93,93,93,93,92,92,92,92,91,91,91,90,90,90,89,89,89,89,89,89,
06905     89,88,88,87,87,87,87,87,86,86,86,86,86,85,85,84,84,84,84,84,83,
06906     83,83,83,83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,80,80,80,
06907     80,79,79,79,79,79,78,78,78,78,77,77,76,76,76,76,76,76,75,75,75,
06908     75,75,75,75,75,75,75,74,74,73,73,73,73,73,73,72,72,72,72,72,71,
06909     71,71,71,70,70,70,70,69,69,69,68,68,68,68,68,68,68,68,68,67,67,
06910     67,67,66,66,66,66,66,66,66,66,66,65,64,64,64,64,64,64,64,64,63,
06911     63,63,63,63,63,63,62,62,62,62,62,62,62,62,61,61,61,61,61,61,61,
06912     60,59,59,59,59,58,58,58,58,57,57,57,57,57,56,55,55,55,55,55,55,
06913     54,54,54,54,54,54,54,53,53,53,53,53,53,53,52,52,52,51,51,51,51,
06914     51,51,51,50,50,50,50,50,50,49,49,49,49,49,49,49,48,48,48,47,47,
06915     46,46,45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,43,43,42,42,
06916     42,42,42,41,41,41,41,41,41,40,40,40,40,40,39,39,39,39,38,38,38,
06917     37,37,37,37,36,36,36,36,35,35,35,35,35,34,34,34,34,34,34,34,34,
06918     34,33,33,33,33,33,33,33,32,32,32,31,31,31,31,30,30,30,30,29,29,
06919     29,29,28,28,28,28,28,28,28,27,27,27,26,26,26,26,25,25,25,25,24,
06920     24,24,24,23,23,23,23,23,23,22,22,22,22,22,21,21,21,21,21,20,20,
06921     20,19,19,19,19,19,19,19,18,18,18,18,18,18,18,17,17,17,17,17,16,
06922     15,15,15,15,15,15,15,14,14,14,14,14,13,13,13,13,13,13,13,12,12,
06923     12,12,12,12,12,11,11,11,10,10,10,10,10,10,10,10,9,9,9,9,9,8,8,
06924     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,
06925     2,2,1,1,1,1,1,1
06926   };
06927   const int n4c1w1_o[] = {
06928     100, // Capacity
06929     500, // Number of items
06930     // Size of items (sorted)
06931     100,100,100,99,99,99,99,99,99,98,98,98,98,98,98,98,98,97,97,97,
06932     97,97,97,96,96,96,96,95,95,95,95,94,94,94,94,93,93,93,93,93,92,
06933     92,92,92,91,91,91,90,90,90,90,90,90,90,90,90,90,90,89,89,89,88,
06934     88,88,88,87,87,87,87,87,87,87,87,87,86,86,86,86,86,86,86,85,85,
06935     85,85,85,85,84,84,84,83,83,83,83,83,82,82,82,82,82,82,82,81,81,
06936     81,81,81,81,81,81,81,81,80,80,80,80,79,79,79,79,79,79,79,78,78,
06937     78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,74,74,
06938     74,74,73,73,73,73,73,72,72,72,72,72,71,71,71,71,69,69,69,69,69,
06939     69,68,68,67,67,67,67,67,66,66,66,66,65,65,65,65,65,64,64,63,62,
06940     62,62,62,61,61,61,61,60,60,60,60,60,60,60,60,59,59,59,59,59,59,
06941     59,59,58,58,58,58,57,57,57,57,57,57,57,57,56,55,55,55,55,54,53,
06942     53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,51,50,50,
06943     50,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,47,47,47,47,47,
06944     47,47,46,46,46,46,45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,
06945     43,43,43,42,42,42,42,42,42,41,41,41,41,40,40,40,40,39,39,38,38,
06946     37,37,37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,34,34,34,34,
06947     34,34,33,33,33,33,33,32,32,32,31,31,31,31,31,31,30,29,29,29,29,
06948     29,28,28,28,28,28,28,27,27,26,26,26,26,26,26,25,25,25,25,25,24,
06949     24,24,24,24,23,23,23,23,22,22,22,21,21,21,21,21,21,20,20,20,20,
06950     20,19,19,19,18,18,18,18,17,17,16,16,16,16,16,16,16,15,15,15,15,
06951     15,15,15,15,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,12,
06952     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,
06953     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,
06954     1,1,1,1
06955   };
06956   const int n4c1w1_p[] = {
06957     100, // Capacity
06958     500, // Number of items
06959     // Size of items (sorted)
06960     100,100,100,100,100,100,99,99,99,99,98,98,97,97,97,97,97,97,97,
06961     96,96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,
06962     93,92,92,92,91,91,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,
06963     89,89,89,89,89,88,88,88,88,88,88,88,87,87,87,87,86,86,86,86,86,
06964     85,85,85,85,85,84,84,84,84,84,83,83,83,83,83,83,82,82,82,82,81,
06965     81,81,81,81,81,81,80,80,80,80,80,80,79,78,78,78,78,78,77,77,77,
06966     77,77,77,77,76,76,76,76,76,76,76,76,75,75,75,75,75,75,74,74,74,
06967     74,73,73,73,73,72,72,72,72,72,72,72,71,71,71,71,71,71,70,70,70,
06968     70,70,70,70,69,69,69,69,69,68,68,68,68,68,67,66,66,66,65,65,65,
06969     65,65,65,65,64,64,63,63,63,63,63,62,62,62,62,62,62,61,61,61,61,
06970     61,60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,59,59,59,58,58,
06971     58,58,58,57,57,57,57,57,56,56,56,56,56,56,56,56,56,56,55,55,55,
06972     55,54,54,54,54,54,52,52,52,52,52,51,51,51,51,50,50,50,50,49,49,
06973     49,49,49,49,49,48,48,48,47,47,47,47,47,46,46,46,46,46,46,45,45,
06974     45,45,44,44,44,44,43,43,43,43,42,42,41,41,41,41,41,40,40,40,39,
06975     39,39,39,38,38,38,38,37,37,37,37,37,36,36,36,35,35,34,34,34,33,
06976     33,33,32,32,32,32,32,32,32,31,30,30,30,30,30,30,30,30,30,29,29,
06977     29,29,29,29,29,29,28,28,28,28,28,28,27,27,27,27,27,26,26,26,26,
06978     26,25,25,25,25,24,24,24,24,24,23,23,23,23,23,22,22,22,22,21,21,
06979     21,21,21,20,20,20,20,20,20,20,20,19,19,19,19,19,18,18,17,17,16,
06980     16,16,16,16,15,15,15,15,15,15,15,14,14,14,14,14,13,13,13,12,12,
06981     12,12,12,12,11,11,11,11,11,11,10,10,10,10,9,9,9,9,9,9,9,8,8,8,
06982     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,
06983     1,1,1,1,1,1
06984   };
06985   const int n4c1w1_q[] = {
06986     100, // Capacity
06987     500, // Number of items
06988     // Size of items (sorted)
06989     100,100,100,99,99,99,99,98,98,98,98,97,97,97,97,96,96,96,96,96,
06990     96,96,96,96,95,95,95,94,94,94,94,94,94,94,93,93,93,93,92,92,92,
06991     91,91,91,90,90,90,89,89,89,89,89,89,89,88,88,88,88,87,87,87,87,
06992     87,86,86,86,86,86,86,86,86,86,85,85,85,85,84,84,84,84,84,84,84,
06993     83,83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,
06994     80,79,79,79,79,78,78,78,78,78,77,77,77,77,77,77,77,77,77,77,77,
06995     76,76,76,75,75,75,75,75,75,74,74,74,73,73,73,73,73,73,73,72,72,
06996     72,72,72,72,71,71,71,71,71,70,70,70,70,70,69,69,69,69,69,68,68,
06997     68,68,68,68,68,68,67,67,67,67,67,67,67,67,66,66,66,66,66,66,66,
06998     66,66,65,65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,63,63,62,
06999     62,62,62,62,62,62,61,61,61,61,61,61,61,61,61,60,60,60,60,60,60,
07000     59,59,59,59,59,58,57,57,57,57,56,56,56,56,56,56,56,56,56,55,55,
07001     55,54,54,54,54,53,53,53,53,53,53,53,53,52,52,51,51,51,51,51,51,
07002     51,51,50,50,50,50,50,50,49,49,49,49,49,48,48,48,48,47,47,47,47,
07003     46,46,45,45,45,44,44,43,43,43,42,42,42,41,41,41,41,41,41,41,40,
07004     40,39,39,39,39,39,39,39,38,38,37,37,37,36,36,36,36,36,36,36,36,
07005     36,35,35,35,35,34,34,34,34,34,34,34,33,33,32,32,32,32,32,32,32,
07006     32,31,31,30,30,30,30,29,29,28,28,28,28,28,28,28,28,27,27,27,27,
07007     27,26,26,26,26,25,25,25,25,25,25,25,24,24,24,24,24,23,23,23,22,
07008     21,21,21,21,20,20,20,20,20,20,19,19,19,19,18,18,18,18,18,18,17,
07009     17,17,16,16,16,16,16,15,15,15,15,15,14,14,14,14,13,13,13,13,13,
07010     13,13,13,13,12,12,12,12,11,11,11,10,10,10,9,9,8,8,7,7,7,6,6,6,
07011     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,
07012     1,1,1,1,1
07013   };
07014   const int n4c1w1_r[] = {
07015     100, // Capacity
07016     500, // Number of items
07017     // Size of items (sorted)
07018     100,100,100,100,100,99,99,98,98,98,98,98,98,97,97,97,96,96,96,
07019     96,96,95,95,95,95,95,95,95,94,94,94,94,94,93,93,93,92,92,92,92,
07020     92,92,92,91,91,91,90,90,90,90,90,89,89,89,89,89,89,88,88,88,88,
07021     88,88,87,87,87,86,86,86,86,85,85,84,84,84,84,84,84,84,84,83,83,
07022     83,83,83,83,82,82,81,81,81,81,80,80,80,80,80,80,80,79,79,79,78,
07023     78,78,78,78,78,77,77,76,76,76,76,76,75,75,75,75,75,75,75,74,74,
07024     74,74,74,73,73,73,73,73,73,72,71,71,71,71,71,71,70,70,70,70,70,
07025     70,69,69,69,69,69,68,68,68,68,68,67,67,67,67,67,67,67,67,67,66,
07026     66,65,65,65,65,65,64,64,64,64,63,63,63,63,62,62,62,62,62,62,61,
07027     61,61,61,61,61,61,60,60,60,60,60,60,59,59,59,59,59,59,59,59,59,
07028     58,58,58,58,58,57,57,57,56,56,56,56,56,56,56,56,55,55,55,55,55,
07029     54,54,54,54,53,53,53,53,53,52,52,52,51,51,51,51,50,50,50,49,49,
07030     49,48,48,48,48,48,47,47,47,47,46,46,46,46,46,46,45,45,45,45,45,
07031     45,45,45,45,44,44,44,44,44,43,43,43,43,43,43,43,43,42,42,42,42,
07032     42,42,42,42,41,41,40,40,40,40,40,40,39,39,39,39,39,39,38,38,38,
07033     38,38,38,38,37,37,37,37,37,37,37,36,36,35,35,35,35,35,35,34,34,
07034     34,34,34,34,34,33,33,33,33,33,33,33,33,33,33,32,32,32,32,32,31,
07035     31,31,31,31,30,30,30,29,29,29,29,28,28,28,28,28,28,28,28,27,27,
07036     27,27,26,26,26,26,25,25,25,25,25,25,25,25,25,24,24,24,23,22,21,
07037     21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,19,19,19,19,19,19,
07038     18,18,18,18,18,18,17,17,17,17,17,17,16,16,16,16,15,15,15,15,15,
07039     15,14,14,14,14,14,14,14,14,13,13,12,12,12,12,12,11,11,11,11,10,
07040     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,
07041     4,4,4,4,4,3,3,3,2,1
07042   };
07043   const int n4c1w1_s[] = {
07044     100, // Capacity
07045     500, // Number of items
07046     // Size of items (sorted)
07047     100,99,99,99,99,99,99,99,99,99,99,98,98,98,98,98,98,98,98,98,
07048     97,96,96,96,96,96,96,96,95,95,95,95,95,95,95,94,94,93,92,92,92,
07049     92,91,91,91,91,91,91,90,90,90,90,90,89,89,88,88,88,88,88,88,88,
07050     88,87,87,87,87,87,86,86,86,86,85,85,85,85,85,85,85,85,85,84,84,
07051     84,84,83,83,83,83,83,82,82,82,82,82,82,82,82,82,81,81,81,81,81,
07052     81,81,80,80,80,80,80,79,79,79,79,79,78,78,78,78,78,78,78,78,78,
07053     78,77,77,77,77,77,77,77,77,76,76,76,76,75,75,75,75,74,74,74,74,
07054     73,73,73,73,73,73,72,71,71,71,70,70,70,69,69,69,69,69,69,68,68,
07055     68,68,68,68,68,68,67,67,66,66,66,66,66,66,66,66,66,66,66,65,65,
07056     65,65,65,65,65,64,64,64,64,64,63,63,63,63,63,62,62,62,62,62,62,
07057     61,61,61,61,61,61,61,60,60,60,60,60,60,60,59,59,59,59,59,59,59,
07058     58,58,57,57,57,57,55,54,54,54,54,53,53,53,53,52,52,52,51,51,50,
07059     50,50,50,49,49,48,48,48,48,47,47,47,46,46,46,46,46,46,45,45,44,
07060     44,44,44,44,44,44,44,44,44,43,43,43,43,43,43,42,42,42,42,41,41,
07061     41,41,41,41,40,40,40,40,39,39,39,39,39,39,39,39,39,39,38,38,38,
07062     38,38,38,37,37,37,36,36,36,36,36,35,35,35,35,35,35,35,35,34,34,
07063     34,34,34,33,33,33,32,32,32,32,32,31,31,31,31,31,30,30,30,29,29,
07064     29,29,29,29,28,28,27,27,27,27,27,27,27,27,26,26,26,26,26,25,25,
07065     25,24,24,24,24,23,23,23,23,23,23,23,22,22,22,22,22,21,21,21,21,
07066     21,21,20,20,20,20,20,20,19,19,19,19,19,19,19,18,18,18,17,17,17,
07067     17,17,17,17,17,17,17,17,16,16,16,16,16,16,16,15,15,15,14,14,14,
07068     14,14,14,13,13,13,13,13,13,12,11,11,11,11,10,10,10,10,9,9,9,9,
07069     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,
07070     2,2,2,1,1,1,1
07071   };
07072   const int n4c1w1_t[] = {
07073     100, // Capacity
07074     500, // Number of items
07075     // Size of items (sorted)
07076     100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,98,98,98,98,
07077     98,97,97,97,97,97,97,97,97,96,96,96,95,95,95,94,94,94,93,93,93,
07078     93,93,92,92,92,92,91,91,91,91,90,90,90,90,90,90,90,89,89,88,88,
07079     88,88,88,87,87,87,87,87,86,86,86,86,86,86,86,86,86,86,86,85,85,
07080     84,84,84,84,84,84,83,83,83,82,82,82,82,82,82,81,81,81,81,81,81,
07081     81,81,80,80,80,80,80,80,79,79,79,79,79,79,79,78,78,78,77,76,76,
07082     76,76,76,75,75,75,75,75,74,74,74,74,73,73,73,73,73,72,72,72,72,
07083     71,71,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,69,69,69,68,
07084     68,68,68,68,67,67,67,67,67,66,65,65,65,65,65,65,64,64,63,63,63,
07085     62,62,62,61,61,61,61,60,60,60,60,60,59,59,59,59,59,58,58,58,58,
07086     58,58,58,58,57,57,57,57,57,57,56,56,56,56,55,55,55,54,54,54,54,
07087     54,54,54,54,54,53,53,53,53,52,52,52,52,52,51,51,51,51,51,51,51,
07088     50,50,50,50,50,50,50,50,50,50,49,49,49,49,49,49,48,48,48,48,47,
07089     47,47,46,46,46,46,46,46,46,46,46,46,45,45,45,45,45,44,44,44,43,
07090     43,43,43,43,43,42,42,42,42,42,41,40,40,40,40,40,40,39,39,39,38,
07091     38,38,38,38,38,38,38,37,37,37,37,37,36,35,35,35,35,34,34,34,34,
07092     34,34,33,33,33,33,32,31,31,31,30,30,30,30,29,29,29,29,29,29,28,
07093     28,28,28,27,27,27,27,27,27,27,27,26,26,26,26,26,26,26,25,25,25,
07094     25,25,24,24,24,24,23,23,23,23,23,23,22,22,21,21,21,21,21,20,20,
07095     20,20,20,20,19,19,18,18,18,18,17,17,17,17,16,16,16,15,15,15,14,
07096     14,14,14,13,13,12,12,12,12,12,12,12,12,12,12,12,11,11,11,11,11,
07097     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,
07098     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,
07099     1,1
07100   };
07101   const int n4c1w2_a[] = {
07102     100, // Capacity
07103     500, // Number of items
07104     // Size of items (sorted)
07105     100,100,100,100,99,99,99,99,98,98,98,98,98,97,97,97,97,97,97,
07106     97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,95,95,95,95,94,94,
07107     94,94,94,94,94,93,93,93,93,92,92,92,92,92,91,91,91,91,91,91,91,
07108     90,90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,88,88,88,88,
07109     88,88,88,88,88,88,88,88,87,87,87,87,87,86,86,86,86,86,86,86,86,
07110     86,85,85,85,85,85,85,85,84,84,84,84,84,84,84,83,83,83,83,83,83,
07111     82,82,82,82,82,81,81,81,80,80,80,80,80,80,80,80,80,80,79,79,79,
07112     79,78,78,78,78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,75,
07113     74,74,73,73,73,72,72,72,72,72,72,72,71,71,71,71,71,71,71,71,71,
07114     71,71,70,70,70,70,70,70,70,70,70,70,69,69,69,69,68,68,68,68,68,
07115     68,67,67,67,67,67,66,66,66,66,66,65,65,65,65,64,64,64,63,63,63,
07116     63,63,62,62,62,62,62,62,62,62,62,61,61,61,61,61,61,61,61,61,61,
07117     60,60,60,60,60,59,59,58,57,57,57,57,57,57,57,57,56,56,56,56,56,
07118     55,55,55,55,55,55,55,54,54,54,54,54,54,53,53,53,53,53,52,52,52,
07119     52,52,51,51,51,51,51,51,50,50,50,50,50,49,49,49,49,49,49,48,48,
07120     48,48,48,48,48,48,48,48,48,47,47,47,47,47,47,47,47,47,47,47,46,
07121     46,46,46,46,46,45,45,45,45,45,44,44,44,44,44,43,43,43,43,42,42,
07122     42,42,42,42,41,41,41,41,40,40,40,40,40,40,40,39,39,39,38,38,38,
07123     38,38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,37,37,37,
07124     36,36,36,36,36,36,36,35,35,35,35,35,35,35,34,34,33,33,33,33,33,
07125     33,32,32,32,32,32,32,32,31,31,31,31,31,31,31,31,31,31,30,29,29,
07126     29,29,29,29,29,29,28,28,28,28,28,27,27,27,27,27,27,27,27,27,26,
07127     26,26,26,26,26,26,25,25,25,24,24,24,24,24,24,23,23,23,22,22,22,
07128     22,22,22,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,20
07129   };
07130   const int n4c1w2_b[] = {
07131     100, // Capacity
07132     500, // Number of items
07133     // Size of items (sorted)
07134     100,100,100,100,100,100,100,100,100,100,100,99,99,99,98,98,98,
07135     98,97,97,97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,94,
07136     94,94,94,93,93,93,93,93,92,92,92,92,92,92,91,91,91,91,91,91,91,
07137     90,90,90,90,90,90,90,90,90,90,90,89,89,89,89,88,88,88,88,88,87,
07138     87,87,87,87,87,87,87,86,86,86,86,85,85,85,85,85,85,84,84,84,84,
07139     83,83,83,83,82,82,82,82,82,82,82,81,81,81,80,80,80,80,80,80,80,
07140     80,80,80,80,79,79,79,79,79,79,79,79,78,78,78,78,78,77,77,77,77,
07141     77,77,77,77,77,76,76,76,76,76,76,75,75,75,75,75,74,74,74,74,74,
07142     74,74,74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,72,72,72,
07143     72,72,72,71,71,71,71,71,71,71,70,70,70,70,70,69,69,69,69,69,69,
07144     68,68,68,68,68,68,67,67,67,67,67,67,67,67,67,67,66,66,66,66,66,
07145     65,65,65,65,65,65,64,64,64,64,63,63,63,63,63,62,62,62,62,62,62,
07146     62,61,61,61,61,61,61,61,60,60,60,60,60,60,59,59,59,59,59,59,59,
07147     59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,57,56,56,56,56,56,
07148     56,56,56,55,55,55,55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,
07149     53,52,52,52,52,52,51,51,51,51,51,51,51,51,50,50,50,50,50,50,49,
07150     49,48,48,48,48,48,48,47,47,47,47,47,47,47,47,47,46,46,46,46,46,
07151     46,46,46,45,45,45,44,44,44,44,43,43,43,43,43,43,43,43,42,42,42,
07152     42,42,41,41,41,41,41,40,40,40,40,40,40,39,39,39,39,39,39,39,39,
07153     39,38,38,37,37,37,37,36,36,36,36,36,35,35,35,35,35,35,35,35,34,
07154     34,34,34,33,33,33,33,33,33,33,32,32,32,32,32,31,31,31,31,31,31,
07155     30,30,30,30,30,30,30,30,30,29,29,29,28,28,28,28,28,28,28,28,28,
07156     28,28,27,27,27,27,27,26,26,26,25,25,25,25,25,25,25,25,25,25,24,
07157     24,24,24,24,24,23,23,23,23,23,23,22,22,22,21,20,20,20,20,20,20
07158   };
07159   const int n4c1w2_c[] = {
07160     100, // Capacity
07161     500, // Number of items
07162     // Size of items (sorted)
07163     100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,98,98,98,
07164     97,97,97,96,96,96,96,95,95,95,95,94,94,93,93,93,93,93,93,93,93,
07165     93,92,92,92,92,92,91,91,91,91,91,91,91,90,90,90,90,90,89,89,89,
07166     89,89,89,89,89,88,88,88,87,87,86,86,86,86,86,86,86,86,86,86,85,
07167     85,85,85,85,85,85,85,85,84,84,83,83,83,83,83,82,82,82,82,82,82,
07168     82,81,81,80,80,80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,
07169     79,79,78,78,78,78,78,78,78,78,78,78,78,78,78,77,77,77,77,77,77,
07170     77,76,76,76,76,76,76,76,76,76,76,76,75,75,75,75,75,75,74,74,74,
07171     74,74,74,74,74,74,73,73,73,73,73,72,72,72,71,71,71,71,71,70,70,
07172     70,70,70,70,69,68,68,67,67,67,67,67,67,66,66,66,66,66,66,66,66,
07173     66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,
07174     62,62,62,62,62,61,61,61,60,60,60,60,60,60,60,59,59,59,59,59,59,
07175     59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,57,57,56,56,56,56,
07176     56,56,55,55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,53,53,52,
07177     52,52,52,52,52,52,52,52,52,52,52,52,52,51,51,51,51,50,50,50,50,
07178     50,50,49,49,49,49,49,49,49,49,49,49,48,48,47,47,47,47,47,47,47,
07179     46,46,46,46,46,46,46,45,45,45,45,44,44,44,44,44,44,43,43,43,43,
07180     42,42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,40,40,40,40,40,
07181     40,40,39,39,39,39,39,39,38,38,38,38,37,37,37,37,37,37,37,37,37,
07182     36,36,36,36,36,36,36,36,36,36,35,35,35,35,35,35,35,34,34,34,34,
07183     34,34,34,33,33,33,33,33,32,32,32,31,31,31,31,31,31,31,31,31,31,
07184     31,30,30,30,30,30,30,30,30,30,30,29,29,29,29,29,29,28,28,28,28,
07185     28,28,27,27,27,27,27,27,27,27,26,26,26,26,25,25,25,24,24,24,24,
07186     24,24,23,23,23,23,23,23,22,22,22,21,21,21,21,20,20,20,20
07187   };
07188   const int n4c1w2_d[] = {
07189     100, // Capacity
07190     500, // Number of items
07191     // Size of items (sorted)
07192     100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,98,98,98,98,
07193     98,97,97,97,97,97,97,96,96,96,96,96,96,95,95,95,95,95,95,94,94,
07194     94,94,94,94,94,94,93,93,93,92,92,92,92,92,92,92,91,91,91,91,91,
07195     91,91,90,90,90,90,90,89,89,89,89,89,88,88,88,88,87,87,87,87,87,
07196     86,86,86,86,86,86,86,86,85,85,85,85,85,85,84,84,84,84,84,84,84,
07197     84,84,84,83,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,82,81,
07198     81,81,81,81,80,80,80,80,80,79,79,79,79,79,79,79,79,79,79,78,78,
07199     78,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,75,75,
07200     75,75,75,75,74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,71,
07201     71,70,70,70,70,69,69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,
07202     67,67,67,67,66,66,66,66,66,65,65,65,65,65,65,65,65,65,65,64,64,
07203     64,64,64,64,64,63,63,63,63,63,63,63,63,62,62,62,62,62,62,62,61,
07204     61,61,61,61,61,61,61,61,61,60,60,60,60,60,60,59,59,59,59,59,59,
07205     59,59,59,58,58,58,58,58,58,58,58,57,57,57,57,57,57,57,57,56,56,
07206     56,56,55,55,55,55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,53,
07207     52,52,52,52,51,51,51,51,50,50,49,49,49,49,49,49,49,49,49,48,48,
07208     48,48,47,47,47,47,47,47,47,47,47,47,46,46,46,46,45,45,45,45,45,
07209     45,44,44,43,43,43,43,43,43,43,43,42,42,41,41,41,41,41,40,40,40,
07210     40,40,40,39,39,39,39,38,38,38,37,37,37,37,37,37,37,36,36,36,36,
07211     36,36,36,36,36,36,36,36,35,35,35,34,34,34,34,34,33,33,32,32,32,
07212     32,32,32,32,31,31,31,30,30,30,30,29,29,29,29,29,29,29,29,29,28,
07213     28,28,28,28,28,28,28,28,28,27,27,27,27,27,27,26,26,26,26,26,26,
07214     26,26,26,25,25,25,25,25,24,24,24,24,24,23,23,23,22,22,22,22,22,
07215     22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,20,20,20,20
07216   };
07217   const int n4c1w2_e[] = {
07218     100, // Capacity
07219     500, // Number of items
07220     // Size of items (sorted)
07221     100,100,100,100,100,99,99,99,99,99,99,98,98,98,98,98,98,98,98,
07222     98,98,97,97,97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,
07223     95,95,95,94,94,94,94,93,93,93,93,93,92,92,92,92,92,92,91,91,91,
07224     91,91,91,90,90,90,90,90,90,90,90,90,89,89,89,88,88,88,88,87,87,
07225     87,87,87,87,86,86,86,86,85,85,85,85,85,85,84,84,84,83,83,83,83,
07226     82,82,82,82,82,82,82,81,81,81,81,81,81,81,81,81,81,81,81,81,81,
07227     81,81,81,80,80,80,80,79,79,79,78,78,78,78,77,77,77,77,76,76,76,
07228     76,75,75,75,75,75,74,74,74,74,74,74,74,74,73,73,73,73,73,73,72,
07229     72,72,72,72,71,71,71,71,70,70,70,70,70,69,69,69,69,69,69,68,68,
07230     68,68,68,68,68,68,68,68,68,67,67,67,67,67,66,66,66,66,65,65,65,
07231     65,65,65,64,64,64,64,64,64,64,64,64,64,64,64,64,64,63,63,63,63,
07232     63,62,62,62,62,61,61,61,61,61,61,61,61,61,60,60,59,59,59,59,59,
07233     58,58,58,58,58,58,57,57,57,57,57,56,56,56,56,55,55,55,55,55,55,
07234     55,54,54,54,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,52,
07235     52,51,51,51,51,51,51,50,50,50,50,50,50,50,49,49,48,48,48,48,48,
07236     48,47,47,47,47,47,47,47,46,46,46,46,46,46,46,45,45,45,45,45,45,
07237     45,45,45,45,44,43,43,43,43,43,43,43,43,42,42,42,42,42,42,42,41,
07238     41,41,41,41,41,41,41,40,40,40,40,40,40,40,40,40,39,39,39,39,39,
07239     39,39,39,38,38,38,37,37,37,37,37,37,37,37,37,36,36,36,36,36,36,
07240     35,35,35,35,35,35,35,35,35,34,33,33,33,33,33,33,33,33,33,33,32,
07241     32,32,32,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,29,
07242     29,28,28,28,28,27,27,27,27,27,27,27,27,26,26,26,26,26,25,25,25,
07243     25,25,25,25,25,25,24,24,24,24,24,24,23,23,23,23,23,23,23,23,22,
07244     22,22,22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,20,20
07245   };
07246   const int n4c1w2_f[] = {
07247     100, // Capacity
07248     500, // Number of items
07249     // Size of items (sorted)
07250     100,100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,
07251     98,98,97,97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,94,
07252     94,94,94,93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,92,
07253     91,91,91,91,91,91,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,
07254     88,88,88,87,87,87,87,87,86,86,86,86,86,86,86,86,85,85,85,85,85,
07255     85,84,84,84,84,84,84,84,84,83,83,83,82,82,82,82,82,82,81,81,80,
07256     80,80,80,79,79,79,79,79,79,79,79,79,79,78,78,78,78,77,77,76,76,
07257     76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,74,74,74,
07258     74,73,73,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,
07259     70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,68,68,68,68,68,67,
07260     67,67,67,67,66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,
07261     64,64,64,64,64,64,64,63,63,63,63,63,63,62,62,62,62,62,61,61,61,
07262     61,61,61,60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,59,59,58,
07263     58,58,57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,
07264     55,55,55,54,54,54,54,53,53,53,53,53,53,52,52,52,52,51,51,51,51,
07265     51,51,51,51,51,51,50,50,50,50,50,49,49,49,48,48,48,48,48,48,47,
07266     47,47,47,47,46,46,46,46,46,45,45,45,45,44,44,44,44,43,43,43,43,
07267     43,43,43,43,43,43,42,42,42,42,42,42,42,42,42,41,41,41,41,41,41,
07268     41,40,40,40,40,40,40,40,40,39,39,39,39,39,38,38,38,38,38,38,38,
07269     38,37,37,37,37,37,37,37,37,37,36,36,36,35,35,35,35,35,35,34,34,
07270     33,33,33,33,33,33,33,33,33,32,32,32,32,32,31,31,31,31,31,31,31,
07271     31,31,31,31,31,31,30,30,30,30,30,30,30,29,29,29,28,28,28,28,28,
07272     28,27,27,27,26,26,26,26,26,25,25,25,25,24,24,24,24,24,23,23,23,
07273     23,23,22,22,22,22,21,21,21,20,20,20,20,20,20,20,20,20,20,20
07274   };
07275   const int n4c1w2_g[] = {
07276     100, // Capacity
07277     500, // Number of items
07278     // Size of items (sorted)
07279     100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,98,98,97,
07280     97,97,97,97,97,96,96,96,96,96,95,95,95,95,95,95,95,95,95,94,94,
07281     94,94,94,94,94,93,93,93,93,93,93,92,92,92,92,92,92,91,91,91,90,
07282     90,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,88,87,87,87,86,
07283     86,86,86,85,85,85,85,85,85,84,84,84,83,83,82,82,82,82,82,82,82,
07284     82,81,81,81,81,81,81,81,81,80,80,80,80,80,80,80,80,80,80,80,79,
07285     79,79,79,79,78,78,78,78,78,78,77,77,76,76,76,76,76,76,76,75,75,
07286     75,75,75,75,75,75,74,74,74,74,74,74,74,73,73,73,73,73,73,72,72,
07287     72,72,72,72,72,72,71,71,71,71,70,70,70,70,70,70,70,69,69,69,68,
07288     68,68,68,67,67,67,67,66,66,66,66,66,66,66,66,66,65,65,65,65,65,
07289     65,65,64,64,64,64,64,63,63,63,63,62,62,62,62,62,62,61,61,61,61,
07290     61,61,60,60,60,59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,57,
07291     57,57,56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,55,54,54,54,
07292     54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,50,50,
07293     50,50,50,50,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,48,48,
07294     48,47,47,46,46,46,46,45,45,45,45,45,45,45,45,45,45,44,44,44,44,
07295     44,44,44,43,43,43,43,43,43,42,42,42,42,42,42,42,42,41,41,41,41,
07296     41,41,41,41,41,40,40,40,40,40,40,40,40,39,39,39,39,38,38,38,38,
07297     38,38,37,37,37,37,37,37,37,37,36,36,36,36,36,36,36,35,35,35,35,
07298     35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,34,34,33,33,33,
07299     33,33,33,33,33,33,33,32,32,32,31,31,31,31,31,31,30,30,30,30,30,
07300     30,30,29,29,29,29,29,29,29,29,28,28,28,28,28,28,27,27,27,26,26,
07301     26,26,26,26,26,25,25,25,25,25,25,24,24,24,24,24,23,23,23,22,22,
07302     22,22,22,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20
07303   };
07304   const int n4c1w2_h[] = {
07305     100, // Capacity
07306     500, // Number of items
07307     // Size of items (sorted)
07308     100,100,100,100,100,99,99,99,98,98,98,97,97,97,97,97,97,96,96,
07309     96,96,96,96,95,95,95,95,95,95,95,95,95,95,94,94,94,94,94,94,94,
07310     94,94,93,93,93,93,92,92,92,92,92,92,91,91,91,91,91,90,90,90,90,
07311     90,89,89,89,89,89,88,88,88,88,88,87,87,87,87,86,86,86,86,85,85,
07312     85,85,85,85,84,84,84,84,84,84,83,83,83,83,83,83,83,83,82,82,82,
07313     82,82,82,82,82,81,81,81,80,80,80,80,80,80,80,79,79,79,79,78,78,
07314     78,77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,75,
07315     75,75,75,75,74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,71,
07316     71,71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,68,
07317     68,68,68,68,68,68,68,68,68,67,67,67,67,67,67,67,67,66,66,66,66,
07318     66,66,66,65,65,65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,63,
07319     63,63,62,62,62,62,62,62,61,61,61,61,61,60,60,60,60,60,60,59,59,
07320     59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,58,58,57,57,56,
07321     56,56,56,56,56,56,56,56,55,55,55,55,55,55,54,54,53,53,53,53,53,
07322     53,52,52,52,52,52,52,51,51,51,51,51,51,51,50,50,50,50,49,49,49,
07323     49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,48,48,48,47,47,47,
07324     46,46,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,44,
07325     44,44,43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,41,41,41,41,
07326     41,40,40,39,39,39,39,39,39,39,38,38,38,38,38,38,37,37,37,37,37,
07327     37,37,36,36,36,36,35,35,35,35,35,34,34,34,34,33,33,33,33,33,33,
07328     33,33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,30,30,30,30,30,
07329     30,30,30,30,30,29,29,29,29,29,29,28,28,28,27,27,27,27,27,27,26,
07330     26,26,26,26,26,26,26,26,25,25,25,25,25,24,24,24,23,23,23,23,23,
07331     22,22,22,22,22,22,22,21,21,21,20,20,20,20,20,20,20,20,20
07332   };
07333   const int n4c1w2_i[] = {
07334     100, // Capacity
07335     500, // Number of items
07336     // Size of items (sorted)
07337     100,100,100,100,100,99,99,99,98,98,98,98,97,97,97,97,96,96,96,
07338     96,96,96,96,96,96,95,95,95,95,95,94,94,94,94,94,94,94,93,93,93,
07339     93,93,92,92,92,92,92,92,92,91,91,91,91,91,90,90,90,90,89,89,89,
07340     89,89,89,89,89,89,89,89,89,89,89,88,88,87,87,87,87,87,86,86,86,
07341     86,86,86,86,86,86,85,85,85,85,85,84,84,84,84,84,83,83,83,83,82,
07342     82,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,80,80,79,79,79,
07343     79,79,79,79,79,79,79,78,78,78,78,77,77,77,77,77,76,76,76,76,76,
07344     75,75,75,75,75,75,75,75,75,75,75,74,74,74,74,73,73,73,73,73,73,
07345     73,72,72,72,72,72,72,72,71,71,71,71,71,71,71,71,70,70,70,70,69,
07346     69,69,69,69,69,69,68,68,68,68,67,67,67,66,66,66,66,66,66,65,65,
07347     64,64,64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,62,62,62,62,
07348     61,61,61,61,61,61,60,60,60,60,59,59,59,59,59,59,59,58,58,58,58,
07349     57,57,57,57,57,56,56,56,56,56,56,56,56,56,55,55,55,55,55,55,54,
07350     54,54,54,54,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,
07351     50,50,50,50,49,49,49,49,49,49,48,48,48,48,48,47,47,46,46,46,46,
07352     46,46,46,45,45,45,45,45,45,45,45,45,44,44,44,43,43,43,43,43,43,
07353     43,43,43,43,42,42,42,42,41,41,41,41,40,39,39,39,39,39,39,39,39,
07354     39,38,38,38,38,37,37,37,37,37,37,37,37,37,37,36,36,36,36,35,35,
07355     35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,
07356     33,33,33,33,33,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,31,
07357     31,31,31,31,31,30,30,30,30,30,29,29,29,28,28,28,28,28,28,27,27,
07358     27,27,27,27,26,26,26,26,26,26,26,25,25,25,25,25,25,25,25,25,25,
07359     25,25,25,24,24,24,24,24,24,24,24,24,24,23,23,23,23,23,23,23,23,
07360     22,22,22,22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,20
07361   };
07362   const int n4c1w2_j[] = {
07363     100, // Capacity
07364     500, // Number of items
07365     // Size of items (sorted)
07366     100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,98,97,97,97,
07367     97,97,97,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,95,
07368     95,94,94,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,92,91,
07369     91,91,91,91,91,91,90,90,90,90,90,90,89,88,88,88,88,88,88,88,87,
07370     87,87,87,87,87,87,86,86,86,86,86,85,85,85,85,84,84,84,84,84,83,
07371     83,83,83,83,82,82,82,82,82,82,82,82,82,82,82,82,81,81,81,81,81,
07372     80,80,80,80,80,79,79,79,79,79,79,79,79,79,79,79,78,78,78,78,77,
07373     77,77,77,77,77,77,76,76,76,76,76,76,75,75,75,75,74,74,74,74,74,
07374     73,73,73,73,73,73,73,73,72,72,72,71,71,71,71,71,71,71,71,70,70,
07375     70,70,69,69,69,69,68,68,68,68,68,68,68,67,67,67,67,67,66,66,66,
07376     66,66,65,65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,64,64,
07377     64,63,63,63,62,62,62,62,62,62,62,61,61,61,60,60,60,60,60,59,59,
07378     59,59,59,59,58,58,58,58,57,57,57,57,57,56,56,56,56,56,56,56,55,
07379     54,54,54,54,54,54,54,54,54,54,53,53,53,53,53,53,53,52,52,52,52,
07380     52,51,51,51,51,51,51,51,50,50,50,50,50,50,49,49,49,49,48,48,48,
07381     47,47,47,46,46,46,46,46,46,46,46,45,45,45,45,45,45,44,43,43,43,
07382     43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,41,41,41,41,41,40,
07383     40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,39,39,39,38,38,
07384     38,38,38,38,38,37,37,37,37,37,36,36,36,36,36,36,35,35,35,35,35,
07385     34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,32,32,31,31,31,
07386     31,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,29,
07387     29,29,29,29,29,28,28,28,28,28,28,28,28,28,28,27,27,27,27,26,26,
07388     26,26,26,25,25,25,25,25,25,25,25,25,24,24,24,24,24,24,23,23,22,
07389     22,22,22,22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,20
07390   };
07391   const int n4c1w2_k[] = {
07392     100, // Capacity
07393     500, // Number of items
07394     // Size of items (sorted)
07395     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,97,97,
07396     97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,94,
07397     93,93,93,93,93,92,92,92,92,92,92,91,91,91,91,90,90,90,90,90,90,
07398     89,89,89,89,89,89,89,89,88,88,88,88,88,88,88,88,88,88,87,87,87,
07399     87,87,87,86,86,86,86,86,86,86,85,85,84,84,84,84,84,84,84,84,83,
07400     83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,80,
07401     80,80,79,79,79,79,79,78,78,78,78,78,78,77,77,77,77,77,77,77,77,
07402     76,76,76,76,75,75,75,75,75,75,75,75,74,74,74,74,74,74,73,73,73,
07403     73,73,73,73,73,73,72,72,72,71,71,71,71,71,71,71,71,70,70,70,70,
07404     70,70,69,69,69,69,69,69,69,69,68,68,68,68,68,67,67,67,67,67,67,
07405     67,67,67,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,
07406     63,63,63,63,63,63,62,62,61,61,61,61,61,61,61,60,60,60,60,60,60,
07407     59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,
07408     56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,53,53,53,52,
07409     52,52,52,52,52,51,51,51,51,51,51,51,51,51,51,50,50,50,49,49,48,
07410     48,48,48,47,47,47,47,47,47,46,46,46,45,45,45,45,45,45,45,45,45,
07411     44,44,44,44,44,44,44,43,43,43,43,43,43,43,43,43,42,42,42,42,41,
07412     41,41,41,41,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,38,
07413     37,37,37,36,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,35,35,
07414     34,34,34,34,34,33,33,33,33,33,33,33,33,33,33,33,33,33,32,32,32,
07415     32,32,32,32,32,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30,30,
07416     29,29,29,29,29,29,29,29,29,29,29,28,28,28,28,27,27,27,26,26,25,
07417     25,25,25,25,25,25,25,25,25,24,24,24,24,24,24,24,24,24,24,24,23,
07418     23,23,23,22,22,22,22,22,22,22,22,22,21,21,21,21,20,20,20,20
07419   };
07420   const int n4c1w2_l[] = {
07421     100, // Capacity
07422     500, // Number of items
07423     // Size of items (sorted)
07424     100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,98,
07425     98,98,98,98,98,97,97,97,97,97,97,97,96,96,96,96,96,96,95,95,95,
07426     95,95,95,95,95,94,94,94,93,93,93,92,92,92,91,91,91,91,91,91,90,
07427     90,90,90,89,89,89,89,89,89,89,89,88,88,88,88,88,88,88,88,88,88,
07428     87,87,87,86,86,86,86,86,86,86,85,85,85,85,85,85,85,84,84,84,84,
07429     84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,82,82,82,82,82,82,
07430     81,81,81,81,81,81,81,80,80,80,79,79,78,78,78,78,78,78,78,78,78,
07431     77,77,77,77,77,77,77,77,77,76,76,76,75,75,74,74,74,74,74,74,73,
07432     73,73,73,73,73,72,72,72,72,71,71,71,71,71,71,71,70,70,70,70,69,
07433     69,69,69,69,69,69,69,68,68,68,68,68,68,68,68,67,67,67,66,66,66,
07434     66,65,65,65,65,65,65,65,65,64,64,64,64,64,63,63,63,63,63,63,62,
07435     62,62,62,62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,60,60,
07436     60,60,60,59,59,59,59,58,58,58,58,58,58,58,58,57,57,57,57,57,57,
07437     57,57,57,57,56,56,56,56,56,56,56,56,56,56,56,56,55,55,55,54,54,
07438     54,53,53,53,53,53,53,52,52,52,52,52,52,52,52,51,51,51,51,51,51,
07439     50,50,50,50,50,50,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,
07440     47,47,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,44,
07441     43,43,43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,41,41,40,40,
07442     40,39,39,39,39,39,39,39,39,39,38,38,38,38,38,38,38,38,38,37,37,
07443     37,36,36,36,36,36,35,35,35,35,35,35,34,34,34,34,34,33,33,33,33,
07444     33,33,33,33,32,32,31,31,31,31,30,30,30,30,30,29,29,29,29,29,29,
07445     29,28,28,28,28,28,27,27,27,27,27,27,27,27,26,26,26,26,26,26,25,
07446     25,25,25,25,25,25,24,24,24,24,24,24,23,23,23,23,23,23,23,22,22,
07447     22,22,22,22,22,22,22,21,21,21,21,21,21,21,21,20,20,20,20,20,20
07448   };
07449   const int n4c1w2_m[] = {
07450     100, // Capacity
07451     500, // Number of items
07452     // Size of items (sorted)
07453     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,
07454     98,98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,97,97,96,96,96,
07455     96,95,95,95,95,95,95,95,95,94,94,94,94,94,94,94,93,93,92,92,92,
07456     92,92,91,91,91,91,91,91,91,90,90,90,90,89,89,89,89,88,88,88,88,
07457     88,87,87,87,87,86,86,86,86,85,85,85,85,85,84,84,84,83,83,83,83,
07458     83,83,83,82,82,82,82,82,82,81,81,81,81,81,81,81,81,81,80,80,80,
07459     80,80,79,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,78,
07460     78,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,75,74,
07461     74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,72,72,72,72,71,71,
07462     71,71,71,70,70,70,70,70,69,69,69,69,69,69,69,68,68,68,68,68,68,
07463     68,68,68,68,68,68,67,67,67,67,67,66,66,66,66,66,66,66,66,65,65,
07464     65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,63,
07465     62,62,62,62,62,62,62,61,61,61,61,61,61,61,61,61,60,60,60,60,60,
07466     59,59,59,59,59,59,59,59,58,58,58,58,57,57,57,57,56,56,56,56,56,
07467     56,55,55,55,54,54,53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,
07468     51,51,51,51,50,50,50,50,50,50,49,49,49,49,48,48,48,48,48,48,47,
07469     47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,46,46,46,46,45,45,
07470     45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,43,43,43,43,42,42,
07471     42,42,42,42,42,42,41,41,41,40,40,40,40,40,39,39,39,39,38,38,38,
07472     37,37,37,37,37,36,36,36,36,36,36,35,35,35,35,35,35,35,34,34,34,
07473     33,33,33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,
07474     30,30,30,30,30,30,30,30,30,30,29,29,29,29,28,28,28,28,28,28,28,
07475     28,28,27,27,27,27,27,27,26,26,25,25,25,25,24,24,24,24,24,24,24,
07476     23,23,23,22,22,22,22,22,22,22,21,21,21,21,21,21,20,20,20,20
07477   };
07478   const int n4c1w2_n[] = {
07479     100, // Capacity
07480     500, // Number of items
07481     // Size of items (sorted)
07482     100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,98,98,
07483     98,98,98,98,98,97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,
07484     95,95,95,94,94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,92,92,
07485     92,92,92,92,92,92,91,91,91,91,91,91,91,90,90,90,90,90,90,90,90,
07486     89,89,89,89,89,89,89,89,89,88,88,88,88,88,88,88,87,87,87,87,87,
07487     87,86,86,86,86,85,85,85,85,85,85,85,85,85,84,84,84,84,84,83,83,
07488     83,83,82,81,81,81,81,81,80,80,80,80,79,79,79,79,79,79,79,78,78,
07489     78,78,78,77,77,77,77,76,76,76,76,76,76,75,75,75,75,74,74,73,73,
07490     73,73,73,72,72,72,72,72,72,71,71,71,71,71,70,70,70,70,70,70,69,
07491     69,69,69,69,68,68,68,68,68,68,68,67,67,67,66,66,66,66,66,66,66,
07492     66,65,65,64,64,63,63,63,63,63,63,63,63,63,63,63,62,62,62,62,61,
07493     61,61,61,61,61,61,60,60,60,60,59,59,59,59,59,58,58,58,58,58,57,
07494     57,57,57,57,57,56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,
07495     54,54,54,54,54,54,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,
07496     52,52,52,52,51,51,51,51,51,51,51,50,50,50,50,50,50,50,50,49,49,
07497     49,49,49,49,49,49,48,48,48,48,47,47,46,46,46,45,45,45,45,44,44,
07498     44,44,44,44,44,44,44,44,44,43,43,43,42,42,42,42,42,42,42,41,41,
07499     41,41,41,41,41,41,40,40,40,40,40,40,40,40,39,39,39,39,39,39,38,
07500     38,38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,36,36,36,36,36,
07501     35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,33,33,32,
07502     32,32,32,32,32,32,32,31,31,31,31,31,31,31,31,30,30,30,30,30,30,
07503     30,30,30,30,29,29,29,29,29,29,29,28,28,28,28,27,27,27,26,26,26,
07504     26,26,26,26,25,25,25,25,25,24,24,24,24,24,23,23,23,23,23,22,22,
07505     22,22,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,20,20
07506   };
07507   const int n4c1w2_o[] = {
07508     100, // Capacity
07509     500, // Number of items
07510     // Size of items (sorted)
07511     100,100,100,100,100,100,100,99,99,99,99,99,99,98,98,98,98,98,
07512     98,97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,95,95,95,
07513     95,94,94,94,94,93,93,93,93,93,92,92,91,91,91,91,91,91,91,90,90,
07514     90,89,89,89,89,89,89,89,88,88,88,88,88,88,88,88,88,88,87,87,87,
07515     87,87,86,86,86,86,86,86,86,86,86,86,86,86,85,85,85,85,85,85,84,
07516     84,84,84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,83,82,82,82,
07517     82,81,81,81,81,81,81,81,81,81,81,80,80,80,80,80,80,79,79,79,78,
07518     78,78,78,78,78,77,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,
07519     75,75,75,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,72,72,72,
07520     71,71,71,71,71,71,71,71,71,69,69,68,68,68,68,68,68,68,68,68,67,
07521     67,66,66,66,65,65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,63,
07522     63,63,62,62,62,62,62,62,62,61,61,61,61,61,61,61,61,60,60,60,60,
07523     60,60,60,60,60,59,59,59,59,58,58,58,58,58,58,57,57,57,57,57,57,
07524     56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,
07525     53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,51,51,51,51,51,50,
07526     50,50,50,50,50,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,47,
07527     47,47,47,47,47,47,47,46,46,46,46,46,46,45,45,45,45,45,45,45,44,
07528     44,44,44,44,44,44,43,43,43,42,42,42,42,42,42,42,41,40,40,40,40,
07529     40,40,39,39,39,39,39,39,38,38,38,38,38,37,37,37,37,37,36,36,36,
07530     36,36,36,35,35,35,35,34,34,34,34,33,33,33,32,32,32,32,32,32,32,
07531     32,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,29,29,
07532     29,29,29,29,29,29,29,29,29,29,28,28,28,28,28,28,27,27,27,27,27,
07533     27,27,26,26,26,26,26,25,25,25,25,25,25,25,25,24,24,24,24,24,23,
07534     23,23,23,22,22,22,22,21,21,21,21,21,21,21,21,20,20,20,20,20
07535   };
07536   const int n4c1w2_p[] = {
07537     100, // Capacity
07538     500, // Number of items
07539     // Size of items (sorted)
07540     100,100,100,100,99,99,99,99,98,98,98,98,98,98,98,98,98,98,97,
07541     97,97,97,96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,94,94,94,
07542     94,94,94,94,93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,91,
07543     91,91,91,90,90,90,90,89,89,89,89,89,89,88,88,88,87,87,87,87,86,
07544     86,86,86,85,85,84,84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,
07545     83,83,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,80,80,80,80,
07546     80,79,79,79,79,79,78,78,78,77,77,77,77,77,77,77,76,76,76,76,76,
07547     75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,73,73,73,73,72,72,
07548     72,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,70,70,70,70,70,
07549     70,70,69,69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,67,67,67,
07550     67,67,67,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,63,63,
07551     63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,61,61,61,61,61,60,
07552     60,60,60,60,60,59,59,59,59,59,58,58,58,58,58,58,57,57,57,57,57,
07553     57,57,57,57,56,56,56,56,56,56,55,55,54,54,54,54,54,54,54,54,54,
07554     54,54,54,53,53,53,53,53,53,52,52,52,52,51,51,51,51,51,51,50,50,
07555     50,50,49,49,49,48,48,48,48,48,48,48,48,48,48,47,47,47,47,47,46,
07556     46,46,46,46,46,46,46,45,45,45,45,45,45,45,45,44,44,44,43,43,43,
07557     43,43,43,43,42,42,42,42,42,42,42,41,41,41,41,41,41,41,40,40,40,
07558     40,40,40,39,39,39,39,39,39,39,39,39,38,38,38,38,38,38,37,37,37,
07559     37,37,37,37,37,37,37,36,36,36,36,36,36,36,35,35,34,34,34,34,34,
07560     34,33,33,33,33,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,
07561     30,30,30,30,30,30,29,29,29,29,29,29,28,28,28,28,28,27,27,27,27,
07562     27,27,26,26,26,26,26,25,25,25,25,25,25,25,25,24,24,24,23,23,23,
07563     23,23,23,22,22,21,21,21,21,21,21,20,20,20,20,20,20,20,20
07564   };
07565   const int n4c1w2_q[] = {
07566     100, // Capacity
07567     500, // Number of items
07568     // Size of items (sorted)
07569     100,100,100,100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,
07570     97,97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,95,94,94,94,94,
07571     94,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,92,91,91,91,
07572     91,91,91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,89,89,89,88,
07573     88,88,88,87,87,87,87,87,86,86,86,86,86,86,85,85,85,85,84,84,84,
07574     84,84,84,84,84,83,83,82,82,82,82,82,82,82,81,81,81,81,81,81,81,
07575     80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,78,78,78,78,77,77,
07576     77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,76,75,75,75,75,74,
07577     74,74,74,74,74,74,74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,
07578     71,71,71,71,71,71,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,
07579     69,68,68,68,68,68,67,67,67,66,66,66,66,66,66,66,66,65,65,65,65,
07580     65,65,65,65,64,64,64,63,63,63,62,62,62,62,61,61,61,61,61,61,61,
07581     61,61,60,60,60,60,59,59,59,59,59,59,59,58,58,57,57,57,57,57,57,
07582     57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,54,
07583     54,54,54,54,54,54,54,54,53,53,53,53,53,52,52,52,51,51,51,51,50,
07584     50,50,50,50,50,50,50,50,50,49,49,49,48,48,48,48,48,48,48,48,47,
07585     47,47,46,46,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,
07586     44,44,44,44,44,43,43,42,42,42,42,42,41,41,41,41,41,41,40,40,40,
07587     40,40,40,40,40,39,39,39,39,39,39,39,39,39,38,38,38,37,37,37,37,
07588     37,37,36,36,36,36,36,36,36,35,35,35,35,34,34,34,34,34,34,34,34,
07589     34,34,33,33,33,33,33,32,32,32,31,31,31,31,31,31,31,30,30,30,30,
07590     30,30,29,29,29,29,29,28,28,28,28,28,28,28,27,27,27,27,27,26,26,
07591     26,26,26,26,25,25,25,25,24,24,24,24,24,24,24,23,23,23,23,23,23,
07592     23,22,22,22,22,22,22,22,21,21,21,21,20,20,20,20,20,20,20,20
07593   };
07594   const int n4c1w2_r[] = {
07595     100, // Capacity
07596     500, // Number of items
07597     // Size of items (sorted)
07598     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,
07599     99,99,99,98,98,98,98,98,97,97,97,96,96,96,96,96,96,96,96,96,96,
07600     96,95,95,95,94,94,93,93,93,93,93,93,93,92,92,92,92,92,92,92,91,
07601     91,91,90,90,90,89,89,89,89,89,89,89,89,89,89,89,88,88,88,88,88,
07602     88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,86,86,86,86,86,85,
07603     85,85,84,84,84,84,84,83,83,83,83,83,83,83,83,82,82,82,82,82,82,
07604     81,81,81,80,80,80,80,80,79,79,79,79,78,78,78,78,78,78,78,78,78,
07605     78,78,77,77,77,77,77,77,77,76,76,76,76,75,75,75,75,75,75,75,75,
07606     75,74,74,74,74,74,74,74,74,73,73,73,73,73,73,72,72,72,72,71,71,
07607     71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,68,68,68,
07608     68,68,67,67,67,67,67,67,67,67,67,67,66,66,66,66,65,65,65,65,65,
07609     65,65,64,64,64,64,64,64,64,64,64,63,63,63,63,62,62,62,62,62,61,
07610     61,61,61,60,60,60,60,59,59,59,59,59,58,58,58,58,58,58,58,58,58,
07611     58,58,57,57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,54,54,54,
07612     54,53,53,52,52,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,
07613     49,49,49,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,48,47,47,
07614     46,46,46,46,46,46,46,46,46,46,46,45,45,44,44,44,44,44,44,43,43,
07615     43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,42,42,41,41,41,41,
07616     40,40,40,40,40,40,40,40,39,39,39,39,38,38,38,38,38,38,37,37,37,
07617     37,37,37,36,36,36,36,36,35,35,35,35,35,34,34,34,34,34,34,34,33,
07618     33,33,33,33,33,33,33,32,31,31,31,31,30,30,30,30,30,30,30,29,29,
07619     29,29,29,29,29,29,28,28,28,28,27,27,27,27,27,26,26,26,26,26,26,
07620     25,25,25,25,25,25,25,24,24,24,24,24,24,23,22,22,22,22,22,22,22,
07621     22,22,21,21,21,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20
07622   };
07623   const int n4c1w2_s[] = {
07624     100, // Capacity
07625     500, // Number of items
07626     // Size of items (sorted)
07627     100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,98,98,
07628     98,98,98,98,97,97,97,97,97,97,97,97,96,96,96,95,95,95,95,95,94,
07629     94,94,94,94,93,93,93,93,93,93,93,93,92,92,92,92,91,91,91,91,91,
07630     91,91,91,91,90,90,90,89,89,89,89,89,89,89,89,89,89,89,89,89,89,
07631     88,88,88,88,88,87,87,87,87,87,87,87,86,86,86,85,85,85,85,85,85,
07632     85,85,85,84,84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,82,82,
07633     82,82,82,82,82,81,81,80,80,79,79,79,79,79,79,78,78,78,77,77,77,
07634     77,76,76,76,76,76,75,75,74,74,73,73,73,73,73,73,73,73,73,72,72,
07635     72,72,72,72,72,71,71,71,71,70,70,70,69,69,69,69,69,69,69,69,69,
07636     68,68,68,68,68,68,68,68,68,68,68,67,67,67,67,66,66,66,66,66,65,
07637     65,65,65,65,65,65,65,64,64,64,64,64,63,63,63,63,63,63,63,63,63,
07638     63,63,62,62,62,62,62,62,62,61,61,61,61,61,60,60,59,59,59,59,59,
07639     59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,57,57,57,57,56,
07640     56,56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,54,54,54,53,53,
07641     53,53,52,52,52,52,52,51,51,51,51,51,50,50,50,49,49,49,49,48,47,
07642     47,47,47,47,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,44,
07643     44,44,43,43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,42,41,41,
07644     41,41,41,40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,39,39,
07645     39,38,38,38,38,38,38,38,38,38,38,38,38,37,37,37,37,37,37,36,36,
07646     36,36,36,36,36,36,35,35,35,35,35,35,35,34,34,34,34,33,33,33,33,
07647     33,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,
07648     29,29,29,29,29,29,29,28,28,28,28,28,28,28,28,27,27,27,27,27,27,
07649     26,26,26,26,26,26,26,26,26,25,25,25,25,25,25,25,25,24,24,24,24,
07650     23,23,23,23,23,23,23,22,22,22,22,21,21,21,21,21,20,20,20
07651   };
07652   const int n4c1w2_t[] = {
07653     100, // Capacity
07654     500, // Number of items
07655     // Size of items (sorted)
07656     100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,98,98,98,
07657     98,98,98,98,97,97,96,96,96,96,96,96,96,96,96,96,95,95,95,95,95,
07658     95,95,94,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,92,92,
07659     91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,
07660     89,88,88,87,87,87,87,87,86,86,86,86,85,85,85,84,84,84,84,84,83,
07661     83,83,83,83,83,83,82,82,82,81,80,80,80,80,80,80,80,80,80,80,79,
07662     79,79,79,79,78,78,78,78,78,78,78,77,77,77,76,76,76,76,76,76,76,
07663     76,75,75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,74,74,74,73,
07664     73,73,73,73,73,73,72,72,72,72,72,72,72,72,72,71,71,71,71,71,71,
07665     71,70,70,70,70,70,70,69,69,69,69,69,69,69,68,68,68,67,67,67,67,
07666     67,67,67,67,66,66,66,65,65,65,65,65,65,65,65,65,64,64,64,64,64,
07667     64,63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,61,61,61,61,61,
07668     60,60,60,60,60,60,60,60,59,59,59,59,59,59,59,58,58,58,58,57,57,
07669     57,57,57,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,
07670     54,53,53,53,53,53,53,53,53,52,52,52,52,51,51,51,51,51,51,51,51,
07671     51,50,50,50,50,50,50,50,49,49,49,49,49,49,49,48,48,48,48,47,47,
07672     47,47,47,47,47,46,46,46,46,46,46,46,45,45,45,45,45,45,45,45,45,
07673     45,45,45,44,44,44,44,44,44,44,44,43,43,43,43,43,43,43,43,42,42,
07674     42,42,42,42,41,41,41,41,41,41,40,40,40,40,40,39,39,39,39,39,38,
07675     38,38,38,38,38,37,37,36,36,36,36,36,36,36,36,36,36,35,35,35,34,
07676     34,34,33,33,33,32,32,32,32,32,32,32,32,32,32,31,31,31,31,31,31,
07677     30,30,30,30,29,29,29,29,29,28,28,28,28,27,27,27,26,26,26,26,26,
07678     25,25,25,25,25,25,24,24,24,24,23,23,23,23,22,22,22,22,22,21,21,
07679     21,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,20,20,20
07680   };
07681   const int n4c1w4_a[] = {
07682     100, // Capacity
07683     500, // Number of items
07684     // Size of items (sorted)
07685     100,100,100,100,100,100,99,99,99,99,99,99,98,98,98,98,98,97,97,
07686     97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,
07687     95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,93,93,92,92,92,
07688     92,92,92,91,91,91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,89,
07689     89,89,89,89,88,88,88,88,88,88,88,88,88,88,88,87,87,87,87,87,87,
07690     87,87,87,87,86,86,86,86,86,86,86,86,85,85,85,85,85,85,85,85,85,
07691     84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,83,82,82,82,82,81,
07692     81,81,81,81,81,81,81,80,80,80,80,80,79,79,79,79,79,79,79,78,78,
07693     78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,75,74,
07694     74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,73,73,73,73,73,73,
07695     73,73,73,73,72,72,72,72,72,72,71,71,71,71,70,70,70,70,70,69,69,
07696     69,69,69,69,69,69,69,69,68,68,68,67,67,67,67,67,67,67,67,66,66,
07697     66,66,66,66,65,65,65,65,65,65,65,65,64,64,64,64,64,64,63,63,63,
07698     63,63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,60,60,60,60,60,
07699     60,60,60,60,60,59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,
07700     58,57,57,57,56,56,56,56,56,56,56,56,56,56,55,55,55,55,55,54,54,
07701     54,54,54,54,54,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,51,
07702     51,50,50,50,50,50,50,50,50,50,50,49,49,49,49,48,48,48,48,48,48,
07703     48,48,48,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,46,
07704     46,46,46,46,46,46,45,45,45,45,45,44,44,44,44,44,44,44,44,43,43,
07705     43,43,42,42,42,42,42,42,42,42,42,41,41,41,41,41,40,40,40,40,40,
07706     40,39,39,39,39,39,38,38,38,38,38,38,37,37,37,37,37,36,36,36,36,
07707     36,36,36,36,36,35,35,35,35,35,35,35,35,35,34,34,34,33,33,33,33,
07708     33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30
07709   };
07710   const int n4c1w4_b[] = {
07711     100, // Capacity
07712     500, // Number of items
07713     // Size of items (sorted)
07714     100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,
07715     98,98,98,98,98,98,98,98,98,98,97,97,97,97,97,97,96,96,96,96,96,
07716     96,96,96,96,95,95,95,95,95,95,94,94,93,93,93,93,93,93,92,92,92,
07717     92,92,92,92,91,91,91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,
07718     89,89,89,89,89,89,89,88,88,88,88,88,87,87,87,87,87,87,87,86,86,
07719     86,86,85,85,85,85,85,84,84,83,83,83,83,83,83,82,82,82,82,81,81,
07720     81,81,81,81,81,81,81,81,81,80,80,80,80,79,79,79,79,79,79,79,78,
07721     78,78,78,78,78,78,77,77,77,77,77,77,76,76,76,76,76,76,76,75,75,
07722     75,75,75,75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,73,72,72,
07723     72,72,72,72,71,70,70,70,69,69,69,69,69,69,69,69,69,68,68,68,68,
07724     68,68,68,68,68,68,67,67,67,67,67,66,66,66,66,66,65,65,65,65,65,
07725     65,65,64,64,64,64,64,64,63,63,63,63,63,63,63,62,62,62,62,62,62,
07726     62,62,62,61,61,61,61,61,61,60,60,60,60,60,60,59,59,59,59,59,59,
07727     58,58,58,58,58,58,58,58,58,58,58,58,58,58,57,57,57,57,57,57,57,
07728     57,56,56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,54,53,53,
07729     53,53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,51,51,
07730     51,51,51,51,51,51,51,51,51,51,51,50,50,50,50,50,50,50,49,49,49,
07731     49,49,49,49,49,49,48,48,48,48,48,48,48,48,48,47,47,47,47,47,47,
07732     47,47,47,47,47,46,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,
07733     44,44,44,44,44,43,43,43,43,43,43,43,43,43,43,43,42,42,42,42,42,
07734     42,42,42,42,41,41,41,41,41,41,41,40,40,39,39,39,39,39,39,38,38,
07735     38,38,37,37,37,37,37,37,37,37,37,36,36,36,36,36,35,35,35,35,35,
07736     35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,
07737     33,33,33,33,33,33,32,32,32,32,32,31,31,31,31,30,30,30,30,30
07738   };
07739   const int n4c1w4_c[] = {
07740     100, // Capacity
07741     500, // Number of items
07742     // Size of items (sorted)
07743     100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,98,98,98,98,
07744     97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,95,94,
07745     94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,92,92,92,92,92,92,
07746     92,92,92,91,91,91,91,91,91,90,90,90,90,90,90,90,90,90,90,89,89,
07747     89,89,89,89,89,89,89,89,89,89,88,88,88,88,88,87,87,87,87,87,87,
07748     87,87,86,86,86,86,86,85,85,85,84,84,83,83,83,83,83,82,82,82,82,
07749     82,82,81,81,81,81,80,80,80,80,80,80,80,80,80,80,80,79,79,79,79,
07750     78,78,78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,76,76,76,76,
07751     76,76,75,75,75,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,
07752     73,73,72,72,72,71,71,71,71,71,71,71,71,71,70,70,70,70,70,70,70,
07753     69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,67,67,67,67,67,
07754     67,67,67,67,67,67,67,67,67,67,67,66,66,66,66,66,66,66,66,66,66,
07755     65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,64,64,63,63,63,63,
07756     63,63,62,62,62,62,62,62,62,62,62,62,61,61,61,61,61,61,61,60,60,
07757     60,60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,58,58,58,58,58,
07758     58,58,58,58,57,57,57,56,56,56,55,55,55,55,55,55,55,54,54,54,54,
07759     54,54,53,53,53,53,52,52,52,52,51,51,51,51,51,51,51,51,51,51,50,
07760     50,50,50,50,50,50,50,50,50,50,49,49,49,49,49,49,49,49,48,48,48,
07761     48,48,48,47,47,47,47,47,47,46,46,46,46,46,45,45,45,45,45,44,44,
07762     44,44,44,44,44,44,44,43,43,43,43,43,43,43,43,43,42,42,42,42,42,
07763     41,41,41,41,41,41,41,41,41,40,40,40,39,39,39,39,39,39,38,38,38,
07764     38,38,38,38,38,38,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,
07765     35,35,35,35,34,34,34,34,34,34,33,33,33,33,33,33,33,33,33,33,32,
07766     32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,30
07767   };
07768   const int n4c1w4_d[] = {
07769     100, // Capacity
07770     500, // Number of items
07771     // Size of items (sorted)
07772     100,100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,
07773     99,98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,97,96,96,96,96,
07774     95,95,95,95,95,95,95,94,94,94,93,93,93,93,93,93,93,93,92,92,92,
07775     92,92,92,91,91,91,90,90,90,89,89,89,89,89,89,89,89,89,89,88,88,
07776     88,88,88,87,87,87,87,86,86,86,86,86,86,86,86,86,86,86,85,85,85,
07777     85,85,85,85,85,85,85,85,84,84,84,84,83,83,83,83,83,83,83,82,82,
07778     82,82,82,82,81,80,80,80,80,80,80,80,80,80,79,79,79,79,79,78,78,
07779     78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,76,75,
07780     75,75,75,75,75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,73,73,
07781     73,73,72,72,72,72,71,71,71,71,71,71,71,71,71,70,70,70,70,69,69,
07782     69,69,68,68,68,68,68,68,67,67,67,67,67,66,66,66,66,66,65,65,65,
07783     65,65,65,64,64,64,64,64,64,64,64,64,64,63,63,63,63,63,63,63,62,
07784     62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,61,61,61,61,
07785     61,61,61,61,61,61,60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,
07786     58,58,58,58,58,58,58,58,58,57,57,57,57,57,57,57,56,56,56,56,56,
07787     56,56,55,55,55,55,55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,
07788     53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,51,51,
07789     51,51,51,50,50,50,50,50,49,49,49,49,49,49,49,49,49,48,48,48,48,
07790     47,47,47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,45,45,45,45,
07791     45,45,44,44,44,44,44,44,44,44,43,43,43,43,43,43,42,42,42,42,42,
07792     42,42,41,41,41,41,41,41,41,41,40,40,40,40,40,40,39,39,39,39,39,
07793     38,38,38,38,38,38,38,38,38,38,37,37,37,37,37,37,36,36,36,36,36,
07794     36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,34,34,34,34,34,34,
07795     34,33,33,33,33,33,33,33,32,31,31,31,31,31,30,30,30,30,30,30,30
07796   };
07797   const int n4c1w4_e[] = {
07798     100, // Capacity
07799     500, // Number of items
07800     // Size of items (sorted)
07801     100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,98,98,
07802     98,98,98,98,98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,96,96,
07803     96,96,96,96,96,96,96,96,96,95,95,95,95,94,94,94,94,94,93,93,93,
07804     93,93,93,92,92,92,92,92,92,92,91,91,91,91,91,90,90,90,90,90,90,
07805     90,90,89,89,89,89,89,89,89,89,89,89,88,88,88,88,88,88,87,87,87,
07806     87,87,87,86,86,86,86,85,85,85,85,85,85,85,85,85,85,84,84,84,84,
07807     84,84,84,83,83,83,83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,
07808     81,81,80,80,80,80,80,80,80,80,80,80,80,80,80,80,79,79,79,79,79,
07809     79,78,78,78,78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,76,76,
07810     76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,
07811     74,74,74,73,73,73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,71,
07812     71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,68,68,
07813     68,68,68,68,67,67,67,67,67,67,67,67,67,67,67,67,67,67,66,66,66,
07814     66,66,66,66,66,65,65,65,65,64,64,64,64,63,63,63,63,63,63,63,63,
07815     63,63,62,62,62,62,62,61,61,61,61,61,60,60,60,60,60,60,59,59,59,
07816     59,59,59,59,59,59,59,59,59,59,58,58,58,58,57,57,57,57,57,57,57,
07817     57,57,56,56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,53,53,53,
07818     53,53,53,53,53,52,52,52,52,51,51,51,51,51,51,50,50,49,49,49,49,
07819     49,49,48,48,48,48,48,48,47,47,47,47,47,47,47,46,46,46,46,46,46,
07820     46,45,45,45,45,45,44,44,44,43,43,43,43,43,43,43,43,43,43,42,42,
07821     42,42,42,42,42,42,42,42,41,41,41,41,41,41,40,40,39,39,39,39,39,
07822     39,39,38,38,38,38,38,38,38,38,37,37,36,36,36,36,36,36,35,35,35,
07823     35,35,35,35,35,34,34,34,34,33,33,33,33,33,33,32,32,32,32,32,32,
07824     32,32,32,32,32,32,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30
07825   };
07826   const int n4c1w4_f[] = {
07827     100, // Capacity
07828     500, // Number of items
07829     // Size of items (sorted)
07830     100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,98,97,97,97,97,
07831     97,97,96,96,96,96,96,96,96,94,94,94,94,94,94,93,93,93,93,93,92,
07832     92,92,91,91,91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,88,88,
07833     88,88,88,87,87,87,87,87,87,86,86,86,86,85,85,85,84,84,84,84,84,
07834     84,84,83,83,83,83,83,83,83,83,83,83,82,82,82,82,82,82,81,81,81,
07835     81,81,81,81,81,80,80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,
07836     78,78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,76,76,76,76,76,
07837     76,76,76,76,75,75,75,75,75,75,75,75,75,75,74,74,74,74,74,74,74,
07838     73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,72,72,72,
07839     72,72,72,72,71,71,71,70,70,70,70,69,69,69,69,69,69,69,69,69,69,
07840     69,69,68,68,68,68,68,68,68,68,68,68,68,67,67,66,66,66,66,65,65,
07841     65,65,65,65,65,65,64,64,64,64,64,64,64,64,64,64,64,64,64,63,63,
07842     63,63,63,63,63,63,62,62,62,62,62,61,61,61,61,61,60,60,60,60,60,
07843     60,60,60,60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,59,59,58,
07844     58,58,58,58,58,58,58,58,58,57,57,57,57,57,57,57,57,57,57,57,57,
07845     56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,54,54,54,54,54,
07846     54,54,54,54,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,52,51,
07847     51,51,51,51,51,51,51,51,50,50,50,50,50,50,50,50,50,49,49,49,48,
07848     48,48,48,48,47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,46,45,
07849     45,45,45,44,44,44,44,44,44,44,44,44,44,44,43,43,43,42,42,42,41,
07850     41,41,41,41,40,40,40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,
07851     39,39,38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,36,36,36,36,
07852     36,35,35,35,35,35,35,35,35,34,34,34,34,34,33,33,33,33,32,32,32,
07853     32,32,32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,30
07854   };
07855   const int n4c1w4_g[] = {
07856     100, // Capacity
07857     500, // Number of items
07858     // Size of items (sorted)
07859     100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,98,98,98,
07860     98,98,98,98,97,97,97,97,97,97,97,96,96,96,96,96,96,95,95,95,95,
07861     95,95,95,95,95,94,94,94,94,94,93,93,93,93,93,93,93,93,93,93,92,
07862     92,92,92,92,92,91,91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,
07863     89,89,89,89,89,89,89,89,88,88,88,88,87,87,87,87,87,87,87,86,86,
07864     86,86,86,86,86,86,86,86,85,85,85,85,85,85,84,84,83,83,83,83,83,
07865     82,82,82,82,82,82,82,82,82,82,82,82,82,81,81,81,81,81,81,81,81,
07866     81,80,80,80,80,80,80,79,79,79,79,79,79,79,79,79,78,78,78,78,78,
07867     78,78,78,78,78,77,77,77,77,77,77,77,77,77,77,77,76,76,76,75,75,
07868     75,75,75,75,75,75,75,74,74,74,74,74,74,74,73,73,73,73,73,73,73,
07869     73,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,71,70,70,70,70,
07870     70,70,69,69,69,69,69,68,68,68,68,68,68,68,68,68,68,68,68,67,67,
07871     67,66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,63,
07872     63,63,63,63,63,62,62,62,62,62,62,61,61,61,60,60,60,60,60,60,60,
07873     60,60,60,59,59,59,59,59,59,59,59,59,58,58,58,58,58,58,57,57,57,
07874     56,56,56,56,55,55,55,55,55,55,55,54,54,54,54,54,54,54,54,54,54,
07875     53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,51,51,51,51,51,50,
07876     50,50,50,50,50,49,49,49,49,49,49,49,48,48,48,48,48,48,48,48,47,
07877     47,47,47,47,47,47,47,46,46,46,46,46,46,45,45,45,45,44,44,44,44,
07878     44,44,44,43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,42,42,41,
07879     41,41,41,41,41,41,41,41,41,40,40,40,40,40,39,39,39,39,39,39,39,
07880     39,38,38,38,38,37,37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,
07881     35,35,35,34,34,34,34,33,33,33,33,33,33,32,32,32,32,32,32,32,32,
07882     32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30
07883   };
07884   const int n4c1w4_h[] = {
07885     100, // Capacity
07886     500, // Number of items
07887     // Size of items (sorted)
07888     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,
07889     99,99,99,98,98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,97,97,
07890     96,96,96,96,96,95,95,95,95,95,95,95,95,95,95,95,95,94,94,94,94,
07891     94,94,93,93,93,93,93,92,92,92,92,92,92,91,91,91,91,91,91,91,91,
07892     91,91,91,91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,89,88,88,
07893     88,88,88,87,87,87,87,87,87,87,86,86,86,86,86,86,86,86,85,85,85,
07894     85,84,84,84,84,84,84,84,83,83,83,83,82,82,82,82,82,82,82,82,82,
07895     82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,80,80,80,80,80,79,
07896     79,79,79,79,79,79,78,78,78,78,78,78,78,78,77,77,77,76,76,76,76,
07897     76,76,76,76,76,76,76,76,76,75,75,75,75,74,74,74,74,74,74,73,73,
07898     73,72,72,72,71,71,71,71,71,71,71,70,70,70,70,70,70,70,70,70,69,
07899     69,69,69,69,68,68,68,68,68,68,68,67,67,67,67,67,67,66,66,66,66,
07900     66,66,66,66,66,65,65,65,65,65,65,65,65,65,65,64,64,64,64,64,63,
07901     63,63,63,63,63,62,62,62,62,62,61,61,61,61,61,61,61,61,61,60,60,
07902     60,60,60,59,59,59,59,58,58,58,58,58,58,58,58,58,57,57,57,57,57,
07903     57,56,56,56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,
07904     54,54,54,54,54,53,53,52,52,52,52,52,51,51,51,51,50,50,49,49,49,
07905     49,49,48,48,48,48,48,48,48,47,47,47,47,46,46,46,46,46,46,45,45,
07906     45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,44,44,43,43,43,43,
07907     43,43,43,43,42,42,42,42,42,42,42,42,42,41,41,41,41,41,41,40,40,
07908     40,39,39,39,38,38,38,38,38,38,38,38,38,38,38,37,37,37,37,37,37,
07909     37,37,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,34,34,34,34,
07910     34,34,34,34,34,34,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,
07911     32,31,31,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30
07912   };
07913   const int n4c1w4_i[] = {
07914     100, // Capacity
07915     500, // Number of items
07916     // Size of items (sorted)
07917     100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,98,98,
07918     98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,97,97,96,96,96,96,
07919     96,96,95,95,95,95,95,95,95,95,95,95,94,94,94,94,94,94,94,94,94,
07920     93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,91,
07921     91,91,91,91,91,91,91,90,90,90,90,89,89,89,89,89,89,89,89,88,88,
07922     88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,86,86,86,85,85,85,
07923     85,85,85,84,84,84,84,84,84,84,84,83,83,83,83,82,82,82,82,82,82,
07924     81,81,81,81,81,80,80,80,80,80,80,80,80,80,80,80,80,79,79,79,79,
07925     78,78,78,78,78,78,77,77,77,76,76,76,76,76,76,76,76,75,75,75,75,
07926     75,75,75,75,75,75,75,74,74,74,74,74,74,74,73,73,73,72,72,72,72,
07927     72,71,71,71,71,71,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,
07928     69,69,68,68,68,68,68,68,68,67,67,67,67,67,67,67,66,66,66,66,66,
07929     66,66,66,66,65,65,65,65,64,64,64,64,64,64,64,63,63,63,63,62,62,
07930     62,62,62,62,61,61,61,61,61,61,61,61,61,61,61,60,60,60,60,60,60,
07931     59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,
07932     57,56,56,56,56,56,55,55,55,55,55,55,55,54,54,54,54,53,53,53,53,
07933     53,52,52,52,52,52,52,52,52,52,52,51,51,51,51,51,50,50,50,50,50,
07934     50,49,49,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,46,
07935     46,45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,44,44,44,44,44,
07936     43,43,43,43,43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,40,40,
07937     40,40,40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,39,39,38,
07938     38,38,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,36,36,
07939     35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,34,33,33,33,33,
07940     33,33,32,32,32,32,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30
07941   };
07942   const int n4c1w4_j[] = {
07943     100, // Capacity
07944     500, // Number of items
07945     // Size of items (sorted)
07946     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,
07947     98,98,98,98,98,98,98,97,97,97,97,96,96,96,96,96,96,96,96,96,96,
07948     96,95,95,95,95,95,95,95,94,94,94,94,94,94,94,93,93,93,93,93,93,
07949     93,93,92,92,92,92,92,92,92,92,92,92,92,92,91,91,91,91,91,91,90,
07950     90,90,90,90,90,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,88,
07951     87,87,87,87,87,87,87,87,87,87,86,86,86,86,86,86,85,85,85,85,85,
07952     85,85,85,85,85,85,84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,
07953     82,82,82,82,82,82,82,81,81,81,80,80,80,80,80,80,80,80,80,80,80,
07954     80,79,79,79,79,79,79,79,79,79,78,78,78,78,77,77,77,77,77,77,76,
07955     76,76,76,76,76,76,76,76,75,75,75,75,75,75,74,74,74,74,74,74,73,
07956     73,73,73,73,73,73,73,72,72,72,71,71,71,71,71,71,71,70,70,70,70,
07957     70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,68,68,68,68,68,67,
07958     67,67,66,66,65,65,65,65,65,65,65,65,64,64,64,64,64,63,63,63,63,
07959     63,63,63,62,62,62,62,62,62,62,62,62,62,62,61,61,61,61,61,61,61,
07960     61,61,60,60,60,60,60,60,59,59,59,59,59,59,59,59,59,59,59,59,59,
07961     59,58,58,58,58,57,57,57,57,57,57,57,56,56,56,56,56,56,56,56,55,
07962     55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,52,52,52,52,52,52,
07963     52,51,51,51,51,51,51,51,51,51,50,50,50,50,50,50,49,49,49,48,48,
07964     48,48,48,48,48,48,48,48,48,47,47,47,47,46,46,46,46,46,46,46,45,
07965     45,45,45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,43,43,43,42,
07966     42,42,42,42,42,42,41,41,41,41,40,40,40,40,40,40,39,39,39,39,39,
07967     39,39,38,38,38,38,38,38,38,37,37,37,37,37,37,36,36,36,36,36,36,
07968     35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,34,34,34,34,34,33,
07969     33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30,30
07970   };
07971   const int n4c1w4_k[] = {
07972     100, // Capacity
07973     500, // Number of items
07974     // Size of items (sorted)
07975     100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,98,
07976     98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,96,96,96,96,96,96,
07977     96,96,96,96,95,95,95,95,95,95,95,95,95,94,94,94,93,93,93,93,93,
07978     93,92,92,92,92,92,92,92,91,91,91,91,91,91,91,90,90,90,90,90,89,
07979     89,89,89,89,89,89,89,89,89,88,88,88,88,88,88,88,88,88,88,88,88,
07980     88,88,87,87,87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,85,85,
07981     85,85,84,84,84,84,84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,
07982     83,82,82,82,81,81,81,80,80,80,80,80,79,79,79,79,79,78,78,78,78,
07983     78,78,77,77,77,77,77,77,77,77,77,76,76,76,75,75,75,75,75,75,74,
07984     74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,73,73,73,73,72,72,
07985     72,72,72,72,72,71,71,71,71,71,71,71,71,71,71,70,70,70,70,70,70,
07986     70,70,70,69,69,69,69,69,69,69,69,69,69,69,69,68,68,68,67,67,67,
07987     67,67,67,66,66,66,66,66,66,66,66,65,65,65,65,65,64,64,64,64,64,
07988     64,64,64,64,64,63,63,63,63,63,63,63,63,63,63,62,62,62,62,62,62,
07989     61,61,61,61,60,60,60,60,59,59,59,59,59,59,59,59,59,59,59,59,59,
07990     58,58,58,58,58,58,58,57,57,57,57,57,56,56,56,56,55,55,55,55,55,
07991     55,55,55,55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,53,53,52,
07992     52,52,52,52,51,51,51,51,51,50,50,50,50,50,50,50,50,50,49,49,49,
07993     49,49,49,48,48,48,48,48,48,48,48,47,47,47,46,46,46,46,46,46,46,
07994     46,46,45,45,45,45,45,44,44,44,44,44,44,44,44,44,44,43,43,43,43,
07995     43,43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,40,40,40,40,40,
07996     40,39,39,39,39,39,39,38,38,38,38,38,37,37,37,36,36,36,36,36,36,
07997     35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,33,32,
07998     32,32,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,30
07999   };
08000   const int n4c1w4_l[] = {
08001     100, // Capacity
08002     500, // Number of items
08003     // Size of items (sorted)
08004     100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,
08005     98,98,98,98,98,98,98,98,98,98,98,98,98,98,97,97,97,96,96,96,96,
08006     96,96,96,95,95,95,95,95,95,95,95,95,95,95,94,94,94,94,94,94,94,
08007     94,94,94,94,93,93,93,93,93,92,92,92,91,91,91,91,91,91,91,90,90,
08008     90,90,89,89,89,89,89,89,88,88,88,88,87,87,87,87,87,87,87,86,86,
08009     86,86,86,86,85,85,85,85,85,85,85,85,85,84,84,84,83,83,83,83,83,
08010     83,83,83,83,83,82,82,82,82,82,81,81,81,81,80,80,80,80,80,80,80,
08011     80,80,80,79,79,79,78,78,78,78,78,77,77,77,77,77,77,77,76,76,76,
08012     76,76,76,76,76,76,76,76,76,76,76,75,75,75,75,75,74,74,74,74,74,
08013     73,73,73,73,73,73,72,72,72,72,72,71,71,71,71,71,71,71,71,71,71,
08014     71,71,70,70,70,70,70,70,70,69,69,69,69,69,69,68,68,68,68,68,68,
08015     67,67,67,67,66,66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,65,
08016     64,64,64,64,64,64,64,64,63,63,63,63,62,62,62,62,62,62,62,62,62,
08017     61,61,61,61,61,61,61,61,60,60,60,60,60,60,60,60,60,60,60,60,60,
08018     60,59,59,59,59,59,59,58,58,58,58,57,57,57,57,57,57,57,57,56,56,
08019     56,56,56,56,56,55,55,55,55,54,54,54,54,53,53,53,53,53,52,52,52,
08020     51,51,51,51,51,51,51,51,50,50,50,50,50,49,49,49,49,49,48,48,48,
08021     48,48,48,48,48,48,48,48,47,47,47,47,47,47,47,47,47,46,46,46,46,
08022     46,46,46,46,46,46,45,45,45,45,44,44,44,44,44,44,44,44,44,43,43,
08023     43,43,43,43,43,43,42,42,42,42,42,42,42,42,41,41,41,41,41,41,41,
08024     41,41,40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,38,38,38,38,
08025     38,38,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,35,35,35,35,
08026     35,35,35,35,35,34,34,33,33,33,33,33,33,33,33,32,32,32,32,32,32,
08027     32,32,32,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30
08028   };
08029   const int n4c1w4_m[] = {
08030     100, // Capacity
08031     500, // Number of items
08032     // Size of items (sorted)
08033     100,100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,
08034     98,98,98,97,97,97,97,96,96,96,96,95,95,95,95,95,95,95,95,94,94,
08035     94,94,94,94,94,94,94,94,94,94,94,94,93,93,93,93,93,93,92,92,92,
08036     92,92,92,91,91,91,91,91,91,91,90,90,90,90,90,90,90,90,90,90,90,
08037     90,89,89,89,89,89,88,88,88,88,88,88,88,87,87,87,87,87,87,87,87,
08038     87,87,87,86,86,86,86,86,86,86,86,85,85,85,85,85,85,85,85,85,85,
08039     84,83,83,83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,81,80,80,
08040     80,80,80,80,80,80,80,80,79,79,79,79,79,79,78,78,78,78,78,78,77,
08041     77,77,77,77,77,76,76,76,75,75,75,75,75,74,74,74,74,74,74,73,73,
08042     73,73,73,73,73,73,73,72,72,72,72,72,72,72,72,72,72,71,71,71,71,
08043     71,71,71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,69,68,68,68,
08044     68,68,68,68,68,68,68,68,67,67,67,67,67,67,67,67,67,66,66,66,66,
08045     66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,63,63,63,63,63,63,
08046     62,62,62,62,62,62,62,61,61,61,61,61,61,60,60,60,60,60,60,60,59,
08047     59,59,59,59,59,59,59,58,58,58,58,57,57,57,57,57,57,57,56,56,56,
08048     56,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,
08049     54,54,54,54,54,53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,51,
08050     50,50,50,50,50,50,50,50,50,50,49,49,49,49,49,48,48,48,48,47,47,
08051     47,47,47,47,47,47,47,46,46,46,46,45,45,45,44,44,44,44,44,44,44,
08052     44,44,44,44,43,43,43,43,43,43,43,42,42,42,42,41,41,41,41,41,41,
08053     41,41,40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,38,38,38,
08054     37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,35,35,35,35,34,34,
08055     34,34,34,34,34,34,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,
08056     32,32,32,32,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30
08057   };
08058   const int n4c1w4_n[] = {
08059     100, // Capacity
08060     500, // Number of items
08061     // Size of items (sorted)
08062     100,100,100,100,100,99,99,99,99,99,99,98,98,98,98,97,97,97,96,
08063     96,96,96,96,95,95,95,95,95,95,95,95,95,95,95,95,95,94,94,94,94,
08064     94,94,94,94,93,93,93,93,93,93,92,92,92,92,92,92,91,91,91,91,91,
08065     91,91,91,90,90,90,90,89,89,89,89,89,89,89,89,89,88,88,88,88,88,
08066     88,88,87,87,87,87,87,87,87,87,87,87,86,86,86,86,86,86,86,85,85,
08067     85,85,85,85,85,84,84,84,84,84,84,84,84,83,83,83,83,83,83,83,82,
08068     82,82,82,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,
08069     80,80,80,79,79,79,79,79,79,78,78,78,78,78,78,78,78,77,77,77,77,
08070     77,77,77,77,76,76,75,75,75,75,75,75,75,75,75,74,74,74,74,74,74,
08071     74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,73,73,73,72,72,72,
08072     72,72,72,71,71,71,71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,
08073     69,69,69,69,69,68,68,68,68,68,67,67,67,67,66,66,66,66,66,66,66,
08074     66,66,65,65,65,65,65,65,65,64,64,64,64,64,64,64,63,63,63,63,62,
08075     62,62,62,62,62,62,61,61,61,61,61,61,61,61,60,60,60,60,60,60,60,
08076     60,60,59,59,59,59,58,58,58,58,58,58,58,58,58,58,58,57,57,57,57,
08077     57,57,56,56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,54,54,54,
08078     54,54,54,54,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,51,
08079     51,51,51,51,51,50,50,50,50,50,50,49,49,49,49,49,49,48,48,48,48,
08080     48,48,48,48,47,47,47,47,47,47,46,46,46,46,46,46,46,45,45,45,45,
08081     45,45,45,45,45,45,44,44,44,44,43,43,43,43,43,42,42,42,42,42,42,
08082     41,41,41,41,41,41,41,41,41,41,40,40,40,40,40,40,40,40,40,40,39,
08083     39,39,39,39,38,38,38,37,37,37,36,36,36,36,36,35,35,35,35,35,35,
08084     35,35,35,35,35,34,34,34,34,34,34,33,33,33,33,33,33,32,32,32,32,
08085     32,32,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30
08086   };
08087   const int n4c1w4_o[] = {
08088     100, // Capacity
08089     500, // Number of items
08090     // Size of items (sorted)
08091     100,100,100,100,100,100,100,100,99,99,99,98,98,98,98,98,98,98,
08092     98,98,97,97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,94,
08093     94,94,94,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,91,91,
08094     91,91,91,91,90,90,90,90,90,90,90,90,90,90,90,90,90,89,89,89,89,
08095     89,89,89,89,88,88,88,88,88,88,87,87,87,87,86,85,85,85,85,84,84,
08096     84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,83,83,
08097     82,82,82,82,81,81,81,81,81,81,80,80,80,79,79,79,79,79,79,79,79,
08098     79,78,78,78,78,78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,76,
08099     76,76,76,76,76,75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,73,
08100     72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,70,70,70,70,
08101     69,69,69,69,69,69,68,68,68,68,68,68,68,67,66,66,66,66,66,66,66,
08102     66,66,66,66,65,65,65,64,64,64,64,64,64,64,64,64,64,64,63,63,63,
08103     63,63,63,63,63,62,62,62,62,62,62,62,62,61,61,60,60,60,60,60,59,
08104     59,59,59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,
08105     57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,
08106     54,54,54,54,54,54,54,54,53,53,53,53,53,53,53,52,52,52,52,52,52,
08107     52,51,51,51,51,51,51,51,51,50,50,50,50,50,50,50,50,49,49,49,49,
08108     49,49,48,48,48,48,48,48,47,47,47,47,47,47,47,47,46,46,46,46,46,
08109     46,46,45,45,45,45,45,45,45,45,45,45,45,44,44,44,44,44,43,43,43,
08110     43,43,43,43,43,43,43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,
08111     41,41,41,41,41,41,41,40,40,40,40,40,39,39,39,39,39,39,39,39,39,
08112     38,38,38,38,38,38,38,37,37,37,37,37,37,37,36,36,36,36,36,36,36,
08113     36,36,35,35,35,35,35,35,34,34,34,34,34,34,34,34,33,33,33,33,33,
08114     33,33,33,32,32,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30
08115   };
08116   const int n4c1w4_p[] = {
08117     100, // Capacity
08118     500, // Number of items
08119     // Size of items (sorted)
08120     100,100,100,100,100,100,99,99,99,99,98,98,98,98,98,98,98,98,98,
08121     97,97,97,97,97,97,97,96,96,96,96,95,95,95,95,95,95,95,94,94,94,
08122     94,94,93,93,93,93,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,
08123     91,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,89,89,89,88,88,
08124     88,88,88,88,88,88,88,88,88,88,88,87,87,87,87,87,87,87,87,87,87,
08125     87,86,86,86,86,86,86,86,86,86,86,86,85,85,85,85,84,84,84,84,84,
08126     84,84,84,83,83,83,83,83,83,83,83,83,83,83,83,83,82,82,82,82,82,
08127     82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,80,79,79,79,
08128     79,79,79,79,79,78,78,78,78,78,78,78,78,78,78,77,77,77,77,77,76,
08129     76,76,76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,74,74,74,74,
08130     74,74,74,73,73,72,72,72,72,71,71,71,71,70,70,70,70,70,70,70,70,
08131     70,70,70,69,69,69,68,68,68,68,68,68,68,67,67,67,67,67,67,67,67,
08132     66,66,66,66,65,65,64,64,64,64,64,64,64,64,64,64,63,63,63,63,63,
08133     63,63,63,63,62,62,62,62,62,62,62,62,61,61,61,61,61,61,60,60,60,
08134     60,60,59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,57,57,57,
08135     57,57,57,56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,55,55,55,
08136     55,54,54,54,54,53,53,53,53,53,52,52,52,52,52,52,52,52,52,52,51,
08137     51,51,51,51,51,50,50,50,50,50,49,49,49,49,49,48,48,48,48,48,47,
08138     47,47,47,47,47,47,47,46,46,46,46,46,46,46,46,45,45,45,44,44,44,
08139     44,43,43,43,43,43,43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,
08140     41,40,40,40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,39,39,
08141     39,38,38,38,38,38,38,37,37,37,37,37,37,36,36,36,36,36,35,35,35,
08142     35,35,35,35,35,35,34,34,34,34,34,34,34,34,33,33,33,33,33,33,32,
08143     32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30
08144   };
08145   const int n4c1w4_q[] = {
08146     100, // Capacity
08147     500, // Number of items
08148     // Size of items (sorted)
08149     100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,98,
08150     98,98,98,98,98,97,97,97,97,96,96,96,96,96,96,95,95,95,95,94,94,
08151     94,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,92,91,91,91,
08152     91,91,91,91,90,90,90,90,90,90,90,90,90,90,90,90,90,89,89,89,88,
08153     88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,86,85,85,85,85,85,
08154     84,84,84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,83,82,82,82,
08155     82,82,82,82,82,82,81,81,81,81,81,81,81,81,81,80,80,80,80,80,80,
08156     80,80,80,79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,78,78,78,
08157     77,77,77,76,76,76,76,76,76,75,75,75,74,74,74,74,74,74,74,74,74,
08158     73,73,73,72,72,72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,71,
08159     71,71,70,70,70,70,70,70,69,69,69,69,69,69,68,68,68,68,68,67,67,
08160     67,67,67,67,67,66,66,66,66,66,66,66,65,65,65,65,64,64,64,64,64,
08161     64,64,64,64,64,64,64,64,63,63,63,63,63,63,63,62,62,62,62,62,62,
08162     61,61,61,60,60,60,60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,
08163     59,58,58,58,58,58,57,57,57,57,57,57,57,57,57,57,56,56,56,56,56,
08164     56,56,56,56,56,55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,53,
08165     53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,51,51,
08166     51,50,50,50,50,49,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,
08167     47,47,47,47,47,46,46,46,46,46,46,46,46,46,46,45,45,45,45,45,45,
08168     44,44,44,44,44,44,44,44,44,44,43,43,43,43,43,43,42,42,42,42,42,
08169     42,41,41,41,41,41,41,41,41,41,41,41,41,40,40,40,40,40,40,40,40,
08170     39,39,39,39,39,39,39,39,39,38,38,38,38,38,38,38,38,37,37,37,37,
08171     37,37,37,36,36,36,36,36,35,35,35,35,34,34,34,34,34,34,34,33,33,
08172     33,33,33,33,33,33,33,32,32,32,32,31,31,31,31,31,31,31,31,30,30
08173   };
08174   const int n4c1w4_r[] = {
08175     100, // Capacity
08176     500, // Number of items
08177     // Size of items (sorted)
08178     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,
08179     98,98,98,98,97,97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,96,
08180     96,96,96,96,96,95,95,95,94,94,94,94,94,94,94,94,94,94,93,93,93,
08181     93,93,93,93,92,92,92,92,92,92,92,92,92,92,92,92,92,91,91,91,91,
08182     91,90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,88,88,88,88,
08183     88,88,88,88,88,88,88,88,87,87,87,87,87,87,87,87,87,86,86,86,86,
08184     86,85,85,85,85,85,84,84,84,84,84,83,83,83,83,83,83,83,82,82,82,
08185     82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,80,80,80,80,80,
08186     80,79,79,79,79,79,79,78,78,78,78,78,77,77,77,77,77,76,76,76,76,
08187     76,76,76,76,76,75,75,75,75,75,74,74,74,74,74,74,73,73,73,73,73,
08188     73,73,73,73,72,72,72,72,72,71,71,71,71,70,70,70,70,70,69,69,69,
08189     69,69,69,69,69,69,69,68,68,68,67,67,67,67,66,66,66,66,66,66,66,
08190     65,65,65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,
08191     63,63,63,63,62,62,61,61,61,61,61,61,61,61,60,60,60,60,60,60,59,
08192     59,59,59,59,59,59,59,59,59,58,58,58,58,58,57,57,57,57,57,57,57,
08193     57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,
08194     54,54,53,53,53,53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,
08195     52,52,52,52,52,51,51,51,51,51,51,51,51,51,50,50,50,49,49,49,49,
08196     49,49,49,49,48,48,48,48,47,47,47,47,47,47,47,47,47,47,47,46,46,
08197     46,46,45,45,45,45,45,45,45,45,45,45,45,44,44,44,44,44,44,43,43,
08198     43,43,43,43,43,43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,40,
08199     40,40,40,40,40,40,39,39,39,39,39,38,38,37,37,37,37,37,37,37,37,
08200     36,36,36,36,36,35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,33,
08201     33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30
08202   };
08203   const int n4c1w4_s[] = {
08204     100, // Capacity
08205     500, // Number of items
08206     // Size of items (sorted)
08207     100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,98,98,97,
08208     97,97,97,97,97,96,96,96,96,96,96,95,95,95,95,95,94,94,94,94,94,
08209     94,93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,91,91,91,91,
08210     91,91,91,90,90,90,90,90,90,90,90,90,89,89,89,89,89,88,88,88,88,
08211     88,88,88,88,88,88,87,87,87,87,87,86,86,86,86,86,86,86,86,85,85,
08212     85,85,85,85,85,85,85,85,84,84,84,84,84,84,84,84,84,84,83,83,83,
08213     83,83,82,82,82,82,81,81,81,81,81,81,81,80,80,80,80,80,80,80,80,
08214     80,79,79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,77,77,77,77,
08215     77,76,76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,75,75,75,74,
08216     74,74,74,74,74,74,73,73,73,73,73,73,73,73,73,73,73,72,72,72,72,
08217     72,72,72,72,71,71,71,70,70,70,70,69,69,69,69,69,69,69,69,69,69,
08218     68,68,68,68,67,67,67,67,67,67,67,66,66,66,66,66,66,65,65,65,65,
08219     64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,62,62,62,62,61,61,
08220     61,61,61,61,61,61,60,60,60,60,60,60,59,59,59,59,59,59,59,59,59,
08221     59,58,58,58,58,57,57,57,57,57,57,57,57,57,57,56,56,56,55,55,55,
08222     55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,53,53,53,53,52,52,
08223     52,52,52,52,52,52,51,51,51,51,50,50,50,50,50,50,50,50,49,49,49,
08224     49,49,49,49,49,49,49,48,48,48,48,47,47,47,47,47,47,47,47,46,46,
08225     46,46,46,46,46,46,46,45,45,45,45,44,44,44,44,44,44,44,43,43,43,
08226     43,43,42,42,42,42,42,41,41,41,41,41,41,41,41,41,40,40,40,40,40,
08227     40,40,39,39,39,39,39,39,39,39,39,39,39,39,39,39,38,38,38,38,38,
08228     38,38,38,38,37,37,37,37,37,37,37,37,36,36,36,36,36,36,35,35,35,
08229     35,35,35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,33,33,33,
08230     33,33,33,32,32,32,32,32,31,31,31,31,30,30,30,30,30,30,30
08231   };
08232   const int n4c1w4_t[] = {
08233     100, // Capacity
08234     500, // Number of items
08235     // Size of items (sorted)
08236     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,
08237     98,98,98,98,97,97,97,97,97,97,96,96,96,96,95,95,95,95,95,95,95,
08238     95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,93,92,92,92,92,
08239     92,92,91,91,91,91,91,91,90,90,90,89,89,89,89,89,89,89,89,89,89,
08240     88,88,87,87,87,87,86,86,86,86,86,86,86,86,85,85,85,85,85,85,85,
08241     85,84,84,84,84,84,84,84,84,84,83,83,83,83,82,82,82,82,82,82,82,
08242     82,82,82,81,81,81,80,80,80,80,80,80,80,79,79,79,79,79,79,78,78,
08243     78,78,78,78,78,78,78,78,78,77,77,77,76,76,76,76,76,76,76,76,75,
08244     75,75,75,75,75,74,74,74,73,73,73,73,73,73,72,72,72,72,72,72,72,
08245     72,72,72,72,72,72,72,72,71,71,71,71,70,70,70,70,70,70,70,70,70,
08246     70,70,70,69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,68,68,
08247     68,68,68,67,67,67,67,67,67,67,67,66,66,66,65,65,65,65,65,65,65,
08248     65,65,65,65,64,64,64,64,63,63,63,63,63,63,62,62,62,62,62,61,61,
08249     61,61,61,61,60,60,60,60,60,59,59,59,59,59,59,58,58,58,58,57,57,
08250     57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,54,
08251     54,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,51,50,
08252     50,50,50,50,50,50,50,50,49,49,49,49,49,49,48,48,48,48,48,48,47,
08253     47,47,47,46,46,46,46,46,45,45,45,45,45,45,45,45,44,44,44,44,44,
08254     44,44,44,44,44,44,44,43,43,43,43,43,43,42,42,42,42,42,42,42,42,
08255     42,42,42,42,42,41,41,41,41,41,41,41,40,40,40,40,40,40,40,40,40,
08256     39,39,39,39,39,39,38,38,38,38,38,38,38,38,38,37,37,37,37,37,37,
08257     36,36,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,35,35,35,35,
08258     35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,32,32,32,32,
08259     32,32,32,32,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30,30
08260   };
08261   const int n4c2w1_a[] = {
08262     120, // Capacity
08263     500, // Number of items
08264     // Size of items (sorted)
08265     100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,98,97,96,96,
08266     96,95,95,95,95,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,
08267     92,92,92,92,92,92,91,91,91,91,91,91,90,90,90,90,90,90,90,90,89,
08268     89,88,88,88,88,88,88,87,87,87,87,86,86,86,85,85,85,85,85,84,84,
08269     84,84,83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,81,80,80,80,
08270     80,80,79,79,79,79,78,78,78,78,78,78,78,77,77,76,76,76,76,75,75,
08271     75,75,75,75,74,74,74,73,73,72,72,72,72,72,72,71,71,71,71,71,71,
08272     70,70,69,69,69,68,68,68,68,68,68,68,68,67,66,66,66,66,66,66,65,
08273     65,65,65,65,64,64,64,64,64,64,64,63,63,63,63,63,62,62,61,61,61,
08274     61,61,61,60,60,60,59,59,59,59,59,59,58,58,58,58,58,58,58,57,57,
08275     57,57,57,57,57,57,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,
08276     54,54,54,53,53,53,53,53,53,53,53,53,52,52,52,52,51,51,50,50,50,
08277     50,50,50,50,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,46,46,
08278     46,46,45,45,45,45,45,45,45,45,45,45,45,44,44,44,44,43,43,43,43,
08279     43,43,42,42,42,42,41,41,41,41,41,41,41,40,40,40,39,38,38,38,38,
08280     37,37,37,37,36,36,36,36,36,35,35,35,35,35,35,34,34,34,34,34,33,
08281     33,33,33,33,33,33,33,32,32,32,32,32,32,32,31,30,30,30,30,29,29,
08282     29,29,29,29,29,28,28,28,28,28,28,28,28,27,27,27,26,26,26,26,26,
08283     25,25,25,25,25,24,24,24,24,24,24,24,24,24,24,23,22,22,22,22,22,
08284     21,21,21,21,21,21,20,20,20,20,20,19,19,19,19,19,19,18,18,18,17,
08285     17,17,17,17,16,16,16,15,15,15,15,15,14,14,14,14,14,14,13,13,13,
08286     13,13,13,12,12,12,12,12,12,12,12,12,11,11,11,10,10,10,10,10,10,
08287     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,
08288     3,3,3,3,2,2,2,1,1,1
08289   };
08290   const int n4c2w1_b[] = {
08291     120, // Capacity
08292     500, // Number of items
08293     // Size of items (sorted)
08294     100,100,100,99,99,99,99,99,98,98,98,98,98,97,97,97,97,96,96,96,
08295     96,95,95,95,95,95,95,95,94,94,94,94,93,93,93,93,93,93,92,92,92,
08296     92,91,91,90,90,90,90,90,90,90,89,89,89,89,88,88,88,88,87,87,87,
08297     86,86,86,86,86,86,86,86,86,85,85,85,85,85,84,84,84,84,84,84,83,
08298     83,83,83,83,83,83,82,82,82,82,82,82,81,81,81,81,80,80,79,79,79,
08299     79,79,79,79,79,78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,77,
08300     76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,74,73,73,73,73,72,
08301     72,72,72,72,71,71,71,71,71,71,70,70,69,69,69,69,69,69,69,69,68,
08302     68,68,68,68,68,67,67,67,67,66,66,65,65,65,65,65,65,65,64,64,64,
08303     63,63,62,62,62,62,62,62,61,61,61,61,61,61,61,61,61,61,61,60,60,
08304     60,60,60,60,60,59,59,59,59,59,59,58,58,58,58,58,58,58,57,57,57,
08305     57,56,56,56,56,56,56,56,56,55,55,55,55,54,54,54,54,53,53,53,53,
08306     53,53,53,52,52,52,52,52,51,51,51,51,51,51,51,50,50,50,49,49,48,
08307     47,47,47,47,47,47,47,47,47,47,46,46,45,45,44,44,44,44,44,43,42,
08308     42,42,42,42,42,41,41,41,40,40,40,40,40,40,40,39,39,39,39,38,38,
08309     38,38,38,38,37,37,36,36,36,36,36,35,35,34,34,34,34,33,33,33,33,
08310     33,33,33,32,32,31,31,31,30,30,29,29,29,29,29,29,28,28,28,28,28,
08311     28,28,27,27,26,26,26,26,26,26,25,25,25,25,24,24,24,24,24,24,24,
08312     24,24,24,23,23,23,23,23,22,22,22,22,22,21,21,21,21,21,20,20,20,
08313     20,20,19,19,18,18,18,18,18,17,17,17,17,17,16,16,16,15,14,14,14,
08314     14,14,14,14,13,13,13,13,13,13,13,13,12,12,12,11,11,11,11,11,10,
08315     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,
08316     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,
08317     1
08318   };
08319   const int n4c2w1_c[] = {
08320     120, // Capacity
08321     500, // Number of items
08322     // Size of items (sorted)
08323     100,100,100,99,99,99,99,98,98,98,98,98,98,98,98,98,98,98,97,97,
08324     97,97,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,95,94,93,93,
08325     93,93,92,92,92,92,92,92,92,91,91,91,91,91,90,90,90,90,90,90,90,
08326     90,90,89,89,88,88,88,88,88,88,87,87,87,86,86,86,86,86,85,85,84,
08327     84,84,83,83,83,83,83,83,82,82,82,82,82,81,81,81,80,80,80,80,80,
08328     80,80,80,80,79,79,79,79,79,79,79,78,77,77,76,76,76,75,75,75,74,
08329     74,74,74,73,73,73,73,73,73,73,73,73,73,73,73,73,72,72,72,72,72,
08330     72,71,71,71,71,71,71,70,70,70,69,69,69,69,69,68,68,67,67,67,67,
08331     67,67,67,67,66,66,66,65,65,65,65,65,64,64,64,64,64,63,63,63,63,
08332     63,62,62,62,62,62,62,62,62,62,61,61,60,60,60,60,60,59,59,58,58,
08333     58,58,58,57,57,57,56,56,56,56,56,56,55,55,55,55,55,54,54,54,54,
08334     53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,51,50,50,50,50,50,
08335     49,49,49,49,49,49,49,49,48,48,48,48,47,47,47,47,47,46,46,46,45,
08336     45,45,45,45,45,44,44,44,44,44,44,44,44,44,43,43,43,43,43,42,42,
08337     42,42,42,41,41,41,41,41,41,40,40,40,39,39,39,39,39,39,39,38,38,
08338     38,37,37,37,37,37,37,37,36,36,36,36,36,36,35,35,35,35,35,35,35,
08339     35,35,34,34,33,33,33,33,33,32,32,32,32,32,31,31,31,31,31,31,31,
08340     30,30,30,30,30,30,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,
08341     27,27,27,26,26,26,26,26,25,25,25,24,24,24,24,24,24,24,23,23,23,
08342     23,23,22,22,22,22,22,21,21,21,21,21,20,20,20,20,20,19,19,19,19,
08343     19,18,18,18,18,17,17,17,16,16,16,16,16,16,15,15,15,14,14,14,14,
08344     14,14,14,14,13,13,13,13,13,12,12,12,12,12,12,11,11,10,9,9,9,9,
08345     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,
08346     2,2,1,1,1,1,1
08347   };
08348   const int n4c2w1_d[] = {
08349     120, // Capacity
08350     500, // Number of items
08351     // Size of items (sorted)
08352     100,100,100,100,99,99,99,99,99,98,98,98,98,97,97,97,97,97,96,
08353     96,96,96,96,96,95,95,95,95,94,94,94,94,94,94,93,93,93,93,93,93,
08354     92,92,92,92,92,91,91,91,91,91,91,91,90,90,90,90,89,89,88,88,88,
08355     87,87,87,86,85,85,85,85,85,85,85,84,84,84,83,83,83,83,82,82,82,
08356     82,82,82,81,81,81,81,80,80,79,79,79,78,78,78,78,78,77,77,77,77,
08357     77,77,77,77,76,76,76,76,76,76,75,75,75,74,74,74,74,73,73,73,73,
08358     73,73,73,72,72,72,72,72,71,71,70,70,70,70,70,70,69,68,68,68,68,
08359     67,67,67,66,66,65,65,65,65,65,64,64,64,64,64,64,64,64,64,64,64,
08360     63,63,63,63,62,62,62,62,61,61,61,60,59,59,59,58,58,58,58,58,58,
08361     57,57,57,57,57,56,56,56,54,54,54,54,54,54,53,53,53,53,53,53,53,
08362     52,52,51,51,51,51,51,51,51,50,50,50,50,49,49,49,48,48,48,48,48,
08363     47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,46,46,46,45,45,45,
08364     45,45,45,45,45,44,44,44,43,43,43,43,43,42,42,42,42,41,41,41,41,
08365     41,41,41,40,40,40,40,40,40,40,40,39,39,39,39,38,38,38,38,38,38,
08366     38,38,38,38,37,37,37,37,36,36,36,36,36,36,35,35,34,34,34,34,33,
08367     33,33,33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,
08368     30,30,30,30,30,30,29,29,29,29,28,28,28,28,28,28,28,28,28,28,27,
08369     27,27,26,26,26,26,26,26,26,26,26,26,26,25,25,25,25,25,25,25,25,
08370     24,24,24,23,23,23,23,23,23,23,23,23,23,23,23,22,22,22,21,21,21,
08371     21,21,21,21,20,20,20,20,20,20,20,20,19,19,18,18,18,18,17,17,17,
08372     17,17,16,16,16,16,16,16,16,16,15,15,15,15,14,14,13,13,13,13,12,
08373     12,12,12,12,12,12,12,12,11,11,11,11,11,10,10,10,10,9,9,9,9,8,
08374     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,
08375     2,2,2,2,2,1,1,1
08376   };
08377   const int n4c2w1_e[] = {
08378     120, // Capacity
08379     500, // Number of items
08380     // Size of items (sorted)
08381     100,100,100,100,99,99,99,99,98,98,98,98,97,97,97,97,97,97,97,
08382     96,96,96,96,96,96,96,96,95,95,95,95,95,94,94,94,94,94,93,93,93,
08383     93,93,93,93,93,92,92,92,92,92,92,91,91,90,90,90,90,90,90,90,90,
08384     90,89,89,89,88,88,88,88,88,88,88,87,87,87,87,86,86,86,85,85,84,
08385     84,84,83,83,83,82,82,82,82,81,81,81,81,81,81,81,81,81,80,80,80,
08386     80,80,80,79,79,79,79,78,78,78,78,77,77,77,77,77,76,76,76,76,76,
08387     76,76,75,75,75,75,75,75,75,74,74,74,73,73,73,73,73,73,73,73,72,
08388     72,72,72,72,72,71,71,71,71,71,70,70,70,70,70,69,69,69,69,69,69,
08389     69,68,68,68,68,68,68,68,68,67,67,67,66,66,66,66,65,65,65,64,64,
08390     64,63,63,62,62,62,62,62,62,62,61,61,61,60,60,60,60,60,59,59,59,
08391     59,59,59,59,58,58,58,58,57,57,57,57,56,56,56,56,56,56,56,56,56,
08392     55,55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,54,54,53,53,53,
08393     53,52,52,52,52,51,51,51,51,51,51,51,50,50,50,50,50,49,49,49,49,
08394     49,49,48,48,48,48,47,47,47,47,47,46,46,45,45,45,44,44,44,44,44,
08395     43,43,43,43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,41,40,40,
08396     40,39,39,39,38,38,38,37,36,36,36,36,36,36,36,35,35,35,35,35,35,
08397     35,35,34,34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,32,31,
08398     31,31,31,31,30,30,30,30,30,30,30,30,29,29,29,29,29,29,29,29,29,
08399     28,27,27,27,27,27,27,27,27,26,25,25,25,24,24,23,23,23,23,23,22,
08400     22,22,21,21,21,21,21,20,20,20,20,19,19,19,19,19,19,18,18,18,18,
08401     18,18,17,17,17,16,16,16,16,16,16,16,16,16,16,15,15,14,14,14,14,
08402     14,13,13,13,13,13,13,12,12,12,12,12,12,12,12,11,11,11,11,11,10,
08403     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,
08404     3,3,3,3,3,3,2,2,2,2,1
08405   };
08406   const int n4c2w1_f[] = {
08407     120, // Capacity
08408     500, // Number of items
08409     // Size of items (sorted)
08410     100,99,99,99,99,99,98,98,98,98,98,98,98,98,97,97,96,96,96,96,
08411     95,95,94,94,94,94,94,94,93,93,93,93,93,93,93,93,92,92,92,92,92,
08412     91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,89,89,88,88,88,87,
08413     87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,85,85,85,84,84,84,
08414     84,83,83,83,83,83,83,83,83,82,82,81,81,81,81,81,80,80,80,80,80,
08415     79,79,79,79,79,79,78,77,77,77,76,76,76,76,76,76,75,75,74,74,73,
08416     73,73,73,73,72,72,72,71,71,71,70,70,70,70,70,70,70,70,69,69,69,
08417     69,68,68,68,67,67,67,67,67,66,65,65,65,64,64,64,64,64,64,63,63,
08418     63,63,63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,61,61,61,60,
08419     60,60,60,60,60,60,60,59,59,57,57,57,57,57,56,56,56,56,56,56,55,
08420     55,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,52,52,52,52,
08421     52,52,52,52,51,51,51,51,51,50,50,50,50,50,50,50,50,49,49,49,49,
08422     49,49,49,49,48,48,47,47,47,47,47,46,46,46,46,46,46,46,46,45,45,
08423     45,44,44,44,44,44,43,43,43,43,42,42,42,42,41,41,41,40,40,40,40,
08424     40,39,39,39,39,38,38,38,38,38,37,37,37,37,36,36,36,36,36,35,35,
08425     35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,32,32,32,32,32,
08426     31,31,31,31,31,31,31,30,30,30,29,29,29,29,29,29,28,28,28,27,27,
08427     27,27,27,27,26,26,26,26,26,26,25,25,25,25,24,24,24,24,24,24,23,
08428     23,23,23,23,22,22,22,22,21,21,21,21,21,21,20,20,20,20,19,19,19,
08429     19,18,18,18,17,17,17,17,16,16,16,16,16,15,15,15,14,14,14,14,14,
08430     13,13,13,13,13,13,13,12,12,12,12,11,11,11,10,10,10,10,10,10,10,
08431     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,
08432     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
08433   };
08434   const int n4c2w1_g[] = {
08435     120, // Capacity
08436     500, // Number of items
08437     // Size of items (sorted)
08438     100,100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,
08439     99,99,99,99,98,98,98,98,97,97,97,97,96,96,96,96,96,96,96,96,96,
08440     96,96,95,95,95,94,94,94,94,94,94,94,93,93,93,93,92,92,92,92,92,
08441     92,91,91,91,91,91,90,90,90,89,89,89,89,89,89,88,88,88,88,88,88,
08442     87,87,86,86,86,86,86,85,85,85,84,84,84,84,84,83,83,83,83,83,83,
08443     82,82,82,82,82,82,81,81,81,81,81,80,80,80,79,79,79,79,79,78,78,
08444     78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,75,75,74,74,74,74,
08445     74,73,73,73,73,73,73,72,72,72,72,71,71,71,71,71,70,70,70,70,70,
08446     70,70,69,69,69,69,69,68,68,68,67,67,67,66,66,65,64,64,64,63,63,
08447     63,63,63,62,62,62,62,61,60,60,60,60,59,59,59,59,59,58,58,58,58,
08448     58,57,57,57,57,57,56,56,55,55,55,55,55,54,54,54,53,53,53,53,53,
08449     52,52,52,52,52,51,51,51,51,51,50,50,50,50,49,49,49,49,49,49,48,
08450     48,48,48,47,47,47,47,47,47,47,47,47,46,46,46,46,46,46,46,45,45,
08451     45,45,45,44,44,44,44,44,44,43,43,43,43,42,41,41,41,41,40,40,40,
08452     40,40,39,39,39,38,38,38,38,38,38,38,38,38,37,37,37,37,37,36,36,
08453     36,36,36,36,36,36,36,35,35,35,35,35,34,34,34,34,34,33,33,33,33,
08454     33,33,33,33,32,32,32,32,32,31,31,31,30,30,30,30,30,30,29,29,29,
08455     29,29,29,29,29,29,29,29,28,27,27,27,27,27,27,26,26,26,26,26,26,
08456     26,26,26,25,25,25,25,24,24,24,24,24,24,24,23,22,22,22,22,22,21,
08457     21,21,20,20,20,19,19,19,19,19,19,18,18,18,17,17,17,17,17,17,17,
08458     17,17,17,16,16,16,16,16,15,15,15,14,14,14,14,14,13,13,13,13,13,
08459     13,12,12,12,12,12,11,11,11,11,10,10,10,10,10,10,10,10,9,9,9,9,
08460     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,
08461     2,2,2,2,1,1,1,1,1,1
08462   };
08463   const int n4c2w1_h[] = {
08464     120, // Capacity
08465     500, // Number of items
08466     // Size of items (sorted)
08467     100,100,100,100,99,99,99,99,99,98,98,98,98,98,97,97,97,97,97,
08468     96,96,96,96,96,96,96,96,96,96,96,95,95,94,94,94,94,94,93,93,93,
08469     93,93,93,92,92,92,91,91,91,91,90,90,90,89,89,89,89,89,88,88,88,
08470     88,87,87,87,87,86,86,86,86,85,85,85,85,85,85,84,84,84,84,84,84,
08471     84,84,83,83,83,82,82,82,82,81,81,81,81,81,81,81,80,80,80,80,80,
08472     80,80,79,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,78,
08473     77,77,77,77,77,77,77,77,76,76,76,76,76,74,74,74,74,74,73,73,73,
08474     73,73,73,72,72,72,71,71,71,71,70,70,70,70,70,70,70,69,69,69,69,
08475     69,69,68,68,68,68,68,67,67,67,67,67,66,66,66,65,65,65,65,64,64,
08476     64,64,63,63,63,63,63,63,63,63,63,63,62,62,62,62,62,62,61,61,61,
08477     61,61,61,60,60,60,60,60,60,60,60,59,58,58,58,58,57,57,56,56,56,
08478     56,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,53,53,52,52,52,
08479     52,52,52,52,52,52,51,51,51,51,50,50,50,50,50,49,49,48,48,48,47,
08480     47,46,46,46,46,46,46,46,45,45,44,43,43,43,43,42,42,42,42,42,42,
08481     41,41,41,41,40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,
08482     38,37,37,37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,35,34,34,
08483     34,34,34,34,33,33,33,33,32,32,32,32,32,32,32,32,31,31,31,31,30,
08484     30,30,30,30,30,29,29,29,29,29,28,28,28,28,28,27,27,27,27,26,26,
08485     26,26,26,26,26,26,26,25,25,25,24,24,24,24,24,23,23,23,23,23,23,
08486     23,22,22,22,22,21,21,21,20,20,20,19,19,19,19,19,19,18,18,18,18,
08487     18,18,18,17,17,17,17,17,17,16,16,16,16,16,15,15,15,15,14,14,14,
08488     13,13,12,12,12,12,12,12,12,11,11,11,11,11,11,10,10,10,9,9,9,9,
08489     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,
08490     2,2,2,1,1,1,1,1
08491   };
08492   const int n4c2w1_i[] = {
08493     120, // Capacity
08494     500, // Number of items
08495     // Size of items (sorted)
08496     100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,99,98,98,98,
08497     98,98,98,98,97,97,97,96,96,96,96,96,96,96,96,95,95,95,95,94,94,
08498     94,94,94,93,92,92,92,92,91,91,91,91,91,91,90,90,90,90,90,89,89,
08499     89,89,89,88,88,88,88,88,87,87,87,86,86,86,86,85,85,85,85,84,84,
08500     84,84,84,84,83,83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,
08501     81,81,80,80,80,80,79,79,79,79,78,78,78,77,77,77,76,76,75,75,74,
08502     74,74,74,74,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,71,70,
08503     70,70,70,70,70,70,70,69,69,69,69,68,68,67,67,67,67,67,67,67,66,
08504     66,66,65,65,65,65,64,64,64,64,64,64,64,64,64,64,63,63,63,63,63,
08505     63,63,62,62,62,62,62,61,61,61,61,61,60,60,60,59,59,58,58,58,58,
08506     58,58,57,57,57,57,56,56,56,56,55,55,55,55,55,55,54,54,54,54,53,
08507     53,53,52,52,52,52,52,51,51,51,51,51,50,50,50,50,50,50,50,50,50,
08508     49,49,49,48,48,48,47,47,47,47,47,47,46,46,46,46,46,45,45,45,45,
08509     44,44,44,43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,41,41,41,
08510     41,41,41,40,40,40,40,40,40,40,39,39,39,39,39,38,38,38,38,37,37,
08511     37,37,37,36,36,36,36,36,36,36,36,35,35,34,34,34,34,34,34,34,34,
08512     33,33,33,33,33,32,32,31,31,31,31,31,31,30,29,29,29,28,28,28,28,
08513     28,28,28,27,27,27,27,26,26,26,26,26,26,26,26,25,25,25,25,25,25,
08514     24,24,24,24,24,24,24,24,24,23,23,23,22,22,22,21,21,21,21,21,21,
08515     20,20,20,20,20,20,19,19,19,19,18,18,18,18,18,18,18,18,18,18,17,
08516     17,17,17,17,16,16,16,16,16,15,15,15,15,15,14,14,14,14,14,13,13,
08517     13,13,13,12,12,12,12,11,11,11,11,11,11,10,10,10,10,10,9,9,9,8,
08518     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,
08519     2,2,2,2,2,2,1,1
08520   };
08521   const int n4c2w1_j[] = {
08522     120, // Capacity
08523     500, // Number of items
08524     // Size of items (sorted)
08525     100,100,100,100,99,99,98,98,98,98,97,97,97,97,97,97,96,96,96,
08526     96,95,95,94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,92,92,
08527     92,92,91,91,91,90,90,89,89,89,89,89,89,89,89,88,88,88,87,87,87,
08528     87,86,86,86,86,85,85,85,85,85,84,84,83,83,83,82,82,82,82,82,82,
08529     81,81,81,81,81,81,81,81,80,80,80,80,80,80,80,79,79,79,79,78,78,
08530     78,78,78,78,78,78,77,77,76,76,76,76,76,76,75,75,75,75,75,75,75,
08531     75,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,72,72,72,72,
08532     71,71,70,70,70,69,69,69,69,69,68,68,67,67,67,67,66,66,66,66,66,
08533     66,66,65,65,65,65,65,65,64,64,64,64,63,63,62,62,61,61,61,60,60,
08534     60,59,59,59,59,59,58,58,58,58,58,58,58,58,58,57,57,57,57,57,57,
08535     56,56,55,55,55,55,55,55,54,54,54,53,53,53,52,52,52,52,52,51,51,
08536     51,51,51,51,51,51,50,50,50,49,49,49,49,49,49,48,48,48,48,48,48,
08537     47,47,47,47,47,47,46,45,45,45,45,45,44,44,44,44,44,44,43,43,43,
08538     42,42,42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,40,40,40,39,
08539     39,39,39,39,39,39,39,38,38,37,37,37,37,37,37,36,36,36,36,36,36,
08540     36,36,36,36,35,35,35,35,34,34,33,33,33,33,33,33,32,32,32,32,32,
08541     31,30,30,30,30,30,30,30,30,30,29,29,29,29,29,29,29,29,28,28,28,
08542     28,27,27,27,27,26,26,26,25,25,25,25,25,24,24,24,24,24,23,23,23,
08543     22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,20,20,19,19,19,19,
08544     18,18,18,18,18,17,17,17,17,17,17,16,16,16,16,15,15,15,15,14,14,
08545     14,14,13,13,13,13,13,13,12,12,12,12,12,12,11,11,11,11,10,10,10,
08546     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,
08547     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
08548   };
08549   const int n4c2w1_k[] = {
08550     120, // Capacity
08551     500, // Number of items
08552     // Size of items (sorted)
08553     100,100,100,100,100,100,100,99,99,98,98,98,97,97,97,97,97,96,
08554     96,96,96,95,95,95,95,95,95,95,95,94,94,94,94,94,93,93,93,93,93,
08555     92,92,92,92,92,91,91,91,91,91,90,90,90,89,89,88,88,88,88,88,88,
08556     88,88,88,87,87,86,86,86,86,86,85,85,85,85,85,85,85,85,85,84,84,
08557     84,84,83,83,83,83,83,83,82,82,82,82,82,81,81,81,81,80,80,80,80,
08558     80,79,79,79,79,79,79,78,78,78,78,78,77,77,77,77,77,77,76,76,76,
08559     76,76,76,75,75,75,75,75,74,74,74,74,74,74,73,73,73,73,72,72,71,
08560     71,71,71,70,70,70,70,69,69,69,69,68,68,68,67,67,66,66,66,66,66,
08561     66,66,66,65,65,65,64,64,64,64,64,64,64,64,64,64,64,63,63,63,62,
08562     62,62,62,62,61,61,61,61,61,60,60,60,60,60,59,59,59,59,59,58,58,
08563     57,57,57,57,56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,54,
08564     54,54,54,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,
08565     50,50,50,50,50,50,50,49,49,49,49,48,48,48,48,48,48,48,48,47,47,
08566     46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,44,
08567     44,43,43,43,42,42,42,42,41,41,41,40,40,40,40,39,39,39,39,39,39,
08568     39,39,38,37,37,37,37,37,36,36,36,36,36,35,35,35,35,34,34,34,34,
08569     33,33,33,32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,
08570     29,29,29,28,28,28,28,28,28,28,27,27,27,27,27,27,27,27,26,26,26,
08571     26,26,26,26,26,25,25,25,25,25,25,24,24,24,24,24,23,23,22,22,22,
08572     22,22,22,22,21,21,21,21,20,20,20,20,20,20,20,19,19,19,19,19,19,
08573     19,18,18,18,18,18,17,17,16,16,16,16,16,15,15,15,14,14,13,13,12,
08574     12,12,12,12,11,11,11,11,11,11,11,11,11,11,10,10,10,10,10,10,10,
08575     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,
08576     3,3,2,2,2,2,1,1,1,1,1
08577   };
08578   const int n4c2w1_l[] = {
08579     120, // Capacity
08580     500, // Number of items
08581     // Size of items (sorted)
08582     100,100,100,99,99,99,99,99,99,99,98,98,98,97,97,96,96,95,95,95,
08583     95,95,95,95,95,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,
08584     92,92,91,91,90,90,90,89,89,89,89,88,88,88,87,87,87,87,87,87,87,
08585     86,86,86,86,86,86,85,85,85,85,85,85,85,85,85,84,84,84,84,84,84,
08586     84,84,84,83,83,83,83,83,83,83,82,82,82,81,81,81,81,80,80,80,80,
08587     79,79,79,79,78,78,78,78,78,77,77,77,77,76,76,76,76,75,75,75,75,
08588     74,74,74,73,73,73,73,73,72,72,71,71,71,71,71,71,70,70,70,70,70,
08589     70,70,70,69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,67,67,
08590     67,66,66,66,65,65,64,64,64,64,64,63,63,63,62,62,62,62,62,62,62,
08591     62,62,61,61,61,61,61,60,60,60,60,60,59,59,59,59,59,59,58,58,58,
08592     58,58,58,57,57,57,57,57,56,56,56,56,56,56,56,56,55,55,55,55,55,
08593     55,55,55,54,54,54,54,54,54,54,53,53,53,52,52,52,52,52,51,51,50,
08594     50,50,50,49,49,49,49,49,49,49,48,48,48,48,48,48,47,47,47,47,47,
08595     46,46,46,46,46,46,46,45,45,45,44,44,44,43,43,42,42,42,42,41,41,
08596     41,41,41,40,40,40,40,40,40,40,40,39,39,39,39,39,39,38,38,38,38,
08597     38,38,37,37,37,37,37,36,36,36,36,35,35,35,35,34,34,34,34,33,33,
08598     33,32,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,
08599     30,29,29,29,29,29,29,29,29,28,28,28,27,27,27,26,26,26,26,26,25,
08600     25,25,25,24,24,24,24,24,24,24,23,23,23,23,22,22,22,22,22,22,21,
08601     21,21,21,21,21,21,21,20,20,20,20,20,20,20,19,19,19,19,18,18,18,
08602     18,18,18,17,17,17,17,17,16,16,16,16,16,15,14,13,13,13,13,12,12,
08603     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,
08604     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,
08605     1,1,1
08606   };
08607   const int n4c2w1_m[] = {
08608     120, // Capacity
08609     500, // Number of items
08610     // Size of items (sorted)
08611     100,100,100,100,100,100,100,99,99,99,99,99,99,98,98,98,97,97,
08612     97,97,96,96,96,96,96,96,96,95,95,95,95,94,94,94,94,93,93,93,93,
08613     93,93,93,93,93,93,93,92,92,91,91,91,91,90,90,90,90,89,89,89,89,
08614     89,89,89,89,89,88,88,88,88,87,87,87,87,86,86,86,86,86,86,86,86,
08615     86,85,85,85,85,85,85,84,84,84,83,83,83,83,82,82,82,82,82,82,81,
08616     81,81,81,80,80,80,80,80,80,79,79,79,78,78,78,78,77,77,77,77,77,
08617     77,77,76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,74,74,73,73,
08618     73,72,72,72,72,72,72,72,71,71,71,71,71,71,70,70,70,70,69,69,68,
08619     68,68,68,68,68,68,68,67,67,67,67,67,67,66,66,66,66,66,66,66,66,
08620     65,65,65,65,65,64,64,64,64,63,63,63,63,62,62,62,61,61,61,60,60,
08621     60,60,60,60,60,60,60,60,60,60,59,59,59,59,59,58,58,58,57,57,57,
08622     57,57,57,57,56,56,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,
08623     53,53,53,52,52,52,52,52,51,51,51,51,51,51,51,51,50,50,50,50,50,
08624     49,49,49,49,49,49,49,49,48,48,48,48,48,48,47,47,47,46,46,46,45,
08625     45,45,45,44,44,44,44,44,44,44,43,43,43,42,42,42,41,41,41,41,40,
08626     40,39,39,39,39,38,38,38,38,38,38,37,37,37,37,36,36,36,36,36,36,
08627     35,35,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,32,32,31,31,
08628     31,30,30,30,30,30,30,29,29,29,28,28,28,28,28,28,28,28,27,27,27,
08629     27,26,26,26,26,26,26,26,26,26,26,25,25,25,25,25,24,24,24,23,23,
08630     23,23,22,22,22,21,21,21,21,20,20,20,20,20,20,20,20,20,19,19,19,
08631     19,18,18,18,18,18,17,17,17,17,17,17,17,16,16,16,15,15,15,15,15,
08632     14,14,14,14,14,14,14,13,13,13,13,13,13,12,12,12,12,11,11,11,11,
08633     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,
08634     5,5,5,5,5,4,3,3,2,2,1,1,1
08635   };
08636   const int n4c2w1_n[] = {
08637     120, // Capacity
08638     500, // Number of items
08639     // Size of items (sorted)
08640     100,100,100,100,99,99,99,99,99,98,98,98,98,98,97,97,96,96,96,
08641     96,95,95,95,94,94,94,94,94,93,93,93,93,93,93,92,92,92,91,91,91,
08642     91,91,91,91,90,90,90,89,89,88,88,88,88,88,88,88,88,87,87,87,87,
08643     87,87,87,87,87,86,86,86,86,86,86,86,85,85,84,84,84,84,83,83,83,
08644     83,83,82,82,82,82,82,81,81,81,81,80,80,80,80,80,80,79,79,79,79,
08645     78,78,78,78,78,78,78,77,77,76,76,75,75,75,75,75,75,75,75,75,74,
08646     74,74,74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,71,70,70,69,
08647     69,69,69,69,69,69,68,68,68,68,67,67,67,67,67,67,66,66,66,66,66,
08648     66,65,65,65,65,65,64,64,64,64,64,64,64,64,64,63,63,63,63,63,63,
08649     63,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,59,59,59,59,59,
08650     59,58,58,58,58,58,57,57,57,57,56,56,56,56,56,56,56,55,55,55,54,
08651     54,54,54,53,53,52,52,52,52,52,52,52,51,51,51,51,51,50,50,50,50,
08652     50,50,50,49,49,49,49,48,48,48,48,48,48,48,48,48,47,47,47,47,47,
08653     47,47,47,47,46,46,46,46,46,46,45,45,45,45,44,44,44,44,44,44,43,
08654     43,43,43,42,42,42,41,41,41,41,41,40,40,40,40,40,40,39,39,39,39,
08655     39,39,39,38,38,38,38,38,38,37,37,37,37,37,36,36,36,35,35,35,35,
08656     34,34,34,33,33,33,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30,
08657     30,30,30,29,29,29,29,29,28,28,27,27,27,27,27,27,26,26,25,25,25,
08658     25,25,25,25,25,24,24,24,24,24,24,24,24,24,23,23,22,22,22,22,21,
08659     21,21,21,21,20,20,20,20,20,19,19,19,19,18,18,18,18,18,17,17,17,
08660     17,17,17,16,16,16,16,16,16,15,15,15,15,15,14,14,14,14,14,13,13,
08661     13,13,13,13,12,12,12,12,11,11,11,11,11,11,11,10,10,10,10,10,10,
08662     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,
08663     2,2,2,2,2,1,1,1,1
08664   };
08665   const int n4c2w1_o[] = {
08666     120, // Capacity
08667     500, // Number of items
08668     // Size of items (sorted)
08669     100,100,100,100,100,100,99,99,99,99,98,98,98,98,98,97,97,97,97,
08670     96,96,96,96,96,96,96,96,95,95,95,95,94,94,93,93,93,93,93,93,93,
08671     92,92,92,92,92,92,91,91,91,91,90,90,90,90,90,89,89,89,89,89,88,
08672     88,88,88,87,87,87,87,86,86,85,85,85,85,84,84,84,84,83,83,83,82,
08673     82,82,82,81,81,81,81,81,81,81,81,81,81,81,81,81,80,80,80,79,79,
08674     79,79,79,79,79,79,79,78,78,78,78,77,77,77,77,77,77,76,76,76,76,
08675     76,76,76,75,75,74,74,74,74,74,74,74,74,73,73,73,73,72,72,72,72,
08676     72,72,72,72,71,71,71,71,71,71,71,71,71,71,70,70,70,70,70,70,70,
08677     69,69,69,69,69,68,67,67,66,66,65,65,65,65,65,65,65,64,64,63,63,
08678     63,63,63,63,63,63,63,63,63,62,62,62,61,61,61,61,61,61,60,60,60,
08679     60,59,59,59,59,59,59,58,58,58,58,58,57,57,57,56,56,56,56,56,56,
08680     56,56,55,55,55,55,55,54,54,54,54,54,53,53,53,53,53,53,53,52,51,
08681     51,50,50,50,50,49,49,49,48,48,47,47,47,47,47,47,47,47,47,47,47,
08682     47,46,46,46,46,46,45,45,45,45,44,44,44,44,44,43,43,43,43,42,42,
08683     42,42,42,42,42,42,41,41,41,40,40,39,39,39,39,39,38,38,38,38,38,
08684     37,37,37,37,37,36,36,36,36,36,36,35,35,35,35,35,35,34,34,34,34,
08685     34,34,33,33,33,33,33,32,32,32,32,31,31,31,31,30,30,30,30,30,29,
08686     29,29,29,29,29,29,29,29,28,28,28,28,28,27,27,27,27,27,27,26,26,
08687     26,26,26,25,25,25,25,25,25,25,25,24,24,24,24,24,24,24,23,22,22,
08688     22,22,21,21,21,21,21,21,20,19,19,19,19,19,18,18,18,18,18,17,17,
08689     17,17,17,17,16,16,16,16,15,15,15,15,14,14,14,14,14,13,13,13,13,
08690     13,12,12,12,12,12,12,12,11,11,11,11,11,10,10,10,10,9,9,9,9,8,
08691     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,
08692     1,1,1,1,1,1,1,1
08693   };
08694   const int n4c2w1_p[] = {
08695     120, // Capacity
08696     500, // Number of items
08697     // Size of items (sorted)
08698     100,100,100,100,100,100,100,99,99,99,99,99,99,98,98,98,97,97,
08699     97,96,96,96,96,96,96,96,95,95,95,95,95,94,94,93,93,93,92,92,92,
08700     92,92,92,92,91,91,90,90,90,90,90,90,90,89,89,89,89,89,88,88,88,
08701     87,87,87,87,87,86,85,85,85,85,85,85,85,85,84,84,84,84,84,84,84,
08702     84,83,83,83,83,83,82,82,82,82,82,82,81,81,81,81,81,81,81,80,80,
08703     80,79,79,78,78,78,78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,
08704     76,75,75,75,74,74,74,74,74,74,74,74,73,73,72,72,72,71,71,71,70,
08705     70,70,70,70,70,70,70,69,69,69,69,69,69,68,68,68,68,68,68,68,68,
08706     68,68,67,67,67,67,66,66,66,66,66,66,66,65,65,65,65,65,64,64,64,
08707     64,64,64,64,63,63,63,63,63,62,62,62,62,61,61,61,61,60,60,60,60,
08708     59,59,59,59,59,58,58,58,57,57,57,57,56,56,55,55,55,55,55,55,54,
08709     54,54,54,54,53,53,53,53,53,53,53,53,53,53,53,53,53,53,52,52,52,
08710     51,51,51,51,51,51,51,50,50,50,50,50,50,49,49,49,49,49,48,48,48,
08711     48,48,48,48,47,47,47,47,47,47,47,47,46,46,46,46,46,45,45,45,45,
08712     44,44,44,44,44,44,44,43,43,43,43,42,42,42,42,42,41,41,41,41,41,
08713     40,40,40,39,39,38,38,38,38,38,38,37,37,37,37,36,36,36,35,35,35,
08714     35,35,35,35,34,34,34,34,34,33,33,33,32,32,32,32,31,31,31,31,31,
08715     30,30,30,30,29,29,29,29,29,29,28,28,28,27,27,26,26,26,26,26,26,
08716     26,26,26,26,25,25,24,24,24,24,24,24,23,23,23,23,23,23,23,23,22,
08717     22,22,21,21,21,20,20,20,19,19,19,19,19,19,18,18,17,17,16,16,16,
08718     16,16,16,15,15,15,15,15,15,14,14,14,14,14,14,14,14,13,13,13,13,
08719     13,13,13,13,13,13,12,12,12,12,11,11,11,11,11,11,11,11,10,9,9,
08720     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,
08721     2,2,2,2,2,2,2,1,1,1
08722   };
08723   const int n4c2w1_q[] = {
08724     120, // Capacity
08725     500, // Number of items
08726     // Size of items (sorted)
08727     100,100,100,100,100,100,100,99,99,99,98,98,98,98,98,98,98,98,
08728     97,97,97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,95,95,
08729     95,94,94,94,94,94,94,94,93,93,93,92,91,91,91,91,90,90,89,89,89,
08730     89,89,89,89,89,88,88,88,88,88,88,87,87,87,87,86,86,86,86,85,85,
08731     85,85,85,85,85,84,84,84,84,84,84,84,84,84,83,83,83,83,82,82,81,
08732     81,81,80,80,80,79,79,79,78,78,77,77,77,77,77,76,76,76,75,75,75,
08733     75,75,75,74,74,74,74,73,73,73,73,73,73,73,73,72,72,72,72,72,72,
08734     72,72,72,72,71,71,71,71,71,71,71,70,70,69,69,69,69,69,68,68,68,
08735     67,67,67,66,66,66,66,66,65,65,65,65,65,65,64,64,64,64,63,63,63,
08736     63,62,62,62,61,61,61,61,61,61,61,61,61,60,60,60,60,60,60,59,59,
08737     59,59,59,59,59,58,58,58,58,58,57,56,56,56,56,55,55,55,55,55,55,
08738     55,54,53,53,53,53,53,52,52,52,52,52,52,52,52,52,52,51,51,51,51,
08739     51,51,51,50,50,49,49,49,48,48,48,48,48,48,48,48,47,47,47,46,46,
08740     46,46,46,45,45,45,45,44,44,44,44,44,44,44,44,44,43,43,43,43,42,
08741     42,42,41,41,41,41,41,40,40,40,40,40,39,39,39,39,39,39,39,39,38,
08742     38,38,37,37,37,37,36,36,36,36,35,35,35,34,34,34,34,34,34,34,33,
08743     33,33,33,33,33,33,32,32,32,32,31,31,31,31,30,30,30,30,29,29,29,
08744     29,29,29,28,28,28,28,28,28,27,27,27,27,27,26,26,25,25,25,25,24,
08745     24,24,23,23,23,23,23,23,23,23,22,22,22,22,22,22,21,21,21,21,20,
08746     20,20,20,20,19,19,19,19,19,19,19,19,19,19,18,18,18,18,17,17,17,
08747     17,17,17,17,16,16,16,15,15,15,14,14,14,13,12,12,12,12,11,11,11,
08748     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,
08749     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,
08750     1,1,1,1
08751   };
08752   const int n4c2w1_r[] = {
08753     120, // Capacity
08754     500, // Number of items
08755     // Size of items (sorted)
08756     100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,
08757     98,97,97,97,97,97,97,97,96,96,96,96,96,96,95,95,95,95,95,94,93,
08758     93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,90,
08759     90,89,89,89,89,89,89,89,88,88,87,87,87,87,87,87,86,86,86,86,86,
08760     86,86,86,86,86,86,85,85,85,83,83,83,83,83,82,82,82,82,82,82,81,
08761     80,80,80,80,79,79,79,78,78,78,78,78,78,77,77,77,77,77,76,76,76,
08762     76,76,76,76,76,75,75,75,75,75,75,74,74,74,73,73,73,73,72,72,71,
08763     71,71,71,71,70,70,70,70,70,69,69,69,69,69,69,69,68,68,67,66,66,
08764     65,65,65,65,65,65,64,64,64,64,64,63,63,63,63,63,63,62,62,62,62,
08765     62,61,61,61,61,61,61,61,61,61,61,61,60,60,60,60,60,60,60,59,59,
08766     59,59,59,59,58,58,58,58,58,57,57,57,57,56,56,56,56,56,56,55,55,
08767     55,55,55,54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,51,51,51,
08768     51,51,50,50,49,49,49,49,49,48,48,48,48,48,48,48,48,47,47,47,46,
08769     46,45,45,45,45,45,45,45,45,45,45,45,45,44,43,43,43,43,43,43,43,
08770     42,42,42,42,42,42,42,42,42,41,41,41,41,40,40,40,40,40,40,39,39,
08771     39,39,39,39,39,38,38,38,37,37,37,37,37,37,37,36,36,36,36,36,36,
08772     35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,32,32,32,31,31,31,
08773     31,31,30,30,30,29,29,29,29,29,28,28,28,28,28,27,27,27,27,27,27,
08774     27,26,26,26,26,26,25,25,25,25,25,24,24,24,24,24,24,24,24,23,23,
08775     22,22,22,22,21,21,21,20,20,20,19,19,19,19,19,19,18,18,18,18,17,
08776     17,17,16,16,16,16,16,16,16,15,15,15,15,14,13,13,13,13,12,12,12,
08777     12,12,12,12,12,12,11,11,11,10,10,10,10,10,10,10,9,9,8,8,8,7,7,
08778     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,
08779     1,1,1,1,1,1,1,1
08780   };
08781   const int n4c2w1_s[] = {
08782     120, // Capacity
08783     500, // Number of items
08784     // Size of items (sorted)
08785     100,100,100,99,99,99,98,98,98,98,97,97,97,97,96,96,96,96,96,96,
08786     95,95,95,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,92,91,
08787     91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,88,88,88,88,88,88,
08788     88,88,87,87,87,86,86,86,85,85,85,85,85,85,85,85,85,84,84,84,84,
08789     83,83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,81,80,80,80,80,
08790     80,80,80,79,79,79,79,78,77,77,77,77,77,76,76,76,75,74,74,74,74,
08791     73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,70,70,70,69,69,69,
08792     68,68,68,68,68,68,68,68,68,67,66,66,66,66,66,66,65,65,65,65,65,
08793     65,65,65,65,65,65,65,64,64,63,63,63,63,63,63,63,63,63,62,62,62,
08794     62,62,62,62,62,62,61,61,61,61,61,61,61,61,61,60,60,60,60,59,59,
08795     59,59,58,58,58,57,57,57,57,56,56,56,56,56,56,55,55,54,54,54,54,
08796     53,53,53,53,53,53,52,52,52,52,51,51,51,51,51,50,50,50,50,49,49,
08797     49,49,48,48,48,47,47,47,47,46,46,46,46,46,46,46,46,45,45,45,45,
08798     45,45,45,44,44,44,44,44,43,43,43,43,43,43,43,43,43,42,42,42,42,
08799     42,42,42,42,41,41,41,41,41,41,40,40,40,40,40,40,40,39,39,39,39,
08800     39,39,38,38,37,37,37,36,36,36,36,36,36,35,35,35,35,35,35,35,34,
08801     34,34,34,34,33,33,33,33,33,33,32,32,32,32,32,32,32,31,31,31,31,
08802     31,31,30,30,30,30,30,29,29,29,29,28,28,28,27,27,27,27,26,26,26,
08803     26,26,26,26,25,25,24,24,24,24,24,24,23,23,23,22,22,22,22,21,21,
08804     21,21,21,20,20,19,19,19,19,19,19,19,19,19,18,18,18,18,17,17,17,
08805     17,17,17,17,17,16,16,16,16,15,15,14,14,14,14,13,12,12,12,12,12,
08806     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,
08807     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,
08808     2,1,1,1
08809   };
08810   const int n4c2w1_t[] = {
08811     120, // Capacity
08812     500, // Number of items
08813     // Size of items (sorted)
08814     100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,98,98,
08815     97,97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,95,94,94,94,94,
08816     94,94,94,94,93,93,93,93,92,92,92,92,92,92,91,91,91,91,90,90,90,
08817     90,90,89,89,89,89,89,89,89,89,88,88,88,88,87,87,87,87,86,86,85,
08818     85,85,84,84,84,84,84,84,84,84,83,83,83,83,82,82,82,82,82,81,81,
08819     81,81,81,81,81,81,80,80,80,80,79,79,79,79,79,78,78,78,78,77,77,
08820     77,77,76,76,76,75,75,75,75,75,75,75,74,74,74,74,74,73,73,73,72,
08821     72,72,71,71,71,70,70,70,70,69,69,69,69,69,69,68,68,68,67,67,67,
08822     67,67,67,67,67,67,66,66,66,66,66,66,66,65,65,65,65,64,64,64,64,
08823     64,63,63,63,62,62,62,62,61,61,61,61,61,61,61,60,60,60,59,59,59,
08824     59,59,59,58,58,58,58,58,58,57,57,57,57,57,56,56,56,55,55,55,54,
08825     54,54,53,53,53,53,53,53,52,52,52,52,51,51,51,51,51,50,50,50,50,
08826     50,49,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,46,46,46,46,
08827     46,46,45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,43,43,43,42,
08828     42,42,42,42,42,42,41,41,41,41,41,41,40,40,40,39,39,39,39,38,37,
08829     37,37,37,37,37,37,37,36,36,36,36,36,35,35,34,34,34,34,33,33,33,
08830     33,33,33,33,32,32,32,31,31,31,31,31,31,31,30,30,29,29,29,29,29,
08831     29,27,27,26,26,25,25,25,25,25,25,25,25,24,24,24,24,24,24,24,24,
08832     24,24,23,23,23,23,22,22,22,22,21,21,21,21,21,21,21,21,21,21,20,
08833     20,20,20,19,19,19,19,19,19,18,18,18,18,18,18,18,18,18,17,17,17,
08834     17,17,17,16,16,16,16,15,14,14,14,14,14,14,14,14,13,13,13,13,12,
08835     12,12,12,12,12,12,12,12,11,11,10,10,10,10,9,9,9,9,8,8,8,8,8,8,
08836     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,
08837     2,2,2,2,2,1
08838   };
08839   const int n4c2w2_a[] = {
08840     120, // Capacity
08841     500, // Number of items
08842     // Size of items (sorted)
08843     100,100,100,100,99,99,99,99,99,99,99,99,99,99,98,97,97,97,97,
08844     97,97,97,96,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,
08845     95,94,94,94,94,94,94,94,94,94,93,93,93,93,92,92,92,92,92,92,92,
08846     92,92,91,91,91,91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,89,
08847     89,88,88,88,88,88,88,87,87,87,87,87,86,86,86,86,86,86,86,85,85,
08848     85,85,85,85,85,84,84,84,84,84,84,84,83,83,82,82,82,82,82,81,81,
08849     81,81,81,80,80,80,80,80,80,80,79,79,79,79,79,79,78,78,78,78,78,
08850     78,78,77,77,77,77,76,76,76,76,75,75,75,75,75,75,75,75,75,75,74,
08851     73,73,73,73,73,73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,71,
08852     71,71,70,69,69,69,69,69,69,69,69,68,68,68,68,68,67,67,67,67,67,
08853     67,67,67,67,67,66,66,66,66,65,65,65,65,65,65,65,65,64,64,64,63,
08854     63,63,62,62,62,62,62,62,62,62,62,62,61,61,61,61,61,60,60,60,60,
08855     60,59,59,59,59,59,59,59,59,58,58,58,58,58,58,57,57,57,57,57,57,
08856     57,57,57,56,56,56,56,56,56,55,54,54,54,54,54,53,53,53,53,53,52,
08857     52,52,52,52,52,52,52,52,51,51,50,50,50,50,50,50,50,50,50,49,49,
08858     49,49,49,49,48,48,48,48,48,48,48,48,47,47,47,46,46,46,46,46,46,
08859     46,45,45,45,45,45,45,45,45,45,45,44,44,44,44,44,44,43,43,43,43,
08860     43,43,42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,40,40,39,39,
08861     39,39,39,39,39,38,38,38,38,38,37,37,37,36,36,36,35,35,35,35,35,
08862     35,35,34,34,34,34,34,33,33,33,33,33,33,33,33,33,32,32,32,32,32,
08863     32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,30,29,29,29,29,29,
08864     29,29,29,28,28,28,28,28,28,27,27,27,27,27,27,27,26,26,26,26,26,
08865     26,26,26,25,25,25,25,24,24,24,24,24,24,24,24,24,23,23,23,23,23,
08866     23,23,22,22,22,22,22,21,21,21,21,21,21,21,21,20,20,20,20
08867   };
08868   const int n4c2w2_b[] = {
08869     120, // Capacity
08870     500, // Number of items
08871     // Size of items (sorted)
08872     100,100,100,100,100,100,99,99,99,99,99,99,98,98,98,98,98,98,98,
08873     97,97,97,97,97,97,97,97,97,97,97,97,97,97,96,96,96,95,95,95,95,
08874     95,94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,93,93,92,
08875     92,92,92,92,91,91,91,91,91,91,90,90,90,90,89,89,89,89,89,89,89,
08876     89,88,88,88,88,88,87,86,86,86,86,86,86,85,85,85,84,84,84,84,84,
08877     84,83,83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,81,81,
08878     81,81,80,80,79,79,79,79,79,79,79,79,78,78,78,78,78,77,77,77,77,
08879     77,77,77,76,76,76,76,76,76,76,76,76,75,75,75,74,74,74,74,74,74,
08880     74,74,74,73,73,73,73,72,72,72,72,72,72,72,71,70,70,70,70,70,69,
08881     69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,67,67,67,67,67,
08882     67,67,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,63,63,
08883     63,63,63,63,63,63,62,62,62,62,62,61,61,61,61,61,61,60,60,60,60,
08884     60,59,59,59,59,59,59,59,58,58,57,57,57,56,56,56,56,56,56,56,55,
08885     55,55,55,55,55,55,55,54,54,54,54,54,53,53,53,53,53,53,53,53,52,
08886     52,52,52,52,52,52,51,51,51,51,51,51,51,50,50,50,50,50,50,50,50,
08887     50,50,49,49,49,49,49,49,48,48,48,48,48,48,48,48,47,47,47,47,47,
08888     47,47,47,47,47,46,46,46,46,45,45,45,44,44,44,43,43,42,42,42,42,
08889     42,41,41,41,41,41,41,41,41,41,41,40,40,40,39,39,39,39,39,38,38,
08890     38,38,37,37,37,37,37,37,37,37,37,37,36,36,36,36,36,36,35,35,35,
08891     35,35,35,35,34,34,34,34,34,33,33,33,33,33,33,33,33,33,32,32,32,
08892     32,31,31,31,31,31,31,31,30,30,30,30,30,30,29,29,29,28,28,28,28,
08893     28,28,28,28,28,27,27,27,27,27,27,27,26,26,26,26,26,26,25,25,25,
08894     25,25,25,25,25,25,25,25,24,24,24,24,24,24,24,24,23,23,23,23,23,
08895     23,23,23,22,22,22,22,22,22,21,21,21,21,20,20,20,20,20,20
08896   };
08897   const int n4c2w2_c[] = {
08898     120, // Capacity
08899     500, // Number of items
08900     // Size of items (sorted)
08901     100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,98,98,98,97,
08902     97,97,97,97,97,96,96,96,95,95,95,95,95,95,95,95,94,94,94,94,94,
08903     94,93,93,93,93,93,93,93,92,92,92,92,92,92,92,91,91,91,91,91,91,
08904     90,90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,88,88,88,88,
08905     88,88,88,87,87,87,86,86,86,86,86,85,85,85,85,85,84,84,84,84,84,
08906     84,83,83,83,83,83,83,83,82,82,82,82,81,81,81,81,81,81,81,80,80,
08907     80,80,78,78,78,78,78,78,78,78,78,78,77,77,77,76,76,76,76,76,76,
08908     76,75,75,75,75,74,74,74,74,74,74,74,73,73,73,73,73,73,73,73,72,
08909     72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,70,69,69,69,
08910     69,69,68,68,67,67,67,67,67,66,66,66,66,66,66,66,65,65,65,65,65,
08911     65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,64,63,63,63,63,
08912     62,62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,60,60,59,59,
08913     59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,57,57,57,57,57,
08914     56,56,56,56,56,56,56,56,55,55,55,54,54,53,53,53,53,53,53,53,52,
08915     52,52,52,52,51,51,51,50,50,50,50,49,49,49,49,49,49,49,49,48,48,
08916     48,48,48,48,48,47,47,47,47,47,47,47,46,46,46,45,45,45,45,45,45,
08917     45,45,44,44,44,44,44,44,43,43,43,43,43,43,43,43,43,42,42,42,42,
08918     42,42,42,42,41,41,41,41,41,41,41,41,41,40,40,40,40,40,39,39,39,
08919     39,39,38,38,38,38,38,37,37,37,37,37,36,36,36,35,35,35,35,35,35,
08920     35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,32,
08921     32,32,32,31,31,31,31,31,31,31,31,30,30,30,30,30,30,29,29,29,29,
08922     29,29,29,29,28,28,28,28,28,27,27,27,27,27,27,27,26,26,26,26,26,
08923     26,25,25,25,25,25,24,24,24,24,24,24,24,23,23,23,23,23,23,23,23,
08924     23,22,22,22,22,21,21,21,21,21,21,21,21,21,20,20,20,20,20
08925   };
08926   const int n4c2w2_d[] = {
08927     120, // Capacity
08928     500, // Number of items
08929     // Size of items (sorted)
08930     100,99,99,99,99,99,99,99,98,98,98,98,98,98,98,97,97,97,97,97,
08931     97,97,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,94,94,
08932     94,94,94,93,93,93,93,93,92,92,92,92,91,91,91,91,91,90,90,90,90,
08933     90,90,90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,88,88,88,88,
08934     88,88,87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,84,84,84,84,
08935     84,84,84,83,83,83,83,83,83,83,83,83,83,83,82,82,82,82,82,82,82,
08936     82,81,81,81,81,81,81,81,80,80,80,80,80,79,79,79,79,79,79,78,78,
08937     78,78,78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,76,76,75,75,
08938     75,75,75,75,74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,73,72,
08939     72,72,72,72,71,71,71,71,71,71,71,71,70,70,70,70,70,70,70,69,69,
08940     69,68,68,68,68,68,68,67,67,67,67,67,66,66,65,65,65,65,65,64,64,
08941     64,63,63,63,63,62,62,62,62,62,62,61,61,61,61,61,61,60,60,60,60,
08942     60,60,60,59,59,59,59,59,59,59,58,58,58,58,58,57,57,57,57,57,57,
08943     57,56,56,56,55,55,55,55,55,54,54,54,54,54,54,54,54,54,54,53,53,
08944     53,53,53,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,50,50,
08945     50,49,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,47,47,
08946     46,45,45,45,45,45,45,45,45,44,44,44,43,43,43,43,43,43,42,42,42,
08947     42,42,42,42,42,42,41,41,41,41,41,40,40,40,40,40,39,39,39,39,39,
08948     39,39,39,39,39,38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,36,
08949     36,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,35,35,34,34,34,
08950     34,34,33,33,33,33,33,33,33,33,33,32,32,32,32,32,32,32,31,31,31,
08951     31,31,31,31,30,30,30,30,29,29,28,28,28,28,28,28,28,27,27,27,27,
08952     26,26,26,26,26,25,25,25,25,25,24,24,24,24,24,24,24,23,22,22,22,
08953     22,22,22,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20
08954   };
08955   const int n4c2w2_e[] = {
08956     120, // Capacity
08957     500, // Number of items
08958     // Size of items (sorted)
08959     100,100,100,100,100,100,100,99,99,98,98,98,98,98,98,98,97,97,
08960     97,96,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,95,94,
08961     94,94,94,94,93,93,93,93,93,93,93,93,93,92,92,92,92,92,91,91,91,
08962     91,91,91,91,91,91,91,90,90,90,90,89,89,88,88,88,88,88,88,87,87,
08963     87,87,87,86,86,86,86,85,85,85,84,84,84,84,84,84,83,83,83,83,83,
08964     83,83,83,82,82,82,82,82,81,81,81,81,81,80,80,80,80,80,80,79,79,
08965     79,79,79,79,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,76,76,
08966     76,76,75,75,75,75,75,75,75,75,74,74,74,74,73,73,73,73,73,73,73,
08967     73,72,72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,70,70,
08968     70,70,70,69,69,69,68,68,68,68,68,68,67,67,67,67,67,67,67,67,67,
08969     66,66,66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,
08970     64,63,63,63,63,63,62,62,62,62,62,62,62,62,62,61,61,61,61,61,61,
08971     61,61,61,61,61,61,60,60,60,60,59,59,59,59,59,59,59,58,58,58,58,
08972     58,57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,55,55,54,54,
08973     54,54,54,54,54,54,53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,
08974     52,52,51,51,51,51,51,51,51,51,50,50,50,50,50,50,50,50,49,49,49,
08975     49,49,49,49,49,49,48,48,48,47,47,47,47,47,47,47,46,46,46,46,46,
08976     46,45,45,45,45,45,44,44,44,44,44,44,44,43,43,42,42,42,42,41,41,
08977     40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,38,38,37,37,36,36,
08978     36,36,36,36,35,35,35,35,35,35,35,35,35,35,35,35,34,34,34,34,34,
08979     34,34,34,34,34,34,33,33,33,33,33,33,32,32,32,32,32,32,31,31,31,
08980     31,30,30,30,30,30,30,29,29,28,28,27,27,27,27,27,27,27,26,26,26,
08981     26,26,25,25,25,25,25,25,25,25,25,25,24,24,24,24,24,24,24,23,23,
08982     23,23,23,23,23,23,23,22,22,22,22,21,21,21,21,20,20,20,20,20
08983   };
08984   const int n4c2w2_f[] = {
08985     120, // Capacity
08986     500, // Number of items
08987     // Size of items (sorted)
08988     100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,
08989     99,99,99,98,98,98,98,98,98,97,97,97,97,97,96,95,95,95,95,95,94,
08990     94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,93,92,92,92,92,92,
08991     91,91,91,91,91,91,91,91,91,91,90,90,90,90,90,90,90,90,90,90,89,
08992     89,89,89,89,89,89,88,88,88,88,87,87,87,87,87,86,86,86,86,86,86,
08993     86,86,86,86,85,85,85,85,85,85,84,84,84,84,84,83,83,83,83,83,83,
08994     83,83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,
08995     79,79,79,79,79,79,79,78,78,78,78,78,78,78,77,77,77,77,77,77,77,
08996     76,76,76,76,76,76,75,75,75,75,75,75,75,75,75,74,74,74,74,74,74,
08997     74,74,74,74,73,73,73,73,72,72,72,72,72,72,72,72,72,72,71,71,71,
08998     71,70,70,70,70,70,70,70,69,69,69,69,69,69,68,68,68,68,68,68,68,
08999     68,68,68,67,67,67,67,67,66,66,66,66,66,65,65,65,65,65,64,64,64,
09000     64,63,63,63,63,63,63,62,62,62,62,62,62,62,62,62,61,61,61,61,61,
09001     61,60,59,58,58,58,58,57,57,57,57,57,56,56,56,56,56,56,56,56,56,
09002     56,55,55,55,54,54,54,54,53,53,53,53,52,52,52,52,52,51,51,51,51,
09003     51,51,50,50,50,50,50,50,50,50,50,50,49,49,48,48,48,48,48,48,48,
09004     47,47,46,46,46,46,46,46,46,46,45,45,45,45,45,45,44,44,43,43,43,
09005     43,42,42,42,42,42,42,42,41,41,41,41,41,41,40,40,40,39,39,38,38,
09006     38,38,37,37,37,37,37,37,37,37,37,37,37,37,37,36,36,36,36,36,36,
09007     36,36,36,35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,
09008     33,33,33,32,32,32,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30,
09009     30,29,29,29,29,29,28,28,28,28,28,28,28,28,28,27,27,27,27,27,26,
09010     26,26,26,25,25,25,25,25,25,25,25,24,24,24,23,23,23,23,23,23,23,
09011     23,23,22,22,22,22,22,22,22,22,22,21,21,21,21,21,20,20,20,20
09012   };
09013   const int n4c2w2_g[] = {
09014     120, // Capacity
09015     500, // Number of items
09016     // Size of items (sorted)
09017     100,100,100,100,100,100,100,100,100,100,99,99,99,99,98,98,98,
09018     98,98,98,97,97,97,97,97,97,96,96,96,96,96,95,95,95,95,95,95,95,
09019     95,95,95,95,94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,92,
09020     92,92,91,91,91,91,90,90,90,90,90,90,90,89,89,89,89,89,89,88,88,
09021     88,88,88,88,88,87,87,87,87,86,86,86,86,85,85,85,85,85,85,85,84,
09022     84,84,84,84,84,83,83,83,83,83,82,82,82,81,81,81,81,80,80,80,80,
09023     79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,77,77,77,77,77,76,
09024     76,76,76,75,75,75,75,75,75,75,75,74,74,74,74,74,74,73,73,73,72,
09025     72,72,72,72,72,71,71,71,71,71,71,70,70,70,70,70,69,69,69,69,69,
09026     69,69,69,69,69,68,68,68,68,68,68,68,68,68,68,68,68,68,67,67,67,
09027     67,66,66,66,65,65,65,65,65,65,65,65,65,64,64,64,64,64,64,63,63,
09028     63,63,63,63,63,63,63,63,63,62,62,62,62,62,61,61,61,60,60,60,60,
09029     60,60,59,59,59,59,59,59,59,59,59,59,58,58,58,57,57,57,57,57,57,
09030     57,57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,54,54,54,54,
09031     54,54,54,54,54,53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,51,
09032     51,51,51,50,50,50,50,50,50,50,50,50,49,49,49,48,48,48,48,47,47,
09033     47,47,47,47,47,47,47,46,46,46,46,45,45,45,45,45,45,44,44,44,43,
09034     43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,41,40,40,40,40,40,
09035     39,39,39,39,39,38,38,37,37,37,37,37,36,36,36,36,35,35,35,35,35,
09036     35,35,35,35,34,34,34,34,34,33,33,33,33,33,33,33,32,32,32,32,32,
09037     31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,29,29,29,29,28,
09038     28,28,28,28,27,27,27,27,27,27,27,27,27,26,26,26,26,26,26,25,25,
09039     25,24,24,24,24,23,23,23,23,23,23,22,22,22,22,22,22,22,22,21,21,
09040     21,21,21,21,21,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20
09041   };
09042   const int n4c2w2_h[] = {
09043     120, // Capacity
09044     500, // Number of items
09045     // Size of items (sorted)
09046     100,99,99,99,99,99,99,99,98,98,98,98,98,98,97,97,97,97,96,96,
09047     96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,94,94,94,94,93,93,
09048     93,93,93,93,93,92,92,92,92,92,92,92,92,92,91,91,91,91,91,91,90,
09049     90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,88,88,88,88,87,87,
09050     86,86,86,86,86,86,86,86,86,85,85,85,85,85,85,85,85,85,85,85,84,
09051     84,84,84,84,83,83,83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,
09052     81,80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,78,78,78,78,
09053     77,77,77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,
09054     75,75,74,74,74,73,73,73,73,72,72,72,72,71,71,71,71,71,71,71,71,
09055     70,70,70,70,70,69,69,69,69,69,68,68,68,68,68,68,68,67,67,67,67,
09056     67,66,66,66,66,66,66,65,65,65,65,65,64,64,64,64,64,64,63,63,62,
09057     62,62,62,62,61,61,61,60,60,60,60,60,60,60,60,60,60,60,59,59,59,
09058     59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,
09059     56,56,56,56,56,56,56,55,55,55,55,55,54,54,54,54,54,53,53,53,53,
09060     53,53,53,52,52,52,52,52,51,51,51,51,51,51,51,51,49,49,49,49,49,
09061     48,48,48,48,47,47,47,47,47,47,47,47,47,47,47,47,47,46,46,46,46,
09062     46,46,46,45,45,45,45,45,45,45,45,44,44,43,43,43,43,43,43,43,43,
09063     42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,38,38,38,38,38,38,
09064     38,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,35,35,35,35,
09065     35,34,34,34,34,34,34,34,34,33,33,33,33,33,33,33,32,32,32,32,32,
09066     32,31,31,31,31,31,31,30,30,30,30,30,30,29,29,29,29,29,28,28,28,
09067     27,27,27,27,27,27,27,26,26,26,26,26,25,25,25,25,25,25,25,25,25,
09068     25,25,24,24,24,23,23,23,23,23,23,23,23,22,22,22,22,22,22,22,22,
09069     21,21,21,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20
09070   };
09071   const int n4c2w2_i[] = {
09072     120, // Capacity
09073     500, // Number of items
09074     // Size of items (sorted)
09075     100,100,100,100,99,99,99,99,99,99,98,98,98,98,97,97,97,97,97,
09076     97,97,96,96,96,96,96,95,95,95,95,95,95,95,95,95,95,95,94,94,94,
09077     94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,92,92,92,92,
09078     92,92,91,91,91,91,91,91,90,90,90,90,90,90,90,90,90,90,89,89,89,
09079     88,88,88,88,87,87,87,87,87,87,87,87,87,87,87,86,86,86,85,85,85,
09080     85,85,85,85,84,84,84,84,83,83,83,83,83,82,82,82,82,82,82,82,82,
09081     82,81,81,81,81,81,81,81,80,80,80,80,80,79,79,79,79,79,79,79,78,
09082     78,78,77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,76,75,75,75,
09083     75,75,75,75,74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,72,
09084     72,72,72,72,72,71,71,71,71,71,70,70,70,70,70,70,70,70,70,70,69,
09085     69,68,68,68,68,68,68,68,67,67,67,67,67,66,66,66,66,65,65,65,65,
09086     65,65,65,65,65,65,65,64,64,64,64,64,63,63,63,62,62,62,62,62,61,
09087     61,61,61,61,60,60,60,60,60,59,59,59,59,59,59,59,58,58,58,58,58,
09088     58,58,58,58,57,57,57,57,57,57,57,57,56,56,55,55,55,54,54,54,53,
09089     53,53,53,53,53,53,52,51,51,50,50,50,50,49,49,49,49,49,49,49,49,
09090     48,48,48,48,48,48,48,48,48,48,48,47,47,47,47,47,47,47,46,46,46,
09091     46,46,46,45,45,45,45,45,45,44,44,44,44,44,43,43,43,43,43,43,43,
09092     43,43,43,43,43,43,42,42,42,42,42,42,42,41,41,41,41,41,41,41,40,
09093     40,40,40,40,40,39,39,39,39,39,38,38,38,38,37,37,37,37,37,37,36,
09094     35,35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,33,33,32,32,
09095     32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,29,29,29,29,
09096     29,29,29,29,29,29,28,28,28,28,28,28,27,27,27,27,27,26,26,26,26,
09097     25,25,25,25,25,25,25,25,25,24,24,24,24,24,24,23,23,23,23,23,23,
09098     22,22,22,22,22,22,22,22,21,21,21,20,20,20,20,20,20,20,20
09099   };
09100   const int n4c2w2_j[] = {
09101     120, // Capacity
09102     500, // Number of items
09103     // Size of items (sorted)
09104     100,100,100,99,99,99,99,98,98,98,98,98,98,98,98,98,98,98,97,97,
09105     97,97,97,97,97,97,96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,
09106     94,94,93,93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,91,91,
09107     91,91,91,91,91,91,91,90,90,90,90,89,89,89,89,88,88,88,88,87,87,
09108     87,87,87,87,87,87,86,86,86,86,86,85,85,85,85,85,85,85,84,84,84,
09109     84,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,82,81,81,81,81,
09110     81,81,81,81,80,80,80,79,79,79,79,79,79,78,78,78,78,78,78,78,77,
09111     77,77,77,76,76,76,75,75,75,75,75,75,75,74,74,74,74,73,73,73,72,
09112     72,72,72,72,71,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,69,
09113     69,69,69,68,68,68,68,68,68,68,68,67,67,67,67,67,67,67,67,67,67,
09114     66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,65,65,65,65,65,64,
09115     64,64,64,64,64,64,63,63,63,63,62,62,61,61,61,61,61,61,61,61,61,
09116     61,61,59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,57,57,57,
09117     57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,54,54,54,
09118     54,54,54,53,53,53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,
09119     52,51,51,51,51,51,51,51,51,51,51,51,51,50,50,50,50,50,49,49,49,
09120     49,49,49,48,48,48,47,47,47,47,47,46,45,45,45,45,45,45,44,44,43,
09121     43,43,43,43,42,42,42,42,42,42,42,42,41,41,41,41,41,41,41,41,40,
09122     40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,38,38,38,38,
09123     37,37,37,36,35,35,35,35,35,35,35,35,35,35,35,35,34,34,34,34,34,
09124     34,34,33,33,33,33,33,32,32,32,32,32,32,32,32,32,31,31,31,31,30,
09125     30,30,30,29,29,29,28,28,28,28,28,28,28,28,27,27,27,27,27,27,27,
09126     26,26,26,25,25,25,24,24,24,24,24,24,24,23,23,23,23,23,23,23,23,
09127     23,23,22,22,22,22,22,22,21,21,21,20,20,20,20,20,20,20
09128   };
09129   const int n4c2w2_k[] = {
09130     120, // Capacity
09131     500, // Number of items
09132     // Size of items (sorted)
09133     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,
09134     98,98,98,98,98,97,97,97,97,97,97,96,96,96,96,96,96,96,96,96,96,
09135     95,95,95,95,95,94,94,94,94,94,94,94,94,93,93,93,93,92,92,92,92,
09136     92,92,92,91,91,91,91,91,91,91,91,91,90,89,89,89,89,89,89,88,88,
09137     88,88,88,88,87,87,87,87,87,87,86,86,86,86,86,86,85,85,85,85,85,
09138     84,84,84,84,83,83,83,83,83,83,83,83,82,82,82,82,82,82,82,81,81,
09139     81,81,81,80,80,80,80,80,80,80,79,79,79,79,79,78,78,78,78,77,77,
09140     77,77,77,77,77,77,77,77,76,76,76,75,75,75,75,75,75,75,74,74,74,
09141     74,74,74,74,74,73,73,73,73,72,72,72,72,72,71,71,71,71,71,71,71,
09142     71,71,70,70,70,70,70,70,69,69,69,69,69,68,68,68,68,68,68,67,67,
09143     67,67,67,66,66,66,66,66,66,66,65,65,65,65,65,65,65,65,65,65,65,
09144     65,64,64,64,64,64,64,64,63,63,63,63,62,62,62,62,62,62,62,62,61,
09145     61,61,61,60,60,60,60,60,60,60,59,59,59,59,59,58,58,58,58,58,57,
09146     56,56,56,56,55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,54,54,
09147     54,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,51,51,
09148     51,51,51,51,51,50,50,50,50,50,49,49,49,48,48,48,48,48,47,47,47,
09149     47,46,46,46,46,46,45,44,44,44,44,44,44,44,44,44,44,44,44,44,43,
09150     43,43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,41,40,40,40,40,
09151     39,39,39,39,39,39,39,38,38,38,38,38,38,38,38,38,37,37,37,37,37,
09152     37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,35,35,34,34,34,34,
09153     34,34,34,34,33,33,33,33,33,32,32,32,32,32,32,32,31,31,31,31,31,
09154     31,31,31,31,30,30,30,30,30,30,30,29,29,29,29,29,29,29,29,28,28,
09155     28,28,28,28,28,28,27,27,27,27,27,27,26,26,26,25,25,25,25,24,24,
09156     23,23,23,23,23,23,23,23,22,22,22,22,21,21,21,21,20,20,20,20
09157   };
09158   const int n4c2w2_l[] = {
09159     120, // Capacity
09160     500, // Number of items
09161     // Size of items (sorted)
09162     100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,98,98,
09163     98,98,98,98,98,97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,96,
09164     95,95,95,95,95,94,94,94,94,93,93,93,93,93,92,92,92,92,92,91,91,
09165     91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,88,88,
09166     88,87,87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,85,85,85,85,
09167     85,85,85,85,85,84,84,84,84,84,84,84,84,84,84,84,84,83,83,83,83,
09168     83,82,82,82,82,81,81,81,81,81,80,79,79,79,79,79,79,79,79,79,78,
09169     78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,
09170     75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,
09171     73,73,73,73,72,72,72,72,72,72,72,71,71,71,71,71,71,71,71,70,70,
09172     69,69,69,69,69,68,68,68,67,67,67,67,67,66,66,66,66,66,65,65,65,
09173     65,65,65,65,64,64,64,64,64,64,64,63,63,63,63,63,63,63,62,62,62,
09174     61,61,61,61,61,60,60,60,60,60,60,59,59,59,59,59,59,59,59,59,58,
09175     58,58,58,58,57,57,57,57,57,57,56,56,56,55,55,55,55,55,54,54,54,
09176     54,54,53,53,53,53,53,53,53,53,53,53,53,52,52,52,52,51,51,50,50,
09177     50,50,50,50,50,50,50,49,49,49,48,48,48,48,48,48,47,47,47,47,47,
09178     47,47,47,46,46,45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,
09179     43,43,43,43,43,43,42,42,42,42,42,41,41,40,40,40,40,40,39,39,39,
09180     39,39,39,39,39,39,39,38,38,38,38,37,37,37,37,37,37,37,36,36,36,
09181     36,36,35,35,35,35,35,35,34,34,34,34,34,33,33,33,33,33,33,33,32,
09182     32,32,32,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,
09183     30,29,29,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,27,27,27,
09184     27,27,27,26,26,26,26,26,26,25,25,25,25,25,24,24,24,24,24,24,24,
09185     24,24,23,23,23,23,22,22,22,22,22,21,21,21,21,21,20,20,20
09186   };
09187   const int n4c2w2_m[] = {
09188     120, // Capacity
09189     500, // Number of items
09190     // Size of items (sorted)
09191     100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,98,
09192     98,98,98,97,97,97,97,97,97,97,96,96,96,96,96,95,95,95,94,94,94,
09193     94,93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,
09194     91,91,91,91,90,90,90,90,90,90,89,88,88,88,88,87,87,87,87,87,87,
09195     87,87,86,86,86,86,86,86,86,86,86,85,85,85,85,84,84,84,84,84,83,
09196     83,83,83,83,83,82,82,82,82,82,82,82,82,82,82,82,81,81,81,81,81,
09197     81,81,81,80,80,80,80,79,79,79,79,78,78,78,78,78,78,78,77,77,77,
09198     77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,75,75,
09199     75,75,75,75,75,75,75,74,74,74,74,74,74,74,73,73,73,73,73,72,72,
09200     72,72,71,71,71,71,71,71,71,71,70,70,70,70,70,69,69,69,69,69,69,
09201     69,69,69,69,68,68,68,68,67,67,67,67,67,66,65,65,65,64,64,63,63,
09202     63,63,63,63,63,62,62,62,62,62,62,62,62,62,61,61,61,61,60,60,60,
09203     60,60,60,60,59,59,59,59,59,58,58,57,57,57,57,57,57,57,57,57,56,
09204     56,56,56,56,56,55,55,55,55,55,54,54,54,54,54,54,54,54,54,53,53,
09205     53,53,53,52,52,52,52,52,52,52,52,52,52,52,51,51,51,51,51,51,50,
09206     50,50,50,50,49,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,48,
09207     48,47,47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,45,45,45,45,
09208     45,44,44,44,44,44,44,44,44,43,43,43,43,43,43,43,42,42,42,42,41,
09209     41,41,41,41,41,41,41,40,40,40,40,40,39,39,39,39,39,38,38,37,37,
09210     37,37,37,37,37,36,36,36,35,35,35,35,35,35,35,34,34,34,34,34,34,
09211     34,34,33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,
09212     30,30,30,29,29,28,28,28,28,28,28,27,27,27,26,26,25,25,25,25,25,
09213     25,25,25,24,24,24,24,24,23,23,23,23,22,22,22,22,22,22,22,21,21,
09214     21,21,21,21,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20
09215   };
09216   const int n4c2w2_n[] = {
09217     120, // Capacity
09218     500, // Number of items
09219     // Size of items (sorted)
09220     100,100,100,100,100,100,99,99,99,99,99,99,98,98,98,98,98,98,98,
09221     98,97,97,97,97,97,97,96,96,96,96,95,95,95,95,95,95,95,95,95,94,
09222     94,94,94,94,94,93,93,93,93,93,93,93,93,93,93,92,92,91,91,91,91,
09223     90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,89,89,89,88,88,88,
09224     88,88,88,88,87,87,87,87,87,87,87,86,86,86,86,86,86,84,84,84,84,
09225     84,84,84,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,
09226     80,80,80,80,80,80,80,80,80,80,80,79,79,79,79,79,79,78,78,78,78,
09227     78,78,78,78,77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,75,75,
09228     75,75,75,75,75,74,74,74,74,74,74,73,73,72,72,72,72,71,71,71,71,
09229     71,70,70,70,70,70,70,70,70,69,69,68,68,68,68,68,68,67,67,67,67,
09230     67,67,67,66,66,66,66,66,66,66,65,64,64,64,64,64,64,64,64,64,64,
09231     64,63,63,63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,61,61,61,
09232     61,61,60,60,60,60,60,59,59,59,59,59,59,58,58,58,58,58,57,57,57,
09233     57,57,57,57,56,56,56,56,56,56,56,56,56,56,56,56,56,55,55,55,55,
09234     55,55,55,54,54,54,54,53,52,52,52,52,52,52,52,52,51,51,51,51,51,
09235     51,51,51,51,51,50,50,50,50,50,49,49,49,49,49,49,49,48,48,48,48,
09236     48,48,48,48,48,47,47,47,47,46,46,46,46,46,46,46,46,46,46,46,45,
09237     45,45,45,44,44,44,44,44,44,44,43,43,43,43,42,42,42,42,42,41,41,
09238     41,41,41,41,41,40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,37,
09239     37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,36,36,35,35,
09240     35,35,35,35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,33,33,33,
09241     33,33,33,33,33,33,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30,
09242     30,29,29,29,29,29,29,29,28,28,28,27,27,27,27,27,27,26,26,26,25,
09243     25,24,24,24,23,23,22,22,22,22,21,21,21,21,20,20,20,20,20
09244   };
09245   const int n4c2w2_o[] = {
09246     120, // Capacity
09247     500, // Number of items
09248     // Size of items (sorted)
09249     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,
09250     98,98,98,97,97,97,97,97,97,96,96,96,96,96,95,95,95,95,95,95,94,
09251     94,94,94,94,94,94,94,93,93,93,93,93,92,92,92,92,92,91,91,91,91,
09252     90,90,90,90,90,89,89,89,89,89,89,88,88,88,88,87,87,87,86,86,86,
09253     86,86,86,86,86,85,85,85,85,85,85,84,84,84,84,84,83,83,83,83,83,
09254     83,83,83,83,82,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,
09255     80,80,79,79,79,79,79,78,78,78,78,78,78,78,77,77,77,77,77,77,76,
09256     76,76,76,76,75,75,75,75,75,75,75,75,75,74,74,74,74,73,73,73,73,
09257     73,73,73,72,72,72,72,72,72,72,72,72,71,71,70,70,70,70,70,70,70,
09258     70,70,70,69,69,69,69,69,69,68,68,68,68,67,67,67,67,67,67,66,66,
09259     66,66,66,66,66,66,66,65,65,65,65,65,65,65,65,65,65,65,64,64,64,
09260     64,64,63,63,63,63,62,62,62,62,62,62,61,61,61,61,60,60,60,60,60,
09261     60,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,58,57,57,57,57,
09262     57,56,56,56,56,56,56,55,55,55,55,54,54,54,54,54,54,53,53,53,53,
09263     52,52,52,52,52,51,51,51,51,51,51,51,51,50,50,50,50,49,49,49,49,
09264     49,48,48,48,48,48,48,48,48,47,47,47,47,47,46,46,45,45,45,44,44,
09265     44,44,44,44,43,43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,42,
09266     41,41,41,41,41,41,41,41,41,40,40,40,40,40,40,39,39,39,38,38,38,
09267     38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,37,36,36,36,36,36,
09268     35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,34,34,33,33,33,33,
09269     33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,31,31,31,31,30,
09270     30,30,30,30,30,30,30,30,29,29,29,29,28,28,28,28,28,28,27,27,27,
09271     27,27,27,26,26,26,26,26,25,25,25,25,25,25,25,25,25,25,25,24,24,
09272     23,23,23,23,23,23,22,22,22,22,22,21,21,21,21,21,21,21,21,20
09273   };
09274   const int n4c2w2_p[] = {
09275     120, // Capacity
09276     500, // Number of items
09277     // Size of items (sorted)
09278     100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,98,98,
09279     98,98,97,97,97,97,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,
09280     94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,92,
09281     92,92,92,92,92,92,92,92,92,91,91,91,91,90,90,90,90,90,89,89,89,
09282     89,89,89,89,88,88,88,88,88,88,88,88,88,88,88,87,87,87,87,87,86,
09283     86,86,86,86,86,85,85,85,85,85,85,85,85,84,84,84,83,83,83,83,83,
09284     83,83,83,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,80,80,80,
09285     79,79,79,79,79,79,79,79,79,78,78,78,78,78,78,77,77,76,76,76,76,
09286     75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,72,72,72,72,72,72,
09287     72,72,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,69,69,69,69,
09288     69,68,68,68,68,68,68,67,67,67,67,67,67,67,67,67,67,66,66,66,66,
09289     66,66,65,65,65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,63,63,
09290     62,62,62,62,61,61,61,61,61,61,60,60,60,60,60,60,59,59,59,59,59,
09291     59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,56,56,56,56,56,56,
09292     55,55,55,55,54,54,54,54,54,54,53,53,53,53,53,53,53,53,53,53,53,
09293     52,52,51,51,51,51,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
09294     49,49,48,48,48,48,48,48,48,47,47,46,46,46,45,45,45,45,45,44,44,
09295     44,43,43,43,43,43,42,42,42,42,42,41,41,40,40,40,40,40,40,40,40,
09296     39,39,39,39,39,39,39,39,39,39,38,38,38,38,37,37,37,37,37,36,36,
09297     36,36,36,35,35,35,35,35,35,35,35,35,35,35,35,35,34,34,34,34,34,
09298     34,33,33,33,33,32,32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,
09299     29,29,29,29,28,28,28,28,27,27,27,27,27,27,27,27,26,26,26,25,25,
09300     25,25,25,24,24,24,24,24,24,24,24,23,23,23,23,23,23,23,23,22,22,
09301     22,22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,20,20,20
09302   };
09303   const int n4c2w2_q[] = {
09304     120, // Capacity
09305     500, // Number of items
09306     // Size of items (sorted)
09307     100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,98,
09308     98,97,97,97,97,97,97,97,97,97,97,97,97,96,96,96,96,96,95,95,95,
09309     95,95,94,94,94,94,94,94,94,94,93,93,93,93,92,92,92,92,92,92,92,
09310     91,91,91,91,91,91,91,91,90,90,90,90,90,90,90,90,90,89,89,89,89,
09311     89,89,89,89,88,88,87,87,87,87,86,86,86,86,86,85,85,85,85,85,84,
09312     84,84,84,84,84,83,83,83,82,82,82,82,82,81,81,81,81,81,81,81,80,
09313     80,80,79,79,79,79,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,
09314     78,78,77,77,77,77,77,77,77,77,76,76,76,76,76,76,75,75,75,75,74,
09315     74,74,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,71,71,71,
09316     70,70,70,70,70,70,70,69,69,69,69,68,68,68,67,67,67,67,67,67,66,
09317     66,66,66,66,66,65,65,65,65,65,64,64,64,64,64,64,64,63,63,63,63,
09318     63,62,62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,60,60,60,
09319     59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,57,57,56,56,
09320     56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,53,53,53,53,53,53,
09321     53,52,52,52,52,52,52,52,51,51,51,51,51,51,51,51,50,50,50,50,50,
09322     50,50,50,49,49,49,49,49,49,49,48,48,48,48,47,47,47,47,47,47,46,
09323     46,46,46,46,46,46,45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,
09324     44,43,43,43,43,43,43,43,43,43,42,42,42,42,41,41,41,41,41,41,41,
09325     41,40,40,40,40,40,40,40,40,39,39,39,39,38,38,38,38,37,37,37,37,
09326     37,36,36,36,36,35,35,35,34,34,34,34,34,34,34,34,33,33,33,33,33,
09327     33,33,33,33,33,33,33,32,32,32,32,32,32,31,31,31,30,30,30,29,29,
09328     29,29,29,29,28,28,28,28,28,28,27,27,27,27,27,27,27,27,27,26,26,
09329     26,26,26,26,25,25,25,25,25,25,24,24,24,23,23,23,23,23,23,23,23,
09330     23,23,22,22,22,22,22,22,22,21,21,21,21,21,21,20,20,20,20
09331   };
09332   const int n4c2w2_r[] = {
09333     120, // Capacity
09334     500, // Number of items
09335     // Size of items (sorted)
09336     100,100,100,100,99,99,99,99,98,98,98,98,98,98,98,98,97,97,97,
09337     97,97,97,97,97,97,97,96,96,95,95,95,95,95,95,95,94,94,94,94,94,
09338     94,94,94,94,94,93,93,92,92,92,92,92,91,91,91,90,90,90,90,90,90,
09339     89,89,89,89,89,89,89,89,89,89,89,88,88,87,87,86,86,86,86,86,86,
09340     86,86,86,86,85,85,85,84,84,84,84,84,84,84,84,84,84,84,84,84,83,
09341     83,83,83,83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,81,81,81,
09342     81,81,81,81,81,81,80,80,80,80,80,80,79,79,79,79,79,79,79,78,78,
09343     78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,76,76,75,75,75,74,
09344     74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,72,71,71,71,71,
09345     71,71,70,70,70,70,70,69,69,69,69,69,68,68,68,68,67,67,66,66,66,
09346     66,66,66,66,66,66,65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,
09347     64,64,64,64,63,63,63,63,63,63,63,62,62,62,62,62,62,62,62,62,61,
09348     61,61,60,60,60,60,60,59,59,59,59,58,58,58,58,58,58,58,58,57,57,
09349     57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,
09350     54,54,54,54,53,53,53,53,53,53,53,52,52,52,52,52,51,51,51,51,51,
09351     51,51,51,51,51,50,50,49,49,49,49,48,48,48,48,48,48,48,47,47,47,
09352     47,47,47,47,46,46,46,46,46,46,46,46,45,44,44,44,44,44,44,44,43,
09353     43,43,43,43,42,42,41,41,41,41,41,40,40,40,40,40,40,40,39,39,39,
09354     39,39,39,39,38,38,38,38,38,38,37,37,37,37,37,37,37,37,36,36,36,
09355     36,36,36,36,36,36,36,36,36,35,35,34,34,34,34,34,33,33,33,33,32,
09356     32,32,32,31,31,31,31,31,31,31,30,30,30,29,29,29,29,29,29,29,29,
09357     29,28,28,28,28,28,27,27,27,27,27,27,26,26,26,26,25,25,25,25,25,
09358     25,25,25,24,24,24,24,24,24,24,24,24,24,23,23,23,23,23,22,22,22,
09359     22,22,21,21,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20
09360   };
09361   const int n4c2w2_s[] = {
09362     120, // Capacity
09363     500, // Number of items
09364     // Size of items (sorted)
09365     100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,97,97,97,97,
09366     97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,96,96,95,95,95,94,
09367     94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,92,92,92,92,
09368     91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,
09369     89,89,89,88,88,88,88,88,87,87,87,87,87,87,87,86,86,86,85,85,85,
09370     85,85,84,84,84,84,83,83,83,83,83,82,82,81,81,81,81,81,81,80,80,
09371     80,80,80,80,80,79,79,79,79,78,78,78,78,78,78,78,78,78,77,77,77,
09372     77,77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,75,75,
09373     75,75,75,74,74,74,74,74,74,74,74,74,74,74,73,73,73,72,72,72,72,
09374     72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,71,70,70,70,70,70,
09375     70,70,70,69,69,69,69,69,68,68,68,68,68,68,68,68,68,68,67,67,66,
09376     66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,63,63,
09377     63,63,63,63,63,63,62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,
09378     60,60,60,60,60,59,59,59,59,59,59,59,58,58,58,57,57,57,57,57,57,
09379     57,56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,54,54,53,53,
09380     52,52,52,52,52,51,51,51,51,51,50,50,50,50,50,50,50,49,49,49,49,
09381     49,48,48,48,48,47,47,47,47,47,47,46,46,46,45,45,45,45,45,45,45,
09382     45,45,44,44,44,44,44,43,43,43,43,43,43,43,43,42,42,41,41,41,41,
09383     41,41,41,41,41,40,40,39,39,39,39,38,38,38,38,38,38,37,37,37,37,
09384     37,37,37,36,36,36,36,36,36,36,36,36,36,36,35,35,35,35,35,35,34,
09385     34,34,34,34,34,33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,30,
09386     30,30,29,29,29,29,28,28,28,27,27,27,27,26,26,26,26,26,26,26,26,
09387     25,25,24,24,24,24,24,24,24,24,24,23,23,23,23,23,23,23,23,23,23,
09388     23,22,22,22,22,22,21,21,21,21,21,21,20,20,20,20,20,20,20
09389   };
09390   const int n4c2w2_t[] = {
09391     120, // Capacity
09392     500, // Number of items
09393     // Size of items (sorted)
09394     100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,99,98,98,98,
09395     98,98,98,98,98,98,98,98,97,97,97,97,97,97,97,97,96,96,96,96,96,
09396     96,95,95,95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,92,92,
09397     92,92,92,92,91,91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,88,
09398     88,88,87,87,87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,85,85,
09399     85,85,85,84,84,84,84,83,83,83,83,83,83,82,82,82,82,82,82,82,82,
09400     82,82,82,82,81,81,81,81,81,81,81,81,81,80,80,80,80,80,80,80,80,
09401     80,80,79,79,79,78,78,78,78,77,77,77,77,77,76,76,76,76,75,75,75,
09402     75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,74,73,73,73,72,72,
09403     72,72,72,72,71,70,70,70,70,69,69,69,69,68,68,68,68,68,68,68,67,
09404     67,67,66,66,66,66,66,66,66,65,65,65,65,65,65,65,65,65,64,64,64,
09405     64,64,64,63,63,62,62,62,62,62,61,61,61,61,60,60,60,60,60,60,60,
09406     59,59,59,59,59,59,58,58,58,58,57,57,57,56,56,56,56,56,56,56,55,
09407     55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,53,53,52,52,52,52,
09408     52,52,52,52,51,51,51,51,51,51,51,50,50,50,50,49,49,48,48,48,48,
09409     48,48,48,48,48,48,47,47,47,47,47,47,46,46,46,46,46,46,46,46,45,
09410     45,45,45,45,45,45,44,44,44,44,44,44,43,43,43,42,42,42,42,42,41,
09411     41,41,41,41,40,40,40,40,40,39,39,39,38,38,38,38,38,37,37,37,37,
09412     37,37,37,36,36,36,36,36,36,35,35,35,35,35,34,34,34,34,34,34,34,
09413     34,34,34,33,33,33,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,
09414     32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,30,29,29,29,29,29,
09415     29,29,28,28,28,28,28,28,28,28,27,27,27,27,27,27,27,27,27,27,26,
09416     26,26,26,26,26,26,26,25,25,25,25,25,25,25,24,24,23,23,23,23,23,
09417     23,23,23,22,22,22,22,22,22,22,21,21,21,21,21,21,20,20,20
09418   };
09419   const int n4c2w4_a[] = {
09420     120, // Capacity
09421     500, // Number of items
09422     // Size of items (sorted)
09423     100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,98,
09424     98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,97,97,96,96,96,96,
09425     96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,95,95,95,95,95,94,
09426     94,94,94,94,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,91,90,
09427     90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,88,88,88,88,88,88,
09428     88,87,87,87,87,87,87,87,87,87,87,87,87,86,86,85,85,85,85,85,85,
09429     84,84,84,84,84,83,83,83,83,83,83,82,82,82,81,81,81,81,81,81,81,
09430     81,80,80,79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,78,78,78,
09431     77,77,77,77,76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,75,75,
09432     75,74,74,74,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,72,
09433     72,72,71,71,71,71,71,71,71,71,71,70,70,70,70,70,69,69,69,69,68,
09434     68,68,68,68,68,68,68,68,68,68,68,68,67,67,67,67,67,66,66,66,66,
09435     66,66,66,66,66,65,65,65,65,65,65,65,65,64,64,63,63,63,63,63,63,
09436     63,63,63,62,62,62,62,62,61,61,61,61,61,60,60,60,60,60,59,59,59,
09437     59,59,59,59,59,58,58,58,58,58,58,57,57,57,57,57,57,57,56,56,56,
09438     56,56,55,55,55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,52,52,
09439     52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,50,50,50,50,50,
09440     50,49,49,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,47,
09441     47,47,47,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,44,43,
09442     43,43,43,43,43,43,43,43,42,42,41,41,41,41,40,40,40,40,40,40,40,
09443     40,40,40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,38,38,
09444     37,37,37,37,37,37,37,36,36,36,36,36,36,35,35,35,35,35,35,35,35,
09445     35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,
09446     33,33,33,33,33,32,32,32,32,32,32,31,31,31,31,30,30,30,30,30
09447   };
09448   const int n4c2w4_b[] = {
09449     120, // Capacity
09450     500, // Number of items
09451     // Size of items (sorted)
09452     100,100,100,100,99,99,99,99,98,98,98,98,98,98,97,97,97,97,97,
09453     97,96,96,95,95,95,95,95,95,95,95,94,94,94,94,94,94,94,94,94,94,
09454     94,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,92,92,91,91,
09455     91,91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,88,
09456     88,88,87,87,87,87,86,86,86,86,85,85,85,84,84,84,84,83,83,83,83,
09457     82,82,82,82,82,82,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,
09458     80,80,80,80,79,79,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,
09459     77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,76,75,75,
09460     75,75,75,75,74,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,
09461     72,72,72,72,72,72,72,72,72,72,72,71,71,71,71,71,71,70,70,70,70,
09462     70,70,70,69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,68,68,
09463     67,67,67,67,67,67,66,66,66,65,65,65,65,64,64,63,63,63,63,63,63,
09464     63,62,62,62,62,62,61,61,61,61,61,61,61,61,60,60,60,60,60,60,60,
09465     59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,58,58,57,57,57,
09466     57,57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,54,54,
09467     54,54,54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,
09468     51,51,51,51,51,51,50,50,50,50,50,50,50,50,50,49,49,49,49,49,49,
09469     49,49,49,49,49,49,48,48,48,48,48,48,48,47,47,47,47,47,47,46,46,
09470     46,46,46,46,46,45,45,45,45,45,45,45,45,44,44,44,44,44,44,43,43,
09471     43,43,43,43,43,42,42,42,42,42,42,42,42,42,41,41,41,41,41,41,41,
09472     41,40,40,40,40,40,40,40,40,39,39,38,38,38,38,38,38,38,37,37,37,
09473     37,37,37,36,36,36,36,36,36,35,35,35,35,35,35,35,35,34,34,34,34,
09474     34,34,34,33,33,33,33,32,32,32,32,32,32,32,32,32,32,32,32,32,32,
09475     31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30,30
09476   };
09477   const int n4c2w4_c[] = {
09478     120, // Capacity
09479     500, // Number of items
09480     // Size of items (sorted)
09481     100,100,100,100,100,100,99,99,99,98,98,97,97,97,97,97,96,96,95,
09482     95,95,95,95,95,95,95,95,95,94,94,94,94,94,93,93,93,93,93,92,92,
09483     92,92,92,92,92,92,92,92,91,91,91,91,90,90,90,90,89,89,89,89,89,
09484     89,89,88,88,88,88,88,88,88,88,88,88,88,88,87,87,87,86,86,86,86,
09485     86,86,86,86,86,86,86,86,86,85,85,85,85,84,84,84,84,84,84,84,83,
09486     83,83,83,83,83,83,83,83,83,82,82,82,82,82,82,81,81,81,81,81,81,
09487     80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,79,78,78,78,78,
09488     78,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,76,76,
09489     76,76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,75,75,75,75,75,
09490     75,75,74,74,74,74,74,74,74,73,73,73,73,73,73,73,73,73,73,72,72,
09491     72,72,72,72,72,71,71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,
09492     69,69,69,69,69,69,69,68,68,68,68,68,68,68,68,67,67,67,67,66,66,
09493     66,66,66,65,65,65,65,64,64,64,64,64,64,63,63,63,63,63,63,63,63,
09494     62,62,62,62,62,62,62,62,62,62,62,61,61,61,61,61,60,60,60,60,60,
09495     59,59,59,59,59,58,58,58,58,58,58,57,57,57,57,57,57,57,57,57,56,
09496     56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,55,54,54,54,54,54,
09497     54,53,53,53,53,53,52,52,52,52,52,52,52,52,52,52,52,52,52,51,51,
09498     51,50,50,50,50,50,50,50,49,49,49,49,49,49,49,49,48,48,48,48,48,
09499     48,48,48,48,48,48,47,47,47,47,46,46,46,46,46,46,45,45,45,45,45,
09500     45,45,45,45,45,44,44,44,44,44,44,44,43,43,43,43,43,43,42,42,42,
09501     42,41,41,41,41,41,41,41,40,40,40,40,40,40,39,39,39,39,39,39,39,
09502     38,38,38,38,38,38,38,38,37,37,37,37,37,36,36,36,36,36,35,35,35,
09503     34,34,34,34,34,34,34,34,33,33,33,33,32,32,32,32,32,32,32,31,31,
09504     31,31,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30
09505   };
09506   const int n4c2w4_d[] = {
09507     120, // Capacity
09508     500, // Number of items
09509     // Size of items (sorted)
09510     100,100,99,99,99,99,99,99,98,98,98,98,98,98,98,98,98,98,97,97,
09511     97,97,97,97,96,96,96,96,96,96,96,95,95,94,94,94,94,94,94,94,93,
09512     93,93,93,92,92,92,92,92,92,91,91,91,91,91,91,91,91,90,90,90,90,
09513     90,90,90,89,89,89,89,89,89,89,89,89,89,89,89,89,88,88,88,88,87,
09514     87,87,87,87,87,87,87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,
09515     85,85,85,85,85,84,84,84,84,84,83,83,83,83,83,82,82,82,82,82,82,
09516     82,82,82,82,82,82,82,82,81,81,81,81,81,81,81,81,81,81,80,80,80,
09517     80,80,80,80,80,80,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,
09518     77,77,77,77,77,77,77,77,77,77,77,77,77,76,76,76,76,75,75,75,75,
09519     75,74,74,74,74,74,74,73,73,73,73,73,73,73,73,73,72,72,72,72,72,
09520     72,72,72,72,71,71,71,71,71,71,71,71,70,70,70,70,70,70,70,69,69,
09521     69,69,68,68,68,68,68,67,67,67,67,67,67,67,66,66,66,66,66,66,65,
09522     65,65,65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,
09523     63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,61,61,60,60,60,60,
09524     60,60,60,60,60,60,59,59,59,59,59,59,58,58,58,58,58,57,57,57,57,
09525     57,57,57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,54,54,54,
09526     54,54,54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,
09527     51,51,51,51,50,50,49,49,49,49,49,49,49,48,48,48,48,48,48,48,47,
09528     47,47,47,47,47,47,47,46,46,46,46,46,46,45,45,45,45,44,44,44,44,
09529     44,44,44,44,44,43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,42,
09530     41,41,41,41,41,41,41,41,41,41,41,41,40,40,40,40,39,39,39,39,39,
09531     39,39,39,38,38,38,38,38,37,37,37,37,37,37,36,36,36,36,36,36,36,
09532     35,35,35,35,34,34,34,34,34,34,34,34,33,33,33,33,33,33,33,33,32,
09533     32,32,32,32,31,31,31,31,31,31,31,31,31,31,31,30,30,30
09534   };
09535   const int n4c2w4_e[] = {
09536     120, // Capacity
09537     500, // Number of items
09538     // Size of items (sorted)
09539     100,100,100,99,99,99,99,99,99,99,99,99,99,98,98,98,98,98,98,98,
09540     98,98,98,98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,97,96,96,
09541     96,96,96,96,96,95,95,95,95,95,94,94,94,93,93,93,93,93,93,92,92,
09542     92,92,92,92,92,91,91,91,91,91,91,90,90,90,90,89,89,89,89,89,89,
09543     89,89,88,88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,86,86,85,
09544     85,85,85,85,85,84,84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,
09545     83,83,82,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,
09546     80,80,79,79,79,79,79,79,78,78,78,78,78,78,78,78,77,77,77,77,77,
09547     77,77,76,76,76,76,76,76,76,76,76,76,75,75,75,75,75,75,74,74,74,
09548     74,74,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,70,69,69,69,
09549     69,69,69,69,68,68,68,68,67,67,67,67,67,67,67,67,67,66,66,66,66,
09550     66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,65,64,64,64,64,63,
09551     63,63,63,63,62,62,62,62,62,62,62,62,62,61,61,61,61,61,60,60,60,
09552     60,60,60,60,60,60,60,59,59,59,59,59,59,58,58,58,58,58,57,57,57,
09553     57,57,57,57,57,57,56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,
09554     55,55,55,54,54,54,54,54,54,54,54,54,54,54,53,53,53,53,53,53,53,
09555     53,53,52,52,52,52,52,52,52,52,52,52,51,51,51,51,51,51,51,51,50,
09556     50,50,50,50,50,50,50,49,49,49,49,49,49,48,48,47,47,47,47,46,46,
09557     46,46,46,46,46,46,46,46,46,45,45,45,45,45,45,45,45,45,44,44,44,
09558     44,44,43,43,43,43,43,42,42,42,42,42,42,42,41,41,41,41,40,40,40,
09559     40,40,40,40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,38,
09560     38,37,37,37,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,
09561     35,35,35,34,34,34,34,34,34,34,34,34,34,34,33,33,33,32,32,32,32,
09562     32,32,32,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30
09563   };
09564   const int n4c2w4_f[] = {
09565     120, // Capacity
09566     500, // Number of items
09567     // Size of items (sorted)
09568     100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,98,98,98,
09569     98,98,98,98,98,98,97,97,97,97,97,97,97,97,96,96,96,96,96,96,95,
09570     95,95,95,95,95,95,95,94,94,94,94,94,94,94,94,93,93,93,93,93,93,
09571     93,92,92,92,92,92,92,92,91,91,91,91,91,90,90,90,90,90,90,90,89,
09572     89,89,89,89,88,88,88,88,88,88,88,88,88,88,88,87,87,87,87,87,87,
09573     86,86,86,86,86,85,85,85,85,85,85,85,85,85,84,84,84,84,84,84,83,
09574     83,83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,81,81,81,
09575     81,81,81,81,81,81,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,
09576     80,80,79,79,79,79,79,79,79,79,78,78,78,78,78,78,77,77,77,76,76,
09577     76,76,75,75,75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,73,72,
09578     72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,71,71,70,70,70,70,
09579     70,70,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,67,67,67,67,
09580     67,67,67,67,66,66,66,66,66,66,66,66,65,65,65,65,65,65,64,64,64,
09581     64,64,63,63,63,63,63,63,63,63,62,62,62,62,62,62,61,61,61,61,61,
09582     61,61,61,61,61,61,60,60,60,59,59,59,59,59,59,59,59,59,58,58,58,
09583     58,58,58,58,58,57,57,57,57,57,56,56,56,56,56,56,56,56,56,55,55,
09584     55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,53,
09585     53,52,52,52,52,52,52,52,52,52,52,52,51,51,51,51,51,50,50,50,50,
09586     50,50,50,50,50,50,49,49,48,48,48,48,48,48,48,47,47,47,46,46,46,
09587     46,46,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,43,
09588     43,43,43,43,43,43,43,42,42,42,41,41,41,41,41,41,41,40,40,40,40,
09589     40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,39,38,38,38,38,
09590     38,37,37,37,37,36,36,36,36,35,35,35,35,35,34,34,34,33,33,33,33,
09591     33,33,33,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30
09592   };
09593   const int n4c2w4_g[] = {
09594     120, // Capacity
09595     500, // Number of items
09596     // Size of items (sorted)
09597     100,100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,
09598     99,99,99,99,98,98,98,97,97,97,97,97,97,97,97,97,97,96,96,96,96,
09599     96,96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,94,94,93,93,93,
09600     93,92,92,92,92,92,91,91,91,91,91,91,91,91,91,91,91,91,90,90,90,
09601     90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,89,89,89,88,88,
09602     88,88,88,87,87,87,87,87,86,86,86,86,85,85,85,85,85,85,85,85,85,
09603     84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,83,83,83,82,82,82,
09604     82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,79,79,79,79,79,79,
09605     79,78,78,78,78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,76,
09606     76,75,75,75,75,74,74,74,74,74,74,74,73,73,73,73,72,72,72,72,72,
09607     72,71,71,71,71,71,71,71,71,70,70,70,70,70,70,70,69,69,69,69,69,
09608     69,69,69,68,68,68,68,68,68,67,67,67,67,67,67,66,66,66,66,66,66,
09609     65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,63,63,62,
09610     62,62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,60,60,60,60,
09611     59,59,59,59,59,59,59,58,58,58,58,57,57,57,57,56,56,56,56,56,55,
09612     55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,52,
09613     52,52,52,52,52,52,51,51,51,51,51,51,51,50,50,50,50,50,50,50,49,
09614     49,49,49,49,48,48,48,48,48,48,48,47,47,47,47,47,47,46,46,46,46,
09615     45,45,45,45,44,44,44,44,44,43,43,43,43,43,43,42,42,42,42,42,42,
09616     42,42,42,42,42,41,41,41,41,41,41,41,41,41,40,40,40,40,40,40,40,
09617     39,39,39,39,39,38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,
09618     37,36,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,35,34,34,34,
09619     34,34,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,33,33,33,33,
09620     33,33,32,32,32,32,32,32,32,31,31,31,31,31,30,30,30,30,30,30,30
09621   };
09622   const int n4c2w4_h[] = {
09623     120, // Capacity
09624     500, // Number of items
09625     // Size of items (sorted)
09626     100,100,100,100,100,100,99,99,99,98,98,98,98,98,98,98,97,97,97,
09627     97,97,97,97,97,97,97,97,97,97,97,96,96,96,96,96,95,95,95,95,95,
09628     94,94,94,94,94,94,94,93,93,93,92,92,92,92,92,91,91,91,91,91,90,
09629     90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,88,88,88,88,88,
09630     88,88,88,88,87,87,86,86,86,86,86,86,86,86,85,85,85,85,85,85,85,
09631     85,85,84,84,84,84,84,84,84,84,83,83,83,83,83,83,82,82,82,81,81,
09632     81,81,81,81,81,81,80,80,80,80,80,80,79,79,79,79,79,79,79,79,78,
09633     78,78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,
09634     76,76,76,75,75,75,75,75,75,75,75,75,75,75,75,75,74,74,74,74,74,
09635     74,74,73,73,73,73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,71,
09636     71,71,71,71,71,71,71,71,70,70,70,70,70,70,70,69,69,69,69,69,69,
09637     69,69,69,68,68,68,68,68,68,68,68,68,67,67,67,67,67,67,67,66,66,
09638     66,66,66,66,66,66,65,65,65,65,65,65,65,65,65,64,64,64,64,64,64,
09639     64,64,63,63,63,63,62,62,62,62,62,62,62,62,61,61,61,61,61,61,61,
09640     60,60,60,60,60,60,59,59,59,58,58,58,58,58,58,58,58,58,57,57,57,
09641     57,57,57,57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,
09642     54,54,54,53,53,53,53,53,52,52,52,52,52,52,52,52,51,51,51,51,51,
09643     51,51,51,51,51,50,50,50,50,50,50,50,50,50,50,49,49,49,49,49,49,
09644     49,49,49,49,48,48,48,48,48,48,47,47,47,47,47,47,47,47,47,47,46,
09645     46,46,46,46,45,45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,43,
09646     42,42,42,42,41,41,41,41,41,41,41,41,41,41,40,40,40,40,40,40,39,
09647     39,39,39,39,39,38,38,38,38,38,38,38,37,37,37,36,36,36,36,36,36,
09648     35,35,35,35,35,35,34,34,34,34,34,33,33,33,33,33,33,32,32,32,32,
09649     32,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30
09650   };
09651   const int n4c2w4_i[] = {
09652     120, // Capacity
09653     500, // Number of items
09654     // Size of items (sorted)
09655     100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,
09656     98,98,98,98,98,97,97,97,97,97,97,97,97,97,97,97,97,96,96,96,96,
09657     96,96,95,95,95,95,95,95,95,95,95,94,94,94,93,93,93,93,93,93,93,
09658     93,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,91,90,90,90,90,
09659     89,89,89,89,89,89,89,89,89,88,88,88,88,87,87,87,87,87,86,86,86,
09660     86,86,86,86,86,86,86,85,85,85,85,85,85,84,84,84,84,84,84,83,83,
09661     83,83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,80,80,80,80,80,
09662     80,80,80,80,80,80,79,79,79,79,79,79,79,78,78,78,78,78,77,77,77,
09663     77,77,77,76,76,76,76,76,75,75,75,75,74,74,74,74,74,74,74,74,74,
09664     74,73,73,73,73,73,72,72,72,72,71,71,71,71,71,71,71,71,70,70,70,
09665     70,70,70,70,70,69,69,69,68,68,68,68,68,68,68,68,67,67,67,67,67,
09666     67,67,66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,
09667     64,63,63,63,63,63,63,63,62,62,62,62,62,62,62,62,62,62,62,62,61,
09668     61,61,61,61,61,61,61,61,61,60,60,60,60,60,60,60,60,60,60,59,59,
09669     59,59,59,59,58,58,58,58,58,58,58,58,58,58,58,58,58,57,57,57,57,
09670     57,57,57,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,54,54,
09671     54,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,51,51,51,
09672     51,50,50,50,50,49,49,49,49,49,49,49,49,48,48,48,48,47,47,47,47,
09673     47,47,47,47,47,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,44,
09674     44,43,43,43,43,43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,41,
09675     41,41,41,41,41,40,40,40,40,40,40,39,39,39,39,39,39,39,39,38,38,
09676     38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,37,37,36,36,36,36,
09677     35,35,35,35,35,35,34,34,34,34,33,33,33,33,33,33,33,33,32,32,32,
09678     32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30
09679   };
09680   const int n4c2w4_j[] = {
09681     120, // Capacity
09682     500, // Number of items
09683     // Size of items (sorted)
09684     100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,98,98,
09685     97,97,97,97,97,97,97,97,97,97,97,97,96,96,96,96,96,96,95,95,95,
09686     95,95,94,94,94,94,94,94,94,94,94,94,94,94,94,93,93,93,93,93,93,
09687     93,93,93,93,92,92,92,92,92,92,92,91,91,91,91,91,91,91,91,91,90,
09688     90,90,90,90,90,90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,
09689     88,88,88,88,88,88,88,88,88,87,87,87,86,86,86,86,86,85,85,85,84,
09690     84,83,83,83,83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,81,81,
09691     80,80,80,80,80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,79,
09692     79,79,78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,
09693     76,76,76,75,75,75,75,75,75,75,74,74,74,74,73,73,72,72,72,72,72,
09694     72,71,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,69,69,69,69,
09695     69,69,69,68,68,68,68,68,68,68,68,67,67,67,67,67,67,67,66,66,66,
09696     66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,64,64,
09697     64,64,63,63,63,63,63,63,63,63,62,62,62,62,62,62,62,62,62,61,61,
09698     61,61,61,61,61,61,60,60,60,60,59,59,59,59,59,58,58,58,58,57,57,
09699     57,57,57,57,57,57,57,56,56,56,56,56,56,56,56,56,56,56,56,56,55,
09700     55,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,53,53,53,
09701     53,53,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,50,50,50,49,
09702     49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,47,47,46,46,46,
09703     46,46,46,46,46,45,45,45,44,44,44,44,44,44,44,44,44,44,43,43,43,
09704     43,43,42,42,42,42,42,42,42,42,41,41,41,41,41,41,41,41,41,41,40,
09705     40,40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,38,38,
09706     38,37,37,37,37,36,36,36,36,35,35,35,35,35,34,34,34,34,34,34,34,
09707     33,33,33,32,32,32,32,32,32,31,31,31,31,30,30,30,30,30,30
09708   };
09709   const int n4c2w4_k[] = {
09710     120, // Capacity
09711     500, // Number of items
09712     // Size of items (sorted)
09713     100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,99,98,98,98,
09714     98,97,97,97,97,97,97,97,96,96,96,96,96,96,95,95,95,95,95,95,95,
09715     95,95,95,94,94,94,94,94,94,94,94,94,93,93,93,93,92,92,92,92,92,
09716     92,92,92,91,91,91,90,90,90,90,90,90,90,90,90,89,89,89,89,89,89,
09717     89,88,88,88,88,88,88,88,88,88,87,87,87,87,87,87,87,87,87,86,86,
09718     86,86,86,85,85,85,85,85,85,85,84,84,84,84,84,84,84,83,83,83,83,
09719     83,83,82,82,82,82,82,82,82,82,82,82,82,81,81,81,81,81,81,81,81,
09720     80,80,80,80,80,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,78,
09721     78,78,77,77,77,77,77,77,76,76,76,76,76,75,75,75,75,75,75,74,74,
09722     74,74,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,72,72,
09723     72,72,72,71,71,71,70,70,70,70,70,70,69,69,69,69,69,69,68,68,68,
09724     68,68,68,68,67,67,67,67,67,67,67,66,66,66,66,66,66,66,65,65,65,
09725     65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,62,62,62,62,62,61,
09726     61,61,60,60,60,60,60,60,59,59,59,59,59,59,58,58,58,58,58,58,58,
09727     58,57,57,57,57,57,57,57,57,57,57,56,56,56,56,56,56,55,55,55,55,
09728     55,55,55,54,54,54,54,54,54,54,54,54,54,54,54,53,53,53,53,53,53,
09729     53,53,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,50,50,50,
09730     50,50,49,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,47,47,47,
09731     47,46,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,43,43,
09732     43,42,42,42,42,42,42,42,42,41,41,41,41,41,40,40,40,40,40,40,40,
09733     40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,38,38,38,38,38,38,
09734     38,38,38,38,38,38,37,36,36,36,36,36,36,36,36,36,36,36,36,36,36,
09735     35,35,35,35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,33,33,32,
09736     32,32,32,32,32,32,32,31,31,30,30,30,30,30,30,30,30,30,30
09737   };
09738   const int n4c2w4_l[] = {
09739     120, // Capacity
09740     500, // Number of items
09741     // Size of items (sorted)
09742     100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,
09743     99,99,99,98,98,98,98,98,98,98,98,98,98,98,98,98,98,97,97,97,97,
09744     97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,95,94,94,94,
09745     94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,
09746     92,91,91,91,91,91,91,91,91,90,90,90,90,90,90,90,89,89,89,88,88,
09747     88,88,88,88,88,88,87,87,87,87,87,87,87,87,87,86,86,86,86,86,85,
09748     85,85,85,85,84,84,84,84,83,83,83,83,83,83,83,82,82,82,81,81,81,
09749     81,81,81,81,80,80,80,80,80,80,79,79,79,79,79,79,79,79,78,78,78,
09750     78,78,78,78,78,77,77,77,77,77,76,76,76,76,75,75,75,75,75,75,75,
09751     74,74,74,74,74,74,74,74,74,74,73,73,73,73,72,72,72,72,72,72,72,
09752     72,72,71,71,71,71,71,71,71,71,71,70,70,70,70,69,69,69,69,69,69,
09753     69,69,68,68,68,68,68,68,68,68,68,68,68,68,68,68,67,67,67,67,67,
09754     67,67,67,67,66,66,66,66,66,66,66,66,66,66,65,65,65,65,65,65,64,
09755     64,64,64,64,64,63,63,63,63,63,62,62,62,62,61,61,61,61,60,60,60,
09756     60,60,59,59,59,59,59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,
09757     58,58,57,57,56,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,
09758     54,54,54,54,54,53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,
09759     51,51,51,51,51,50,50,49,49,49,49,49,49,49,49,48,48,48,48,48,48,
09760     47,47,47,47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,45,45,45,
09761     45,44,44,44,44,44,44,44,43,43,43,43,42,42,42,42,42,42,42,41,41,
09762     41,41,41,41,41,41,41,40,40,40,40,40,40,40,40,40,39,39,39,39,39,
09763     39,39,39,39,38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,37,
09764     36,36,36,36,36,36,36,35,35,35,35,34,34,34,34,34,34,33,33,33,33,
09765     33,33,33,33,33,33,33,33,32,31,31,31,31,31,30,30,30,30,30,30,30
09766   };
09767   const int n4c2w4_m[] = {
09768     120, // Capacity
09769     500, // Number of items
09770     // Size of items (sorted)
09771     100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,
09772     98,98,98,98,97,97,97,97,97,97,97,97,96,96,96,96,96,95,95,95,95,
09773     95,94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,92,92,92,92,
09774     91,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,
09775     89,89,89,89,88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,86,86,
09776     86,86,86,85,85,85,85,85,85,85,85,84,84,84,84,84,84,84,84,84,84,
09777     84,84,83,83,83,83,83,83,82,82,82,81,81,81,81,81,81,81,80,80,80,
09778     80,80,80,79,79,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,78,
09779     78,78,78,78,77,77,77,77,76,76,76,76,76,76,75,75,75,75,75,75,75,
09780     75,75,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,72,72,
09781     71,71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,69,
09782     68,68,68,68,68,68,68,67,67,67,67,67,67,67,67,67,67,66,66,66,66,
09783     65,65,65,64,64,64,64,64,63,63,63,63,63,63,62,62,62,62,62,62,62,
09784     62,61,61,61,61,60,60,60,60,60,60,60,60,59,59,59,59,59,59,59,58,
09785     58,58,58,58,57,57,57,57,57,57,57,57,57,56,56,56,56,56,56,56,55,
09786     55,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,53,53,53,
09787     53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,
09788     50,50,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,46,46,46,
09789     46,46,46,45,45,45,45,45,45,44,44,44,44,44,44,44,44,44,44,44,43,
09790     43,43,43,43,43,43,43,43,43,42,42,42,42,42,42,41,41,41,41,40,40,
09791     40,39,39,39,39,39,39,39,39,38,38,38,38,38,38,38,38,37,37,37,37,
09792     37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,36,35,35,35,35,
09793     35,34,34,34,34,34,34,34,34,33,33,33,33,33,33,33,33,33,33,33,32,
09794     32,32,32,32,32,32,32,32,31,31,31,31,30,30,30,30,30,30,30,30
09795   };
09796   const int n4c2w4_n[] = {
09797     120, // Capacity
09798     500, // Number of items
09799     // Size of items (sorted)
09800     100,100,100,100,100,100,100,99,99,99,99,99,98,98,97,97,97,97,
09801     97,97,97,96,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,
09802     95,95,94,94,94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,
09803     92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,91,91,91,91,91,91,
09804     91,90,90,90,90,90,89,89,89,89,89,89,89,89,89,89,88,88,88,87,87,
09805     87,87,86,86,86,86,85,85,85,85,84,84,84,84,84,84,84,84,84,84,84,
09806     84,84,84,84,83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,81,81,
09807     81,81,81,81,81,80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,
09808     79,79,78,78,78,78,78,78,78,78,78,77,77,77,77,76,76,76,76,76,76,
09809     76,75,75,75,75,75,75,74,74,74,74,74,74,74,74,73,73,73,73,73,73,
09810     72,72,72,72,72,72,72,72,72,72,71,71,71,71,70,70,70,69,69,69,69,
09811     69,69,69,69,69,69,69,69,68,68,68,68,68,68,67,67,67,67,67,67,67,
09812     67,67,67,67,66,66,66,66,66,66,65,65,65,65,64,64,64,64,64,64,64,
09813     64,63,63,63,63,63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,61,
09814     61,60,60,60,60,60,60,60,60,60,60,60,60,60,59,59,59,59,58,58,58,
09815     58,58,58,57,57,57,57,57,57,57,57,57,57,56,56,56,55,55,55,55,55,
09816     55,55,55,55,55,55,54,54,54,54,54,53,53,53,53,53,53,53,52,52,52,
09817     52,52,52,51,51,51,51,51,50,50,50,50,50,50,50,50,50,49,49,49,49,
09818     49,49,49,49,49,48,48,48,47,47,47,47,47,47,47,46,46,46,46,46,46,
09819     46,46,45,45,45,45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,
09820     44,43,43,43,43,42,42,42,41,41,41,41,41,41,41,41,41,41,41,40,40,
09821     40,40,40,40,39,39,39,39,39,39,39,39,39,39,38,38,38,38,38,37,37,
09822     37,37,37,36,36,36,36,36,36,36,35,35,34,34,34,34,34,33,33,33,33,
09823     33,33,32,32,32,32,32,32,32,31,31,31,31,31,31,31,31,31,30,30
09824   };
09825   const int n4c2w4_o[] = {
09826     120, // Capacity
09827     500, // Number of items
09828     // Size of items (sorted)
09829     100,100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,98,98,98,
09830     98,97,97,97,97,97,96,96,96,96,95,95,95,95,95,95,95,95,94,94,94,
09831     94,94,94,94,94,93,93,93,93,93,92,92,92,92,92,92,92,92,92,92,92,
09832     92,91,91,91,91,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,89,
09833     89,88,88,88,88,88,88,88,88,88,88,88,87,87,87,87,87,87,86,86,86,
09834     86,86,86,86,86,86,86,86,86,86,85,85,85,85,85,85,85,84,84,84,84,
09835     84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,82,82,82,82,82,82,
09836     82,81,81,81,81,81,81,81,80,80,80,80,80,80,79,79,79,79,79,79,79,
09837     78,78,78,78,78,78,78,78,78,77,77,77,77,76,76,76,76,76,76,76,75,
09838     75,75,75,75,75,75,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,
09839     72,72,72,71,71,71,71,71,71,71,71,71,71,71,71,70,70,70,70,70,70,
09840     70,70,69,69,69,69,69,69,68,68,68,67,67,67,67,66,66,66,66,66,66,
09841     66,66,65,65,65,65,64,64,64,63,63,63,62,62,62,62,62,62,62,61,61,
09842     61,61,61,61,61,60,60,60,60,59,59,59,59,58,58,58,58,58,58,58,58,
09843     58,58,58,57,57,57,57,57,57,57,57,57,57,56,56,56,56,56,56,56,56,
09844     56,55,55,55,55,55,55,55,54,54,54,54,54,54,54,54,54,54,54,54,53,
09845     53,53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,
09846     50,50,50,50,50,49,49,49,49,49,48,48,47,47,47,47,47,47,47,47,47,
09847     47,46,46,46,46,46,46,45,45,45,45,45,45,44,44,44,44,44,44,44,44,
09848     43,43,43,43,43,43,43,43,43,42,42,42,42,42,42,42,41,41,41,41,41,
09849     41,41,41,41,41,40,40,40,40,39,39,39,39,39,39,39,39,39,39,38,38,
09850     38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,36,36,36,36,35,
09851     35,35,35,35,34,34,34,34,34,34,34,34,34,34,33,33,33,33,33,32,32,
09852     32,32,32,32,32,32,31,31,31,31,31,31,31,31,30,30,30,30,30
09853   };
09854   const int n4c2w4_p[] = {
09855     120, // Capacity
09856     500, // Number of items
09857     // Size of items (sorted)
09858     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,
09859     98,98,98,98,97,97,97,97,97,97,97,97,97,97,97,96,96,96,96,96,95,
09860     95,95,95,95,95,95,95,95,95,94,94,94,94,94,94,94,94,94,94,94,93,
09861     93,93,93,93,93,93,92,92,92,92,91,91,91,91,91,91,91,91,91,91,91,
09862     90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,88,88,88,88,88,88,
09863     88,88,88,87,87,87,87,87,87,87,87,87,87,86,86,86,86,86,85,85,85,
09864     85,85,85,85,85,84,84,84,84,84,84,84,83,83,83,83,83,83,82,82,82,
09865     82,82,82,82,82,82,82,81,81,81,81,81,81,81,81,81,81,81,80,80,80,
09866     80,80,79,79,79,79,79,79,79,78,78,78,78,78,78,78,77,77,77,77,77,
09867     76,76,75,75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,73,73,73,
09868     73,73,73,73,72,72,72,72,72,72,72,72,72,72,72,71,71,71,70,70,70,
09869     70,70,70,70,70,70,70,69,69,69,69,68,68,68,68,67,67,66,66,66,66,
09870     66,66,66,66,66,66,66,66,66,65,65,65,64,64,64,64,64,63,63,63,63,
09871     63,63,63,63,63,63,62,62,62,62,62,62,62,62,62,61,61,61,61,61,61,
09872     60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,58,58,58,58,58,58,
09873     57,57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,
09874     54,54,54,54,54,54,54,54,54,54,54,54,53,53,53,53,52,52,52,52,52,
09875     51,51,51,51,51,51,51,50,50,50,50,50,50,50,50,50,50,50,50,49,49,
09876     49,49,49,49,48,48,48,48,48,48,48,48,48,47,47,47,47,47,47,46,46,
09877     46,46,46,46,46,46,46,46,46,45,45,45,44,44,44,44,44,43,43,43,43,
09878     43,43,42,42,42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,40,39,
09879     39,39,39,39,39,39,38,38,38,38,38,38,37,37,37,37,37,37,36,36,36,
09880     36,36,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,33,33,
09881     33,32,32,32,32,32,32,32,32,32,32,32,32,31,31,31,31,30,30,30
09882   };
09883   const int n4c2w4_q[] = {
09884     120, // Capacity
09885     500, // Number of items
09886     // Size of items (sorted)
09887     100,100,100,99,99,99,99,99,98,98,98,98,98,98,97,97,97,97,97,96,
09888     96,96,96,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,94,94,
09889     94,94,94,94,93,93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,91,
09890     91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,
09891     88,88,87,87,87,86,86,86,86,86,86,86,85,85,85,85,85,84,84,84,84,
09892     84,84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,
09893     83,83,82,82,82,82,82,82,82,82,82,82,82,82,82,82,81,81,81,81,81,
09894     81,81,81,81,81,80,80,80,80,80,80,80,80,80,80,80,79,79,79,79,79,
09895     79,79,79,79,78,78,78,78,77,77,77,77,77,76,76,76,76,75,75,75,75,
09896     75,75,75,75,75,74,73,73,73,73,73,73,73,73,73,72,72,72,72,71,71,
09897     71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,69,69,68,68,68,68,
09898     67,67,67,67,67,67,67,67,67,66,66,66,66,65,65,65,65,65,65,65,64,
09899     64,64,64,64,64,63,63,63,63,63,63,63,63,63,63,63,63,63,63,62,62,
09900     62,62,62,62,62,62,62,61,61,61,61,61,60,60,60,60,60,60,60,60,60,
09901     60,60,60,59,59,59,59,59,59,59,59,59,59,59,58,58,58,58,58,57,57,
09902     57,57,57,57,57,56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,54,
09903     53,53,53,53,53,53,53,53,53,53,52,52,52,52,51,51,51,51,51,51,51,
09904     51,50,50,50,50,50,50,50,50,50,50,49,49,49,49,49,49,49,48,48,48,
09905     47,47,47,47,46,46,46,46,46,46,45,45,45,45,45,44,44,43,43,43,43,
09906     43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,40,
09907     40,40,40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,38,38,38,37,
09908     37,37,37,37,37,36,36,36,36,36,36,36,35,35,35,35,35,35,34,34,34,
09909     34,34,33,33,33,33,32,32,32,32,32,32,32,32,32,32,32,31,31,31,31,
09910     31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30,30,30
09911   };
09912   const int n4c2w4_r[] = {
09913     120, // Capacity
09914     500, // Number of items
09915     // Size of items (sorted)
09916     100,100,100,100,99,99,99,99,98,98,98,98,98,98,98,98,98,97,97,
09917     97,97,97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,96,95,95,95,
09918     95,95,95,95,95,95,95,95,95,94,94,94,94,93,93,93,93,93,93,93,92,
09919     92,92,92,92,91,91,91,91,91,91,91,91,91,90,90,90,90,90,90,90,89,
09920     89,89,89,88,88,88,88,88,87,87,87,87,87,86,86,86,86,86,86,86,85,
09921     85,85,85,84,84,84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,83,
09922     83,83,82,82,82,82,82,82,81,81,81,81,81,81,81,81,81,81,80,80,80,
09923     80,80,80,79,79,79,79,79,79,79,78,78,78,78,78,77,77,77,77,77,77,
09924     77,77,77,76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,
09925     74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,71,71,71,71,71,71,
09926     71,71,71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,
09927     69,68,68,68,68,67,67,67,67,67,67,67,67,66,66,66,66,66,66,66,66,
09928     66,65,65,65,65,65,65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,
09929     64,64,63,63,63,63,63,63,63,63,63,63,62,62,62,62,62,62,62,62,61,
09930     61,61,61,61,61,60,60,60,60,60,59,59,59,59,58,58,58,58,58,58,57,
09931     57,57,57,57,57,57,57,56,56,56,56,56,56,56,55,55,55,55,54,54,54,
09932     54,54,54,54,54,54,54,54,54,53,53,53,53,52,52,52,52,52,52,52,52,
09933     51,51,51,51,51,51,50,50,50,50,50,50,49,49,49,49,49,49,49,48,48,
09934     47,47,47,47,46,46,46,46,46,46,46,45,45,45,45,45,45,45,45,44,44,
09935     44,44,44,44,44,44,43,43,43,43,43,43,43,43,43,43,43,42,42,42,42,
09936     42,42,41,41,41,41,41,40,40,40,39,39,39,39,39,39,39,39,39,39,38,
09937     38,38,38,38,38,38,38,37,37,37,37,37,37,36,36,36,36,36,36,36,36,
09938     36,36,36,35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,33,33,
09939     33,33,33,33,33,32,32,32,32,32,32,32,32,32,31,31,31,30,30
09940   };
09941   const int n4c2w4_s[] = {
09942     120, // Capacity
09943     500, // Number of items
09944     // Size of items (sorted)
09945     100,100,100,100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,
09946     98,98,97,97,97,97,96,96,96,95,95,95,95,95,95,95,95,95,95,95,94,
09947     94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,93,93,93,93,93,
09948     92,92,92,92,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,89,89,
09949     89,88,88,88,87,87,87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,
09950     85,85,85,85,85,85,85,85,85,85,85,84,84,84,84,84,83,83,83,83,83,
09951     83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,80,80,80,80,
09952     79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,78,77,77,77,
09953     77,76,76,76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,75,75,75,
09954     74,74,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,72,71,
09955     71,71,71,71,71,71,71,71,71,71,71,71,70,70,70,70,70,70,70,70,70,
09956     69,69,69,69,69,69,68,68,68,68,68,68,68,68,67,67,67,66,66,66,66,
09957     65,65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,
09958     63,62,62,62,62,62,62,62,61,61,61,61,61,61,61,61,60,60,60,60,60,
09959     60,59,59,59,59,59,59,59,59,58,58,58,58,58,58,57,57,57,57,57,57,
09960     57,57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,54,54,54,54,
09961     53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,51,51,51,50,50,50,
09962     50,50,50,50,50,50,50,50,50,50,50,50,49,49,49,49,49,49,49,49,48,
09963     48,48,48,48,48,48,48,47,47,47,47,47,47,46,46,46,46,46,45,45,45,
09964     45,45,44,44,44,44,44,44,43,43,43,43,43,43,43,43,42,42,42,42,42,
09965     42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,40,40,40,40,40,40,
09966     40,40,39,39,39,39,39,38,37,37,37,37,37,37,36,36,36,36,36,36,36,
09967     36,35,35,35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,33,32,32,
09968     32,32,32,32,32,32,32,32,31,31,31,31,30,30,30,30,30,30,30,30
09969   };
09970   const int n4c2w4_t[] = {
09971     120, // Capacity
09972     500, // Number of items
09973     // Size of items (sorted)
09974     100,100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,97,97,
09975     96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,94,94,94,94,94,94,
09976     94,94,94,93,93,93,93,93,92,92,92,92,92,92,91,91,91,91,91,91,91,
09977     91,91,91,91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,89,
09978     88,88,88,88,88,88,88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,
09979     85,85,85,85,85,85,84,84,84,83,83,83,83,83,83,83,82,82,82,82,82,
09980     82,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,79,79,79,
09981     79,79,79,79,78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,77,77,
09982     77,77,76,76,76,76,76,75,75,75,75,75,75,74,74,74,74,74,74,74,74,
09983     73,73,73,73,73,73,73,73,73,72,72,72,72,72,72,72,71,71,71,71,71,
09984     71,71,71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,
09985     68,68,68,68,68,68,67,67,67,67,67,67,67,67,67,66,66,66,65,65,65,
09986     65,65,65,64,64,64,64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,
09987     63,63,62,62,62,62,62,62,62,61,61,61,60,60,60,60,59,59,59,59,59,
09988     59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,56,56,56,56,
09989     56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,54,53,53,53,53,53,
09990     53,53,53,52,52,52,52,52,52,52,51,51,51,51,51,51,51,50,50,50,50,
09991     50,49,49,49,49,49,49,48,48,48,48,48,48,48,48,47,47,47,47,46,46,
09992     46,46,46,46,46,46,46,46,45,45,45,45,45,45,45,45,45,44,44,44,44,
09993     44,43,43,43,43,43,43,43,42,42,42,42,42,42,42,41,41,41,41,41,41,
09994     40,40,40,40,40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,
09995     37,37,37,37,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,
09996     35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,
09997     31,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30
09998   };
09999   const int n4c3w1_a[] = {
10000     150, // Capacity
10001     500, // Number of items
10002     // Size of items (sorted)
10003     100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,97,97,97,96,
10004     96,96,96,96,96,96,96,95,95,95,95,94,94,94,93,93,93,93,93,92,92,
10005     92,92,92,91,91,91,91,91,90,90,89,89,89,89,89,89,88,88,88,88,86,
10006     86,85,85,85,84,84,84,84,83,83,83,83,83,83,83,82,82,81,81,81,81,
10007     81,81,81,81,81,81,80,80,80,80,79,79,79,79,79,79,79,78,78,78,78,
10008     78,78,78,77,77,77,77,77,77,76,75,75,74,74,74,74,74,74,74,73,73,
10009     73,72,72,72,72,72,72,72,72,72,71,70,70,69,69,68,68,68,68,68,67,
10010     66,66,66,65,65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,63,
10011     63,63,62,62,62,62,62,62,61,61,61,60,60,60,60,60,60,60,59,59,59,
10012     59,59,59,59,59,59,59,59,58,58,58,57,57,57,57,56,56,56,56,56,56,
10013     56,55,55,55,54,54,54,54,54,54,54,54,54,53,53,53,52,52,52,52,51,
10014     51,51,51,50,50,50,49,49,49,48,48,48,48,48,48,48,48,48,48,48,48,
10015     47,47,47,47,47,46,46,46,46,45,45,45,45,45,45,45,45,44,44,44,44,
10016     44,43,43,43,43,43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,41,
10017     41,41,40,40,40,40,39,39,39,39,39,38,38,38,37,37,37,37,37,37,36,
10018     36,36,36,36,35,35,35,35,34,34,34,34,34,34,34,34,33,33,33,33,33,
10019     32,32,32,32,32,32,32,31,31,31,31,30,30,30,30,30,30,30,30,30,30,
10020     29,29,29,28,28,28,28,28,28,27,27,27,27,26,26,26,25,25,25,25,25,
10021     25,25,24,24,24,24,24,24,23,23,23,23,23,22,22,22,22,22,22,21,21,
10022     21,21,21,21,21,21,21,20,20,20,20,20,19,19,19,19,19,19,19,19,18,
10023     18,18,18,18,18,18,18,18,17,17,16,16,16,15,15,15,15,15,14,14,14,
10024     14,14,14,14,13,13,13,13,12,12,12,11,11,11,11,11,10,10,10,10,10,
10025     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,
10026     3,2,2,2,2,1,1,1,1
10027   };
10028   const int n4c3w1_b[] = {
10029     150, // Capacity
10030     500, // Number of items
10031     // Size of items (sorted)
10032     100,100,100,100,100,100,100,100,100,100,100,100,100,99,99,99,
10033     99,99,99,99,98,98,98,97,97,97,97,96,96,96,95,95,95,95,95,95,94,
10034     93,93,93,92,92,92,92,92,91,91,91,91,91,91,90,89,89,88,87,87,87,
10035     87,87,86,86,86,86,86,85,85,85,85,84,84,84,84,84,84,83,83,83,82,
10036     82,82,82,82,81,81,81,81,81,80,80,80,80,80,80,80,80,80,79,79,79,
10037     79,78,78,78,77,77,77,76,76,76,75,75,75,75,75,75,74,74,73,73,73,
10038     73,72,72,72,72,72,71,71,70,69,69,69,69,69,68,68,68,68,68,68,68,
10039     68,68,67,67,67,66,65,65,65,65,65,65,64,64,64,64,64,63,63,63,63,
10040     62,62,61,61,61,61,61,60,60,60,60,60,60,60,60,60,59,59,59,59,59,
10041     59,59,58,58,58,58,58,58,58,58,57,57,57,57,56,56,56,56,55,55,55,
10042     55,55,55,55,54,54,54,54,54,54,53,53,53,53,53,52,52,52,52,52,52,
10043     52,52,52,52,51,51,51,51,51,51,51,51,50,50,50,50,50,50,50,49,49,
10044     49,49,49,49,49,48,48,48,48,48,48,47,47,47,47,47,47,46,46,46,45,
10045     45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,43,43,43,43,43,43,
10046     42,42,42,42,42,41,41,41,40,40,40,40,39,39,39,39,39,39,38,38,38,
10047     38,37,37,37,36,36,36,36,36,36,35,35,35,35,35,34,34,34,34,34,33,
10048     33,33,33,33,33,32,32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,
10049     30,30,29,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,27,27,27,
10050     26,26,26,26,26,25,25,25,25,24,24,24,24,24,23,23,23,23,23,23,23,
10051     22,22,22,22,22,22,22,22,22,22,22,21,21,21,21,20,20,20,20,19,19,
10052     18,18,18,18,18,18,17,17,17,17,17,17,16,16,16,16,16,15,15,15,15,
10053     15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13,13,12,12,12,11,
10054     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,
10055     3,3,3,3,3,2,2,2,1,1,1,1,1
10056   };
10057   const int n4c3w1_c[] = {
10058     150, // Capacity
10059     500, // Number of items
10060     // Size of items (sorted)
10061     100,100,99,99,99,99,99,99,99,98,98,98,98,98,97,97,96,96,96,96,
10062     96,96,96,95,95,95,94,94,94,94,94,93,93,93,93,93,93,92,92,92,92,
10063     92,92,91,91,91,91,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,
10064     88,88,88,87,87,87,87,86,86,86,86,86,86,85,84,84,83,83,83,83,83,
10065     82,82,81,81,81,80,80,79,79,78,78,78,78,78,78,78,77,77,77,77,77,
10066     77,77,76,76,76,75,75,75,75,75,75,75,75,74,74,74,74,74,74,74,73,
10067     73,73,73,72,72,72,72,71,71,71,71,71,71,71,70,70,70,70,70,69,69,
10068     69,69,69,68,68,68,68,68,68,67,67,66,66,66,66,66,66,66,66,65,65,
10069     65,65,64,64,64,64,64,63,63,63,63,63,63,62,62,62,62,62,62,62,61,
10070     61,61,61,60,60,60,59,59,59,59,59,59,59,58,58,58,58,58,58,57,57,
10071     57,57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,54,53,53,53,53,
10072     53,53,53,53,53,53,52,52,52,52,51,51,51,51,51,50,50,50,50,49,49,
10073     49,49,49,48,48,48,48,48,48,48,48,47,47,47,47,46,46,46,45,45,45,
10074     45,45,45,45,45,45,44,44,44,44,44,44,44,43,43,43,42,42,42,42,42,
10075     42,42,41,40,40,40,39,39,39,39,39,38,38,38,38,38,37,37,37,37,37,
10076     37,37,37,37,37,36,36,36,36,36,36,36,36,36,35,35,34,34,34,34,34,
10077     33,33,33,33,33,32,32,32,32,32,32,32,32,31,31,31,31,31,30,30,30,
10078     30,29,29,29,29,29,28,27,27,27,27,27,27,27,26,25,25,25,25,25,25,
10079     25,24,24,24,24,24,24,23,23,23,22,22,22,22,22,22,21,21,21,21,21,
10080     20,20,19,19,19,19,19,19,19,19,19,19,19,19,19,18,18,18,17,17,17,
10081     16,16,15,15,15,15,15,15,15,15,14,14,14,14,14,14,14,13,13,13,13,
10082     13,13,13,12,12,12,12,12,12,12,11,11,11,11,11,10,10,10,10,9,9,
10083     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,
10084     2,2,2,2,2,1,1,1
10085   };
10086   const int n4c3w1_d[] = {
10087     150, // Capacity
10088     500, // Number of items
10089     // Size of items (sorted)
10090     100,100,100,99,99,99,99,99,99,99,98,98,98,98,97,97,97,96,96,96,
10091     96,96,96,95,95,94,94,93,93,93,93,93,93,93,92,92,92,92,92,91,91,
10092     91,91,91,91,90,90,90,90,90,90,89,88,87,87,86,86,86,86,86,85,85,
10093     85,85,85,85,84,84,84,84,83,83,83,83,83,82,82,82,81,81,80,80,80,
10094     79,79,79,78,78,78,77,77,77,77,77,77,77,76,76,76,76,75,75,74,74,
10095     73,73,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,70,70,70,70,
10096     70,69,69,69,69,69,69,69,69,68,68,68,67,67,67,67,67,66,66,66,66,
10097     66,66,66,65,65,65,65,65,65,65,65,65,64,64,64,64,63,63,63,63,63,
10098     62,62,62,61,61,60,60,60,60,60,59,59,58,58,58,58,58,57,57,57,57,
10099     57,57,57,57,56,56,56,56,56,55,55,55,55,55,55,55,55,54,54,54,54,
10100     54,54,54,54,54,53,53,53,52,52,52,52,51,51,50,50,50,50,49,49,49,
10101     49,48,48,48,48,48,48,48,48,48,47,47,47,46,46,46,46,46,45,45,45,
10102     45,45,45,45,45,44,44,44,44,44,44,43,43,43,43,43,43,42,42,42,42,
10103     41,41,41,41,41,40,40,40,40,39,39,39,39,39,38,38,38,38,38,38,38,
10104     37,37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,34,34,34,34,34,
10105     34,33,33,32,32,32,32,31,31,31,30,30,30,30,30,30,30,30,30,30,30,
10106     30,30,29,29,29,29,29,29,28,28,28,28,28,28,28,27,27,27,27,27,27,
10107     27,26,26,26,26,26,26,26,25,25,25,25,25,25,25,25,25,24,24,24,24,
10108     24,23,23,23,23,23,23,22,22,21,21,21,21,21,21,20,20,20,20,20,20,
10109     20,19,19,19,19,18,18,17,17,17,17,17,17,17,17,16,16,16,15,15,15,
10110     15,14,14,14,14,14,14,14,13,13,13,13,12,12,12,12,12,12,11,11,11,
10111     11,11,11,11,11,11,11,10,10,10,10,10,10,9,9,9,9,9,9,8,8,8,8,8,
10112     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,
10113     2,2,2,1,1
10114   };
10115   const int n4c3w1_e[] = {
10116     150, // Capacity
10117     500, // Number of items
10118     // Size of items (sorted)
10119     100,100,100,99,99,98,98,98,98,97,97,97,97,96,96,96,96,96,96,96,
10120     96,95,95,95,95,95,95,95,94,94,93,93,93,93,92,92,92,91,91,91,90,
10121     90,90,90,89,89,89,89,88,88,88,88,88,88,87,87,87,87,87,86,86,86,
10122     86,86,86,86,86,86,86,86,86,85,85,85,85,85,85,84,84,84,84,84,84,
10123     84,84,84,83,83,83,83,83,82,82,82,82,82,82,81,81,81,81,80,80,80,
10124     80,80,80,79,79,79,79,79,79,79,78,78,77,77,77,77,77,77,76,76,76,
10125     75,75,75,75,75,75,74,74,74,74,73,73,73,73,73,73,73,73,73,73,72,
10126     72,72,72,71,71,71,70,70,69,69,69,69,69,69,68,68,68,68,68,68,68,
10127     67,67,67,67,66,66,66,66,66,65,65,65,65,65,65,65,65,65,64,64,64,
10128     64,63,63,63,63,62,62,62,62,62,62,61,60,60,60,60,60,60,59,59,59,
10129     59,59,58,58,58,57,57,57,57,57,56,56,56,56,55,55,55,55,55,55,55,
10130     54,54,54,54,54,53,53,52,52,51,51,51,51,50,50,50,50,50,50,50,49,
10131     49,49,49,48,48,48,48,48,48,47,47,46,46,46,46,46,45,45,45,44,44,
10132     44,44,43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,41,41,41,40,
10133     40,40,40,40,39,39,39,39,38,38,38,37,37,37,37,37,37,36,36,36,35,
10134     35,35,34,34,34,34,34,34,34,33,33,33,33,33,33,33,33,32,32,32,32,
10135     31,31,31,31,31,31,30,30,30,30,30,30,30,29,29,29,29,28,28,28,27,
10136     27,27,27,26,26,26,26,26,26,26,25,25,25,24,24,23,23,23,23,23,23,
10137     23,23,22,22,22,21,21,21,21,21,21,20,20,20,19,19,19,19,19,19,19,
10138     19,19,18,18,18,18,17,17,17,16,16,16,16,16,16,15,15,15,15,15,14,
10139     14,14,14,14,13,13,13,13,13,12,12,12,12,12,12,12,12,12,11,11,11,
10140     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,
10141     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,
10142     1,1
10143   };
10144   const int n4c3w1_f[] = {
10145     150, // Capacity
10146     500, // Number of items
10147     // Size of items (sorted)
10148     100,100,100,100,100,99,99,99,98,98,97,97,97,97,96,96,96,96,95,
10149     95,95,95,94,94,94,94,94,94,94,93,93,92,92,92,92,92,91,91,91,91,
10150     91,91,90,90,90,90,89,89,89,89,89,89,88,88,88,88,88,88,87,87,87,
10151     87,86,86,86,86,86,86,86,85,85,85,85,84,84,84,84,84,83,83,83,83,
10152     83,83,83,83,83,83,83,83,82,82,82,82,81,81,81,80,80,80,80,79,79,
10153     79,78,78,78,78,78,78,77,77,77,77,77,77,76,76,76,76,76,75,75,75,
10154     75,74,74,74,73,73,73,73,73,73,73,73,73,72,72,71,71,71,71,71,71,
10155     71,70,70,70,70,69,69,69,68,68,68,67,67,67,67,67,67,67,67,67,66,
10156     66,66,66,66,66,66,66,65,64,64,64,64,64,64,63,63,62,62,61,61,61,
10157     60,60,59,59,59,59,59,59,58,58,58,58,57,57,57,57,56,56,56,56,56,
10158     56,55,55,55,54,54,54,54,54,54,54,54,53,53,53,52,52,52,52,51,51,
10159     51,51,51,51,50,50,50,50,50,50,49,49,49,49,48,48,48,48,47,47,47,
10160     47,47,46,46,46,46,46,46,45,45,45,45,45,45,44,44,44,44,43,43,43,
10161     43,42,42,42,42,42,42,42,42,42,41,41,40,40,40,40,40,39,39,39,39,
10162     38,38,38,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,35,35,
10163     35,35,34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,31,31,31,
10164     31,30,30,30,30,30,30,30,30,30,30,29,29,29,29,29,28,28,28,28,28,
10165     27,27,27,26,26,26,26,26,25,25,25,25,25,25,25,25,25,24,24,24,24,
10166     24,24,24,24,24,24,24,24,24,23,23,23,23,23,22,22,22,22,22,22,22,
10167     22,21,21,21,21,21,21,20,20,20,20,20,20,20,20,19,19,19,19,18,18,
10168     18,18,18,18,18,18,17,17,17,17,17,16,16,15,14,14,14,14,14,14,14,
10169     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,
10170     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,
10171     1,1,1
10172   };
10173   const int n4c3w1_g[] = {
10174     150, // Capacity
10175     500, // Number of items
10176     // Size of items (sorted)
10177     100,100,100,100,100,99,99,99,98,98,98,98,98,97,97,97,97,96,96,
10178     96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,94,94,94,93,93,93,
10179     93,93,93,93,93,93,92,92,92,92,92,92,91,91,91,91,91,91,90,90,90,
10180     89,89,89,88,87,87,87,87,87,86,86,86,86,86,85,85,85,84,84,84,84,
10181     83,83,83,83,83,83,83,82,82,82,82,81,81,81,81,81,81,81,80,80,80,
10182     80,80,80,80,80,79,79,79,79,79,79,78,78,78,78,78,78,77,77,77,77,
10183     77,76,76,76,75,75,75,75,75,75,75,74,74,73,73,73,72,72,72,72,72,
10184     71,71,71,71,71,71,71,71,70,70,70,69,69,69,69,68,68,68,68,68,68,
10185     67,67,67,67,67,66,66,65,65,65,65,65,65,65,64,64,64,64,64,64,63,
10186     63,63,63,63,63,62,62,61,61,61,61,61,61,61,60,60,60,60,59,59,59,
10187     58,58,57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,
10188     55,54,54,53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,51,51,
10189     50,50,49,49,49,49,49,49,49,49,48,48,48,48,48,48,48,48,47,47,47,
10190     47,47,47,47,47,47,47,47,46,46,46,46,45,45,45,45,45,44,44,44,44,
10191     44,44,43,43,43,42,42,42,42,41,41,41,41,41,41,40,39,39,39,39,38,
10192     38,38,38,38,38,38,38,38,37,37,37,37,37,37,36,36,36,36,36,36,35,
10193     34,34,33,33,33,33,33,33,32,32,32,32,31,30,30,29,29,29,29,29,28,
10194     28,28,28,27,27,27,27,27,26,26,26,26,26,26,26,26,26,26,25,25,25,
10195     25,25,25,25,24,24,24,24,24,23,23,23,23,23,23,23,22,22,22,21,21,
10196     21,21,21,21,21,21,21,20,20,20,20,20,20,19,19,19,18,18,18,18,18,
10197     18,17,17,17,16,16,16,16,15,15,15,15,14,14,14,14,13,13,13,13,12,
10198     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,
10199     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,
10200     1,1,1,1
10201   };
10202   const int n4c3w1_h[] = {
10203     150, // Capacity
10204     500, // Number of items
10205     // Size of items (sorted)
10206     100,100,100,100,100,99,98,98,97,97,97,97,97,97,97,97,97,97,96,
10207     96,96,96,95,95,95,95,95,94,94,94,94,94,94,94,94,93,93,93,93,92,
10208     92,92,92,92,92,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,89,
10209     89,88,88,88,88,88,88,87,87,87,87,87,87,87,87,87,87,87,86,86,86,
10210     86,86,86,86,86,86,85,85,85,85,85,85,84,84,84,83,83,83,82,82,82,
10211     82,82,81,81,81,81,81,81,80,80,79,79,79,79,79,79,79,79,79,78,78,
10212     78,78,78,77,77,77,76,76,76,76,75,75,75,75,74,74,74,74,74,73,73,
10213     73,73,73,72,72,72,71,70,70,70,70,70,70,70,69,69,69,69,69,68,68,
10214     68,68,68,68,68,68,67,67,67,67,67,67,67,66,66,66,66,66,66,66,65,
10215     65,65,65,65,65,64,64,63,63,63,63,63,63,62,62,62,62,62,61,61,61,
10216     61,60,60,60,60,60,60,59,59,59,59,59,59,58,58,58,58,57,57,57,57,
10217     56,56,55,55,55,55,54,54,54,54,54,54,53,53,53,53,53,53,53,53,52,
10218     52,52,52,51,51,50,50,50,50,50,49,49,49,49,48,47,47,47,47,47,47,
10219     47,47,47,47,46,46,46,46,46,45,45,44,44,43,43,42,42,42,41,41,41,
10220     41,41,40,40,40,40,40,40,40,40,40,40,40,39,39,39,39,39,38,38,38,
10221     38,37,37,37,37,36,36,36,35,35,35,35,35,35,34,34,34,33,33,33,33,
10222     33,33,32,32,32,32,32,32,32,32,32,32,32,31,31,30,30,30,30,30,29,
10223     29,28,28,28,27,27,27,27,27,26,26,26,26,26,26,25,25,25,25,25,24,
10224     24,24,23,23,23,23,23,23,22,22,22,22,22,22,21,21,21,21,21,21,20,
10225     20,20,20,19,19,19,19,18,18,18,18,18,17,17,16,16,16,16,16,16,16,
10226     16,15,15,15,15,15,15,15,15,15,14,14,14,14,14,13,13,13,13,12,12,
10227     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,
10228     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,
10229     2,2,1,1,1
10230   };
10231   const int n4c3w1_i[] = {
10232     150, // Capacity
10233     500, // Number of items
10234     // Size of items (sorted)
10235     100,100,100,100,99,99,99,99,99,99,99,99,98,97,97,96,96,96,96,
10236     96,96,95,95,94,94,94,94,93,93,93,92,92,92,92,92,91,91,90,90,90,
10237     90,90,90,89,89,89,89,89,88,88,88,88,88,87,87,87,87,86,86,86,86,
10238     86,86,85,85,85,85,85,85,85,84,84,84,83,83,83,82,82,82,82,81,81,
10239     81,81,81,81,81,81,80,80,80,80,80,80,80,79,79,79,79,79,79,78,78,
10240     78,78,78,78,78,78,77,77,77,77,77,77,77,77,77,76,76,75,75,75,75,
10241     74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,72,71,71,71,71,
10242     71,71,70,70,70,70,70,70,69,69,69,68,68,68,68,67,67,67,67,67,67,
10243     67,66,66,66,66,66,66,66,66,66,65,65,65,65,65,65,64,64,64,64,64,
10244     64,63,63,63,63,63,62,62,62,62,62,61,61,61,61,61,60,60,60,60,60,
10245     60,60,59,59,58,58,58,58,58,58,57,57,57,56,56,56,56,56,55,55,55,
10246     55,55,55,54,54,54,54,53,53,53,53,53,53,52,52,52,52,51,51,50,50,
10247     50,50,49,48,48,48,48,48,48,47,47,47,47,47,47,47,47,46,46,46,46,
10248     46,46,46,45,45,44,44,44,44,43,43,43,42,42,42,41,41,41,41,41,41,
10249     41,40,40,40,40,40,40,39,39,38,38,38,38,38,38,37,37,37,37,37,37,
10250     37,37,37,37,36,36,35,35,35,35,35,35,35,34,34,33,33,33,33,33,32,
10251     32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,30,29,29,29,29,
10252     29,29,29,29,29,28,28,27,27,27,27,27,27,26,26,26,26,26,26,26,26,
10253     26,25,25,25,25,25,25,24,24,24,24,24,24,24,24,23,23,23,23,22,22,
10254     22,22,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,19,19,19,19,
10255     19,18,18,18,18,18,17,17,16,16,16,16,16,16,16,15,15,15,15,14,14,
10256     14,14,14,13,13,13,13,12,12,12,12,12,12,12,12,11,11,11,11,11,11,
10257     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,
10258     4,3,3,3,2,2,2,1,1,1,1,1
10259   };
10260   const int n4c3w1_j[] = {
10261     150, // Capacity
10262     500, // Number of items
10263     // Size of items (sorted)
10264     100,100,100,100,100,100,100,99,99,99,99,98,98,98,98,98,98,97,
10265     97,96,96,95,95,95,95,95,95,95,95,94,93,93,93,92,92,92,92,92,92,
10266     92,91,91,91,91,91,91,90,89,89,89,89,88,88,88,88,87,87,87,87,87,
10267     87,87,87,87,86,86,86,86,86,86,85,85,85,85,85,84,84,84,84,84,83,
10268     83,82,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,80,
10269     80,79,79,79,79,79,78,78,78,78,78,77,77,77,77,77,77,76,76,76,76,
10270     76,76,75,75,75,75,75,75,74,73,73,73,73,73,73,72,72,72,72,72,72,
10271     71,71,71,71,71,71,71,70,70,69,69,69,68,68,68,68,68,68,68,68,67,
10272     67,67,67,67,66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,
10273     63,63,62,62,62,62,62,62,61,61,61,61,61,61,60,60,59,59,59,59,59,
10274     59,59,59,58,58,58,58,58,58,58,58,58,57,57,56,56,56,56,56,55,55,
10275     55,55,55,55,55,55,54,54,53,53,53,53,53,53,52,52,52,52,52,52,52,
10276     51,51,51,51,51,51,50,50,50,50,50,49,49,49,49,49,49,48,48,48,48,
10277     48,47,47,47,47,47,47,47,46,46,46,46,46,46,45,45,45,45,45,44,44,
10278     44,44,44,44,43,43,42,42,42,42,42,42,42,41,41,41,41,40,40,40,40,
10279     40,40,40,40,39,39,39,39,39,39,38,38,38,38,37,37,37,37,37,36,36,
10280     36,36,36,36,35,35,35,35,35,35,34,34,34,34,34,33,33,33,33,33,32,
10281     32,32,31,30,30,30,30,30,30,29,29,29,28,28,28,28,27,27,26,26,25,
10282     25,25,25,24,24,24,24,23,23,23,23,23,23,23,22,22,22,22,22,22,21,
10283     21,21,20,20,20,20,20,19,19,19,19,19,18,18,18,17,17,17,17,17,17,
10284     17,17,16,16,16,16,16,16,15,15,14,14,14,14,14,14,14,13,13,13,13,
10285     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,
10286     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,
10287     2,2,2,1,1,1
10288   };
10289   const int n4c3w1_k[] = {
10290     150, // Capacity
10291     500, // Number of items
10292     // Size of items (sorted)
10293     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,
10294     98,97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,94,94,94,94,
10295     94,94,93,93,92,92,91,91,91,91,91,90,90,90,90,89,89,89,89,89,89,
10296     88,88,88,87,87,86,86,85,85,85,85,84,84,84,84,84,83,83,83,83,83,
10297     82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,80,80,79,79,79,79,
10298     79,78,78,78,78,78,78,78,77,77,77,77,77,77,76,76,76,76,76,76,76,
10299     75,75,75,75,74,74,74,74,74,74,73,73,73,72,72,72,72,72,72,72,71,
10300     71,70,70,70,70,70,70,69,69,69,69,68,68,68,68,68,67,67,67,67,67,
10301     67,67,66,66,66,66,66,66,66,65,65,65,64,64,64,64,63,63,63,63,63,
10302     63,63,63,62,62,62,62,60,59,59,59,59,59,59,59,59,58,58,58,58,56,
10303     56,56,56,55,55,55,54,53,53,53,53,52,52,52,52,52,52,51,51,51,51,
10304     51,51,51,50,50,50,49,49,49,48,48,48,48,48,48,48,47,47,47,47,47,
10305     47,47,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,43,43,43,
10306     43,43,42,42,42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,40,40,
10307     40,40,40,39,39,39,39,39,38,38,37,37,37,37,36,36,36,36,36,36,36,
10308     35,35,35,35,35,35,35,35,35,34,34,34,34,33,33,33,33,33,33,32,32,
10309     32,32,31,31,31,31,31,30,30,30,29,29,29,29,29,29,29,28,28,28,28,
10310     28,27,27,27,26,26,26,26,26,26,25,25,25,25,25,24,24,24,24,23,23,
10311     23,23,23,23,23,23,22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,
10312     20,19,19,19,19,19,18,18,18,18,18,18,18,18,18,18,18,17,17,17,17,
10313     17,17,16,16,15,15,14,14,14,14,14,14,14,14,13,13,13,13,13,13,12,
10314     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,
10315     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,
10316     1,1,1,1,1
10317   };
10318   const int n4c3w1_l[] = {
10319     150, // Capacity
10320     500, // Number of items
10321     // Size of items (sorted)
10322     100,100,100,100,100,99,99,99,98,98,98,98,98,98,97,97,97,97,97,
10323     97,97,97,97,96,96,95,95,94,94,94,94,93,93,93,93,93,93,92,92,92,
10324     92,92,92,91,91,91,91,91,90,89,89,88,88,88,88,88,87,87,87,87,86,
10325     85,85,85,85,84,84,84,83,83,83,83,82,81,81,81,81,81,81,81,80,80,
10326     79,79,79,79,79,79,79,79,78,78,78,78,78,78,77,77,77,77,77,77,77,
10327     76,76,76,76,76,75,75,75,74,74,74,74,74,74,74,74,73,73,73,73,72,
10328     72,72,72,72,72,71,71,71,71,70,70,70,70,70,69,69,69,69,68,68,68,
10329     68,67,67,67,67,67,66,66,66,66,66,66,65,65,65,65,65,64,64,64,64,
10330     64,64,64,63,63,63,63,63,63,63,62,62,61,61,61,60,60,60,60,59,59,
10331     59,59,59,58,58,58,58,57,57,57,57,57,57,57,57,56,56,56,56,56,55,
10332     55,55,54,54,54,53,53,53,52,52,52,52,52,52,52,51,51,51,50,50,50,
10333     50,50,50,50,49,49,49,49,49,48,48,48,48,48,48,48,48,48,47,47,47,
10334     47,47,47,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,
10335     44,44,43,43,43,43,43,43,43,43,43,43,42,42,42,42,42,42,42,41,41,
10336     41,41,40,40,40,40,39,39,39,39,39,38,38,38,38,38,38,37,37,37,36,
10337     36,36,36,36,35,35,35,35,35,35,35,35,34,34,34,33,32,32,32,32,32,
10338     32,32,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30,30,29,29,29,
10339     29,28,28,28,28,28,28,28,28,27,27,27,27,26,26,26,26,26,26,26,26,
10340     26,26,25,25,25,25,25,25,25,24,24,24,23,23,23,23,23,23,23,23,23,
10341     22,22,22,22,22,21,21,21,21,21,21,21,21,20,20,20,19,19,18,18,18,
10342     17,17,17,17,16,16,16,15,15,14,14,14,14,14,14,13,13,13,13,13,13,
10343     13,12,12,11,11,11,11,11,11,11,11,11,10,10,10,10,10,10,9,9,9,8,
10344     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,
10345     3,2,2,2,2,1,1,1
10346   };
10347   const int n4c3w1_m[] = {
10348     150, // Capacity
10349     500, // Number of items
10350     // Size of items (sorted)
10351     100,100,100,100,99,99,99,98,98,98,98,98,98,98,97,97,97,96,96,
10352     96,96,96,95,95,95,95,95,94,94,93,93,93,93,92,92,92,92,91,90,90,
10353     89,89,89,89,89,89,88,88,87,87,87,87,87,87,87,87,87,86,86,86,85,
10354     85,85,85,85,85,84,84,84,84,84,84,84,84,84,83,83,83,82,82,82,82,
10355     82,81,81,81,81,81,81,81,80,80,80,80,80,80,79,79,79,78,78,77,77,
10356     77,76,76,76,76,76,76,76,75,75,75,75,75,75,75,75,74,74,74,74,74,
10357     74,74,74,74,73,73,73,73,73,73,73,73,73,72,72,72,72,71,71,71,71,
10358     71,71,71,71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,
10359     68,68,68,68,68,68,67,67,67,67,67,67,67,66,66,66,66,66,66,65,65,
10360     65,64,64,64,64,64,63,62,62,62,62,61,61,60,60,60,60,60,60,59,59,
10361     59,59,59,58,58,58,58,58,57,57,56,56,56,55,55,55,55,54,54,54,54,
10362     54,54,54,54,54,54,53,53,53,53,53,52,51,51,51,51,51,50,50,50,50,
10363     50,50,49,49,49,49,49,49,49,48,48,48,47,47,47,47,47,46,46,45,45,
10364     45,45,45,45,45,45,44,44,44,44,43,43,43,43,43,42,42,42,42,42,42,
10365     42,41,41,41,41,41,41,41,41,41,40,40,40,40,39,39,39,38,38,38,38,
10366     37,37,37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,35,34,34,34,
10367     34,34,33,33,33,33,32,32,32,32,32,32,32,32,32,31,31,31,31,31,31,
10368     29,29,29,29,29,29,29,28,28,27,27,27,27,27,27,26,26,26,26,25,25,
10369     25,25,25,24,24,24,24,24,23,23,23,22,22,22,21,21,21,21,20,20,20,
10370     20,20,18,18,18,18,18,18,18,17,17,17,17,17,17,17,17,17,16,16,16,
10371     16,15,15,15,15,15,15,15,15,15,14,14,14,14,14,14,14,13,13,13,13,
10372     13,13,13,12,12,12,12,12,12,11,11,11,11,11,11,11,10,10,10,10,10,
10373     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,
10374     3,2,2,2,2,2,2,1,1,1,1
10375   };
10376   const int n4c3w1_n[] = {
10377     150, // Capacity
10378     500, // Number of items
10379     // Size of items (sorted)
10380     100,100,100,100,99,99,99,99,98,98,98,98,98,98,98,98,98,97,97,
10381     97,97,97,97,97,97,96,96,96,96,96,95,95,95,95,95,95,95,94,94,94,
10382     94,94,94,94,94,93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,
10383     91,91,91,90,90,90,89,89,89,89,89,89,89,89,89,89,89,88,88,88,88,
10384     87,86,86,86,86,85,85,84,84,84,84,84,84,83,83,83,83,83,83,83,82,
10385     82,81,81,81,81,81,81,81,81,80,80,80,80,80,80,80,79,79,79,79,79,
10386     79,79,78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,75,75,75,
10387     75,74,74,74,74,73,73,73,73,72,72,72,71,71,71,71,71,71,71,71,71,
10388     71,71,70,70,70,69,69,69,69,69,69,69,68,68,67,67,67,67,67,67,67,
10389     67,67,66,66,66,65,65,65,65,64,64,64,64,64,64,64,64,64,63,63,63,
10390     63,63,63,63,62,62,61,61,61,60,60,60,60,59,59,59,59,59,59,59,58,
10391     58,58,58,58,58,58,58,58,57,57,57,57,57,57,57,56,56,56,55,55,54,
10392     54,54,54,54,54,53,53,53,52,52,52,52,52,51,51,51,51,51,51,51,51,
10393     51,51,50,50,50,50,50,49,49,49,48,48,48,47,46,46,46,46,45,45,45,
10394     45,44,44,44,44,44,43,43,43,43,43,43,42,41,41,41,41,41,41,41,40,
10395     40,40,40,39,39,39,39,38,38,38,38,38,38,37,37,37,37,37,37,35,35,
10396     35,34,34,34,33,33,33,33,32,32,32,32,32,32,32,32,31,31,31,31,31,
10397     30,30,30,30,30,30,30,30,29,29,29,29,29,29,28,28,28,27,27,27,26,
10398     26,26,26,26,26,26,26,26,25,25,25,25,25,25,24,24,24,23,23,23,23,
10399     23,23,22,22,22,21,21,21,20,20,19,19,19,19,19,19,18,18,18,18,18,
10400     18,18,17,17,17,17,17,16,15,15,15,15,14,14,14,14,14,14,13,13,13,
10401     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,
10402     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,
10403     2,2,1,1,1
10404   };
10405   const int n4c3w1_o[] = {
10406     150, // Capacity
10407     500, // Number of items
10408     // Size of items (sorted)
10409     100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,98,98,
10410     98,97,97,97,97,97,97,96,96,95,95,95,95,95,95,95,95,94,94,94,94,
10411     94,94,93,92,92,92,92,91,91,91,91,91,91,91,91,91,90,90,90,90,90,
10412     90,90,89,89,89,89,89,89,89,88,88,88,88,87,87,87,87,87,87,86,86,
10413     86,86,85,84,84,84,84,83,83,83,82,82,82,82,82,82,82,82,82,82,82,
10414     81,81,81,81,81,81,81,81,80,80,80,80,80,80,79,79,78,78,77,77,77,
10415     77,77,76,76,76,75,75,75,75,75,74,74,74,74,74,73,73,72,72,72,72,
10416     71,71,70,70,70,70,70,70,69,69,69,69,68,68,68,68,67,67,67,67,66,
10417     66,66,66,66,66,65,65,65,65,64,64,64,64,64,64,64,64,64,64,63,63,
10418     63,63,63,62,62,62,62,62,62,61,61,61,60,60,60,60,60,60,59,59,59,
10419     58,58,58,58,58,57,57,57,57,57,57,56,56,56,56,56,56,56,56,56,55,
10420     55,55,55,55,54,54,54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,
10421     52,52,51,51,51,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,
10422     46,46,46,46,46,46,46,46,45,45,45,45,44,44,44,44,43,43,42,42,42,
10423     42,42,42,42,42,42,41,41,41,41,41,41,41,40,40,40,39,39,38,38,38,
10424     38,38,38,38,38,37,37,36,36,36,35,35,35,34,34,34,33,33,33,33,33,
10425     32,32,32,32,32,32,31,31,31,31,31,31,31,31,31,30,30,30,30,30,29,
10426     29,28,28,28,28,27,27,27,27,27,27,26,26,26,26,25,25,25,25,25,25,
10427     25,25,25,24,24,24,24,24,23,23,23,23,23,23,23,23,22,22,22,22,22,
10428     22,22,21,21,21,21,20,20,20,20,20,19,19,18,18,18,18,18,18,17,17,
10429     17,17,17,17,16,16,16,16,16,15,15,15,14,14,14,13,13,13,13,13,13,
10430     13,12,12,12,12,12,11,10,10,10,10,10,10,10,9,9,9,9,9,9,8,8,8,8,
10431     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,
10432     2,2,2,1,1,1,1,1
10433   };
10434   const int n4c3w1_p[] = {
10435     150, // Capacity
10436     500, // Number of items
10437     // Size of items (sorted)
10438     100,100,100,99,99,99,98,98,98,98,97,97,97,97,97,97,97,97,96,96,
10439     96,96,96,96,95,95,95,95,94,94,94,94,94,94,94,94,94,93,93,93,93,
10440     93,93,93,93,92,91,91,91,91,90,90,89,89,89,89,89,89,88,88,87,86,
10441     86,86,86,86,85,85,85,85,85,85,85,84,84,84,84,84,84,84,83,83,82,
10442     82,82,82,82,81,80,80,79,79,79,79,79,79,79,79,79,78,78,78,78,78,
10443     78,77,77,77,77,77,76,76,76,76,76,76,75,75,75,75,74,74,74,74,74,
10444     74,74,74,74,74,74,74,74,74,73,73,73,73,72,72,72,72,72,72,72,72,
10445     72,72,72,71,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,69,69,
10446     69,68,68,68,68,68,68,67,67,67,66,66,66,66,65,65,65,65,65,65,65,
10447     64,64,64,64,63,63,63,63,63,63,62,62,62,61,61,61,61,61,60,60,59,
10448     59,59,59,59,59,59,58,58,58,58,58,57,57,56,56,56,56,54,54,54,54,
10449     54,54,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,51,51,50,
10450     50,50,50,49,49,48,48,48,48,48,48,48,47,47,47,46,46,46,46,46,46,
10451     46,46,45,45,45,45,45,44,44,44,44,44,44,44,44,44,44,43,43,43,43,
10452     43,43,42,42,41,41,41,41,41,41,41,40,40,40,40,39,39,38,38,38,38,
10453     37,37,37,37,36,36,36,36,36,35,35,35,35,35,35,34,34,34,34,34,33,
10454     33,33,33,32,32,32,32,32,31,31,31,30,29,29,29,29,29,29,28,28,28,
10455     28,28,27,27,27,27,26,26,26,26,26,26,26,26,25,25,25,25,24,24,24,
10456     24,24,23,23,23,23,23,23,22,22,22,22,22,22,21,21,21,20,20,20,20,
10457     20,19,19,18,18,18,17,17,17,17,17,16,16,16,16,16,16,16,16,16,15,
10458     14,14,14,14,14,14,14,13,13,13,13,13,12,12,12,12,12,12,12,11,11,
10459     11,11,11,11,11,10,10,10,10,10,10,10,10,9,9,9,9,9,8,8,8,8,8,7,
10460     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,
10461     1,1,1,1,1
10462   };
10463   const int n4c3w1_q[] = {
10464     150, // Capacity
10465     500, // Number of items
10466     // Size of items (sorted)
10467     100,100,100,100,100,99,98,98,98,98,97,97,97,97,97,96,96,96,96,
10468     96,96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,
10469     93,92,92,92,92,92,92,92,91,91,90,90,90,90,90,89,89,89,89,89,89,
10470     89,88,87,87,87,87,87,86,86,86,86,86,86,86,85,85,85,85,85,85,84,
10471     84,84,84,84,84,84,83,83,83,83,83,83,83,83,83,82,82,81,81,81,81,
10472     81,80,80,80,80,79,79,79,79,78,78,78,78,78,78,77,77,77,77,77,76,
10473     76,76,76,76,76,76,76,76,75,75,74,74,74,74,73,73,73,72,72,72,72,
10474     72,72,71,71,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,69,68,
10475     68,68,68,68,67,67,67,67,67,67,67,67,67,66,66,66,66,66,66,66,66,
10476     66,66,66,66,65,65,65,65,65,64,64,64,64,64,64,64,64,64,64,63,63,
10477     62,62,62,62,62,62,61,61,61,61,60,60,60,60,60,59,59,59,58,58,58,
10478     58,58,58,58,58,57,57,57,56,56,56,56,56,56,56,56,56,55,55,55,54,
10479     54,54,54,53,53,53,53,53,53,53,53,52,52,51,51,51,51,51,51,51,50,
10480     50,50,50,49,49,49,49,48,48,48,48,48,47,47,46,46,46,46,45,45,44,
10481     44,44,44,43,43,43,43,43,42,42,42,42,42,42,42,42,41,41,41,41,41,
10482     41,41,40,40,40,40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,
10483     39,38,38,38,38,38,37,37,37,37,36,36,36,36,36,36,36,36,36,35,35,
10484     35,34,34,34,34,33,33,33,32,32,32,31,31,31,31,31,30,30,29,29,29,
10485     28,28,28,28,28,28,27,27,27,26,26,26,26,26,26,26,26,25,25,25,25,
10486     25,25,25,24,23,23,23,23,23,22,22,21,21,20,20,20,20,20,20,19,18,
10487     18,18,18,17,17,17,17,16,16,16,15,15,15,15,15,15,15,15,15,14,14,
10488     14,14,14,14,13,13,13,13,13,13,12,12,12,12,12,12,12,12,11,11,11,
10489     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,
10490     4,4,3,2,2,2,2,2,2,1,1,1,1
10491   };
10492   const int n4c3w1_r[] = {
10493     150, // Capacity
10494     500, // Number of items
10495     // Size of items (sorted)
10496     100,100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,98,97,
10497     97,96,96,96,96,95,95,95,95,95,95,95,95,95,95,94,94,94,94,93,93,
10498     93,93,92,92,92,92,92,92,91,91,91,91,90,90,90,90,90,90,89,89,89,
10499     89,88,88,88,88,87,87,87,87,87,87,86,86,85,85,84,84,83,83,83,83,
10500     83,83,82,82,82,82,81,81,81,81,80,80,80,80,80,80,80,80,79,79,79,
10501     79,79,79,79,79,79,79,78,78,78,78,77,77,77,76,76,76,76,75,75,75,
10502     75,75,75,74,74,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,71,
10503     71,71,71,70,70,70,70,70,70,70,69,69,69,68,68,68,68,67,67,67,67,
10504     67,67,67,67,67,66,66,66,66,65,65,65,65,65,64,64,64,64,63,63,63,
10505     63,62,62,62,62,62,61,61,61,61,61,61,61,61,61,61,61,61,60,60,60,
10506     60,60,59,59,59,58,58,58,58,58,58,58,58,57,57,57,57,56,56,55,55,
10507     55,55,55,54,54,54,54,53,53,53,53,53,52,52,52,52,52,52,51,51,51,
10508     51,51,51,51,51,50,49,48,48,48,48,48,48,47,47,47,46,46,46,46,45,
10509     45,45,45,45,45,44,44,43,43,43,42,42,42,42,42,41,41,41,40,40,40,
10510     40,40,40,40,40,40,40,39,39,39,39,38,38,38,38,38,38,38,38,37,37,
10511     37,37,36,36,36,36,36,34,34,34,34,33,33,33,33,33,32,32,32,32,32,
10512     32,31,31,31,31,31,31,31,31,30,30,30,30,29,29,29,29,29,29,29,29,
10513     29,28,28,28,28,28,28,28,28,28,28,28,28,27,27,27,27,26,26,26,26,
10514     26,25,25,25,25,25,24,24,24,24,24,24,23,23,23,23,23,22,22,22,22,
10515     22,22,21,21,21,20,20,19,19,19,19,19,19,19,19,18,18,18,18,17,17,
10516     17,17,17,17,16,16,16,16,15,15,14,14,14,14,13,13,13,13,13,13,13,
10517     12,12,12,12,11,11,11,11,11,11,11,11,11,11,10,10,10,9,9,9,9,9,
10518     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,
10519     3,3,3,2,2,2,1,1,1
10520   };
10521   const int n4c3w1_s[] = {
10522     150, // Capacity
10523     500, // Number of items
10524     // Size of items (sorted)
10525     100,100,99,99,99,99,99,98,98,98,98,98,98,97,97,97,97,96,96,96,
10526     96,96,96,95,95,95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,
10527     93,92,92,92,92,91,91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,
10528     89,89,88,88,87,87,87,86,86,86,86,86,86,85,85,85,85,85,85,85,84,
10529     84,84,84,83,83,83,82,82,82,82,81,81,80,80,80,80,80,80,79,79,78,
10530     78,78,78,78,78,78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,75,
10531     75,75,74,74,74,74,74,74,73,73,73,73,72,72,71,71,71,71,70,70,70,
10532     70,70,70,70,69,69,69,68,68,68,68,68,67,67,67,66,66,66,66,66,66,
10533     66,66,66,66,65,65,65,64,64,64,63,63,63,63,62,62,62,62,62,61,61,
10534     61,61,61,61,60,60,60,60,59,59,59,59,58,58,58,58,58,58,58,58,57,
10535     57,57,57,57,57,57,57,56,56,55,55,55,55,55,55,54,54,54,54,54,54,
10536     54,54,53,53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,51,51,50,
10537     50,50,50,50,50,50,50,49,49,49,49,49,49,49,49,49,48,48,48,48,48,
10538     47,47,47,47,47,46,46,46,46,46,45,45,45,45,45,45,45,45,44,44,43,
10539     43,43,43,42,42,42,41,40,40,39,39,39,39,39,38,38,38,38,37,37,37,
10540     37,36,36,36,36,36,35,35,35,34,34,34,34,34,33,33,33,33,33,33,33,
10541     32,32,32,32,32,32,32,32,31,31,31,30,30,30,30,30,29,29,29,29,29,
10542     29,29,29,29,29,28,28,27,27,27,27,27,26,26,26,26,26,26,25,25,25,
10543     25,25,25,25,25,24,24,24,24,24,24,24,24,23,23,23,23,23,22,22,22,
10544     22,22,22,21,21,21,21,21,21,20,20,20,20,20,19,19,19,18,18,18,18,
10545     18,18,17,17,17,16,15,15,15,15,14,14,14,14,13,13,13,13,13,13,12,
10546     12,12,12,12,12,11,11,11,11,11,11,11,11,10,10,10,10,10,10,10,10,
10547     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,
10548     2,2,2,2,1,1,1,1
10549   };
10550   const int n4c3w1_t[] = {
10551     150, // Capacity
10552     500, // Number of items
10553     // Size of items (sorted)
10554     100,100,100,99,99,98,98,98,97,97,97,97,96,96,96,96,96,96,95,95,
10555     95,95,95,95,94,94,94,94,94,94,93,93,93,92,92,92,92,92,91,91,91,
10556     91,91,90,90,90,90,90,90,89,89,89,89,89,89,88,88,88,88,88,88,88,
10557     88,88,88,87,87,86,86,86,86,85,85,85,85,85,85,84,84,84,84,83,83,
10558     82,82,82,82,82,82,81,81,81,81,80,80,80,80,79,79,79,79,79,79,79,
10559     79,79,79,79,78,78,78,78,78,78,77,77,76,76,76,76,76,76,76,76,76,
10560     75,75,75,75,75,74,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,
10561     73,72,72,72,72,72,72,72,71,71,70,70,70,70,70,70,70,70,70,70,70,
10562     70,70,69,69,69,69,69,69,68,68,68,68,68,68,67,67,67,67,67,66,66,
10563     66,66,65,65,65,65,65,65,65,64,63,63,63,62,62,62,62,61,61,61,61,
10564     60,60,60,60,59,59,59,59,59,59,58,58,58,58,58,57,57,57,57,57,56,
10565     56,56,56,56,55,55,55,55,55,54,54,54,54,54,53,53,53,53,53,53,53,
10566     53,52,51,51,51,50,50,50,50,50,50,50,50,50,49,49,49,49,49,49,49,
10567     48,48,48,48,47,47,47,46,46,46,46,46,45,45,45,44,44,44,44,44,43,
10568     43,43,43,43,43,43,43,42,42,42,41,41,41,41,41,40,40,40,40,40,40,
10569     40,40,40,39,39,39,38,38,38,37,37,37,37,37,37,37,37,37,37,37,36,
10570     36,36,36,36,35,35,35,34,34,34,34,33,33,33,33,32,32,32,32,31,31,
10571     31,31,31,31,31,31,31,31,30,30,30,29,29,29,29,29,28,28,28,28,28,
10572     27,27,27,27,27,26,26,26,26,26,26,25,25,25,24,24,24,24,24,24,23,
10573     23,23,23,23,22,22,22,22,22,22,21,21,21,21,20,20,20,20,19,19,19,
10574     18,18,18,18,17,17,17,17,17,16,16,16,16,16,16,15,15,15,14,14,14,
10575     14,14,13,13,13,13,13,13,12,12,12,12,12,12,12,12,11,11,11,11,11,
10576     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,
10577     3,3,3,3,3,3,3,2,2,2
10578   };
10579   const int n4c3w2_a[] = {
10580     150, // Capacity
10581     500, // Number of items
10582     // Size of items (sorted)
10583     100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,97,97,97,97,
10584     97,97,96,96,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,
10585     95,93,93,93,93,93,93,93,93,92,92,92,92,91,91,91,91,91,91,91,91,
10586     90,90,90,90,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,88,88,
10587     88,88,88,87,87,87,87,87,87,87,87,87,87,86,86,86,86,86,86,85,85,
10588     85,85,85,85,85,84,84,84,84,84,84,83,83,83,83,83,83,82,82,82,82,
10589     81,81,81,81,81,81,81,81,81,81,81,81,80,80,79,79,79,78,78,78,78,
10590     78,77,77,77,77,76,76,76,76,76,76,76,75,75,75,75,75,75,75,74,74,
10591     74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,
10592     71,71,71,71,71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,68,68,
10593     68,68,68,68,67,67,67,67,67,67,67,67,67,67,66,66,66,66,65,65,65,
10594     64,64,64,64,64,64,64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,
10595     62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,60,59,59,59,59,
10596     59,59,58,58,58,58,58,57,57,57,57,57,56,56,56,56,56,56,56,56,56,
10597     55,54,54,54,54,54,53,53,53,53,52,52,52,52,52,52,52,52,51,51,51,
10598     51,51,51,50,50,50,50,50,50,49,49,49,49,49,49,49,49,48,47,47,47,
10599     47,47,47,47,47,47,47,46,46,46,46,46,45,45,45,45,45,45,44,44,44,
10600     44,44,43,42,42,42,42,42,42,42,42,41,41,41,41,41,41,40,40,40,40,
10601     40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,38,37,37,37,37,
10602     37,37,37,37,37,37,36,36,36,36,36,35,35,35,35,35,34,34,34,34,34,
10603     34,34,33,33,33,33,33,33,33,32,32,32,32,32,31,31,31,31,31,31,30,
10604     30,30,30,29,29,29,29,29,28,28,28,28,28,27,27,27,27,27,26,26,26,
10605     25,25,25,25,25,25,24,24,24,24,24,24,24,24,23,23,23,23,23,23,23,
10606     23,22,22,22,22,22,22,22,21,21,21,21,21,21,21,21,21,20,20
10607   };
10608   const int n4c3w2_b[] = {
10609     150, // Capacity
10610     500, // Number of items
10611     // Size of items (sorted)
10612     100,100,100,100,100,100,100,99,99,99,99,98,98,98,98,98,97,97,
10613     97,97,97,97,96,96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,94,
10614     94,94,93,93,93,93,93,92,92,92,92,92,92,92,91,91,91,91,91,91,91,
10615     91,90,90,89,89,89,89,89,89,89,89,89,89,89,88,88,88,88,88,87,87,
10616     87,86,86,86,86,86,86,86,85,85,85,85,85,85,84,84,84,84,83,83,83,
10617     83,83,83,83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,81,80,80,
10618     80,80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,78,78,78,78,78,
10619     78,78,78,77,77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,76,75,
10620     75,75,74,74,74,74,74,73,73,73,73,73,73,73,73,73,72,72,72,72,72,
10621     72,72,72,71,71,71,71,71,71,71,71,71,70,70,70,70,70,69,69,69,69,
10622     69,68,68,68,68,68,68,68,68,68,68,68,67,67,67,67,67,67,67,67,66,
10623     66,66,66,66,66,65,65,65,65,65,64,64,64,63,63,63,63,63,63,63,62,
10624     62,62,62,62,62,62,61,61,61,61,61,61,60,60,60,60,59,59,59,58,58,
10625     58,58,58,57,57,57,56,56,56,56,55,55,55,55,55,55,55,54,54,54,54,
10626     54,54,54,54,54,54,53,53,53,53,52,52,52,52,52,52,52,51,51,51,51,
10627     50,50,50,50,50,49,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,
10628     47,47,47,47,47,47,47,46,46,46,45,45,45,45,45,45,44,44,44,44,44,
10629     43,43,43,43,43,43,42,42,42,42,41,41,41,41,41,41,40,40,40,40,40,
10630     40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,37,37,37,37,37,
10631     37,36,36,36,36,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,35,
10632     34,34,34,34,33,33,33,33,33,33,32,32,32,32,32,32,32,32,32,32,31,
10633     31,31,31,31,31,30,30,30,30,30,30,30,30,29,29,29,29,29,29,28,28,
10634     28,28,28,28,28,28,26,26,26,26,26,26,26,25,25,25,24,24,24,24,23,
10635     23,23,23,22,22,22,22,22,22,21,21,21,21,21,20,20,20,20,20,20
10636   };
10637   const int n4c3w2_c[] = {
10638     150, // Capacity
10639     500, // Number of items
10640     // Size of items (sorted)
10641     100,100,100,100,99,99,99,99,99,99,99,99,99,99,98,98,98,97,97,
10642     97,97,97,97,97,96,96,96,96,96,95,95,95,94,94,94,94,94,93,93,93,
10643     93,93,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,91,91,91,91,
10644     90,90,90,90,90,89,89,89,89,89,88,88,88,88,88,88,88,88,88,87,87,
10645     87,87,87,87,87,87,87,86,86,86,86,86,86,86,85,85,85,85,84,84,84,
10646     83,83,83,83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,80,80,80,
10647     80,79,79,79,79,79,79,79,78,78,78,78,78,77,77,77,77,77,77,77,77,
10648     77,76,76,76,76,76,76,75,75,75,75,75,75,74,74,74,74,74,74,73,73,
10649     73,73,72,72,72,72,72,71,71,71,71,71,71,71,71,70,70,70,70,70,70,
10650     70,70,70,70,70,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,68,
10651     68,68,68,68,68,67,67,67,67,66,66,66,65,65,64,64,64,64,64,64,63,
10652     63,63,63,63,63,63,63,62,62,62,62,62,62,62,61,61,61,60,60,60,60,
10653     60,60,60,60,60,60,59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,
10654     58,58,57,57,57,57,57,57,56,56,56,56,56,56,56,56,56,56,55,55,55,
10655     55,54,54,54,54,54,54,54,54,54,54,53,53,53,53,53,52,52,52,52,52,
10656     52,52,51,51,51,51,51,51,50,50,50,50,50,49,49,49,49,49,48,48,48,
10657     47,47,47,47,47,47,47,46,46,46,46,46,46,46,45,45,45,45,45,45,44,
10658     44,44,44,44,44,44,43,42,42,42,42,42,41,41,41,41,40,40,40,40,40,
10659     39,39,39,39,39,39,39,39,39,38,38,38,38,37,37,37,36,36,36,36,36,
10660     36,35,35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,32,
10661     32,32,32,32,32,32,31,31,31,31,31,31,31,31,30,30,29,29,29,29,29,
10662     29,28,28,28,28,28,28,27,27,27,27,27,27,26,26,26,26,26,26,26,26,
10663     26,26,26,25,25,25,25,25,24,24,24,24,24,24,24,23,23,23,23,23,22,
10664     22,22,22,22,22,22,21,21,21,21,21,21,21,21,20,20,20,20,20
10665   };
10666   const int n4c3w2_d[] = {
10667     150, // Capacity
10668     500, // Number of items
10669     // Size of items (sorted)
10670     100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,98,97,97,97,
10671     97,97,97,97,96,96,96,95,95,95,95,95,95,95,94,94,94,94,94,94,93,
10672     93,93,93,93,93,93,93,93,92,92,92,92,91,91,91,91,91,90,90,90,90,
10673     90,90,90,89,89,89,89,89,89,89,88,88,88,88,88,88,88,87,87,87,87,
10674     87,87,87,87,86,86,86,86,86,85,85,85,85,84,84,84,84,84,83,83,83,
10675     83,83,82,82,81,81,80,80,80,80,80,80,80,80,80,79,79,79,79,79,79,
10676     79,79,78,78,78,78,78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,
10677     77,77,77,76,76,76,76,76,76,75,75,75,75,74,74,74,74,74,74,74,73,
10678     73,73,73,73,73,72,72,72,71,71,71,71,71,71,71,70,70,70,70,70,69,
10679     69,69,69,69,69,69,69,69,68,68,68,67,67,67,67,67,66,66,66,66,66,
10680     65,65,65,65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,63,63,63,
10681     63,63,63,62,62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,60,
10682     60,60,60,60,59,59,59,59,59,59,59,59,59,59,59,59,59,58,58,58,58,
10683     58,58,57,57,57,57,57,56,56,56,56,56,56,55,55,54,54,54,54,54,54,
10684     54,54,54,54,54,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,
10685     52,52,51,51,51,51,51,50,50,50,50,50,50,49,49,49,49,49,49,48,48,
10686     48,47,47,47,47,47,47,47,46,46,46,46,46,46,45,45,45,45,45,45,45,
10687     45,44,43,43,43,43,43,43,42,42,42,42,41,41,41,40,40,40,40,40,40,
10688     40,40,40,39,39,39,39,39,39,39,39,39,39,38,38,38,38,38,38,38,37,
10689     37,37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,34,34,34,34,34,
10690     34,34,34,34,34,34,34,34,33,33,33,32,32,32,32,32,32,31,31,30,30,
10691     30,30,30,30,30,29,29,29,29,29,29,29,29,29,28,28,28,28,28,27,27,
10692     27,27,27,27,27,27,26,26,26,26,25,25,25,24,24,24,23,22,22,22,22,
10693     22,22,22,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20
10694   };
10695   const int n4c3w2_e[] = {
10696     150, // Capacity
10697     500, // Number of items
10698     // Size of items (sorted)
10699     100,100,100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,98,
10700     98,97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,96,96,95,95,95,
10701     95,94,94,94,94,94,94,93,93,93,93,93,92,92,92,92,91,91,91,91,91,
10702     91,90,90,90,90,90,90,90,90,90,90,90,89,89,89,89,89,89,88,88,88,
10703     88,87,87,87,87,87,86,86,85,85,85,85,85,85,85,84,84,84,84,84,84,
10704     83,83,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,82,82,82,82,
10705     82,81,81,81,81,80,80,80,80,80,79,79,79,79,79,79,79,79,78,78,78,
10706     78,78,77,77,77,77,77,77,76,76,76,76,76,75,75,75,75,74,74,74,74,
10707     74,74,74,74,74,74,73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,
10708     71,71,71,70,70,70,69,69,69,69,69,69,69,69,69,69,69,69,68,68,68,
10709     68,68,68,68,68,68,67,67,66,66,66,66,66,65,65,64,64,64,64,64,63,
10710     63,63,63,62,62,62,62,61,61,61,61,61,60,60,60,60,60,59,59,59,59,
10711     59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,56,56,56,56,56,56,
10712     56,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,53,53,52,52,
10713     52,52,51,51,50,50,50,49,49,49,49,49,49,49,49,48,48,48,48,48,48,
10714     48,48,47,47,47,47,47,46,46,46,46,46,46,46,46,45,45,45,45,45,45,
10715     45,45,45,44,44,44,44,44,44,43,43,43,43,43,43,43,43,43,43,43,42,
10716     42,42,42,42,42,41,41,41,41,41,40,40,40,40,40,40,39,39,39,39,39,
10717     38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,36,36,35,35,35,
10718     35,35,35,35,34,34,34,34,33,33,33,33,32,32,32,32,32,32,32,32,32,
10719     32,32,32,32,32,32,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,
10720     30,30,30,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,28,28,28,
10721     27,27,27,27,27,26,26,26,26,26,25,25,24,24,24,24,24,23,23,23,23,
10722     23,23,23,23,22,22,22,22,22,22,22,22,22,21,21,20,20,20,20,20
10723   };
10724   const int n4c3w2_f[] = {
10725     150, // Capacity
10726     500, // Number of items
10727     // Size of items (sorted)
10728     100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,
10729     99,98,98,98,98,98,97,97,97,97,97,97,97,97,97,96,96,96,96,95,95,
10730     95,95,95,95,95,95,95,95,95,95,94,94,94,94,94,94,94,94,94,94,93,
10731     93,93,93,93,92,92,92,91,91,91,91,91,91,91,90,90,90,90,90,90,90,
10732     90,90,89,89,89,89,89,89,89,88,88,88,88,88,87,87,87,87,87,87,87,
10733     86,86,86,86,85,85,85,85,85,85,85,84,84,84,84,84,84,84,84,84,83,
10734     83,83,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,
10735     81,81,80,80,80,80,80,79,79,79,79,79,79,79,79,79,78,78,78,78,78,
10736     78,78,77,77,77,76,76,76,76,76,76,75,75,75,75,75,75,74,74,74,74,
10737     74,73,73,73,73,73,73,73,73,73,73,72,72,72,72,72,72,72,72,72,72,
10738     71,71,71,71,71,70,70,70,69,69,69,69,68,68,68,68,68,68,68,68,67,
10739     67,67,67,67,67,67,67,66,66,66,66,66,65,65,65,65,64,64,64,64,64,
10740     63,63,63,63,63,63,63,62,62,62,62,62,61,61,61,61,61,61,61,60,60,
10741     60,60,60,59,59,59,59,59,59,59,59,58,58,58,58,58,58,57,57,57,57,
10742     57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,54,54,
10743     54,54,53,53,52,52,52,52,52,52,52,51,51,51,51,51,50,50,49,49,49,
10744     49,49,49,48,48,48,48,48,48,48,48,48,48,47,47,47,47,47,47,47,46,
10745     46,46,46,46,46,46,45,45,45,45,45,45,45,45,44,44,44,44,44,44,43,
10746     43,43,43,43,43,43,42,42,42,42,42,42,42,41,41,41,41,41,41,41,40,
10747     40,40,39,39,39,38,38,38,38,38,38,38,37,37,37,37,37,37,37,36,35,
10748     35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,
10749     31,31,31,31,31,30,30,30,30,30,30,30,29,29,29,29,29,29,28,28,28,
10750     28,28,28,28,27,27,27,27,27,27,27,26,26,26,26,26,26,25,25,24,24,
10751     24,24,24,24,23,22,22,22,22,22,22,22,22,21,21,21,21,20,20,20,20
10752   };
10753   const int n4c3w2_g[] = {
10754     150, // Capacity
10755     500, // Number of items
10756     // Size of items (sorted)
10757     100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,98,98,
10758     97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,95,95,94,94,94,
10759     94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,92,92,91,91,91,91,
10760     91,91,91,91,90,90,89,89,88,88,88,88,88,88,87,87,87,87,86,86,86,
10761     86,86,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,84,84,84,84,
10762     84,83,83,83,83,82,82,82,82,81,81,81,81,81,80,80,80,80,80,79,79,
10763     79,79,79,79,79,79,78,78,78,78,78,77,77,77,77,77,77,77,76,76,76,
10764     76,76,76,76,75,75,75,75,75,75,75,75,75,74,74,74,74,74,74,74,74,
10765     74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,71,70,
10766     70,70,70,70,70,70,70,69,69,69,69,69,68,68,68,68,68,68,67,67,67,
10767     67,67,67,67,66,66,66,66,66,66,65,65,65,65,65,65,64,64,64,63,63,
10768     63,63,62,62,62,62,61,61,61,61,61,61,61,61,61,60,60,60,59,59,59,
10769     59,59,58,58,58,58,58,57,57,57,57,57,57,57,57,57,56,56,56,56,56,
10770     56,56,56,56,56,56,56,55,55,55,54,54,54,54,54,54,54,53,53,53,53,
10771     53,53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,51,51,51,51,50,
10772     50,50,50,50,49,49,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,
10773     48,47,47,47,47,47,47,46,46,46,46,45,45,45,45,45,45,45,45,44,44,
10774     44,44,44,43,43,43,43,42,42,42,42,41,41,41,40,40,40,40,39,39,39,
10775     39,39,39,38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,36,36,36,
10776     36,36,36,36,36,35,35,35,35,35,35,34,34,34,34,34,33,33,33,33,33,
10777     33,33,33,33,33,33,32,32,32,32,32,32,32,32,31,31,31,31,31,31,31,
10778     31,30,30,30,30,30,30,29,29,29,29,29,28,28,28,28,27,27,27,27,27,
10779     27,27,27,27,27,27,26,26,26,26,26,25,24,24,24,24,24,24,24,23,23,
10780     23,23,23,22,22,22,22,22,22,22,21,21,21,21,21,21,21,20,20
10781   };
10782   const int n4c3w2_h[] = {
10783     150, // Capacity
10784     500, // Number of items
10785     // Size of items (sorted)
10786     100,100,100,100,100,100,100,100,99,99,99,99,98,98,98,98,98,98,
10787     97,97,97,96,96,96,96,96,96,95,95,95,94,94,94,94,94,94,94,93,93,
10788     93,93,93,93,92,92,92,92,91,91,91,91,91,91,91,91,91,90,90,90,90,
10789     89,89,89,89,89,89,89,88,88,88,88,88,88,88,88,87,87,87,87,87,86,
10790     86,86,86,86,86,85,85,85,85,85,85,84,84,84,84,84,84,84,83,83,83,
10791     83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,81,81,81,80,
10792     80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,78,78,78,78,78,
10793     77,77,77,77,77,77,76,76,76,75,75,75,75,75,74,74,74,74,74,74,74,
10794     74,73,73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,71,71,71,71,
10795     71,71,70,70,70,70,70,70,70,69,69,69,68,68,68,68,68,68,68,67,67,
10796     67,67,67,67,67,66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,
10797     64,64,64,64,64,64,64,64,64,63,63,63,63,62,62,62,62,61,61,61,61,
10798     60,60,60,60,60,60,60,60,60,60,59,59,59,59,59,58,58,58,58,58,58,
10799     58,58,58,58,57,57,57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,
10800     54,54,54,53,53,52,52,52,52,52,52,52,52,51,51,51,51,51,50,50,50,
10801     50,50,49,49,49,49,49,49,49,48,48,48,48,48,48,48,48,47,47,47,47,
10802     47,47,46,46,46,46,46,46,45,45,45,45,45,45,45,45,45,45,45,44,44,
10803     44,44,43,43,43,43,43,43,42,41,41,41,41,41,41,41,41,40,40,40,40,
10804     40,40,40,40,40,40,40,39,39,39,38,38,38,37,37,37,37,37,37,37,36,
10805     36,36,36,35,35,35,35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,
10806     33,33,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,30,29,29,29,
10807     29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,28,28,28,27,27,27,
10808     27,27,26,26,26,26,26,26,25,25,25,25,25,25,25,25,25,24,24,24,23,
10809     23,23,23,23,23,23,22,22,22,22,22,22,21,21,21,21,21,20,20,20
10810   };
10811   const int n4c3w2_i[] = {
10812     150, // Capacity
10813     500, // Number of items
10814     // Size of items (sorted)
10815     100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,
10816     98,98,98,98,97,97,97,97,97,96,96,96,96,95,95,95,95,95,94,94,94,
10817     94,94,93,93,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,91,90,
10818     90,90,90,90,89,89,89,89,89,89,88,88,88,87,87,87,87,87,87,87,86,
10819     86,86,86,85,85,85,85,84,84,84,84,83,83,83,83,83,83,83,83,83,82,
10820     82,82,82,81,81,81,81,81,81,81,80,80,80,80,80,80,80,80,80,79,79,
10821     79,79,79,79,79,79,79,78,78,78,77,77,77,77,77,76,76,76,76,76,75,
10822     75,75,75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,
10823     72,72,71,71,71,71,71,71,71,70,70,70,70,69,69,69,69,69,69,68,68,
10824     68,68,68,68,68,68,68,67,67,67,67,67,67,66,66,66,66,66,66,65,65,
10825     65,65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,63,63,63,63,62,
10826     62,62,62,62,62,61,61,61,61,61,61,60,60,60,60,60,60,60,60,60,60,
10827     59,59,59,59,59,58,58,58,58,58,58,57,57,57,57,57,56,56,56,56,56,
10828     56,56,56,56,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,
10829     52,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,50,50,49,49,
10830     49,49,49,48,48,48,48,48,48,48,47,47,47,47,46,46,46,46,46,46,46,
10831     45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,44,44,44,44,43,
10832     43,43,43,43,42,42,42,42,42,42,42,42,42,42,42,41,41,41,40,40,40,
10833     39,38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,36,36,36,36,
10834     36,36,35,35,35,34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,
10835     32,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30,30,29,
10836     29,29,29,29,29,29,28,28,28,28,28,28,27,27,27,27,27,27,27,27,26,
10837     26,26,26,26,26,26,26,25,25,25,25,25,25,25,24,24,24,24,24,24,24,
10838     24,24,24,23,23,23,23,22,22,21,21,21,21,21,21,21,21,20,20,20
10839   };
10840   const int n4c3w2_j[] = {
10841     150, // Capacity
10842     500, // Number of items
10843     // Size of items (sorted)
10844     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,
10845     98,98,98,98,98,98,98,98,98,97,97,97,97,97,96,96,96,96,96,95,95,
10846     95,95,95,94,94,94,94,93,93,93,93,93,92,92,92,92,91,91,91,91,91,
10847     91,91,90,90,90,90,90,90,90,90,90,90,89,89,89,89,88,88,88,88,88,
10848     88,88,88,88,87,87,87,87,86,86,86,86,86,86,86,86,85,85,84,84,84,
10849     84,84,84,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,82,82,81,
10850     81,81,81,80,80,80,80,80,80,79,79,78,78,78,78,78,78,78,78,78,78,
10851     78,77,77,77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,75,75,75,
10852     75,75,74,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,72,72,72,
10853     72,71,71,71,71,70,70,70,70,70,70,70,69,69,69,69,69,68,68,68,67,
10854     67,67,67,67,67,67,67,66,66,66,66,66,66,66,65,65,65,65,65,64,64,
10855     63,63,63,63,62,62,62,62,62,62,62,62,62,61,61,61,61,60,60,60,60,
10856     60,60,60,60,60,60,60,59,59,59,59,59,58,58,58,58,58,58,58,58,58,
10857     57,57,57,56,56,56,56,56,56,56,56,55,55,55,55,54,54,54,54,54,53,
10858     53,53,52,52,52,52,52,52,52,52,52,52,52,52,51,51,51,51,51,50,50,
10859     50,50,50,50,50,50,49,49,49,49,49,49,49,49,49,49,49,48,48,48,48,
10860     48,48,48,48,48,48,48,48,47,47,47,47,47,46,46,46,46,46,46,46,45,
10861     45,45,45,45,44,44,44,44,44,44,44,44,44,43,43,43,43,43,43,43,42,
10862     42,42,42,42,42,42,41,41,40,40,40,40,40,40,40,39,39,39,39,39,39,
10863     38,38,38,38,38,38,37,37,37,37,37,36,36,36,36,36,35,35,35,35,35,
10864     35,34,34,33,33,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,31,
10865     31,31,31,30,30,30,30,30,30,29,29,29,29,29,29,29,28,28,28,27,27,
10866     27,27,27,27,27,26,26,26,26,26,26,26,25,25,25,25,24,24,24,24,23,
10867     23,23,23,23,23,23,23,22,22,22,22,22,22,22,21,21,21,21,21,20
10868   };
10869   const int n4c3w2_k[] = {
10870     150, // Capacity
10871     500, // Number of items
10872     // Size of items (sorted)
10873     100,100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,
10874     98,98,98,98,97,97,97,97,97,96,96,96,96,96,96,96,96,96,95,95,95,
10875     95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,
10876     92,92,92,92,92,92,92,92,92,91,91,91,91,91,91,91,91,91,90,90,90,
10877     90,90,89,89,89,89,89,88,88,88,88,88,88,88,88,88,87,87,87,87,87,
10878     87,86,86,85,85,85,85,84,84,84,84,84,84,84,83,83,83,83,83,82,82,
10879     82,82,82,82,82,81,81,81,81,80,80,80,79,79,79,79,79,78,78,78,78,
10880     78,78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,76,
10881     75,75,75,75,75,75,75,75,74,74,74,73,73,73,73,73,73,73,72,72,72,
10882     72,72,72,72,72,72,71,71,71,71,71,70,70,70,70,70,69,69,69,69,69,
10883     68,68,68,68,68,68,67,67,67,67,67,66,66,66,66,66,65,65,65,65,65,
10884     65,65,65,65,65,65,64,64,64,64,64,64,64,63,63,63,63,63,63,63,63,
10885     63,63,63,62,62,62,61,61,61,61,61,61,61,61,60,60,60,59,59,58,58,
10886     58,58,58,57,57,57,57,57,57,57,57,56,56,56,56,56,56,55,55,55,55,
10887     54,54,54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,52,52,51,51,
10888     51,51,51,50,50,50,50,50,49,49,49,49,48,48,48,48,48,47,47,46,46,
10889     46,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,43,43,43,43,
10890     43,43,43,42,42,42,42,41,41,41,41,41,41,41,41,41,41,40,40,40,40,
10891     40,40,40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,38,38,37,37,
10892     37,37,37,37,37,36,35,35,35,35,35,35,35,35,35,34,34,34,34,34,34,
10893     33,33,33,33,33,32,32,32,32,32,32,32,32,31,31,31,30,30,30,30,29,
10894     29,29,29,29,29,29,28,28,28,28,28,27,27,27,27,27,27,26,26,26,26,
10895     25,25,25,25,25,25,25,25,24,24,24,24,24,24,24,24,24,24,24,24,24,
10896     23,23,23,22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,20,20
10897   };
10898   const int n4c3w2_l[] = {
10899     150, // Capacity
10900     500, // Number of items
10901     // Size of items (sorted)
10902     100,100,100,100,100,100,100,99,99,99,99,99,99,98,98,98,98,98,
10903     98,98,98,97,97,97,97,97,97,97,97,96,96,96,95,95,94,94,94,94,94,
10904     94,94,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,91,91,91,
10905     91,91,91,91,91,90,90,90,90,90,90,90,89,89,89,89,89,89,88,88,88,
10906     88,88,88,88,88,87,87,87,87,86,86,86,86,86,86,86,86,86,85,85,85,
10907     85,85,85,85,84,84,84,84,84,84,84,84,83,83,83,83,83,83,83,83,83,
10908     82,82,81,81,81,81,81,81,81,80,80,80,80,80,79,79,79,79,79,79,79,
10909     79,79,79,78,78,78,78,78,78,78,77,77,76,76,76,76,75,75,75,75,75,
10910     75,75,74,74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,72,71,
10911     71,71,71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,
10912     68,68,68,68,68,68,67,67,67,66,66,66,66,66,66,65,65,65,65,65,64,
10913     64,64,64,64,64,63,63,63,63,63,63,62,62,62,62,62,62,62,61,61,61,
10914     61,61,60,60,60,60,60,60,59,59,59,59,59,59,59,59,58,58,58,58,58,
10915     57,57,57,57,57,56,56,56,56,56,56,56,56,56,56,55,55,55,55,55,55,
10916     55,54,54,53,53,53,53,52,52,52,51,51,51,50,50,50,50,50,49,49,49,
10917     49,48,48,48,48,48,48,48,48,47,47,47,47,47,47,46,46,46,45,45,45,
10918     45,45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,42,42,42,42,42,
10919     42,42,42,41,41,41,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,
10920     38,38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,36,36,36,
10921     36,35,35,35,35,35,35,35,35,34,34,34,34,33,33,33,33,33,33,33,33,
10922     33,33,33,33,32,32,32,32,32,32,32,32,31,31,30,30,30,29,29,29,28,
10923     28,28,28,28,28,28,27,27,27,26,26,26,26,26,25,25,25,25,25,25,25,
10924     25,25,25,25,25,24,24,24,24,24,24,24,24,24,24,23,23,23,23,23,23,
10925     23,23,23,23,22,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20
10926   };
10927   const int n4c3w2_m[] = {
10928     150, // Capacity
10929     500, // Number of items
10930     // Size of items (sorted)
10931     100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,98,
10932     98,98,98,98,97,97,97,97,97,97,97,97,96,96,96,96,95,95,95,94,94,
10933     94,94,93,93,93,93,93,93,93,93,92,92,92,91,91,91,91,91,91,91,91,
10934     91,91,91,90,90,90,90,90,89,89,89,88,88,88,88,88,88,87,87,87,87,
10935     87,87,87,86,86,86,85,85,85,85,85,85,84,84,84,84,84,84,84,83,83,
10936     83,83,83,83,82,82,82,82,82,82,81,81,81,81,81,80,80,80,80,80,80,
10937     79,79,79,79,79,79,79,78,78,78,78,78,78,77,77,77,77,77,77,77,77,
10938     77,76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,74,73,
10939     73,73,73,73,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,70,70,
10940     70,70,70,69,69,69,69,69,68,68,68,68,67,67,67,67,67,66,66,66,66,
10941     66,66,65,65,65,65,65,64,64,64,64,64,63,63,63,63,63,62,62,62,62,
10942     62,62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,60,60,59,59,
10943     59,59,59,59,59,58,58,58,58,57,57,57,57,57,57,56,56,56,56,56,56,
10944     56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,53,53,
10945     53,53,53,53,53,53,53,52,52,52,52,51,51,50,50,50,50,50,50,50,50,
10946     50,50,49,49,49,49,48,48,48,48,48,48,48,48,48,47,46,46,46,46,46,
10947     45,45,45,45,45,44,44,44,44,44,43,43,43,43,42,42,42,42,42,41,41,
10948     41,41,41,41,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,39,39,
10949     39,38,38,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,35,35,35,
10950     35,34,34,34,33,33,33,33,33,33,33,33,33,33,32,32,32,32,32,32,31,
10951     31,31,31,31,31,30,30,30,30,30,29,29,29,29,29,29,29,28,28,28,28,
10952     28,27,27,27,27,26,26,26,26,26,26,25,25,25,25,25,25,25,25,25,24,
10953     24,24,24,24,24,24,24,23,23,23,23,23,23,23,23,22,22,22,22,22,21,
10954     21,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,20,20
10955   };
10956   const int n4c3w2_n[] = {
10957     150, // Capacity
10958     500, // Number of items
10959     // Size of items (sorted)
10960     100,100,100,100,100,99,99,99,99,98,98,98,98,98,98,97,97,97,97,
10961     97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,94,94,94,94,94,94,
10962     94,94,94,94,93,93,93,92,92,92,92,91,91,91,91,91,91,91,91,91,91,
10963     90,90,90,90,90,90,89,89,89,88,88,88,88,87,87,87,87,87,87,87,86,
10964     86,86,86,86,85,85,85,84,84,84,84,84,83,83,83,83,83,83,83,83,83,
10965     83,82,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,79,79,
10966     79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,77,77,77,76,76,76,
10967     76,76,76,76,76,75,75,75,75,75,74,74,74,74,73,73,73,73,73,73,73,
10968     73,73,72,72,72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,
10969     70,70,70,70,70,69,69,69,68,68,68,68,68,67,67,67,67,66,66,66,65,
10970     65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,63,63,63,63,62,62,
10971     62,62,62,62,62,61,61,61,61,60,60,60,60,60,59,59,59,59,59,59,59,
10972     59,59,59,59,59,59,58,58,58,58,58,57,57,57,57,57,57,56,56,56,56,
10973     56,56,56,56,55,55,55,55,55,54,54,54,54,54,54,54,54,54,54,54,53,
10974     53,53,53,53,53,53,52,52,51,51,51,51,51,51,51,51,50,50,50,50,50,
10975     49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,47,47,46,46,
10976     46,46,46,45,45,45,45,45,44,44,44,44,44,44,43,43,43,43,43,43,42,
10977     42,42,42,42,42,42,41,41,41,40,40,40,40,39,39,39,39,39,39,39,39,
10978     38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,36,36,36,35,35,35,
10979     35,35,34,34,34,34,33,33,33,33,33,33,33,33,33,33,33,33,33,32,32,
10980     32,32,32,32,32,32,32,31,31,31,31,31,31,31,31,31,31,31,30,30,30,
10981     30,30,29,29,29,29,29,28,28,27,27,27,27,26,26,26,26,26,25,25,25,
10982     25,25,25,24,24,24,24,24,24,24,23,23,23,23,23,23,22,22,22,22,22,
10983     22,21,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20
10984   };
10985   const int n4c3w2_o[] = {
10986     150, // Capacity
10987     500, // Number of items
10988     // Size of items (sorted)
10989     100,100,100,100,100,100,100,100,100,100,100,100,100,99,99,99,
10990     99,99,98,98,98,97,97,97,97,96,96,96,96,96,96,96,96,96,95,95,95,
10991     95,95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,93,93,93,93,
10992     92,92,92,92,92,92,91,91,91,91,91,90,90,90,90,90,90,89,89,89,89,
10993     89,89,89,88,87,87,87,87,87,86,86,86,86,86,86,86,86,85,85,85,85,
10994     85,85,85,85,85,85,84,84,84,84,84,84,83,83,83,82,82,82,82,82,82,
10995     81,81,81,81,81,81,81,81,81,81,80,80,80,79,79,79,79,79,78,78,78,
10996     78,78,78,78,77,77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,
10997     75,75,75,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,72,72,72,
10998     72,72,71,71,71,71,71,70,70,70,70,70,70,70,70,70,70,70,70,70,70,
10999     69,69,69,69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,68,68,
11000     68,68,68,67,67,67,67,67,67,67,66,66,66,66,65,65,65,65,65,65,64,
11001     64,64,63,63,63,63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,61,
11002     61,61,61,60,60,60,60,59,59,59,59,59,58,58,58,58,58,57,57,57,57,
11003     57,57,57,57,57,56,56,56,56,56,56,55,55,55,55,54,54,54,54,54,54,
11004     54,54,53,53,53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,51,51,
11005     51,51,51,51,51,51,51,51,51,51,50,50,50,50,50,49,49,49,49,49,49,
11006     49,49,48,48,48,48,48,48,48,47,47,47,47,47,47,47,47,47,45,45,45,
11007     44,44,44,44,44,44,44,43,43,43,43,43,42,42,42,42,42,42,41,41,41,
11008     41,41,41,41,40,40,40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,
11009     38,37,37,37,37,37,37,37,36,36,36,35,35,35,35,35,34,34,34,34,34,
11010     33,33,32,32,32,32,32,32,32,31,31,31,31,31,30,30,30,30,30,30,29,
11011     29,29,28,28,28,28,28,27,27,27,26,26,26,26,26,25,24,24,24,23,23,
11012     22,22,22,22,22,22,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20,
11013     20
11014   };
11015   const int n4c3w2_p[] = {
11016     150, // Capacity
11017     500, // Number of items
11018     // Size of items (sorted)
11019     100,100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,
11020     99,99,98,98,98,98,98,98,97,97,97,97,97,97,96,96,96,96,96,95,95,
11021     95,95,95,95,94,94,94,94,94,93,93,93,93,93,93,92,92,92,92,92,91,
11022     91,91,91,91,91,90,90,90,90,90,90,90,90,90,89,89,89,89,89,88,88,
11023     88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,86,85,85,85,85,85,
11024     85,85,85,85,85,84,84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,
11025     83,83,83,82,82,82,81,81,81,80,80,80,80,80,80,80,79,79,79,79,78,
11026     78,78,78,78,78,78,78,77,77,77,77,77,77,77,76,76,76,75,75,74,74,
11027     74,74,74,74,74,74,74,73,73,73,73,73,73,72,72,72,72,71,71,71,71,
11028     71,71,70,70,70,70,70,70,70,69,69,68,68,68,68,68,68,67,67,67,67,
11029     67,67,67,66,66,66,66,65,65,65,65,65,64,64,64,64,64,64,64,63,63,
11030     63,63,63,63,63,63,62,62,62,62,62,62,62,62,61,61,61,60,60,60,60,
11031     60,60,60,60,60,59,59,59,59,59,59,59,59,59,58,58,58,58,58,57,57,
11032     57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,54,54,54,54,54,53,
11033     53,53,53,53,53,53,52,52,52,52,52,51,51,51,51,51,50,50,50,50,50,
11034     49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,47,47,47,47,47,
11035     46,46,46,46,46,46,45,45,45,45,45,44,44,44,44,44,44,43,43,43,43,
11036     43,43,43,42,42,42,42,42,42,42,42,42,42,42,42,41,41,41,41,41,41,
11037     41,41,40,40,39,39,39,39,39,39,39,39,39,39,38,38,38,37,37,37,37,
11038     37,37,37,37,37,37,37,37,36,36,36,36,35,34,34,34,34,34,34,34,34,
11039     34,33,33,33,33,33,33,33,32,32,32,32,32,31,31,31,30,30,30,29,29,
11040     29,29,29,29,29,29,29,28,28,28,28,28,28,27,27,27,27,27,27,27,27,
11041     26,26,25,25,25,25,25,25,25,25,24,24,24,24,24,24,24,24,23,23,23,
11042     23,22,22,22,22,22,22,22,22,22,22,21,21,21,21,21,21,20,20,20,20
11043   };
11044   const int n4c3w2_q[] = {
11045     150, // Capacity
11046     500, // Number of items
11047     // Size of items (sorted)
11048     100,100,100,100,100,100,100,100,99,99,99,98,98,98,98,98,98,98,
11049     98,98,98,97,97,97,97,97,97,97,97,96,96,96,96,96,95,95,95,95,94,
11050     94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,93,93,92,92,
11051     92,92,92,92,92,92,92,91,91,91,90,90,90,90,90,90,89,89,89,89,89,
11052     89,88,88,88,88,88,88,88,88,88,88,87,87,87,87,87,86,86,86,86,86,
11053     86,86,86,86,85,85,85,85,85,85,85,84,84,84,84,84,84,84,84,84,84,
11054     83,83,83,82,82,82,82,81,81,81,81,81,81,81,80,80,80,80,79,79,79,
11055     79,79,79,79,78,78,78,78,77,77,77,77,76,76,76,76,76,75,75,75,75,
11056     74,74,73,73,73,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,71,
11057     71,71,70,70,70,70,70,70,70,69,69,69,69,69,68,68,68,68,68,67,67,
11058     67,67,66,66,65,65,65,65,65,64,64,64,64,64,64,64,64,64,64,64,63,
11059     63,63,63,63,63,63,62,62,62,62,62,62,62,62,61,61,61,61,60,60,60,
11060     60,60,60,59,59,59,58,58,58,57,57,57,57,56,56,56,56,56,56,55,55,
11061     55,55,54,54,54,54,54,54,54,54,54,54,54,53,53,53,53,53,53,52,52,
11062     52,52,52,52,51,51,51,51,51,51,51,51,50,50,49,49,49,49,49,49,49,
11063     48,48,48,48,48,48,48,48,48,48,47,47,46,46,46,46,46,46,46,45,45,
11064     45,45,45,45,45,45,44,44,44,44,44,44,43,43,43,43,42,42,42,42,42,
11065     41,41,41,41,40,40,40,40,39,39,39,38,38,38,38,38,37,37,37,36,36,
11066     36,36,36,35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,
11067     33,33,32,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,
11068     30,30,30,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,28,27,27,
11069     27,27,27,26,26,26,26,26,26,26,26,25,25,25,25,25,25,25,25,25,25,
11070     25,24,24,24,24,24,24,24,24,24,24,23,23,23,23,22,22,22,22,22,22,
11071     22,22,22,22,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,20
11072   };
11073   const int n4c3w2_r[] = {
11074     150, // Capacity
11075     500, // Number of items
11076     // Size of items (sorted)
11077     100,100,100,100,100,100,99,99,99,98,98,98,98,98,97,97,97,97,96,
11078     96,96,95,95,95,95,95,95,95,95,94,94,94,94,94,93,93,92,92,92,92,
11079     92,92,91,91,91,91,91,91,90,90,90,90,90,90,90,89,89,89,89,89,89,
11080     89,89,88,88,88,87,87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,
11081     85,85,85,85,85,85,84,84,84,84,84,84,84,83,83,83,83,83,83,83,83,
11082     83,83,83,82,82,82,82,82,82,82,82,82,82,82,82,81,81,81,81,80,80,
11083     80,80,80,80,79,79,78,78,78,77,77,77,77,77,77,76,76,76,76,76,75,
11084     75,75,74,74,73,73,73,73,73,73,73,72,72,72,72,72,72,72,72,72,72,
11085     72,71,71,71,71,71,70,70,70,70,70,69,69,68,68,68,68,67,67,67,67,
11086     67,67,67,67,66,66,66,66,66,66,66,66,66,66,66,65,65,65,65,65,64,
11087     64,64,64,64,64,64,64,64,64,63,63,63,63,62,62,61,61,61,61,61,61,
11088     61,61,61,61,61,60,60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,
11089     59,59,58,58,58,58,57,57,57,57,57,57,57,56,56,56,55,55,55,55,55,
11090     55,55,54,54,54,54,54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,
11091     52,52,52,51,51,51,51,51,51,51,50,50,50,49,49,49,49,49,48,48,48,
11092     48,48,48,47,47,47,47,47,47,46,46,46,46,46,46,46,45,45,45,45,44,
11093     44,44,44,44,43,43,43,43,43,43,42,42,42,42,42,42,42,41,41,41,41,
11094     41,40,40,40,40,40,40,39,39,39,39,39,39,38,38,38,38,37,37,37,37,
11095     37,36,36,35,35,35,35,35,34,34,34,34,34,34,34,34,33,33,33,33,33,
11096     33,33,33,33,32,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,
11097     30,30,30,30,30,30,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,
11098     28,28,27,27,27,27,27,27,27,27,27,26,26,26,25,25,25,25,25,24,24,
11099     24,24,24,24,24,24,23,23,23,23,23,23,23,23,23,23,23,22,22,22,22,
11100     22,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,20,20
11101   };
11102   const int n4c3w2_s[] = {
11103     150, // Capacity
11104     500, // Number of items
11105     // Size of items (sorted)
11106     100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,97,
11107     97,97,97,97,97,97,97,97,96,96,96,96,96,96,95,95,95,95,95,95,94,
11108     94,94,94,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,91,91,
11109     91,91,90,90,90,89,89,89,89,89,89,89,89,89,88,88,88,88,88,87,87,
11110     87,87,87,87,87,86,86,86,86,86,86,86,85,85,85,85,85,85,85,84,83,
11111     83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,
11112     80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,78,78,78,78,78,78,
11113     78,78,77,77,76,76,76,76,75,75,75,75,74,74,74,74,73,73,73,73,73,
11114     73,72,72,72,72,72,71,71,71,70,70,70,69,69,69,69,68,68,68,68,68,
11115     67,67,67,67,67,67,67,66,66,66,66,66,66,66,66,66,66,65,65,65,65,
11116     65,65,65,64,64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,63,62,
11117     62,62,62,62,62,61,61,61,60,60,60,60,60,60,60,59,59,59,59,59,59,
11118     58,58,58,57,57,57,57,57,57,56,56,56,56,55,55,55,55,55,55,54,54,
11119     54,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,51,51,51,
11120     51,51,51,51,50,50,50,50,50,50,50,50,49,49,49,49,49,49,49,48,48,
11121     48,48,48,48,48,47,47,47,46,46,46,45,45,45,45,45,45,44,44,44,43,
11122     43,43,43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,41,41,41,40,
11123     40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,38,37,37,37,
11124     37,37,37,37,36,36,36,36,36,36,36,36,36,36,36,35,35,35,35,35,35,
11125     35,35,34,34,34,34,34,34,33,33,33,32,32,32,32,32,32,31,31,31,31,
11126     31,31,31,31,31,31,30,30,30,30,30,29,29,29,29,29,28,28,28,28,28,
11127     28,27,27,27,27,27,27,27,26,26,26,26,26,26,26,25,25,25,25,24,24,
11128     24,24,24,24,24,24,24,24,24,23,23,23,23,23,23,23,23,23,23,22,22,
11129     22,22,22,22,22,21,21,21,21,21,21,20,20,20,20,20,20,20,20
11130   };
11131   const int n4c3w2_t[] = {
11132     150, // Capacity
11133     500, // Number of items
11134     // Size of items (sorted)
11135     100,100,100,100,100,99,99,99,99,99,99,98,98,98,97,97,97,97,97,
11136     97,97,97,96,96,96,96,96,95,95,95,95,95,95,95,94,94,94,93,93,93,
11137     93,93,93,93,92,92,92,92,91,91,91,91,91,90,89,89,89,89,89,89,88,
11138     88,88,88,87,87,87,87,87,86,86,86,86,85,85,85,85,85,85,85,85,84,
11139     84,84,84,84,84,84,84,83,83,83,83,83,83,82,82,82,82,82,81,81,81,
11140     81,81,81,80,80,80,80,80,79,79,79,79,78,78,78,78,78,78,78,77,77,
11141     77,77,77,77,77,77,77,77,77,77,77,77,76,76,76,76,76,75,75,75,75,
11142     75,75,75,75,75,75,74,74,73,73,73,73,73,73,72,72,72,72,71,71,71,
11143     71,71,71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,68,68,68,68,
11144     67,67,67,67,67,67,67,67,66,66,66,65,65,65,65,64,64,64,64,64,64,
11145     64,63,63,63,63,62,62,62,61,61,61,61,61,61,61,61,60,60,59,59,59,
11146     59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,57,57,57,57,57,57,
11147     57,56,56,56,56,56,56,56,56,56,56,56,55,55,55,55,55,54,54,54,54,
11148     54,54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,51,
11149     51,51,50,50,50,50,50,50,50,50,49,49,49,49,49,49,49,49,49,49,49,
11150     48,48,48,48,48,48,48,48,48,48,48,47,47,47,47,47,47,47,47,46,46,
11151     46,46,46,46,46,45,45,45,45,44,44,44,44,44,43,43,43,43,43,43,43,
11152     43,42,42,42,42,42,42,41,41,41,41,41,40,40,40,40,40,40,40,40,39,
11153     39,39,39,39,39,39,38,38,38,38,37,37,37,37,37,37,37,37,37,37,36,
11154     36,36,36,36,36,36,35,35,35,35,34,34,34,34,33,33,33,33,33,33,32,
11155     32,32,31,31,31,31,31,31,31,31,30,29,29,29,29,28,28,28,28,28,28,
11156     28,28,28,28,27,27,27,27,27,27,27,27,27,26,26,26,26,26,26,26,26,
11157     25,25,25,25,25,24,24,24,24,24,24,24,24,24,23,23,23,22,22,22,22,
11158     22,22,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,20
11159   };
11160   const int n4c3w4_a[] = {
11161     150, // Capacity
11162     500, // Number of items
11163     // Size of items (sorted)
11164     100,100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,
11165     98,98,98,98,97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,
11166     95,95,95,94,94,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,
11167     92,92,92,91,91,91,91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,
11168     89,88,88,88,88,88,88,87,87,87,87,87,87,87,87,87,86,86,86,86,86,
11169     86,85,85,85,85,85,85,85,85,85,85,85,84,84,84,84,84,84,84,84,83,
11170     83,83,83,83,83,83,82,82,82,81,81,81,81,81,81,80,80,80,80,80,80,
11171     80,80,79,79,79,79,78,78,78,78,78,78,78,77,77,77,77,77,77,77,76,
11172     76,76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,75,74,74,73,73,
11173     73,73,73,73,73,73,73,72,72,72,72,72,72,72,72,72,72,72,72,72,71,
11174     71,71,71,71,70,70,70,70,70,70,70,70,70,70,70,69,69,69,69,69,69,
11175     68,68,68,67,67,67,67,67,66,66,66,66,66,65,65,65,65,65,65,65,65,
11176     65,64,64,64,64,64,64,64,63,63,63,63,63,63,63,62,62,62,62,62,62,
11177     62,61,61,61,61,61,60,60,60,60,60,59,59,59,59,58,58,58,58,58,58,
11178     58,58,58,57,57,57,57,57,57,57,57,57,56,56,56,56,56,56,56,56,56,
11179     55,55,55,55,55,55,55,55,55,54,54,54,54,53,53,53,53,53,53,53,53,
11180     53,53,53,53,52,52,52,52,52,52,52,52,52,52,52,52,51,51,51,51,51,
11181     51,50,50,50,49,49,49,49,48,48,48,48,48,48,48,48,48,48,48,48,48,
11182     47,47,47,46,46,46,46,46,46,45,45,45,45,45,45,44,44,44,44,44,44,
11183     43,43,43,43,43,43,43,43,43,43,43,43,42,42,41,41,41,41,40,40,40,
11184     40,40,40,40,40,40,40,40,40,39,39,39,39,39,38,38,38,38,38,38,38,
11185     38,38,38,37,37,37,37,37,37,36,36,36,36,36,36,36,36,35,35,35,35,
11186     35,35,34,34,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,31,31,
11187     31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30
11188   };
11189   const int n4c3w4_b[] = {
11190     150, // Capacity
11191     500, // Number of items
11192     // Size of items (sorted)
11193     100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,98,98,98,98,
11194     98,97,97,97,97,97,97,97,97,97,97,96,96,95,95,95,95,95,94,94,94,
11195     94,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,92,91,91,91,
11196     91,91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,89,89,89,
11197     89,88,88,88,88,88,88,88,87,87,87,87,87,87,86,86,86,86,86,85,85,
11198     85,85,85,85,85,85,85,84,84,84,84,84,84,84,84,83,83,83,82,82,82,
11199     82,82,81,81,81,81,81,81,81,80,80,80,80,80,80,80,79,79,79,79,79,
11200     79,78,78,78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,76,75,
11201     75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,74,74,73,73,73,73,
11202     73,73,73,73,73,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,70,
11203     70,70,70,70,69,69,69,69,69,68,68,68,67,67,67,67,67,67,67,67,67,
11204     67,67,66,66,66,66,66,65,65,65,65,65,64,64,64,64,64,63,63,63,63,
11205     63,63,63,62,62,62,62,62,62,62,62,61,61,61,61,60,60,60,60,60,60,
11206     60,60,60,60,60,59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,
11207     56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,54,54,54,54,54,
11208     54,53,53,53,53,53,53,53,52,52,52,52,52,51,51,51,51,51,51,51,51,
11209     51,51,51,51,50,50,50,50,50,49,49,49,49,49,49,49,48,48,48,48,48,
11210     48,47,47,47,47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,45,45,
11211     45,45,45,45,45,45,44,44,44,44,44,43,43,43,43,43,43,43,43,43,43,
11212     43,43,43,43,42,42,42,42,42,42,42,42,42,42,42,42,42,41,41,41,41,
11213     41,41,41,41,41,40,40,40,40,40,40,40,40,40,39,39,39,39,39,38,38,
11214     38,38,38,37,37,37,37,37,37,36,36,36,36,36,36,36,35,35,35,35,35,
11215     35,35,35,35,34,34,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,
11216     32,32,32,32,32,31,31,31,31,31,31,31,31,30,30,30,30,30,30
11217   };
11218   const int n4c3w4_c[] = {
11219     150, // Capacity
11220     500, // Number of items
11221     // Size of items (sorted)
11222     100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,
11223     99,99,99,99,99,99,98,98,98,98,97,97,97,97,97,97,96,96,96,96,96,
11224     96,96,96,96,95,95,95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,
11225     93,93,93,93,93,92,92,92,92,92,92,91,91,91,91,91,91,91,91,90,90,
11226     90,90,90,89,89,89,89,89,89,88,88,88,88,88,88,87,87,86,86,86,86,
11227     86,86,85,85,85,85,85,85,85,85,84,84,84,83,83,83,83,83,83,83,83,
11228     83,83,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,80,
11229     80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,79,79,79,78,78,
11230     78,77,77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,75,75,75,75,
11231     74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,
11232     72,72,72,71,71,71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,68,
11233     68,68,68,68,68,68,67,67,67,67,66,66,66,66,66,66,66,66,65,65,65,
11234     65,65,65,65,65,64,64,64,64,64,64,64,64,64,64,63,63,63,63,63,63,
11235     62,62,62,62,62,62,62,62,61,61,61,61,61,60,59,59,59,59,58,58,58,
11236     58,58,58,58,58,58,57,57,57,57,57,57,57,56,56,56,56,56,56,56,56,
11237     56,56,56,55,55,55,55,55,55,55,54,54,54,54,54,53,53,53,53,53,52,
11238     52,52,52,52,52,52,52,51,51,51,51,51,51,51,51,50,50,50,50,50,50,
11239     50,50,50,50,50,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,
11240     47,47,47,47,47,46,46,45,45,44,44,44,44,44,44,44,44,44,44,44,44,
11241     43,43,43,43,43,43,43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,
11242     41,41,41,40,40,40,40,39,39,39,39,39,38,38,38,38,38,38,38,38,38,
11243     38,38,38,37,37,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,
11244     36,35,35,35,35,35,35,35,35,34,34,34,34,34,33,33,33,33,33,33,33,
11245     33,33,33,32,32,32,32,32,32,32,32,32,31,31,31,30,30,30,30,30,30
11246   };
11247   const int n4c3w4_d[] = {
11248     150, // Capacity
11249     500, // Number of items
11250     // Size of items (sorted)
11251     100,99,99,99,99,99,98,98,98,98,98,98,97,97,97,97,97,97,97,97,
11252     96,96,96,96,96,96,96,95,95,95,95,95,94,94,94,94,94,94,94,94,94,
11253     93,93,93,93,92,92,92,92,92,92,92,92,92,92,91,91,91,91,91,91,91,
11254     90,90,90,90,89,89,89,89,89,88,88,88,88,88,88,88,88,87,87,87,87,
11255     87,87,86,86,86,86,86,86,85,85,85,84,84,84,84,84,84,84,84,84,84,
11256     84,84,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,82,82,81,81,
11257     81,81,81,81,81,81,81,81,81,80,80,80,80,80,80,80,80,80,79,79,79,
11258     79,78,78,78,78,78,77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,
11259     76,75,75,75,75,75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,74,
11260     74,74,73,73,73,73,72,72,72,72,71,71,71,71,70,70,70,70,70,70,70,
11261     69,69,69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,68,68,68,
11262     68,68,68,67,67,67,67,67,66,66,66,66,66,66,66,66,66,66,66,65,65,
11263     65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,63,63,63,63,62,62,
11264     62,62,62,62,62,61,61,61,61,61,61,61,61,60,60,60,60,60,60,59,59,
11265     59,59,59,58,58,58,58,58,58,58,58,58,58,58,58,58,57,57,57,57,57,
11266     56,56,56,56,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,
11267     53,53,52,52,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,50,
11268     50,50,50,49,49,49,49,49,48,48,48,48,48,48,47,47,47,47,47,47,47,
11269     46,46,46,46,45,45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,
11270     44,44,43,43,43,43,43,43,43,43,42,42,42,41,41,41,41,41,41,41,40,
11271     40,40,40,40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,37,
11272     37,37,37,37,37,36,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,
11273     35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,32,32,32,32,
11274     32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30
11275   };
11276   const int n4c3w4_e[] = {
11277     150, // Capacity
11278     500, // Number of items
11279     // Size of items (sorted)
11280     100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,
11281     98,98,98,98,98,97,97,97,97,97,97,97,97,96,96,96,96,96,95,95,95,
11282     95,95,95,94,94,94,94,94,94,94,94,94,94,94,93,93,93,92,92,92,92,
11283     92,92,92,92,92,92,92,92,92,91,91,91,91,91,91,91,91,91,90,90,90,
11284     90,90,89,89,88,88,88,88,88,88,87,87,87,87,87,87,87,86,86,86,86,
11285     86,85,85,85,85,85,85,85,84,84,83,83,83,83,83,83,83,83,82,82,82,
11286     82,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,80,80,80,80,80,
11287     80,80,80,79,79,79,79,79,79,78,78,78,78,78,78,78,77,77,76,76,76,
11288     76,76,76,76,76,76,75,75,75,75,75,75,75,75,75,75,75,74,74,74,74,
11289     74,74,74,74,74,74,73,73,73,73,73,73,73,73,73,72,72,72,72,72,72,
11290     72,71,71,71,71,71,71,71,70,70,70,70,70,70,70,70,70,70,69,69,69,
11291     68,68,68,67,67,67,67,67,67,67,67,67,66,66,66,66,65,65,65,65,65,
11292     65,65,64,64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,62,62,62,
11293     62,62,62,61,61,61,61,61,61,61,61,61,61,60,60,60,60,60,60,59,59,
11294     59,59,59,59,58,58,58,58,58,58,58,58,57,57,57,57,57,57,57,57,57,
11295     56,56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,54,54,54,54,54,
11296     54,54,53,53,53,53,53,52,52,52,52,52,51,51,51,51,51,51,51,51,51,
11297     50,50,50,50,50,50,50,50,50,50,49,49,49,49,49,48,48,48,48,48,48,
11298     48,48,47,47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,46,46,45,
11299     45,45,45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,
11300     43,42,42,42,42,42,41,41,41,41,40,40,40,40,40,39,39,39,39,39,39,
11301     39,39,39,39,39,38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,36,
11302     36,36,36,35,35,35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,
11303     33,33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,30,30,30,30
11304   };
11305   const int n4c3w4_f[] = {
11306     150, // Capacity
11307     500, // Number of items
11308     // Size of items (sorted)
11309     100,100,99,99,99,99,98,98,98,98,98,98,98,97,97,97,97,97,97,97,
11310     97,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,95,95,94,94,94,
11311     94,94,94,94,94,94,94,94,94,94,94,94,94,94,93,93,93,93,92,92,92,
11312     92,92,92,92,92,92,92,92,91,91,91,91,91,91,91,91,90,90,90,90,90,
11313     89,89,89,89,89,89,89,89,89,89,89,89,88,88,88,88,88,88,87,87,87,
11314     87,87,87,87,86,86,86,86,86,86,86,85,85,85,85,85,85,85,84,84,84,
11315     84,84,84,84,84,83,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,
11316     82,82,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,79,
11317     79,79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,77,77,77,77,77,
11318     77,76,76,76,76,76,75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,
11319     73,73,73,73,73,73,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,
11320     71,71,70,70,70,69,69,69,69,69,69,69,69,68,68,68,68,68,68,68,68,
11321     67,67,67,66,66,66,66,66,65,65,65,65,65,64,64,63,63,63,63,63,63,
11322     63,63,62,62,62,62,62,61,61,61,61,61,61,61,61,61,60,60,60,60,60,
11323     60,60,59,59,59,59,59,59,58,58,58,58,57,57,57,57,57,57,56,56,56,
11324     56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,54,54,
11325     53,53,53,53,53,52,52,52,52,52,52,50,50,50,50,50,50,50,50,50,50,
11326     50,49,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,47,47,47,47,
11327     47,47,46,46,46,45,45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,
11328     43,43,43,42,42,42,42,42,42,42,41,41,41,41,41,41,41,41,41,41,40,
11329     40,40,40,40,40,40,38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,
11330     37,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,35,35,35,35,34,
11331     34,34,34,34,34,34,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,
11332     31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30,30
11333   };
11334   const int n4c3w4_g[] = {
11335     150, // Capacity
11336     500, // Number of items
11337     // Size of items (sorted)
11338     100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,98,
11339     98,98,98,98,97,97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,
11340     95,95,94,94,94,94,94,93,93,93,93,93,93,93,93,93,93,93,93,92,92,
11341     92,92,92,92,92,92,92,92,92,92,91,91,91,91,91,91,90,90,90,90,89,
11342     89,89,89,89,89,89,88,88,88,88,88,88,87,87,87,87,87,86,86,86,86,
11343     86,86,86,86,86,86,86,85,85,85,85,85,85,85,84,84,84,84,84,84,84,
11344     84,84,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,
11345     81,81,81,81,81,81,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,
11346     79,79,78,78,77,77,77,77,77,77,76,76,76,75,75,75,75,75,75,75,75,
11347     75,74,74,74,74,74,74,74,74,74,74,74,74,73,73,73,73,73,72,72,72,
11348     72,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,70,70,70,70,70,
11349     69,69,69,69,69,69,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,
11350     67,67,67,67,67,67,67,67,67,66,66,66,66,66,66,66,66,66,66,66,66,
11351     66,66,65,65,65,65,65,65,65,64,64,64,63,63,63,63,63,63,63,62,62,
11352     62,62,62,61,61,61,61,61,60,60,60,60,60,60,60,60,60,60,60,60,59,
11353     59,59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,
11354     57,56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,54,54,54,54,
11355     54,54,54,54,53,53,53,53,53,52,52,52,52,52,51,51,51,51,51,51,50,
11356     50,50,49,49,49,49,49,49,49,48,48,48,48,47,47,47,47,47,47,46,46,
11357     46,46,46,46,46,46,46,45,45,45,45,45,45,44,44,44,44,43,43,43,43,
11358     43,42,42,42,42,42,42,42,41,41,41,41,41,40,40,40,40,39,39,39,39,
11359     39,39,39,39,38,38,38,38,38,38,38,38,38,37,37,37,37,36,36,36,36,
11360     36,36,36,36,36,35,35,35,35,34,34,34,34,33,33,33,33,33,33,33,33,
11361     32,32,32,32,32,32,32,31,31,31,31,31,31,31,31,31,30,30,30,30,30
11362   };
11363   const int n4c3w4_h[] = {
11364     150, // Capacity
11365     500, // Number of items
11366     // Size of items (sorted)
11367     100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,
11368     98,98,98,98,98,97,97,97,97,96,96,96,96,96,96,96,96,96,96,96,96,
11369     95,95,95,95,95,95,94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,
11370     93,92,92,92,92,92,91,91,91,91,91,91,91,91,91,91,90,90,90,90,89,
11371     89,88,88,88,88,88,88,88,88,88,87,87,87,87,87,87,87,87,87,87,87,
11372     86,86,86,86,86,86,85,85,85,85,85,85,85,84,84,84,84,83,83,83,83,
11373     83,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,82,82,81,81,81,
11374     81,81,81,81,81,80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,
11375     79,79,79,78,78,78,78,78,78,78,77,77,77,76,76,76,76,76,76,76,75,
11376     75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,
11377     72,71,71,71,71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,69,69,
11378     69,68,68,68,68,68,68,68,68,68,68,67,67,67,67,67,67,66,66,66,66,
11379     66,66,66,65,65,65,65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,
11380     63,63,63,62,62,62,62,62,61,61,61,61,61,61,60,60,60,60,60,60,60,
11381     60,59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,58,57,57,57,
11382     57,57,57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,55,55,54,
11383     54,54,54,54,54,54,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,
11384     52,51,51,51,51,51,51,51,51,50,50,50,49,49,49,49,49,49,49,49,49,
11385     49,49,48,48,48,48,47,47,46,46,46,46,46,45,45,45,45,45,45,45,44,
11386     44,44,44,44,44,43,43,43,43,43,43,42,42,42,42,42,42,42,41,41,41,
11387     41,41,41,40,40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,38,38,
11388     38,38,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,35,35,35,35,
11389     35,35,34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,32,31,31,
11390     31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30
11391   };
11392   const int n4c3w4_i[] = {
11393     150, // Capacity
11394     500, // Number of items
11395     // Size of items (sorted)
11396     100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,99,
11397     99,99,99,98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,96,96,96,
11398     96,96,96,96,96,96,95,95,95,95,95,95,95,95,95,94,94,94,94,94,94,
11399     94,94,94,94,94,94,93,93,93,93,93,93,92,92,92,92,92,92,92,92,92,
11400     91,91,91,91,91,91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,88,
11401     88,88,88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,86,86,85,85,
11402     85,85,85,85,85,84,84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,
11403     83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,80,80,
11404     80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,78,78,78,78,78,77,
11405     77,77,77,76,76,76,76,76,75,75,75,75,74,74,74,74,74,73,73,73,73,