Generated on Tue Apr 18 10:21:28 2017 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  *  Last modified:
00010  *     $Date: 2017-02-09 10:50:35 +0100 (Thu, 09 Feb 2017) $ by $Author: schulte $
00011  *     $Revision: 15395 $
00012  *
00013  *  This file is part of Gecode, the generic constraint
00014  *  development environment:
00015  *     http://www.gecode.org
00016  *
00017  *  Permission is hereby granted, free of charge, to any person obtaining
00018  *  a copy of this software and associated documentation files (the
00019  *  "Software"), to deal in the Software without restriction, including
00020  *  without limitation the rights to use, copy, modify, merge, publish,
00021  *  distribute, sublicense, and/or sell copies of the Software, and to
00022  *  permit persons to whom the Software is furnished to do so, subject to
00023  *  the following conditions:
00024  *
00025  *  The above copyright notice and this permission notice shall be
00026  *  included in all copies or substantial portions of the Software.
00027  *
00028  *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
00029  *  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
00030  *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
00031  *  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
00032  *  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
00033  *  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
00034  *  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00035  *
00036  */
00037 
00038 #include <gecode/driver.hh>
00039 
00040 #include <gecode/int.hh>
00041 #include <gecode/minimodel.hh>
00042 
00043 #include <algorithm>
00044 
00045 using namespace Gecode;
00046 
00047 // Instance data
00048 namespace {
00049 
00050   // Instances
00051   extern const int* bpp[];
00052   // Instance names
00053   extern const char* name[];
00054 
00056   class Spec {
00057   protected:
00059     const int* data;
00061     int l, u;
00062   public:
00064     bool valid(void) const {
00065       return data != NULL;
00066     }
00068     int capacity(void) const {
00069       return data[0];
00070     }
00072     int items(void) const {
00073       return data[1];
00074     }
00076     int size(int i) const {
00077       return data[i+2];
00078     }
00079   protected:
00081     static const int* find(const char* s) {
00082       for (int i=0; name[i] != NULL; i++)
00083         if (!strcmp(s,name[i]))
00084           return bpp[i];
00085       return NULL;
00086     }
00088     int clower(void) const {
00089       /*
00090        * The lower bound is due to: S. Martello, P. Toth. Lower bounds
00091        * and reduction procedures for the bin packing problem.
00092        * Discrete and applied mathematics, 28(1):59-70, 1990.
00093        */
00094       const int c = capacity(), n = items();
00095       int l = 0;
00096 
00097       // Items in N1 are from 0 ... n1 - 1
00098       int n1 = 0;
00099       // Items in N2 are from n1 ... n12 - 1, we count elements in N1 and N2
00100       int n12 = 0;
00101       // Items in N3 are from n12 ... n3 - 1
00102       int n3 = 0;
00103       // Free space in N2
00104       int f2 = 0;
00105       // Total size of items in N3
00106       int s3 = 0;
00107 
00108       // Initialize n12 and f2
00109       for (; (n12 < n) && (size(n12) > c/2); n12++)
00110         f2 += c - size(n12);
00111 
00112       // Initialize n3 and s3
00113       for (n3 = n12; n3 < n; n3++)
00114         s3 += size(n3);
00115 
00116       // Compute lower bounds
00117       for (int k=0; k<=c/2; k++) {
00118         // Make N1 larger by adding elements and N2 smaller
00119         for (; (n1 < n) && (size(n1) > c-k); n1++)
00120           f2 -= c - size(n1);
00121         assert(n1 <= n12);
00122         // Make N3 smaller by removing elements
00123         for (; (size(n3-1) < k) && (n3 > n12); n3--)
00124           s3 -= size(n3-1);
00125         // Overspill
00126         int o = (s3 > f2) ? ((s3 - f2 + c - 1) / c) : 0;
00127         l = std::max(l, n12 + o);
00128       }
00129       return l;
00130     }
00132     int cupper(void) const {
00133       // Use a naive greedy algorithm
00134       const int c = capacity(), n = items();
00135 
00136       int* f = new int[n];
00137       for (int i=0; i<n; i++)
00138         f[i] = c;
00139 
00140       int u=0;
00141       for (int i=0; i<n; i++) {
00142         int j=0;
00143         // Skip bins with insufficient free space
00144         while (f[j] < size(i))
00145           j++;
00146         if (j > u) {
00147           // A new bin is needed
00148           u = j; f[u] -= size(i);
00149         } else {
00150           // The slack of the best-fit bin
00151           int b = j++;
00152           int s = f[b] - size(i);
00153           while (j <= u) {
00154             if ((f[j] >= size(i)) && (f[j] - size(i) < s)) {
00155               b = j; s = f[b] - size(i);
00156             }
00157             j++;
00158           }
00159           f[b] -= size(i);
00160         }
00161       }
00162       delete [] f;
00163       return u+1;
00164     }
00165   public:
00167     Spec(const char* s) : data(find(s)), l(0), u(0) {
00168       if (valid()) {
00169         l = clower(); u = cupper();
00170       }
00171     }
00173     int total(void) const {
00174       int t=0;
00175       for (int i=0; i<items(); i++)
00176         t += size(i);
00177       return t;
00178     }
00180     int lower(void) const {
00181       return l;
00182     }
00184     int upper(void) const {
00185       return u;
00186     }
00187   };
00188 
00189 }
00190 
00202 class CDBF : public Brancher {
00203 protected:
00205   ViewArray<Int::IntView> load;
00207   ViewArray<Int::IntView> bin;
00209   IntSharedArray size;
00211   mutable int item;
00213   class Choice : public Gecode::Choice {
00214   public:
00216     int item;
00218     int* same;
00220     int n_same;
00224     Choice(const Brancher& b, unsigned int a, int i, int* s, int n_s)
00225       : Gecode::Choice(b,a), item(i),
00226         same(heap.alloc<int>(n_s)), n_same(n_s) {
00227       for (int k=n_same; k--; )
00228         same[k] = s[k];
00229     }
00231     virtual size_t size(void) const {
00232       return sizeof(Choice) + sizeof(int) * n_same;
00233     }
00235     virtual void archive(Archive& e) const {
00236       Gecode::Choice::archive(e);
00237       e << alternatives() << item << n_same;
00238       for (int i=n_same; i--;)
00239         e << same[i];
00240     }
00242     virtual ~Choice(void) {
00243       heap.free<int>(same,n_same);
00244     }
00245   };
00246 
00247 public:
00249   CDBF(Home home, ViewArray<Int::IntView>& l, ViewArray<Int::IntView>& b,
00250        IntSharedArray& s)
00251     : Brancher(home), load(l), bin(b), size(s), item(0) {
00252     home.notice(*this,AP_DISPOSE);
00253   }
00255   static void post(Home home, ViewArray<Int::IntView>& l,
00256                    ViewArray<Int::IntView>& b,
00257                    IntSharedArray& s) {
00258     (void) new (home) CDBF(home, l, b, s);
00259   }
00261   CDBF(Space& home, bool share, CDBF& cdbf)
00262     : Brancher(home, share, cdbf), item(cdbf.item) {
00263     load.update(home, share, cdbf.load);
00264     bin.update(home, share, cdbf.bin);
00265     size.update(home, share, cdbf.size);
00266   }
00268   virtual Actor* copy(Space& home, bool share) {
00269     return new (home) CDBF(home, share, *this);
00270   }
00272   virtual size_t dispose(Space& home) {
00273     home.ignore(*this,AP_DISPOSE);
00274     size.~IntSharedArray();
00275     (void) Brancher::dispose(home);
00276     return sizeof(*this);
00277   }
00279   virtual bool status(const Space&) const {
00280     for (int i = item; i < bin.size(); i++)
00281       if (!bin[i].assigned()) {
00282         item = i; return true;
00283       }
00284     return false;
00285   }
00287   virtual Gecode::Choice* choice(Space& home) {
00288     assert(!bin[item].assigned());
00289 
00290     int n = bin.size(), m = load.size();
00291 
00292     Region region(home);
00293 
00294     // Free space in bins
00295     int* free = region.alloc<int>(m);
00296 
00297     for (int j=m; j--; )
00298       free[j] = load[j].max();
00299     for (int i=n; i--; )
00300       if (bin[i].assigned())
00301         free[bin[i].val()] -= size[i];
00302 
00303     // Equivalent bins with same free space
00304     int* same = region.alloc<int>(m+1);
00305     unsigned int n_same = 0;
00306     unsigned int n_possible = 0;
00307 
00308     // Initialize such that failure is guaranteed (pack into bin -1)
00309     same[n_same++] = -1;
00310 
00311     // Find a best-fit bin for item
00312     int slack = INT_MAX;
00313     for (Int::ViewValues<Int::IntView> j(bin[item]); j(); ++j)
00314       if (size[item] <= free[j.val()]) {
00315         // Item still can fit into the bin
00316         n_possible++;
00317         if (free[j.val()] - size[item] < slack) {
00318           // A new, better fit
00319           slack = free[j.val()] - size[item];
00320           same[0] = j.val(); n_same = 1;
00321         } else if (free[j.val()] - size[item] == slack) {
00322           // An equivalent bin, remember it
00323           same[n_same++] = j.val();
00324         }
00325       }
00326     /*
00327      * Domination rules:
00328      *  - if the item fits the bin exactly, just assign
00329      *  - if all possible bins are equivalent, just assign
00330      *
00331      * Also catches failure: if no possible bin was found, commit
00332      * the item into bin -1.
00333      */
00334     if ((slack == 0) || (n_same == n_possible) || (slack == INT_MAX))
00335       return new Choice(*this, 1, item, same, 1);
00336     else
00337       return new Choice(*this, 2, item, same, n_same);
00338   }
00340   virtual const Gecode::Choice* choice(const Space& home, Archive& e) {
00341     int alt, item, n_same;
00342     e >> alt >> item >> n_same;
00343     Region re(home);
00344     int* same = re.alloc<int>(n_same);
00345     for (int i=n_same; i--;) e >> same[i];
00346     return new Choice(*this, alt, item, same, n_same);
00347   }
00349   virtual ExecStatus commit(Space& home, const Gecode::Choice& _c,
00350                             unsigned int a) {
00351     const Choice& c = static_cast<const Choice&>(_c);
00352     // This catches also the case that the choice has a single aternative only
00353     if (a == 0) {
00354       GECODE_ME_CHECK(bin[c.item].eq(home, c.same[0]));
00355     } else {
00356       Iter::Values::Array same(c.same, c.n_same);
00357 
00358       GECODE_ME_CHECK(bin[c.item].minus_v(home, same));
00359 
00360       for (int i = c.item+1; (i<bin.size()) &&
00361                              (size[i] == size[c.item]); i++) {
00362         same.reset();
00363         GECODE_ME_CHECK(bin[i].minus_v(home, same));
00364       }
00365     }
00366     return ES_OK;
00367   }
00369   virtual void print(const Space&, const Gecode::Choice& _c,
00370                      unsigned int a,
00371                      std::ostream& o) const {
00372     const Choice& c = static_cast<const Choice&>(_c);
00373     if (a == 0) {
00374       o << "bin[" << c.item << "] = " << c.same[0];
00375     } else {
00376       o << "bin[" << c.item;
00377       for (int i = c.item+1; (i<bin.size()) &&
00378                              (size[i] == size[c.item]); i++)
00379         o << "," << i;
00380       o << "] != ";
00381       for (int i = 0; i<c.n_same-1; i++)
00382         o << c.same[i] << ",";
00383       o << c.same[c.n_same-1];
00384     }
00385   }
00386 };
00387 
00389 void cdbf(Home home, const IntVarArgs& l, const IntVarArgs& b,
00390           const IntArgs& s) {
00391   if (b.size() != s.size())
00392     throw Int::ArgumentSizeMismatch("cdbf");
00393   ViewArray<Int::IntView> load(home, l);
00394   ViewArray<Int::IntView> bin(home, b);
00395   IntSharedArray size(s);
00396   return CDBF::post(home, load, bin, size);
00397 }
00398 
00399 
00400 
00407 class BinPacking : public IntMinimizeScript {
00408 protected:
00410   const Spec spec;
00412   IntVarArray load;
00414   IntVarArray bin;
00416   IntVar bins;
00417 public:
00419   enum {
00420     MODEL_NAIVE, 
00421     MODEL_PACKING 
00422   };
00424   enum {
00425     BRANCH_NAIVE, 
00426     BRANCH_CDBF, 
00427   };
00429   BinPacking(const InstanceOptions& opt)
00430     : IntMinimizeScript(opt),
00431       spec(opt.instance()),
00432       load(*this, spec.upper(), 0, spec.capacity()),
00433       bin(*this, spec.items(), 0, spec.upper()-1),
00434       bins(*this, spec.lower(), spec.upper()) {
00435     // Number of items
00436     int n = bin.size();
00437     // Number of bins
00438     int m = load.size();
00439 
00440     // Size of all items
00441     int s = 0;
00442     for (int i=0; i<n; i++)
00443       s += spec.size(i);
00444 
00445     // Array of sizes
00446     IntArgs sizes(n);
00447     for (int i=0; i<n; i++)
00448       sizes[i] = spec.size(i);
00449 
00450     switch (opt.model()) {
00451     case MODEL_NAIVE:
00452       {
00453         // All loads must add up to all item sizes
00454         linear(*this, load, IRT_EQ, s);
00455 
00456         // Load must be equal to packed items
00457         BoolVarArgs _x(*this, n*m, 0, 1);
00458         Matrix<BoolVarArgs> x(_x, n, m);
00459 
00460         for (int i=0; i<n; i++)
00461           channel(*this, x.col(i), bin[i]);
00462 
00463         for (int j=0; j<m; j++)
00464           linear(*this, sizes, x.row(j), IRT_EQ, load[j]);
00465       }
00466       break;
00467     case MODEL_PACKING:
00468       binpacking(*this, load, bin, sizes);
00469       break;
00470     }
00471 
00472     // Break symmetries
00473     for (int i=1; i<n; i++)
00474       if (spec.size(i-1) == spec.size(i))
00475         rel(*this, bin[i-1] <= bin[i]);
00476 
00477     // Pack items that require a bin for sure! (wlog)
00478     {
00479       int i = 0;
00480       // These items all need a bin due to their own size
00481       for (; (i < n) && (i < m) && (spec.size(i) * 2 > spec.capacity()); i++)
00482         rel(*this, bin[i] == i);
00483       // Check if the next item cannot fit to position i-1
00484       if ((i < n) && (i < m) && (i > 0) &&
00485           (spec.size(i-1) + spec.size(i) > spec.capacity()))
00486         rel(*this, bin[i] == i);
00487     }
00488 
00489     // All excess bins must be empty
00490     for (int j=spec.lower()+1; j <= spec.upper(); j++)
00491       rel(*this, (bins < j) == (load[j-1] == 0));
00492 
00493     branch(*this, bins, INT_VAL_MIN());
00494     switch (opt.branching()) {
00495     case BRANCH_NAIVE:
00496       branch(*this, bin, INT_VAR_NONE(), INT_VAL_MIN());
00497       break;
00498     case BRANCH_CDBF:
00499       cdbf(*this, load, bin, sizes);
00500       break;
00501     }
00502   }
00504   virtual IntVar cost(void) const {
00505     return bins;
00506   }
00508   BinPacking(bool share, BinPacking& s)
00509     : IntMinimizeScript(share,s), spec(s.spec) {
00510     load.update(*this, share, s.load);
00511     bin.update(*this, share, s.bin);
00512     bins.update(*this, share, s.bins);
00513   }
00515   virtual Space*
00516   copy(bool share) {
00517     return new BinPacking(share,*this);
00518   }
00520   virtual void
00521   print(std::ostream& os) const {
00522     int n = bin.size();
00523     int m = load.size();
00524     os << "Bins used: " << bins << " (from " << m << " bins)." << std::endl;
00525     for (int j=0; j<m; j++) {
00526       bool fst = true;
00527       os << "\t[" << j << "]={";
00528       for (int i=0; i<n; i++)
00529         if (bin[i].assigned() && (bin[i].val() == j)) {
00530           if (fst) {
00531             fst = false;
00532           } else {
00533             os << ",";
00534           }
00535           os << i;
00536         }
00537       os << "} #" << load[j] << std::endl;
00538     }
00539     if (!bin.assigned()) {
00540       os << std::endl
00541          << "Unpacked items:" << std::endl;
00542       for (int i=0;i<n; i++)
00543         if (!bin[i].assigned())
00544           os << "\t[" << i << "] = " << bin[i] << std::endl;
00545     }
00546   }
00547 };
00548 
00552 int
00553 main(int argc, char* argv[]) {
00554   InstanceOptions opt("BinPacking");
00555   opt.model(BinPacking::MODEL_PACKING);
00556   opt.model(BinPacking::MODEL_NAIVE, "naive",
00557             "use naive model (decomposition)");
00558   opt.model(BinPacking::MODEL_PACKING, "packing",
00559             "use bin packing constraint");
00560   opt.branching(BinPacking::BRANCH_CDBF);
00561   opt.branching(BinPacking::BRANCH_NAIVE, "naive");
00562   opt.branching(BinPacking::BRANCH_CDBF, "cdbf");
00563   opt.instance(name[0]);
00564   opt.solutions(0);
00565   opt.parse(argc,argv);
00566   if (!Spec(opt.instance()).valid()) {
00567     std::cerr << "Error: unkown instance" << std::endl;
00568     return 1;
00569   }
00570   IntMinimizeScript::run<BinPacking,BAB,InstanceOptions>(opt);
00571   return 0;
00572 }
00573 
00574 namespace {
00575 
00576   /*
00577    * Instances taken from:
00578    * A. Scholl, R. Klein, and C. Jürgens: BISON: a fast hybrid procedure
00579    * for exactly solving the one-dimensional bin packing problem.
00580    * Computers & Operations Research 24 (1997) 627-645.
00581    *
00582    * The item size have been sorted for simplicty.
00583    *
00584    */
00585 
00586   /*
00587    * Data set 1
00588    *
00589    */
00590   const int n1c1w1_a[] = {
00591     100, // Capacity
00592     50, // Number of items
00593     // Size of items (sorted)
00594     99,99,96,96,92,92,91,88,87,86,85,76,74,72,69,67,67,62,61,56,52,
00595     51,49,46,44,42,40,40,33,33,30,30,29,28,28,27,25,24,23,22,21,20,
00596     17,14,13,11,10,7,7,3
00597   };
00598   const int n1c1w1_b[] = {
00599     100, // Capacity
00600     50, // Number of items
00601     // Size of items (sorted)
00602     100,99,97,97,97,93,93,92,92,88,83,83,79,76,76,75,72,71,70,69,
00603     67,66,63,62,62,61,61,51,50,44,44,43,43,40,39,37,37,30,23,20,19,
00604     18,17,15,14,13,13,12,8,8
00605   };
00606   const int n1c1w1_c[] = {
00607     100, // Capacity
00608     50, // Number of items
00609     // Size of items (sorted)
00610     92,89,87,84,82,82,81,75,73,71,67,67,63,59,57,56,52,49,48,47,46,
00611     41,39,38,36,35,34,34,30,29,26,21,20,19,18,15,15,13,11,10,10,10,
00612     9,8,8,7,6,6,6,3
00613   };
00614   const int n1c1w1_d[] = {
00615     100, // Capacity
00616     50, // Number of items
00617     // Size of items (sorted)
00618     100,99,98,97,95,94,92,92,91,82,80,77,76,75,73,73,73,71,68,65,
00619     65,63,63,63,60,59,53,45,44,40,31,25,24,24,24,23,22,21,21,15,14,
00620     14,10,10,7,7,6,3,2,2
00621   };
00622   const int n1c1w1_e[] = {
00623     100, // Capacity
00624     50, // Number of items
00625     // Size of items (sorted)
00626     91,88,88,87,87,86,86,85,85,84,83,80,79,78,77,70,70,68,67,66,59,
00627     52,49,48,47,47,44,42,38,37,37,34,34,33,31,29,27,24,21,17,16,16,
00628     15,14,8,6,5,4,2,2
00629   };
00630   const int n1c1w1_f[] = {
00631     100, // Capacity
00632     50, // Number of items
00633     // Size of items (sorted)
00634     99,98,98,93,92,89,89,84,84,83,78,77,75,73,72,71,70,69,69,68,60,
00635     60,57,56,54,50,49,49,45,37,36,35,30,30,27,26,26,25,24,21,20,19,
00636     15,14,13,11,11,8,2,2
00637   };
00638   const int n1c1w1_g[] = {
00639     100, // Capacity
00640     50, // Number of items
00641     // Size of items (sorted)
00642     100,99,98,98,98,91,90,87,84,84,78,77,72,71,70,69,69,64,63,58,
00643     58,46,45,45,43,43,42,41,37,37,37,35,34,31,30,29,24,23,22,21,20,
00644     17,12,11,10,9,7,6,5,4
00645   };
00646   const int n1c1w1_h[] = {
00647     100, // Capacity
00648     50, // Number of items
00649     // Size of items (sorted)
00650     97,93,93,92,92,91,90,88,86,85,85,85,82,81,80,79,75,73,71,70,70,
00651     67,66,64,62,62,61,54,48,48,47,46,44,41,40,39,34,29,24,24,21,18,
00652     16,16,14,13,11,10,5,1
00653   };
00654   const int n1c1w1_i[] = {
00655     100, // Capacity
00656     50, // Number of items
00657     // Size of items (sorted)
00658     95,92,87,87,85,84,83,79,77,77,75,73,69,68,65,63,63,62,61,58,57,
00659     52,50,44,43,40,40,38,38,38,35,33,33,32,31,29,27,24,24,22,19,19,
00660     18,16,14,11,6,4,3,2
00661   };
00662   const int n1c1w1_j[] = {
00663     100, // Capacity
00664     50, // Number of items
00665     // Size of items (sorted)
00666     99,99,95,94,94,93,91,90,86,81,81,80,79,77,74,69,69,63,55,54,54,
00667     53,52,50,44,40,39,38,37,36,36,36,36,34,31,31,26,25,23,22,18,17,
00668     15,14,13,12,10,7,2,1
00669   };
00670   const int n1c1w1_k[] = {
00671     100, // Capacity
00672     50, // Number of items
00673     // Size of items (sorted)
00674     96,91,91,89,87,85,84,83,82,79,78,77,77,75,75,70,68,66,64,62,62,
00675     56,53,51,44,41,40,38,38,36,34,31,30,29,28,27,26,23,17,16,15,14,
00676     14,12,11,10,8,8,4,2
00677   };
00678   const int n1c1w1_l[] = {
00679     100, // Capacity
00680     50, // Number of items
00681     // Size of items (sorted)
00682     99,99,98,96,95,93,92,92,89,87,85,85,82,80,72,71,68,68,64,64,63,
00683     61,59,59,57,57,57,55,55,52,52,51,49,48,47,47,40,39,38,37,29,28,
00684     28,22,22,19,17,16,9,4
00685   };
00686   const int n1c1w1_m[] = {
00687     100, // Capacity
00688     50, // Number of items
00689     // Size of items (sorted)
00690     100,100,99,97,94,93,91,90,89,88,87,87,86,86,79,77,72,71,70,69,
00691     68,68,65,64,61,60,59,51,50,50,43,42,39,37,29,27,25,24,21,19,17,
00692     16,13,13,8,6,6,3,2,1
00693   };
00694   const int n1c1w1_n[] = {
00695     100, // Capacity
00696     50, // Number of items
00697     // Size of items (sorted)
00698     99,98,95,95,95,94,94,91,88,87,86,85,76,74,73,71,68,60,55,54,51,
00699     45,42,40,39,39,36,34,33,32,32,31,31,30,29,26,26,23,21,21,21,19,
00700     18,18,16,15,5,5,4,1
00701   };
00702   const int n1c1w1_o[] = {
00703     100, // Capacity
00704     50, // Number of items
00705     // Size of items (sorted)
00706     100,99,98,97,97,94,92,91,91,90,88,87,85,81,81,80,79,72,70,67,
00707     67,66,64,63,61,59,58,56,55,51,50,50,50,49,46,41,39,39,38,30,30,
00708     24,22,21,20,19,14,8,7,5
00709   };
00710   const int n1c1w1_p[] = {
00711     100, // Capacity
00712     50, // Number of items
00713     // Size of items (sorted)
00714     96,94,91,90,82,81,80,77,76,75,74,72,70,68,65,63,63,63,60,60,59,
00715     58,57,55,51,47,46,36,36,34,32,32,30,30,28,28,27,26,24,24,19,19,
00716     17,17,11,9,9,7,4,4
00717   };
00718   const int n1c1w1_q[] = {
00719     100, // Capacity
00720     50, // Number of items
00721     // Size of items (sorted)
00722     97,92,90,85,83,83,82,81,77,76,74,73,71,67,67,67,67,63,63,62,59,
00723     58,58,56,56,55,53,50,47,42,41,41,41,39,37,35,32,31,30,26,25,22,
00724     20,17,16,15,13,13,10,5
00725   };
00726   const int n1c1w1_r[] = {
00727     100, // Capacity
00728     50, // Number of items
00729     // Size of items (sorted)
00730     95,94,93,92,87,81,81,79,78,76,75,72,72,71,70,65,62,61,60,55,54,
00731     54,51,49,46,45,38,38,37,36,36,36,32,31,28,27,26,25,24,24,21,20,
00732     20,17,14,10,9,7,7,3
00733   };
00734   const int n1c1w1_s[] = {
00735     100, // Capacity
00736     50, // Number of items
00737     // Size of items (sorted)
00738     100,99,99,97,96,95,87,87,87,86,84,82,80,80,80,76,75,74,71,68,
00739     67,63,62,60,52,52,52,48,44,44,43,43,37,34,33,31,29,28,25,21,20,
00740     17,16,13,11,9,6,5,4,3
00741   };
00742   const int n1c1w1_t[] = {
00743     100, // Capacity
00744     50, // Number of items
00745     // Size of items (sorted)
00746     100,97,92,91,89,88,83,82,82,82,78,77,77,77,73,72,68,67,66,65,
00747     64,62,60,60,57,53,50,48,46,42,40,40,38,37,37,31,30,29,28,21,20,
00748     20,20,20,18,18,15,15,11,1
00749   };
00750   const int n1c1w2_a[] = {
00751     100, // Capacity
00752     50, // Number of items
00753     // Size of items (sorted)
00754     96,93,86,86,85,83,80,80,80,79,77,68,67,64,64,63,60,57,55,54,54,
00755     54,54,52,52,52,51,44,43,41,41,39,39,39,38,36,36,35,34,34,31,31,
00756     29,29,28,24,23,22,22,20
00757   };
00758   const int n1c1w2_b[] = {
00759     100, // Capacity
00760     50, // Number of items
00761     // Size of items (sorted)
00762     99,96,95,95,91,91,91,90,89,86,85,85,84,79,76,69,68,68,65,64,63,
00763     58,58,54,53,52,50,49,48,48,45,45,43,42,36,35,33,31,31,30,30,30,
00764     29,27,27,26,22,22,22,21
00765   };
00766   const int n1c1w2_c[] = {
00767     100, // Capacity
00768     50, // Number of items
00769     // Size of items (sorted)
00770     100,99,98,97,94,93,91,89,89,89,85,85,84,83,81,81,78,73,73,73,
00771     73,70,69,68,64,64,63,59,54,49,48,45,45,43,42,41,39,37,37,36,32,
00772     30,26,26,25,24,24,23,21,21
00773   };
00774   const int n1c1w2_d[] = {
00775     100, // Capacity
00776     50, // Number of items
00777     // Size of items (sorted)
00778     97,97,90,89,89,89,85,83,82,81,77,76,76,75,71,71,68,68,66,63,63,
00779     63,62,61,61,59,58,54,53,50,50,50,46,43,40,36,36,33,32,31,31,31,
00780     28,27,27,26,26,24,23,22
00781   };
00782   const int n1c1w2_e[] = {
00783     100, // Capacity
00784     50, // Number of items
00785     // Size of items (sorted)
00786     99,96,94,94,90,90,90,90,87,86,85,85,84,84,84,84,84,83,81,81,79,
00787     71,71,70,65,65,65,63,62,59,51,51,50,49,49,49,47,45,44,43,41,35,
00788     35,33,31,27,23,23,22,22
00789   };
00790   const int n1c1w2_f[] = {
00791     100, // Capacity
00792     50, // Number of items
00793     // Size of items (sorted)
00794     99,94,94,89,88,86,86,85,84,84,83,79,77,76,74,73,71,71,66,65,63,
00795     62,60,54,53,50,49,48,48,48,48,43,41,40,40,39,38,35,34,32,31,29,
00796     28,25,23,23,22,21,20,20
00797   };
00798   const int n1c1w2_g[] = {
00799     100, // Capacity
00800     50, // Number of items
00801     // Size of items (sorted)
00802     100,99,94,91,90,88,86,85,85,83,82,80,79,77,73,71,71,71,67,65,
00803     65,58,57,57,55,53,52,51,45,40,39,39,38,38,38,37,36,36,35,35,32,
00804     29,28,27,27,27,24,23,21,20
00805   };
00806   const int n1c1w2_h[] = {
00807     100, // Capacity
00808     50, // Number of items
00809     // Size of items (sorted)
00810     100,100,96,95,95,92,92,92,91,90,90,89,89,86,84,83,81,78,76,73,
00811     73,73,71,71,67,66,61,60,59,57,54,54,44,42,42,38,36,33,31,31,28,
00812     28,27,27,27,27,26,25,21,20
00813   };
00814   const int n1c1w2_i[] = {
00815     100, // Capacity
00816     50, // Number of items
00817     // Size of items (sorted)
00818     100,100,98,97,96,94,93,93,85,85,84,83,83,83,82,79,76,76,76,75,
00819     74,73,73,72,68,66,60,60,56,55,53,52,49,47,46,45,42,41,38,37,37,
00820     37,36,32,31,31,31,28,24,21
00821   };
00822   const int n1c1w2_j[] = {
00823     100, // Capacity
00824     50, // Number of items
00825     // Size of items (sorted)
00826     100,99,98,95,93,90,87,85,84,84,83,83,81,81,80,79,75,75,71,70,
00827     68,67,63,63,62,62,61,58,56,51,51,50,49,48,48,42,40,39,37,37,36,
00828     34,32,30,29,28,28,27,26,26
00829   };
00830   const int n1c1w2_k[] = {
00831     100, // Capacity
00832     50, // Number of items
00833     // Size of items (sorted)
00834     100,99,98,97,97,96,95,94,92,89,89,87,85,77,76,73,71,69,68,68,
00835     67,66,66,65,64,64,63,62,58,58,52,50,49,48,47,46,44,43,43,35,35,
00836     32,29,26,26,25,25,23,20,20
00837   };
00838   const int n1c1w2_l[] = {
00839     100, // Capacity
00840     50, // Number of items
00841     // Size of items (sorted)
00842     98,95,94,93,92,91,89,88,87,87,84,82,82,74,73,73,72,69,65,64,63,
00843     63,62,62,60,59,57,54,54,52,48,47,46,44,43,41,35,33,30,30,30,29,
00844     29,28,28,27,27,26,24,23
00845   };
00846   const int n1c1w2_m[] = {
00847     100, // Capacity
00848     50, // Number of items
00849     // Size of items (sorted)
00850     99,95,90,89,89,85,82,80,80,79,79,79,77,74,70,70,66,65,65,64,57,
00851     56,56,55,55,55,53,52,50,49,48,47,45,42,40,37,36,36,36,32,31,31,
00852     31,31,30,28,28,25,22,20
00853   };
00854   const int n1c1w2_n[] = {
00855     100, // Capacity
00856     50, // Number of items
00857     // Size of items (sorted)
00858     98,96,95,85,84,84,83,82,81,80,78,76,76,74,72,72,71,71,69,66,65,
00859     64,64,62,61,60,56,53,52,52,49,48,47,45,43,43,42,40,40,40,39,37,
00860     32,30,28,26,21,21,21,20
00861   };
00862   const int n1c1w2_o[] = {
00863     100, // Capacity
00864     50, // Number of items
00865     // Size of items (sorted)
00866     100,100,100,96,95,93,86,82,82,80,79,75,73,71,71,70,69,69,68,63,
00867     60,59,58,56,53,52,50,45,44,44,43,42,37,37,36,36,35,31,30,30,29,
00868     28,28,27,27,22,21,21,20,20
00869   };
00870   const int n1c1w2_p[] = {
00871     100, // Capacity
00872     50, // Number of items
00873     // Size of items (sorted)
00874     100,96,95,95,95,93,92,87,87,83,83,82,79,78,77,76,76,76,72,71,
00875     69,69,68,64,63,60,57,55,54,54,51,50,46,42,41,40,40,38,38,37,31,
00876     30,30,29,28,27,26,26,22,20
00877   };
00878   const int n1c1w2_q[] = {
00879     100, // Capacity
00880     50, // Number of items
00881     // Size of items (sorted)
00882     97,96,96,93,93,93,91,88,86,86,85,85,85,82,81,78,75,74,71,71,69,
00883     67,67,65,65,65,64,61,61,60,58,58,56,54,53,49,45,44,43,40,38,38,
00884     38,34,33,31,30,26,23,23
00885   };
00886   const int n1c1w2_r[] = {
00887     100, // Capacity
00888     50, // Number of items
00889     // Size of items (sorted)
00890     98,97,97,97,94,91,89,85,84,82,81,80,79,79,75,73,70,69,69,69,68,
00891     68,68,66,61,55,54,52,52,51,51,49,49,48,47,47,47,45,44,37,37,36,
00892     35,34,34,30,29,29,27,24
00893   };
00894   const int n1c1w2_s[] = {
00895     100, // Capacity
00896     50, // Number of items
00897     // Size of items (sorted)
00898     99,99,98,96,95,93,92,91,91,91,88,86,84,84,84,80,80,79,78,77,76,
00899     76,73,72,71,71,69,68,67,64,64,61,59,58,54,52,49,49,41,40,38,31,
00900     31,29,28,27,27,27,22,20
00901   };
00902   const int n1c1w2_t[] = {
00903     100, // Capacity
00904     50, // Number of items
00905     // Size of items (sorted)
00906     100,100,100,97,96,92,91,91,89,86,85,84,83,83,82,81,79,79,77,74,
00907     74,73,73,70,68,67,67,65,63,62,62,55,55,52,50,47,45,44,44,44,44,
00908     43,41,39,37,32,30,26,24,23
00909   };
00910   const int n1c1w4_a[] = {
00911     100, // Capacity
00912     50, // Number of items
00913     // Size of items (sorted)
00914     99,95,93,92,91,89,89,88,88,85,84,84,84,80,80,79,77,76,72,69,65,
00915     64,64,63,63,60,56,56,53,53,52,51,50,50,49,49,47,44,41,41,40,40,
00916     40,35,35,34,32,31,31,30
00917   };
00918   const int n1c1w4_b[] = {
00919     100, // Capacity
00920     50, // Number of items
00921     // Size of items (sorted)
00922     100,100,98,97,97,94,92,92,91,85,84,84,83,82,82,80,78,78,78,78,
00923     75,74,73,72,71,70,70,68,66,65,65,54,50,50,50,49,49,49,47,44,44,
00924     42,42,41,41,41,40,36,36,30
00925   };
00926   const int n1c1w4_c[] = {
00927     100, // Capacity
00928     50, // Number of items
00929     // Size of items (sorted)
00930     94,92,89,88,88,87,86,84,82,82,81,79,77,77,77,76,73,72,70,69,68,
00931     68,65,63,63,61,59,58,57,55,54,52,52,52,51,48,46,43,40,38,37,37,
00932     36,35,35,35,34,34,34,33
00933   };
00934   const int n1c1w4_d[] = {
00935     100, // Capacity
00936     50, // Number of items
00937     // Size of items (sorted)
00938     100,97,95,95,95,95,94,93,93,91,90,89,87,83,82,79,79,78,77,77,
00939     74,71,69,68,68,65,65,64,61,58,55,55,54,53,53,51,51,49,46,44,42,
00940     41,39,38,37,37,37,35,33,31
00941   };
00942   const int n1c1w4_e[] = {
00943     100, // Capacity
00944     50, // Number of items
00945     // Size of items (sorted)
00946     100,99,94,92,92,92,89,88,85,83,83,80,79,79,79,79,77,74,74,73,
00947     71,70,69,68,65,62,62,62,61,61,58,56,56,55,55,55,48,47,46,46,44,
00948     43,43,43,40,40,36,35,32,30
00949   };
00950   const int n1c1w4_f[] = {
00951     100, // Capacity
00952     50, // Number of items
00953     // Size of items (sorted)
00954     98,98,93,93,92,91,89,86,85,84,80,80,79,78,76,70,68,67,66,62,60,
00955     59,59,58,58,53,52,52,50,50,49,48,48,48,47,45,43,41,41,40,40,40,
00956     35,33,32,31,31,30,30,30
00957   };
00958   const int n1c1w4_g[] = {
00959     100, // Capacity
00960     50, // Number of items
00961     // Size of items (sorted)
00962     100,100,100,99,97,95,95,95,93,93,91,90,87,87,86,85,85,84,84,84,
00963     82,80,77,76,72,70,67,66,65,64,59,56,55,52,48,46,45,44,41,38,37,
00964     35,35,34,34,33,33,32,32,31
00965   };
00966   const int n1c1w4_h[] = {
00967     100, // Capacity
00968     50, // Number of items
00969     // Size of items (sorted)
00970     100,100,99,98,98,97,96,92,91,91,91,87,86,85,83,83,81,79,78,78,
00971     75,75,75,74,73,73,70,66,66,65,64,64,63,62,61,60,59,56,55,54,46,
00972     45,44,41,37,35,34,32,31,30
00973   };
00974   const int n1c1w4_i[] = {
00975     100, // Capacity
00976     50, // Number of items
00977     // Size of items (sorted)
00978     95,92,91,91,90,88,87,87,86,86,85,81,79,76,76,76,72,72,69,65,63,
00979     63,63,63,61,61,59,59,58,56,54,54,52,51,50,47,47,45,45,45,43,40,
00980     40,36,35,35,34,32,32,31
00981   };
00982   const int n1c1w4_j[] = {
00983     100, // Capacity
00984     50, // Number of items
00985     // Size of items (sorted)
00986     99,98,93,93,92,90,88,87,87,83,83,81,78,77,77,77,76,75,73,73,71,
00987     68,66,64,63,63,63,62,60,59,58,54,53,52,52,51,49,47,47,42,42,41,
00988     40,40,40,39,35,32,32,31
00989   };
00990   const int n1c1w4_k[] = {
00991     100, // Capacity
00992     50, // Number of items
00993     // Size of items (sorted)
00994     100,98,95,94,94,94,93,92,87,85,85,84,83,82,81,78,78,75,73,72,
00995     71,71,70,70,68,67,67,66,65,64,60,59,58,57,56,56,56,55,55,54,51,
00996     49,46,45,43,43,43,37,36,35
00997   };
00998   const int n1c1w4_l[] = {
00999     100, // Capacity
01000     50, // Number of items
01001     // Size of items (sorted)
01002     100,99,98,98,97,96,95,91,91,90,88,88,87,86,81,80,79,76,75,67,
01003     66,65,65,64,60,59,59,58,57,57,55,53,53,50,49,49,49,46,44,43,42,
01004     38,37,37,36,35,34,34,31,30
01005   };
01006   const int n1c1w4_m[] = {
01007     100, // Capacity
01008     50, // Number of items
01009     // Size of items (sorted)
01010     100,99,99,94,93,92,91,89,88,88,87,80,79,77,75,74,73,71,71,71,
01011     69,66,64,64,64,63,63,63,62,60,60,59,59,59,55,55,55,53,51,49,49,
01012     48,46,46,45,42,42,34,33,31
01013   };
01014   const int n1c1w4_n[] = {
01015     100, // Capacity
01016     50, // Number of items
01017     // Size of items (sorted)
01018     99,97,97,96,96,95,94,93,92,90,86,85,85,84,82,82,82,80,79,75,73,
01019     72,72,71,70,69,69,68,68,66,65,63,61,60,57,55,53,49,48,47,44,41,
01020     41,39,36,34,32,31,31,31
01021   };
01022   const int n1c1w4_o[] = {
01023     100, // Capacity
01024     50, // Number of items
01025     // Size of items (sorted)
01026     100,90,89,89,89,87,84,81,80,77,77,77,74,71,71,71,67,66,65,63,
01027     62,61,60,59,59,57,56,56,54,54,51,51,49,48,48,47,47,46,40,39,37,
01028     36,36,35,34,34,33,32,31,30
01029   };
01030   const int n1c1w4_p[] = {
01031     100, // Capacity
01032     50, // Number of items
01033     // Size of items (sorted)
01034     99,98,95,95,93,93,90,88,87,87,85,83,82,80,79,79,79,77,74,74,73,
01035     73,72,71,70,66,63,61,61,61,60,60,59,57,55,54,51,48,45,43,42,39,
01036     39,37,37,36,36,35,32,32
01037   };
01038   const int n1c1w4_q[] = {
01039     100, // Capacity
01040     50, // Number of items
01041     // Size of items (sorted)
01042     95,94,92,91,91,91,90,89,89,84,84,82,79,74,74,74,70,69,68,67,63,
01043     62,59,59,57,56,56,55,53,52,51,50,50,49,48,48,47,45,43,42,41,41,
01044     41,40,38,35,35,32,31,30
01045   };
01046   const int n1c1w4_r[] = {
01047     100, // Capacity
01048     50, // Number of items
01049     // Size of items (sorted)
01050     100,99,98,97,95,94,93,93,93,92,92,92,92,85,85,83,81,79,77,76,
01051     75,73,71,70,70,69,66,63,60,60,59,59,58,58,57,49,48,47,45,42,41,
01052     41,40,38,38,36,36,35,34,30
01053   };
01054   const int n1c1w4_s[] = {
01055     100, // Capacity
01056     50, // Number of items
01057     // Size of items (sorted)
01058     99,99,98,97,97,94,94,93,91,90,87,87,86,85,85,81,80,78,78,77,76,
01059     72,66,66,64,59,58,57,57,53,52,50,50,50,48,48,47,46,43,40,39,37,
01060     37,36,36,35,33,32,30,30
01061   };
01062   const int n1c1w4_t[] = {
01063     100, // Capacity
01064     50, // Number of items
01065     // Size of items (sorted)
01066     98,96,94,87,86,85,83,81,80,79,77,77,76,75,72,70,69,69,69,68,68,
01067     68,68,67,67,66,65,65,63,62,60,60,60,59,58,56,53,53,52,52,50,50,
01068     49,45,45,44,39,36,32,30
01069   };
01070   const int n1c2w1_a[] = {
01071     120, // Capacity
01072     50, // Number of items
01073     // Size of items (sorted)
01074     100,97,96,92,89,88,88,87,83,75,75,72,71,70,69,66,63,62,62,61,
01075     60,58,50,47,46,40,40,37,36,32,31,30,28,27,27,26,24,18,16,14,13,
01076     12,10,10,10,8,7,5,4,2
01077   };
01078   const int n1c2w1_b[] = {
01079     120, // Capacity
01080     50, // Number of items
01081     // Size of items (sorted)
01082     99,96,96,96,95,95,94,90,90,88,87,84,82,78,77,77,77,75,75,70,70,
01083     69,68,56,54,53,53,50,50,49,48,47,45,38,36,35,34,28,25,21,19,18,
01084     16,13,13,7,7,6,3,3
01085   };
01086   const int n1c2w1_c[] = {
01087     120, // Capacity
01088     50, // Number of items
01089     // Size of items (sorted)
01090     100,97,96,92,89,86,83,83,82,79,77,76,73,73,70,69,69,61,60,60,
01091     60,58,56,56,53,51,49,48,48,48,47,46,42,41,36,35,34,32,32,32,31,
01092     22,17,12,12,6,6,5,3,2
01093   };
01094   const int n1c2w1_d[] = {
01095     120, // Capacity
01096     50, // Number of items
01097     // Size of items (sorted)
01098     98,96,96,87,87,87,86,85,83,83,82,81,77,74,67,65,64,64,63,60,57,
01099     57,56,55,50,49,46,43,43,42,37,33,31,31,27,27,26,25,23,23,19,18,
01100     15,13,10,9,6,3,2,1
01101   };
01102   const int n1c2w1_e[] = {
01103     120, // Capacity
01104     50, // Number of items
01105     // Size of items (sorted)
01106     94,92,89,89,87,82,82,81,80,80,78,71,70,67,66,63,58,52,50,48,46,
01107     36,34,33,31,30,27,26,21,21,20,19,18,18,17,12,11,11,11,11,10,10,
01108     7,7,7,6,5,5,4,3
01109   };
01110   const int n1c2w1_f[] = {
01111     120, // Capacity
01112     50, // Number of items
01113     // Size of items (sorted)
01114     99,95,95,94,91,90,89,84,82,81,78,78,77,73,72,69,62,60,59,58,56,
01115     56,52,52,51,48,48,47,47,45,43,42,38,32,32,31,28,28,28,26,23,21,
01116     20,18,14,12,8,3,2,1
01117   };
01118   const int n1c2w1_g[] = {
01119     120, // Capacity
01120     50, // Number of items
01121     // Size of items (sorted)
01122     100,100,99,96,96,95,94,90,88,84,81,79,76,70,67,65,60,60,57,57,
01123     56,52,47,45,44,42,39,37,36,36,35,31,31,28,27,27,25,19,18,17,14,
01124     14,12,9,9,9,9,3,2,1
01125   };
01126   const int n1c2w1_h[] = {
01127     120, // Capacity
01128     50, // Number of items
01129     // Size of items (sorted)
01130     99,97,94,94,90,90,87,83,82,81,79,77,76,76,75,74,72,67,66,65,63,
01131     59,59,55,51,50,50,49,47,41,41,39,38,38,37,37,35,34,33,33,21,20,
01132     18,15,14,9,8,3,1,1
01133   };
01134   const int n1c2w1_i[] = {
01135     120, // Capacity
01136     50, // Number of items
01137     // Size of items (sorted)
01138     100,100,89,89,89,89,88,87,81,78,78,77,76,75,74,73,70,70,69,66,
01139     66,64,64,64,63,61,60,58,54,52,51,50,49,48,48,48,46,45,45,43,40,
01140     39,35,34,33,24,9,4,4,1
01141   };
01142   const int n1c2w1_j[] = {
01143     120, // Capacity
01144     50, // Number of items
01145     // Size of items (sorted)
01146     99,98,96,96,95,92,91,89,88,87,86,84,82,82,79,79,78,77,75,72,69,
01147     66,64,63,61,60,56,55,54,54,49,49,48,44,44,44,41,41,39,27,23,22,
01148     22,21,15,13,7,5,3,1
01149   };
01150   const int n1c2w1_k[] = {
01151     120, // Capacity
01152     50, // Number of items
01153     // Size of items (sorted)
01154     97,96,96,94,94,91,88,87,85,81,81,77,74,74,74,71,69,68,68,66,65,
01155     63,60,59,57,57,46,46,45,45,44,43,41,37,35,35,32,30,28,27,25,23,
01156     23,19,18,16,14,14,10,8
01157   };
01158   const int n1c2w1_l[] = {
01159     120, // Capacity
01160     50, // Number of items
01161     // Size of items (sorted)
01162     98,98,98,97,97,93,92,91,90,89,89,82,82,77,76,75,74,74,73,63,62,
01163     62,61,60,56,51,49,49,47,47,45,44,43,42,39,37,33,33,32,28,25,21,
01164     20,19,11,11,6,3,2,1
01165   };
01166   const int n1c2w1_m[] = {
01167     120, // Capacity
01168     50, // Number of items
01169     // Size of items (sorted)
01170     100,99,98,98,95,93,92,89,80,80,78,77,77,73,72,71,71,71,70,70,
01171     67,66,66,65,64,60,59,53,50,48,48,47,47,45,39,38,37,33,33,28,27,
01172     19,15,14,14,12,9,9,9,1
01173   };
01174   const int n1c2w1_n[] = {
01175     120, // Capacity
01176     50, // Number of items
01177     // Size of items (sorted)
01178     93,87,85,85,82,79,76,75,70,70,69,69,68,67,66,64,62,61,59,58,58,
01179     57,56,56,55,53,53,49,45,45,43,42,40,30,30,24,24,22,22,21,20,18,
01180     18,14,13,11,9,9,6,3
01181   };
01182   const int n1c2w1_o[] = {
01183     120, // Capacity
01184     50, // Number of items
01185     // Size of items (sorted)
01186     99,86,83,83,78,76,68,59,58,58,54,53,53,51,51,48,47,45,43,40,37,
01187     32,32,32,32,31,31,28,24,22,20,19,19,19,19,15,14,13,12,12,11,10,
01188     10,10,10,6,5,4,2,1
01189   };
01190   const int n1c2w1_p[] = {
01191     120, // Capacity
01192     50, // Number of items
01193     // Size of items (sorted)
01194     97,96,94,94,93,80,79,78,77,77,76,76,72,72,71,70,67,67,63,60,59,
01195     55,54,52,51,49,48,47,46,43,34,32,28,27,27,26,25,23,22,20,17,14,
01196     13,12,12,10,5,4,3,2
01197   };
01198   const int n1c2w1_q[] = {
01199     120, // Capacity
01200     50, // Number of items
01201     // Size of items (sorted)
01202     98,96,95,91,91,90,88,87,83,83,77,74,73,72,72,70,70,67,66,66,63,
01203     60,59,58,58,57,56,55,54,45,45,41,31,31,29,26,24,21,18,16,16,15,
01204     14,14,9,9,8,8,6,2
01205   };
01206   const int n1c2w1_r[] = {
01207     120, // Capacity
01208     50, // Number of items
01209     // Size of items (sorted)
01210     100,99,98,96,95,95,92,91,87,85,85,84,78,78,77,76,74,69,68,67,
01211     65,64,62,55,52,45,43,41,40,38,33,29,27,27,26,24,24,24,23,22,22,
01212     21,14,13,12,10,8,2,1,1
01213   };
01214   const int n1c2w1_s[] = {
01215     120, // Capacity
01216     50, // Number of items
01217     // Size of items (sorted)
01218     97,93,92,90,87,83,82,82,80,80,78,78,72,71,68,67,63,62,60,59,56,
01219     56,55,54,54,51,50,48,46,45,42,41,35,32,32,28,26,25,25,25,24,22,
01220     21,21,14,12,10,9,9,7
01221   };
01222   const int n1c2w1_t[] = {
01223     120, // Capacity
01224     50, // Number of items
01225     // Size of items (sorted)
01226     100,93,93,89,89,87,81,81,79,78,77,70,68,67,66,66,65,64,62,61,
01227     60,57,53,53,52,52,52,48,44,44,43,43,42,41,39,39,37,35,34,30,30,
01228     29,26,25,16,16,10,10,7,6
01229   };
01230   const int n1c2w2_a[] = {
01231     120, // Capacity
01232     50, // Number of items
01233     // Size of items (sorted)
01234     100,97,97,95,93,87,87,86,82,82,78,76,76,75,74,71,68,66,65,63,
01235     59,59,58,58,57,52,51,46,46,46,43,42,42,41,41,41,38,37,36,36,32,
01236     32,31,30,27,25,22,22,22,21
01237   };
01238   const int n1c2w2_b[] = {
01239     120, // Capacity
01240     50, // Number of items
01241     // Size of items (sorted)
01242     100,98,98,97,95,94,90,90,89,86,85,83,81,79,79,74,72,72,71,68,
01243     67,65,64,64,62,59,58,56,55,55,54,51,51,50,47,46,45,44,43,40,36,
01244     34,33,31,29,28,27,27,26,21
01245   };
01246   const int n1c2w2_c[] = {
01247     120, // Capacity
01248     50, // Number of items
01249     // Size of items (sorted)
01250     100,98,97,95,93,91,90,87,85,83,83,81,81,79,76,74,74,73,73,71,
01251     71,70,67,67,66,62,62,60,57,54,54,53,52,51,51,50,49,48,48,45,44,
01252     44,40,36,34,32,31,27,26,20
01253   };
01254   const int n1c2w2_d[] = {
01255     120, // Capacity
01256     50, // Number of items
01257     // Size of items (sorted)
01258     99,98,98,97,96,90,88,86,82,82,80,79,76,76,76,74,69,67,66,64,62,
01259     59,55,52,51,51,50,49,44,43,41,41,41,41,41,37,35,33,32,32,31,31,
01260     31,30,29,23,23,22,20,20
01261   };
01262   const int n1c2w2_e[] = {
01263     120, // Capacity
01264     50, // Number of items
01265     // Size of items (sorted)
01266     100,99,99,99,99,98,98,94,93,92,92,89,89,89,84,83,80,80,78,77,
01267     75,74,74,70,70,68,68,66,63,62,60,59,58,58,58,55,54,53,52,49,42,
01268     41,36,35,35,31,26,23,22,20
01269   };
01270   const int n1c2w2_f[] = {
01271     120, // Capacity
01272     50, // Number of items
01273     // Size of items (sorted)
01274     100,100,99,99,98,91,90,84,83,81,78,78,75,73,72,72,71,70,68,66,
01275     62,59,58,58,57,54,53,53,51,51,51,51,48,45,45,42,42,39,37,37,35,
01276     32,31,31,26,26,25,21,21,20
01277   };
01278   const int n1c2w2_g[] = {
01279     120, // Capacity
01280     50, // Number of items
01281     // Size of items (sorted)
01282     100,97,94,93,93,91,89,89,86,85,85,82,81,80,80,80,80,79,77,75,
01283     74,72,67,67,63,62,59,58,58,57,54,54,53,51,48,47,46,44,44,41,41,
01284     39,36,35,33,32,32,29,28,24
01285   };
01286   const int n1c2w2_h[] = {
01287     120, // Capacity
01288     50, // Number of items
01289     // Size of items (sorted)
01290     99,98,93,93,91,88,85,82,80,78,76,70,68,67,66,65,61,61,57,56,56,
01291     53,52,52,52,51,48,47,46,44,43,43,43,41,41,41,37,37,36,36,35,33,
01292     33,32,31,27,26,22,22,21
01293   };
01294   const int n1c2w2_i[] = {
01295     120, // Capacity
01296     50, // Number of items
01297     // Size of items (sorted)
01298     96,92,92,91,91,90,89,88,83,83,81,79,77,76,76,71,70,68,68,66,63,
01299     63,63,62,60,60,58,57,53,53,52,52,49,47,45,44,41,38,37,34,33,32,
01300     31,29,27,26,25,23,21,21
01301   };
01302   const int n1c2w2_j[] = {
01303     120, // Capacity
01304     50, // Number of items
01305     // Size of items (sorted)
01306     100,98,96,95,95,93,91,89,89,88,88,81,80,78,73,72,69,67,64,61,
01307     60,54,52,52,51,50,50,49,49,47,46,44,43,42,41,40,40,39,36,33,33,
01308     28,26,26,25,23,22,22,22,20
01309   };
01310   const int n1c2w2_k[] = {
01311     120, // Capacity
01312     50, // Number of items
01313     // Size of items (sorted)
01314     97,97,95,91,91,89,85,85,82,82,81,75,74,73,70,70,70,69,68,67,67,
01315     67,65,63,63,63,62,61,60,60,55,48,46,45,45,45,45,44,43,43,42,41,
01316     39,37,36,30,28,22,22,22
01317   };
01318   const int n1c2w2_l[] = {
01319     120, // Capacity
01320     50, // Number of items
01321     // Size of items (sorted)
01322     96,95,93,92,90,87,87,86,86,86,85,84,83,82,78,78,78,78,77,76,76,
01323     72,72,71,70,68,65,65,62,59,58,51,42,42,40,38,38,36,34,34,33,32,
01324     30,29,29,27,26,25,24,23
01325   };
01326   const int n1c2w2_m[] = {
01327     120, // Capacity
01328     50, // Number of items
01329     // Size of items (sorted)
01330     100,99,99,99,97,95,95,94,93,92,92,88,86,86,86,84,79,78,78,77,
01331     76,69,68,65,61,60,58,57,57,55,54,54,53,53,52,52,51,48,47,43,43,
01332     40,39,38,36,34,33,28,27,25
01333   };
01334   const int n1c2w2_n[] = {
01335     120, // Capacity
01336     50, // Number of items
01337     // Size of items (sorted)
01338     99,97,95,94,88,87,85,83,82,78,75,72,71,71,70,69,67,67,65,64,63,
01339     62,59,59,58,58,58,58,58,54,53,53,52,49,49,48,45,45,44,43,43,42,
01340     40,38,36,34,30,30,24,20
01341   };
01342   const int n1c2w2_o[] = {
01343     120, // Capacity
01344     50, // Number of items
01345     // Size of items (sorted)
01346     100,99,98,96,94,90,89,88,88,86,84,81,81,80,79,79,78,76,72,72,
01347     72,68,68,65,63,63,63,62,62,57,57,55,48,48,47,45,44,44,41,39,36,
01348     33,31,30,28,26,25,24,22,20
01349   };
01350   const int n1c2w2_p[] = {
01351     120, // Capacity
01352     50, // Number of items
01353     // Size of items (sorted)
01354     94,93,91,90,90,88,87,82,77,75,72,71,70,70,69,69,66,65,63,59,57,
01355     56,53,51,48,48,48,47,44,44,43,42,41,40,39,38,37,36,36,32,31,31,
01356     29,29,27,23,23,21,20,20
01357   };
01358   const int n1c2w2_q[] = {
01359     120, // Capacity
01360     50, // Number of items
01361     // Size of items (sorted)
01362     96,96,91,90,89,86,86,84,83,83,82,82,82,82,79,75,73,72,71,69,68,
01363     67,67,66,65,63,62,61,59,59,59,59,58,56,56,55,54,53,50,45,41,39,
01364     35,33,29,25,24,21,20,20
01365   };
01366   const int n1c2w2_r[] = {
01367     120, // Capacity
01368     50, // Number of items
01369     // Size of items (sorted)
01370     99,98,96,91,88,88,86,86,82,82,81,78,77,77,76,76,72,72,70,68,67,
01371     64,61,60,59,56,55,49,48,47,47,46,44,43,43,42,40,40,39,38,35,34,
01372     30,30,29,27,26,21,20,20
01373   };
01374   const int n1c2w2_s[] = {
01375     120, // Capacity
01376     50, // Number of items
01377     // Size of items (sorted)
01378     100,94,94,92,91,87,87,85,82,78,76,75,72,72,72,69,61,61,61,61,
01379     61,56,55,54,53,51,51,50,47,44,44,44,44,42,42,39,38,36,34,33,33,
01380     32,31,30,29,28,26,25,23,23
01381   };
01382   const int n1c2w2_t[] = {
01383     120, // Capacity
01384     50, // Number of items
01385     // Size of items (sorted)
01386     100,96,96,91,84,83,83,83,81,81,80,80,77,77,72,70,70,68,68,67,
01387     65,64,63,62,60,59,58,51,51,50,49,47,47,47,46,45,43,43,41,38,37,
01388     36,35,31,31,29,28,27,26,20
01389   };
01390   const int n1c2w4_a[] = {
01391     120, // Capacity
01392     50, // Number of items
01393     // Size of items (sorted)
01394     100,99,97,97,96,96,95,92,92,90,90,88,87,87,85,84,83,82,81,79,
01395     74,68,68,63,59,58,56,55,55,51,50,49,49,49,47,44,44,42,39,37,37,
01396     34,34,34,33,33,31,30,30,30
01397   };
01398   const int n1c2w4_b[] = {
01399     120, // Capacity
01400     50, // Number of items
01401     // Size of items (sorted)
01402     99,96,94,93,93,91,87,87,87,84,84,83,83,83,83,83,82,81,81,78,77,
01403     77,77,76,67,65,61,61,59,58,53,53,50,49,48,47,47,46,46,44,43,42,
01404     41,41,38,35,34,32,32,31
01405   };
01406   const int n1c2w4_c[] = {
01407     120, // Capacity
01408     50, // Number of items
01409     // Size of items (sorted)
01410     100,100,99,96,96,93,91,90,90,87,84,83,80,80,80,75,74,72,72,71,
01411     71,70,69,66,65,63,60,58,57,56,54,54,53,53,53,51,51,49,46,43,40,
01412     39,38,37,37,34,33,33,31,31
01413   };
01414   const int n1c2w4_d[] = {
01415     120, // Capacity
01416     50, // Number of items
01417     // Size of items (sorted)
01418     97,97,96,94,93,91,89,89,86,83,79,78,77,77,77,75,75,74,71,68,68,
01419     67,65,63,61,61,58,57,56,54,48,46,44,43,41,41,40,38,36,36,35,35,
01420     35,35,35,34,33,33,33,31
01421   };
01422   const int n1c2w4_e[] = {
01423     120, // Capacity
01424     50, // Number of items
01425     // Size of items (sorted)
01426     100,99,99,97,97,96,96,96,93,93,91,84,83,81,79,78,77,74,71,67,
01427     66,63,62,61,61,61,59,59,59,58,57,56,54,54,53,53,51,50,49,48,45,
01428     45,45,40,40,39,39,34,32,30
01429   };
01430   const int n1c2w4_f[] = {
01431     120, // Capacity
01432     50, // Number of items
01433     // Size of items (sorted)
01434     99,98,98,97,96,93,88,86,86,85,85,81,80,80,77,76,74,73,73,72,69,
01435     69,67,66,66,65,64,63,63,62,60,59,59,59,54,54,51,49,49,46,43,43,
01436     38,38,38,38,36,36,35,33
01437   };
01438   const int n1c2w4_g[] = {
01439     120, // Capacity
01440     50, // Number of items
01441     // Size of items (sorted)
01442     100,99,99,97,95,93,91,91,90,90,88,88,87,86,82,80,79,75,70,69,
01443     68,66,66,64,62,62,61,60,60,57,56,55,53,51,47,46,44,42,38,37,36,
01444     36,36,36,35,35,32,32,31,31
01445   };
01446   const int n1c2w4_h[] = {
01447     120, // Capacity
01448     50, // Number of items
01449     // Size of items (sorted)
01450     99,98,97,95,94,93,93,93,92,91,91,89,86,85,81,77,74,70,69,68,67,
01451     66,66,65,63,62,61,60,59,58,57,57,56,56,52,50,49,48,47,43,43,43,
01452     40,39,37,36,36,35,30,30
01453   };
01454   const int n1c2w4_i[] = {
01455     120, // Capacity
01456     50, // Number of items
01457     // Size of items (sorted)
01458     97,92,91,88,87,86,85,85,84,84,84,83,80,80,79,78,76,76,76,76,75,
01459     75,75,74,74,74,72,71,71,70,67,63,59,59,57,55,55,54,50,49,44,42,
01460     40,38,37,35,31,31,30,30
01461   };
01462   const int n1c2w4_j[] = {
01463     120, // Capacity
01464     50, // Number of items
01465     // Size of items (sorted)
01466     100,97,96,90,86,84,83,82,79,78,76,74,72,70,70,70,68,68,67,67,
01467     66,66,66,65,64,64,63,63,62,59,57,57,57,55,54,54,51,49,48,47,43,
01468     41,40,40,37,37,34,33,32,32
01469   };
01470   const int n1c2w4_k[] = {
01471     120, // Capacity
01472     50, // Number of items
01473     // Size of items (sorted)
01474     100,100,100,99,98,93,91,89,88,87,84,82,80,80,78,78,77,77,77,76,
01475     75,75,73,71,71,70,65,61,61,60,59,58,58,55,53,52,51,49,49,44,43,
01476     42,40,40,40,39,38,38,32,32
01477   };
01478   const int n1c2w4_l[] = {
01479     120, // Capacity
01480     50, // Number of items
01481     // Size of items (sorted)
01482     99,99,98,98,94,93,92,90,90,89,89,88,84,81,79,78,77,77,76,75,74,
01483     72,72,70,69,66,64,63,60,57,57,56,54,52,47,45,43,43,43,41,40,39,
01484     39,38,37,37,36,35,34,30
01485   };
01486   const int n1c2w4_m[] = {
01487     120, // Capacity
01488     50, // Number of items
01489     // Size of items (sorted)
01490     99,99,99,97,95,94,92,91,90,90,90,90,88,83,79,78,78,76,76,70,68,
01491     67,66,63,62,62,61,60,58,58,58,58,56,56,55,54,53,51,50,48,48,47,
01492     42,37,37,37,36,32,31,30
01493   };
01494   const int n1c2w4_n[] = {
01495     120, // Capacity
01496     50, // Number of items
01497     // Size of items (sorted)
01498     98,96,93,92,91,91,91,90,90,90,89,89,88,88,84,82,77,76,76,75,74,
01499     73,72,69,69,66,65,59,59,58,57,56,54,53,52,52,51,51,49,48,47,47,
01500     46,42,41,40,39,36,35,33
01501   };
01502   const int n1c2w4_o[] = {
01503     120, // Capacity
01504     50, // Number of items
01505     // Size of items (sorted)
01506     100,97,94,93,91,91,86,84,83,78,78,78,77,77,77,77,75,74,74,73,
01507     71,69,68,64,64,62,62,61,57,54,54,53,50,49,49,48,47,47,47,46,45,
01508     45,44,44,42,40,39,35,35,35
01509   };
01510   const int n1c2w4_p[] = {
01511     120, // Capacity
01512     50, // Number of items
01513     // Size of items (sorted)
01514     98,98,95,95,93,91,91,89,89,87,83,83,82,78,77,76,75,74,72,67,62,
01515     61,59,57,55,55,54,52,50,49,49,48,47,47,45,45,44,44,43,43,42,40,
01516     39,39,38,37,36,33,33,31
01517   };
01518   const int n1c2w4_q[] = {
01519     120, // Capacity
01520     50, // Number of items
01521     // Size of items (sorted)
01522     100,98,98,98,91,90,90,88,87,87,87,86,86,83,82,81,80,80,76,73,
01523     72,71,71,70,69,68,68,67,67,66,65,64,60,54,53,52,52,47,46,46,46,
01524     41,40,37,37,36,36,35,34,33
01525   };
01526   const int n1c2w4_r[] = {
01527     120, // Capacity
01528     50, // Number of items
01529     // Size of items (sorted)
01530     100,99,99,98,95,95,95,94,90,87,87,86,85,85,83,82,80,79,79,76,
01531     73,73,72,71,70,69,69,68,68,66,65,63,63,62,58,57,56,55,54,53,52,
01532     49,47,46,46,43,42,35,34,31
01533   };
01534   const int n1c2w4_s[] = {
01535     120, // Capacity
01536     50, // Number of items
01537     // Size of items (sorted)
01538     98,98,93,93,93,92,92,92,92,90,89,86,86,85,85,84,83,83,83,81,81,
01539     78,77,77,75,74,71,70,70,68,66,66,65,65,63,62,61,61,59,57,50,50,
01540     49,49,47,44,40,32,31,30
01541   };
01542   const int n1c2w4_t[] = {
01543     120, // Capacity
01544     50, // Number of items
01545     // Size of items (sorted)
01546     97,95,91,89,88,87,86,83,82,82,81,73,73,69,69,68,68,68,65,62,61,
01547     60,60,60,58,58,58,56,55,54,54,52,51,51,51,49,49,47,45,44,43,42,
01548     42,41,41,40,36,33,30,30
01549   };
01550   const int n1c3w1_a[] = {
01551     150, // Capacity
01552     50, // Number of items
01553     // Size of items (sorted)
01554     100,100,96,94,90,88,87,85,83,81,80,80,77,74,65,62,62,62,61,59,
01555     59,57,54,51,45,45,40,38,37,37,37,36,29,29,27,26,22,22,21,17,14,
01556     14,8,7,6,5,5,3,3,1
01557   };
01558   const int n1c3w1_b[] = {
01559     150, // Capacity
01560     50, // Number of items
01561     // Size of items (sorted)
01562     95,88,88,86,85,84,84,82,81,79,72,71,69,69,69,68,68,65,61,61,61,
01563     61,60,58,57,57,53,44,43,36,29,29,27,23,23,22,21,17,14,14,14,13,
01564     12,11,11,6,5,3,3,2
01565   };
01566   const int n1c3w1_c[] = {
01567     150, // Capacity
01568     50, // Number of items
01569     // Size of items (sorted)
01570     100,99,95,94,87,85,85,83,81,81,80,80,77,76,75,74,73,73,72,66,
01571     63,60,52,50,47,45,44,43,39,39,38,38,35,34,33,32,25,25,23,20,17,
01572     15,15,14,12,11,10,10,8,8
01573   };
01574   const int n1c3w1_d[] = {
01575     150, // Capacity
01576     50, // Number of items
01577     // Size of items (sorted)
01578     99,96,95,95,92,91,90,86,86,86,85,80,77,77,76,76,71,70,70,69,68,
01579     64,64,61,60,60,56,55,53,52,50,48,44,41,40,38,38,37,35,21,19,14,
01580     12,9,6,6,6,4,3,2
01581   };
01582   const int n1c3w1_e[] = {
01583     150, // Capacity
01584     50, // Number of items
01585     // Size of items (sorted)
01586     99,97,97,96,95,89,88,83,81,81,79,77,76,75,74,61,55,51,50,50,48,
01587     48,47,46,45,42,42,38,35,34,32,32,31,26,25,21,14,13,11,10,9,9,
01588     9,8,8,7,5,5,5,1
01589   };
01590   const int n1c3w1_f[] = {
01591     150, // Capacity
01592     50, // Number of items
01593     // Size of items (sorted)
01594     100,98,97,96,95,93,92,88,88,86,84,83,80,80,78,77,76,76,76,74,
01595     73,70,69,68,65,64,63,62,62,61,60,60,53,51,51,42,41,28,26,23,22,
01596     21,16,13,9,9,7,5,2,2
01597   };
01598   const int n1c3w1_g[] = {
01599     150, // Capacity
01600     50, // Number of items
01601     // Size of items (sorted)
01602     97,92,91,91,88,86,85,84,79,76,75,67,66,65,62,61,61,58,54,54,50,
01603     47,46,45,44,44,42,37,37,30,27,27,26,23,23,21,20,20,19,13,12,11,
01604     10,9,9,6,5,5,5,1
01605   };
01606   const int n1c3w1_h[] = {
01607     150, // Capacity
01608     50, // Number of items
01609     // Size of items (sorted)
01610     99,91,89,89,89,88,86,85,83,82,80,80,80,80,78,76,73,69,67,66,65,
01611     65,64,64,60,60,57,56,56,52,51,45,43,42,42,38,37,32,32,32,29,28,
01612     26,25,18,15,10,6,6,4
01613   };
01614   const int n1c3w1_i[] = {
01615     150, // Capacity
01616     50, // Number of items
01617     // Size of items (sorted)
01618     100,98,97,95,87,87,87,84,80,77,76,73,71,66,66,62,61,60,60,60,
01619     57,56,53,52,51,49,46,44,44,43,43,38,33,31,30,29,29,28,24,22,18,
01620     17,16,16,16,15,12,8,3,2
01621   };
01622   const int n1c3w1_j[] = {
01623     150, // Capacity
01624     50, // Number of items
01625     // Size of items (sorted)
01626     99,98,92,91,90,88,87,86,82,80,77,74,73,72,72,71,69,69,63,61,55,
01627     54,53,50,48,48,48,37,37,37,34,33,32,29,26,22,19,17,15,14,10,9,
01628     7,3,3,2,2,2,1,1
01629   };
01630   const int n1c3w1_k[] = {
01631     150, // Capacity
01632     50, // Number of items
01633     // Size of items (sorted)
01634     100,96,95,94,94,92,92,90,86,84,77,73,66,66,59,56,56,56,55,54,
01635     53,53,53,52,49,48,47,45,45,45,41,41,41,37,36,24,22,21,20,18,16,
01636     15,14,14,13,12,10,8,4,1
01637   };
01638   const int n1c3w1_l[] = {
01639     150, // Capacity
01640     50, // Number of items
01641     // Size of items (sorted)
01642     99,99,93,93,90,90,87,87,81,81,80,78,77,76,68,64,63,62,60,60,59,
01643     58,53,52,52,47,45,44,44,42,39,39,36,35,29,29,28,26,25,18,9,7,
01644     7,7,7,6,5,5,5,1
01645   };
01646   const int n1c3w1_m[] = {
01647     150, // Capacity
01648     50, // Number of items
01649     // Size of items (sorted)
01650     100,100,99,94,90,88,88,86,86,84,84,80,77,73,70,69,69,66,66,61,
01651     58,58,57,57,52,51,47,44,43,42,36,34,28,27,26,25,21,18,18,17,13,
01652     12,12,12,11,9,8,7,4,4
01653   };
01654   const int n1c3w1_n[] = {
01655     150, // Capacity
01656     50, // Number of items
01657     // Size of items (sorted)
01658     98,97,91,90,90,90,88,87,87,85,83,81,79,78,78,76,74,74,73,72,68,
01659     66,64,63,61,57,56,56,56,55,55,48,48,46,44,44,39,37,35,35,34,32,
01660     31,29,27,26,19,18,17,11
01661   };
01662   const int n1c3w1_o[] = {
01663     150, // Capacity
01664     50, // Number of items
01665     // Size of items (sorted)
01666     96,96,96,94,94,87,86,84,84,83,82,82,80,77,75,57,57,56,55,54,52,
01667     51,48,48,48,46,46,45,42,34,34,34,32,32,30,23,16,16,16,15,15,14,
01668     12,10,6,6,3,1,1,1
01669   };
01670   const int n1c3w1_p[] = {
01671     150, // Capacity
01672     50, // Number of items
01673     // Size of items (sorted)
01674     99,99,98,98,96,93,93,92,91,89,85,82,80,79,78,73,73,71,70,69,69,
01675     61,61,55,54,52,47,47,46,43,43,42,41,38,36,35,34,28,27,25,24,21,
01676     17,13,10,9,6,5,5,2
01677   };
01678   const int n1c3w1_q[] = {
01679     150, // Capacity
01680     50, // Number of items
01681     // Size of items (sorted)
01682     100,100,100,100,98,96,95,93,90,89,86,86,85,85,84,81,79,78,74,
01683     70,69,68,66,62,62,61,58,56,55,54,53,51,48,44,42,40,36,35,33,32,
01684     31,24,23,23,18,13,12,4,4,2
01685   };
01686   const int n1c3w1_r[] = {
01687     150, // Capacity
01688     50, // Number of items
01689     // Size of items (sorted)
01690     100,99,97,97,97,95,94,91,88,87,87,86,86,86,82,77,77,75,74,73,
01691     72,71,70,65,63,62,60,59,56,56,51,50,50,49,49,47,47,46,36,29,23,
01692     23,21,20,18,16,13,11,9,3
01693   };
01694   const int n1c3w1_s[] = {
01695     150, // Capacity
01696     50, // Number of items
01697     // Size of items (sorted)
01698     95,90,88,87,86,83,79,78,76,75,71,70,70,68,64,63,63,61,59,58,57,
01699     57,53,52,52,49,44,40,36,36,32,29,25,23,23,22,22,20,19,19,19,17,
01700     16,11,11,7,6,5,3,2
01701   };
01702   const int n1c3w1_t[] = {
01703     150, // Capacity
01704     50, // Number of items
01705     // Size of items (sorted)
01706     98,98,97,96,93,93,92,89,83,82,76,76,76,74,70,69,67,66,66,65,62,
01707     60,58,56,56,55,55,54,53,51,49,47,42,35,31,31,26,22,22,22,18,17,
01708     17,17,16,9,8,5,4,4
01709   };
01710   const int n1c3w2_a[] = {
01711     150, // Capacity
01712     50, // Number of items
01713     // Size of items (sorted)
01714     100,96,94,93,91,91,91,88,84,83,80,78,78,76,75,74,72,72,70,65,
01715     61,60,56,52,51,51,48,46,45,38,38,37,37,37,36,35,35,32,32,31,30,
01716     29,29,28,27,27,23,23,22,21
01717   };
01718   const int n1c3w2_b[] = {
01719     150, // Capacity
01720     50, // Number of items
01721     // Size of items (sorted)
01722     98,96,95,94,92,89,88,88,87,87,86,85,83,80,80,77,76,76,73,72,71,
01723     69,69,69,57,57,53,50,45,45,44,44,43,42,37,36,36,35,35,34,33,31,
01724     30,27,24,24,23,21,20,20
01725   };
01726   const int n1c3w2_c[] = {
01727     150, // Capacity
01728     50, // Number of items
01729     // Size of items (sorted)
01730     98,98,96,95,94,93,92,91,89,88,88,88,86,83,83,82,80,79,78,76,76,
01731     75,73,67,63,63,62,55,54,53,52,51,51,51,47,45,45,42,42,40,37,37,
01732     36,36,29,29,25,24,20,20
01733   };
01734   const int n1c3w2_d[] = {
01735     150, // Capacity
01736     50, // Number of items
01737     // Size of items (sorted)
01738     100,99,98,96,94,92,90,89,89,89,87,86,81,80,78,77,74,74,72,72,
01739     63,62,60,60,55,55,54,53,50,50,46,46,45,42,42,41,38,35,34,33,33,
01740     32,28,28,27,26,23,21,21,20
01741   };
01742   const int n1c3w2_e[] = {
01743     150, // Capacity
01744     50, // Number of items
01745     // Size of items (sorted)
01746     100,100,99,96,95,94,92,92,90,89,89,84,82,80,80,79,74,74,72,71,
01747     69,67,67,64,62,60,60,59,58,55,51,48,47,46,45,43,42,41,41,40,38,
01748     34,33,32,27,26,24,24,23,20
01749   };
01750   const int n1c3w2_f[] = {
01751     150, // Capacity
01752     50, // Number of items
01753     // Size of items (sorted)
01754     100,99,99,98,97,96,93,91,89,86,85,82,78,76,75,74,73,71,68,68,
01755     66,65,65,64,63,63,63,63,63,62,60,59,56,55,55,53,51,50,48,45,43,
01756     43,42,42,39,39,35,31,27,26
01757   };
01758   const int n1c3w2_g[] = {
01759     150, // Capacity
01760     50, // Number of items
01761     // Size of items (sorted)
01762     98,98,98,96,93,93,92,91,90,90,87,87,86,85,83,82,81,78,78,75,75,
01763     74,74,72,72,71,70,69,68,66,61,60,60,59,57,53,51,42,40,40,35,34,
01764     34,31,30,30,24,22,21,20
01765   };
01766   const int n1c3w2_h[] = {
01767     150, // Capacity
01768     50, // Number of items
01769     // Size of items (sorted)
01770     99,98,98,97,97,95,94,93,91,91,88,87,82,80,80,79,79,79,75,74,73,
01771     72,71,69,68,66,63,63,61,60,58,58,55,54,53,53,52,50,46,45,44,42,
01772     40,38,37,35,29,24,24,20
01773   };
01774   const int n1c3w2_i[] = {
01775     150, // Capacity
01776     50, // Number of items
01777     // Size of items (sorted)
01778     96,95,91,89,87,86,85,81,78,78,68,67,66,66,65,62,61,60,60,59,58,
01779     56,54,51,50,50,49,49,49,48,47,46,46,46,45,45,44,41,41,41,40,36,
01780     35,34,33,32,31,27,26,26
01781   };
01782   const int n1c3w2_j[] = {
01783     150, // Capacity
01784     50, // Number of items
01785     // Size of items (sorted)
01786     99,96,95,95,94,93,93,92,91,91,90,89,87,86,86,84,81,80,73,68,66,
01787     64,62,61,61,59,59,56,55,54,49,48,48,47,46,45,45,43,42,41,41,40,
01788     39,37,36,34,32,26,24,20
01789   };
01790   const int n1c3w2_k[] = {
01791     150, // Capacity
01792     50, // Number of items
01793     // Size of items (sorted)
01794     95,94,93,93,91,89,89,89,88,85,82,82,78,78,77,76,73,73,73,70,70,
01795     70,70,69,68,66,63,62,59,55,55,53,51,49,42,42,41,41,40,38,35,32,
01796     31,30,30,28,28,24,23,23
01797   };
01798   const int n1c3w2_l[] = {
01799     150, // Capacity
01800     50, // Number of items
01801     // Size of items (sorted)
01802     99,99,98,98,97,95,92,92,87,85,84,83,80,78,77,75,73,73,69,68,66,
01803     63,63,63,59,57,56,56,53,53,51,50,50,48,48,46,46,44,43,42,39,37,
01804     34,32,29,25,24,22,22,21
01805   };
01806   const int n1c3w2_m[] = {
01807     150, // Capacity
01808     50, // Number of items
01809     // Size of items (sorted)
01810     100,99,96,94,92,91,91,89,85,84,81,81,79,79,78,77,76,75,74,73,
01811     67,65,64,63,63,59,57,57,54,52,51,49,49,47,46,46,44,44,43,43,40,
01812     38,34,33,32,31,30,29,25,22
01813   };
01814   const int n1c3w2_n[] = {
01815     150, // Capacity
01816     50, // Number of items
01817     // Size of items (sorted)
01818     98,95,95,91,91,89,89,88,88,87,86,84,83,82,80,79,78,75,74,74,73,
01819     72,72,70,70,68,68,67,65,59,58,58,57,55,54,53,51,42,41,39,37,36,
01820     35,34,32,25,25,21,21,20
01821   };
01822   const int n1c3w2_o[] = {
01823     150, // Capacity
01824     50, // Number of items
01825     // Size of items (sorted)
01826     99,99,96,93,88,83,82,80,79,79,77,77,75,75,73,73,72,71,71,71,71,
01827     69,69,67,62,62,61,58,58,56,54,53,52,49,46,45,45,41,40,39,35,35,
01828     34,33,31,27,27,26,22,21
01829   };
01830   const int n1c3w2_p[] = {
01831     150, // Capacity
01832     50, // Number of items
01833     // Size of items (sorted)
01834     95,94,88,88,88,86,85,84,83,79,73,72,72,72,71,70,64,63,61,58,55,
01835     53,53,52,51,51,51,48,48,46,45,40,39,38,36,36,35,33,32,28,25,24,
01836     24,23,23,23,22,22,20,20
01837   };
01838   const int n1c3w2_q[] = {
01839     150, // Capacity
01840     50, // Number of items
01841     // Size of items (sorted)
01842     96,91,87,86,84,83,83,83,81,80,79,74,72,70,70,67,62,61,60,59,58,
01843     56,55,55,54,52,51,51,51,50,49,48,44,43,43,42,40,39,38,34,34,34,
01844     33,32,31,31,29,29,22,21
01845   };
01846   const int n1c3w2_r[] = {
01847     150, // Capacity
01848     50, // Number of items
01849     // Size of items (sorted)
01850     100,98,91,87,82,78,77,77,77,75,75,74,72,72,72,70,70,66,66,65,
01851     63,63,62,59,57,56,55,53,52,51,49,48,47,46,46,44,44,42,36,35,34,
01852     34,31,30,29,26,23,22,21,20
01853   };
01854   const int n1c3w2_s[] = {
01855     150, // Capacity
01856     50, // Number of items
01857     // Size of items (sorted)
01858     100,99,97,96,96,95,94,91,90,88,85,83,83,81,79,79,78,77,77,74,
01859     72,70,69,66,64,63,63,61,58,56,52,51,45,42,36,36,36,35,34,33,32,
01860     32,31,30,28,25,24,21,21,20
01861   };
01862   const int n1c3w2_t[] = {
01863     150, // Capacity
01864     50, // Number of items
01865     // Size of items (sorted)
01866     100,99,96,95,93,91,91,88,87,87,85,85,85,84,83,83,78,77,76,75,
01867     74,70,67,65,63,63,62,60,60,58,56,55,55,54,52,50,49,49,45,42,29,
01868     29,27,27,26,25,24,23,22,20
01869   };
01870   const int n1c3w4_a[] = {
01871     150, // Capacity
01872     50, // Number of items
01873     // Size of items (sorted)
01874     97,95,92,91,90,90,86,85,85,82,82,81,80,79,78,76,71,70,69,67,63,
01875     63,63,62,58,58,56,55,54,53,52,51,51,48,47,46,44,44,42,42,41,40,
01876     39,39,37,35,34,32,31,31
01877   };
01878   const int n1c3w4_b[] = {
01879     150, // Capacity
01880     50, // Number of items
01881     // Size of items (sorted)
01882     100,98,97,97,92,92,92,91,88,84,83,82,77,77,76,75,74,73,72,70,
01883     70,67,66,65,63,62,62,62,62,58,57,57,54,53,52,52,50,46,45,43,42,
01884     41,41,41,40,37,37,36,33,33
01885   };
01886   const int n1c3w4_c[] = {
01887     150, // Capacity
01888     50, // Number of items
01889     // Size of items (sorted)
01890     99,99,95,94,92,91,90,87,86,84,83,82,82,81,81,81,80,80,78,78,78,
01891     77,77,74,72,71,69,68,66,66,64,63,62,62,61,60,57,55,52,52,46,46,
01892     45,45,42,39,39,38,35,32
01893   };
01894   const int n1c3w4_d[] = {
01895     150, // Capacity
01896     50, // Number of items
01897     // Size of items (sorted)
01898     100,96,93,90,88,88,86,85,84,84,83,83,80,80,79,77,77,74,70,68,
01899     67,64,61,61,58,58,58,56,54,54,53,51,49,48,47,45,45,44,43,41,41,
01900     40,40,37,36,34,34,33,33,31
01901   };
01902   const int n1c3w4_e[] = {
01903     150, // Capacity
01904     50, // Number of items
01905     // Size of items (sorted)
01906     98,97,96,95,95,94,93,93,93,93,91,90,87,87,80,80,80,77,72,71,68,
01907     68,67,64,63,62,60,60,60,57,57,56,54,53,53,52,49,47,45,43,41,41,
01908     39,38,38,37,37,36,35,31
01909   };
01910   const int n1c3w4_f[] = {
01911     150, // Capacity
01912     50, // Number of items
01913     // Size of items (sorted)
01914     95,92,92,89,88,87,85,84,83,82,82,81,81,81,76,76,73,72,69,68,68,
01915     67,65,65,63,63,61,61,57,56,54,54,54,52,50,50,49,47,46,40,40,39,
01916     39,39,37,37,34,33,32,30
01917   };
01918   const int n1c3w4_g[] = {
01919     150, // Capacity
01920     50, // Number of items
01921     // Size of items (sorted)
01922     99,99,97,97,96,92,90,88,87,87,87,86,86,85,85,83,81,79,78,77,77,
01923     74,73,73,73,72,68,65,62,58,56,55,55,55,52,52,51,50,49,46,42,40,
01924     39,38,37,36,36,33,31,31
01925   };
01926   const int n1c3w4_h[] = {
01927     150, // Capacity
01928     50, // Number of items
01929     // Size of items (sorted)
01930     100,100,99,97,95,94,92,90,88,87,86,85,83,80,79,78,78,78,75,75,
01931     74,73,71,70,69,67,65,64,59,58,57,57,55,54,54,52,51,50,49,48,46,
01932     46,45,43,43,42,39,38,33,32
01933   };
01934   const int n1c3w4_i[] = {
01935     150, // Capacity
01936     50, // Number of items
01937     // Size of items (sorted)
01938     99,98,95,89,88,88,87,87,87,87,86,84,84,83,78,77,74,74,73,73,73,
01939     72,72,70,68,67,64,64,64,63,63,60,59,58,56,54,51,50,49,49,39,37,
01940     37,36,36,36,34,34,31,30
01941   };
01942   const int n1c3w4_j[] = {
01943     150, // Capacity
01944     50, // Number of items
01945     // Size of items (sorted)
01946     100,93,91,91,89,89,88,86,85,84,83,83,82,80,79,78,77,76,76,73,
01947     72,68,68,63,63,61,60,60,58,57,57,56,54,53,52,50,48,47,47,45,41,
01948     41,36,35,34,34,33,31,31,30
01949   };
01950   const int n1c3w4_k[] = {
01951     150, // Capacity
01952     50, // Number of items
01953     // Size of items (sorted)
01954     100,97,96,94,94,93,90,89,89,86,85,84,83,83,83,82,80,78,75,74,
01955     72,72,71,70,69,69,66,64,64,63,62,60,59,59,58,57,57,57,57,56,50,
01956     50,47,44,43,41,37,36,35,33
01957   };
01958   const int n1c3w4_l[] = {
01959     150, // Capacity
01960     50, // Number of items
01961     // Size of items (sorted)
01962     100,100,93,91,88,86,86,84,83,75,75,75,75,75,73,72,70,69,67,66,
01963     66,65,61,58,56,55,55,54,52,51,51,51,50,47,45,44,42,42,41,40,39,
01964     36,35,35,33,33,33,32,31,30
01965   };
01966   const int n1c3w4_m[] = {
01967     150, // Capacity
01968     50, // Number of items
01969     // Size of items (sorted)
01970     99,98,97,95,90,87,87,85,85,83,80,80,76,71,71,70,69,68,67,66,65,
01971     63,63,62,62,60,60,60,58,56,55,53,50,49,45,42,42,41,38,36,36,34,
01972     34,33,32,32,31,31,31,30
01973   };
01974   const int n1c3w4_n[] = {
01975     150, // Capacity
01976     50, // Number of items
01977     // Size of items (sorted)
01978     100,92,91,90,89,85,84,81,80,80,78,78,77,77,76,75,74,73,69,69,
01979     68,68,67,67,65,64,63,63,61,60,56,54,54,51,49,45,43,42,39,39,39,
01980     38,36,35,34,34,33,32,31,30
01981   };
01982   const int n1c3w4_o[] = {
01983     150, // Capacity
01984     50, // Number of items
01985     // Size of items (sorted)
01986     100,100,96,96,94,94,93,85,83,82,82,81,80,79,76,76,76,72,72,72,
01987     71,70,70,70,68,67,66,64,64,58,58,57,49,49,46,42,39,39,39,38,37,
01988     37,36,35,33,32,32,30,30,30
01989   };
01990   const int n1c3w4_p[] = {
01991     150, // Capacity
01992     50, // Number of items
01993     // Size of items (sorted)
01994     100,98,98,96,95,95,94,94,94,91,90,90,89,86,85,85,85,84,78,78,
01995     77,76,75,73,72,72,70,70,69,69,68,68,66,60,59,55,50,50,48,48,47,
01996     47,44,43,42,40,39,39,37,35
01997   };
01998   const int n1c3w4_q[] = {
01999     150, // Capacity
02000     50, // Number of items
02001     // Size of items (sorted)
02002     100,99,98,97,97,95,92,92,91,90,89,88,87,84,84,83,82,80,80,78,
02003     77,77,76,76,75,72,70,68,67,64,63,61,61,60,58,57,57,56,55,49,49,
02004     48,40,40,37,35,32,31,31,30
02005   };
02006   const int n1c3w4_r[] = {
02007     150, // Capacity
02008     50, // Number of items
02009     // Size of items (sorted)
02010     98,94,94,93,92,92,92,91,85,84,84,81,81,79,79,78,76,73,72,71,68,
02011     68,67,67,65,63,61,60,60,59,59,58,57,56,55,48,47,46,45,43,40,40,
02012     39,38,37,35,34,32,31,31
02013   };
02014   const int n1c3w4_s[] = {
02015     150, // Capacity
02016     50, // Number of items
02017     // Size of items (sorted)
02018     99,98,97,95,95,93,93,92,89,80,80,79,79,77,76,75,74,74,73,71,71,
02019     70,68,66,64,63,61,60,57,57,55,54,53,50,50,49,48,47,46,46,42,42,
02020     39,38,38,37,37,34,32,31
02021   };
02022   const int n1c3w4_t[] = {
02023     150, // Capacity
02024     50, // Number of items
02025     // Size of items (sorted)
02026     100,98,98,97,97,97,96,94,93,90,89,88,88,85,84,84,83,83,81,80,
02027     78,76,75,73,73,71,71,70,69,66,65,64,64,63,60,60,57,56,54,54,53,
02028     53,48,43,42,38,34,32,31,30
02029   };
02030   const int n2c1w1_a[] = {
02031     100, // Capacity
02032     100, // Number of items
02033     // Size of items (sorted)
02034     99,97,95,95,94,92,91,89,86,86,85,84,80,80,80,80,80,79,76,76,75,
02035     74,73,71,71,69,65,64,64,64,63,63,62,60,59,58,57,54,53,52,51,50,
02036     48,48,48,46,44,43,43,43,43,42,41,40,40,39,38,38,38,38,37,37,37,
02037     37,36,35,34,33,32,30,29,28,26,26,26,24,23,22,21,21,19,18,17,16,
02038     16,15,14,13,12,12,11,9,9,8,8,7,6,6,5,1
02039   };
02040   const int n2c1w1_b[] = {
02041     100, // Capacity
02042     100, // Number of items
02043     // Size of items (sorted)
02044     100,99,99,98,98,96,96,93,89,84,84,83,83,82,81,80,79,79,79,79,
02045     78,77,76,75,74,71,71,70,69,69,68,67,67,66,62,56,55,54,53,51,50,
02046     50,50,49,48,48,47,45,45,45,42,42,42,41,41,40,40,39,38,37,36,36,
02047     34,34,33,32,32,31,29,28,28,28,26,24,24,22,22,22,21,18,18,17,17,
02048     15,14,14,12,12,11,10,10,9,8,7,7,5,3,3,2,2
02049   };
02050   const int n2c1w1_c[] = {
02051     100, // Capacity
02052     100, // Number of items
02053     // Size of items (sorted)
02054     98,97,94,92,91,91,90,89,86,85,84,83,82,81,78,76,75,73,73,72,72,
02055     71,70,70,69,69,66,64,60,60,59,58,57,56,55,54,53,52,52,51,50,49,
02056     49,48,47,47,45,43,43,43,42,42,42,42,40,39,39,36,35,34,34,34,33,
02057     32,30,30,30,29,29,28,25,23,22,22,22,22,22,20,20,19,19,18,16,16,
02058     16,15,15,15,13,12,12,10,9,8,6,5,4,4,2,2
02059   };
02060   const int n2c1w1_d[] = {
02061     100, // Capacity
02062     100, // Number of items
02063     // Size of items (sorted)
02064     99,98,96,93,93,92,90,89,89,89,88,88,87,86,84,84,81,80,80,80,80,
02065     78,78,77,75,73,72,70,69,68,65,65,64,63,63,63,62,61,60,58,58,58,
02066     57,56,54,52,51,49,49,46,45,45,44,44,42,42,41,41,38,38,37,36,36,
02067     34,34,31,30,30,28,27,26,25,24,24,24,23,22,21,21,18,17,17,16,14,
02068     13,12,12,11,10,10,9,8,6,5,5,4,4,3,2,1
02069   };
02070   const int n2c1w1_e[] = {
02071     100, // Capacity
02072     100, // Number of items
02073     // Size of items (sorted)
02074     100,99,99,98,96,95,95,95,93,93,92,92,92,91,90,89,89,89,87,87,
02075     87,85,84,81,81,80,79,77,74,74,74,73,73,72,71,70,70,66,66,65,65,
02076     65,64,63,63,63,63,63,61,57,56,54,52,52,51,49,48,46,44,44,44,42,
02077     40,40,40,38,38,35,34,31,31,31,30,27,27,25,25,24,21,21,21,18,17,
02078     17,16,16,16,15,15,11,11,9,9,9,8,5,5,5,3,1
02079   };
02080   const int n2c1w1_f[] = {
02081     100, // Capacity
02082     100, // Number of items
02083     // Size of items (sorted)
02084     100,100,99,97,96,96,95,95,95,94,93,93,92,92,91,89,85,84,78,76,
02085     76,76,76,75,73,73,70,70,69,67,67,66,63,62,60,60,60,58,56,55,53,
02086     53,52,51,50,50,50,49,49,48,47,47,46,45,45,42,41,41,39,37,36,36,
02087     35,34,34,30,30,29,29,28,28,26,26,23,22,22,22,22,21,21,21,19,18,
02088     17,17,15,14,14,11,10,8,7,7,6,5,2,2,1,1,1
02089   };
02090   const int n2c1w1_g[] = {
02091     100, // Capacity
02092     100, // Number of items
02093     // Size of items (sorted)
02094     99,96,93,93,93,92,92,91,90,89,88,88,88,87,87,86,84,84,82,81,80,
02095     80,80,79,79,79,79,76,75,75,75,75,75,74,74,73,71,68,64,62,61,61,
02096     61,60,58,58,58,58,57,57,57,55,54,53,52,51,51,51,50,50,47,45,44,
02097     41,40,39,39,39,38,36,36,35,35,34,33,32,31,30,30,29,29,29,28,24,
02098     22,21,19,19,18,10,9,8,8,7,6,5,5,4,3,2
02099   };
02100   const int n2c1w1_h[] = {
02101     100, // Capacity
02102     100, // Number of items
02103     // Size of items (sorted)
02104     98,98,98,98,94,94,94,93,92,91,89,89,87,86,85,84,80,80,78,76,76,
02105     75,73,73,72,71,71,71,70,69,67,65,64,64,62,62,62,62,59,56,55,55,
02106     54,53,53,53,52,52,50,49,49,49,49,49,45,44,43,43,43,43,43,39,38,
02107     38,38,37,37,36,36,34,34,33,29,29,29,28,27,27,27,25,22,22,19,17,
02108     17,17,16,15,14,14,14,13,13,13,10,8,6,6,5,3
02109   };
02110   const int n2c1w1_i[] = {
02111     100, // Capacity
02112     100, // Number of items
02113     // Size of items (sorted)
02114     99,98,97,96,95,95,94,94,94,90,88,86,86,86,86,85,85,85,85,85,83,
02115     83,82,81,81,80,80,79,79,78,77,77,76,76,76,75,75,74,74,74,72,71,
02116     69,67,67,66,66,65,65,63,61,61,59,59,57,57,56,56,55,54,53,49,48,
02117     46,45,41,39,39,38,38,37,37,36,36,35,32,30,30,30,28,28,28,27,26,
02118     26,25,24,23,22,22,17,17,13,11,10,10,6,3,2,1
02119   };
02120   const int n2c1w1_j[] = {
02121     100, // Capacity
02122     100, // Number of items
02123     // Size of items (sorted)
02124     100,100,99,98,95,94,93,93,93,92,92,91,91,91,88,88,87,86,85,83,
02125     81,81,81,80,80,80,79,77,77,77,76,75,73,71,71,71,70,69,68,67,66,
02126     65,63,60,60,59,59,59,59,56,54,54,54,54,53,53,52,51,51,49,46,44,
02127     44,43,42,42,41,41,41,39,35,34,34,32,32,31,30,29,28,27,22,22,21,
02128     21,20,17,14,12,12,11,11,10,10,8,8,6,6,5,5,4
02129   };
02130   const int n2c1w1_k[] = {
02131     100, // Capacity
02132     100, // Number of items
02133     // Size of items (sorted)
02134     100,99,98,97,97,97,97,97,92,91,91,91,88,86,86,85,84,84,83,81,
02135     80,79,79,79,78,77,77,75,75,75,74,74,71,71,70,69,64,64,63,63,62,
02136     62,61,61,56,56,56,56,55,53,53,52,52,51,49,48,46,44,44,43,43,42,
02137     42,40,38,37,36,35,34,32,32,31,30,29,29,28,28,28,27,26,24,24,22,
02138     20,20,18,17,16,16,14,13,13,12,11,10,8,6,4,2,1
02139   };
02140   const int n2c1w1_l[] = {
02141     100, // Capacity
02142     100, // Number of items
02143     // Size of items (sorted)
02144     100,100,98,97,96,96,95,95,95,94,94,94,93,92,90,87,87,84,83,83,
02145     83,81,80,77,77,77,77,75,74,74,73,72,71,71,71,70,70,70,69,69,67,
02146     63,63,63,63,62,58,55,55,55,54,53,53,51,49,49,49,47,45,42,41,39,
02147     38,35,34,29,28,28,28,28,27,27,26,26,25,25,25,24,24,23,21,19,17,
02148     15,15,15,14,12,11,7,7,7,6,5,5,5,2,2,1,1
02149   };
02150   const int n2c1w1_m[] = {
02151     100, // Capacity
02152     100, // Number of items
02153     // Size of items (sorted)
02154     97,96,95,94,90,88,88,87,86,85,84,84,82,81,81,80,80,80,79,79,78,
02155     74,73,69,69,68,68,67,67,65,64,63,63,60,60,58,57,56,55,53,53,51,
02156     51,51,47,47,46,46,45,41,41,39,38,37,37,37,37,35,34,33,33,33,33,
02157     32,31,31,31,30,30,28,22,22,20,20,20,20,19,19,17,17,17,16,16,15,
02158     13,13,12,12,10,10,9,8,8,8,5,5,5,4,4,1
02159   };
02160   const int n2c1w1_n[] = {
02161     100, // Capacity
02162     100, // Number of items
02163     // Size of items (sorted)
02164     100,98,97,95,90,90,89,89,87,87,85,83,82,82,81,81,81,80,79,78,
02165     77,76,74,73,72,70,70,68,67,64,63,63,60,60,58,58,57,57,55,54,54,
02166     53,52,52,52,51,50,50,50,48,45,45,45,44,44,43,41,38,37,34,34,34,
02167     33,32,32,31,30,30,30,30,26,25,24,23,20,19,19,19,18,17,16,15,13,
02168     12,12,11,11,11,11,10,9,8,8,8,7,4,3,3,2,1
02169   };
02170   const int n2c1w1_o[] = {
02171     100, // Capacity
02172     100, // Number of items
02173     // Size of items (sorted)
02174     100,100,98,97,95,94,92,92,92,91,90,89,89,88,88,88,87,85,84,83,
02175     81,79,79,77,77,76,72,70,70,69,69,68,64,63,62,62,61,61,60,59,59,
02176     58,57,55,52,52,51,47,47,46,43,43,42,37,36,35,35,35,35,34,32,32,
02177     31,31,29,29,28,28,25,23,22,22,21,19,17,16,15,14,12,11,11,11,11,
02178     11,11,10,8,8,7,6,5,5,4,4,3,3,2,2,1,1
02179   };
02180   const int n2c1w1_p[] = {
02181     100, // Capacity
02182     100, // Number of items
02183     // Size of items (sorted)
02184     99,99,96,96,95,93,92,92,91,91,90,90,88,88,87,86,83,83,83,83,81,
02185     81,80,80,78,78,76,76,74,73,72,72,70,69,69,68,67,66,58,57,56,55,
02186     55,55,54,54,54,54,53,51,51,51,48,48,47,47,47,46,46,46,45,44,43,
02187     43,43,42,41,40,40,35,34,31,29,26,24,24,23,23,22,22,22,21,20,18,
02188     17,17,15,14,12,12,11,9,9,8,6,4,3,3,1,1
02189   };
02190   const int n2c1w1_q[] = {
02191     100, // Capacity
02192     100, // Number of items
02193     // Size of items (sorted)
02194     99,98,97,97,96,94,94,94,93,90,84,82,81,78,76,76,75,75,73,70,70,
02195     69,69,66,66,65,65,65,63,61,60,59,59,59,58,58,56,55,54,54,53,53,
02196     50,50,50,48,48,47,46,45,45,45,45,41,41,40,39,39,36,36,35,35,34,
02197     33,33,31,30,29,28,27,26,26,24,24,19,19,19,18,18,18,18,16,14,14,
02198     13,12,11,11,10,10,10,7,7,6,6,6,4,3,1,1
02199   };
02200   const int n2c1w1_r[] = {
02201     100, // Capacity
02202     100, // Number of items
02203     // Size of items (sorted)
02204     100,100,99,97,97,96,96,95,94,94,94,94,92,92,91,90,88,87,85,84,
02205     84,83,82,81,80,78,75,74,72,72,71,70,69,69,68,65,64,64,62,61,61,
02206     60,59,58,58,58,57,57,55,54,54,54,53,53,50,49,48,47,47,46,46,45,
02207     45,44,43,42,40,36,36,35,34,34,33,32,31,30,30,26,26,25,24,23,23,
02208     22,22,21,20,19,18,18,17,17,17,15,9,8,7,6,3,3
02209   };
02210   const int n2c1w1_s[] = {
02211     100, // Capacity
02212     100, // Number of items
02213     // Size of items (sorted)
02214     100,99,96,96,95,94,94,93,91,89,89,88,81,80,75,74,73,72,69,69,
02215     69,68,64,63,63,62,61,58,57,57,57,57,56,56,54,54,54,51,49,49,49,
02216     48,48,48,48,48,48,47,47,47,44,43,43,41,40,40,39,38,38,36,35,33,
02217     31,30,30,30,30,29,29,28,25,25,23,23,20,19,18,16,15,14,14,14,12,
02218     12,11,10,9,9,8,8,8,7,7,7,5,4,4,3,2,2
02219   };
02220   const int n2c1w1_t[] = {
02221     100, // Capacity
02222     100, // Number of items
02223     // Size of items (sorted)
02224     100,100,100,98,97,96,95,94,92,91,91,90,90,90,88,87,87,85,84,83,
02225     81,78,76,74,71,71,70,68,68,66,66,65,64,63,63,62,62,61,59,59,59,
02226     59,59,57,57,56,54,53,52,51,50,50,49,46,45,43,41,41,40,40,40,39,
02227     36,35,34,33,33,32,32,32,30,30,29,29,29,28,27,27,27,23,21,21,20,
02228     20,19,19,17,15,15,15,11,9,6,5,5,5,4,3,2,1
02229   };
02230   const int n2c1w2_a[] = {
02231     100, // Capacity
02232     100, // Number of items
02233     // Size of items (sorted)
02234     100,100,100,99,99,98,96,95,95,94,93,93,92,90,90,89,86,86,85,85,
02235     84,83,82,82,82,81,80,79,77,77,77,76,75,75,75,74,73,71,71,69,68,
02236     67,67,67,65,63,63,60,57,56,56,55,55,54,54,54,53,53,51,51,47,46,
02237     46,45,45,45,44,44,44,44,43,41,40,40,39,39,39,39,38,36,36,34,33,
02238     33,32,32,31,30,29,28,26,25,24,24,23,22,22,22,21,20
02239   };
02240   const int n2c1w2_b[] = {
02241     100, // Capacity
02242     100, // Number of items
02243     // Size of items (sorted)
02244     99,96,96,94,94,93,93,90,90,88,88,88,87,87,86,85,84,84,84,83,83,
02245     83,82,81,81,80,80,77,75,75,75,74,73,69,69,67,67,66,66,65,65,64,
02246     64,63,63,63,59,58,56,55,54,54,53,53,52,50,50,50,48,48,47,47,45,
02247     43,42,42,42,41,41,41,40,39,38,38,34,34,32,32,32,31,31,30,30,29,
02248     27,26,26,26,26,25,25,25,24,23,22,22,22,21,21,20
02249   };
02250   const int n2c1w2_c[] = {
02251     100, // Capacity
02252     100, // Number of items
02253     // Size of items (sorted)
02254     98,96,95,95,94,94,92,91,89,88,86,85,84,84,83,83,82,82,81,80,80,
02255     79,77,77,77,75,75,75,75,75,72,71,70,69,68,68,66,66,66,66,64,64,
02256     64,64,63,62,62,61,59,58,58,58,57,56,56,56,56,55,55,54,54,53,51,
02257     51,51,50,50,49,49,49,48,48,48,45,45,44,43,41,40,40,36,34,33,32,
02258     32,32,29,27,27,27,27,25,25,25,24,23,23,21,21,20
02259   };
02260   const int n2c1w2_d[] = {
02261     100, // Capacity
02262     100, // Number of items
02263     // Size of items (sorted)
02264     100,99,98,97,96,95,94,94,94,93,93,93,92,92,92,91,90,90,89,88,
02265     88,87,86,85,85,85,84,83,83,83,79,78,78,78,77,77,77,76,74,74,73,
02266     72,72,71,71,70,70,69,68,67,65,64,64,63,61,61,60,59,59,58,57,57,
02267     56,55,55,55,54,54,54,54,52,52,51,51,49,46,46,46,45,44,43,41,40,
02268     39,38,37,35,35,32,32,32,30,30,30,29,28,27,23,22,20
02269   };
02270   const int n2c1w2_e[] = {
02271     100, // Capacity
02272     100, // Number of items
02273     // Size of items (sorted)
02274     100,100,100,99,99,99,99,98,97,96,95,94,94,91,90,90,90,89,89,89,
02275     88,88,87,87,86,85,85,85,84,82,81,80,80,79,79,77,76,74,73,71,70,
02276     69,68,68,67,67,66,65,65,65,62,62,62,59,59,59,57,57,55,55,54,51,
02277     50,49,47,47,46,45,45,43,42,41,41,41,39,38,37,35,35,34,34,34,33,
02278     32,31,30,29,29,27,26,26,25,24,24,24,21,21,21,20,20
02279   };
02280   const int n2c1w2_f[] = {
02281     100, // Capacity
02282     100, // Number of items
02283     // Size of items (sorted)
02284     100,99,99,98,98,98,96,96,96,96,95,95,94,94,93,91,90,90,89,89,
02285     89,88,88,86,85,83,83,83,83,81,81,79,79,78,78,78,77,76,75,75,72,
02286     71,68,68,67,66,61,60,60,59,59,58,58,58,57,56,52,52,52,52,50,47,
02287     47,47,44,43,43,43,41,41,41,40,39,38,36,36,32,32,32,31,29,29,29,
02288     28,28,28,28,27,27,27,26,25,24,24,24,24,23,23,21,21
02289   };
02290   const int n2c1w2_g[] = {
02291     100, // Capacity
02292     100, // Number of items
02293     // Size of items (sorted)
02294     99,99,99,99,97,97,95,94,92,92,92,91,91,90,90,90,89,88,87,87,86,
02295     85,84,83,83,83,81,80,79,78,78,77,76,76,74,73,73,72,72,72,71,70,
02296     70,70,68,68,67,67,65,65,65,64,64,64,64,63,63,63,63,61,60,59,58,
02297     57,57,56,55,54,53,51,50,49,48,48,48,47,47,45,41,39,39,38,38,37,
02298     36,35,29,28,27,26,26,24,22,22,22,22,22,21,20,20
02299   };
02300   const int n2c1w2_h[] = {
02301     100, // Capacity
02302     100, // Number of items
02303     // Size of items (sorted)
02304     100,99,95,95,94,94,93,93,93,92,91,88,87,86,86,86,86,85,85,85,
02305     84,84,84,83,82,81,79,78,77,76,76,76,76,75,75,73,72,71,71,69,69,
02306     69,69,67,67,65,65,64,64,64,64,63,63,62,61,61,60,59,59,59,57,57,
02307     56,56,55,55,54,53,51,49,47,45,45,43,43,43,42,42,42,38,37,36,36,
02308     33,31,29,28,28,28,28,27,27,27,26,26,25,24,22,22,20
02309   };
02310   const int n2c1w2_i[] = {
02311     100, // Capacity
02312     100, // Number of items
02313     // Size of items (sorted)
02314     100,99,98,97,97,96,95,95,93,93,93,93,91,91,90,89,89,89,89,89,
02315     89,88,88,87,86,84,84,81,80,79,78,78,76,75,74,72,72,71,71,70,69,
02316     69,66,66,63,63,62,62,61,60,59,59,57,57,55,55,55,54,54,54,53,53,
02317     52,52,51,50,50,50,49,49,48,47,47,41,40,40,39,38,36,35,34,33,33,
02318     32,31,31,31,31,30,30,28,27,24,23,23,22,21,20,20,20
02319   };
02320   const int n2c1w2_j[] = {
02321     100, // Capacity
02322     100, // Number of items
02323     // Size of items (sorted)
02324     99,97,96,95,95,95,94,94,94,93,92,90,90,89,89,89,89,89,89,88,88,
02325     86,86,85,85,85,84,84,83,82,82,80,79,78,78,78,77,77,77,76,75,75,
02326     69,67,66,66,66,65,65,65,64,64,62,62,58,58,58,58,58,55,54,53,53,
02327     51,50,50,50,49,49,46,45,42,42,42,41,40,39,39,37,37,37,37,35,33,
02328     33,32,31,30,29,28,26,25,21,21,21,21,21,20,20,20
02329   };
02330   const int n2c1w2_k[] = {
02331     100, // Capacity
02332     100, // Number of items
02333     // Size of items (sorted)
02334     100,99,98,97,95,95,93,92,91,91,91,91,90,89,89,88,88,86,85,85,
02335     83,81,81,81,80,80,79,78,77,77,77,76,76,76,75,75,74,74,73,73,71,
02336     71,70,70,69,69,69,67,67,67,67,66,65,63,63,63,63,62,62,62,61,57,
02337     55,53,53,51,51,51,50,50,49,49,48,48,48,47,47,46,43,41,41,40,36,
02338     36,36,36,35,35,33,32,32,31,31,29,28,28,25,25,23,21
02339   };
02340   const int n2c1w2_l[] = {
02341     100, // Capacity
02342     100, // Number of items
02343     // Size of items (sorted)
02344     100,97,96,96,94,94,94,93,93,93,91,91,90,90,88,83,83,82,82,81,
02345     81,80,78,78,78,76,75,75,74,72,72,71,70,70,70,70,70,67,65,64,64,
02346     64,63,62,62,61,60,60,58,58,57,55,55,54,53,52,52,51,50,49,48,47,
02347     47,47,46,45,45,45,44,43,42,42,41,41,40,39,38,38,36,36,35,35,35,
02348     33,32,31,30,30,29,27,26,25,24,24,23,23,22,22,22,20
02349   };
02350   const int n2c1w2_m[] = {
02351     100, // Capacity
02352     100, // Number of items
02353     // Size of items (sorted)
02354     100,100,99,98,97,97,97,96,95,95,95,95,94,92,92,91,91,90,90,89,
02355     89,89,87,86,85,83,82,82,80,80,79,78,76,75,74,72,72,71,71,71,70,
02356     66,65,63,63,63,63,62,61,60,60,60,60,59,57,55,55,55,53,52,51,46,
02357     46,46,45,45,42,41,41,41,40,40,39,39,39,39,38,38,37,36,36,35,35,
02358     35,35,34,34,31,30,29,29,28,27,27,27,27,26,26,22,22
02359   };
02360   const int n2c1w2_n[] = {
02361     100, // Capacity
02362     100, // Number of items
02363     // Size of items (sorted)
02364     100,100,99,99,99,98,96,95,95,94,94,94,93,93,92,92,92,91,91,89,
02365     86,86,85,85,83,82,81,81,80,78,77,77,75,74,74,73,70,70,69,69,68,
02366     68,67,66,65,64,63,63,62,60,59,59,58,56,56,56,55,54,51,50,50,49,
02367     48,47,47,46,46,46,44,44,43,42,39,39,38,38,37,37,34,34,32,32,31,
02368     30,30,29,29,28,28,27,27,27,25,24,24,24,23,21,20,20
02369   };
02370   const int n2c1w2_o[] = {
02371     100, // Capacity
02372     100, // Number of items
02373     // Size of items (sorted)
02374     100,98,98,98,98,97,96,95,95,94,93,92,90,90,89,88,88,88,87,87,
02375     86,85,84,83,83,83,82,82,80,80,79,79,78,78,76,74,74,74,74,71,69,
02376     68,68,67,67,66,64,64,64,64,62,62,61,60,60,55,55,53,53,50,49,49,
02377     47,45,44,44,43,43,42,42,42,41,41,39,36,35,35,33,33,32,31,31,31,
02378     31,30,30,29,28,25,25,23,23,22,22,21,21,21,20,20,20
02379   };
02380   const int n2c1w2_p[] = {
02381     100, // Capacity
02382     100, // Number of items
02383     // Size of items (sorted)
02384     99,98,97,96,96,95,94,93,93,92,92,90,90,89,89,88,88,88,88,86,86,
02385     85,83,82,82,80,80,80,79,79,77,77,77,76,76,76,74,73,73,71,71,70,
02386     69,69,69,68,68,67,66,66,65,63,60,59,57,57,57,57,56,53,53,52,51,
02387     51,51,51,50,47,46,45,44,44,44,43,42,42,39,39,38,38,38,37,36,36,
02388     36,32,31,30,28,28,27,27,27,26,26,24,24,22,22,20
02389   };
02390   const int n2c1w2_q[] = {
02391     100, // Capacity
02392     100, // Number of items
02393     // Size of items (sorted)
02394     97,97,97,96,96,95,94,94,94,90,89,86,85,84,83,79,78,78,78,77,77,
02395     77,76,76,75,75,74,74,72,72,71,71,70,69,69,67,67,66,66,66,66,65,
02396     65,64,63,63,62,62,61,60,59,59,57,56,56,55,53,53,52,52,51,51,51,
02397     50,50,49,49,49,49,48,48,47,47,45,43,40,39,37,37,35,34,33,33,32,
02398     32,31,30,29,28,28,28,27,27,27,25,24,24,23,23,22
02399   };
02400   const int n2c1w2_r[] = {
02401     100, // Capacity
02402     100, // Number of items
02403     // Size of items (sorted)
02404     100,99,98,98,98,98,97,97,96,96,96,94,94,93,92,90,88,87,87,86,
02405     86,85,85,85,85,85,84,84,83,83,83,83,80,79,79,78,77,77,76,75,75,
02406     74,71,70,69,67,65,64,62,62,62,62,61,61,60,58,57,56,55,55,55,54,
02407     54,53,52,51,49,49,47,46,45,44,44,43,43,41,41,40,39,37,34,32,32,
02408     31,29,28,28,27,26,26,25,25,24,24,23,23,22,22,21,20
02409   };
02410   const int n2c1w2_s[] = {
02411     100, // Capacity
02412     100, // Number of items
02413     // Size of items (sorted)
02414     100,98,98,97,96,94,94,93,93,91,90,90,90,89,89,87,87,86,86,86,
02415     84,84,82,82,81,81,80,79,77,77,77,76,76,75,75,73,72,72,71,70,70,
02416     70,70,67,64,62,62,59,59,59,58,58,58,55,55,54,54,53,53,53,51,51,
02417     50,50,50,49,49,48,47,46,46,45,45,44,41,41,39,39,37,37,37,37,35,
02418     34,34,34,33,33,33,32,31,29,27,25,25,24,23,22,20,20
02419   };
02420   const int n2c1w2_t[] = {
02421     100, // Capacity
02422     100, // Number of items
02423     // Size of items (sorted)
02424     100,99,99,99,98,97,95,94,94,94,93,93,92,92,91,90,90,90,90,89,
02425     89,87,86,85,83,82,80,80,79,79,78,78,78,77,75,72,71,70,70,67,65,
02426     64,63,62,62,62,61,60,60,59,58,58,58,57,57,56,56,56,55,55,54,52,
02427     51,49,49,48,47,46,46,46,46,46,44,44,43,42,42,39,37,36,36,35,34,
02428     34,33,33,33,32,30,30,30,27,26,25,24,24,24,21,21,20
02429   };
02430   const int n2c1w4_a[] = {
02431     100, // Capacity
02432     100, // Number of items
02433     // Size of items (sorted)
02434     100,99,97,96,96,96,94,94,94,93,93,93,92,91,90,90,90,89,89,88,
02435     88,83,83,82,82,81,80,80,80,79,79,79,79,78,78,78,76,74,74,73,73,
02436     71,70,69,69,68,67,67,66,65,64,63,63,63,62,59,58,58,57,56,56,56,
02437     56,53,53,53,52,51,51,50,49,48,48,48,47,46,46,45,43,42,41,41,39,
02438     39,39,38,38,38,38,38,37,37,37,36,36,33,32,32,31,31
02439   };
02440   const int n2c1w4_b[] = {
02441     100, // Capacity
02442     100, // Number of items
02443     // Size of items (sorted)
02444     100,100,99,99,99,97,96,95,95,93,93,93,91,89,89,89,88,87,87,86,
02445     85,85,84,83,81,80,80,79,79,78,78,78,77,75,75,73,73,73,72,71,71,
02446     70,70,69,66,65,65,63,60,60,59,59,58,58,57,57,55,55,55,55,54,54,
02447     53,53,52,51,50,50,49,49,49,48,45,45,45,45,44,44,43,43,41,41,40,
02448     40,40,36,36,35,34,34,33,33,33,33,33,32,32,32,32,30
02449   };
02450   const int n2c1w4_c[] = {
02451     100, // Capacity
02452     100, // Number of items
02453     // Size of items (sorted)
02454     99,97,97,96,96,94,93,93,92,92,91,90,90,90,88,87,87,86,86,86,85,
02455     85,85,85,84,84,83,83,82,82,81,81,81,79,79,78,77,76,76,76,76,76,
02456     74,74,73,71,71,70,70,69,69,67,67,66,65,65,65,63,62,62,61,60,60,
02457     60,59,59,58,57,56,56,55,55,54,53,52,51,50,50,48,48,43,40,38,38,
02458     38,37,35,35,35,35,34,33,33,32,32,31,31,31,31,30
02459   };
02460   const int n2c1w4_d[] = {
02461     100, // Capacity
02462     100, // Number of items
02463     // Size of items (sorted)
02464     100,100,99,98,98,97,97,96,95,95,94,94,94,93,92,89,89,88,88,88,
02465     88,87,86,85,84,84,82,81,81,80,79,78,77,77,76,76,76,76,74,74,74,
02466     73,72,72,72,71,71,71,69,69,68,68,68,68,67,67,66,66,65,65,64,64,
02467     62,61,58,57,57,57,56,55,54,54,54,53,53,52,52,52,52,51,51,50,49,
02468     49,48,47,46,45,45,40,40,39,37,37,35,34,34,33,33,30
02469   };
02470   const int n2c1w4_e[] = {
02471     100, // Capacity
02472     100, // Number of items
02473     // Size of items (sorted)
02474     99,99,98,97,97,96,96,95,95,95,94,94,94,94,91,91,89,88,87,86,86,
02475     85,84,83,82,82,82,81,81,79,78,78,76,76,76,76,73,72,71,71,70,70,
02476     70,69,69,69,69,69,68,68,67,66,65,64,61,61,61,61,60,60,59,59,58,
02477     57,57,55,54,54,48,45,45,44,44,43,42,42,42,42,41,41,39,38,37,37,
02478     36,36,35,35,35,35,34,34,34,33,33,32,31,31,31,30
02479   };
02480   const int n2c1w4_f[] = {
02481     100, // Capacity
02482     100, // Number of items
02483     // Size of items (sorted)
02484     100,100,99,97,97,95,95,95,94,93,92,91,90,89,89,88,87,87,86,84,
02485     83,82,80,80,80,80,80,80,79,79,79,79,78,76,76,76,76,73,73,72,71,
02486     71,70,69,69,69,69,68,67,66,66,66,64,64,64,62,62,62,62,61,60,60,
02487     59,58,58,58,58,57,57,56,56,56,56,56,53,52,50,49,48,47,44,44,43,
02488     42,40,39,37,37,36,36,36,35,35,34,33,33,33,32,30,30
02489   };
02490   const int n2c1w4_g[] = {
02491     100, // Capacity
02492     100, // Number of items
02493     // Size of items (sorted)
02494     100,100,98,98,96,95,95,95,94,94,93,93,88,87,85,84,80,80,80,79,
02495     78,78,78,77,77,77,76,76,73,71,71,70,70,70,70,69,69,68,67,67,66,
02496     66,66,66,66,66,66,64,63,63,63,61,61,61,61,60,59,59,59,58,57,57,
02497     57,56,55,54,54,53,51,51,49,49,49,48,47,45,44,44,42,41,41,41,40,
02498     39,39,39,38,38,37,37,37,36,35,34,34,33,32,32,32,31
02499   };
02500   const int n2c1w4_h[] = {
02501     100, // Capacity
02502     100, // Number of items
02503     // Size of items (sorted)
02504     100,100,99,99,98,98,97,96,96,94,94,94,94,93,91,90,89,87,87,87,
02505     86,84,84,84,83,82,80,79,75,75,75,74,74,73,73,73,72,71,70,69,69,
02506     69,68,68,68,67,65,65,63,63,61,61,61,61,60,60,60,60,60,59,59,58,
02507     57,57,56,56,55,54,54,54,51,50,50,49,49,49,49,48,48,48,46,46,44,
02508     42,42,41,40,40,38,37,35,35,34,34,33,33,33,33,32,31
02509   };
02510   const int n2c1w4_i[] = {
02511     100, // Capacity
02512     100, // Number of items
02513     // Size of items (sorted)
02514     98,97,97,96,96,95,95,95,95,92,92,92,91,91,91,91,90,88,87,86,85,
02515     83,82,81,80,79,77,76,76,75,75,75,74,74,72,72,72,71,71,71,70,70,
02516     70,69,69,68,67,65,65,64,63,63,62,62,62,61,61,60,59,59,59,59,58,
02517     58,56,56,55,55,52,51,50,48,48,47,47,47,46,45,44,44,42,42,42,41,
02518     40,39,38,36,36,36,35,35,35,35,34,32,32,32,30,30
02519   };
02520   const int n2c1w4_j[] = {
02521     100, // Capacity
02522     100, // Number of items
02523     // Size of items (sorted)
02524     100,99,99,98,97,97,97,96,96,96,95,93,91,90,87,87,86,86,84,83,
02525     82,81,81,81,80,79,79,77,77,76,76,75,74,72,72,72,71,70,70,70,69,
02526     69,68,68,67,67,67,66,66,66,65,65,65,64,64,62,60,59,57,57,57,57,
02527     55,55,55,55,53,53,52,52,52,50,50,50,49,49,48,47,47,45,45,45,44,
02528     43,42,39,39,39,38,38,38,37,35,35,34,32,32,31,30,30
02529   };
02530   const int n2c1w4_k[] = {
02531     100, // Capacity
02532     100, // Number of items
02533     // Size of items (sorted)
02534     99,98,98,97,97,97,95,94,94,94,93,93,91,91,90,89,89,88,88,87,86,
02535     83,83,82,82,81,81,80,80,79,79,78,76,74,73,73,72,71,71,70,70,70,
02536     68,68,67,66,66,65,64,64,61,61,60,59,59,57,56,56,56,56,56,55,54,
02537     53,51,51,51,51,50,50,50,49,47,47,47,46,46,45,45,43,43,42,41,40,
02538     40,39,39,38,38,37,35,34,34,34,33,33,32,30,30,30
02539   };
02540   const int n2c1w4_l[] = {
02541     100, // Capacity
02542     100, // Number of items
02543     // Size of items (sorted)
02544     99,99,96,96,95,95,94,94,93,91,91,88,88,87,87,87,87,84,84,83,83,
02545     82,82,82,81,81,81,80,78,77,77,76,76,76,74,74,74,74,74,73,73,73,
02546     73,73,72,72,71,71,70,70,69,68,67,64,64,63,62,60,60,59,59,59,58,
02547     58,57,57,57,55,55,53,52,51,50,49,48,46,46,45,43,43,42,42,42,42,
02548     42,40,40,40,38,37,36,36,34,34,33,33,33,31,30,30
02549   };
02550   const int n2c1w4_m[] = {
02551     100, // Capacity
02552     100, // Number of items
02553     // Size of items (sorted)
02554     100,100,99,99,99,99,98,98,97,96,96,96,96,95,95,95,95,91,90,89,
02555     88,87,86,84,83,83,82,80,79,77,77,76,76,74,74,74,73,72,72,71,71,
02556     70,69,68,67,67,66,66,65,63,60,60,59,59,58,57,57,56,56,54,53,53,
02557     53,53,52,51,50,50,50,50,49,47,47,46,46,45,44,43,42,42,42,41,41,
02558     39,38,38,38,37,37,36,36,36,35,35,35,33,32,32,32,31
02559   };
02560   const int n2c1w4_n[] = {
02561     100, // Capacity
02562     100, // Number of items
02563     // Size of items (sorted)
02564     100,100,99,99,98,98,97,97,96,96,96,95,94,94,92,91,91,90,90,90,
02565     88,87,85,85,84,83,83,81,80,79,79,78,76,76,76,75,74,74,74,73,71,
02566     70,67,67,67,66,66,66,64,64,64,64,63,63,61,59,59,58,58,58,56,56,
02567     56,54,53,53,52,51,50,50,49,48,48,48,48,46,45,44,41,40,40,40,39,
02568     39,37,37,36,36,36,35,35,34,33,33,33,33,32,31,31,30
02569   };
02570   const int n2c1w4_o[] = {
02571     100, // Capacity
02572     100, // Number of items
02573     // Size of items (sorted)
02574     100,100,100,100,99,99,98,98,98,97,97,97,96,95,95,94,94,94,94,
02575     93,93,93,92,92,92,91,91,90,87,86,86,85,85,84,83,83,80,79,78,78,
02576     77,76,74,72,72,72,71,71,71,71,70,70,69,68,67,66,65,64,63,63,62,
02577     62,62,60,59,59,58,58,57,57,56,55,55,54,53,52,52,51,51,51,49,46,
02578     42,41,41,41,40,40,39,39,39,38,36,36,34,34,33,31,30,30
02579   };
02580   const int n2c1w4_p[] = {
02581     100, // Capacity
02582     100, // Number of items
02583     // Size of items (sorted)
02584     99,99,98,96,93,93,92,91,91,91,90,89,89,88,85,85,83,82,82,81,80,
02585     79,78,78,74,74,70,69,69,66,65,65,64,64,64,64,63,63,62,62,62,62,
02586     61,61,61,61,61,59,59,59,58,58,57,57,56,55,55,54,53,53,52,52,51,
02587     49,48,48,47,47,47,47,45,45,45,44,44,43,43,43,42,42,42,42,41,41,
02588     41,40,40,39,37,37,36,36,35,34,34,34,32,32,30,30
02589   };
02590   const int n2c1w4_q[] = {
02591     100, // Capacity
02592     100, // Number of items
02593     // Size of items (sorted)
02594     100,100,98,98,97,97,94,93,93,92,92,92,91,91,91,90,89,89,89,88,
02595     87,86,85,83,83,83,82,81,80,80,80,79,79,78,77,77,77,77,77,75,75,
02596     74,74,74,72,70,69,69,69,66,66,66,66,65,64,64,63,62,61,61,60,60,
02597     60,58,57,57,56,56,54,52,50,49,49,48,47,46,44,43,42,42,40,40,40,
02598     40,39,39,39,39,38,38,38,38,36,36,35,35,35,34,33,32
02599   };
02600   const int n2c1w4_r[] = {
02601     100, // Capacity
02602     100, // Number of items
02603     // Size of items (sorted)
02604     99,98,98,97,96,96,96,95,95,94,94,93,93,92,92,91,90,89,87,86,85,
02605     84,82,82,80,79,79,78,78,77,76,75,75,75,75,74,74,74,73,70,69,67,
02606     67,66,64,64,63,62,62,62,61,61,60,60,59,59,58,58,57,57,56,55,54,
02607     54,54,51,50,49,49,49,48,48,48,47,47,44,43,43,42,41,41,41,40,40,
02608     40,40,39,39,38,36,36,36,35,35,33,32,32,32,31,31
02609   };
02610   const int n2c1w4_s[] = {
02611     100, // Capacity
02612     100, // Number of items
02613     // Size of items (sorted)
02614     100,100,100,100,99,99,99,99,98,97,97,97,96,96,96,95,94,94,93,
02615     92,91,91,91,90,89,89,88,88,85,85,82,82,80,80,79,78,77,76,75,75,
02616     75,75,74,73,72,71,71,70,69,69,69,67,67,66,66,66,66,65,64,64,64,
02617     64,62,62,61,59,59,59,58,56,56,56,55,55,54,52,50,50,49,49,48,48,
02618     48,47,46,44,44,43,43,40,40,39,38,35,35,33,33,31,30,30
02619   };
02620   const int n2c1w4_t[] = {
02621     100, // Capacity
02622     100, // Number of items
02623     // Size of items (sorted)
02624     98,97,97,97,96,96,95,92,91,90,89,89,88,88,87,87,87,86,86,86,85,
02625     85,83,83,83,82,81,80,79,78,78,78,78,75,71,70,70,70,70,69,68,67,
02626     65,65,64,64,63,61,61,61,61,60,60,60,60,59,57,57,54,54,54,54,53,
02627     53,53,52,51,50,50,50,49,46,46,46,46,46,45,44,44,44,42,42,41,40,
02628     40,39,39,38,38,38,37,36,35,35,34,34,34,34,32,32
02629   };
02630   const int n2c2w1_a[] = {
02631     120, // Capacity
02632     100, // Number of items
02633     // Size of items (sorted)
02634     99,98,98,98,97,96,94,92,91,90,90,89,86,84,82,81,81,80,80,79,79,
02635     79,77,75,73,72,71,71,71,70,67,65,65,62,61,59,56,55,55,55,55,54,
02636     54,53,52,51,50,48,48,48,47,47,46,45,44,43,43,43,43,42,42,40,39,
02637     38,38,36,34,30,30,29,27,26,26,24,22,21,21,20,19,18,18,18,15,14,
02638     13,11,9,8,7,7,6,6,6,4,4,3,3,2,1,1
02639   };
02640   const int n2c2w1_b[] = {
02641     120, // Capacity
02642     100, // Number of items
02643     // Size of items (sorted)
02644     100,100,100,99,99,98,97,96,95,95,91,91,91,90,90,88,88,88,88,87,
02645     87,85,85,82,82,81,79,78,78,78,78,78,78,77,77,77,75,74,72,71,69,
02646     69,68,67,64,64,62,62,60,58,57,55,55,54,51,51,51,48,48,47,46,45,
02647     44,42,38,38,36,34,34,31,30,30,30,28,28,28,26,26,25,25,23,23,22,
02648     21,20,19,18,18,17,16,13,9,8,5,4,4,4,4,3,1
02649   };
02650   const int n2c2w1_c[] = {
02651     120, // Capacity
02652     100, // Number of items
02653     // Size of items (sorted)
02654     100,100,97,97,96,95,94,91,90,89,88,84,84,84,83,82,81,80,80,80,
02655     78,73,72,72,72,69,69,66,65,65,65,65,65,64,63,63,62,60,58,58,57,
02656     54,54,53,52,51,50,49,49,48,47,46,44,42,40,40,40,39,38,37,37,35,
02657     35,33,32,31,30,30,29,28,27,27,23,21,20,20,20,19,19,19,18,17,16,
02658     16,15,14,13,12,12,12,11,10,8,7,5,5,4,3,3,1
02659   };
02660   const int n2c2w1_d[] = {
02661     120, // Capacity
02662     100, // Number of items
02663     // Size of items (sorted)
02664     99,97,97,96,94,94,93,93,89,89,89,88,87,85,85,84,84,82,82,78,77,
02665     76,75,73,73,71,71,67,66,63,63,62,62,61,61,59,59,57,57,57,57,55,
02666     53,53,52,51,51,50,49,49,48,48,48,47,46,46,46,44,44,41,38,37,37,
02667     37,37,35,35,34,34,32,32,31,31,30,29,28,27,27,26,26,26,25,25,24,
02668     21,19,18,15,13,13,12,12,12,10,10,5,4,3,2,1
02669   };
02670   const int n2c2w1_e[] = {
02671     120, // Capacity
02672     100, // Number of items
02673     // Size of items (sorted)
02674     100,100,99,96,94,93,92,92,92,90,90,89,89,89,87,84,82,82,82,81,
02675     80,77,77,77,77,75,73,72,71,69,68,68,64,64,62,61,58,54,53,53,53,
02676     52,52,51,51,49,49,48,48,46,45,45,44,43,42,41,40,37,37,36,35,35,
02677     34,34,33,33,33,31,29,27,24,24,23,22,21,20,18,17,17,16,15,14,14,
02678     14,13,13,13,11,11,9,8,7,7,6,4,3,1,1,1,1
02679   };
02680   const int n2c2w1_f[] = {
02681     120, // Capacity
02682     100, // Number of items
02683     // Size of items (sorted)
02684     100,100,100,100,99,99,97,97,97,97,95,92,91,89,88,88,88,88,88,
02685     86,85,85,83,82,81,81,80,80,80,79,78,76,75,75,71,70,70,70,69,69,
02686     68,67,67,65,63,63,62,62,62,56,54,54,54,53,52,52,51,49,49,47,42,
02687     42,42,41,40,40,38,38,35,34,34,33,31,31,31,31,30,30,29,27,27,26,
02688     23,22,22,21,19,19,17,16,15,15,12,11,10,9,9,8,4,1
02689   };
02690   const int n2c2w1_g[] = {
02691     120, // Capacity
02692     100, // Number of items
02693     // Size of items (sorted)
02694     100,100,100,99,99,98,98,96,95,94,93,91,90,90,89,89,88,86,83,83,
02695     82,81,81,80,80,80,79,79,79,76,75,74,73,73,70,70,65,63,60,59,59,
02696     58,57,55,54,54,52,52,51,51,51,50,47,47,46,45,45,45,43,42,42,41,
02697     36,35,35,35,34,33,33,29,29,29,29,29,28,24,22,22,22,22,22,20,20,
02698     20,19,18,17,17,16,15,12,11,11,9,8,6,3,1,1,1
02699   };
02700   const int n2c2w1_h[] = {
02701     120, // Capacity
02702     100, // Number of items
02703     // Size of items (sorted)
02704     100,99,99,98,98,97,96,94,94,93,93,92,92,90,88,88,87,87,86,86,
02705     86,85,85,78,78,77,77,77,74,71,71,68,68,67,66,65,65,62,62,60,59,
02706     59,55,55,54,53,52,52,51,51,50,49,49,48,47,46,46,46,45,45,45,42,
02707     42,41,41,40,38,36,36,34,33,32,32,32,31,29,27,23,22,22,21,21,20,
02708     18,16,15,11,10,10,9,9,8,6,6,5,5,4,3,1,1
02709   };
02710   const int n2c2w1_i[] = {
02711     120, // Capacity
02712     100, // Number of items
02713     // Size of items (sorted)
02714     100,100,99,98,97,96,96,96,93,93,92,91,88,87,86,85,84,82,82,79,
02715     79,79,77,77,76,72,71,71,70,68,67,66,66,65,64,64,63,63,62,62,62,
02716     62,61,60,59,59,58,57,56,55,55,54,51,51,50,50,48,47,47,46,46,46,
02717     45,44,41,41,38,37,35,33,32,31,29,29,29,28,28,27,26,25,25,22,19,
02718     19,18,18,13,11,10,10,9,6,5,5,4,3,3,2,1,1
02719   };
02720   const int n2c2w1_j[] = {
02721     120, // Capacity
02722     100, // Number of items
02723     // Size of items (sorted)
02724     100,100,99,98,97,96,95,93,87,87,86,85,85,85,84,83,82,82,81,80,
02725     80,79,79,77,75,75,75,72,72,70,69,69,66,66,66,63,62,62,61,61,60,
02726     57,57,57,55,53,52,52,48,48,47,46,43,43,42,41,41,40,40,38,37,37,
02727     37,36,34,32,31,31,31,30,29,29,28,28,26,26,26,25,24,22,19,16,16,
02728     15,15,14,14,13,9,9,8,7,6,6,5,4,4,4,3,1
02729   };
02730   const int n2c2w1_k[] = {
02731     120, // Capacity
02732     100, // Number of items
02733     // Size of items (sorted)
02734     100,100,97,96,95,95,93,93,92,90,90,90,89,88,88,87,85,84,82,78,
02735     78,78,78,77,74,74,70,69,68,67,67,66,66,65,61,60,60,59,57,56,55,
02736     55,54,54,52,52,51,51,50,50,49,48,48,48,47,44,43,41,41,40,39,37,
02737     37,32,32,31,30,30,29,28,27,26,25,24,24,24,23,23,22,21,19,18,18,
02738     17,16,15,14,12,10,10,8,6,5,4,3,3,2,2,2,1
02739   };
02740   const int n2c2w1_l[] = {
02741     120, // Capacity
02742     100, // Number of items
02743     // Size of items (sorted)
02744     100,100,100,99,99,99,98,98,96,96,95,95,95,94,94,93,92,90,90,88,
02745     87,85,85,85,82,81,81,80,80,80,76,76,76,75,73,73,73,73,72,71,71,
02746     68,68,64,64,64,61,60,59,58,57,57,56,51,51,50,49,47,45,45,45,44,
02747     42,40,38,38,36,36,36,35,34,33,30,30,29,29,28,28,27,23,22,20,20,
02748     19,17,16,16,11,11,9,8,8,7,7,5,5,3,2,2,1
02749   };
02750   const int n2c2w1_m[] = {
02751     120, // Capacity
02752     100, // Number of items
02753     // Size of items (sorted)
02754     98,97,95,93,93,92,92,92,91,90,89,89,89,88,86,84,84,84,83,83,82,
02755     82,81,81,79,78,77,75,73,72,72,71,71,70,69,68,65,65,64,64,62,61,
02756     60,57,55,55,53,51,51,50,50,50,48,46,45,42,42,41,41,41,41,41,40,
02757     39,39,37,36,35,34,33,33,33,30,30,29,27,25,23,23,23,23,19,19,16,
02758     16,14,14,14,14,12,12,10,8,8,7,7,6,5,3,3
02759   };
02760   const int n2c2w1_n[] = {
02761     120, // Capacity
02762     100, // Number of items
02763     // Size of items (sorted)
02764     99,99,96,96,95,93,92,89,89,88,87,85,81,80,80,78,77,77,76,75,74,
02765     72,71,71,70,70,69,69,67,67,67,65,65,65,65,64,62,62,59,59,59,58,
02766     58,56,56,56,56,55,55,54,52,50,50,49,49,48,47,45,43,43,43,41,40,
02767     39,38,38,37,36,36,36,35,35,35,30,30,29,26,26,26,26,24,24,23,23,
02768     17,17,17,15,13,13,12,11,11,11,6,5,4,4,3,1
02769   };
02770   const int n2c2w1_o[] = {
02771     120, // Capacity
02772     100, // Number of items
02773     // Size of items (sorted)
02774     98,97,97,97,97,94,93,93,93,92,91,91,90,89,89,88,87,87,87,85,84,
02775     84,83,83,82,81,81,81,81,78,76,76,75,75,74,73,70,69,68,68,68,66,
02776     65,64,64,63,59,58,57,56,56,52,51,51,50,49,48,48,47,47,46,46,45,
02777     45,44,44,43,43,42,40,40,40,37,33,31,30,29,28,26,25,25,24,19,19,
02778     19,19,17,16,16,15,15,14,13,12,12,7,4,2,1,1
02779   };
02780   const int n2c2w1_p[] = {
02781     120, // Capacity
02782     100, // Number of items
02783     // Size of items (sorted)
02784     99,99,99,99,99,96,96,96,95,94,93,93,91,91,91,89,87,87,86,86,85,
02785     85,84,83,82,82,81,81,76,75,75,74,72,68,68,66,65,64,64,64,63,61,
02786     61,60,60,59,58,56,56,56,55,55,54,54,52,51,51,46,44,43,41,40,39,
02787     39,39,39,38,37,37,36,36,35,33,29,28,27,26,23,23,21,17,17,14,13,
02788     11,11,10,10,10,9,9,9,8,6,6,4,4,3,3,2
02789   };
02790   const int n2c2w1_q[] = {
02791     120, // Capacity
02792     100, // Number of items
02793     // Size of items (sorted)
02794     98,98,98,98,96,93,92,91,90,89,87,87,86,86,85,84,83,83,81,78,78,
02795     78,78,78,78,77,72,72,71,70,70,70,69,68,67,65,65,64,64,64,63,63,
02796     62,62,62,62,61,61,60,60,59,59,58,57,57,56,56,56,55,54,51,50,49,
02797     49,47,46,46,39,39,38,38,34,33,32,30,30,29,28,27,26,24,23,23,22,
02798     22,22,20,18,18,15,12,9,6,6,5,3,3,2,2,2
02799   };
02800   const int n2c2w1_r[] = {
02801     120, // Capacity
02802     100, // Number of items
02803     // Size of items (sorted)
02804     98,97,94,94,93,91,90,89,89,89,88,86,86,84,83,80,79,78,77,75,75,
02805     72,71,70,69,67,66,65,64,64,62,61,60,60,60,59,57,56,56,56,56,56,
02806     55,55,55,54,51,50,50,49,49,49,48,47,47,46,44,43,42,40,40,37,37,
02807     36,36,36,36,34,33,33,32,32,30,30,28,28,25,25,24,24,24,22,22,21,
02808     20,19,17,16,13,12,10,9,6,5,5,4,3,3,2,1
02809   };
02810   const int n2c2w1_s[] = {
02811     120, // Capacity
02812     100, // Number of items
02813     // Size of items (sorted)
02814     99,98,97,96,95,94,93,93,91,90,89,88,87,87,86,86,85,84,83,82,79,
02815     79,78,77,77,77,77,73,73,72,71,71,70,68,67,63,63,62,61,61,61,61,
02816     60,59,57,56,52,51,49,48,47,47,47,46,45,44,44,44,44,43,43,42,42,
02817     39,39,39,34,33,33,32,31,31,28,28,27,25,25,24,24,24,24,22,21,20,
02818     18,17,17,16,14,14,13,10,10,9,9,7,7,7,7,6
02819   };
02820   const int n2c2w1_t[] = {
02821     120, // Capacity
02822     100, // Number of items
02823     // Size of items (sorted)
02824     100,99,99,98,98,95,94,94,91,90,89,87,84,80,80,77,75,74,73,73,
02825     72,72,72,69,69,65,64,63,62,62,59,59,59,59,59,59,57,56,53,53,51,
02826     51,51,50,50,50,49,49,48,47,47,47,47,44,44,43,43,40,39,38,37,36,
02827     34,34,32,30,29,29,27,23,23,23,21,18,18,18,18,17,16,16,16,15,15,
02828     14,12,12,11,10,10,9,8,8,7,7,5,4,4,4,2,1
02829   };
02830   const int n2c2w2_a[] = {
02831     120, // Capacity
02832     100, // Number of items
02833     // Size of items (sorted)
02834     100,100,98,95,94,94,93,93,93,92,90,90,90,89,88,87,87,86,86,84,
02835     84,83,82,82,81,80,79,79,79,77,77,76,75,75,75,75,74,73,71,69,69,
02836     68,65,63,60,59,59,58,57,57,56,56,56,56,55,55,54,54,54,54,50,50,
02837     49,48,48,48,45,45,44,44,43,43,39,38,38,37,37,37,37,36,36,33,33,
02838     31,29,28,27,27,26,26,26,26,25,25,25,23,23,23,22,22
02839   };
02840   const int n2c2w2_b[] = {
02841     120, // Capacity
02842     100, // Number of items
02843     // Size of items (sorted)
02844     99,99,98,97,96,94,93,93,93,92,91,91,91,91,90,89,88,87,85,85,85,
02845     82,82,81,80,80,79,78,76,76,75,75,74,74,72,71,71,70,70,69,69,66,
02846     65,65,65,64,64,63,63,60,60,60,59,59,58,57,56,56,55,54,53,53,53,
02847     52,52,51,51,50,49,49,49,48,48,47,47,47,47,46,45,45,43,43,41,41,
02848     40,37,37,36,36,36,31,31,30,29,28,23,22,21,21,20
02849   };
02850   const int n2c2w2_c[] = {
02851     120, // Capacity
02852     100, // Number of items
02853     // Size of items (sorted)
02854     100,99,98,98,98,98,98,97,96,94,93,92,90,89,89,88,87,84,83,82,
02855     81,81,80,80,78,78,78,78,75,75,75,75,74,71,71,71,70,70,69,69,69,
02856     68,68,66,65,64,64,64,64,63,61,58,57,56,56,55,55,55,54,54,54,54,
02857     51,50,50,49,48,46,45,45,44,44,43,41,41,40,40,40,39,37,37,36,36,
02858     35,35,35,35,33,32,31,31,30,29,29,27,27,25,24,21,20
02859   };
02860   const int n2c2w2_d[] = {
02861     120, // Capacity
02862     100, // Number of items
02863     // Size of items (sorted)
02864     100,100,96,96,95,95,94,93,92,92,90,89,89,88,88,87,87,87,86,86,
02865     85,85,85,85,85,84,83,82,77,77,77,76,74,74,72,72,72,71,70,69,67,
02866     67,66,62,62,60,59,59,59,57,57,56,56,56,55,53,52,52,51,49,48,47,
02867     46,43,43,43,43,43,41,41,40,40,39,38,37,36,36,36,36,35,34,34,33,
02868     33,33,33,31,31,29,28,27,27,24,24,23,22,21,20,20,20
02869   };
02870   const int n2c2w2_e[] = {
02871     120, // Capacity
02872     100, // Number of items
02873     // Size of items (sorted)
02874     100,99,99,98,97,97,97,95,95,93,92,92,90,90,89,88,88,87,87,85,
02875     84,84,84,82,80,80,80,79,79,79,78,78,77,77,72,71,71,68,68,66,66,
02876     66,64,62,61,60,60,59,58,58,57,57,56,55,55,55,54,53,50,50,49,47,
02877     47,45,45,45,45,45,43,43,43,43,42,42,42,42,42,40,40,39,37,36,36,
02878     36,33,33,33,30,28,27,27,26,24,23,23,22,22,22,22,21
02879   };
02880   const int n2c2w2_f[] = {
02881     120, // Capacity
02882     100, // Number of items
02883     // Size of items (sorted)
02884     99,96,95,94,92,92,92,92,91,90,89,88,87,86,85,83,83,83,83,82,80,
02885     80,80,78,77,76,76,75,75,74,74,73,72,71,71,71,68,68,68,66,64,62,
02886     59,58,58,55,55,54,54,53,53,53,52,52,51,50,50,47,46,45,43,42,41,
02887     41,40,40,39,39,38,38,37,37,36,35,35,35,35,33,33,33,32,32,32,30,
02888     28,27,27,26,25,25,25,24,24,23,23,22,22,21,21,20
02889   };
02890   const int n2c2w2_g[] = {
02891     120, // Capacity
02892     100, // Number of items
02893     // Size of items (sorted)
02894     98,98,97,97,96,96,96,95,95,95,95,93,92,92,90,90,90,89,88,88,88,
02895     85,84,84,82,81,81,80,79,79,77,77,74,73,73,72,71,70,70,70,68,67,
02896     66,65,65,64,63,63,63,60,58,58,58,57,56,56,56,56,56,55,52,51,51,
02897     50,49,49,48,48,46,45,45,44,43,43,42,41,41,38,36,36,35,34,34,33,
02898     32,31,31,30,30,30,29,28,27,26,26,26,23,22,21,20
02899   };
02900   const int n2c2w2_h[] = {
02901     120, // Capacity
02902     100, // Number of items
02903     // Size of items (sorted)
02904     100,99,99,98,98,98,96,96,95,94,94,94,93,92,91,90,90,89,88,87,
02905     84,83,82,79,78,78,78,77,76,74,74,74,73,73,72,71,70,69,69,67,64,
02906     64,63,63,63,62,61,61,60,60,59,58,57,56,55,54,54,54,54,53,53,51,
02907     51,50,50,50,49,48,48,48,47,45,44,44,44,43,42,42,41,41,40,38,38,
02908     38,38,37,35,30,29,28,27,27,26,26,25,25,24,22,22,21
02909   };
02910   const int n2c2w2_i[] = {
02911     120, // Capacity
02912     100, // Number of items
02913     // Size of items (sorted)
02914     100,99,99,96,96,92,92,91,91,91,89,87,87,86,86,86,85,84,83,82,
02915     81,79,79,78,77,76,76,75,75,74,74,73,71,69,69,69,68,68,66,64,63,
02916     63,63,62,62,61,61,58,57,56,56,54,53,53,52,52,52,50,50,50,49,49,
02917     48,48,47,45,44,43,42,41,41,40,39,38,37,36,36,35,34,34,32,32,32,
02918     31,26,25,24,24,24,24,24,23,23,22,22,21,20,20,20,20
02919   };
02920   const int n2c2w2_j[] = {
02921     120, // Capacity
02922     100, // Number of items
02923     // Size of items (sorted)
02924     99,98,98,97,97,96,95,93,93,93,93,93,92,91,91,91,89,87,86,83,83,
02925     82,81,80,80,80,76,76,76,75,75,75,75,75,73,71,71,70,70,70,69,67,
02926     66,65,64,63,62,62,61,61,61,61,60,60,59,58,58,58,57,56,55,55,55,
02927     54,53,52,52,52,52,51,51,50,49,47,46,46,45,45,44,44,43,43,39,39,
02928     38,37,37,34,33,32,29,28,28,26,25,24,22,22,21,20
02929   };
02930   const int n2c2w2_k[] = {
02931     120, // Capacity
02932     100, // Number of items
02933     // Size of items (sorted)
02934     98,98,98,97,96,95,94,94,92,90,88,88,86,86,86,85,85,83,83,81,80,
02935     79,78,78,77,77,76,76,75,74,72,71,71,70,70,67,66,65,65,62,61,61,
02936     60,59,59,59,58,58,57,57,57,56,55,53,53,53,52,52,50,50,49,49,49,
02937     47,47,47,46,46,44,44,42,42,41,41,40,39,39,39,38,38,36,34,33,33,
02938     32,29,29,26,26,26,26,25,25,25,25,24,22,21,21,20
02939   };
02940   const int n2c2w2_l[] = {
02941     120, // Capacity
02942     100, // Number of items
02943     // Size of items (sorted)
02944     100,100,98,98,98,98,97,97,96,93,91,91,91,91,89,88,87,86,86,85,
02945     83,83,83,82,82,80,79,78,78,76,75,75,75,74,72,72,72,72,71,69,68,
02946     66,66,66,62,61,60,59,58,58,57,56,55,54,53,51,50,50,50,50,49,48,
02947     48,47,47,47,47,46,46,45,45,42,41,40,40,39,39,38,38,37,36,36,36,
02948     36,33,32,30,30,30,27,25,24,24,24,23,23,22,21,21,20
02949   };
02950   const int n2c2w2_m[] = {
02951     120, // Capacity
02952     100, // Number of items
02953     // Size of items (sorted)
02954     100,99,98,98,98,98,97,96,95,95,93,92,92,91,90,90,89,88,88,87,
02955     85,85,85,85,84,84,83,83,83,82,81,80,79,79,79,78,77,74,74,73,72,
02956     71,64,61,60,60,59,58,57,57,57,54,54,54,52,51,50,50,49,49,49,48,
02957     48,47,47,47,46,45,45,44,43,41,41,40,39,36,36,35,34,34,34,32,31,
02958     30,29,29,28,28,28,27,26,26,25,25,24,23,23,22,22,20
02959   };
02960   const int n2c2w2_n[] = {
02961     120, // Capacity
02962     100, // Number of items
02963     // Size of items (sorted)
02964     99,98,98,97,97,97,97,97,96,95,95,92,92,92,92,91,91,90,90,89,88,
02965     87,85,85,83,82,82,82,82,81,79,77,76,76,75,75,74,74,71,71,70,69,
02966     68,66,66,64,63,62,61,61,60,59,56,53,52,51,50,50,48,47,46,43,42,
02967     41,41,40,40,40,39,39,38,36,34,34,33,33,33,32,32,32,31,31,30,30,
02968     30,29,29,29,27,27,25,24,23,22,22,21,21,21,20,20
02969   };
02970   const int n2c2w2_o[] = {
02971     120, // Capacity
02972     100, // Number of items
02973     // Size of items (sorted)
02974     100,100,98,98,97,97,97,95,93,93,89,89,88,87,86,84,83,82,81,80,
02975     79,79,79,77,75,73,73,72,72,71,71,71,69,68,68,67,67,66,65,65,64,
02976     63,60,59,59,58,58,57,57,56,56,55,55,55,55,54,54,54,53,51,51,50,
02977     50,50,48,47,47,47,47,46,46,45,44,43,41,41,40,40,39,37,36,32,32,
02978     31,29,28,27,27,27,27,26,25,25,25,25,24,24,22,21,20
02979   };
02980   const int n2c2w2_p[] = {
02981     120, // Capacity
02982     100, // Number of items
02983     // Size of items (sorted)
02984     99,97,97,96,96,95,95,93,93,92,92,91,91,89,89,88,87,86,86,85,84,
02985     84,83,82,79,78,78,76,72,71,71,71,70,68,68,68,67,66,65,64,62,62,
02986     62,61,61,59,59,57,57,55,55,54,53,52,52,51,49,48,47,47,47,46,46,
02987     45,45,44,43,43,42,42,40,39,39,39,39,39,38,37,36,36,35,34,33,32,
02988     31,30,29,28,28,27,25,25,25,24,23,22,22,21,20,20
02989   };
02990   const int n2c2w2_q[] = {
02991     120, // Capacity
02992     100, // Number of items
02993     // Size of items (sorted)
02994     98,97,97,97,97,96,96,96,96,95,93,93,92,91,90,90,88,88,87,87,87,
02995     86,86,86,85,83,83,80,80,80,77,76,76,76,75,75,75,70,69,69,68,67,
02996     66,65,65,65,64,61,60,59,59,58,58,58,55,55,54,54,54,54,54,53,53,
02997     52,52,52,50,50,46,46,46,45,45,44,44,41,41,40,39,39,37,33,32,31,
02998     30,30,29,29,29,28,26,24,24,23,22,22,21,21,20,20
02999   };
03000   const int n2c2w2_r[] = {
03001     120, // Capacity
03002     100, // Number of items
03003     // Size of items (sorted)
03004     100,99,99,98,97,97,96,95,95,94,93,93,91,91,91,90,89,88,86,86,
03005     85,82,82,82,81,81,80,79,79,78,78,76,74,73,69,68,67,67,66,66,66,
03006     66,64,63,62,62,60,60,59,58,56,54,53,52,51,50,50,49,48,47,46,46,
03007     44,44,43,43,43,43,43,42,42,41,41,40,39,36,35,34,33,33,33,32,32,
03008     32,31,30,30,30,29,29,27,26,25,24,24,23,22,22,20,20
03009   };
03010   const int n2c2w2_s[] = {
03011     120, // Capacity
03012     100, // Number of items
03013     // Size of items (sorted)
03014     99,99,98,97,96,95,94,94,94,93,93,92,92,92,92,90,90,90,89,88,88,
03015     87,87,85,85,84,81,79,76,75,74,74,74,72,72,72,72,72,71,70,70,69,
03016     68,68,68,67,67,65,65,64,64,63,63,63,61,61,61,60,60,59,58,57,57,
03017     56,56,55,54,53,52,51,49,49,49,49,47,47,46,44,41,40,38,37,37,37,
03018     35,34,34,33,32,32,31,30,29,27,25,24,23,22,22,20
03019   };
03020   const int n2c2w2_t[] = {
03021     120, // Capacity
03022     100, // Number of items
03023     // Size of items (sorted)
03024     100,100,100,99,99,99,97,97,96,93,91,90,87,86,86,86,85,85,85,84,
03025     84,83,83,82,81,81,79,77,75,75,74,74,73,72,72,72,71,70,70,70,70,
03026     69,69,69,68,68,67,67,66,65,64,59,59,59,59,57,57,57,56,56,55,54,
03027     54,52,49,49,48,45,44,44,43,42,42,42,42,41,40,40,39,39,39,38,38,
03028     36,35,35,35,33,33,32,30,30,29,28,27,27,26,25,25,22
03029   };
03030   const int n2c2w4_a[] = {
03031     120, // Capacity
03032     100, // Number of items
03033     // Size of items (sorted)
03034     100,99,99,98,93,93,93,93,93,93,92,92,92,91,91,90,90,89,86,86,
03035     85,84,84,83,82,82,80,79,77,77,76,76,76,74,74,73,71,71,71,70,69,
03036     68,68,68,68,67,67,66,64,64,63,62,62,60,60,60,58,56,56,55,55,51,
03037     50,49,49,46,45,45,45,44,43,43,42,41,41,40,40,40,40,38,38,37,36,
03038     36,36,36,36,35,34,34,33,32,32,31,31,30,30,30,30,30
03039   };
03040   const int n2c2w4_b[] = {
03041     120, // Capacity
03042     100, // Number of items
03043     // Size of items (sorted)
03044     100,99,99,99,98,96,96,96,96,95,94,93,92,92,90,90,90,89,88,86,
03045     84,84,84,80,80,79,79,79,78,75,75,75,75,74,74,74,72,72,71,71,70,
03046     70,70,69,69,69,68,67,67,67,67,66,66,65,63,61,60,60,58,57,57,57,
03047     56,56,55,55,54,53,52,51,50,50,47,47,46,45,43,43,43,42,41,41,40,
03048     40,39,39,39,38,37,37,37,37,34,34,33,33,32,32,32,30
03049   };
03050   const int n2c2w4_c[] = {
03051     120, // Capacity
03052     100, // Number of items
03053     // Size of items (sorted)
03054     100,100,100,100,99,97,96,95,94,94,94,93,90,90,89,89,89,89,88,
03055     88,87,87,87,86,85,84,84,84,83,83,83,82,80,80,79,78,78,76,75,75,
03056     74,70,70,69,69,69,69,68,68,68,68,67,66,65,65,64,64,64,63,63,62,
03057     62,61,61,60,60,59,58,58,57,57,55,54,53,53,51,51,49,49,49,48,47,
03058     47,46,46,42,41,38,37,35,34,33,32,32,32,31,31,30,30,30
03059   };
03060   const int n2c2w4_d[] = {
03061     120, // Capacity
03062     100, // Number of items
03063     // Size of items (sorted)
03064     99,99,99,98,98,98,97,97,97,96,96,95,94,94,92,91,90,88,88,87,86,
03065     86,86,86,84,84,83,82,82,82,81,81,81,81,80,79,78,77,77,76,75,75,
03066     75,75,74,74,73,72,72,69,67,66,63,63,63,61,60,60,59,59,58,58,56,
03067     56,55,55,54,52,50,49,48,48,48,47,47,47,46,46,44,42,40,40,39,38,
03068     37,37,36,36,36,35,34,33,33,32,31,31,31,30,30,30
03069   };
03070   const int n2c2w4_e[] = {
03071     120, // Capacity
03072     100, // Number of items
03073     // Size of items (sorted)
03074     100,100,99,99,98,98,98,98,98,97,97,96,95,95,95,93,93,91,89,89,
03075     88,88,87,87,87,86,84,84,84,84,83,83,83,83,81,79,77,76,74,73,71,
03076     70,69,69,68,68,68,66,66,64,64,64,64,63,61,61,60,60,60,60,59,58,
03077     58,56,56,56,54,54,51,51,50,50,48,48,47,46,45,45,43,43,43,42,42,
03078     41,40,37,36,36,36,36,34,33,33,33,33,32,31,31,30,30
03079   };
03080   const int n2c2w4_f[] = {
03081     120, // Capacity
03082     100, // Number of items
03083     // Size of items (sorted)
03084     100,99,99,98,97,97,96,96,95,95,94,92,92,90,90,89,87,87,86,85,
03085     85,85,84,84,84,83,82,81,81,80,80,79,79,79,78,78,76,75,74,73,72,
03086     72,70,70,68,67,65,65,64,64,63,63,63,62,62,61,59,58,58,57,57,56,
03087     55,54,54,54,53,52,51,50,47,47,43,42,42,42,42,41,41,40,40,39,38,
03088     38,38,37,36,35,35,35,35,34,34,33,33,33,32,32,31,31
03089   };
03090   const int n2c2w4_g[] = {
03091     120, // Capacity
03092     100, // Number of items
03093     // Size of items (sorted)
03094     100,100,100,99,99,98,96,96,96,95,95,92,91,91,91,91,91,88,87,87,
03095     87,87,85,85,84,84,82,81,81,80,79,78,77,75,74,74,74,74,72,71,70,
03096     70,70,70,70,69,69,68,68,67,66,66,65,65,64,63,63,62,61,61,60,58,
03097     58,56,55,54,54,54,53,53,53,53,52,51,47,47,45,45,44,44,43,43,42,
03098     41,41,39,38,37,36,36,36,35,35,34,34,33,33,32,32,30
03099   };
03100   const int n2c2w4_h[] = {
03101     120, // Capacity
03102     100, // Number of items
03103     // Size of items (sorted)
03104     100,100,99,99,98,97,97,97,96,96,96,96,95,94,93,89,88,87,86,85,
03105     85,85,85,84,84,84,83,83,82,81,81,81,80,80,79,78,78,77,77,77,76,
03106     75,72,72,70,69,69,69,69,66,66,65,64,64,63,63,62,59,59,58,58,57,
03107     57,57,55,54,52,52,51,51,51,48,47,47,47,46,46,45,45,45,44,43,43,
03108     42,42,42,42,39,37,37,37,35,34,33,32,32,31,31,30,30
03109   };
03110   const int n2c2w4_i[] = {
03111     120, // Capacity
03112     100, // Number of items
03113     // Size of items (sorted)
03114     100,99,99,98,97,94,94,94,94,93,93,92,91,91,91,90,90,89,88,87,
03115     87,87,85,84,83,83,82,82,82,82,79,78,78,77,74,74,74,74,72,72,71,
03116     71,70,68,67,67,66,66,64,63,63,62,61,61,60,60,59,59,58,56,53,52,
03117     52,52,52,52,52,52,51,51,50,49,49,48,47,46,46,45,45,45,43,41,40,
03118     40,39,38,38,38,37,37,35,35,33,33,32,31,30,30,30,30
03119   };
03120   const int n2c2w4_j[] = {
03121     120, // Capacity
03122     100, // Number of items
03123     // Size of items (sorted)
03124     100,100,100,99,98,98,98,98,97,97,96,95,95,93,92,91,90,90,90,89,
03125     88,88,86,86,85,85,83,82,81,81,80,76,76,76,74,74,73,73,73,71,71,
03126     71,70,70,69,68,68,67,67,67,66,66,66,65,64,64,64,62,61,59,58,58,
03127     55,55,55,54,52,51,50,50,49,49,49,49,48,47,47,47,44,44,43,43,40,
03128     40,38,38,38,37,37,37,36,36,36,36,35,33,32,32,31,30
03129   };
03130   const int n2c2w4_k[] = {
03131     120, // Capacity
03132     100, // Number of items
03133     // Size of items (sorted)
03134     99,97,97,97,96,95,94,94,93,93,93,91,90,89,88,86,84,83,83,83,82,
03135     82,81,81,81,80,78,78,78,77,75,75,74,73,73,73,73,71,71,71,70,69,
03136     69,68,68,67,66,65,64,64,63,63,63,63,62,62,61,60,59,58,57,57,57,
03137     57,56,55,54,54,53,52,52,52,52,50,50,49,49,49,48,48,46,45,45,44,
03138     44,42,39,39,37,34,34,34,34,33,33,32,31,31,30,30
03139   };
03140   const int n2c2w4_l[] = {
03141     120, // Capacity
03142     100, // Number of items
03143     // Size of items (sorted)
03144     100,99,99,97,97,97,96,93,91,89,89,88,88,88,85,84,82,82,80,80,
03145     78,78,78,78,78,77,77,76,76,75,75,75,74,74,74,72,71,70,69,69,69,
03146     67,67,67,66,65,65,65,64,63,63,61,61,60,60,60,60,59,58,58,57,57,
03147     57,56,56,54,53,53,52,52,51,51,47,47,46,45,45,45,44,44,43,43,43,
03148     43,42,37,37,37,35,34,34,33,33,33,33,32,32,31,30,30
03149   };
03150   const int n2c2w4_m[] = {
03151     120, // Capacity
03152     100, // Number of items
03153     // Size of items (sorted)
03154     100,99,98,97,96,96,95,94,94,94,93,93,92,92,91,91,91,90,90,90,
03155     89,86,86,85,84,84,83,82,82,77,77,77,77,77,76,75,75,74,73,72,71,
03156     71,70,70,70,70,69,69,68,67,67,66,65,64,64,63,61,60,58,58,58,57,
03157     57,57,54,54,54,53,52,52,52,51,51,51,48,46,46,46,45,44,44,44,43,
03158     43,43,41,39,38,38,36,36,35,35,34,32,31,31,31,30,30
03159   };
03160   const int n2c2w4_n[] = {
03161     120, // Capacity
03162     100, // Number of items
03163     // Size of items (sorted)
03164     100,99,99,98,97,95,95,94,94,94,93,92,92,91,91,91,90,89,87,87,
03165     86,86,85,84,81,81,81,81,80,79,79,79,79,78,77,75,75,75,74,74,73,
03166     73,73,71,71,70,70,69,67,67,66,64,64,63,63,63,62,61,61,61,61,60,
03167     59,59,59,59,58,58,56,56,54,54,53,53,53,52,52,51,49,45,44,44,43,
03168     43,39,37,37,37,37,37,37,36,36,35,33,32,32,31,31,30
03169   };
03170   const int n2c2w4_o[] = {
03171     120, // Capacity
03172     100, // Number of items
03173     // Size of items (sorted)
03174     100,99,97,97,97,94,94,93,93,93,92,92,92,91,91,90,90,90,88,88,
03175     88,88,87,87,87,86,86,86,86,85,85,84,84,83,83,81,81,80,79,79,79,
03176     79,77,74,74,73,72,72,70,70,67,67,66,66,66,65,64,64,64,63,62,61,
03177     59,58,54,53,53,52,51,47,47,45,44,43,43,42,41,41,41,39,39,39,39,
03178     37,37,36,35,35,34,34,33,33,33,32,31,31,30,30,30,30
03179   };
03180   const int n2c2w4_p[] = {
03181     120, // Capacity
03182     100, // Number of items
03183     // Size of items (sorted)
03184     100,99,99,99,98,97,97,96,96,95,94,94,93,91,89,89,89,87,87,86,
03185     85,84,84,84,83,83,83,83,79,79,76,76,75,74,73,73,72,71,71,70,70,
03186     70,70,68,67,67,66,64,64,63,62,62,62,62,62,59,58,58,56,56,56,54,
03187     54,54,53,53,53,51,51,50,49,49,48,48,48,47,46,46,45,44,43,43,43,
03188     42,41,41,41,41,40,39,38,38,38,38,37,36,35,32,31,30
03189   };
03190   const int n2c2w4_q[] = {
03191     120, // Capacity
03192     100, // Number of items
03193     // Size of items (sorted)
03194     99,98,98,98,96,95,94,91,90,90,90,89,88,86,85,85,84,83,83,83,83,
03195     82,80,80,79,79,78,78,77,77,77,77,77,76,76,76,76,76,76,76,76,73,
03196     73,72,71,71,70,70,68,67,67,67,66,65,64,63,62,62,62,61,59,57,56,
03197     56,56,56,55,54,54,54,54,53,52,52,51,51,50,48,47,47,47,45,45,44,
03198     44,42,41,41,38,37,36,34,34,34,32,32,32,31,30,30
03199   };
03200   const int n2c2w4_r[] = {
03201     120, // Capacity
03202     100, // Number of items
03203     // Size of items (sorted)
03204     100,99,99,98,97,97,97,96,94,94,93,93,93,91,89,89,89,89,89,88,
03205     87,87,86,86,85,85,84,83,80,79,78,77,77,77,73,73,71,70,70,69,69,
03206     68,67,65,63,62,62,62,62,61,60,60,59,59,59,58,58,58,57,57,56,56,
03207     55,54,53,52,51,49,48,47,46,45,45,45,44,43,42,42,42,42,41,40,39,
03208     39,38,37,35,35,35,35,34,33,33,32,32,31,30,30,30,30
03209   };
03210   const int n2c2w4_s[] = {
03211     120, // Capacity
03212     100, // Number of items
03213     // Size of items (sorted)
03214     100,100,97,96,96,95,94,94,94,90,90,90,87,86,86,86,83,83,83,83,
03215     83,82,82,82,80,79,79,78,77,77,77,76,76,75,71,71,71,70,70,68,68,
03216     67,67,66,66,65,63,63,63,62,61,61,60,60,59,59,59,58,56,55,53,53,
03217     53,52,51,49,49,47,45,45,45,45,45,44,42,42,42,41,41,41,41,41,39,
03218     39,38,38,38,37,33,33,33,33,32,32,32,31,31,31,31,30
03219   };
03220   const int n2c2w4_t[] = {
03221     120, // Capacity
03222     100, // Number of items
03223     // Size of items (sorted)
03224     99,99,98,98,97,97,97,96,93,92,91,91,90,89,88,88,87,86,86,85,85,
03225     84,84,83,83,81,80,80,78,76,75,75,74,72,72,71,69,69,68,68,68,68,
03226     67,66,66,65,62,61,61,60,60,60,59,58,58,57,57,57,56,56,54,54,53,
03227     53,53,52,52,51,50,50,50,49,48,48,46,46,46,46,45,45,43,42,42,41,
03228     41,41,38,37,36,36,35,34,34,34,33,33,33,32,30,30
03229   };
03230   const int n2c3w1_a[] = {
03231     150, // Capacity
03232     100, // Number of items
03233     // Size of items (sorted)
03234     99,99,97,97,96,96,96,94,93,93,92,90,90,90,89,88,88,87,83,82,81,
03235     81,81,80,79,78,77,77,76,76,75,74,74,74,71,69,69,68,67,67,66,62,
03236     59,58,57,56,55,54,54,53,53,52,52,49,49,48,47,46,45,44,43,43,42,
03237     42,39,38,37,35,35,34,32,32,31,31,30,29,24,24,21,21,21,20,18,16,
03238     13,12,11,9,7,7,7,6,5,5,4,4,2,2,1,1
03239   };
03240   const int n2c3w1_b[] = {
03241     150, // Capacity
03242     100, // Number of items
03243     // Size of items (sorted)
03244     100,99,96,94,93,92,92,91,91,91,89,88,86,86,86,85,84,84,84,81,
03245     81,80,79,79,78,77,77,77,77,73,71,69,67,66,65,65,64,64,64,62,60,
03246     57,57,56,56,56,56,53,52,51,51,50,50,48,47,46,45,44,43,42,41,41,
03247     40,40,39,39,38,37,36,36,36,34,33,31,31,29,29,26,25,22,22,22,20,
03248     17,11,11,10,9,7,7,7,7,6,5,3,2,2,1,1,1
03249   };
03250   const int n2c3w1_c[] = {
03251     150, // Capacity
03252     100, // Number of items
03253     // Size of items (sorted)
03254     98,97,97,97,96,95,95,95,95,93,92,88,87,86,86,85,81,81,80,78,78,
03255     78,77,77,76,75,74,72,71,70,70,69,69,67,67,67,65,65,65,64,64,63,
03256     62,58,58,56,56,56,55,52,51,50,50,50,49,49,47,45,43,43,43,42,41,
03257     40,40,40,39,38,36,35,33,33,32,30,29,28,28,25,25,22,22,20,20,18,
03258     17,16,15,11,11,10,8,5,5,5,4,4,2,2,2,1
03259   };
03260   const int n2c3w1_d[] = {
03261     150, // Capacity
03262     100, // Number of items
03263     // Size of items (sorted)
03264     99,99,97,97,96,96,94,92,92,92,92,91,90,90,89,89,88,85,84,84,84,
03265     80,80,78,78,77,77,77,76,75,75,75,74,73,73,72,71,71,70,68,66,65,
03266     64,62,61,60,57,56,56,55,55,54,54,52,50,50,48,48,47,47,45,45,45,
03267     44,42,40,40,39,38,38,38,36,34,32,30,29,29,29,28,28,28,26,25,25,
03268     24,21,18,17,14,13,12,12,10,10,9,9,8,5,4,1
03269   };
03270   const int n2c3w1_e[] = {
03271     150, // Capacity
03272     100, // Number of items
03273     // Size of items (sorted)
03274     100,99,99,98,98,96,93,91,89,89,88,86,86,85,85,85,84,84,82,82,
03275     81,80,79,78,77,76,75,75,73,72,71,70,69,68,68,66,66,64,63,63,62,
03276     62,58,57,55,54,52,51,50,50,49,48,48,46,46,44,43,41,41,38,37,34,
03277     33,31,31,31,31,29,29,28,28,27,27,27,26,26,26,25,22,22,21,20,20,
03278     19,18,18,16,15,15,15,14,14,13,9,8,8,8,2,2,2
03279   };
03280   const int n2c3w1_f[] = {
03281     150, // Capacity
03282     100, // Number of items
03283     // Size of items (sorted)
03284     100,100,100,98,98,97,97,96,94,92,90,87,86,84,84,83,83,81,81,81,
03285     81,80,77,77,77,75,74,74,74,73,70,69,69,68,67,66,66,65,65,64,63,
03286     62,62,61,60,59,57,57,57,57,56,56,54,52,50,50,47,45,43,43,43,40,
03287     38,37,37,36,36,35,35,33,33,32,31,31,29,27,27,24,23,19,18,16,14,
03288     13,13,12,12,11,10,9,8,8,8,4,4,4,3,2,2,1
03289   };
03290   const int n2c3w1_g[] = {
03291     150, // Capacity
03292     100, // Number of items
03293     // Size of items (sorted)
03294     99,98,96,94,93,92,91,91,88,88,87,87,87,86,85,84,83,82,81,79,79,
03295     77,75,73,73,73,72,71,69,68,67,66,65,65,64,64,62,62,61,60,60,57,
03296     55,55,54,50,50,50,49,48,48,47,45,44,44,44,42,42,39,38,35,35,34,
03297     34,34,33,33,32,31,31,29,29,28,26,25,23,21,21,20,19,18,18,16,16,
03298     15,14,13,13,11,11,11,10,8,6,6,5,5,4,3,2
03299   };
03300   const int n2c3w1_h[] = {
03301     150, // Capacity
03302     100, // Number of items
03303     // Size of items (sorted)
03304     100,99,98,98,98,94,93,91,91,89,87,87,87,86,86,86,85,85,84,83,
03305     83,81,81,80,78,77,77,76,76,75,75,73,73,70,69,69,65,63,63,63,62,
03306     62,62,60,59,58,57,57,55,54,53,52,51,51,50,49,49,48,47,47,44,44,
03307     42,38,37,37,32,32,32,30,30,29,28,27,27,25,25,25,23,23,23,22,22,
03308     21,20,19,17,15,14,13,13,10,9,8,6,5,4,3,2,1
03309   };
03310   const int n2c3w1_i[] = {
03311     150, // Capacity
03312     100, // Number of items
03313     // Size of items (sorted)
03314     100,99,97,96,94,94,92,92,92,91,91,89,87,86,86,86,85,85,83,83,
03315     80,80,78,76,75,73,72,68,66,65,64,63,63,62,62,61,60,58,58,56,56,
03316     56,54,54,53,53,52,51,51,50,49,49,49,48,47,47,46,45,43,43,42,42,
03317     42,40,37,37,36,36,34,34,33,33,31,29,25,24,24,23,21,21,20,17,16,
03318     15,13,13,12,11,11,11,10,9,9,8,8,7,7,5,3,1
03319   };
03320   const int n2c3w1_j[] = {
03321     150, // Capacity
03322     100, // Number of items
03323     // Size of items (sorted)
03324     99,99,98,97,97,95,95,92,91,90,90,89,88,87,86,86,86,85,83,83,83,
03325     82,80,78,78,77,76,76,75,75,74,72,70,69,67,62,61,61,59,59,59,58,
03326     58,56,56,55,52,52,52,51,51,49,47,47,46,44,43,42,42,39,37,37,36,
03327     31,31,31,28,27,25,25,25,23,21,19,18,17,16,16,16,16,15,14,14,14,
03328     14,13,13,10,10,9,7,7,6,6,5,4,2,2,1,1
03329   };
03330   const int n2c3w1_k[] = {
03331     150, // Capacity
03332     100, // Number of items
03333     // Size of items (sorted)
03334     98,98,96,95,95,94,94,93,93,92,92,92,90,89,89,88,87,87,87,87,85,
03335     85,83,83,82,81,80,80,79,76,75,75,74,73,71,70,68,68,66,66,63,63,
03336     63,59,59,58,58,58,58,56,55,54,53,51,49,49,47,46,46,45,44,44,43,
03337     42,40,37,37,37,36,33,33,33,30,30,29,26,26,26,26,25,24,23,22,21,
03338     21,20,18,17,17,16,15,10,7,6,5,4,3,2,1,1
03339   };
03340   const int n2c3w1_l[] = {
03341     150, // Capacity
03342     100, // Number of items
03343     // Size of items (sorted)
03344     100,99,99,97,97,96,95,95,95,93,93,90,89,89,86,85,82,81,79,79,
03345     78,77,77,76,76,76,74,74,74,73,71,71,70,70,69,67,66,66,65,65,61,
03346     61,61,60,59,59,58,57,54,52,48,48,47,47,46,46,46,46,44,44,42,42,
03347     41,41,39,39,39,39,36,35,34,31,31,26,26,26,24,22,21,21,19,18,17,
03348     17,16,16,15,15,14,14,13,12,10,7,7,7,3,3,2,2
03349   };
03350   const int n2c3w1_m[] = {
03351     150, // Capacity
03352     100, // Number of items
03353     // Size of items (sorted)
03354     100,100,98,97,95,94,92,89,87,87,83,81,81,81,80,80,78,77,75,74,
03355     74,71,69,68,67,66,66,65,64,64,64,64,64,64,64,63,58,56,55,54,52,
03356     50,49,49,46,46,45,44,43,41,40,40,37,35,35,35,34,34,33,32,32,32,
03357     31,30,29,27,27,26,25,25,24,24,23,22,21,21,19,19,19,18,18,18,17,
03358     17,15,14,14,14,11,11,8,6,6,5,4,3,2,2,1,1
03359   };
03360   const int n2c3w1_n[] = {
03361     150, // Capacity
03362     100, // Number of items
03363     // Size of items (sorted)
03364     98,98,96,94,94,91,89,88,88,87,87,87,86,85,85,84,84,82,81,81,80,
03365     80,79,79,78,76,75,72,72,70,69,69,68,67,66,65,64,63,58,57,54,54,
03366     53,53,53,53,50,49,47,44,44,43,43,42,42,40,38,38,37,36,34,33,33,
03367     30,30,30,29,26,25,25,23,23,20,20,19,19,16,16,15,15,15,15,13,12,
03368     12,11,10,10,9,9,7,6,6,4,4,3,2,2,1,1
03369   };
03370   const int n2c3w1_o[] = {
03371     150, // Capacity
03372     100, // Number of items
03373     // Size of items (sorted)
03374     100,98,96,96,94,93,93,92,91,91,90,89,89,86,86,85,84,83,82,82,
03375     79,79,79,79,77,75,75,75,74,74,74,74,71,71,70,68,68,67,66,63,63,
03376     62,62,60,59,59,58,55,54,54,52,49,48,47,47,46,45,44,43,43,42,40,
03377     39,39,37,37,36,35,34,33,28,26,26,25,25,23,22,21,20,19,19,19,18,
03378     17,17,16,12,12,12,10,10,9,9,8,7,7,7,6,3,2
03379   };
03380   const int n2c3w1_p[] = {
03381     150, // Capacity
03382     100, // Number of items
03383     // Size of items (sorted)
03384     100,97,96,94,94,93,92,92,91,90,90,87,86,86,86,84,84,82,81,80,
03385     77,76,76,76,75,74,74,73,73,72,72,71,71,70,70,70,69,68,68,67,66,
03386     66,65,64,63,62,62,60,59,59,59,59,57,52,52,50,49,48,47,46,44,42,
03387     41,38,36,36,34,33,30,28,27,25,25,24,22,20,20,17,16,16,15,15,15,
03388     13,13,12,11,11,10,10,10,10,9,8,8,6,5,5,4,3
03389   };
03390   const int n2c3w1_q[] = {
03391     150, // Capacity
03392     100, // Number of items
03393     // Size of items (sorted)
03394     100,99,97,94,93,91,89,88,86,85,85,84,83,81,81,80,79,78,77,76,
03395     75,75,74,71,71,70,69,68,68,68,68,66,64,63,63,62,62,62,61,59,58,
03396     56,55,55,54,54,54,54,52,52,47,46,46,46,45,44,41,41,39,39,39,38,
03397     38,37,36,36,35,35,34,34,34,33,31,30,29,29,29,29,28,28,27,27,27,
03398     26,26,26,23,23,22,20,20,20,17,14,8,8,6,3,1,1
03399   };
03400   const int n2c3w1_r[] = {
03401     150, // Capacity
03402     100, // Number of items
03403     // Size of items (sorted)
03404     100,98,95,95,94,92,92,92,90,88,88,87,87,87,86,86,83,83,82,82,
03405     81,80,77,76,75,75,75,74,73,70,70,68,66,66,66,65,64,64,60,59,58,
03406     56,55,52,52,52,52,52,51,49,49,48,46,44,42,42,41,41,41,40,40,39,
03407     38,36,36,35,34,34,34,31,31,30,27,27,27,24,24,22,21,20,15,15,15,
03408     14,14,12,12,11,10,9,7,6,6,5,4,4,3,3,2,1
03409   };
03410   const int n2c3w1_s[] = {
03411     150, // Capacity
03412     100, // Number of items
03413     // Size of items (sorted)
03414     100,99,99,98,97,96,95,95,94,91,91,89,88,88,86,83,82,79,78,78,
03415     76,75,75,74,72,71,70,70,69,69,69,68,66,65,64,64,63,63,62,62,61,
03416     60,58,58,57,56,56,55,55,54,52,52,49,49,49,48,48,47,46,46,45,45,
03417     41,40,40,39,37,36,36,36,35,35,35,35,33,32,31,31,31,28,28,25,24,
03418     24,21,20,19,19,19,18,16,16,16,16,13,13,11,8,6,5
03419   };
03420   const int n2c3w1_t[] = {
03421     150, // Capacity
03422     100, // Number of items
03423     // Size of items (sorted)
03424     100,99,98,96,95,95,95,91,90,90,90,89,88,85,85,83,81,80,80,80,
03425     79,79,78,77,77,77,76,76,75,74,74,73,73,71,68,67,66,65,64,63,62,
03426     58,56,56,55,53,51,51,51,50,49,46,44,44,43,43,42,42,42,40,39,38,
03427     37,37,37,36,36,36,34,34,34,33,32,31,30,30,29,27,26,26,25,22,19,
03428     18,17,16,16,15,14,12,12,10,9,7,6,5,4,4,3,1
03429   };
03430   const int n2c3w2_a[] = {
03431     150, // Capacity
03432     100, // Number of items
03433     // Size of items (sorted)
03434     100,99,98,96,96,96,96,96,96,94,93,93,92,92,92,91,91,91,90,87,
03435     84,83,83,79,78,78,77,77,76,76,75,75,75,73,73,73,72,72,72,72,72,
03436     71,71,70,70,66,66,65,64,63,59,58,57,56,56,55,55,54,53,53,52,51,
03437     49,47,46,46,45,44,43,43,42,41,41,39,39,38,37,35,35,34,34,33,33,
03438     32,32,32,32,31,30,30,29,28,24,23,22,22,22,22,21,20
03439   };
03440   const int n2c3w2_b[] = {
03441     150, // Capacity
03442     100, // Number of items
03443     // Size of items (sorted)
03444     99,97,96,96,96,95,95,95,95,94,94,93,92,92,92,91,91,91,90,89,89,
03445     89,88,88,88,87,86,86,85,85,84,83,82,81,81,77,77,76,76,75,73,73,
03446     73,72,72,72,72,70,69,67,66,65,65,64,62,61,60,58,57,56,55,53,52,
03447     52,52,48,48,46,45,43,42,39,39,38,38,38,38,37,36,35,34,34,32,31,
03448     30,30,28,27,27,27,25,24,24,24,23,23,22,22,22,21
03449   };
03450   const int n2c3w2_c[] = {
03451     150, // Capacity
03452     100, // Number of items
03453     // Size of items (sorted)
03454     100,99,99,98,97,97,97,96,96,95,95,95,94,93,93,93,92,91,89,88,
03455     87,86,84,84,83,83,82,81,81,81,78,78,75,74,73,72,72,71,70,68,67,
03456     66,65,64,63,63,62,60,60,59,59,58,57,56,56,55,54,51,49,49,48,47,
03457     47,46,45,45,45,45,44,44,44,44,43,41,41,40,39,39,39,37,37,37,35,
03458     35,34,32,31,31,30,28,26,25,24,24,23,23,22,21,20,20
03459   };
03460   const int n2c3w2_d[] = {
03461     150, // Capacity
03462     100, // Number of items
03463     // Size of items (sorted)
03464     100,100,100,99,99,98,97,96,95,95,95,94,94,91,91,90,90,88,86,84,
03465     83,83,79,78,77,74,74,72,72,70,69,69,69,69,68,68,68,67,67,67,66,
03466     66,65,64,63,63,63,63,63,62,62,61,60,60,59,59,59,59,57,55,55,55,
03467     53,53,52,52,51,50,49,48,47,47,45,44,44,43,43,42,42,41,41,38,37,
03468     36,36,36,36,34,34,29,29,28,27,25,24,23,23,22,22,20
03469   };
03470   const int n2c3w2_e[] = {
03471     150, // Capacity
03472     100, // Number of items
03473     // Size of items (sorted)
03474     99,98,98,98,93,93,92,90,90,89,89,87,85,85,84,81,81,81,80,77,76,
03475     75,75,74,74,73,71,70,70,69,68,67,67,67,66,66,65,65,64,63,62,62,
03476     61,61,59,58,57,57,57,56,55,54,54,54,52,52,52,52,52,51,51,50,50,
03477     50,49,47,47,47,47,47,45,45,44,43,42,42,39,39,39,39,39,39,38,37,
03478     37,37,34,33,33,32,32,31,31,31,29,28,28,27,25,22
03479   };
03480   const int n2c3w2_f[] = {
03481     150, // Capacity
03482     100, // Number of items
03483     // Size of items (sorted)
03484     100,99,99,98,98,97,97,96,95,94,92,92,92,90,86,86,85,85,83,83,
03485     74,74,73,73,73,72,71,71,71,70,70,70,70,69,69,67,67,66,66,66,66,
03486     65,65,63,63,62,61,57,56,56,56,55,54,54,53,53,53,51,49,47,47,47,
03487     46,46,45,44,44,44,42,41,40,40,37,37,35,35,35,35,33,32,32,32,32,
03488     31,31,30,28,28,27,27,27,26,24,23,22,21,21,21,21,20
03489   };
03490   const int n2c3w2_g[] = {
03491     150, // Capacity
03492     100, // Number of items
03493     // Size of items (sorted)
03494     100,99,99,99,97,97,96,96,95,94,94,93,93,92,91,91,90,89,88,88,
03495     87,87,86,85,84,83,83,83,82,82,78,75,75,73,73,72,72,70,69,69,67,
03496     67,65,65,63,61,61,60,59,58,58,58,58,57,57,57,55,54,54,54,52,52,
03497     52,51,48,47,47,47,46,45,45,45,44,42,41,40,37,35,34,31,30,29,27,
03498     26,26,26,25,25,25,24,24,24,24,23,23,23,23,23,22,20
03499   };
03500   const int n2c3w2_h[] = {
03501     150, // Capacity
03502     100, // Number of items
03503     // Size of items (sorted)
03504     99,98,98,98,96,92,92,91,89,87,86,86,85,85,82,81,81,80,80,77,77,
03505     76,76,75,74,74,74,73,71,71,69,69,68,68,66,66,65,64,63,63,63,62,
03506     61,59,59,57,56,55,54,54,53,53,53,51,50,50,49,49,49,48,48,47,47,
03507     46,44,44,44,43,42,41,36,36,36,36,36,35,33,33,32,32,32,32,30,30,
03508     30,30,29,28,28,28,25,25,25,24,24,22,22,22,20,20
03509   };
03510   const int n2c3w2_i[] = {
03511     150, // Capacity
03512     100, // Number of items
03513     // Size of items (sorted)
03514     99,99,99,99,98,97,97,97,96,95,95,95,93,93,93,92,92,91,91,91,90,
03515     90,89,88,87,87,86,84,83,82,81,80,79,79,79,78,78,77,77,76,74,73,
03516     72,71,70,69,69,68,66,66,65,65,65,64,63,63,63,63,62,61,60,60,59,
03517     57,57,54,54,52,49,48,48,47,47,47,47,46,46,45,44,43,43,37,37,36,
03518     36,34,33,32,30,30,30,27,25,22,22,22,21,21,20,20
03519   };
03520   const int n2c3w2_j[] = {
03521     150, // Capacity
03522     100, // Number of items
03523     // Size of items (sorted)
03524     100,100,99,99,99,98,97,97,96,96,96,95,94,94,94,93,93,93,91,90,
03525     89,87,87,86,85,84,83,83,82,81,80,80,80,79,79,78,78,78,78,77,76,
03526     75,74,72,72,72,71,70,70,69,67,66,66,63,62,60,60,57,56,56,56,56,
03527     53,52,52,50,50,48,48,45,44,44,44,44,43,40,38,38,38,37,37,37,36,
03528     36,35,33,32,30,30,28,28,27,27,26,26,25,24,23,22,22
03529   };
03530   const int n2c3w2_k[] = {
03531     150, // Capacity
03532     100, // Number of items
03533     // Size of items (sorted)
03534     100,99,99,99,98,98,97,95,95,95,94,94,93,93,93,90,89,87,87,87,
03535     87,86,85,85,84,84,83,83,82,81,81,80,79,79,78,74,74,73,72,71,71,
03536     70,70,69,68,67,67,67,66,64,62,62,61,61,59,59,58,56,55,54,52,52,
03537     52,52,51,50,50,48,48,48,47,47,42,41,39,38,36,34,34,34,34,33,33,
03538     32,32,32,31,31,30,29,29,27,27,26,26,25,24,23,20,20
03539   };
03540   const int n2c3w2_l[] = {
03541     150, // Capacity
03542     100, // Number of items
03543     // Size of items (sorted)
03544     100,100,98,98,96,95,95,93,93,93,92,92,91,91,91,90,90,89,87,87,
03545     85,85,84,84,82,82,81,80,78,78,75,74,72,72,71,70,69,68,67,66,65,
03546     65,65,65,64,63,63,63,61,61,61,61,61,61,60,60,59,58,57,57,57,56,
03547     54,54,53,53,53,52,49,48,47,47,47,45,43,43,42,40,40,40,40,38,36,
03548     36,34,32,32,29,28,27,27,27,25,23,23,23,22,22,22,21
03549   };
03550   const int n2c3w2_m[] = {
03551     150, // Capacity
03552     100, // Number of items
03553     // Size of items (sorted)
03554     100,100,100,98,98,98,97,96,95,95,94,92,92,91,91,91,90,90,89,89,
03555     89,89,87,87,85,84,84,83,82,81,78,78,78,77,77,77,76,75,74,72,72,
03556     71,69,69,68,67,67,67,66,65,62,62,62,61,60,60,60,60,60,59,58,58,
03557     57,55,55,54,52,52,48,46,46,45,45,44,44,43,43,43,42,42,41,41,40,
03558     40,37,35,33,33,33,32,31,30,29,29,29,25,25,24,23,21
03559   };
03560   const int n2c3w2_n[] = {
03561     150, // Capacity
03562     100, // Number of items
03563     // Size of items (sorted)
03564     100,100,98,96,94,94,93,92,92,92,91,91,90,89,89,87,87,85,85,81,
03565     81,81,80,79,79,78,78,78,78,78,77,77,76,76,76,76,75,75,75,74,73,
03566     72,72,69,68,67,66,66,65,64,63,62,61,58,56,56,55,55,54,54,51,49,
03567     49,49,48,47,47,46,44,44,44,43,43,40,39,38,38,38,38,37,37,36,35,
03568     35,34,32,32,32,31,30,27,27,25,25,24,23,23,22,21,20
03569   };
03570   const int n2c3w2_o[] = {
03571     150, // Capacity
03572     100, // Number of items
03573     // Size of items (sorted)
03574     100,99,99,99,98,97,96,95,95,95,94,93,93,93,92,92,91,88,88,88,
03575     88,87,86,86,85,85,85,85,84,82,82,81,81,81,78,78,77,77,76,76,75,
03576     72,72,72,71,71,70,68,68,67,66,64,64,63,63,63,63,61,60,60,57,56,
03577     56,55,55,55,53,53,52,52,51,51,50,49,48,48,47,45,45,43,42,40,39,
03578     38,38,37,37,37,37,36,34,34,33,33,33,32,31,26,25,21
03579   };
03580   const int n2c3w2_p[] = {
03581     150, // Capacity
03582     100, // Number of items
03583     // Size of items (sorted)
03584     100,100,100,100,99,99,98,98,97,96,96,94,94,94,92,91,90,88,87,
03585     86,85,84,83,82,82,82,81,80,79,75,74,73,72,72,72,72,71,69,68,68,
03586     67,65,65,65,65,65,64,62,60,60,59,59,58,57,57,57,56,55,54,54,53,
03587     52,52,49,49,47,45,45,45,43,42,41,41,40,39,39,36,35,34,34,34,33,
03588     31,31,31,30,30,30,29,28,27,26,26,24,23,22,21,20,20,20
03589   };
03590   const int n2c3w2_q[] = {
03591     150, // Capacity
03592     100, // Number of items
03593     // Size of items (sorted)
03594     100,97,95,95,94,94,93,92,92,92,91,89,88,88,88,87,86,86,85,85,
03595     83,83,82,81,80,75,75,75,74,74,73,73,72,72,69,69,69,69,69,69,68,
03596     68,68,68,66,65,64,63,63,63,63,61,59,59,58,58,57,56,53,52,50,50,
03597     49,48,48,46,46,45,44,43,43,42,42,42,42,42,42,41,41,39,38,38,38,
03598     37,37,35,34,32,31,30,29,28,28,27,25,24,24,22,21,21
03599   };
03600   const int n2c3w2_r[] = {
03601     150, // Capacity
03602     100, // Number of items
03603     // Size of items (sorted)
03604     100,98,98,97,97,96,96,96,96,92,91,91,87,86,84,83,82,82,81,81,
03605     81,81,80,79,79,79,78,78,78,76,76,76,76,76,75,73,73,71,71,70,69,
03606     69,66,66,65,63,62,61,60,58,57,57,57,55,52,51,49,46,46,46,46,46,
03607     46,45,45,45,44,43,43,43,42,42,42,41,40,40,37,37,37,35,35,34,34,
03608     33,32,32,27,27,26,26,25,24,23,22,22,22,21,20,20,20
03609   };
03610   const int n2c3w2_s[] = {
03611     150, // Capacity
03612     100, // Number of items
03613     // Size of items (sorted)
03614     100,100,99,99,99,99,98,97,97,97,96,96,95,95,95,94,92,91,91,90,
03615     90,89,87,84,83,83,83,82,82,82,82,81,80,80,79,79,79,78,78,77,77,
03616     77,75,74,73,69,68,65,64,64,63,62,62,62,62,62,61,61,60,58,57,56,
03617     55,51,49,48,47,46,45,45,44,43,42,41,39,38,38,37,36,36,36,35,34,
03618     34,34,33,33,32,32,31,31,29,28,26,26,25,25,20,20,20
03619   };
03620   const int n2c3w2_t[] = {
03621     150, // Capacity
03622     100, // Number of items
03623     // Size of items (sorted)
03624     100,100,99,97,95,95,94,93,93,92,91,90,89,89,88,88,86,86,85,84,
03625     84,82,82,82,81,81,80,80,79,79,77,77,76,74,74,74,73,72,71,70,69,
03626     69,69,67,67,66,66,65,64,64,63,63,62,61,61,61,61,60,59,59,59,58,
03627     57,57,57,57,56,55,54,54,54,51,50,50,50,49,48,47,46,46,45,44,42,
03628     41,40,40,40,39,38,35,34,29,27,26,25,25,23,23,22,20
03629   };
03630   const int n2c3w4_a[] = {
03631     150, // Capacity
03632     100, // Number of items
03633     // Size of items (sorted)
03634     99,99,98,98,97,97,96,96,96,96,95,94,93,92,91,89,87,87,87,86,85,
03635     84,84,83,83,83,82,81,80,79,79,79,77,77,76,74,74,74,73,72,72,71,
03636     71,69,69,69,66,65,64,64,64,63,62,61,60,59,57,57,57,56,56,55,54,
03637     53,52,52,51,51,49,47,47,46,46,46,46,46,46,44,43,43,43,41,40,40,
03638     39,39,38,36,36,35,34,34,33,32,32,31,31,30,30,30
03639   };
03640   const int n2c3w4_b[] = {
03641     150, // Capacity
03642     100, // Number of items
03643     // Size of items (sorted)
03644     100,99,99,98,98,97,95,95,95,94,94,94,94,93,93,92,91,90,90,90,
03645     90,89,89,88,86,85,85,84,83,83,82,81,81,80,79,79,77,76,76,73,72,
03646     71,71,71,69,69,68,67,67,63,61,61,61,60,60,59,58,57,57,57,57,56,
03647     56,56,56,56,55,53,53,53,51,51,49,48,48,47,47,47,47,46,46,45,45,
03648     44,44,43,43,42,42,39,38,38,37,36,35,33,32,31,30,30
03649   };
03650   const int n2c3w4_c[] = {
03651     150, // Capacity
03652     100, // Number of items
03653     // Size of items (sorted)
03654     99,99,98,97,96,93,92,92,91,91,91,90,90,90,89,88,88,87,85,85,84,
03655     84,84,82,80,80,80,80,78,77,76,75,74,73,72,70,70,69,68,68,67,66,
03656     65,65,65,65,64,62,59,59,59,58,58,57,57,56,56,56,55,55,54,51,51,
03657     50,49,48,46,46,46,46,46,46,45,44,44,41,41,41,41,40,40,39,39,38,
03658     37,36,36,36,35,35,35,35,34,34,34,34,32,32,31,30
03659   };
03660   const int n2c3w4_d[] = {
03661     150, // Capacity
03662     100, // Number of items
03663     // Size of items (sorted)
03664     100,100,99,99,99,99,98,98,98,97,97,97,94,94,93,93,92,90,89,88,
03665     87,86,85,83,83,82,81,80,79,78,77,76,75,73,73,73,73,72,72,71,71,
03666     71,70,68,67,66,65,64,64,64,64,63,62,62,62,61,57,56,55,55,54,53,
03667     53,53,53,52,52,52,51,51,49,49,48,48,45,45,45,45,44,44,43,42,41,
03668     41,40,40,38,35,34,34,34,34,33,33,32,32,32,30,30,30
03669   };
03670   const int n2c3w4_e[] = {
03671     150, // Capacity
03672     100, // Number of items
03673     // Size of items (sorted)
03674     100,100,99,99,98,98,98,96,96,95,94,94,93,93,92,92,91,91,90,89,
03675     88,88,88,88,88,87,86,86,85,85,85,85,84,84,84,83,83,83,81,80,80,
03676     80,79,77,77,75,75,74,72,72,69,68,68,66,65,65,64,64,63,61,61,60,
03677     60,58,58,58,58,57,57,56,56,55,54,49,49,47,47,47,46,45,44,43,42,
03678     42,41,40,40,36,34,34,33,33,32,32,32,32,32,31,30,30
03679   };
03680   const int n2c3w4_f[] = {
03681     150, // Capacity
03682     100, // Number of items
03683     // Size of items (sorted)
03684     100,100,99,98,97,96,94,93,92,91,90,89,89,87,87,85,85,85,84,84,
03685     84,83,83,83,83,83,81,81,80,80,79,79,79,78,78,77,76,75,74,74,74,
03686     73,73,71,71,71,71,70,69,69,68,68,68,66,66,65,64,63,63,63,62,61,
03687     59,58,58,57,56,56,56,56,55,52,50,49,47,46,46,45,45,43,43,43,42,
03688     42,41,41,38,37,37,36,36,35,35,34,34,34,33,31,31,30
03689   };
03690   const int n2c3w4_g[] = {
03691     150, // Capacity
03692     100, // Number of items
03693     // Size of items (sorted)
03694     100,100,99,98,97,97,95,94,94,94,93,93,91,90,90,89,88,88,86,85,
03695     85,84,84,84,82,82,82,81,81,81,80,75,75,75,75,74,74,74,73,72,71,
03696     70,69,69,69,68,67,65,64,64,63,63,63,63,61,61,59,58,58,58,56,56,
03697     55,54,53,53,53,51,50,49,48,48,46,46,44,44,44,43,43,43,43,42,42,
03698     42,41,41,40,40,39,39,39,39,38,36,35,35,35,33,32,32
03699   };
03700   const int n2c3w4_h[] = {
03701     150, // Capacity
03702     100, // Number of items
03703     // Size of items (sorted)
03704     100,97,97,97,95,95,95,94,94,94,94,93,93,93,92,92,90,89,86,85,
03705     83,82,82,81,79,78,77,76,75,74,74,74,74,74,73,73,72,71,71,71,70,
03706     69,68,66,66,65,64,64,64,63,63,62,62,62,61,61,61,59,59,59,58,58,
03707     57,57,55,54,52,50,49,48,47,46,46,45,45,44,44,44,42,42,41,41,40,
03708     39,39,39,37,37,36,36,36,35,35,35,32,32,32,31,30,30
03709   };
03710   const int n2c3w4_i[] = {
03711     150, // Capacity
03712     100, // Number of items
03713     // Size of items (sorted)
03714     99,99,99,99,98,97,97,92,92,91,91,90,89,89,88,88,88,86,85,84,83,
03715     83,81,80,80,80,80,80,79,79,78,77,77,77,77,76,76,75,74,72,72,72,
03716     71,70,69,69,69,67,67,66,66,66,66,65,64,61,60,59,59,59,58,57,56,
03717     56,54,53,52,51,51,51,50,50,50,50,49,48,48,47,47,47,45,43,43,43,
03718     42,41,41,38,37,37,36,35,33,32,32,32,31,31,30,30
03719   };
03720   const int n2c3w4_j[] = {
03721     150, // Capacity
03722     100, // Number of items
03723     // Size of items (sorted)
03724     100,100,100,99,99,99,99,98,98,96,96,95,95,93,92,92,91,91,90,88,
03725     85,84,84,82,81,80,80,76,75,74,73,73,72,71,71,70,69,69,68,67,65,
03726     65,65,64,64,64,64,63,62,61,61,61,60,57,57,56,56,54,52,52,51,51,
03727     51,50,48,48,48,47,46,46,46,45,45,45,44,44,44,43,43,43,42,42,41,
03728     41,41,41,39,39,38,37,36,36,36,34,34,33,33,32,32,31
03729   };
03730   const int n2c3w4_k[] = {
03731     150, // Capacity
03732     100, // Number of items
03733     // Size of items (sorted)
03734     100,100,99,98,96,96,95,94,94,94,93,93,93,93,91,91,91,90,90,89,
03735     89,87,87,87,87,85,84,84,84,83,82,81,81,81,80,79,79,78,78,77,77,
03736     77,75,75,74,74,74,74,69,68,68,67,67,65,65,64,63,61,59,59,58,58,
03737     58,58,57,56,55,55,55,54,54,53,53,52,51,50,50,50,49,49,48,48,48,
03738     48,47,47,43,43,42,40,40,39,37,37,35,34,34,33,31,30
03739   };
03740   const int n2c3w4_l[] = {
03741     150, // Capacity
03742     100, // Number of items
03743     // Size of items (sorted)
03744     99,97,96,95,94,93,92,92,92,91,90,88,88,88,86,86,86,86,85,85,85,
03745     85,85,83,83,83,82,81,81,80,79,78,76,76,75,75,74,74,74,74,74,73,
03746     73,72,71,70,70,70,69,68,67,66,65,65,64,64,63,61,61,60,59,58,58,
03747     58,57,57,57,56,56,56,55,54,54,53,53,53,53,50,48,48,48,46,46,46,
03748     46,45,43,43,42,41,40,39,37,35,35,34,34,31,31,30
03749   };
03750   const int n2c3w4_m[] = {
03751     150, // Capacity
03752     100, // Number of items
03753     // Size of items (sorted)
03754     100,100,100,99,98,98,95,92,91,91,89,89,89,89,88,88,87,86,86,85,
03755     85,84,84,83,82,82,81,81,81,80,79,79,79,78,78,78,77,76,75,75,74,
03756     74,73,72,72,70,69,68,68,67,66,65,64,63,62,62,62,60,59,58,56,56,
03757     55,53,53,53,51,51,50,50,46,44,44,44,44,43,42,42,41,41,40,39,39,
03758     38,37,37,36,36,36,36,35,35,35,34,33,33,33,32,32,30
03759   };
03760   const int n2c3w4_n[] = {
03761     150, // Capacity
03762     100, // Number of items
03763     // Size of items (sorted)
03764     100,99,99,97,96,95,95,94,94,94,93,87,86,85,85,85,85,85,85,85,
03765     84,84,83,83,82,81,81,80,80,80,80,80,80,79,79,78,77,77,76,76,75,
03766     75,75,74,72,70,69,68,68,67,67,65,64,64,64,63,62,60,59,59,59,58,
03767     58,58,57,57,56,56,54,54,52,51,51,48,48,48,47,47,47,46,45,44,44,
03768     42,41,41,39,38,38,37,36,36,36,35,34,33,33,33,32,31
03769   };
03770   const int n2c3w4_o[] = {
03771     150, // Capacity
03772     100, // Number of items
03773     // Size of items (sorted)
03774     98,98,98,97,97,96,96,96,96,94,94,93,93,93,92,92,92,91,91,90,90,
03775     89,88,87,87,87,85,85,83,78,77,77,77,77,76,75,74,73,71,71,70,70,
03776     70,70,70,69,68,68,65,65,64,63,63,61,61,61,61,60,60,59,59,59,59,
03777     58,58,57,54,54,52,52,52,51,49,49,49,48,47,47,47,45,45,45,43,42,
03778     42,41,41,40,40,40,40,39,38,37,36,35,34,32,31,30
03779   };
03780   const int n2c3w4_p[] = {
03781     150, // Capacity
03782     100, // Number of items
03783     // Size of items (sorted)
03784     100,99,99,98,96,96,96,95,94,92,91,90,90,89,89,88,88,88,88,86,
03785     86,85,85,85,84,83,83,83,83,82,82,81,80,80,79,79,77,77,77,75,75,
03786     74,72,71,70,70,70,69,69,69,68,68,67,65,64,64,62,62,61,59,59,57,
03787     57,54,54,54,54,53,53,52,50,50,49,48,48,48,46,43,42,42,42,39,39,
03788     38,38,37,37,37,36,36,35,34,34,34,34,33,32,32,30,30
03789   };
03790   const int n2c3w4_q[] = {
03791     150, // Capacity
03792     100, // Number of items
03793     // Size of items (sorted)
03794     100,99,98,98,98,97,97,97,96,96,96,95,95,95,94,93,93,93,92,91,
03795     91,88,88,87,87,86,85,85,84,82,81,79,79,79,78,78,77,77,76,76,75,
03796     73,73,73,73,72,72,72,71,70,69,68,67,66,65,65,64,63,62,61,61,60,
03797     60,59,59,57,56,55,54,54,53,53,52,51,50,50,50,49,49,48,48,47,47,
03798     47,46,45,45,45,44,38,35,35,35,34,34,34,33,33,31,31
03799   };
03800   const int n2c3w4_r[] = {
03801     150, // Capacity
03802     100, // Number of items
03803     // Size of items (sorted)
03804     100,98,98,98,98,98,97,97,96,95,95,93,92,90,89,87,86,86,84,84,
03805     84,84,80,80,80,79,79,78,77,74,73,73,72,72,72,71,71,71,70,69,69,
03806     69,68,67,66,65,64,64,63,63,62,60,57,57,57,55,55,55,54,53,53,52,
03807     52,52,51,51,50,49,47,46,46,45,44,44,44,43,43,43,42,41,41,41,41,
03808     40,40,39,39,39,39,38,38,37,36,35,35,34,32,31,30,30
03809   };
03810   const int n2c3w4_s[] = {
03811     150, // Capacity
03812     100, // Number of items
03813     // Size of items (sorted)
03814     100,99,98,97,97,96,95,94,94,93,92,91,90,90,88,88,88,87,84,81,
03815     80,80,79,79,76,76,75,75,75,73,73,71,71,71,70,70,70,69,69,67,67,
03816     66,65,64,64,62,61,60,60,59,59,59,59,58,56,55,54,54,53,53,53,51,
03817     51,50,49,48,48,48,47,47,47,46,46,45,45,45,45,45,44,44,44,42,42,
03818     41,41,40,39,38,37,34,34,34,33,33,32,32,31,31,31,30
03819   };
03820   const int n2c3w4_t[] = {
03821     150, // Capacity
03822     100, // Number of items
03823     // Size of items (sorted)
03824     100,100,99,99,97,97,95,95,95,94,94,93,93,93,92,91,91,91,91,91,
03825     89,89,86,86,85,85,84,82,81,81,79,79,78,76,75,74,74,74,74,73,73,
03826     71,70,70,69,69,67,67,67,66,66,66,66,65,65,64,64,63,63,62,61,61,
03827     61,60,60,58,57,54,54,53,53,53,52,52,51,50,48,48,47,46,46,46,45,
03828     44,42,40,39,39,39,37,36,35,34,33,33,33,32,32,30,30
03829   };
03830   const int n3c1w1_a[] = {
03831     100, // Capacity
03832     200, // Number of items
03833     // Size of items (sorted)
03834     100,99,99,97,97,97,94,93,92,92,91,89,89,88,88,88,88,87,87,86,
03835     86,86,86,86,85,84,83,83,82,81,81,81,81,80,80,79,79,79,78,78,77,
03836     77,77,76,76,76,75,74,74,73,73,73,73,72,72,72,72,72,71,71,69,69,
03837     68,67,67,66,66,66,66,64,64,64,64,63,63,62,61,61,61,60,60,59,59,
03838     57,56,56,56,55,55,55,54,54,53,53,52,52,52,51,50,50,50,49,49,49,
03839     49,47,47,46,46,46,46,46,46,45,45,45,45,44,44,42,41,40,40,40,39,
03840     39,38,38,38,38,38,38,37,37,36,36,36,36,34,34,34,34,34,34,31,31,
03841     31,30,30,30,30,30,29,29,27,27,27,26,24,24,23,22,22,22,22,22,20,
03842     18,17,17,17,16,16,15,15,14,14,14,13,13,12,11,11,11,10,10,8,8,
03843     8,6,6,5,5,4,4,3,3,3,1,1
03844   };
03845   const int n3c1w1_b[] = {
03846     100, // Capacity
03847     200, // Number of items
03848     // Size of items (sorted)
03849     100,100,100,100,100,99,99,99,98,98,98,95,93,93,92,92,92,92,91,
03850     90,90,89,89,89,89,88,88,88,88,87,86,86,86,86,86,85,85,85,84,84,
03851     84,83,83,81,81,80,79,77,77,77,75,75,75,75,74,74,74,74,73,73,73,
03852     72,71,71,71,71,70,70,70,70,70,69,68,68,68,68,68,67,67,67,66,65,
03853     65,65,64,64,63,63,63,62,61,61,60,60,59,59,59,58,58,57,57,57,56,
03854     53,53,53,52,52,52,52,51,50,49,49,48,48,48,47,46,45,44,44,44,44,
03855     42,42,41,40,40,40,39,39,39,38,38,38,37,37,36,36,36,36,34,34,33,
03856     33,33,33,33,33,32,32,32,32,31,30,29,28,27,27,26,26,26,25,24,23,
03857     21,21,20,20,17,16,16,15,14,14,14,13,13,13,13,13,12,12,11,11,10,
03858     9,9,7,7,7,7,6,5,5,4,4,3,3
03859   };
03860   const int n3c1w1_c[] = {
03861     100, // Capacity
03862     200, // Number of items
03863     // Size of items (sorted)
03864     100,100,100,99,99,99,97,96,96,95,95,94,92,92,91,91,91,91,90,90,
03865     90,89,89,88,88,87,86,86,85,85,85,83,82,82,82,81,81,80,80,80,79,
03866     79,79,76,75,75,74,74,73,72,72,72,71,71,70,68,67,67,67,67,66,66,
03867     65,65,64,64,64,63,63,63,62,62,62,61,61,60,60,59,59,59,59,58,58,
03868     57,57,56,56,56,56,55,55,54,52,51,51,50,50,49,48,48,47,47,47,47,
03869     46,46,43,43,42,42,42,41,41,40,40,40,39,37,37,36,36,34,34,34,34,
03870     33,33,33,32,31,30,30,29,29,28,28,27,27,26,26,26,26,25,25,24,24,
03871     23,23,23,23,22,22,21,21,21,20,20,20,20,19,19,18,17,17,16,16,15,
03872     14,14,14,14,14,13,13,12,12,11,11,11,11,10,9,9,8,8,8,8,7,7,7,6,
03873     6,6,5,4,4,4,2,2,1
03874   };
03875   const int n3c1w1_d[] = {
03876     100, // Capacity
03877     200, // Number of items
03878     // Size of items (sorted)
03879     100,99,99,99,98,97,97,97,96,96,95,95,95,94,94,93,93,93,93,93,
03880     92,92,91,90,89,89,89,88,87,87,87,87,87,87,87,86,85,84,84,83,82,
03881     80,80,80,80,79,79,78,78,77,76,76,74,74,74,74,73,73,71,70,69,69,
03882     68,68,68,68,68,68,67,67,66,66,66,65,64,63,63,62,62,62,61,61,61,
03883     60,60,60,60,59,59,58,57,57,57,57,55,55,54,54,53,53,53,51,51,51,
03884     50,49,49,48,48,48,48,47,46,46,46,45,45,45,43,43,43,42,42,42,42,
03885     42,41,41,40,39,38,37,37,37,37,37,36,36,35,35,35,35,34,34,34,32,
03886     31,31,30,29,29,28,28,26,26,26,25,24,24,24,23,22,21,21,21,20,20,
03887     20,19,19,19,19,19,19,17,14,13,12,12,11,10,10,10,9,9,8,8,8,8,7,
03888     6,6,5,5,5,4,3,2,2,2
03889   };
03890   const int n3c1w1_e[] = {
03891     100, // Capacity
03892     200, // Number of items
03893     // Size of items (sorted)
03894     100,100,100,100,98,98,97,97,96,96,95,95,95,95,94,93,93,93,91,
03895     91,91,91,91,91,90,90,87,87,86,85,85,85,84,84,82,81,81,81,79,78,
03896     78,76,76,75,75,75,75,74,74,74,72,72,72,72,71,70,69,69,69,69,67,
03897     67,67,67,66,66,66,65,64,64,64,64,63,62,61,61,60,60,59,58,57,56,
03898     55,55,55,54,53,53,53,52,52,50,50,49,47,47,46,46,45,44,44,43,43,
03899     42,42,41,41,41,40,40,39,39,39,39,38,38,38,37,36,35,35,34,34,33,
03900     33,32,32,32,32,32,32,31,31,31,30,30,30,30,30,29,28,28,27,27,26,
03901     25,24,24,24,23,23,23,23,22,22,22,21,21,21,20,19,19,19,18,18,17,
03902     17,16,16,15,15,14,14,13,12,12,11,10,10,9,8,8,8,8,7,7,7,7,6,6,
03903     5,4,3,3,3,3,2,2,1,1
03904   };
03905   const int n3c1w1_f[] = {
03906     100, // Capacity
03907     200, // Number of items
03908     // Size of items (sorted)
03909     100,100,99,99,99,98,98,98,97,97,97,97,96,96,95,94,94,94,94,94,
03910     94,93,93,93,93,93,92,91,90,90,90,90,89,87,86,86,86,85,85,85,85,
03911     85,84,83,83,83,82,82,81,81,80,80,78,77,76,76,76,75,75,74,74,74,
03912     74,74,73,72,71,71,70,70,70,69,69,68,68,68,67,67,67,67,66,66,65,
03913     64,63,63,62,61,61,61,60,60,60,60,60,60,59,59,58,58,58,57,57,56,
03914     56,54,54,53,53,50,50,49,49,49,48,48,48,46,46,46,45,44,42,41,40,
03915     40,37,37,37,36,36,34,33,32,32,31,30,29,28,28,27,27,27,26,25,25,
03916     25,24,24,23,23,23,23,23,23,23,22,22,21,21,20,20,20,19,18,17,16,
03917     16,15,15,14,14,14,13,12,12,12,11,10,10,10,10,9,8,8,8,8,7,7,7,
03918     7,6,5,5,5,5,4,3,2,1
03919   };
03920   const int n3c1w1_g[] = {
03921     100, // Capacity
03922     200, // Number of items
03923     // Size of items (sorted)
03924     100,99,99,98,98,97,95,95,94,94,93,93,93,93,92,91,91,91,91,90,
03925     90,90,89,89,89,88,88,87,87,86,86,86,86,86,85,85,84,84,84,83,82,
03926     81,81,80,80,79,79,79,78,77,77,76,76,75,75,74,74,74,74,73,73,73,
03927     73,73,72,72,72,71,70,70,69,69,68,68,68,67,67,66,62,62,62,62,62,
03928     62,61,60,60,60,60,60,59,58,57,57,57,57,56,56,54,54,53,53,52,52,
03929     52,52,52,51,50,50,50,49,49,49,48,47,46,46,46,45,44,43,43,42,42,
03930     40,40,40,39,39,38,36,36,36,35,35,34,33,33,32,32,32,31,30,30,29,
03931     29,29,28,27,27,26,26,26,25,25,25,24,24,24,24,23,23,23,22,22,22,
03932     22,21,20,20,19,16,15,15,14,14,14,13,11,11,10,10,10,9,9,7,6,6,
03933     5,5,5,4,4,3,2,1,1,1,1
03934   };
03935   const int n3c1w1_h[] = {
03936     100, // Capacity
03937     200, // Number of items
03938     // Size of items (sorted)
03939     100,100,99,99,97,97,97,97,97,97,96,96,96,96,95,95,95,95,94,93,
03940     93,93,92,92,91,90,89,89,88,88,88,87,87,87,86,86,85,85,84,84,83,
03941     83,82,81,80,80,80,79,79,79,78,77,77,77,77,76,75,75,74,74,73,72,
03942     71,71,71,71,71,71,71,69,69,69,68,65,65,63,63,62,62,62,62,61,61,
03943     60,60,59,58,58,58,56,56,56,54,53,53,52,51,51,51,50,49,49,48,48,
03944     48,47,46,46,46,46,46,46,43,43,42,41,40,39,39,38,37,37,36,36,36,
03945     35,34,34,33,33,32,32,32,32,32,32,32,30,30,29,29,28,27,27,27,27,
03946     26,26,26,26,25,25,24,24,23,22,21,21,21,21,20,19,19,18,17,17,17,
03947     16,16,16,15,15,15,14,14,13,12,11,11,10,9,9,7,6,6,6,6,6,4,4,4,
03948     4,4,3,2,1,1,1,1,1
03949   };
03950   const int n3c1w1_i[] = {
03951     100, // Capacity
03952     200, // Number of items
03953     // Size of items (sorted)
03954     99,97,97,96,96,95,93,92,92,92,92,92,92,92,91,91,90,89,88,87,87,
03955     87,86,85,85,84,84,84,83,83,83,83,83,83,82,81,80,79,78,78,78,78,
03956     77,77,76,76,76,75,75,75,74,73,72,71,71,70,70,69,69,68,68,67,66,
03957     66,65,65,63,63,63,63,62,61,61,61,59,58,58,58,58,58,58,58,58,57,
03958     56,56,56,54,53,52,52,52,51,50,50,50,50,50,49,49,48,48,48,48,48,
03959     47,47,46,45,45,44,43,43,43,43,43,43,42,41,41,40,40,38,38,37,37,
03960     37,37,36,36,36,35,35,34,33,32,32,31,31,29,29,29,28,27,27,27,26,
03961     26,25,24,24,23,22,22,22,21,21,21,20,20,19,18,18,18,18,17,16,16,
03962     16,16,15,15,14,14,14,13,13,12,12,11,11,11,11,8,8,7,6,5,3,3,2,
03963     2,2,2,2,2,1,1,1,1
03964   };
03965   const int n3c1w1_j[] = {
03966     100, // Capacity
03967     200, // Number of items
03968     // Size of items (sorted)
03969     100,100,99,98,97,97,97,97,97,96,96,95,95,93,93,93,92,92,91,91,
03970     89,88,88,88,88,88,86,86,85,85,85,84,83,83,83,82,81,80,79,79,78,
03971     78,77,77,75,74,74,74,73,73,72,72,72,71,71,71,70,70,70,70,69,69,
03972     67,67,66,66,65,65,65,64,64,64,63,63,63,62,62,62,61,60,60,59,59,
03973     59,59,59,58,58,57,57,57,56,56,55,55,55,55,54,54,52,52,52,51,51,
03974     51,50,50,50,49,49,49,49,48,47,47,47,45,44,44,44,43,43,43,43,43,
03975     41,41,41,40,40,39,39,39,39,38,37,37,37,36,36,36,35,35,34,33,33,
03976     31,31,30,29,28,28,28,27,27,25,25,24,23,23,23,22,22,21,21,21,19,
03977     19,19,17,17,17,17,16,16,15,14,14,14,14,13,13,12,11,10,10,10,9,
03978     9,9,8,7,6,6,4,4,3,3,3,2
03979   };
03980   const int n3c1w1_k[] = {
03981     100, // Capacity
03982     200, // Number of items
03983     // Size of items (sorted)
03984     100,99,99,99,98,98,98,98,97,95,95,95,95,94,94,92,92,92,92,91,
03985     90,88,88,88,88,87,87,87,86,85,84,84,83,83,83,82,82,82,82,81,81,
03986     81,81,80,80,80,79,78,77,75,75,74,74,74,73,73,72,72,71,71,70,70,
03987     70,69,68,68,68,68,67,67,66,66,65,64,63,62,61,60,60,58,58,57,57,
03988     56,56,55,55,55,55,55,55,54,53,53,53,52,51,50,49,49,49,48,48,48,
03989     48,47,47,47,46,45,43,43,42,42,42,42,41,41,41,41,40,40,39,39,38,
03990     38,38,38,36,35,35,34,33,32,32,30,28,28,28,28,28,26,26,25,25,24,
03991     24,23,23,23,22,22,22,22,21,21,21,21,20,20,20,19,19,19,18,17,17,
03992     16,15,15,14,14,13,13,12,12,11,11,11,10,9,9,9,8,7,6,6,5,5,4,4,
03993     4,3,3,3,2,2,2,2,1
03994   };
03995   const int n3c1w1_l[] = {
03996     100, // Capacity
03997     200, // Number of items
03998     // Size of items (sorted)
03999     100,100,99,99,99,99,97,96,96,94,94,94,93,93,93,93,92,92,92,89,
04000     88,87,87,85,84,84,84,84,83,83,83,83,82,80,80,79,79,78,76,75,75,
04001     75,74,73,73,73,73,73,72,72,72,71,71,70,70,70,70,70,69,69,69,68,
04002     67,67,66,66,64,63,63,63,62,62,61,61,59,59,59,59,58,58,57,56,56,
04003     55,55,54,53,52,52,51,51,50,50,50,50,50,50,48,48,48,48,47,47,47,
04004     46,46,46,46,45,44,43,41,41,39,39,38,37,37,37,36,36,35,35,35,34,
04005     34,33,33,33,32,32,31,31,31,31,30,30,30,29,29,28,28,25,25,25,25,
04006     24,24,24,23,23,23,23,22,21,20,20,20,20,19,18,18,18,16,16,16,15,
04007     14,14,14,14,13,12,11,11,11,11,11,10,10,9,9,9,8,8,8,7,7,7,6,4,
04008     4,3,3,2,2,2,1,1,1
04009   };
04010   const int n3c1w1_m[] = {
04011     100, // Capacity
04012     200, // Number of items
04013     // Size of items (sorted)
04014     100,99,99,98,98,97,97,97,97,97,96,96,96,96,95,95,94,92,92,92,
04015     92,91,91,91,90,90,90,89,87,87,86,85,85,83,83,83,82,82,80,78,78,
04016     78,77,77,77,77,76,76,75,75,74,74,74,74,72,71,71,71,70,70,69,69,
04017     69,68,67,67,67,67,66,66,66,66,65,65,65,65,64,63,61,61,60,60,60,
04018     59,59,58,58,58,57,55,54,54,54,54,54,54,54,54,52,52,52,52,51,51,
04019     51,51,49,47,47,46,46,45,44,44,44,44,44,43,42,42,42,41,41,41,41,
04020     40,39,38,37,37,35,35,35,33,32,31,30,30,29,29,29,28,28,27,27,26,
04021     26,25,25,25,24,23,23,23,23,23,21,21,20,19,19,19,18,18,18,17,17,
04022     17,17,16,16,16,15,15,15,15,15,14,14,13,12,12,11,11,10,10,10,10,
04023     10,9,7,6,6,5,5,4,3,2,1,1
04024   };
04025   const int n3c1w1_n[] = {
04026     100, // Capacity
04027     200, // Number of items
04028     // Size of items (sorted)
04029     100,100,99,99,99,98,98,97,96,95,95,93,93,93,91,90,90,88,88,87,
04030     84,82,82,81,81,81,81,81,81,80,80,79,79,78,78,77,77,77,77,76,75,
04031     75,74,73,73,72,71,71,71,70,70,70,69,67,66,66,66,66,66,65,65,65,
04032     64,64,63,59,59,59,59,58,58,56,56,54,54,53,53,53,51,51,51,51,50,
04033     49,48,48,48,48,47,47,47,47,46,46,46,46,46,46,46,46,46,46,45,44,
04034     44,44,43,41,41,40,40,40,39,39,39,38,36,36,35,34,34,34,33,33,33,
04035     32,32,32,32,31,31,31,30,30,29,28,28,27,27,27,26,25,25,24,24,23,
04036     23,22,22,22,22,21,21,21,20,19,19,18,16,16,16,15,15,15,15,15,15,
04037     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,
04038     5,4,3,3,3,2,2,2
04039   };
04040   const int n3c1w1_o[] = {
04041     100, // Capacity
04042     200, // Number of items
04043     // Size of items (sorted)
04044     100,99,98,98,98,97,96,96,95,95,95,94,92,91,91,90,90,89,89,89,
04045     87,87,86,86,86,86,86,84,84,83,83,83,82,82,82,82,81,79,79,78,77,
04046     77,76,76,76,76,76,76,76,76,76,76,75,74,73,72,72,71,69,69,67,66,
04047     66,66,65,65,64,64,63,63,63,63,62,60,60,60,59,59,57,56,56,55,54,
04048     54,54,54,54,53,52,52,52,51,51,51,50,48,48,47,47,46,45,45,45,45,
04049     45,42,42,41,41,41,40,40,39,39,38,38,37,37,37,36,35,35,35,34,34,
04050     34,34,31,30,30,30,29,29,29,29,29,29,28,28,28,28,28,26,26,26,25,
04051     25,25,24,24,24,23,22,22,22,22,21,21,21,21,21,20,19,19,19,18,18,
04052     18,18,18,17,17,16,16,16,16,15,14,14,14,13,13,12,12,11,10,10,9,
04053     8,8,8,7,7,6,6,5,4,4,3,2
04054   };
04055   const int n3c1w1_p[] = {
04056     100, // Capacity
04057     200, // Number of items
04058     // Size of items (sorted)
04059     100,100,100,100,100,99,98,98,98,97,97,97,97,96,96,95,92,92,92,
04060     92,91,91,91,91,90,89,89,87,87,87,86,86,86,86,86,85,85,85,84,84,
04061     84,83,83,83,82,82,82,81,81,81,79,78,77,77,76,75,75,75,75,75,72,
04062     72,72,72,72,72,72,71,71,71,71,70,70,70,69,68,65,64,64,64,63,63,
04063     62,62,61,60,60,59,59,59,59,59,58,58,57,57,57,57,56,56,55,53,53,
04064     52,52,51,51,50,48,48,48,47,46,46,46,44,44,43,43,42,42,41,41,38,
04065     38,37,37,37,37,36,35,35,34,33,33,33,32,32,31,30,30,30,29,29,28,
04066     28,28,28,27,26,25,25,25,24,24,23,23,23,22,22,22,21,21,21,21,21,
04067     20,19,18,18,17,16,16,16,16,16,16,15,15,14,14,13,13,13,13,12,12,
04068     11,9,9,8,8,7,7,6,4,2,2,2,2
04069   };
04070   const int n3c1w1_q[] = {
04071     100, // Capacity
04072     200, // Number of items
04073     // Size of items (sorted)
04074     99,98,97,95,95,93,93,93,93,93,92,92,92,92,92,92,91,91,90,90,90,
04075     90,89,88,87,85,85,85,85,85,84,84,83,82,82,81,81,80,79,79,79,79,
04076     78,78,77,77,77,76,76,76,76,75,74,74,73,72,72,71,71,70,70,70,70,
04077     69,69,67,67,66,66,65,65,65,64,63,61,60,60,59,58,54,53,53,52,52,
04078     51,51,50,50,50,49,48,48,48,48,47,46,46,46,46,45,45,43,42,42,42,
04079     42,41,41,41,40,40,39,38,38,37,36,36,36,35,35,35,35,34,34,34,33,
04080     32,32,32,31,31,31,31,30,30,29,28,27,27,27,26,25,25,25,24,23,23,
04081     23,23,23,23,22,22,21,21,21,20,20,20,20,20,19,19,18,17,17,17,17,
04082     17,16,16,16,15,14,14,14,14,13,12,11,11,11,11,11,8,7,7,7,5,5,5,
04083     4,3,2,2,2,2,2,1,1
04084   };
04085   const int n3c1w1_r[] = {
04086     100, // Capacity
04087     200, // Number of items
04088     // Size of items (sorted)
04089     100,100,99,99,98,98,98,97,97,96,96,95,95,94,94,94,92,92,91,90,
04090     90,89,89,87,86,86,85,84,84,84,83,82,82,81,80,80,79,79,79,78,78,
04091     78,77,77,77,77,77,77,76,76,75,75,75,74,74,73,73,72,72,71,67,67,
04092     67,67,66,65,65,65,64,64,63,62,61,61,60,60,59,59,59,58,58,58,58,
04093     58,58,57,57,56,56,56,55,54,54,53,52,52,50,50,50,49,47,46,45,45,
04094     45,44,43,43,41,41,41,40,40,40,40,39,39,38,38,38,38,38,37,36,35,
04095     35,35,34,33,33,32,30,30,30,30,28,28,27,27,27,26,26,26,25,25,25,
04096     24,24,24,24,23,22,21,21,20,20,19,19,19,19,19,18,16,16,16,16,15,
04097     15,14,14,14,14,14,12,11,11,11,10,10,10,9,8,8,8,7,7,6,6,6,6,6,
04098     5,5,3,2,2,1,1,1,1
04099   };
04100   const int n3c1w1_s[] = {
04101     100, // Capacity
04102     200, // Number of items
04103     // Size of items (sorted)
04104     99,99,98,97,97,97,97,96,96,96,95,95,93,93,92,92,90,89,88,88,88,
04105     88,87,87,86,86,86,86,86,86,85,84,83,83,83,82,82,82,81,81,81,80,
04106     80,80,80,78,77,76,76,74,73,72,71,71,71,70,70,70,70,69,69,69,69,
04107     67,66,66,65,65,64,63,63,63,62,62,62,61,61,61,61,59,58,58,56,56,
04108     54,52,52,51,51,51,50,50,50,50,50,49,49,48,48,47,47,45,45,44,44,
04109     44,44,44,43,42,42,42,42,42,41,39,38,38,38,37,36,36,36,36,35,35,
04110     35,34,33,33,32,31,31,31,31,31,31,30,30,29,29,28,28,28,27,27,27,
04111     26,25,25,25,24,24,23,23,23,22,21,21,21,20,20,20,19,19,17,17,17,
04112     17,16,15,15,15,14,14,14,14,13,11,11,10,10,10,9,9,8,8,8,8,7,7,
04113     6,6,4,3,3,2,1,1,1
04114   };
04115   const int n3c1w1_t[] = {
04116     100, // Capacity
04117     200, // Number of items
04118     // Size of items (sorted)
04119     100,100,100,99,99,98,97,96,96,96,96,95,94,94,93,92,92,92,91,91,
04120     91,90,90,89,88,87,87,87,87,87,86,86,86,85,84,83,83,83,83,82,82,
04121     81,81,81,81,80,80,79,79,79,78,78,78,78,78,76,76,76,76,76,76,75,
04122     74,74,74,73,73,72,71,69,69,69,67,66,65,64,63,63,63,62,61,61,60,
04123     59,57,57,56,56,56,55,55,54,54,54,54,54,53,53,52,52,51,50,48,48,
04124     48,48,47,46,46,45,45,45,43,42,40,40,40,39,39,39,39,38,38,37,37,
04125     37,36,35,34,32,31,31,30,30,29,28,27,27,26,25,24,24,24,24,24,22,
04126     22,21,21,21,21,20,19,19,18,18,18,18,18,17,16,16,16,15,15,14,14,
04127     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,
04128     4,3,3,3,3,2,1,1
04129   };
04130   const int n3c1w2_a[] = {
04131     100, // Capacity
04132     200, // Number of items
04133     // Size of items (sorted)
04134     100,100,99,99,99,98,98,98,98,98,97,97,96,96,96,95,94,94,93,93,
04135     91,91,91,90,90,90,89,89,88,88,88,88,87,87,86,85,85,84,83,83,83,
04136     83,82,81,79,79,79,79,78,78,77,77,77,76,76,76,76,75,75,74,73,73,
04137     73,72,72,72,71,71,71,70,70,69,69,69,69,69,68,68,68,67,67,67,67,
04138     65,65,65,65,65,64,63,63,63,63,61,61,61,61,61,60,60,60,59,59,59,
04139     58,58,58,57,56,56,55,55,55,55,54,54,54,53,53,51,51,50,50,50,50,
04140     49,49,48,48,48,48,47,46,46,45,44,43,43,42,42,41,40,40,40,40,40,
04141     39,38,38,38,38,37,36,36,35,35,34,34,34,33,33,33,33,33,33,32,32,
04142     32,32,32,32,32,31,31,30,28,27,26,26,25,25,24,24,23,23,22,22,22,
04143     21,21,21,20,20,20,20,20,20,20,20,20
04144   };
04145   const int n3c1w2_b[] = {
04146     100, // Capacity
04147     200, // Number of items
04148     // Size of items (sorted)
04149     99,99,99,97,96,95,94,93,93,93,93,93,91,91,91,90,89,89,89,89,88,
04150     88,87,87,85,85,84,84,84,84,82,81,81,81,80,80,79,78,78,77,77,76,
04151     76,76,76,75,75,74,74,74,74,74,74,73,73,73,72,72,72,72,72,71,71,
04152     70,69,69,69,69,68,68,68,67,67,67,67,67,67,67,66,66,66,65,65,65,
04153     64,64,64,63,63,62,61,61,60,59,59,58,58,58,58,58,58,58,57,57,57,
04154     57,56,56,55,55,54,54,54,54,54,53,53,53,53,53,52,52,52,51,51,50,
04155     49,48,48,48,47,47,46,46,46,45,45,44,43,43,42,41,40,40,38,38,38,
04156     38,38,37,36,36,36,36,36,36,36,36,35,35,35,34,34,33,33,33,33,32,
04157     32,32,32,31,31,31,30,30,29,29,28,28,27,27,27,26,26,25,25,23,22,
04158     21,21,21,21,21,21,21,20,20,20,20
04159   };
04160   const int n3c1w2_c[] = {
04161     100, // Capacity
04162     200, // Number of items
04163     // Size of items (sorted)
04164     100,100,100,99,99,98,98,98,96,96,96,95,95,94,94,94,93,93,92,92,
04165     92,91,91,90,90,90,89,89,89,89,88,88,87,87,86,86,85,85,85,85,84,
04166     84,83,82,82,82,82,81,81,81,81,81,80,80,79,79,78,78,78,78,77,76,
04167     76,76,75,74,74,74,73,72,72,71,71,71,70,70,70,70,69,68,68,68,66,
04168     66,66,65,65,65,65,63,62,61,61,60,60,60,60,58,58,58,58,57,57,57,
04169     57,56,56,55,54,54,53,52,52,52,52,52,52,52,52,52,51,51,50,50,49,
04170     48,47,47,47,47,46,45,45,45,45,45,44,43,43,42,42,42,41,41,41,41,
04171     40,40,39,39,39,38,37,37,37,36,36,36,35,35,35,34,34,33,33,33,32,
04172     32,32,32,31,31,31,30,30,28,28,28,28,28,27,27,27,26,26,26,24,24,
04173     23,23,23,23,22,22,22,21,21,20,20,20
04174   };
04175   const int n3c1w2_d[] = {
04176     100, // Capacity
04177     200, // Number of items
04178     // Size of items (sorted)
04179     100,100,100,99,98,98,98,97,97,97,97,96,96,96,96,95,95,95,94,94,
04180     94,94,93,93,92,92,92,91,91,91,91,90,90,89,87,87,86,86,85,84,84,
04181     83,83,82,81,81,81,80,80,79,79,79,79,79,79,78,78,78,78,77,77,77,
04182     77,77,76,76,76,76,75,75,75,74,74,73,73,73,73,73,72,72,72,71,71,
04183     71,70,70,70,69,69,69,69,69,68,67,67,67,66,65,65,65,65,64,63,63,
04184     63,63,62,62,62,61,61,61,60,59,59,59,59,59,58,57,57,57,57,57,56,
04185     56,55,54,54,53,53,53,53,53,52,52,52,51,50,48,48,47,47,47,47,46,
04186     46,44,44,44,43,43,42,41,41,41,41,40,40,39,38,37,36,36,36,36,35,
04187     34,34,33,33,32,31,31,31,30,30,29,29,28,28,28,27,27,27,27,26,25,
04188     25,24,24,23,23,22,22,22,22,21,21,20
04189   };
04190   const int n3c1w2_e[] = {
04191     100, // Capacity
04192     200, // Number of items
04193     // Size of items (sorted)
04194     100,100,99,99,98,98,97,97,97,96,96,96,95,95,95,95,94,94,94,93,
04195     93,92,91,91,90,89,89,89,89,88,88,87,87,87,87,86,86,86,85,85,85,
04196     84,84,83,83,82,82,82,81,81,81,81,80,80,79,79,79,78,77,77,77,76,
04197     76,76,76,74,73,73,73,73,73,73,73,73,72,72,72,72,71,71,70,70,70,
04198     70,70,68,68,68,68,67,66,66,66,66,66,65,64,63,63,63,62,61,61,61,
04199     61,61,60,60,59,59,59,58,58,57,57,57,56,56,56,55,54,54,53,53,53,
04200     52,52,51,50,50,49,49,49,48,47,47,47,46,45,45,44,44,43,43,43,43,
04201     43,42,42,42,42,41,41,41,41,40,40,39,39,38,37,36,36,35,35,34,34,
04202     34,33,33,33,32,30,30,30,29,29,28,28,28,28,28,27,27,27,26,25,25,
04203     24,24,23,23,23,22,22,22,21,21,20,20
04204   };
04205   const int n3c1w2_f[] = {
04206     100, // Capacity
04207     200, // Number of items
04208     // Size of items (sorted)
04209     100,99,98,98,98,98,97,97,97,96,96,96,95,94,94,93,93,92,91,91,
04210     90,90,90,90,89,88,88,88,87,87,86,86,85,85,84,84,83,82,81,81,80,
04211     79,79,79,78,78,78,78,78,78,78,78,77,77,77,77,76,76,75,75,74,74,
04212     74,73,73,73,72,71,71,70,70,69,69,69,68,68,67,65,65,65,65,65,65,
04213     64,64,63,63,62,62,62,62,62,61,61,61,61,60,59,59,58,58,58,57,57,
04214     56,56,56,56,54,54,54,52,52,52,52,52,50,50,50,49,49,47,47,47,46,
04215     46,46,45,45,45,45,45,44,44,44,43,43,43,43,42,42,42,42,41,41,40,
04216     39,39,38,38,37,37,37,37,37,37,36,36,35,35,35,35,35,34,34,34,33,
04217     33,33,33,32,32,32,31,31,31,30,30,30,28,28,27,26,23,22,22,22,22,
04218     22,21,21,21,21,20,20,20,20,20,20,20
04219   };
04220   const int n3c1w2_g[] = {
04221     100, // Capacity
04222     200, // Number of items
04223     // Size of items (sorted)
04224     100,100,100,100,99,99,99,98,98,98,97,96,96,96,96,95,95,95,95,
04225     94,94,94,94,94,93,93,93,92,92,92,92,92,92,92,92,91,91,90,89,88,
04226     88,88,88,87,87,87,87,87,86,85,85,85,85,85,84,83,83,83,83,82,81,
04227     81,80,80,80,80,80,79,79,78,78,78,77,77,77,77,76,75,75,74,74,73,
04228     72,72,71,69,69,69,69,69,68,68,67,67,66,64,63,62,62,62,62,61,61,
04229     61,61,60,59,58,58,58,57,57,57,57,56,56,55,54,54,54,53,52,51,51,
04230     51,50,50,50,50,50,49,47,47,46,44,43,43,42,42,42,42,42,42,42,42,
04231     41,41,41,40,40,39,39,38,38,37,37,37,36,36,36,36,36,35,35,35,34,
04232     33,33,33,32,32,32,31,30,30,30,30,30,29,29,28,28,28,27,27,26,26,
04233     25,25,24,24,23,23,22,22,22,22,22,21,20
04234   };
04235   const int n3c1w2_h[] = {
04236     100, // Capacity
04237     200, // Number of items
04238     // Size of items (sorted)
04239     100,100,99,99,99,99,99,98,97,97,96,96,96,96,95,95,94,94,94,94,
04240     93,93,93,91,91,91,91,91,90,90,90,90,90,90,90,89,89,89,89,89,88,
04241     88,88,87,86,86,86,85,85,85,84,84,84,84,83,83,83,81,81,80,80,80,
04242     80,80,79,79,78,78,77,77,76,76,75,75,75,74,73,73,72,71,71,70,70,
04243     70,70,69,68,68,67,67,67,65,65,65,64,64,62,62,62,62,61,61,60,60,
04244     59,59,58,58,58,57,57,57,57,56,56,55,55,55,54,54,52,51,50,50,49,
04245     48,48,48,48,47,47,46,45,45,43,43,43,42,42,41,41,41,40,40,40,40,
04246     39,39,38,38,38,37,37,36,35,35,35,35,34,34,34,34,33,33,32,32,32,
04247     31,31,30,30,30,30,28,28,28,27,27,27,26,26,26,26,25,25,25,25,25,
04248     25,24,24,24,24,24,23,22,20,20,20,20
04249   };
04250   const int n3c1w2_i[] = {
04251     100, // Capacity
04252     200, // Number of items
04253     // Size of items (sorted)
04254     100,100,100,100,98,97,97,97,96,95,95,95,94,93,93,92,92,92,92,
04255     91,91,91,90,90,90,88,88,88,87,87,87,87,86,86,85,85,84,84,84,83,
04256     83,83,83,83,82,82,82,82,82,82,81,81,80,80,79,79,79,78,78,77,77,
04257     76,75,74,74,72,72,72,71,71,71,69,69,69,68,68,68,68,68,68,67,67,
04258     66,65,65,65,64,64,64,64,63,63,63,62,62,62,62,61,61,60,60,59,59,
04259     59,59,59,58,58,57,57,57,56,56,56,55,55,54,53,53,52,52,51,51,51,
04260     51,50,49,49,49,48,46,46,45,45,45,45,44,44,44,43,42,42,42,42,41,
04261     41,41,41,40,40,40,39,39,38,38,38,38,37,37,36,35,34,34,34,33,33,
04262     32,31,31,31,30,30,30,29,29,29,29,27,27,27,26,25,25,25,24,24,24,
04263     23,23,23,23,23,22,22,21,20,20,20,20,20
04264   };
04265   const int n3c1w2_j[] = {
04266     100, // Capacity
04267     200, // Number of items
04268     // Size of items (sorted)
04269     100,100,100,100,99,99,98,98,98,97,97,97,96,96,96,95,95,94,94,
04270     93,93,93,93,93,93,92,92,91,89,88,88,88,88,88,87,87,87,87,87,87,
04271     86,85,85,85,84,83,83,82,82,82,81,80,80,80,80,80,79,79,79,78,77,
04272     77,76,76,76,76,76,75,75,75,75,74,73,73,73,72,71,71,71,71,70,69,
04273     69,68,68,68,68,67,65,65,65,62,62,60,60,60,60,60,59,59,59,59,59,
04274     58,58,58,58,58,57,56,55,55,54,54,53,53,53,53,52,50,50,49,49,49,
04275     48,48,48,47,47,46,46,46,45,45,45,43,43,43,42,42,42,41,41,41,41,
04276     40,40,40,40,39,39,37,37,37,37,37,36,36,36,35,34,33,33,32,32,32,
04277     30,30,30,30,29,29,29,29,29,28,27,27,26,26,25,25,25,25,24,24,24,
04278     24,24,23,23,23,22,22,21,21,21,20,20,20
04279   };
04280   const int n3c1w2_k[] = {
04281     100, // Capacity
04282     200, // Number of items
04283     // Size of items (sorted)
04284     100,100,99,99,98,98,98,98,97,96,96,95,95,95,95,94,93,93,93,93,
04285     92,92,91,91,90,90,89,89,89,89,89,88,87,87,85,85,84,84,84,84,84,
04286     83,83,83,82,82,82,78,78,77,77,77,77,77,76,76,76,75,74,73,73,72,
04287     72,71,70,70,70,69,69,68,67,67,66,66,66,65,64,64,64,63,63,63,63,
04288     63,62,61,60,60,60,59,59,59,59,57,57,56,56,55,55,54,53,53,53,53,
04289     52,52,52,51,51,50,50,49,49,49,48,47,47,47,47,47,46,46,46,45,44,
04290     44,43,43,43,43,43,43,42,42,42,41,41,40,40,40,40,40,39,39,39,38,
04291     38,38,38,37,37,37,36,36,36,36,34,33,33,32,32,32,32,32,31,31,31,
04292     30,30,30,30,30,29,29,28,28,28,28,28,28,27,27,27,26,26,26,26,25,
04293     25,24,24,23,22,21,21,21,20,20,20,20
04294   };
04295   const int n3c1w2_l[] = {
04296     100, // Capacity
04297     200, // Number of items
04298     // Size of items (sorted)
04299     100,100,99,99,99,98,98,98,98,97,97,97,97,97,96,96,95,95,94,94,
04300     94,94,93,92,92,92,92,92,92,92,91,91,90,90,90,90,89,89,89,88,88,
04301     88,87,87,86,86,86,86,85,85,85,84,84,84,83,83,82,81,80,80,79,79,
04302     78,77,77,77,76,76,76,76,75,75,74,74,74,74,73,73,72,72,71,71,71,
04303     71,70,70,70,69,69,68,68,68,67,67,67,66,66,66,66,65,64,64,63,63,
04304     63,62,61,60,60,60,60,59,59,59,59,58,58,58,57,57,56,55,55,54,54,
04305     54,52,52,52,51,51,51,51,50,49,49,48,48,47,47,47,47,47,46,46,45,
04306     45,45,44,44,44,43,43,43,42,42,41,41,40,39,39,39,39,37,37,37,37,
04307     36,36,36,35,35,34,33,33,33,33,33,32,31,31,30,27,27,26,25,24,24,
04308     24,24,23,23,23,23,23,22,21,21,20,20
04309   };
04310   const int n3c1w2_m[] = {
04311     100, // Capacity
04312     200, // Number of items
04313     // Size of items (sorted)
04314     100,100,100,99,98,98,98,97,97,97,96,96,94,93,93,92,92,92,91,90,
04315     90,90,90,89,89,89,89,88,87,87,86,86,86,86,85,85,85,85,85,84,84,
04316     84,84,83,82,82,82,82,82,81,81,81,81,80,80,79,79,79,79,77,76,76,
04317     75,75,74,74,74,73,72,72,72,72,72,72,72,72,72,71,71,70,70,69,68,
04318     68,68,68,67,67,67,67,65,65,65,64,64,63,62,62,62,62,62,61,60,59,
04319     59,58,58,58,58,58,58,57,57,57,57,57,57,56,56,55,55,55,55,54,54,
04320     54,53,53,53,52,52,52,51,51,50,49,49,49,48,48,47,47,47,47,47,46,
04321     44,44,44,44,44,43,42,42,41,41,41,40,39,38,38,37,36,36,36,36,36,
04322     35,35,34,33,33,32,32,31,31,31,30,30,30,29,29,28,27,27,27,26,26,
04323     26,25,24,23,23,23,22,22,22,21,21,20
04324   };
04325   const int n3c1w2_n[] = {
04326     100, // Capacity
04327     200, // Number of items
04328     // Size of items (sorted)
04329     100,100,100,100,99,99,99,99,98,98,98,96,96,95,95,94,94,94,93,
04330     93,93,93,93,92,91,91,91,91,90,90,90,89,89,89,89,89,88,87,87,87,
04331     86,86,86,85,85,84,84,82,82,81,81,80,80,80,80,79,78,77,77,77,77,
04332     77,76,76,75,75,75,73,73,73,72,71,71,70,70,70,70,69,69,68,68,68,
04333     68,68,67,67,67,67,66,66,66,65,65,65,64,63,63,63,62,62,62,61,60,
04334     60,59,59,59,58,58,58,58,58,57,57,55,55,55,55,55,55,54,54,54,54,
04335     53,52,52,52,52,52,51,51,50,50,50,50,50,49,49,49,49,49,48,48,48,
04336     48,46,45,45,45,44,44,44,43,43,42,42,41,41,41,39,39,39,39,38,37,
04337     37,37,37,36,36,36,36,35,34,34,34,34,34,34,33,33,33,32,31,31,30,
04338     30,29,28,27,26,25,25,24,24,22,21,21,20
04339   };
04340   const int n3c1w2_o[] = {
04341     100, // Capacity
04342     200, // Number of items
04343     // Size of items (sorted)
04344     99,99,99,99,98,98,98,98,97,97,96,96,96,95,95,95,94,94,94,92,91,
04345     91,90,90,90,90,89,89,88,88,87,87,87,87,86,86,86,85,84,84,84,84,
04346     83,83,82,82,82,81,81,81,81,81,80,79,79,79,79,78,78,78,77,77,76,
04347     76,74,74,74,73,73,73,73,73,72,71,71,70,70,69,69,68,68,68,67,66,
04348     65,65,64,64,63,63,62,61,61,61,61,61,61,61,60,60,59,58,57,57,57,
04349     57,57,56,56,56,56,56,55,55,54,54,54,53,53,53,52,52,52,51,51,50,
04350     50,49,49,48,48,48,48,46,45,45,45,44,44,44,44,43,43,42,42,41,41,
04351     41,40,39,39,39,39,38,38,37,37,35,35,34,34,33,33,32,32,32,32,30,
04352     30,30,29,29,28,28,28,28,28,27,27,26,26,25,25,25,24,24,24,24,24,
04353     24,24,23,22,22,22,21,21,21,21,20
04354   };
04355   const int n3c1w2_p[] = {
04356     100, // Capacity
04357     200, // Number of items
04358     // Size of items (sorted)
04359     100,100,99,99,98,97,97,97,96,96,95,95,95,95,94,94,94,93,93,92,
04360     92,92,92,91,90,90,90,90,89,89,88,88,88,88,87,87,85,84,83,83,83,
04361     82,82,82,82,81,81,81,81,79,79,79,78,78,78,78,77,77,77,77,76,76,
04362     75,73,73,72,71,70,70,70,70,70,70,69,69,69,67,67,66,66,66,66,65,
04363     65,65,65,63,63,63,63,62,62,61,61,61,61,61,60,60,59,59,59,58,58,
04364     56,55,55,55,54,53,52,52,52,51,50,49,49,49,49,48,48,48,48,48,47,
04365     47,47,46,46,46,45,45,45,45,45,45,45,44,44,44,43,43,43,43,43,42,
04366     42,41,41,41,41,41,40,40,39,38,38,37,37,36,36,36,35,34,33,33,33,
04367     32,32,32,31,31,30,30,30,29,29,27,27,27,26,26,26,25,24,23,23,22,
04368     22,22,22,22,21,21,21,21,21,20,20,20
04369   };
04370   const int n3c1w2_q[] = {
04371     100, // Capacity
04372     200, // Number of items
04373     // Size of items (sorted)
04374     100,100,100,100,100,99,99,98,97,97,97,96,96,94,93,93,92,92,92,
04375     91,91,91,90,90,90,88,88,88,88,88,88,87,86,86,85,85,85,85,85,84,
04376     84,84,84,83,83,82,82,81,81,81,80,80,80,79,79,78,78,78,77,77,77,
04377     77,77,76,75,75,75,75,74,74,74,74,74,74,74,73,73,73,72,72,71,71,
04378     70,70,70,69,68,68,68,67,67,67,67,67,67,67,67,66,66,66,65,64,64,
04379     64,64,63,63,62,62,62,61,61,60,60,60,59,59,59,59,56,56,56,54,53,
04380     52,52,51,51,51,50,50,50,50,49,49,49,49,48,48,47,46,46,46,46,46,
04381     45,45,43,43,43,42,41,41,39,39,39,39,38,37,37,37,36,36,36,35,34,
04382     34,34,34,32,32,31,29,29,28,28,28,27,27,26,26,26,25,25,24,24,23,
04383     23,22,22,21,21,21,21,21,20,20,20,20,20
04384   };
04385   const int n3c1w2_r[] = {
04386     100, // Capacity
04387     200, // Number of items
04388     // Size of items (sorted)
04389     100,100,100,100,100,100,100,100,99,99,99,99,99,98,98,97,97,97,
04390     95,95,95,95,95,94,94,93,93,92,92,92,91,90,90,89,89,89,89,89,88,
04391     88,88,88,88,88,85,85,85,85,84,84,83,83,82,82,82,82,81,81,80,80,
04392     78,78,76,75,75,74,73,72,72,70,70,69,69,67,67,66,66,65,65,65,64,
04393     64,63,62,62,61,61,60,60,60,60,60,57,57,57,56,56,56,56,55,55,54,
04394     54,54,54,53,52,52,51,51,51,50,50,50,50,49,49,49,48,48,48,48,48,
04395     48,48,48,46,46,45,45,44,44,43,43,43,42,41,41,40,40,40,40,40,39,
04396     39,39,39,39,39,38,38,37,36,36,35,35,34,34,34,33,33,33,33,32,32,
04397     31,31,31,31,31,30,30,30,29,29,29,28,28,28,28,26,25,25,25,24,24,
04398     24,23,23,23,23,22,22,22,21,20,20,20,20,20
04399   };
04400   const int n3c1w2_s[] = {
04401     100, // Capacity
04402     200, // Number of items
04403     // Size of items (sorted)
04404     100,98,98,98,98,97,97,97,97,97,96,96,96,95,95,95,94,94,92,91,
04405     90,90,89,89,89,88,88,88,88,87,87,86,86,86,85,85,85,84,84,84,83,
04406     83,82,82,80,80,80,79,78,78,78,78,78,77,77,77,76,75,75,74,74,74,
04407     73,73,72,72,72,72,71,71,71,70,70,68,68,68,67,67,66,66,66,66,65,
04408     65,65,64,64,64,64,63,63,63,63,63,63,63,63,61,61,60,59,59,59,59,
04409     58,58,58,57,57,57,57,55,54,54,53,53,53,53,53,52,52,51,51,51,50,
04410     50,50,50,50,50,49,49,49,48,48,48,48,47,47,47,46,46,45,45,44,43,
04411     42,41,41,41,40,40,40,39,39,39,38,38,38,38,38,38,37,37,36,36,36,
04412     35,34,34,34,34,33,33,32,31,31,31,30,29,27,27,25,25,24,24,24,23,
04413     23,23,23,23,23,21,21,21,20,20,20,20
04414   };
04415   const int n3c1w2_t[] = {
04416     100, // Capacity
04417     200, // Number of items
04418     // Size of items (sorted)
04419     100,99,99,99,98,98,98,98,98,97,96,96,96,95,95,95,94,93,93,92,
04420     92,91,91,90,90,90,89,88,88,87,87,87,87,86,86,85,85,85,85,84,84,
04421     84,84,84,83,83,83,83,82,81,80,80,80,79,78,78,78,78,77,76,76,75,
04422     74,74,74,73,72,72,72,71,71,71,71,71,68,68,67,67,67,67,66,66,65,
04423     65,65,65,63,63,63,63,63,63,63,63,62,62,62,61,61,61,60,60,60,60,
04424     59,59,59,59,58,58,58,57,57,56,56,56,56,55,55,54,54,54,53,53,53,
04425     52,52,52,52,51,51,51,51,51,50,50,50,49,49,48,48,48,48,47,47,46,
04426     46,46,46,45,44,44,43,42,42,42,42,42,42,42,41,40,39,38,37,37,36,
04427     36,36,35,35,34,33,33,33,33,33,32,32,31,30,29,28,28,28,27,27,26,
04428     25,25,24,23,23,23,23,22,21,21,20,20
04429   };
04430   const int n3c1w4_a[] = {
04431     100, // Capacity
04432     200, // Number of items
04433     // Size of items (sorted)
04434     100,100,100,100,99,99,99,99,98,98,98,98,98,97,97,96,96,95,95,
04435     95,95,94,94,93,93,92,91,91,91,91,91,90,90,90,89,89,89,89,89,88,
04436     88,88,88,88,87,87,87,87,86,86,86,85,85,85,84,84,83,83,83,82,82,
04437     82,82,81,81,81,81,80,80,79,79,79,79,79,78,77,77,77,77,75,74,74,
04438     73,73,73,72,72,71,71,70,70,70,69,69,69,69,68,68,67,67,67,67,67,
04439     67,65,65,65,65,64,64,64,63,63,63,62,62,62,62,60,60,60,59,59,59,
04440     58,57,57,56,56,56,56,55,55,54,54,54,54,54,54,52,52,52,52,52,51,
04441     51,51,50,50,49,49,48,48,48,47,47,47,46,46,45,45,44,44,44,43,43,
04442     43,43,42,42,41,41,41,40,40,39,39,39,39,39,38,38,37,37,36,36,36,
04443     36,35,35,35,35,33,32,32,32,32,30,30,30
04444   };
04445   const int n3c1w4_b[] = {
04446     100, // Capacity
04447     200, // Number of items
04448     // Size of items (sorted)
04449     100,100,99,99,98,98,97,97,97,96,96,96,95,95,95,93,93,93,93,93,
04450     92,92,92,92,91,91,91,90,90,89,89,88,87,87,87,87,86,86,85,85,85,
04451     85,84,84,84,84,83,83,83,83,83,83,82,80,80,80,79,79,79,78,78,78,
04452     78,78,78,77,76,76,76,75,75,75,75,75,73,73,73,72,72,72,71,71,70,
04453     70,70,70,70,70,69,69,68,68,68,68,68,67,67,66,66,66,66,65,65,65,
04454     64,64,64,63,62,61,61,61,60,60,60,59,59,58,58,58,58,58,58,57,57,
04455     57,57,57,56,55,55,55,55,54,54,54,54,54,53,53,53,52,52,52,52,51,
04456     51,50,49,49,49,49,48,48,47,46,46,46,45,44,44,42,42,42,42,41,41,
04457     41,40,40,40,40,39,39,39,39,38,38,38,37,37,37,37,37,36,36,36,36,
04458     35,35,34,34,33,33,32,32,31,31,30,30
04459   };
04460   const int n3c1w4_c[] = {
04461     100, // Capacity
04462     200, // Number of items
04463     // Size of items (sorted)
04464     100,100,99,99,98,98,97,97,96,96,96,96,96,96,96,95,95,94,94,92,
04465     92,92,92,92,92,92,91,91,91,90,89,89,89,89,89,87,86,85,85,84,84,
04466     84,84,83,83,83,83,83,81,81,80,80,80,80,79,79,79,79,78,78,78,78,
04467     77,77,77,77,77,77,76,76,76,76,76,75,75,75,75,74,74,74,74,73,72,
04468     72,72,70,70,70,70,70,69,69,69,68,68,67,67,66,65,65,65,65,64,64,
04469     64,64,64,63,62,62,61,60,60,60,60,60,60,60,59,59,59,58,58,58,58,
04470     57,57,55,55,55,53,53,53,52,52,52,52,51,51,49,49,49,49,49,49,49,
04471     48,48,48,48,48,46,46,45,45,45,45,44,44,44,44,43,43,43,43,43,43,
04472     42,42,42,41,40,40,40,40,40,39,38,38,38,38,37,37,35,34,34,34,34,
04473     33,33,33,32,32,32,31,30,30,30,30,30
04474   };
04475   const int n3c1w4_d[] = {
04476     100, // Capacity
04477     200, // Number of items
04478     // Size of items (sorted)
04479     99,99,98,98,98,98,97,97,96,96,95,94,94,94,94,93,93,93,92,92,92,
04480     92,92,92,92,92,91,91,91,91,90,90,89,89,88,88,87,87,87,87,87,87,
04481     86,86,85,85,85,84,84,83,83,83,83,83,83,82,82,82,82,82,81,81,81,
04482     81,80,79,78,78,77,77,77,76,76,75,75,75,74,74,74,74,73,73,73,73,
04483     73,73,72,72,71,70,70,70,70,70,69,69,69,68,68,68,67,67,66,66,66,
04484     66,66,65,64,63,63,63,63,62,62,62,61,60,60,60,60,59,59,59,59,58,
04485     57,56,56,56,55,55,55,55,55,53,53,53,52,52,52,51,51,51,50,50,49,
04486     49,49,49,48,48,48,48,47,47,46,46,46,46,46,44,43,43,43,42,42,41,
04487     41,41,41,40,40,40,39,39,39,39,38,38,38,38,38,37,36,36,35,35,34,
04488     34,34,33,33,33,32,32,32,31,31,30
04489   };
04490   const int n3c1w4_e[] = {
04491     100, // Capacity
04492     200, // Number of items
04493     // Size of items (sorted)
04494     99,99,99,98,97,97,97,97,96,96,95,95,95,95,94,94,94,93,93,93,93,
04495     93,92,92,91,90,89,88,87,86,86,86,86,85,85,85,85,84,84,84,83,83,
04496     82,82,82,82,82,82,81,81,81,81,81,80,80,80,79,78,78,77,76,76,75,
04497     74,74,74,74,73,73,73,73,73,73,72,72,72,71,71,71,70,70,70,69,69,
04498     69,69,69,69,68,68,67,67,67,67,67,66,66,66,65,64,64,64,63,63,62,
04499     62,61,61,61,61,60,60,59,59,59,59,59,57,56,55,54,53,53,53,53,52,
04500     52,52,51,51,51,50,50,50,50,50,49,48,48,48,48,48,47,47,47,46,46,
04501     46,45,45,45,45,45,44,44,44,43,43,43,43,43,43,42,42,42,42,41,41,
04502     40,40,40,40,39,39,39,38,37,36,36,36,36,35,35,35,35,34,34,32,32,
04503     32,32,31,31,31,30,30,30,30,30,30
04504   };
04505   const int n3c1w4_f[] = {
04506     100, // Capacity
04507     200, // Number of items
04508     // Size of items (sorted)
04509     100,100,100,99,99,98,98,98,97,97,96,96,96,96,96,95,94,94,94,93,
04510     93,93,91,91,91,90,90,90,90,90,89,89,89,89,89,88,88,88,88,87,87,
04511     87,87,86,86,86,86,85,84,83,83,83,83,82,82,82,82,81,81,81,81,81,
04512     80,80,79,79,77,76,76,76,76,76,75,74,74,74,73,73,72,72,72,71,70,
04513     69,68,68,68,68,68,67,67,67,66,66,66,65,64,64,64,63,63,62,62,62,
04514     61,60,60,59,59,59,58,58,58,58,57,56,56,55,55,55,54,54,54,53,53,
04515     53,52,52,51,51,50,50,50,50,50,50,49,49,49,49,48,48,47,47,46,45,
04516     45,45,45,45,44,44,43,43,42,42,42,42,41,41,40,40,40,40,40,40,38,
04517     38,38,38,38,37,37,37,37,36,36,36,35,35,35,35,34,34,34,33,33,33,
04518     33,32,32,32,32,31,31,31,31,31,30,30
04519   };
04520   const int n3c1w4_g[] = {
04521     100, // Capacity
04522     200, // Number of items
04523     // Size of items (sorted)
04524     100,99,98,97,97,96,96,96,95,95,94,94,94,94,93,93,92,92,91,91,
04525     89,89,89,89,88,88,88,88,88,87,87,87,87,86,86,86,86,86,85,85,85,
04526     84,84,83,83,83,82,82,82,82,82,81,80,80,80,80,80,80,80,79,79,79,
04527     79,78,78,78,78,77,77,77,76,76,75,75,75,75,75,74,74,74,74,73,73,
04528     73,73,73,72,72,72,72,72,71,71,71,71,70,70,70,70,70,69,68,68,67,
04529     67,67,66,66,66,65,65,64,62,62,62,61,61,60,60,59,59,59,59,59,59,
04530     59,58,58,58,57,57,57,56,55,55,55,54,54,54,54,53,52,52,51,51,50,
04531     50,50,48,48,48,48,47,47,46,46,45,45,43,43,43,41,41,41,40,40,39,
04532     39,39,39,38,38,38,38,37,37,37,37,37,36,36,36,35,35,34,34,33,33,
04533     32,32,32,32,32,31,31,31,30,30,30,30
04534   };
04535   const int n3c1w4_h[] = {
04536     100, // Capacity
04537     200, // Number of items
04538     // Size of items (sorted)
04539     100,100,99,99,99,98,98,98,98,97,97,97,97,97,96,96,95,94,94,93,
04540     93,93,91,91,91,90,90,89,89,89,89,88,88,88,87,87,86,86,86,86,85,
04541     85,85,84,84,84,83,83,81,81,81,81,81,80,80,80,80,79,78,78,78,77,
04542     77,76,76,76,76,76,75,75,74,74,73,73,73,72,72,72,72,72,71,71,70,
04543     70,70,69,69,69,68,68,66,66,66,66,66,65,65,65,64,64,63,63,63,63,
04544     62,62,62,62,61,61,61,60,60,59,59,59,58,58,57,57,57,56,55,54,54,
04545     54,54,52,52,51,51,51,50,50,50,50,50,49,49,49,48,48,48,48,48,47,
04546     47,47,47,46,46,46,45,45,45,44,44,44,43,43,42,41,41,40,39,39,38,
04547     38,37,37,37,37,37,37,37,36,36,35,34,34,34,34,34,34,33,33,33,33,
04548     33,32,32,31,31,31,31,31,31,30,30,30
04549   };
04550   const int n3c1w4_i[] = {
04551     100, // Capacity
04552     200, // Number of items
04553     // Size of items (sorted)
04554     100,100,100,100,100,99,99,99,99,98,98,98,97,97,97,96,96,96,95,
04555     95,95,94,94,94,94,94,93,93,93,92,91,90,89,89,89,89,89,88,88,87,
04556     87,87,86,86,86,85,84,84,83,82,82,81,81,81,81,80,80,80,79,78,78,
04557     77,77,76,76,76,75,75,74,74,74,74,74,73,73,73,73,73,72,72,72,72,
04558     71,71,70,70,70,68,68,67,67,66,65,65,64,64,63,63,63,63,63,62,61,
04559     61,60,60,59,59,59,58,57,57,56,56,56,55,55,55,55,54,53,52,52,52,
04560     52,52,52,52,52,52,49,49,49,49,49,49,48,47,47,47,47,46,46,46,45,
04561     45,44,43,43,43,43,42,42,42,41,41,41,41,41,40,40,40,40,40,39,39,
04562     38,38,38,37,37,37,36,36,36,36,35,35,35,35,34,34,34,34,34,34,34,
04563     33,33,33,33,32,32,32,32,31,31,31,30,30
04564   };
04565   const int n3c1w4_j[] = {
04566     100, // Capacity
04567     200, // Number of items
04568     // Size of items (sorted)
04569     100,100,99,99,98,98,98,97,97,97,96,96,96,96,96,95,94,94,93,93,
04570     93,92,92,92,92,92,91,91,91,90,90,89,89,89,89,88,88,87,87,86,86,
04571     85,85,85,85,84,84,84,84,83,83,82,82,82,82,82,82,82,81,80,79,79,
04572     79,78,78,78,77,76,76,75,75,75,74,73,73,73,72,72,72,72,71,71,70,
04573     70,69,69,69,69,69,68,67,66,66,66,66,66,66,65,65,65,65,64,64,64,
04574     63,63,62,62,61,61,60,60,60,59,59,59,59,58,58,58,58,58,58,58,57,
04575     56,56,56,56,53,53,53,52,52,52,52,51,51,51,50,50,50,49,48,48,48,
04576     48,47,47,47,46,46,46,46,44,44,44,44,43,43,42,42,42,41,40,40,40,
04577     40,40,39,39,38,38,38,38,38,37,37,37,36,35,34,34,34,34,34,34,34,
04578     33,33,32,32,32,32,31,31,31,30,30,30
04579   };
04580   const int n3c1w4_k[] = {
04581     100, // Capacity
04582     200, // Number of items
04583     // Size of items (sorted)
04584     100,100,100,99,99,99,99,99,99,98,98,97,97,97,95,95,95,95,95,94,
04585     94,94,94,94,93,93,93,93,92,92,92,91,90,89,89,89,89,89,88,88,88,
04586     87,87,87,87,87,86,86,85,84,83,83,83,83,82,82,81,79,79,79,79,78,
04587     78,77,76,76,76,75,75,75,74,73,73,72,72,72,72,71,70,70,70,70,70,
04588     70,69,69,69,69,68,68,68,66,66,66,66,66,66,66,66,65,65,65,64,64,
04589     63,63,63,63,62,62,62,61,61,61,61,61,59,59,59,59,59,59,58,58,58,
04590     57,57,57,57,57,56,56,56,55,55,55,55,54,54,52,52,51,51,51,50,50,
04591     50,50,49,48,47,47,47,46,46,46,46,45,45,44,44,44,43,42,42,41,41,
04592     41,41,41,40,40,39,38,38,38,38,38,38,37,36,36,36,35,34,33,32,32,
04593     32,31,31,31,31,30,30,30,30,30,30,30
04594   };
04595   const int n3c1w4_l[] = {
04596     100, // Capacity
04597     200, // Number of items
04598     // Size of items (sorted)
04599     100,100,100,100,99,99,99,98,98,98,98,98,97,96,96,96,96,96,95,
04600     95,95,95,94,94,94,93,93,92,92,92,92,91,90,90,89,88,88,88,88,87,
04601     87,86,86,86,85,83,83,83,82,82,82,81,81,80,80,80,80,80,80,80,80,
04602     79,79,78,78,77,77,76,75,75,75,75,75,75,74,74,74,73,73,72,72,72,
04603     71,71,71,71,71,69,69,68,68,67,67,66,66,66,66,66,65,65,65,65,65,
04604     64,64,63,62,62,62,62,62,62,62,62,61,61,60,60,60,59,59,59,59,58,
04605     58,58,57,57,57,57,57,56,56,56,56,56,56,55,55,54,54,53,52,51,50,
04606     50,49,49,49,49,48,48,48,47,46,45,44,44,44,44,44,43,43,43,43,42,
04607     42,41,41,40,40,40,39,39,39,39,38,38,37,37,37,37,37,37,36,36,35,
04608     35,34,34,34,34,33,32,32,31,31,31,30,30
04609   };
04610   const int n3c1w4_m[] = {
04611     100, // Capacity
04612     200, // Number of items
04613     // Size of items (sorted)
04614     100,100,100,99,99,99,98,98,97,97,97,97,97,96,96,96,95,95,94,94,
04615     94,93,92,92,92,91,91,90,90,90,90,89,88,88,88,88,87,87,86,86,86,
04616     86,86,84,84,84,83,83,83,83,82,82,82,82,82,81,81,80,80,80,79,79,
04617     79,79,79,78,78,78,78,78,77,77,77,76,76,76,76,75,74,74,73,73,73,
04618     72,71,71,71,70,70,70,69,69,69,69,68,68,67,67,67,67,66,66,66,66,
04619     65,65,65,64,64,64,64,64,64,63,62,62,62,61,61,60,60,59,59,59,59,
04620     59,58,57,56,55,55,55,55,55,55,54,54,54,54,53,53,53,53,52,52,52,
04621     52,51,50,49,48,48,48,48,48,47,47,45,45,45,45,44,44,44,43,43,42,
04622     41,41,40,40,39,39,39,38,38,38,37,37,37,36,35,34,34,33,33,33,33,
04623     33,32,32,31,31,31,31,31,30,30,30,30
04624   };
04625   const int n3c1w4_n[] = {
04626     100, // Capacity
04627     200, // Number of items
04628     // Size of items (sorted)
04629     100,99,99,98,98,98,98,98,98,97,97,97,96,95,94,93,93,93,93,92,
04630     92,92,92,92,91,91,91,90,87,87,87,85,85,85,84,84,84,83,83,82,82,
04631     82,82,81,81,81,81,80,80,80,80,79,79,78,78,78,78,76,76,76,75,75,
04632     74,73,72,72,72,72,72,71,71,71,71,70,70,70,69,69,69,68,68,68,68,
04633     68,68,68,68,67,67,67,65,64,63,63,63,63,63,63,63,62,62,62,61,60,
04634     60,60,60,60,60,59,59,59,59,58,58,58,57,57,56,56,56,56,55,55,55,
04635     55,54,54,54,54,54,54,53,53,53,53,53,52,52,52,52,51,51,51,51,51,
04636     51,50,49,49,49,49,47,47,46,46,46,45,45,45,45,44,44,43,43,43,42,
04637     42,41,40,40,39,39,39,39,38,38,37,37,37,37,37,37,35,34,34,33,32,
04638     32,32,32,31,31,31,31,31,30,30,30,30
04639   };
04640   const int n3c1w4_o[] = {
04641     100, // Capacity
04642     200, // Number of items
04643     // Size of items (sorted)
04644     100,100,99,99,99,97,97,97,96,95,95,95,95,94,94,93,93,92,92,91,
04645     91,89,89,88,88,87,86,86,86,86,85,85,84,84,83,83,82,82,82,82,81,
04646     81,81,81,81,81,80,80,80,79,79,79,79,78,77,77,77,77,77,77,77,77,
04647     76,76,75,75,75,74,74,73,73,73,73,72,72,72,72,71,71,71,71,70,70,
04648     70,70,70,70,69,69,69,69,69,67,66,66,65,65,65,64,63,62,62,62,62,
04649     61,61,61,61,60,60,60,58,58,58,58,58,58,58,58,58,57,55,55,54,53,
04650     53,53,53,53,52,52,52,52,52,51,51,51,50,50,50,49,49,48,48,47,47,
04651     46,46,45,45,45,45,44,44,43,42,42,42,42,41,41,41,41,40,40,37,37,
04652     37,36,36,36,36,35,35,35,35,35,35,35,34,34,34,34,34,34,33,33,33,
04653     33,33,32,32,32,32,32,32,32,31,31,30
04654   };
04655   const int n3c1w4_p[] = {
04656     100, // Capacity
04657     200, // Number of items
04658     // Size of items (sorted)
04659     100,100,100,100,100,100,100,99,99,99,99,99,98,98,97,96,96,95,
04660     95,94,94,94,93,92,92,92,92,92,92,91,90,89,89,89,89,88,88,88,88,
04661     87,87,87,86,86,85,84,83,82,82,82,81,81,81,81,79,79,79,78,78,78,
04662     77,77,77,77,77,76,76,76,76,75,75,75,75,74,74,74,74,74,73,73,73,
04663     71,71,71,71,71,71,71,69,69,68,67,66,66,66,65,64,64,64,63,63,63,
04664     63,63,63,62,62,62,62,61,60,60,60,60,59,59,59,59,59,58,58,58,57,
04665     56,56,56,56,56,54,53,53,53,52,52,52,51,51,51,51,51,50,49,49,49,
04666     48,47,47,47,47,46,46,46,45,45,44,44,43,43,42,42,42,41,41,41,41,
04667     41,40,40,40,39,39,39,38,37,36,36,36,36,35,35,35,35,34,34,34,34,
04668     33,33,33,33,33,32,32,32,32,31,31,30,30,30
04669   };
04670   const int n3c1w4_q[] = {
04671     100, // Capacity
04672     200, // Number of items
04673     // Size of items (sorted)
04674     100,100,100,100,99,99,99,99,98,98,98,97,97,96,96,96,96,96,95,
04675     95,95,95,94,93,93,93,92,92,92,92,92,92,91,91,90,90,90,89,87,87,
04676     87,86,86,86,86,86,86,85,85,85,85,84,83,83,83,82,81,81,81,80,80,
04677     80,79,79,79,79,79,79,79,79,78,78,77,77,76,76,76,75,75,75,74,73,
04678     72,72,72,72,71,70,70,70,70,69,69,69,68,68,68,68,68,68,67,67,66,
04679     66,65,65,65,65,64,64,64,62,62,62,62,61,60,60,59,58,58,58,58,57,
04680     57,57,57,57,56,56,55,54,54,54,54,53,53,53,53,52,52,51,51,50,50,
04681     50,49,49,48,48,48,48,47,47,46,45,45,45,44,44,43,43,43,42,42,42,
04682     42,41,41,40,40,40,40,39,39,39,38,38,37,37,36,36,36,35,35,34,34,
04683     33,33,33,33,32,32,32,32,31,30,30,30,30
04684   };
04685   const int n3c1w4_r[] = {
04686     100, // Capacity
04687     200, // Number of items
04688     // Size of items (sorted)
04689     100,100,100,99,98,97,97,97,96,96,96,96,96,96,96,96,95,95,93,93,
04690     93,93,92,92,92,91,91,91,91,90,90,90,90,89,88,88,87,87,87,86,85,
04691     85,84,84,83,83,82,82,82,81,81,81,80,80,80,80,80,79,79,78,78,77,
04692     77,77,76,75,74,74,73,73,73,73,72,72,71,71,70,70,69,69,69,69,68,
04693     68,68,68,68,67,67,67,67,67,66,66,65,65,65,64,63,63,63,62,60,60,
04694     60,60,59,59,59,59,59,58,58,58,58,58,57,57,57,57,57,57,57,57,56,
04695     56,56,55,55,55,55,54,54,54,54,53,53,52,51,51,51,51,51,50,50,50,
04696     49,48,47,46,46,46,46,45,45,44,44,44,43,43,43,42,42,42,41,41,41,
04697     41,41,40,40,40,40,39,39,38,38,38,38,37,37,37,37,36,36,35,35,35,
04698     35,34,33,33,33,32,32,31,31,31,30,30
04699   };
04700   const int n3c1w4_s[] = {
04701     100, // Capacity
04702     200, // Number of items
04703     // Size of items (sorted)
04704     100,100,99,99,99,98,98,98,98,98,98,97,96,96,96,95,94,93,92,92,
04705     92,92,91,91,91,91,91,90,90,90,90,89,89,89,89,89,88,88,87,86,86,
04706     86,84,82,82,82,80,80,80,80,80,79,79,79,78,77,77,77,77,77,76,76,
04707     76,76,75,75,74,74,74,73,73,72,72,72,72,72,71,71,71,71,70,70,70,
04708     70,70,69,69,68,68,67,67,67,67,67,67,66,65,65,65,65,65,64,63,63,
04709     63,62,62,62,61,61,61,60,60,60,60,60,60,60,60,59,59,58,58,58,58,
04710     57,57,57,55,55,55,55,55,55,54,53,53,53,53,52,52,51,51,50,49,49,
04711     49,49,48,48,48,47,47,46,45,45,45,45,44,43,43,43,42,42,42,42,42,
04712     42,41,40,40,40,39,39,38,38,37,37,37,37,35,35,35,33,33,33,33,32,
04713     32,32,31,31,31,31,31,30,30,30,30,30
04714   };
04715   const int n3c1w4_t[] = {
04716     100, // Capacity
04717     200, // Number of items
04718     // Size of items (sorted)
04719     98,98,98,98,97,97,97,96,96,95,95,95,95,95,94,94,93,93,93,92,92,
04720     91,91,91,91,91,90,90,90,90,90,89,89,88,88,88,88,88,87,86,86,86,
04721     86,86,85,85,84,84,83,82,82,81,80,80,80,80,80,80,79,79,79,79,79,
04722     78,78,78,77,77,77,77,76,76,76,76,75,75,74,74,74,74,73,72,72,71,
04723     71,71,71,71,71,70,69,69,69,69,69,69,68,68,68,67,67,67,67,67,66,
04724     66,65,65,65,65,65,64,63,62,61,61,61,60,60,59,58,58,57,57,57,56,
04725     56,56,56,55,55,54,54,54,53,53,53,52,52,52,51,51,51,50,49,49,48,
04726     48,48,47,47,46,45,45,45,45,44,44,44,43,43,43,43,43,43,43,42,42,
04727     42,41,41,40,40,40,39,39,38,38,36,35,34,34,34,33,33,33,33,33,32,
04728     32,32,31,31,31,31,30,30,30,30,30
04729   };
04730   const int n3c2w1_a[] = {
04731     120, // Capacity
04732     200, // Number of items
04733     // Size of items (sorted)
04734     100,100,100,99,99,99,99,98,98,97,97,95,95,95,95,94,94,94,93,92,
04735     92,91,91,91,91,91,90,90,90,90,89,89,89,88,87,87,87,87,87,86,86,
04736     86,85,83,83,82,82,81,81,80,80,79,79,78,78,78,77,77,76,76,76,75,
04737     74,74,74,74,73,72,72,72,72,71,70,70,69,69,67,67,67,65,64,64,63,
04738     62,61,60,60,60,60,59,59,59,58,58,57,57,57,56,56,55,54,53,53,51,
04739     51,50,49,48,47,47,46,46,46,46,45,45,45,44,44,43,43,42,42,41,41,
04740     40,40,40,40,40,39,38,38,38,38,38,36,36,35,32,32,30,30,30,30,29,
04741     29,28,25,24,24,24,24,23,23,23,23,23,22,22,21,20,19,19,19,19,17,
04742     17,16,16,16,16,16,16,15,15,13,13,13,12,10,10,9,9,8,8,7,7,5,4,
04743     4,4,4,4,4,3,2,2,2,1
04744   };
04745   const int n3c2w1_b[] = {
04746     120, // Capacity
04747     200, // Number of items
04748     // Size of items (sorted)
04749     100,100,100,100,100,99,98,97,96,96,96,95,95,94,93,93,93,92,90,
04750     90,90,89,89,89,88,87,87,87,86,83,82,81,81,80,80,80,79,79,79,78,
04751     77,77,77,77,76,76,76,75,73,72,72,72,72,71,70,68,68,68,68,67,66,
04752     66,66,66,66,65,65,65,63,63,63,62,61,60,60,60,60,58,58,57,57,56,
04753     56,56,56,55,55,55,55,55,53,52,51,51,50,50,50,50,49,49,48,48,48,
04754     48,47,47,46,46,45,45,45,45,43,43,42,41,40,40,40,40,40,39,39,39,
04755     39,39,38,38,37,36,35,35,34,34,34,33,33,31,30,30,30,27,27,25,25,
04756     24,24,23,23,23,23,22,22,21,21,20,19,19,19,19,19,18,18,17,17,17,
04757     16,16,15,15,15,14,14,14,13,13,12,12,12,12,12,10,9,9,9,9,9,9,9,
04758     8,7,5,5,4,4,3,2,1,1,1
04759   };
04760   const int n3c2w1_c[] = {
04761     120, // Capacity
04762     200, // Number of items
04763     // Size of items (sorted)
04764     100,100,98,97,97,96,96,96,96,93,93,92,90,90,89,89,89,89,89,88,
04765     88,87,86,86,86,85,85,85,85,83,82,81,81,81,80,80,79,79,78,77,77,
04766     76,76,76,75,75,75,74,74,73,73,72,72,72,72,72,71,70,70,70,70,70,
04767     69,69,68,68,67,66,66,65,65,63,63,63,62,62,62,62,60,60,59,59,58,
04768     58,58,57,57,57,55,55,54,54,53,53,53,52,52,51,51,51,50,50,49,48,
04769     48,47,47,47,46,44,43,43,43,42,42,41,40,40,40,40,39,39,39,39,39,
04770     38,37,36,36,36,35,35,34,34,34,34,33,33,33,33,32,32,32,32,31,30,
04771     29,29,29,29,28,27,26,25,24,23,23,22,22,20,20,20,19,19,19,18,18,
04772     17,17,17,16,16,15,15,15,13,13,13,13,13,12,12,10,10,9,9,9,8,8,
04773     7,7,7,5,4,4,3,3,1,1,1
04774   };
04775   const int n3c2w1_d[] = {
04776     120, // Capacity
04777     200, // Number of items
04778     // Size of items (sorted)
04779     100,100,100,99,99,98,98,98,97,96,95,95,95,94,94,93,93,93,93,92,
04780     92,92,91,90,90,89,89,88,87,86,86,85,85,84,84,84,83,83,83,83,81,
04781     79,78,78,77,77,76,76,75,75,75,75,75,74,74,74,74,74,73,73,73,72,
04782     71,71,70,69,69,68,68,66,65,65,65,65,65,64,64,63,61,61,61,61,60,
04783     60,60,60,60,59,59,58,58,57,57,56,55,54,53,53,52,51,51,51,50,49,
04784     48,47,46,46,45,44,44,43,41,41,39,39,38,38,38,37,37,37,36,36,35,
04785     35,35,34,34,34,34,34,33,32,32,32,31,29,28,28,28,27,27,26,25,25,
04786     23,23,23,23,23,22,22,22,22,21,20,18,18,17,17,17,16,16,15,15,14,
04787     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,
04788     3,3,2,2,1,1,1,1
04789   };
04790   const int n3c2w1_e[] = {
04791     120, // Capacity
04792     200, // Number of items
04793     // Size of items (sorted)
04794     99,99,99,99,98,98,98,97,96,95,95,95,95,95,94,94,93,93,93,91,91,
04795     91,90,90,90,90,90,90,89,89,88,87,87,86,86,85,85,85,85,84,84,83,
04796     82,82,80,80,79,79,79,78,78,78,78,77,77,77,76,76,76,75,75,75,72,
04797     72,71,71,70,70,69,67,67,67,67,66,65,65,64,64,64,63,63,63,62,62,
04798     61,61,59,59,58,58,58,57,57,57,57,56,55,55,55,54,53,52,51,51,50,
04799     50,49,48,47,46,45,44,44,43,43,42,40,40,38,37,37,36,36,35,35,35,
04800     35,33,33,32,32,32,31,31,31,31,31,31,30,29,29,29,28,27,27,26,26,
04801     25,24,24,24,22,22,21,20,19,19,19,18,17,16,16,16,15,15,15,15,15,
04802     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,
04803     4,3,3,3,3,3,2
04804   };
04805   const int n3c2w1_f[] = {
04806     120, // Capacity
04807     200, // Number of items
04808     // Size of items (sorted)
04809     100,100,100,100,100,99,98,98,98,98,97,96,95,95,95,94,93,93,93,
04810     92,92,91,90,90,90,89,89,89,88,88,88,87,87,87,86,84,83,83,83,83,
04811     83,82,82,80,80,79,79,79,78,75,75,75,75,74,74,73,72,72,72,72,70,
04812     69,69,69,69,68,67,67,67,66,66,64,64,64,63,63,63,62,62,62,61,61,
04813     61,61,61,61,61,60,59,59,59,59,59,59,57,57,57,56,55,55,54,54,54,
04814     53,53,53,52,51,51,50,50,50,49,49,48,47,47,46,45,45,45,42,42,42,
04815     40,39,37,36,36,35,35,34,34,34,34,34,32,32,32,30,30,29,28,27,27,
04816     27,25,25,25,24,24,24,24,24,23,22,22,22,22,21,20,19,19,18,17,17,
04817     16,15,15,15,14,12,12,12,11,11,11,10,10,10,10,9,9,9,9,8,8,8,7,
04818     6,6,5,5,4,2,2,2,1,1,1
04819   };
04820   const int n3c2w1_g[] = {
04821     120, // Capacity
04822     200, // Number of items
04823     // Size of items (sorted)
04824     99,99,98,98,97,97,96,96,95,94,94,92,92,92,90,90,89,89,89,88,88,
04825     88,87,86,86,86,85,85,85,85,85,84,84,83,82,82,81,81,81,80,80,80,
04826     79,79,79,78,78,75,75,75,74,74,74,74,73,73,72,72,71,70,69,69,68,
04827     67,67,67,67,67,67,67,66,65,65,64,63,63,63,63,63,62,62,61,60,60,
04828     60,59,59,58,58,58,58,57,57,57,56,55,55,55,54,53,52,52,52,52,52,
04829     51,51,50,50,49,49,49,49,49,47,46,46,46,46,44,44,43,43,42,42,42,
04830     41,41,41,40,39,39,37,36,36,36,35,35,35,34,34,33,33,33,32,31,31,
04831     31,30,30,29,29,29,29,28,28,28,27,26,26,25,24,23,23,23,23,23,22,
04832     22,22,22,22,20,20,19,19,19,17,15,15,14,12,11,10,9,8,7,7,5,5,5,
04833     4,4,4,3,3,1,1,1,1
04834   };
04835   const int n3c2w1_h[] = {
04836     120, // Capacity
04837     200, // Number of items
04838     // Size of items (sorted)
04839     100,100,100,100,99,99,98,98,97,97,96,96,95,94,94,94,93,93,93,
04840     92,92,90,90,90,89,89,87,87,86,85,85,85,85,85,85,84,84,83,82,82,
04841     82,81,81,80,79,79,77,77,77,77,75,74,74,73,72,72,71,71,71,70,70,
04842     70,69,69,68,67,67,66,66,66,64,63,62,62,62,62,62,62,60,59,59,59,
04843     59,59,58,58,57,57,57,56,56,56,55,55,54,54,53,53,52,52,52,52,51,
04844     51,50,50,50,50,50,49,48,48,48,48,47,47,46,46,44,44,43,43,43,42,
04845     42,41,41,41,40,40,38,38,37,36,36,35,35,33,32,32,31,31,31,30,30,
04846     28,28,28,27,25,25,24,24,24,24,24,21,20,20,19,19,18,18,17,17,17,
04847     17,17,16,16,16,15,14,14,14,14,13,13,12,12,12,11,11,9,9,9,8,6,
04848     6,6,5,4,4,3,3,2,1,1,1,1
04849   };
04850   const int n3c2w1_i[] = {
04851     120, // Capacity
04852     200, // Number of items
04853     // Size of items (sorted)
04854     100,99,99,99,99,98,97,97,97,97,97,97,97,96,96,95,95,95,95,95,
04855     94,93,93,93,92,92,92,91,91,90,90,88,88,88,88,87,86,85,84,84,84,
04856     84,83,83,81,79,79,79,78,78,77,76,76,75,74,74,73,73,73,72,72,72,
04857     71,71,71,70,70,70,69,69,68,68,67,67,66,65,64,64,63,63,60,60,60,
04858     59,58,58,58,58,57,56,56,55,55,54,53,53,52,52,51,51,51,50,50,50,
04859     49,49,48,48,48,47,47,47,45,45,43,43,42,42,41,41,41,40,40,40,39,
04860     38,38,37,37,36,36,35,35,35,35,35,34,33,33,32,32,31,30,29,29,27,
04861     26,25,25,24,24,24,23,23,23,23,21,20,20,20,20,20,19,18,17,17,16,
04862     16,16,14,14,13,13,13,13,13,12,12,11,11,10,10,9,9,8,8,8,8,7,6,
04863     6,6,5,4,4,3,3,2,2,1
04864   };
04865   const int n3c2w1_j[] = {
04866     120, // Capacity
04867     200, // Number of items
04868     // Size of items (sorted)
04869     100,100,100,100,99,99,99,98,98,97,95,95,95,94,93,92,92,92,92,
04870     91,91,88,87,87,86,86,85,84,84,84,83,83,82,82,82,81,81,81,80,80,
04871     79,78,78,77,76,76,76,75,74,74,74,73,72,70,69,68,68,67,67,67,67,
04872     67,67,66,66,66,65,65,65,65,65,65,64,64,64,63,63,63,62,61,60,59,
04873     59,59,58,58,58,57,57,57,56,56,56,56,55,55,54,54,54,53,53,52,52,
04874     51,50,50,50,49,49,49,48,47,47,46,46,45,45,45,44,44,44,43,43,43,
04875     41,41,41,39,38,37,36,36,36,36,36,36,35,35,35,34,33,33,32,31,31,
04876     30,30,29,29,29,29,29,28,28,26,26,26,26,26,25,25,25,24,23,23,21,
04877     20,20,20,20,20,19,19,19,18,18,17,16,15,15,15,13,12,11,10,9,9,
04878     9,8,7,7,7,5,4,3,3,2,2,1,1
04879   };
04880   const int n3c2w1_k[] = {
04881     120, // Capacity
04882     200, // Number of items
04883     // Size of items (sorted)
04884     99,99,99,99,98,98,96,95,95,92,92,92,91,91,91,91,89,89,89,88,88,
04885     87,85,85,84,84,84,83,83,83,83,83,82,81,80,80,79,79,77,77,76,74,
04886     73,73,73,73,73,70,69,68,66,66,66,66,65,65,65,64,63,63,62,62,61,
04887     61,59,59,59,58,58,57,57,56,56,55,55,54,54,54,53,52,52,51,50,50,
04888     50,50,49,49,48,48,48,48,48,47,47,46,46,46,45,45,45,44,44,44,43,
04889     43,43,42,42,42,41,41,40,40,40,39,38,38,36,36,35,35,35,34,33,33,
04890     33,33,33,33,32,32,32,31,30,30,30,28,28,27,27,27,26,25,24,23,23,
04891     22,22,22,21,20,20,18,18,17,17,17,16,15,15,14,14,14,13,13,13,12,
04892     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,
04893     5,4,4,3,2,1
04894   };
04895   const int n3c2w1_l[] = {
04896     120, // Capacity
04897     200, // Number of items
04898     // Size of items (sorted)
04899     100,100,99,99,99,99,99,97,96,96,96,95,95,95,94,94,94,94,93,93,
04900     93,93,93,92,92,92,92,91,91,88,88,88,87,87,86,85,85,85,83,83,82,
04901     82,82,81,81,80,80,79,79,78,78,77,77,77,77,76,74,74,74,73,71,70,
04902     69,68,67,67,67,67,66,66,66,66,66,65,65,65,65,64,64,64,64,64,64,
04903     63,63,62,61,61,60,60,60,59,58,57,56,56,56,56,55,55,55,54,54,54,
04904     53,53,52,52,52,51,50,49,48,48,47,47,45,45,44,44,44,44,43,43,43,
04905     43,42,41,41,40,40,40,40,40,40,40,38,37,37,37,35,35,33,33,33,31,
04906     31,30,30,28,27,25,25,25,24,24,24,23,22,22,20,20,19,19,19,18,18,
04907     18,18,17,16,15,14,14,13,13,12,11,11,11,10,10,10,8,8,7,7,7,6,5,
04908     5,5,5,5,3,2,2,2,1,1
04909   };
04910   const int n3c2w1_m[] = {
04911     120, // Capacity
04912     200, // Number of items
04913     // Size of items (sorted)
04914     100,100,99,99,98,97,97,96,96,95,95,93,92,92,91,88,88,88,87,86,
04915     86,86,85,85,83,83,83,82,82,82,82,81,81,81,81,81,81,80,80,79,78,
04916     78,78,77,77,77,75,75,74,73,73,72,72,72,72,72,72,71,71,71,70,70,
04917     69,69,69,68,67,66,66,65,65,64,64,64,63,63,63,63,62,61,61,61,61,
04918     60,60,60,59,59,58,57,56,55,55,54,54,54,53,53,53,53,53,52,52,52,
04919     50,48,48,46,46,46,46,45,44,44,43,43,43,43,43,42,42,42,42,40,40,
04920     40,39,38,36,36,36,36,36,36,32,32,32,31,31,30,30,28,28,27,27,27,
04921     26,26,25,25,25,24,24,23,22,22,22,21,21,21,20,20,20,20,20,19,19,
04922     19,18,18,18,18,16,16,15,13,13,12,11,11,10,10,9,9,8,8,8,7,7,6,
04923     5,5,4,3,3,2,2,2,2,2
04924   };
04925   const int n3c2w1_n[] = {
04926     120, // Capacity
04927     200, // Number of items
04928     // Size of items (sorted)
04929     100,100,100,98,98,97,97,97,96,96,95,94,94,94,94,93,93,93,92,91,
04930     91,91,91,89,89,89,89,88,88,88,87,86,86,86,85,84,84,84,83,83,82,
04931     81,81,80,80,80,80,79,79,79,79,78,77,77,77,76,76,75,75,75,75,75,
04932     74,74,73,72,72,72,71,71,70,70,69,69,69,68,67,67,66,66,64,64,64,
04933     63,62,62,62,61,60,60,60,60,60,59,58,58,57,56,56,54,54,53,53,52,
04934     52,52,52,51,49,49,49,49,49,47,47,47,46,46,46,45,45,44,44,42,41,
04935     41,41,40,40,39,38,38,37,36,36,36,33,32,31,31,30,30,30,30,29,28,
04936     27,26,26,23,22,21,21,21,21,21,20,20,20,20,19,18,18,18,16,16,15,
04937     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,
04938     3,2,2,2,1,1,1
04939   };
04940   const int n3c2w1_o[] = {
04941     120, // Capacity
04942     200, // Number of items
04943     // Size of items (sorted)
04944     100,100,99,98,98,96,94,93,92,92,92,91,91,90,90,89,89,89,88,88,
04945     87,87,87,86,86,84,84,84,83,81,79,79,79,78,77,77,77,77,77,75,75,
04946     75,74,74,74,73,73,73,73,72,72,71,71,70,70,69,68,68,67,67,66,66,
04947     65,65,64,64,64,63,63,63,63,63,63,62,62,61,61,61,61,60,60,60,60,
04948     59,59,58,58,58,58,58,57,57,57,56,55,55,55,54,54,53,53,53,52,51,
04949     51,50,48,48,47,47,46,46,44,43,42,41,41,41,41,40,40,40,39,39,39,
04950     39,38,37,36,36,36,35,35,35,34,33,32,32,32,31,31,31,30,29,28,28,
04951     27,27,27,27,27,24,23,23,21,20,20,19,19,19,18,18,18,17,17,16,16,
04952     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,
04953     2,2,2,1,1,1,1
04954   };
04955   const int n3c2w1_p[] = {
04956     120, // Capacity
04957     200, // Number of items
04958     // Size of items (sorted)
04959     99,99,97,97,97,97,97,96,96,96,96,96,96,94,94,94,93,92,92,89,89,
04960     89,88,88,87,87,86,85,85,85,84,84,84,83,83,83,83,83,83,82,81,81,
04961     81,80,80,80,79,79,79,78,78,77,76,76,75,74,73,72,71,71,71,71,69,
04962     69,68,68,68,68,67,67,66,66,66,65,65,65,65,65,64,64,64,63,63,60,
04963     60,58,58,58,58,57,57,57,56,56,56,55,54,54,53,53,53,53,52,52,50,
04964     50,49,49,47,46,45,45,45,44,44,43,42,42,41,41,41,41,40,40,40,40,
04965     40,40,39,39,38,38,38,37,37,37,37,36,36,35,34,34,34,34,34,33,33,
04966     32,32,31,31,31,30,30,29,28,27,27,27,26,25,25,24,23,22,22,21,21,
04967     21,21,20,19,19,19,18,17,17,17,16,15,13,13,13,10,10,9,9,9,9,9,
04968     9,8,7,6,6,5,4,3,2,1
04969   };
04970   const int n3c2w1_q[] = {
04971     120, // Capacity
04972     200, // Number of items
04973     // Size of items (sorted)
04974     100,98,97,97,97,96,96,96,96,96,95,94,93,93,93,92,92,92,91,90,
04975     90,90,90,90,89,89,88,88,87,87,86,85,84,84,82,82,81,81,80,79,79,
04976     77,75,75,75,75,73,73,72,72,71,71,71,71,71,70,70,69,69,69,69,68,
04977     68,67,67,66,66,65,65,65,64,62,62,62,60,59,59,59,59,58,58,58,57,
04978     57,56,55,55,55,54,54,53,53,53,53,52,52,51,50,50,48,47,47,46,46,
04979     46,45,44,44,43,43,42,41,41,41,41,40,40,39,39,39,37,37,36,36,36,
04980     35,33,32,32,32,32,32,31,31,31,31,30,30,30,29,29,28,27,26,26,26,
04981     25,25,25,25,24,24,24,22,22,21,20,20,19,18,18,18,17,15,15,15,15,
04982     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,
04983     5,5,5,4,4,4,2,2
04984   };
04985   const int n3c2w1_r[] = {
04986     120, // Capacity
04987     200, // Number of items
04988     // Size of items (sorted)
04989     99,99,99,99,99,98,98,97,96,95,95,93,92,91,91,90,90,90,89,89,89,
04990     86,84,84,84,83,82,82,80,80,79,79,78,78,77,77,77,76,76,76,76,74,
04991     74,74,72,72,71,71,71,71,70,70,70,69,69,69,68,67,66,66,65,65,64,
04992     64,64,64,63,63,62,62,62,61,61,60,60,60,59,59,58,58,58,57,56,56,
04993     55,54,53,53,52,52,52,52,52,51,51,51,50,50,50,49,49,47,47,46,46,
04994     45,44,44,44,44,43,43,42,42,42,42,41,41,41,41,40,40,40,40,40,39,
04995     39,39,39,37,36,35,35,34,34,33,33,33,32,32,32,32,31,30,30,29,29,
04996     28,27,27,26,26,26,26,25,25,25,24,24,24,23,23,23,22,21,21,21,19,
04997     18,18,18,17,17,16,16,15,14,14,14,13,12,11,11,10,9,7,7,7,7,7,7,
04998     6,5,4,4,3,2,2,1,1
04999   };
05000   const int n3c2w1_s[] = {
05001     120, // Capacity
05002     200, // Number of items
05003     // Size of items (sorted)
05004     100,100,100,100,100,99,98,98,97,97,96,95,95,94,94,94,94,94,93,
05005     93,93,93,92,92,92,91,90,89,89,89,89,88,88,88,88,87,87,87,86,86,
05006     85,84,84,84,83,83,82,81,81,80,79,79,78,78,77,77,77,76,76,76,75,
05007     75,74,73,73,73,70,70,69,68,66,66,66,65,65,65,63,63,62,62,62,60,
05008     59,59,59,59,57,57,57,57,57,57,57,55,55,53,53,53,53,53,52,52,52,
05009     51,51,50,49,49,49,48,47,47,46,45,45,45,44,44,44,42,42,42,41,40,
05010     40,40,39,39,39,39,36,36,36,35,34,34,34,33,33,31,31,30,30,30,29,
05011     29,29,27,27,27,26,26,26,25,25,25,25,24,23,23,22,22,21,20,20,20,
05012     20,19,17,17,17,16,16,16,16,15,15,14,13,12,12,12,12,12,12,12,11,
05013     11,11,9,9,9,9,9,8,8,6,6,6,6
05014   };
05015   const int n3c2w1_t[] = {
05016     120, // Capacity
05017     200, // Number of items
05018     // Size of items (sorted)
05019     100,100,100,99,99,98,97,97,96,96,96,95,94,94,92,92,91,91,90,90,
05020     89,89,89,88,88,88,87,87,87,87,85,85,85,84,84,84,84,84,83,82,82,
05021     82,82,80,79,79,79,78,78,78,77,76,76,75,71,71,69,69,69,68,68,68,
05022     68,67,67,66,66,66,66,65,65,65,64,63,63,61,58,58,58,57,57,56,55,
05023     55,55,54,54,54,53,53,52,51,50,50,49,49,49,48,47,46,46,46,45,44,
05024     44,44,44,44,44,44,43,43,43,42,42,42,41,41,40,40,39,39,39,39,38,
05025     38,38,37,35,35,35,33,32,32,31,31,30,30,29,29,28,28,27,27,26,26,
05026     25,25,24,24,23,23,22,22,22,22,22,21,21,20,20,20,19,19,18,16,16,
05027     15,15,14,14,14,13,13,13,12,12,12,12,12,11,11,10,10,10,9,8,8,7,
05028     7,6,6,3,3,2,2,1,1,1,1
05029   };
05030   const int n3c2w2_a[] = {
05031     120, // Capacity
05032     200, // Number of items
05033     // Size of items (sorted)
05034     100,100,99,99,99,99,98,98,98,98,97,97,96,96,96,95,95,95,94,94,
05035     94,94,93,92,92,91,91,90,90,89,88,88,88,87,87,87,86,86,86,85,85,
05036     84,84,83,83,83,82,82,81,81,81,81,80,80,78,78,78,78,78,77,77,76,
05037     76,76,76,75,75,75,75,74,74,74,73,73,72,71,70,70,69,69,68,68,68,
05038     68,67,67,67,67,66,66,66,66,65,65,65,65,65,64,64,63,63,62,61,61,
05039     61,60,59,58,58,58,57,57,57,57,56,55,55,55,55,54,54,54,53,52,51,
05040     51,51,50,50,50,49,49,49,48,48,47,47,47,47,47,46,46,46,45,44,44,
05041     44,43,42,42,42,42,41,41,41,40,40,39,38,38,37,37,35,35,35,34,34,
05042     34,34,33,32,32,32,31,31,31,31,30,30,29,29,28,28,27,27,27,27,26,
05043     26,25,25,25,23,22,22,21,21,20,20,20
05044   };
05045   const int n3c2w2_b[] = {
05046     120, // Capacity
05047     200, // Number of items
05048     // Size of items (sorted)
05049     100,100,100,100,100,99,99,99,98,98,98,97,97,97,97,96,94,94,93,
05050     93,91,91,91,91,91,90,90,90,89,88,88,87,87,87,86,86,85,85,85,84,
05051     84,83,82,82,82,81,81,80,79,79,79,79,79,79,79,78,77,77,77,77,77,
05052     76,75,75,73,73,72,72,72,72,72,70,70,70,69,69,68,68,68,67,67,67,
05053     67,66,66,65,65,65,64,64,64,64,63,63,63,62,62,61,61,61,61,61,61,
05054     60,60,60,59,58,57,57,57,56,56,55,55,54,53,53,53,52,52,51,51,50,
05055     50,49,48,47,47,46,45,45,45,45,44,43,43,43,42,42,42,42,42,40,39,
05056     38,37,37,36,36,36,36,35,34,34,33,33,33,33,32,32,32,32,31,30,30,
05057     30,30,30,29,29,29,29,29,28,28,27,27,27,27,26,26,26,25,25,25,25,
05058     24,24,24,23,22,22,22,22,21,20,20,20,20
05059   };
05060   const int n3c2w2_c[] = {
05061     120, // Capacity
05062     200, // Number of items
05063     // Size of items (sorted)
05064     100,100,100,100,98,98,97,97,97,97,96,95,95,94,94,93,93,93,92,
05065     92,92,92,91,90,90,90,90,89,89,89,89,89,88,88,88,87,87,86,86,86,
05066     85,85,84,84,83,83,83,82,81,81,80,80,79,79,78,78,78,78,78,78,77,
05067     76,76,76,76,75,75,75,75,74,73,73,72,71,69,69,69,68,68,68,68,67,
05068     66,66,66,66,65,65,65,64,64,64,63,63,63,62,62,62,61,61,60,59,58,
05069     58,57,56,55,55,55,54,54,52,51,51,51,50,50,50,49,49,49,49,48,48,
05070     48,48,47,47,47,47,47,46,46,46,46,45,45,44,44,44,43,43,43,42,42,
05071     41,41,41,41,40,40,40,40,40,40,39,39,38,38,38,38,38,37,37,36,36,
05072     36,35,35,34,34,33,33,33,33,33,32,30,29,27,27,27,26,26,25,25,25,
05073     25,25,25,24,22,22,21,21,21,21,21,20,20
05074   };
05075   const int n3c2w2_d[] = {
05076     120, // Capacity
05077     200, // Number of items
05078     // Size of items (sorted)
05079     100,100,100,98,97,96,96,96,96,96,95,95,95,94,94,94,93,93,93,93,
05080     93,92,92,92,92,91,91,91,90,90,89,89,89,88,88,88,87,86,85,85,85,
05081     84,84,84,84,84,83,83,83,83,83,83,82,82,82,81,81,81,80,79,78,78,
05082     78,77,77,76,76,75,75,75,75,75,75,74,74,73,72,72,72,70,70,70,70,
05083     69,68,68,68,68,68,67,66,66,65,65,65,64,64,63,61,61,60,60,60,60,
05084     59,59,59,58,58,57,57,57,56,55,55,55,54,54,53,52,52,52,51,51,51,
05085     51,50,50,50,50,49,49,49,49,47,47,47,47,45,45,45,43,43,42,41,41,
05086     41,41,40,40,40,40,39,39,38,38,38,38,38,37,37,37,37,37,36,36,36,
05087     36,36,35,35,34,34,34,34,33,33,33,33,32,32,31,30,29,29,28,28,27,
05088     26,25,24,24,24,23,23,22,22,21,20,20
05089   };
05090   const int n3c2w2_e[] = {
05091     120, // Capacity
05092     200, // Number of items
05093     // Size of items (sorted)
05094     100,100,100,100,100,99,99,99,99,98,98,98,98,98,97,97,97,97,96,
05095     96,96,96,96,95,95,95,94,94,94,93,92,92,92,92,91,91,91,91,90,90,
05096     90,90,89,89,89,89,88,88,87,87,87,87,87,87,86,86,86,85,85,84,83,
05097     83,82,82,81,81,81,80,80,80,79,79,79,78,78,77,77,76,76,75,75,74,
05098     74,74,74,73,72,69,69,69,67,67,66,66,66,66,65,65,64,64,63,63,62,
05099     62,62,62,62,62,61,60,59,58,58,58,57,57,56,55,55,55,55,54,53,53,
05100     53,53,53,53,53,53,52,52,52,52,51,50,49,49,49,49,49,48,48,47,47,
05101     47,46,46,46,46,45,45,44,44,43,42,41,40,40,40,40,40,40,39,38,38,
05102     38,38,37,37,36,36,34,34,34,32,32,32,31,30,30,29,28,27,26,26,26,
05103     25,25,25,25,25,24,24,23,23,22,21,20,20
05104   };
05105   const int n3c2w2_f[] = {
05106     120, // Capacity
05107     200, // Number of items
05108     // Size of items (sorted)
05109     100,100,100,100,100,99,99,98,98,98,97,97,97,96,96,95,95,95,95,
05110     94,94,94,94,92,92,92,92,92,92,91,91,91,90,90,90,90,90,90,89,88,
05111     87,86,86,86,86,85,84,84,84,84,84,84,84,83,82,82,82,82,82,81,80,
05112     80,80,80,79,78,78,77,77,76,76,76,75,75,75,75,74,74,74,73,73,72,
05113     72,71,70,70,69,68,67,67,67,67,66,64,63,63,63,62,62,61,60,59,59,
05114     59,59,57,57,57,56,54,54,54,54,53,53,53,53,53,51,51,51,51,50,50,
05115     49,48,48,48,48,48,47,47,46,46,45,45,44,44,44,43,43,43,43,42,42,
05116     41,40,39,38,38,38,38,38,38,38,38,37,37,36,35,35,35,35,34,34,33,
05117     32,32,31,31,30,30,30,30,30,30,29,29,29,28,28,28,27,27,27,27,26,
05118     26,26,24,23,23,22,22,22,21,21,21,20,20
05119   };
05120   const int n3c2w2_g[] = {
05121     120, // Capacity
05122     200, // Number of items
05123     // Size of items (sorted)
05124     100,100,100,100,100,99,98,98,98,98,98,97,96,96,95,95,92,92,92,
05125     92,92,92,91,91,91,91,90,90,89,89,89,89,89,88,88,88,87,87,85,84,
05126     84,83,83,83,82,82,82,81,81,81,81,80,79,79,79,79,78,78,77,77,77,
05127     77,76,76,76,76,75,75,75,74,74,74,74,73,73,70,69,69,68,67,66,66,
05128     66,64,64,64,64,63,63,63,63,63,62,62,61,61,61,61,60,60,59,59,57,
05129     57,57,57,57,57,56,55,54,54,53,53,53,53,52,52,52,51,50,50,50,50,
05130     49,48,48,48,47,46,46,46,45,45,45,45,44,44,43,42,41,41,40,40,39,
05131     39,39,39,38,38,38,37,37,37,37,36,36,36,36,35,35,35,35,34,34,33,
05132     33,33,31,31,30,30,30,29,29,29,29,29,27,27,27,26,25,25,24,24,24,
05133     24,23,23,23,22,21,21,21,21,21,21,21,20
05134   };
05135   const int n3c2w2_h[] = {
05136     120, // Capacity
05137     200, // Number of items
05138     // Size of items (sorted)
05139     100,99,98,98,98,97,97,97,97,97,96,96,96,96,96,95,95,95,95,95,
05140     95,94,94,94,93,93,93,93,92,92,92,91,91,91,90,90,89,89,89,88,88,
05141     88,87,86,86,85,85,85,85,84,84,83,83,83,82,82,82,81,81,80,80,80,
05142     80,79,79,79,79,78,78,78,77,77,77,76,76,75,75,75,74,74,74,73,72,
05143     72,72,72,72,71,71,71,71,69,69,69,69,68,68,68,66,66,66,65,65,64,
05144     64,64,63,63,62,61,61,61,61,61,61,60,60,59,59,59,59,58,58,57,56,
05145     56,56,56,55,55,55,54,54,53,52,52,51,51,51,51,51,50,50,49,48,45,
05146     45,44,44,44,43,43,42,42,42,42,41,39,38,38,38,37,37,37,37,36,36,
05147     35,35,34,34,33,33,33,32,32,31,30,30,30,30,29,28,28,28,28,27,27,
05148     26,26,25,25,25,25,24,24,23,22,22,20
05149   };
05150   const int n3c2w2_i[] = {
05151     120, // Capacity
05152     200, // Number of items
05153     // Size of items (sorted)
05154     100,100,99,99,99,98,98,97,97,97,96,96,95,95,95,93,93,92,92,92,
05155     92,91,91,91,90,89,89,89,89,88,88,88,88,87,87,87,87,87,86,86,86,
05156     86,86,85,85,85,84,84,84,84,84,83,83,82,81,80,80,79,78,77,77,76,
05157     76,76,75,74,74,74,73,73,73,72,72,71,70,69,68,66,66,66,66,65,65,
05158     65,65,64,64,63,63,62,61,61,61,60,59,59,59,59,58,58,58,57,57,57,
05159     56,55,55,55,55,55,54,54,54,53,52,52,52,52,52,51,51,50,50,50,50,
05160     49,49,49,49,48,47,47,46,46,45,45,45,44,43,43,42,42,42,41,41,41,
05161     40,39,38,38,37,37,36,36,36,35,34,34,33,33,33,33,32,32,31,31,31,
05162     30,30,29,29,29,29,28,28,28,28,28,27,27,27,26,25,25,25,25,24,24,
05163     24,24,23,23,22,22,21,21,21,21,20,20
05164   };
05165   const int n3c2w2_j[] = {
05166     120, // Capacity
05167     200, // Number of items
05168     // Size of items (sorted)
05169     100,100,100,99,97,97,96,96,96,96,95,94,94,94,94,93,92,91,91,91,
05170     90,90,90,90,90,90,89,89,89,89,88,88,87,87,87,87,86,86,85,84,84,
05171     83,83,83,83,83,82,82,82,82,82,81,81,81,80,80,79,78,78,78,76,76,
05172     76,75,75,75,75,74,74,74,74,73,73,73,72,72,71,71,71,70,69,69,68,
05173     68,68,67,67,66,66,66,65,65,65,64,64,63,63,63,62,62,61,60,60,60,
05174     60,58,58,58,58,58,58,57,57,57,57,57,55,54,54,53,52,52,52,52,52,
05175     52,51,51,51,50,50,49,49,48,47,47,47,46,46,46,46,45,45,44,43,43,
05176     43,43,42,42,42,42,42,41,41,41,40,40,40,39,39,39,38,38,38,38,37,
05177     37,37,36,36,36,36,35,35,34,34,33,31,30,30,29,29,28,28,28,28,25,
05178     25,24,24,22,22,21,21,21,20,20,20,20
05179   };
05180   const int n3c2w2_k[] = {
05181     120, // Capacity
05182     200, // Number of items
05183     // Size of items (sorted)
05184     100,99,99,99,99,98,96,96,96,95,95,95,94,94,94,94,93,93,93,93,
05185     93,92,92,91,91,91,90,90,89,89,89,89,89,88,87,87,87,86,85,85,85,
05186     84,84,84,83,83,82,82,81,81,81,80,80,79,79,79,79,78,77,77,76,76,
05187     75,75,75,74,74,74,73,73,73,72,72,72,72,72,71,71,71,71,71,71,70,
05188     69,69,68,67,67,67,67,67,67,66,66,65,65,64,64,64,64,63,63,63,62,
05189     62,61,61,61,61,60,59,59,58,57,57,57,57,56,56,56,55,54,54,54,54,
05190     53,52,51,51,50,49,49,49,48,47,47,47,47,46,46,46,45,45,45,45,45,
05191     44,43,42,42,42,41,41,41,41,40,40,39,38,38,37,36,36,36,36,35,35,
05192     34,33,33,33,33,32,32,32,31,31,31,31,30,30,28,28,28,28,27,27,26,
05193     26,26,25,23,22,22,21,21,21,21,20,20
05194   };
05195   const int n3c2w2_l[] = {
05196     120, // Capacity
05197     200, // Number of items
05198     // Size of items (sorted)
05199     100,100,99,99,99,98,97,97,97,97,96,96,95,95,95,94,94,94,94,94,
05200     94,93,93,92,92,92,92,92,91,91,90,89,89,88,88,87,87,86,86,85,85,
05201     85,84,84,84,84,81,81,80,80,80,80,79,78,78,77,77,77,77,77,76,76,
05202     75,75,74,73,73,73,72,72,71,71,70,69,69,69,69,69,68,68,68,67,67,
05203     67,66,66,66,66,66,66,65,65,65,64,64,63,63,63,63,62,62,61,61,61,
05204     60,60,59,58,58,57,57,57,56,56,56,55,55,55,55,54,54,53,53,52,51,
05205     51,51,51,51,51,50,49,49,49,48,48,47,47,46,45,45,44,44,44,44,43,
05206     43,43,42,42,40,40,40,40,39,39,38,38,37,37,36,36,36,34,34,34,33,
05207     32,32,31,31,30,30,29,28,28,28,28,28,27,27,27,27,27,26,26,25,25,
05208     25,24,24,23,22,22,21,21,21,20,20,20
05209   };
05210   const int n3c2w2_m[] = {
05211     120, // Capacity
05212     200, // Number of items
05213     // Size of items (sorted)
05214     99,99,99,98,98,98,97,97,97,97,97,96,96,95,95,95,95,95,94,94,94,
05215     93,92,92,92,91,90,90,90,89,89,89,89,89,88,87,87,86,86,85,85,85,
05216     85,84,84,84,84,84,83,83,83,83,82,82,82,81,81,81,80,80,80,78,77,
05217     77,76,76,75,75,74,74,73,72,71,71,70,70,70,70,70,69,68,68,68,68,
05218     67,67,66,66,66,66,66,65,65,64,64,63,62,62,62,61,61,61,61,60,60,
05219     59,59,59,59,58,58,58,57,57,57,57,57,56,56,55,55,54,54,53,53,53,
05220     52,52,52,51,51,50,50,50,50,50,49,49,48,48,47,47,47,47,47,46,45,
05221     45,44,43,43,43,43,42,42,40,39,39,39,39,39,38,38,37,37,37,36,36,
05222     36,35,35,34,33,33,33,33,32,32,32,32,31,31,30,29,27,27,26,24,24,
05223     24,22,22,22,22,22,22,22,21,21,20
05224   };
05225   const int n3c2w2_n[] = {
05226     120, // Capacity
05227     200, // Number of items
05228     // Size of items (sorted)
05229     100,100,100,99,99,98,98,98,97,97,97,97,96,96,96,96,95,95,95,95,
05230     95,94,94,94,94,92,92,92,90,90,90,89,88,88,87,87,87,86,86,84,83,
05231     83,82,81,81,81,81,81,80,80,79,79,78,78,78,77,77,77,77,77,77,76,
05232     76,76,75,75,75,74,74,73,73,73,72,72,72,71,71,71,70,70,69,68,68,
05233     67,67,66,66,65,64,63,63,63,63,63,62,62,62,62,61,61,60,60,59,59,
05234     59,58,58,58,58,57,57,57,57,57,55,55,55,54,54,54,53,53,53,52,52,
05235     50,50,49,48,48,48,47,47,46,46,46,46,44,44,44,43,43,43,42,42,42,
05236     41,41,41,41,41,41,41,40,40,38,38,37,37,37,37,36,36,36,36,36,35,
05237     35,35,34,34,34,33,33,33,32,32,31,30,30,29,29,28,28,28,27,27,27,
05238     26,26,26,26,26,25,25,23,23,22,22,20
05239   };
05240   const int n3c2w2_o[] = {
05241     120, // Capacity
05242     200, // Number of items
05243     // Size of items (sorted)
05244     100,100,99,99,98,98,97,97,96,96,96,96,95,94,93,93,92,91,90,89,
05245     89,88,88,88,88,88,88,88,87,87,87,87,87,87,87,87,86,86,85,85,85,
05246     84,83,83,82,82,82,81,81,81,80,80,79,78,78,78,77,77,76,76,76,76,
05247     75,75,74,74,74,74,74,74,72,72,72,72,71,71,70,70,70,70,70,69,68,
05248     67,67,67,67,66,66,66,66,66,65,65,64,64,63,62,61,61,61,61,60,60,
05249     60,60,58,58,57,57,57,57,56,56,55,55,55,55,54,54,53,53,53,52,52,
05250     52,52,52,51,51,51,51,49,49,49,49,48,47,47,47,46,45,44,44,44,44,
05251     44,43,42,42,42,41,41,40,40,39,39,39,39,38,38,36,36,36,36,35,35,
05252     35,34,34,34,34,34,34,33,33,33,33,31,30,29,29,28,26,25,25,25,24,
05253     24,24,24,23,22,22,21,21,21,20,20,20
05254   };
05255   const int n3c2w2_p[] = {
05256     120, // Capacity
05257     200, // Number of items
05258     // Size of items (sorted)
05259     100,100,100,100,99,99,97,97,97,97,97,97,96,96,95,95,94,94,93,
05260     93,92,91,90,90,90,90,90,89,89,89,89,89,89,88,88,87,87,86,86,85,
05261     85,85,84,84,84,84,84,83,83,83,82,81,81,81,81,81,80,79,79,78,78,
05262     78,77,76,76,75,75,75,74,74,74,74,73,73,71,71,70,70,70,70,70,68,
05263     67,67,67,67,65,65,65,65,65,64,64,63,62,62,62,62,61,60,59,59,59,
05264     58,58,58,57,56,56,55,55,54,54,53,53,53,53,52,52,52,52,51,51,51,
05265     51,51,51,51,51,50,50,50,50,49,49,49,48,48,48,47,47,46,46,46,46,
05266     45,45,44,44,43,43,43,42,42,39,39,39,39,38,38,37,37,37,37,36,35,
05267     34,33,33,33,33,33,32,32,32,32,31,31,30,30,30,29,29,29,27,27,27,
05268     26,25,25,23,23,22,22,22,21,20,20,20,20
05269   };
05270   const int n3c2w2_q[] = {
05271     120, // Capacity
05272     200, // Number of items
05273     // Size of items (sorted)
05274     100,100,100,99,99,99,99,98,96,96,96,95,94,94,94,93,93,93,92,92,
05275     92,91,91,90,88,88,88,88,88,87,86,85,85,85,84,84,84,83,83,83,82,
05276     82,82,82,81,81,81,81,81,79,79,78,77,77,76,76,76,75,75,74,73,73,
05277     72,72,71,70,70,70,70,69,69,69,69,68,68,67,67,66,66,65,65,65,65,
05278     64,64,64,64,64,64,63,63,63,63,63,63,63,62,62,62,62,61,60,59,59,
05279     59,59,59,59,59,58,58,58,58,57,57,57,56,55,55,55,54,53,53,53,53,
05280     53,52,52,51,51,50,50,50,50,49,49,49,48,48,47,47,47,45,44,44,44,
05281     42,41,41,41,41,41,40,40,40,40,39,38,38,38,37,37,37,37,37,36,36,
05282     36,35,34,32,32,32,31,31,31,30,30,29,29,29,29,28,26,26,26,25,24,
05283     24,24,23,23,22,21,20,20,20,20,20,20
05284   };
05285   const int n3c2w2_r[] = {
05286     120, // Capacity
05287     200, // Number of items
05288     // Size of items (sorted)
05289     100,99,99,99,98,98,98,97,97,97,97,97,96,96,96,95,95,95,93,93,
05290     92,92,91,91,91,91,90,90,89,89,89,88,88,87,87,87,87,86,86,86,85,
05291     85,85,85,84,84,84,84,84,83,83,83,82,82,82,81,81,81,81,80,80,80,
05292     79,79,79,78,78,77,76,76,74,74,74,74,73,73,72,72,72,72,72,72,71,
05293     71,71,70,69,68,68,68,67,66,66,66,65,65,65,64,63,62,62,62,61,61,
05294     61,61,59,58,58,58,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,
05295     54,53,53,50,48,48,46,46,46,46,46,45,45,45,45,45,45,43,43,43,42,
05296     42,42,42,41,41,39,38,38,38,37,37,37,36,36,35,35,35,35,34,34,33,
05297     33,32,32,32,32,31,30,30,30,29,29,29,29,27,25,25,25,25,25,25,25,
05298     24,24,23,23,22,22,22,21,21,21,20,20
05299   };
05300   const int n3c2w2_s[] = {
05301     120, // Capacity
05302     200, // Number of items
05303     // Size of items (sorted)
05304     100,100,100,100,98,98,97,97,97,96,96,96,96,95,95,95,94,94,94,
05305     94,93,93,93,93,92,92,92,91,91,91,91,91,91,90,90,89,89,86,86,86,
05306     85,85,85,85,84,83,82,82,82,81,80,80,79,79,79,78,78,78,78,77,77,
05307     77,77,75,75,75,74,74,74,74,74,74,73,73,73,72,72,72,71,71,71,70,
05308     68,68,68,67,67,67,67,67,66,66,66,66,65,64,64,64,63,63,62,62,62,
05309     62,61,61,60,59,58,57,57,56,56,55,55,55,54,53,53,53,53,52,52,52,
05310     51,50,50,49,48,47,47,47,47,46,46,45,45,45,45,45,44,44,44,42,41,
05311     40,40,40,39,39,39,38,38,38,36,36,36,36,36,36,35,35,35,35,34,34,
05312     34,34,33,33,33,32,32,31,31,30,30,30,29,28,28,27,27,27,26,25,24,
05313     24,23,23,23,23,22,22,22,22,21,21,21,20
05314   };
05315   const int n3c2w2_t[] = {
05316     120, // Capacity
05317     200, // Number of items
05318     // Size of items (sorted)
05319     100,100,99,98,97,97,97,97,96,96,96,95,95,95,94,94,94,94,93,93,
05320     92,92,92,91,91,91,91,91,90,89,88,87,87,86,85,85,84,84,83,83,83,
05321     82,82,81,81,80,80,80,80,80,80,79,79,79,79,79,79,78,77,77,76,76,
05322     76,76,75,75,74,74,73,71,71,71,70,70,69,69,69,69,68,68,68,68,67,
05323     67,67,67,67,67,67,67,66,65,64,63,63,63,62,61,61,61,61,61,61,60,
05324     60,60,59,59,58,58,57,57,56,56,55,55,55,55,55,55,54,54,53,53,52,
05325     51,51,50,49,49,48,48,47,46,46,46,46,45,45,44,43,43,43,43,43,42,
05326     42,41,41,41,40,40,39,39,39,38,38,38,37,37,37,37,37,36,35,35,35,
05327     35,35,34,34,33,33,32,32,31,31,31,31,31,31,31,31,30,30,30,29,28,
05328     28,25,25,25,24,24,24,22,22,22,21,20
05329   };
05330   const int n3c2w4_a[] = {
05331     120, // Capacity
05332     200, // Number of items
05333     // Size of items (sorted)
05334     100,100,100,100,100,99,99,98,98,97,97,97,96,96,96,95,94,94,93,
05335     93,92,92,92,91,91,91,90,90,89,89,88,88,87,87,86,86,85,85,85,83,
05336     83,83,83,82,82,81,80,80,80,80,79,79,79,78,78,78,77,77,77,77,77,
05337     77,76,76,75,74,74,74,73,73,73,72,72,72,71,71,70,70,70,70,69,69,
05338     69,69,69,68,68,68,67,67,67,66,66,66,66,65,64,64,64,64,64,64,64,
05339     63,63,61,61,61,61,60,60,59,59,58,58,58,57,57,57,57,57,56,56,56,
05340     55,55,55,55,54,54,53,53,53,53,53,52,51,51,51,50,50,49,49,49,48,
05341     48,48,47,47,47,46,46,45,44,44,44,44,43,43,43,42,41,40,40,39,38,
05342     38,38,38,38,38,38,38,37,37,37,36,36,36,36,35,35,35,34,33,33,33,
05343     32,32,32,32,31,31,31,30,30,30,30,30,30
05344   };
05345   const int n3c2w4_b[] = {
05346     120, // Capacity
05347     200, // Number of items
05348     // Size of items (sorted)
05349     100,100,100,100,98,98,98,98,98,98,97,97,97,97,96,96,95,95,95,
05350     94,94,93,93,92,92,90,90,90,90,89,89,89,87,87,87,87,86,85,84,84,
05351     84,84,83,83,83,82,82,82,81,81,81,81,81,80,79,79,78,78,78,77,77,
05352     77,77,77,76,76,75,75,73,72,72,72,72,71,70,70,69,69,69,68,68,68,
05353     68,66,66,65,64,64,64,64,63,63,63,63,62,62,62,62,61,61,61,60,60,
05354     59,59,59,59,59,58,58,58,57,57,57,57,56,56,56,55,55,55,54,54,54,
05355     54,53,53,53,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,48,48,
05356     48,48,48,48,48,46,46,46,45,45,44,43,42,42,42,42,41,40,39,39,39,
05357     39,39,39,38,38,37,37,37,36,36,35,35,35,35,34,34,34,34,34,33,33,
05358     33,33,33,32,32,32,31,31,31,31,30,30,30
05359   };
05360   const int n3c2w4_c[] = {
05361     120, // Capacity
05362     200, // Number of items
05363     // Size of items (sorted)
05364     100,100,100,100,99,98,98,97,97,97,97,97,97,97,97,96,96,96,96,
05365     96,95,95,95,95,93,92,90,90,90,90,90,90,90,89,89,89,89,89,89,88,
05366     88,88,88,88,88,87,87,86,86,84,83,83,82,82,82,82,81,81,81,81,80,
05367     80,80,79,79,79,79,78,78,78,78,78,78,77,77,77,77,77,77,76,76,75,
05368     74,73,73,73,73,73,73,73,73,72,72,72,72,71,71,71,70,70,69,69,69,
05369     69,68,68,68,68,68,68,67,67,66,66,66,66,66,65,65,65,65,64,63,63,
05370     62,61,60,60,60,59,59,58,58,58,57,57,56,56,55,55,55,55,55,55,54,
05371     54,54,54,53,53,53,53,53,52,52,52,51,51,50,50,50,49,49,48,48,47,
05372     47,47,46,46,45,45,45,44,44,44,41,40,40,40,40,39,38,37,37,37,36,
05373     36,36,36,35,35,34,34,33,32,32,31,31,30
05374   };
05375   const int n3c2w4_d[] = {
05376     120, // Capacity
05377     200, // Number of items
05378     // Size of items (sorted)
05379     100,100,99,99,98,98,98,98,98,98,97,97,97,96,96,96,96,95,95,95,
05380     94,94,93,92,92,92,92,91,90,90,89,89,89,89,89,88,88,88,87,87,86,
05381     85,85,85,84,83,82,81,81,81,81,81,80,79,78,78,77,77,77,75,75,75,
05382     74,74,74,74,74,73,73,73,73,72,72,72,72,72,71,71,70,70,70,69,69,
05383     68,68,68,67,67,67,67,66,66,66,66,66,66,65,65,63,63,63,63,62,62,
05384     62,61,60,60,60,60,60,60,59,59,59,58,58,57,57,56,56,56,56,56,55,
05385     55,55,54,54,54,53,53,53,52,52,52,51,51,50,50,50,50,49,49,49,48,
05386     48,48,46,46,46,46,46,45,45,45,45,44,44,44,43,42,42,42,41,40,40,
05387     40,39,39,39,39,39,38,38,37,37,37,37,36,36,36,35,35,35,34,34,34,
05388     34,33,33,32,32,31,31,31,30,30,30,30
05389   };
05390   const int n3c2w4_e[] = {
05391     120, // Capacity
05392     200, // Number of items
05393     // Size of items (sorted)
05394     100,99,99,99,98,98,98,98,97,97,96,95,95,94,94,94,94,93,93,93,
05395     93,90,90,90,89,89,89,88,87,87,86,86,86,86,85,84,83,83,83,82,81,
05396     81,81,80,80,80,80,79,79,79,78,78,77,77,77,77,77,77,76,76,76,76,
05397     75,75,75,75,73,73,73,72,72,72,71,69,69,68,68,68,67,67,67,66,66,
05398     66,66,66,66,66,66,65,65,64,63,63,62,62,62,62,61,61,61,60,60,60,
05399     60,59,59,59,58,58,58,58,57,57,57,57,57,56,56,56,55,54,54,54,53,
05400     53,52,51,51,50,50,50,50,49,49,49,49,49,49,48,48,48,48,48,47,47,
05401     47,46,45,44,44,44,44,44,44,43,43,43,43,42,42,42,42,42,41,40,39,
05402     38,38,37,37,37,37,37,37,37,37,36,36,36,36,36,35,35,35,35,34,34,
05403     34,33,33,33,33,33,32,32,32,31,30,30
05404   };
05405   const int n3c2w4_f[] = {
05406     120, // Capacity
05407     200, // Number of items
05408     // Size of items (sorted)
05409     100,100,100,99,99,99,99,98,98,97,97,97,96,96,95,95,95,95,94,94,
05410     94,93,92,90,90,90,90,89,88,88,88,87,87,86,86,86,85,85,85,84,84,
05411     83,83,82,82,81,81,81,80,80,79,79,79,78,78,78,78,77,77,77,76,76,
05412     76,76,75,75,75,74,73,73,72,72,72,72,71,71,71,71,71,71,71,70,70,
05413     69,68,68,68,67,67,67,67,66,66,66,66,66,65,64,64,64,64,64,64,63,
05414     63,63,62,62,61,61,61,61,60,60,60,60,60,59,58,58,58,57,57,57,57,
05415     56,55,54,54,54,54,54,53,52,52,51,51,51,50,50,50,50,49,48,48,47,
05416     47,46,46,45,45,44,43,43,42,42,41,41,41,41,41,41,40,40,40,40,40,
05417     40,39,39,39,39,38,38,37,37,37,36,36,36,36,36,36,35,35,35,35,33,
05418     33,33,33,33,32,32,31,31,31,30,30,30
05419   };
05420   const int n3c2w4_g[] = {
05421     120, // Capacity
05422     200, // Number of items
05423     // Size of items (sorted)
05424     100,100,100,99,99,99,99,99,99,98,98,98,98,97,97,96,96,96,95,95,
05425     95,94,94,94,94,94,93,93,92,91,91,91,91,91,91,90,90,89,88,88,88,
05426     87,87,87,86,86,85,85,85,84,84,83,83,83,83,83,82,82,82,82,82,81,
05427     81,81,81,80,80,80,80,79,78,78,77,77,77,76,76,76,76,76,76,75,75,
05428     74,74,73,73,73,73,72,72,70,70,69,69,68,68,68,68,68,68,68,67,67,
05429     67,67,67,66,66,65,65,64,63,63,63,62,61,61,61,61,60,60,60,60,59,
05430     58,58,58,58,57,56,56,53,53,53,53,53,53,52,52,52,52,51,51,50,50,
05431     49,49,49,48,48,48,48,48,47,46,45,45,44,44,43,43,43,43,42,42,42,
05432     42,41,41,41,41,40,40,39,39,38,37,37,36,36,36,36,36,35,35,35,35,
05433     35,35,34,33,33,33,32,32,32,31,30,30
05434   };
05435   const int n3c2w4_h[] = {
05436     120, // Capacity
05437     200, // Number of items
05438     // Size of items (sorted)
05439     100,100,100,99,99,98,98,98,97,97,97,97,95,95,94,94,94,94,93,93,
05440     93,93,92,92,92,91,91,91,90,89,88,88,88,87,86,85,85,85,85,85,84,
05441     83,83,82,82,81,81,80,79,78,78,78,78,77,77,76,76,76,75,75,75,74,
05442     74,74,73,73,73,73,72,72,70,70,70,70,69,69,69,69,69,68,68,68,68,
05443     67,67,67,67,67,67,66,66,66,66,66,66,65,65,65,64,63,63,63,62,62,
05444     61,61,60,60,60,60,59,59,59,58,57,57,57,56,56,55,55,54,53,53,53,
05445     53,53,52,52,52,51,51,51,51,50,50,50,49,49,49,49,48,48,48,48,47,
05446     47,46,46,46,45,45,44,44,44,44,43,43,43,43,43,42,42,42,41,41,40,
05447     40,40,39,39,39,39,39,39,39,38,38,37,36,36,36,36,35,35,35,34,33,
05448     33,33,33,33,32,32,32,32,32,32,30,30
05449   };
05450   const int n3c2w4_i[] = {
05451     120, // Capacity
05452     200, // Number of items
05453     // Size of items (sorted)
05454     99,98,98,98,98,98,96,96,95,95,95,94,93,92,92,92,91,91,91,90,89,
05455     89,89,88,88,88,88,88,87,86,85,85,84,84,83,83,83,82,82,81,81,81,
05456     80,80,80,80,79,79,78,78,78,78,77,77,77,77,77,76,76,75,75,75,74,
05457     74,74,74,74,73,72,72,71,71,71,71,70,69,69,69,69,68,68,68,67,67,
05458     67,67,67,67,66,66,66,66,65,65,65,65,64,64,64,63,63,63,63,63,63,
05459     62,62,61,61,61,61,61,61,60,60,60,60,59,59,58,58,58,58,57,56,55,
05460     55,54,54,53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,50,50,50,
05461     50,50,50,49,49,49,48,48,48,48,47,47,47,46,46,45,45,44,44,43,43,
05462     43,43,43,42,42,41,41,40,39,39,38,38,37,37,37,36,36,35,35,35,34,
05463     34,33,33,33,32,32,31,31,30,30,30
05464   };
05465   const int n3c2w4_j[] = {
05466     120, // Capacity
05467     200, // Number of items
05468     // Size of items (sorted)
05469     100,100,99,99,98,97,97,96,96,96,95,95,94,94,93,93,91,91,91,91,
05470     90,90,90,90,88,88,88,88,87,87,86,86,86,86,86,85,85,85,85,84,84,
05471     83,83,83,82,82,82,82,82,82,82,81,81,80,80,80,80,79,79,78,78,77,
05472     77,76,76,75,75,75,74,73,73,73,73,72,72,72,72,71,71,70,70,70,69,
05473     69,69,69,69,68,68,68,67,67,67,66,66,65,65,65,65,65,65,65,65,65,
05474     64,64,64,64,64,64,64,63,63,62,62,62,62,60,60,60,59,59,58,58,58,
05475     58,58,57,56,56,56,56,56,55,55,54,54,53,53,53,53,52,52,52,52,52,
05476     52,52,51,51,51,50,50,49,49,49,47,46,46,46,46,45,45,44,44,44,44,
05477     44,44,43,43,42,41,41,41,38,38,38,37,35,35,35,35,34,33,33,33,33,
05478     33,33,33,32,32,31,31,31,30,30,30,30
05479   };
05480   const int n3c2w4_k[] = {
05481     120, // Capacity
05482     200, // Number of items
05483     // Size of items (sorted)
05484     100,100,100,100,99,99,99,98,98,98,98,98,97,97,97,96,96,95,94,
05485     94,94,94,94,93,93,92,91,91,90,90,90,90,89,89,88,88,88,88,88,87,
05486     87,87,86,85,85,85,85,85,85,85,83,83,82,82,82,82,81,81,81,80,80,
05487     80,79,78,77,77,77,76,76,76,75,75,74,74,74,74,73,73,73,72,72,71,
05488     71,71,71,69,69,69,68,68,67,67,66,66,66,65,65,64,64,64,64,64,64,
05489     64,63,62,62,61,61,61,61,60,60,60,60,60,60,59,58,58,57,57,57,57,
05490     56,56,55,55,54,54,53,53,53,53,53,52,52,52,52,52,52,50,49,48,48,
05491     48,48,48,47,47,47,47,47,47,47,47,46,46,45,44,44,44,44,42,42,42,
05492     42,42,41,41,41,40,40,39,38,38,37,37,37,37,37,37,36,35,35,35,35,
05493     35,34,34,33,33,32,32,31,31,31,30,30,30
05494   };
05495   const int n3c2w4_l[] = {
05496     120, // Capacity
05497     200, // Number of items
05498     // Size of items (sorted)
05499     100,99,99,99,99,99,98,97,97,97,97,95,95,95,94,94,94,93,93,93,
05500     92,92,92,92,91,91,91,91,90,90,90,89,89,88,88,88,88,87,87,87,87,
05501     86,85,85,85,84,84,84,83,83,83,82,82,81,81,80,80,80,80,80,79,79,
05502     78,78,78,78,78,77,77,77,77,77,76,76,76,76,75,75,74,74,74,73,73,
05503     72,72,71,71,71,70,70,70,69,68,68,68,68,67,66,66,65,65,65,65,65,
05504     64,63,62,62,61,61,61,61,61,60,60,60,58,58,58,58,57,56,56,56,56,
05505     56,56,55,55,55,55,55,54,53,52,52,52,51,51,51,51,49,49,47,47,46,
05506     45,45,45,45,45,45,44,44,44,44,43,42,41,41,41,40,40,39,39,39,39,
05507     38,38,38,37,37,36,36,36,36,36,36,36,35,35,35,35,34,34,34,34,34,
05508     33,33,33,33,33,32,32,32,31,31,30,30
05509   };
05510   const int n3c2w4_m[] = {
05511     120, // Capacity
05512     200, // Number of items
05513     // Size of items (sorted)
05514     100,100,100,99,99,99,99,99,99,99,98,98,98,98,97,97,97,97,97,96,
05515     96,96,95,95,95,95,95,95,94,93,92,92,92,92,92,91,91,90,90,90,89,
05516     88,88,86,86,86,85,85,85,84,83,82,82,82,82,81,81,81,80,80,80,80,
05517     80,79,79,79,79,78,78,78,78,77,76,76,75,74,73,73,73,72,72,72,71,
05518     71,70,70,69,69,69,68,68,68,68,68,67,67,67,66,66,65,64,64,64,64,
05519     64,63,63,63,63,62,62,62,62,62,62,61,61,61,61,60,59,59,58,58,57,
05520     57,55,54,54,53,53,53,53,53,53,53,53,53,53,52,52,51,51,50,50,50,
05521     49,48,46,46,45,45,45,45,44,43,42,41,41,41,40,40,40,40,39,39,38,
05522     38,38,38,38,37,37,37,36,36,35,35,35,35,35,34,34,34,34,33,33,33,
05523     32,32,32,32,32,32,32,31,30,30,30,30
05524   };
05525   const int n3c2w4_n[] = {
05526     120, // Capacity
05527     200, // Number of items
05528     // Size of items (sorted)
05529     100,100,100,100,100,100,99,99,99,99,98,98,98,98,97,97,97,96,96,
05530     95,95,95,94,93,93,92,92,92,91,90,90,89,88,88,88,88,88,88,87,87,
05531     87,87,86,85,85,85,85,85,84,84,82,82,82,81,81,81,80,80,80,80,80,
05532     80,80,78,78,78,78,78,77,77,77,75,75,75,74,74,73,72,71,71,71,70,
05533     70,70,70,69,69,69,69,68,68,67,67,65,65,65,64,64,64,64,64,63,63,
05534     63,62,62,61,61,60,60,59,59,59,58,58,57,57,56,56,56,56,56,55,55,
05535     55,55,54,54,54,53,53,53,53,52,52,51,51,51,50,50,50,50,49,49,49,
05536     48,47,47,47,46,46,46,46,45,45,45,44,44,44,44,44,44,44,43,43,41,
05537     41,40,40,39,39,39,38,38,37,37,36,36,36,36,36,36,35,35,34,33,33,
05538     33,32,32,32,32,32,32,31,31,30,30,30,30
05539   };
05540   const int n3c2w4_o[] = {
05541     120, // Capacity
05542     200, // Number of items
05543     // Size of items (sorted)
05544     100,100,100,100,100,99,99,99,97,97,97,96,96,96,95,95,95,94,93,
05545     93,93,93,93,93,92,92,92,90,90,90,90,90,90,89,89,89,88,88,88,88,
05546     87,87,86,86,85,84,83,83,83,82,82,82,82,81,81,80,80,80,80,79,79,
05547     78,78,78,77,77,77,77,77,76,75,75,74,74,73,72,71,70,69,69,68,67,
05548     67,67,67,67,66,66,66,65,65,65,65,64,64,64,63,63,61,61,61,61,60,
05549     60,59,59,59,59,58,57,57,57,57,56,56,55,55,55,55,54,54,54,54,53,
05550     53,53,52,52,52,51,51,51,51,51,50,50,50,50,50,49,49,49,48,48,47,
05551     47,47,47,47,45,45,44,44,44,43,43,42,42,42,41,41,41,41,40,40,40,
05552     39,39,39,38,38,37,37,37,36,36,36,36,35,34,34,34,34,34,33,33,33,
05553     33,32,32,31,31,31,31,31,31,30,30,30,30
05554   };
05555   const int n3c2w4_p[] = {
05556     120, // Capacity
05557     200, // Number of items
05558     // Size of items (sorted)
05559     100,100,100,99,99,99,99,99,99,98,98,98,97,97,96,96,94,94,93,93,
05560     93,93,92,92,91,91,91,90,90,90,90,90,89,89,89,89,89,88,88,88,87,
05561     87,87,86,86,86,86,85,84,84,83,83,83,83,83,82,82,82,82,81,81,81,
05562     81,81,80,80,79,79,79,79,79,78,78,78,78,78,77,77,76,76,75,75,75,
05563     74,74,74,74,72,72,72,71,71,71,70,70,70,70,69,68,67,67,67,67,67,
05564     66,66,66,66,65,65,64,63,63,62,61,60,60,60,60,59,59,59,59,58,58,
05565     58,58,57,56,56,56,55,55,55,54,54,53,53,52,52,52,52,52,51,51,51,
05566     51,50,49,49,49,48,47,46,46,46,45,44,44,43,42,42,41,40,40,40,40,
05567     40,39,39,39,39,38,38,38,38,37,37,37,37,37,37,36,36,35,35,35,35,
05568     34,33,33,33,32,31,31,30,30,30,30,30
05569   };
05570   const int n3c2w4_q[] = {
05571     120, // Capacity
05572     200, // Number of items
05573     // Size of items (sorted)
05574     100,100,100,100,98,98,98,98,98,97,97,97,97,97,97,97,96,96,96,
05575     96,95,94,93,93,93,93,92,92,92,92,91,90,90,89,89,89,88,87,86,86,
05576     86,86,85,85,85,84,84,84,83,83,82,82,81,81,81,80,80,80,79,79,79,
05577     79,78,78,78,78,77,77,77,77,76,76,76,75,75,75,74,74,74,74,73,72,
05578     72,72,72,72,72,71,70,70,70,69,69,69,68,68,68,67,66,66,65,65,65,
05579     64,64,64,64,64,63,63,63,63,62,62,61,60,60,59,59,59,58,58,57,57,
05580     57,56,56,55,55,55,55,55,54,54,54,54,53,53,53,52,51,51,51,50,50,
05581     50,49,48,48,48,47,47,47,47,46,46,46,46,45,44,44,44,43,43,43,42,
05582     42,42,41,41,41,40,40,40,39,39,39,39,38,38,38,37,36,36,36,36,35,
05583     35,34,34,33,32,32,32,32,32,32,31,31,30
05584   };
05585   const int n3c2w4_r[] = {
05586     120, // Capacity
05587     200, // Number of items
05588     // Size of items (sorted)
05589     100,100,100,100,99,99,99,99,98,98,98,98,97,97,96,96,96,95,95,
05590     94,94,94,93,93,93,93,92,92,91,91,91,90,90,89,89,88,88,88,88,88,
05591     87,87,87,87,86,86,85,85,84,84,84,84,83,82,82,81,81,81,81,81,80,
05592     80,79,79,79,78,78,78,78,78,78,77,77,77,77,77,76,75,75,74,74,73,
05593     73,72,72,72,72,71,71,70,70,70,70,70,69,68,68,68,68,68,68,67,67,
05594     66,66,65,65,65,65,65,65,64,64,63,62,62,61,60,60,60,60,59,59,58,
05595     58,58,57,56,56,56,55,55,55,54,54,54,54,54,54,53,53,53,53,53,53,
05596     52,52,52,51,50,50,49,49,49,48,48,47,47,47,46,46,46,46,45,45,44,
05597     44,43,43,43,42,42,42,42,42,42,41,40,39,38,38,38,38,38,38,37,37,
05598     37,36,36,35,34,34,33,32,32,32,31,30,30
05599   };
05600   const int n3c2w4_s[] = {
05601     120, // Capacity
05602     200, // Number of items
05603     // Size of items (sorted)
05604     100,99,99,99,98,98,97,96,96,96,96,95,95,95,94,94,94,93,93,93,
05605     93,93,93,93,93,92,92,92,91,91,90,90,89,89,89,88,88,88,88,88,87,
05606     87,86,86,86,86,86,86,86,85,84,84,83,83,83,81,81,81,81,80,80,79,
05607     79,79,79,78,78,78,78,77,77,77,77,76,76,76,75,75,74,74,73,73,72,
05608     72,71,71,70,70,70,70,69,69,69,68,68,68,68,68,67,67,67,66,66,66,
05609     66,65,65,65,64,63,63,62,61,61,59,58,58,57,57,57,56,56,56,55,55,
05610     55,54,52,51,51,50,50,50,50,50,50,49,49,49,49,49,49,48,48,48,47,
05611     47,47,46,46,46,46,46,45,45,44,43,43,43,42,42,42,41,41,41,41,40,
05612     40,40,40,40,39,39,38,37,37,37,37,37,37,36,36,36,36,36,35,35,35,
05613     34,34,33,32,32,32,31,31,30,30,30,30
05614   };
05615   const int n3c2w4_t[] = {
05616     120, // Capacity
05617     200, // Number of items
05618     // Size of items (sorted)
05619     100,100,99,99,99,98,98,98,97,97,97,96,96,96,96,96,95,95,95,95,
05620     94,94,94,92,92,92,91,91,91,91,90,90,90,90,90,89,89,88,88,87,87,
05621     87,87,86,86,86,86,86,85,85,85,84,83,82,82,81,81,81,81,81,81,81,
05622     80,80,80,80,78,78,78,78,78,77,77,77,76,75,75,75,75,73,73,73,72,
05623     71,71,71,71,70,70,69,69,69,68,67,67,67,66,66,66,65,65,65,64,63,
05624     63,63,62,62,62,62,61,61,61,61,61,60,60,60,59,59,59,59,58,58,57,
05625     56,56,56,56,56,55,55,54,54,53,53,53,52,52,52,51,51,50,50,50,49,
05626     49,48,48,48,48,46,46,46,46,45,45,44,44,44,43,43,43,43,43,43,42,
05627     41,41,41,41,40,39,39,38,37,36,36,36,36,35,35,35,34,34,34,34,33,
05628     33,32,32,32,32,31,31,30,30,30,30,30
05629   };
05630   const int n3c3w1_a[] = {
05631     150, // Capacity
05632     200, // Number of items
05633     // Size of items (sorted)
05634     100,100,100,99,99,99,98,98,98,97,96,96,96,95,95,95,94,93,92,91,
05635     91,91,90,90,90,89,87,87,86,86,86,84,84,83,83,82,82,82,80,80,80,
05636     79,78,77,77,77,77,77,75,74,73,73,73,73,72,71,71,71,70,69,68,68,
05637     68,68,67,65,65,65,65,65,65,64,63,63,62,62,62,61,60,59,58,58,57,
05638     57,54,54,53,53,52,52,52,52,51,51,50,50,49,49,49,48,48,47,46,45,
05639     44,44,44,43,42,42,41,40,39,39,39,39,39,38,37,37,37,37,37,37,37,
05640     37,36,36,35,35,35,35,34,34,33,33,32,32,31,31,29,29,29,28,27,26,
05641     26,25,25,24,23,21,21,21,20,20,18,18,17,17,17,16,16,16,16,15,15,
05642     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,
05643     3,3,2,2,2,1,1
05644   };
05645   const int n3c3w1_b[] = {
05646     150, // Capacity
05647     200, // Number of items
05648     // Size of items (sorted)
05649     100,99,99,98,98,98,98,98,98,98,96,95,91,91,90,90,90,90,90,89,
05650     88,88,87,87,87,85,85,85,84,84,83,83,82,81,81,81,81,80,80,80,80,
05651     80,79,79,79,79,78,77,77,76,75,74,74,73,73,73,73,73,72,71,71,71,
05652     70,70,70,69,69,69,69,69,68,68,68,67,67,66,65,65,64,64,64,63,63,
05653     63,62,61,61,61,61,61,59,59,59,58,58,58,58,57,56,56,56,55,55,55,
05654     55,54,54,53,53,52,52,51,51,50,50,50,50,49,49,48,48,48,46,46,46,
05655     46,43,42,42,42,40,39,39,39,39,39,38,36,36,36,35,35,34,34,33,32,
05656     31,31,29,27,26,26,26,25,25,24,24,24,23,22,22,21,21,20,20,19,19,
05657     18,18,17,17,17,17,17,15,15,14,14,14,13,13,12,12,12,12,12,10,10,
05658     10,10,10,10,10,9,8,5,4,4,4,1
05659   };
05660   const int n3c3w1_c[] = {
05661     150, // Capacity
05662     200, // Number of items
05663     // Size of items (sorted)
05664     100,100,100,100,99,99,98,98,97,96,96,95,95,94,94,94,93,91,90,
05665     90,89,89,89,89,88,88,88,88,88,88,87,85,85,84,84,84,83,83,82,82,
05666     81,80,80,78,78,78,78,78,78,78,77,77,77,76,76,76,75,75,74,74,74,
05667     74,74,73,73,72,70,67,67,67,66,66,66,66,66,65,65,65,63,63,63,62,
05668     62,61,61,61,61,61,60,60,59,58,57,56,54,54,54,53,52,52,51,50,50,
05669     49,48,48,48,47,47,47,47,46,46,46,45,45,45,42,42,39,39,39,38,38,
05670     37,37,37,36,36,35,34,34,34,33,33,31,31,31,31,31,29,28,28,27,27,
05671     26,26,26,26,26,26,25,25,25,24,23,22,22,22,21,21,21,21,20,20,19,
05672     16,16,16,15,15,15,14,14,13,13,12,12,12,11,10,10,10,9,9,9,8,7,
05673     7,6,6,6,5,5,5,3,3,3,2,1
05674   };
05675   const int n3c3w1_d[] = {
05676     150, // Capacity
05677     200, // Number of items
05678     // Size of items (sorted)
05679     100,100,100,100,99,99,99,98,97,97,96,96,96,95,95,95,94,94,93,
05680     92,92,92,91,91,90,89,87,87,86,86,86,86,86,85,84,84,83,83,81,80,
05681     80,79,78,78,77,76,76,76,73,72,72,71,70,70,67,67,67,66,66,65,63,
05682     63,62,62,61,60,60,59,58,57,56,56,56,55,55,55,55,54,54,54,53,53,
05683     53,52,52,51,51,50,50,50,49,48,48,47,46,46,44,44,44,44,44,43,41,
05684     41,40,40,40,39,39,39,39,36,36,36,36,36,35,35,35,35,33,33,33,32,
05685     32,32,32,31,30,30,29,29,29,29,28,28,26,26,26,25,25,25,25,25,24,
05686     23,23,22,22,22,22,21,21,21,21,21,20,20,20,20,20,19,18,17,17,17,
05687     17,15,15,15,14,13,13,12,12,12,12,11,10,10,9,9,9,8,8,8,7,7,6,6,
05688     5,4,4,4,3,3,3,2,1,1
05689   };
05690   const int n3c3w1_e[] = {
05691     150, // Capacity
05692     200, // Number of items
05693     // Size of items (sorted)
05694     100,100,100,99,99,99,98,98,98,98,97,97,97,97,95,95,94,94,93,93,
05695     92,92,91,91,90,90,90,90,89,89,89,89,88,88,87,86,85,84,84,84,84,
05696     83,83,82,82,82,82,81,80,79,78,78,77,76,76,75,74,74,74,73,72,71,
05697     71,70,70,70,70,70,70,69,69,68,68,68,67,66,65,64,64,63,63,62,62,
05698     61,60,59,57,57,57,56,55,55,55,55,54,54,53,53,52,52,52,52,50,48,
05699     48,48,47,47,46,46,45,45,44,44,43,43,43,42,42,42,42,41,41,40,40,
05700     39,39,36,35,34,33,32,32,31,30,29,29,28,28,27,27,24,24,24,24,23,
05701     23,23,23,23,23,21,21,20,20,19,19,18,17,17,17,16,16,15,15,15,15,
05702     14,14,13,13,13,12,12,12,12,11,11,11,10,10,9,9,8,8,8,8,7,7,7,6,
05703     5,4,4,3,3,1,1,1,1
05704   };
05705   const int n3c3w1_f[] = {
05706     150, // Capacity
05707     200, // Number of items
05708     // Size of items (sorted)
05709     100,100,100,99,99,98,98,98,98,96,96,95,95,93,92,92,92,91,89,89,
05710     88,88,88,87,87,87,87,86,86,86,85,85,84,83,83,82,80,80,80,79,79,
05711     78,78,77,76,76,75,75,74,74,73,73,73,72,71,70,70,70,69,69,69,69,
05712     68,68,66,66,66,66,65,64,64,64,64,64,64,63,63,63,62,62,61,60,60,
05713     59,58,58,58,58,58,58,57,57,55,55,55,53,52,52,52,51,51,50,50,50,
05714     49,49,49,49,49,48,48,46,46,45,45,45,44,43,42,42,42,41,41,40,40,
05715     40,39,39,39,37,37,37,36,36,36,36,35,35,35,33,33,33,33,32,32,31,
05716     31,31,31,30,29,29,29,29,28,27,27,27,26,26,24,22,22,22,21,21,20,
05717     19,18,17,17,16,16,15,14,14,13,12,11,11,11,11,10,9,8,7,7,7,7,7,
05718     6,6,5,4,4,4,3,3,2,1
05719   };
05720   const int n3c3w1_g[] = {
05721     150, // Capacity
05722     200, // Number of items
05723     // Size of items (sorted)
05724     100,100,97,97,97,96,96,96,96,95,95,95,95,95,94,94,92,92,91,91,
05725     90,89,87,86,86,86,86,85,84,84,84,84,83,83,81,81,81,80,78,77,77,
05726     76,75,75,74,74,73,73,73,72,71,71,71,70,70,69,68,66,65,65,64,64,
05727     64,64,63,63,63,62,61,61,61,60,60,60,60,59,58,58,58,58,58,58,57,
05728     57,55,55,55,54,54,53,52,52,51,51,51,51,51,51,50,49,49,49,48,47,
05729     46,46,45,45,44,44,44,43,43,43,41,41,40,40,40,39,37,36,36,35,35,
05730     35,35,34,34,34,33,32,31,31,30,30,30,29,29,28,28,27,27,27,27,25,
05731     25,24,23,22,22,21,21,21,21,21,21,21,20,19,18,17,17,16,16,15,15,
05732     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,
05733     2,2,2,1,1,1,1
05734   };
05735   const int n3c3w1_h[] = {
05736     150, // Capacity
05737     200, // Number of items
05738     // Size of items (sorted)
05739     100,100,99,99,98,98,97,96,96,96,96,96,96,95,94,94,94,93,92,91,
05740     91,90,89,89,89,88,87,86,86,86,86,85,85,85,84,84,84,84,84,84,83,
05741     82,82,81,80,78,78,77,77,77,77,77,76,76,75,75,74,74,74,74,70,70,
05742     70,69,69,69,68,68,68,68,67,66,66,66,65,65,65,64,64,64,64,64,63,
05743     63,62,62,60,58,57,56,56,56,56,56,56,55,55,55,55,55,53,53,51,51,
05744     51,50,50,49,47,47,47,44,43,43,43,42,42,40,40,38,38,38,37,37,37,
05745     36,36,35,34,34,34,33,33,33,33,32,32,30,30,29,28,28,27,27,26,26,
05746     26,25,25,25,25,25,24,24,23,23,22,22,21,21,21,19,19,19,18,17,17,
05747     16,16,15,14,14,14,13,13,13,13,12,11,11,10,10,9,9,9,8,8,8,7,7,
05748     7,6,4,4,4,4,3,2,1,1
05749   };
05750   const int n3c3w1_i[] = {
05751     150, // Capacity
05752     200, // Number of items
05753     // Size of items (sorted)
05754     100,100,100,100,100,99,99,99,98,97,96,94,93,93,93,92,92,91,90,
05755     89,89,88,88,88,88,88,88,88,86,86,86,86,86,85,85,84,84,84,83,83,
05756     83,83,83,83,82,82,81,79,79,76,76,76,76,75,75,75,75,75,75,74,74,
05757     73,72,71,71,71,68,68,67,67,67,66,66,66,65,65,64,64,63,63,63,62,
05758     62,62,61,60,60,60,58,58,57,57,56,56,55,55,55,54,54,54,54,53,51,
05759     50,50,49,48,48,47,47,47,46,46,45,45,44,43,43,41,40,40,39,39,39,
05760     37,37,37,36,34,33,32,31,31,31,31,30,30,29,29,29,29,29,28,27,24,
05761     24,23,23,23,23,23,22,22,21,21,20,19,19,18,18,17,17,17,17,16,16,
05762     16,15,15,15,15,15,14,14,14,13,12,12,12,12,11,11,11,10,8,8,7,6,
05763     6,5,5,5,5,5,4,4,4,3,2,1
05764   };
05765   const int n3c3w1_j[] = {
05766     150, // Capacity
05767     200, // Number of items
05768     // Size of items (sorted)
05769     99,99,99,98,98,98,96,95,95,94,94,94,93,93,92,92,92,91,91,90,88,
05770     86,86,85,85,84,84,84,83,82,82,82,81,81,81,80,80,79,79,79,78,78,
05771     78,77,77,77,76,74,74,73,73,72,71,71,71,71,70,70,68,68,68,67,66,
05772     66,66,66,66,65,64,63,63,63,62,61,60,60,59,58,58,58,57,57,57,57,
05773     56,55,54,53,53,51,51,51,51,50,50,50,49,47,47,47,46,46,45,45,45,
05774     45,45,44,43,43,42,42,41,41,40,40,39,39,37,37,36,36,35,35,34,34,
05775     34,34,34,33,32,32,32,31,31,29,28,27,27,26,26,26,25,25,25,25,25,
05776     25,25,25,22,22,22,21,21,21,21,21,21,19,19,19,18,17,17,17,17,17,
05777     17,16,16,15,14,14,14,13,13,12,11,10,10,10,10,9,8,7,6,5,4,4,4,
05778     4,3,3,3,3,3,3,2,2
05779   };
05780   const int n3c3w1_k[] = {
05781     150, // Capacity
05782     200, // Number of items
05783     // Size of items (sorted)
05784     100,99,99,99,99,98,98,98,97,96,95,94,93,93,93,92,91,91,91,91,
05785     91,90,90,88,88,88,87,87,87,86,86,85,85,84,84,84,83,83,82,81,81,
05786     81,81,77,77,76,76,75,74,74,74,73,73,72,72,71,71,70,69,69,69,69,
05787     68,68,66,66,65,64,63,63,63,62,61,61,59,59,59,58,58,57,57,57,57,
05788     55,55,53,53,52,52,49,49,49,48,48,47,47,46,46,46,46,45,45,44,43,
05789     43,43,41,40,40,40,39,39,38,38,38,37,37,35,35,35,34,34,33,33,32,
05790     31,31,29,29,28,28,27,26,25,25,24,24,24,23,23,23,23,23,23,22,22,
05791     22,21,20,19,19,19,18,18,18,18,18,17,15,15,14,13,13,13,12,11,10,
05792     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,
05793     1,1
05794   };
05795   const int n3c3w1_l[] = {
05796     150, // Capacity
05797     200, // Number of items
05798     // Size of items (sorted)
05799     100,100,100,99,97,97,96,95,95,95,94,92,91,91,91,91,90,90,89,89,
05800     89,88,88,87,87,87,86,86,86,85,85,85,85,85,84,84,83,83,81,81,81,
05801     80,80,80,79,79,79,78,78,77,77,77,77,76,75,74,74,74,72,72,71,71,
05802     70,69,68,68,67,65,64,64,63,63,63,62,62,62,62,61,61,60,60,60,60,
05803     60,60,59,59,59,59,58,58,57,56,55,55,55,55,54,53,53,52,52,52,51,
05804     51,51,51,50,50,49,49,48,45,45,43,42,42,41,40,40,39,39,38,38,37,
05805     36,36,35,35,34,34,34,33,33,32,31,31,31,31,30,29,29,29,29,29,28,
05806     28,28,27,26,26,25,25,24,24,24,22,22,21,20,19,19,19,19,18,18,18,
05807     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,
05808     5,4,3,3,2,1,1,1
05809   };
05810   const int n3c3w1_m[] = {
05811     150, // Capacity
05812     200, // Number of items
05813     // Size of items (sorted)
05814     100,99,99,99,98,97,97,96,96,95,94,93,93,93,92,92,92,92,92,92,
05815     91,91,91,91,90,90,89,89,89,89,86,86,86,85,85,84,83,83,83,82,82,
05816     82,81,81,80,80,80,79,78,77,77,77,77,76,76,76,76,75,75,73,72,72,
05817     71,70,70,70,70,68,68,68,68,68,67,65,65,64,64,62,62,61,60,60,59,
05818     59,59,59,59,58,58,57,57,56,56,56,56,55,54,53,53,53,53,52,52,52,
05819     51,51,51,50,50,50,50,49,49,49,49,49,49,48,48,48,47,46,46,46,45,
05820     44,43,42,42,42,41,39,37,37,36,36,35,35,35,34,34,33,33,32,32,31,
05821     31,31,30,29,29,29,29,28,28,27,26,25,25,25,25,24,23,23,23,23,23,
05822     22,22,22,21,18,18,18,17,16,16,16,15,14,14,13,13,12,11,11,11,11,
05823     9,8,8,5,4,4,3,2,2,2,1,1
05824   };
05825   const int n3c3w1_n[] = {
05826     150, // Capacity
05827     200, // Number of items
05828     // Size of items (sorted)
05829     100,99,99,98,98,97,97,96,95,95,95,95,94,94,93,92,92,92,92,91,
05830     90,88,87,87,87,87,87,87,87,86,86,85,85,84,84,84,82,82,82,82,81,
05831     81,81,81,80,80,80,80,79,79,78,78,77,76,75,75,75,75,73,72,72,71,
05832     71,71,70,70,70,69,69,68,67,66,66,66,65,64,63,62,62,62,61,61,61,
05833     60,59,59,57,57,56,56,55,55,53,53,52,51,51,51,51,50,50,49,49,49,
05834     49,48,47,47,47,47,47,47,47,46,46,46,45,45,45,45,45,43,43,43,43,
05835     42,41,40,38,38,38,38,36,36,36,35,35,34,34,33,33,32,32,31,30,30,
05836     28,28,28,27,27,27,26,26,25,25,22,21,20,19,19,18,17,17,17,17,16,
05837     14,14,14,13,13,13,12,12,11,11,11,10,10,9,8,7,6,6,4,4,4,4,4,4,
05838     3,3,3,3,3,1,1,1,1
05839   };
05840   const int n3c3w1_o[] = {
05841     150, // Capacity
05842     200, // Number of items
05843     // Size of items (sorted)
05844     100,100,99,98,98,97,97,96,96,96,95,95,94,92,92,91,91,91,91,91,
05845     91,90,90,90,89,89,88,88,87,87,86,85,82,81,81,81,81,80,80,80,80,
05846     79,79,78,78,78,78,77,77,77,77,76,75,74,74,74,74,74,73,73,73,73,
05847     73,71,70,70,70,69,69,69,69,68,68,67,66,64,64,64,63,61,59,58,58,
05848     57,57,55,54,54,52,52,52,52,52,51,50,50,48,48,47,47,47,46,45,45,
05849     45,44,43,43,43,42,41,40,40,39,39,38,38,38,38,36,36,34,34,34,33,
05850     33,32,32,32,32,31,31,31,30,30,30,28,28,26,26,26,26,26,26,25,25,
05851     25,25,24,24,23,23,23,20,20,20,20,20,18,17,16,16,16,16,15,15,14,
05852     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,
05853     3,2,2,2,1,1,1,1
05854   };
05855   const int n3c3w1_p[] = {
05856     150, // Capacity
05857     200, // Number of items
05858     // Size of items (sorted)
05859     100,100,100,100,100,99,99,98,98,97,97,96,96,96,95,95,94,94,94,
05860     94,93,92,91,91,90,90,90,90,90,90,89,89,88,87,85,85,85,83,83,83,
05861     82,82,82,81,81,81,80,80,79,79,79,78,78,77,77,77,76,76,76,75,75,
05862     75,73,73,72,72,72,71,71,70,70,70,69,68,67,67,67,67,67,66,66,65,
05863     65,64,64,64,63,62,62,61,61,61,61,60,60,60,58,58,58,56,55,54,54,
05864     53,53,53,53,51,51,49,49,49,48,48,48,47,46,46,45,44,44,42,42,42,
05865     42,42,41,41,41,41,41,40,40,39,38,38,37,36,36,34,34,34,34,33,32,
05866     32,32,31,31,31,29,29,28,27,26,26,25,25,24,23,22,21,21,21,21,20,
05867     19,19,18,17,17,16,16,15,15,14,13,13,13,12,11,11,11,10,10,9,9,
05868     8,8,8,7,7,6,5,5,4,3,3,2,1
05869   };
05870   const int n3c3w1_q[] = {
05871     150, // Capacity
05872     200, // Number of items
05873     // Size of items (sorted)
05874     100,98,98,97,97,97,97,97,96,96,96,96,94,94,94,93,93,92,91,91,
05875     90,90,90,89,89,89,88,87,87,86,86,85,85,83,83,83,83,82,82,82,81,
05876     80,79,79,78,78,78,78,77,77,77,77,77,77,76,75,74,74,73,72,72,72,
05877     71,70,70,69,69,69,67,67,66,66,66,66,66,66,66,66,64,63,62,62,62,
05878     61,61,61,60,60,60,59,59,59,58,58,57,56,56,56,55,54,54,54,54,54,
05879     54,54,53,53,53,53,53,51,51,51,50,50,50,50,49,49,48,47,46,46,45,
05880     45,45,44,44,44,43,43,42,41,41,40,40,40,39,39,39,38,38,37,37,37,
05881     36,36,36,36,36,34,34,34,34,33,30,29,29,28,28,27,27,27,25,25,25,
05882     25,24,24,23,22,22,22,22,19,18,18,16,16,15,14,13,13,13,11,11,10,
05883     10,8,7,5,5,5,4,4,2,1,1,1
05884   };
05885   const int n3c3w1_r[] = {
05886     150, // Capacity
05887     200, // Number of items
05888     // Size of items (sorted)
05889     100,100,99,99,99,99,99,98,97,97,97,96,96,96,94,94,94,94,93,92,
05890     91,91,91,90,90,90,89,88,88,87,87,86,86,86,86,86,85,84,82,81,81,
05891     78,78,78,77,77,77,76,76,74,74,74,73,72,72,71,70,69,69,69,68,68,
05892     68,68,68,67,66,66,66,65,64,64,64,64,63,61,60,60,59,58,57,57,55,
05893     55,55,54,54,52,52,52,51,51,50,49,48,48,47,47,47,46,46,46,46,43,
05894     43,43,43,43,42,42,42,41,41,41,40,40,40,40,40,39,39,39,39,38,38,
05895     38,37,37,37,37,36,36,35,34,33,33,32,31,31,31,31,30,29,29,29,28,
05896     28,28,25,25,23,23,22,22,22,20,20,20,19,19,19,17,17,16,16,16,15,
05897     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,
05898     4,3,2,2,1,1
05899   };
05900   const int n3c3w1_s[] = {
05901     150, // Capacity
05902     200, // Number of items
05903     // Size of items (sorted)
05904     99,99,97,96,96,95,95,95,95,94,94,94,93,93,93,93,93,92,92,91,91,
05905     90,90,90,89,89,89,87,86,86,86,86,85,84,84,84,84,83,83,83,78,78,
05906     75,75,75,75,74,74,71,71,70,70,70,70,69,69,69,69,69,69,68,67,67,
05907     67,67,67,65,65,65,64,64,63,62,62,62,61,61,60,59,59,59,59,58,57,
05908     57,57,57,56,56,56,55,55,54,54,54,54,54,54,54,53,53,51,50,49,49,
05909     49,49,49,48,47,47,47,44,43,42,41,40,40,40,40,39,39,38,38,38,38,
05910     38,37,37,36,36,35,35,33,33,33,33,32,32,32,31,31,30,30,30,30,29,
05911     29,28,28,28,28,27,27,27,27,26,26,25,25,25,24,24,24,24,23,23,22,
05912     20,17,17,17,17,16,16,16,14,13,12,12,11,11,10,9,9,8,7,7,6,6,6,
05913     5,4,4,2,2,2,2,1,1
05914   };
05915   const int n3c3w1_t[] = {
05916     150, // Capacity
05917     200, // Number of items
05918     // Size of items (sorted)
05919     100,99,98,98,98,98,98,98,97,97,97,96,95,94,94,94,94,94,92,91,
05920     91,91,90,89,88,88,88,87,87,86,86,86,86,85,85,85,84,84,83,83,83,
05921     82,82,80,80,80,80,80,79,79,78,77,77,76,75,74,74,73,73,72,71,71,
05922     70,69,69,69,68,68,67,67,67,67,66,66,66,65,63,63,63,62,61,61,61,
05923     61,61,60,59,59,58,57,57,56,56,56,56,55,55,53,53,52,52,50,50,49,
05924     49,47,47,47,46,46,46,46,45,44,44,43,42,42,42,41,41,41,41,40,40,
05925     40,39,39,37,37,37,37,37,36,36,35,35,35,35,34,33,33,33,32,32,31,
05926     31,30,30,29,27,25,25,23,23,22,22,22,21,21,20,20,19,19,19,19,19,
05927     18,18,18,17,17,16,16,14,14,14,13,12,12,11,10,10,9,9,8,7,7,6,5,
05928     5,5,4,4,4,2,2,2,1,1
05929   };
05930   const int n3c3w2_a[] = {
05931     150, // Capacity
05932     200, // Number of items
05933     // Size of items (sorted)
05934     100,100,100,100,99,99,99,98,98,98,97,97,97,97,97,97,96,96,96,
05935     95,94,94,93,93,93,93,93,92,92,91,91,90,89,89,88,88,88,87,87,87,
05936     86,86,86,85,85,85,84,84,84,83,82,81,81,80,80,79,79,79,79,79,78,
05937     76,76,76,76,75,75,75,75,75,75,74,73,73,73,73,72,72,72,72,72,71,
05938     71,70,70,70,70,69,68,68,68,67,67,65,65,65,64,64,64,64,63,63,63,
05939     63,62,62,62,62,61,60,60,59,59,59,58,58,58,58,56,56,56,56,56,56,
05940     56,56,55,53,52,52,51,51,50,50,50,49,49,49,48,48,47,47,46,46,45,
05941     45,44,44,44,43,43,43,42,42,42,41,41,40,40,39,37,37,37,37,36,36,
05942     35,35,35,34,34,31,30,29,29,29,29,29,28,28,28,28,27,27,26,26,25,
05943     25,25,24,24,23,22,21,21,21,21,21,20,20
05944   };
05945   const int n3c3w2_b[] = {
05946     150, // Capacity
05947     200, // Number of items
05948     // Size of items (sorted)
05949     100,100,100,100,99,99,99,99,98,98,97,97,95,95,95,94,93,92,92,
05950     91,91,90,90,89,89,89,89,89,89,88,87,87,86,86,86,86,85,84,83,83,
05951     82,82,82,81,81,81,81,81,80,80,80,79,79,79,78,77,77,76,76,75,74,
05952     74,73,73,73,73,73,72,72,70,70,70,70,70,69,68,68,68,68,68,67,66,
05953     66,66,66,66,66,65,65,65,65,65,64,64,64,64,63,63,62,62,61,59,59,
05954     59,59,58,58,56,56,56,56,56,55,55,55,55,54,54,54,54,54,54,53,53,
05955     53,53,53,52,51,51,51,50,49,49,49,49,48,48,48,47,47,47,46,46,46,
05956     46,46,45,45,44,44,44,42,42,42,41,39,38,38,38,37,37,36,36,36,36,
05957     35,34,34,33,33,32,32,32,31,31,31,30,30,29,29,29,29,28,28,27,26,
05958     25,23,23,23,22,22,22,22,22,21,21,21,21
05959   };
05960   const int n3c3w2_c[] = {
05961     150, // Capacity
05962     200, // Number of items
05963     // Size of items (sorted)
05964     100,100,100,99,98,98,97,96,96,96,96,96,96,95,95,94,94,94,94,93,
05965     93,93,93,93,93,92,92,92,90,89,89,89,89,87,87,86,86,86,86,85,85,
05966     84,84,84,84,83,83,83,83,83,81,81,81,80,80,79,79,79,79,78,78,77,
05967     77,77,76,76,76,74,74,74,74,73,73,73,73,73,72,70,70,69,69,69,69,
05968     68,67,66,66,66,66,65,65,65,64,64,63,62,62,61,61,60,60,60,58,58,
05969     57,57,57,57,56,56,55,55,55,55,55,54,54,54,54,54,53,53,53,53,52,
05970     51,51,51,50,50,50,50,50,49,49,48,48,46,46,45,44,44,44,43,43,43,
05971     40,40,40,40,40,39,39,38,38,37,37,37,37,37,36,35,35,34,34,33,33,
05972     33,33,32,32,32,32,31,31,30,29,29,29,29,29,28,28,27,27,27,27,26,
05973     26,26,25,24,23,22,22,22,21,21,21,20
05974   };
05975   const int n3c3w2_d[] = {
05976     150, // Capacity
05977     200, // Number of items
05978     // Size of items (sorted)
05979     100,99,99,98,98,98,96,95,95,94,94,94,93,93,92,92,89,89,89,89,
05980     88,88,88,88,87,87,87,87,86,86,86,85,84,84,83,83,83,83,83,82,81,
05981     80,80,80,79,79,79,78,78,77,77,77,77,77,77,75,74,74,74,73,73,72,
05982     72,71,71,71,71,71,71,70,69,68,68,67,66,66,66,65,65,65,65,65,64,
05983     64,64,64,62,62,62,62,61,61,61,60,60,60,59,59,59,59,58,58,58,58,
05984     57,57,57,57,56,56,56,55,54,54,54,54,54,53,53,53,53,52,51,50,50,
05985     50,49,48,48,48,48,48,48,47,47,45,45,45,44,44,43,43,43,43,43,42,
05986     42,41,41,41,40,40,40,40,40,39,39,38,38,38,37,37,36,36,36,35,35,
05987     34,34,33,33,32,32,31,31,31,30,29,29,28,27,26,25,25,25,24,24,24,
05988     24,24,23,22,22,22,21,21,21,20,20,20
05989   };
05990   const int n3c3w2_e[] = {
05991     150, // Capacity
05992     200, // Number of items
05993     // Size of items (sorted)
05994     100,99,97,97,96,96,96,95,95,95,95,94,94,93,93,93,93,92,92,91,
05995     90,90,90,90,90,90,90,90,89,89,88,88,88,87,86,86,86,84,84,84,84,
05996     83,83,81,81,80,80,80,78,78,78,77,77,77,76,75,75,75,74,73,73,73,
05997     72,71,71,71,70,70,70,69,69,69,68,67,67,67,66,66,65,64,64,63,63,
05998     63,62,62,62,62,62,62,61,61,61,60,60,60,59,59,59,58,58,58,58,57,
05999     57,57,56,55,55,55,55,53,53,53,52,51,51,51,51,50,50,50,49,49,49,
06000     49,48,47,46,46,45,45,45,44,44,44,44,43,43,43,43,43,42,41,41,41,
06001     40,40,40,40,40,39,39,39,39,39,38,37,37,36,36,35,34,34,34,34,33,
06002     33,32,32,32,31,31,31,31,30,30,30,29,28,27,27,26,25,25,25,24,24,
06003     24,23,23,23,22,22,22,22,21,21,21,20
06004   };
06005   const int n3c3w2_f[] = {
06006     150, // Capacity
06007     200, // Number of items
06008     // Size of items (sorted)
06009     100,100,100,100,99,99,98,98,97,97,97,96,95,95,95,95,95,94,94,
06010     94,94,93,93,93,93,92,90,89,89,89,89,88,88,88,87,87,87,86,85,85,
06011     85,84,84,84,83,83,82,82,82,82,82,81,81,80,80,80,79,79,79,79,78,
06012     78,78,76,75,75,74,74,74,73,72,72,72,72,72,72,71,70,70,70,69,68,
06013     68,68,66,65,65,64,64,64,62,61,61,60,59,59,58,58,57,57,57,56,56,
06014     55,55,55,55,54,54,54,53,53,52,52,52,52,51,51,51,50,50,50,50,50,
06015     49,49,48,48,47,47,46,46,46,46,45,45,44,44,44,44,44,44,44,43,43,
06016     43,43,43,43,43,42,42,42,41,41,41,41,40,40,39,39,38,38,38,37,37,
06017     36,36,35,35,35,35,34,34,34,33,31,31,31,30,30,30,30,30,29,28,27,
06018     26,26,25,25,24,24,22,22,21,20,20,20,20
06019   };
06020   const int n3c3w2_g[] = {
06021     150, // Capacity
06022     200, // Number of items
06023     // Size of items (sorted)
06024     100,100,100,100,100,100,99,99,98,98,98,97,97,96,96,95,94,93,93,
06025     93,92,91,90,90,90,89,89,88,88,88,88,88,87,87,87,87,86,86,85,85,
06026     85,84,84,84,84,84,83,83,83,82,81,81,80,80,79,78,77,77,77,77,76,
06027     76,75,75,75,75,74,74,74,73,73,73,73,72,71,70,70,70,70,69,68,68,
06028     68,68,68,67,67,67,67,66,66,65,65,65,64,63,63,63,63,63,63,62,62,
06029     62,60,60,59,59,59,58,57,56,55,55,54,53,53,52,51,50,50,50,50,49,
06030     48,48,48,48,48,47,47,47,47,46,46,45,44,44,43,43,43,43,43,43,42,
06031     42,41,41,39,39,38,38,37,37,37,36,36,36,35,34,34,34,34,33,33,32,
06032     31,31,31,31,30,30,30,30,30,29,28,27,27,26,26,26,25,25,25,25,25,
06033     25,24,24,24,23,23,22,21,21,21,20,20,20
06034   };
06035   const int n3c3w2_h[] = {
06036     150, // Capacity
06037     200, // Number of items
06038     // Size of items (sorted)
06039     100,100,100,100,100,99,99,99,99,99,98,98,97,97,97,96,94,94,94,
06040     94,94,94,94,93,93,91,91,91,90,89,89,89,88,88,87,87,87,86,86,86,
06041     86,86,86,86,85,85,85,85,84,84,83,83,82,82,81,81,81,80,80,79,79,
06042     78,78,77,77,76,75,75,75,74,74,74,74,74,73,73,72,71,71,70,69,68,
06043     68,67,67,66,66,66,66,65,65,65,65,65,64,63,63,63,63,63,61,61,61,
06044     60,60,60,60,59,59,58,58,58,57,57,56,56,56,55,54,54,53,53,52,52,
06045     52,51,50,50,48,48,47,46,46,44,44,44,44,44,43,43,43,43,42,41,41,
06046     41,40,40,40,40,39,39,39,39,38,38,38,38,38,38,38,37,37,36,36,36,
06047     35,35,34,34,33,32,32,32,32,31,31,30,30,30,29,28,27,27,26,26,26,
06048     26,25,25,25,24,23,22,22,22,21,21,20,20
06049   };
06050   const int n3c3w2_i[] = {
06051     150, // Capacity
06052     200, // Number of items
06053     // Size of items (sorted)
06054     100,99,99,99,99,99,99,98,98,98,96,96,96,95,95,95,95,95,95,95,
06055     95,94,94,92,92,92,92,92,92,92,92,92,91,89,89,87,87,86,86,86,85,
06056     85,85,84,84,84,83,83,83,82,82,81,81,81,81,79,79,79,79,77,76,75,
06057     75,74,74,73,72,70,69,69,69,69,69,69,69,69,68,67,67,64,64,64,64,
06058     64,64,63,63,63,63,63,62,62,62,62,61,59,58,58,57,57,56,55,55,54,
06059     54,52,52,52,52,52,51,51,50,50,50,48,47,46,46,45,45,45,45,45,45,
06060     45,44,44,44,44,43,42,42,41,41,41,41,41,41,40,40,39,39,38,38,38,
06061     37,37,36,36,36,35,35,35,35,35,35,35,35,34,34,34,34,33,33,32,31,
06062     31,31,31,31,30,30,30,29,29,28,28,28,28,28,27,26,26,26,26,25,24,
06063     24,23,23,23,22,22,22,22,21,21,20,20
06064   };
06065   const int n3c3w2_j[] = {
06066     150, // Capacity
06067     200, // Number of items
06068     // Size of items (sorted)
06069     99,99,99,99,99,99,98,98,98,97,97,97,97,96,96,96,95,95,95,95,95,
06070     95,94,94,94,93,93,92,92,92,92,92,91,91,90,90,87,87,87,87,87,86,
06071     86,85,84,84,84,83,83,83,83,82,82,82,82,82,82,81,80,80,79,78,78,
06072     77,76,76,75,75,74,74,73,73,72,72,72,71,71,71,70,70,69,69,69,68,
06073     68,68,68,68,67,67,66,66,66,65,65,65,64,64,64,64,63,63,61,60,59,
06074     59,59,59,58,58,57,57,57,57,56,56,55,55,54,54,54,54,54,53,52,52,
06075     52,52,50,50,49,49,49,48,48,48,48,48,48,47,47,47,47,46,45,44,44,
06076     43,43,43,43,43,42,41,41,40,40,40,40,40,39,38,37,36,36,35,34,34,
06077     33,33,32,32,31,30,30,29,28,28,28,28,28,27,26,26,25,24,23,23,23,
06078     23,23,22,22,22,21,21,21,21,21,20
06079   };
06080   const int n3c3w2_k[] = {
06081     150, // Capacity
06082     200, // Number of items
06083     // Size of items (sorted)
06084     100,100,100,100,100,99,99,98,98,98,98,97,97,96,96,96,95,95,94,
06085     94,93,93,93,92,91,91,91,91,91,90,89,89,89,89,89,88,88,88,88,88,
06086     87,87,86,86,86,86,85,85,85,84,84,84,83,83,83,82,82,82,82,82,81,
06087     81,80,80,80,80,79,79,79,79,79,79,78,75,75,75,74,74,73,73,73,73,
06088     73,71,71,70,70,68,68,67,67,67,67,67,66,65,65,65,65,64,64,63,62,
06089     62,62,62,61,61,60,59,58,58,57,56,56,55,54,54,53,52,52,52,52,52,
06090     51,51,51,51,51,51,51,48,48,47,47,46,46,46,46,46,45,45,44,43,43,
06091     43,43,43,42,42,41,39,39,39,38,36,34,34,33,33,33,33,33,32,32,31,
06092     31,31,30,30,30,29,29,29,29,28,28,28,28,28,27,27,26,26,26,26,26,
06093     25,25,25,25,24,24,22,22,21,21,21,21,20
06094   };
06095   const int n3c3w2_l[] = {
06096     150, // Capacity
06097     200, // Number of items
06098     // Size of items (sorted)
06099     100,100,99,99,99,99,99,98,98,98,98,97,97,97,97,97,96,96,96,95,
06100     95,94,94,94,93,93,92,91,91,90,90,89,89,89,89,89,88,87,85,85,85,
06101     85,85,84,83,83,83,82,82,81,81,80,80,80,80,79,79,79,79,78,78,76,
06102     75,75,74,74,74,74,74,73,73,73,72,71,70,70,69,69,69,69,68,67,67,
06103     67,67,66,66,66,65,64,64,64,63,63,63,63,62,62,61,61,60,60,60,60,
06104     60,60,58,58,57,56,56,56,56,56,56,55,55,55,54,54,53,51,51,51,51,
06105     51,50,50,50,49,48,48,47,46,46,46,45,45,45,45,45,44,44,43,42,41,
06106     41,41,40,40,40,39,39,39,39,38,38,37,37,37,37,36,35,35,35,34,34,
06107     34,33,33,32,30,30,30,30,30,29,29,28,28,28,27,26,26,26,25,25,25,
06108     25,24,24,24,24,23,23,23,23,23,22,21
06109   };
06110   const int n3c3w2_m[] = {
06111     150, // Capacity
06112     200, // Number of items
06113     // Size of items (sorted)
06114     100,100,100,99,99,99,99,98,98,97,97,97,96,96,96,96,96,96,95,95,
06115     94,93,93,93,93,92,92,92,91,91,91,91,91,91,91,90,89,89,89,88,86,
06116     86,86,85,85,85,85,84,84,83,83,82,82,82,82,80,80,80,80,80,79,79,
06117     79,78,77,77,77,74,74,73,73,73,73,73,73,72,71,71,70,70,69,69,69,
06118     69,69,68,68,68,67,66,65,65,65,64,64,64,63,62,61,61,61,61,61,60,
06119     60,60,59,58,57,57,57,57,56,56,56,56,56,55,55,55,54,54,54,54,54,
06120     53,53,52,52,52,51,50,50,50,50,49,49,49,48,47,47,46,46,45,45,45,
06121     44,44,44,44,44,43,42,42,41,38,38,38,38,38,37,37,37,35,35,35,35,
06122     35,33,32,32,32,32,31,31,31,31,30,30,29,29,29,29,28,27,26,26,25,
06123     25,25,25,25,25,24,24,23,23,21,20,20
06124   };
06125   const int n3c3w2_n[] = {
06126     150, // Capacity
06127     200, // Number of items
06128     // Size of items (sorted)
06129     100,100,100,99,98,98,97,97,97,96,94,94,93,93,92,91,90,90,89,89,
06130     89,89,89,88,88,88,87,87,87,87,86,86,86,86,85,85,83,83,83,82,82,
06131     82,82,81,80,80,80,80,78,77,77,76,76,74,73,73,73,73,72,72,72,71,
06132     71,71,70,70,70,69,69,69,68,68,68,68,67,67,66,66,66,65,65,65,65,
06133     64,64,64,64,63,62,60,59,58,58,58,57,57,57,57,57,57,56,55,55,53,
06134     52,52,52,51,50,50,49,48,48,48,48,48,48,48,47,46,46,46,46,45,45,
06135     45,45,44,44,44,44,43,43,43,42,42,42,42,41,40,40,39,39,39,39,38,
06136     38,38,38,38,38,36,36,35,34,34,33,33,33,33,33,33,32,32,32,32,32,
06137     31,31,31,31,31,30,30,30,30,29,28,27,27,27,26,26,25,25,25,24,24,
06138     23,23,23,22,22,21,21,20,20,20,20,20
06139   };
06140   const int n3c3w2_o[] = {
06141     150, // Capacity
06142     200, // Number of items
06143     // Size of items (sorted)
06144     100,100,100,100,99,98,98,97,97,97,97,97,97,96,96,95,94,93,93,
06145     92,91,91,91,90,90,90,90,89,89,89,89,88,88,88,88,87,87,86,86,86,
06146     85,85,85,85,85,84,84,84,84,83,82,82,82,82,82,81,81,81,81,80,79,
06147     79,79,79,78,78,78,78,77,76,76,75,75,74,74,73,71,71,70,70,70,70,
06148     69,69,68,68,68,67,67,67,66,65,65,65,65,63,63,62,61,61,61,61,59,
06149     59,59,59,59,58,58,58,57,57,57,56,56,56,55,55,55,54,54,54,54,53,
06150     53,53,53,53,52,52,51,51,50,50,50,49,48,47,46,45,45,44,43,42,42,
06151     42,41,41,41,41,40,40,39,39,38,37,36,36,35,34,34,34,34,34,34,33,
06152     33,32,31,31,30,30,29,29,29,29,29,28,28,27,26,25,25,25,24,24,24,
06153     23,23,22,22,22,21,21,21,20,20,20,20,20
06154   };
06155   const int n3c3w2_p[] = {
06156     150, // Capacity
06157     200, // Number of items
06158     // Size of items (sorted)
06159     100,99,99,99,99,99,98,98,98,98,96,96,96,96,95,95,94,93,93,92,
06160     92,92,92,91,91,91,91,90,90,90,89,89,87,87,87,86,85,84,84,84,83,
06161     82,82,82,81,81,80,80,79,79,79,78,78,78,76,76,76,76,75,75,75,73,
06162     73,73,72,72,71,71,71,71,70,70,70,69,69,68,68,68,68,67,67,67,67,
06163     67,67,67,66,66,66,65,65,64,64,64,63,63,63,62,62,62,62,61,61,60,
06164     59,59,59,58,57,57,56,55,55,55,55,55,53,52,52,51,51,51,51,51,50,
06165     50,50,50,49,49,49,48,47,47,46,46,45,44,44,44,44,43,43,41,41,41,
06166     40,40,38,38,37,37,37,37,36,36,36,36,36,35,34,34,34,34,33,33,33,
06167     32,32,32,31,31,31,30,30,29,27,27,27,27,26,26,25,25,25,25,25,24,
06168     24,24,23,23,23,22,22,22,20,20,20,20
06169   };
06170   const int n3c3w2_q[] = {
06171     150, // Capacity
06172     200, // Number of items
06173     // Size of items (sorted)
06174     100,99,99,99,98,98,98,98,98,97,97,96,96,95,94,94,94,93,93,93,
06175     92,92,91,91,91,91,90,90,89,88,88,88,87,87,87,86,86,86,85,85,84,
06176     84,83,82,80,80,80,79,79,79,79,78,78,77,77,77,76,74,74,73,73,73,
06177     72,71,71,71,70,70,70,70,68,68,68,67,67,67,67,66,66,65,64,64,63,
06178     63,61,61,60,60,60,60,59,59,58,58,58,58,57,57,57,56,56,55,54,51,
06179     51,50,49,48,48,48,47,45,45,45,44,44,44,44,43,43,43,43,43,43,42,
06180     42,42,42,41,41,40,39,39,39,39,38,38,38,38,38,38,38,38,37,37,37,
06181     36,36,35,35,35,35,34,34,34,34,34,33,33,33,33,32,32,31,31,31,30,
06182     30,29,28,28,28,27,25,25,24,24,24,24,24,23,23,23,23,23,22,22,22,
06183     22,22,21,21,21,21,21,21,21,20,20,20
06184   };
06185   const int n3c3w2_r[] = {
06186     150, // Capacity
06187     200, // Number of items
06188     // Size of items (sorted)
06189     100,100,99,99,99,97,96,96,96,95,95,95,95,95,94,94,94,94,93,93,
06190     93,92,92,91,90,89,89,89,88,88,87,87,87,87,86,85,85,84,84,83,83,
06191     83,82,82,81,81,81,80,80,80,80,80,79,78,78,77,77,76,76,75,74,74,
06192     73,73,73,72,71,71,71,70,70,70,69,68,68,68,67,67,67,66,65,65,65,
06193     64,64,63,62,62,62,61,61,61,60,60,60,59,58,58,58,58,58,58,57,57,
06194     57,57,56,56,55,54,53,53,53,53,52,52,52,51,51,50,50,50,49,49,49,
06195     48,46,46,46,46,46,46,44,43,43,43,42,42,42,41,41,40,40,40,39,39,
06196     39,38,38,38,37,37,37,36,36,36,36,35,35,35,35,33,33,33,33,33,32,
06197     32,32,32,32,31,31,30,30,29,29,29,29,29,29,29,29,28,28,28,28,27,
06198     26,26,26,25,24,24,24,23,22,21,21,21
06199   };
06200   const int n3c3w2_s[] = {
06201     150, // Capacity
06202     200, // Number of items
06203     // Size of items (sorted)
06204     100,98,98,98,98,97,97,97,96,96,95,95,95,94,94,94,93,92,91,91,
06205     91,90,89,89,88,88,87,87,87,87,87,86,86,86,86,85,85,85,84,84,84,
06206     83,83,82,81,80,80,80,80,80,79,78,78,78,78,77,77,77,77,77,77,77,
06207     76,76,76,74,74,74,74,74,73,73,73,72,71,71,71,69,69,69,69,69,68,
06208     68,67,67,67,66,66,66,65,65,65,65,64,64,64,62,62,62,62,62,61,61,
06209     61,61,59,59,59,57,57,57,56,55,55,54,52,52,52,51,51,50,50,50,50,
06210     49,49,48,48,47,46,46,45,45,45,44,44,44,43,42,41,41,41,40,39,39,
06211     38,37,37,37,37,37,36,36,35,35,35,34,34,34,33,33,33,32,31,31,31,
06212     31,30,30,30,29,29,29,28,28,28,28,27,27,27,27,26,26,25,25,24,24,
06213     24,23,23,23,22,22,22,22,21,21,20,20
06214   };
06215   const int n3c3w2_t[] = {
06216     150, // Capacity
06217     200, // Number of items
06218     // Size of items (sorted)
06219     100,100,99,99,99,99,99,98,97,97,96,95,95,95,94,94,94,93,92,92,
06220     92,91,91,90,90,90,88,88,87,85,85,84,84,84,84,84,84,84,84,84,83,
06221     83,82,82,82,82,82,82,81,81,80,80,79,79,78,78,78,78,78,78,77,77,
06222     77,76,76,75,74,74,74,74,73,73,72,71,70,69,69,69,67,67,66,65,64,
06223     64,62,62,62,61,61,61,60,60,60,60,59,59,58,57,57,56,56,56,56,56,
06224     56,55,55,55,55,54,53,53,53,53,52,52,51,51,49,49,49,49,49,49,49,
06225     48,47,47,47,46,46,45,44,44,44,44,43,43,42,42,42,42,41,39,39,38,
06226     37,37,37,36,36,36,36,35,35,33,33,33,33,33,32,32,32,31,31,31,31,
06227     30,30,30,30,30,30,29,29,29,29,28,28,28,28,26,25,25,25,24,24,24,
06228     23,23,23,23,23,22,22,21,21,21,21,20
06229   };
06230   const int n3c3w4_a[] = {
06231     150, // Capacity
06232     200, // Number of items
06233     // Size of items (sorted)
06234     100,100,100,100,100,100,99,99,99,99,98,98,98,98,98,98,97,97,96,
06235     96,96,96,96,95,95,95,94,94,93,93,93,92,92,92,91,90,90,89,89,89,
06236     89,89,89,89,89,89,88,88,87,86,86,86,85,85,85,85,84,84,83,83,82,
06237     82,82,81,80,80,80,80,79,79,78,78,78,78,77,76,76,76,75,74,73,73,
06238     73,73,73,72,72,72,71,68,68,68,68,68,67,66,66,65,65,65,65,65,65,
06239     64,64,63,63,62,62,62,62,60,59,59,59,58,58,58,56,56,56,55,55,55,
06240     54,54,54,54,53,53,53,52,52,52,51,51,51,51,51,50,50,50,50,50,49,
06241     49,49,49,48,48,48,48,47,46,46,45,45,45,45,44,43,43,43,43,42,42,
06242     41,41,41,40,40,40,39,39,39,39,39,38,38,38,37,37,37,36,35,35,34,
06243     34,34,34,33,33,33,33,32,32,31,30,30,30
06244   };
06245   const int n3c3w4_b[] = {
06246     150, // Capacity
06247     200, // Number of items
06248     // Size of items (sorted)
06249     99,99,98,98,97,97,97,96,96,96,96,95,95,95,94,94,93,93,92,92,91,
06250     91,91,91,91,90,89,89,89,88,88,87,87,87,86,86,86,86,86,86,86,84,
06251     84,83,82,82,82,82,81,81,81,81,80,80,80,79,79,79,79,78,78,78,78,
06252     77,77,77,77,77,76,76,75,75,75,75,74,74,74,73,72,72,72,72,72,72,
06253     72,71,71,70,70,70,69,69,69,69,69,68,68,68,68,67,67,67,67,67,67,
06254     65,65,64,63,63,62,62,62,62,62,61,61,61,60,60,59,58,57,57,56,55,
06255     55,55,55,53,53,52,52,52,52,51,51,51,51,50,50,50,49,49,49,48,48,
06256     48,48,47,47,46,45,45,45,44,44,44,44,44,43,43,43,43,42,42,42,42,
06257     42,42,41,40,40,39,38,38,38,37,37,36,36,36,36,36,35,35,35,34,34,
06258     33,33,33,32,32,32,31,31,31,31,30
06259   };
06260   const int n3c3w4_c[] = {
06261     150, // Capacity
06262     200, // Number of items
06263     // Size of items (sorted)
06264     100,99,98,98,98,97,97,97,97,97,97,96,96,96,96,96,95,95,95,95,
06265     95,95,94,94,94,94,94,94,93,93,92,92,92,92,91,91,90,89,89,89,89,
06266     88,88,88,88,87,87,87,87,86,85,84,84,83,83,83,83,82,82,82,82,81,
06267     80,79,79,79,79,77,77,77,76,76,74,74,74,73,73,73,73,72,72,72,71,
06268     71,71,71,71,71,71,70,69,69,69,69,68,68,67,67,66,65,65,64,63,63,
06269     63,63,62,62,62,62,60,60,59,59,59,59,59,58,58,58,58,58,58,57,57,
06270     56,56,56,56,55,55,54,53,53,53,52,52,52,52,51,51,50,50,50,49,49,
06271     48,48,48,48,47,47,46,46,46,46,46,45,45,44,43,43,43,43,42,41,41,
06272     39,38,38,38,38,38,37,37,37,37,37,37,36,36,36,36,35,35,35,35,34,
06273     34,34,34,34,33,33,33,32,32,31,31,30
06274   };
06275   const int n3c3w4_d[] = {
06276     150, // Capacity
06277     200, // Number of items
06278     // Size of items (sorted)
06279     100,100,100,100,100,100,99,98,98,98,97,96,96,96,96,95,95,95,94,
06280     94,94,94,94,93,92,92,92,92,91,91,91,90,90,90,90,88,87,87,86,86,
06281     86,86,85,85,85,83,83,82,82,82,82,81,81,81,80,80,79,79,79,79,79,
06282     78,78,78,78,78,78,77,76,75,75,75,75,75,75,74,74,73,73,73,73,72,
06283     72,72,71,70,70,69,68,68,68,67,66,65,65,65,65,64,64,63,63,63,63,
06284     63,62,61,61,60,60,60,59,59,59,59,58,58,56,56,56,56,56,56,55,55,
06285     55,55,55,54,54,54,53,53,53,52,52,52,51,51,51,51,50,50,50,49,48,
06286     48,48,48,48,48,48,48,47,47,47,47,47,46,46,46,45,45,45,45,44,43,
06287     43,43,42,42,42,41,40,38,37,37,37,37,36,36,36,36,35,34,34,34,33,
06288     33,33,33,33,32,32,32,32,32,32,30,30,30
06289   };
06290   const int n3c3w4_e[] = {
06291     150, // Capacity
06292     200, // Number of items
06293     // Size of items (sorted)
06294     100,100,99,99,98,98,97,96,96,95,94,94,93,93,93,93,93,92,92,91,
06295     90,90,90,90,89,89,89,88,88,88,88,87,87,87,87,86,86,85,85,85,84,
06296     84,83,83,83,82,81,81,80,80,80,79,79,78,78,78,77,77,77,77,76,76,
06297     75,75,75,75,74,74,74,74,73,73,73,72,71,71,71,71,70,70,69,68,68,
06298     68,68,68,68,68,67,67,67,66,66,66,65,64,64,64,64,63,63,63,63,62,
06299     62,61,61,61,60,60,58,58,58,58,58,57,57,56,56,56,56,56,56,55,55,
06300     55,54,54,54,53,53,52,52,52,52,51,51,51,50,50,50,49,49,49,48,48,
06301     47,47,47,47,46,46,46,46,46,45,44,44,44,44,44,43,43,42,42,42,42,
06302     41,41,41,39,39,39,39,39,39,38,38,37,37,37,37,36,35,35,34,34,34,
06303     34,34,33,33,33,33,32,32,31,30,30,30
06304   };
06305   const int n3c3w4_f[] = {
06306     150, // Capacity
06307     200, // Number of items
06308     // Size of items (sorted)
06309     100,100,99,99,99,98,98,98,98,98,97,97,97,97,96,96,95,94,94,93,
06310     93,93,92,92,92,91,90,90,87,87,87,86,86,86,86,85,85,84,83,83,83,
06311     82,82,81,81,80,80,80,80,80,80,80,79,79,79,79,79,79,78,78,78,76,
06312     75,75,74,73,73,72,71,71,71,71,71,70,69,69,69,68,68,67,67,67,66,
06313     66,66,66,66,66,66,66,65,65,65,63,63,63,63,62,62,62,62,61,61,60,
06314     60,60,60,60,60,58,58,58,58,58,58,57,56,56,56,56,55,55,54,54,54,
06315     53,53,53,52,52,51,51,51,49,49,49,48,48,48,48,48,48,47,46,46,46,
06316     46,45,45,44,44,44,43,43,42,42,42,42,41,41,41,40,40,40,40,39,39,
06317     39,39,39,39,39,38,38,38,38,37,36,36,36,36,36,36,35,35,35,35,34,
06318     34,33,33,32,31,31,31,31,30,30,30,30
06319   };
06320   const int n3c3w4_g[] = {
06321     150, // Capacity
06322     200, // Number of items
06323     // Size of items (sorted)
06324     100,100,100,100,100,99,99,98,98,98,98,98,98,98,97,97,97,97,97,
06325     96,95,94,94,94,93,93,92,92,92,91,91,91,91,91,90,90,90,89,89,89,
06326     89,89,88,88,88,88,88,87,87,87,87,86,86,86,86,85,85,84,84,84,84,
06327     84,84,83,83,83,83,82,82,81,81,81,80,80,80,80,79,78,77,77,77,76,
06328     76,76,76,76,76,76,75,75,75,75,74,74,74,74,74,72,72,71,71,71,70,
06329     70,69,68,68,68,68,68,67,67,66,66,65,65,65,64,63,63,62,62,61,61,
06330     61,60,60,60,60,60,60,59,59,59,58,58,58,58,57,57,56,56,55,55,55,
06331     55,54,54,54,54,54,54,52,52,51,50,50,49,49,49,48,47,47,47,47,46,
06332     46,46,45,44,44,43,43,42,42,40,40,39,38,38,38,38,37,37,36,36,35,
06333     35,35,35,35,35,34,34,32,31,31,31,31,30
06334   };
06335   const int n3c3w4_h[] = {
06336     150, // Capacity
06337     200, // Number of items
06338     // Size of items (sorted)
06339     100,99,99,99,97,97,96,95,95,94,94,94,94,93,92,92,92,92,92,92,
06340     92,91,91,91,91,90,90,89,89,89,89,88,87,87,86,86,86,85,85,85,84,
06341     84,84,83,83,83,82,82,82,82,81,81,81,81,79,79,77,77,76,76,76,76,
06342     75,75,74,74,74,74,73,72,71,71,70,70,68,68,67,67,67,66,66,66,65,
06343     65,64,63,63,63,62,62,62,62,62,61,61,61,61,60,60,60,60,60,60,60,
06344     58,58,57,57,57,56,56,56,56,56,55,55,55,55,54,54,53,53,53,53,53,
06345     52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,49,49,49,48,48,48,
06346     48,48,47,47,47,47,46,46,45,45,45,44,44,44,43,43,43,42,42,42,41,
06347     40,40,39,39,39,39,38,38,37,37,37,37,37,36,36,35,35,35,35,35,34,
06348     34,34,34,33,33,33,32,31,31,30,30,30
06349   };
06350   const int n3c3w4_i[] = {
06351     150, // Capacity
06352     200, // Number of items
06353     // Size of items (sorted)
06354     100,100,100,99,99,97,97,97,96,96,96,96,96,95,95,95,95,94,94,93,
06355     93,93,93,92,92,92,92,92,91,91,91,90,90,90,90,89,89,89,89,89,88,
06356     88,88,88,88,88,87,87,86,86,85,85,85,85,85,84,84,84,83,83,83,82,
06357     81,81,81,80,79,79,79,79,79,79,78,78,78,78,78,77,77,76,76,75,75,
06358     75,75,74,74,74,73,72,72,72,72,71,71,71,70,70,70,70,69,69,69,69,
06359     69,68,67,67,67,67,66,66,66,65,65,65,64,63,63,63,63,62,62,62,61,
06360     61,61,61,60,60,59,59,58,58,58,58,56,56,55,55,55,53,53,52,52,52,
06361     52,51,51,50,49,48,48,48,48,47,46,46,46,46,45,45,45,44,44,43,43,
06362     42,42,41,41,40,40,40,40,39,39,38,38,38,38,37,37,37,36,36,36,35,
06363     35,35,34,34,33,32,32,32,32,31,31,30
06364   };
06365   const int n3c3w4_j[] = {
06366     150, // Capacity
06367     200, // Number of items
06368     // Size of items (sorted)
06369     100,100,99,98,97,97,97,96,96,96,95,95,95,95,94,94,94,94,94,94,
06370     93,93,93,93,93,93,92,91,91,91,90,90,90,89,89,89,87,87,86,86,85,
06371     85,85,85,85,84,84,83,83,83,83,82,82,82,82,81,81,81,81,81,81,81,
06372     80,80,78,78,78,78,77,77,77,76,76,75,75,75,75,74,74,74,74,73,73,
06373     73,71,71,71,71,70,70,69,69,68,68,67,67,67,66,66,66,65,64,63,63,
06374     63,62,61,61,61,61,61,61,60,60,60,60,58,58,58,58,57,57,57,57,56,
06375     56,56,56,56,56,55,54,53,53,53,53,52,52,52,52,51,51,50,50,49,49,
06376     49,48,48,48,48,48,48,47,47,46,46,46,46,46,44,44,44,43,43,43,42,
06377     42,42,41,41,39,39,39,38,37,37,37,36,36,36,34,32,32,32,32,32,31,
06378     31,31,31,31,31,31,31,31,31,30,30,30
06379   };
06380   const int n3c3w4_k[] = {
06381     150, // Capacity
06382     200, // Number of items
06383     // Size of items (sorted)
06384     100,100,100,99,99,99,99,98,98,98,98,97,97,97,96,96,96,96,96,95,
06385     95,95,94,94,94,92,92,92,92,92,92,91,91,90,90,90,90,90,90,89,89,
06386     88,88,88,87,87,86,86,85,85,85,84,84,84,84,83,82,82,81,81,79,79,
06387     78,77,77,77,77,77,76,76,75,75,74,74,74,73,73,73,73,73,73,72,71,
06388     70,70,70,70,70,69,69,69,69,68,68,67,67,67,66,66,65,65,64,64,63,
06389     63,63,62,62,62,62,62,60,60,60,60,59,59,59,58,58,58,58,58,58,57,
06390     57,57,56,56,56,56,55,55,55,54,54,54,53,53,53,53,53,53,52,51,50,
06391     49,49,49,49,49,48,48,48,47,47,47,47,47,47,46,45,45,45,44,44,43,
06392     43,43,42,42,41,41,41,41,40,39,39,39,38,38,38,37,37,37,36,36,36,
06393     35,35,35,34,33,33,33,33,32,31,31,30
06394   };
06395   const int n3c3w4_l[] = {
06396     150, // Capacity
06397     200, // Number of items
06398     // Size of items (sorted)
06399     100,100,99,99,99,98,98,98,97,97,97,97,96,96,96,96,96,95,95,95,
06400     95,94,94,93,93,92,92,91,91,91,90,90,90,90,89,89,89,88,88,88,87,
06401     86,86,86,86,85,85,85,84,84,84,84,83,83,83,83,83,82,82,82,82,82,
06402     81,81,81,81,80,80,80,80,79,79,78,78,77,77,77,76,75,75,74,74,74,
06403     73,73,73,72,72,71,71,71,71,70,70,69,68,67,65,65,64,64,64,63,63,
06404     63,62,62,62,62,60,60,60,60,59,59,59,58,58,58,58,57,56,56,56,56,
06405     55,55,54,54,54,53,53,53,53,53,53,52,52,52,52,52,50,50,50,50,50,
06406     50,49,49,48,48,48,47,47,46,45,45,45,44,44,44,44,44,43,43,43,43,
06407     43,42,42,42,42,41,41,40,40,40,39,39,38,37,36,36,36,36,35,35,34,
06408     34,33,33,32,32,32,31,31,31,30,30,30
06409   };
06410   const int n3c3w4_m[] = {
06411     150, // Capacity
06412     200, // Number of items
06413     // Size of items (sorted)
06414     100,100,100,99,99,98,98,98,98,97,96,95,94,94,94,94,93,93,93,93,
06415     93,92,92,92,91,90,90,90,90,90,90,89,89,88,88,87,87,86,86,86,86,
06416     86,85,85,85,85,84,84,83,83,83,82,82,82,82,82,81,81,80,80,79,79,
06417     79,79,79,79,78,78,78,77,77,76,76,76,76,75,75,75,74,74,74,74,74,
06418     73,73,73,73,72,72,71,69,69,69,69,68,68,68,67,67,66,65,65,65,63,
06419     63,63,62,61,61,61,61,60,60,59,59,59,59,58,58,58,58,58,56,56,56,
06420     55,55,54,54,54,53,53,53,53,53,52,52,52,52,51,51,51,51,51,50,50,
06421     49,49,49,48,48,47,46,46,46,46,45,45,45,44,44,44,42,42,42,41,41,
06422     39,39,38,38,38,38,38,37,37,37,37,37,37,37,36,36,36,36,35,35,35,
06423     34,34,34,33,32,31,30,30,30,30,30,30
06424   };
06425   const int n3c3w4_n[] = {
06426     150, // Capacity
06427     200, // Number of items
06428     // Size of items (sorted)
06429     100,100,100,100,100,99,99,98,98,97,97,97,97,96,95,95,93,93,93,
06430     93,92,91,91,90,90,89,89,89,88,88,88,87,87,87,86,86,86,86,86,85,
06431     85,85,84,84,84,84,84,84,83,83,83,82,82,82,81,81,81,80,80,79,79,
06432     79,78,78,78,78,78,77,77,76,75,75,75,75,75,75,74,74,74,74,74,72,
06433     71,71,71,71,71,71,70,69,69,69,68,67,66,65,65,65,64,64,63,63,62,
06434     62,62,61,60,59,59,59,59,58,58,58,57,57,57,57,56,56,56,56,55,54,
06435     54,53,52,52,51,50,49,49,49,49,48,48,48,48,48,47,47,47,46,46,46,
06436     46,46,45,45,45,45,44,44,44,44,44,44,43,43,43,42,42,42,41,41,41,
06437     41,40,40,40,40,40,40,39,39,38,38,37,37,36,36,35,34,34,34,34,34,
06438     33,33,33,33,33,33,32,32,32,32,31,30,30
06439   };
06440   const int n3c3w4_o[] = {
06441     150, // Capacity
06442     200, // Number of items
06443     // Size of items (sorted)
06444     100,100,100,100,100,99,98,98,98,98,97,97,97,96,96,96,96,96,96,
06445     95,94,94,93,92,92,92,91,91,91,91,90,90,90,89,89,89,89,89,87,87,
06446     87,86,86,86,86,86,85,85,85,83,83,82,82,81,81,81,80,80,79,79,78,
06447     78,78,78,77,77,77,77,76,76,76,75,75,75,75,73,73,73,72,72,71,71,
06448     70,70,70,69,69,68,68,67,67,67,67,66,65,64,64,64,64,63,63,63,63,
06449     62,62,61,61,61,61,60,60,60,60,59,59,59,59,59,58,58,58,58,57,57,
06450     57,57,56,56,55,55,55,55,54,54,53,53,53,51,51,51,50,50,50,50,50,
06451     49,49,48,47,47,47,47,47,46,45,45,44,44,43,42,42,41,41,41,40,40,
06452     40,40,39,39,37,37,37,37,37,36,36,36,35,35,35,35,35,34,34,33,33,
06453     33,33,32,31,31,31,31,31,31,31,30,30,30
06454   };
06455   const int n3c3w4_p[] = {
06456     150, // Capacity
06457     200, // Number of items
06458     // Size of items (sorted)
06459     100,100,100,99,99,97,97,97,96,95,95,95,94,94,94,93,93,93,92,92,
06460     92,92,92,92,91,91,91,91,90,90,89,88,88,86,85,85,83,83,83,82,82,
06461     81,81,80,80,80,79,79,79,77,77,77,77,77,77,77,77,77,76,76,76,75,
06462     75,74,74,74,74,74,74,73,73,72,72,72,71,71,70,70,70,68,68,68,67,
06463     67,67,67,67,66,66,66,66,66,65,65,65,65,64,64,64,64,63,63,62,62,
06464     62,62,62,62,61,61,61,60,60,60,60,60,59,59,58,58,58,58,57,57,57,
06465     56,56,56,55,54,54,54,54,54,53,53,53,53,52,52,51,51,50,50,50,50,
06466     50,49,49,49,48,48,48,47,47,46,46,46,45,45,45,44,44,44,43,43,42,
06467     41,41,40,39,38,38,38,38,37,37,37,36,36,35,35,35,34,34,34,34,33,
06468     33,33,33,33,32,32,31,30,30,30,30,30
06469   };
06470   const int n3c3w4_q[] = {
06471     150, // Capacity
06472     200, // Number of items
06473     // Size of items (sorted)
06474     100,100,99,99,99,99,98,98,98,98,98,96,96,96,95,95,95,95,95,94,
06475     94,94,92,92,92,91,91,91,90,89,89,88,88,86,86,85,85,85,84,83,83,
06476     82,82,81,81,81,81,80,80,79,79,79,79,79,79,79,78,78,78,78,78,77,
06477     77,77,77,77,77,77,76,75,75,75,74,73,73,73,73,72,72,72,71,71,71,
06478     70,70,70,68,68,67,67,66,66,66,66,66,66,65,65,65,65,65,64,63,63,
06479     63,63,63,62,62,62,62,62,62,61,61,61,61,61,60,60,59,59,57,56,56,
06480     56,56,56,55,55,55,54,53,53,52,52,52,51,50,50,50,50,50,49,49,48,
06481     48,48,47,47,46,46,46,46,45,44,44,44,44,44,43,43,43,42,42,41,41,
06482     41,41,41,41,41,40,40,40,40,39,38,38,38,38,38,38,37,37,36,36,35,
06483     35,34,34,33,33,33,33,33,32,32,32,30
06484   };
06485   const int n3c3w4_r[] = {
06486     150, // Capacity
06487     200, // Number of items
06488     // Size of items (sorted)
06489     100,100,100,100,100,99,99,98,98,98,98,98,98,97,97,97,96,95,95,
06490     94,93,92,92,92,92,91,91,91,91,91,90,90,90,90,90,89,89,88,88,88,
06491     87,86,85,85,85,85,84,83,83,83,81,80,80,80,79,79,79,79,78,78,78,
06492     78,78,78,77,77,77,77,76,76,76,76,76,75,75,75,74,73,73,73,73,73,
06493     73,72,72,71,71,70,69,69,68,67,67,67,67,66,66,65,65,65,64,62,62,
06494     61,61,61,61,61,61,60,59,59,59,59,59,58,58,58,58,57,57,57,57,57,
06495     57,56,56,56,55,55,55,54,54,54,54,54,54,53,53,53,52,51,50,50,50,
06496     49,49,49,48,48,47,47,46,46,45,45,45,44,44,44,43,42,42,42,41,41,
06497     41,40,40,39,39,39,38,38,37,37,36,36,35,34,33,33,33,33,33,33,32,
06498     32,32,32,32,31,31,31,31,31,30,30,30,30
06499   };
06500   const int n3c3w4_s[] = {
06501     150, // Capacity
06502     200, // Number of items
06503     // Size of items (sorted)
06504     98,98,98,97,97,97,96,96,96,94,94,94,93,93,93,93,92,90,90,89,88,
06505     87,87,87,86,86,86,86,86,85,85,85,84,84,83,83,82,82,81,81,80,80,
06506     80,80,78,78,78,77,77,77,77,77,77,76,76,75,75,75,74,74,74,73,73,
06507     73,72,72,72,71,71,71,71,71,71,71,71,71,70,69,69,69,68,68,68,68,
06508     67,67,66,66,66,66,66,66,65,64,64,64,64,63,63,63,63,62,62,62,62,
06509     61,61,61,60,60,60,59,58,58,58,57,57,56,56,55,55,55,54,54,54,53,
06510     53,53,53,53,53,52,52,52,52,51,51,50,50,50,50,50,50,49,49,48,48,
06511     47,47,47,47,47,46,46,45,45,44,43,43,43,42,42,41,41,41,41,40,40,
06512     39,39,39,38,38,38,37,37,37,37,36,36,36,35,34,33,33,33,33,33,32,
06513     32,32,32,32,31,31,31,31,30,30,30
06514   };
06515   const int n3c3w4_t[] = {
06516     150, // Capacity
06517     200, // Number of items
06518     // Size of items (sorted)
06519     100,100,99,99,99,98,98,98,98,98,97,97,96,96,96,96,94,93,93,92,
06520     92,90,90,89,89,89,88,88,88,88,88,88,87,87,87,87,86,86,85,85,84,
06521     83,82,82,81,81,80,80,80,80,80,80,79,79,79,78,78,77,77,76,76,76,
06522     75,75,75,75,75,74,74,74,74,73,72,72,72,71,71,71,71,71,70,70,69,
06523     69,69,69,68,67,66,66,66,65,65,65,64,62,61,61,61,61,61,61,60,60,
06524     60,59,59,59,59,58,58,58,57,57,56,56,56,56,54,54,54,54,53,53,53,
06525     53,53,53,52,52,52,51,51,51,50,49,49,49,48,48,47,47,47,47,46,46,
06526     46,46,45,45,45,44,43,43,43,43,42,42,41,41,41,41,41,40,40,40,40,
06527     40,39,39,38,38,37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,34,
06528     34,34,34,34,34,33,33,32,31,31,30,30
06529   };
06530   const int n4c1w1_a[] = {
06531     100, // Capacity
06532     500, // Number of items
06533     // Size of items (sorted)
06534     100,99,99,99,99,98,98,98,98,97,97,97,97,97,97,97,96,96,96,96,
06535     96,96,96,95,95,95,95,95,94,94,94,94,93,93,93,92,92,92,91,91,91,
06536     91,90,90,90,89,89,89,89,89,88,88,88,88,87,87,87,87,87,87,86,86,
06537     86,86,86,86,85,85,85,84,84,83,83,83,83,83,83,82,82,82,82,81,81,
06538     81,81,80,80,80,80,80,79,79,79,78,78,78,78,78,78,77,77,77,76,76,
06539     76,76,76,75,75,75,75,75,75,74,74,74,74,73,73,73,73,73,73,73,72,
06540     72,72,72,71,71,71,71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,
06541     68,68,67,67,67,67,67,66,66,66,65,65,65,64,64,64,64,63,63,63,63,
06542     63,63,62,62,62,62,62,62,62,61,61,61,60,60,60,60,60,60,59,59,59,
06543     58,58,58,58,58,58,57,57,57,57,57,56,56,56,56,56,55,55,54,54,54,
06544     54,54,54,54,53,53,53,53,53,52,52,52,51,51,51,51,50,50,50,50,50,
06545     49,49,49,48,48,48,48,48,48,47,47,47,46,46,46,46,46,46,45,45,45,
06546     45,44,44,44,44,43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,42,
06547     42,41,41,41,41,41,40,40,40,40,39,39,39,39,38,38,38,38,38,38,37,
06548     37,37,37,37,37,37,37,36,36,36,36,36,36,35,35,35,35,35,35,34,34,
06549     34,34,33,33,33,33,33,32,32,32,32,32,31,31,31,31,31,31,31,31,31,
06550     30,30,30,30,29,29,29,29,29,28,28,28,28,28,28,28,27,27,27,27,27,
06551     27,27,27,26,26,26,26,26,26,26,25,25,25,25,24,24,24,24,24,24,24,
06552     23,23,23,23,23,22,22,22,22,22,22,21,21,21,21,20,20,20,20,20,20,
06553     19,19,19,19,19,19,19,19,18,18,18,18,18,17,17,17,17,17,17,17,16,
06554     16,15,15,15,15,15,15,15,15,14,14,14,14,13,13,13,13,13,13,13,13,
06555     13,12,12,12,11,11,11,11,11,11,11,11,11,10,10,10,10,10,10,10,10,
06556     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,
06557     2,2,1,1,1,1,1,1
06558   };
06559   const int n4c1w1_b[] = {
06560     100, // Capacity
06561     500, // Number of items
06562     // Size of items (sorted)
06563     100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,98,98,
06564     98,97,97,97,97,97,97,96,96,96,95,94,94,93,93,93,93,93,93,93,92,
06565     92,92,92,92,92,91,91,91,91,91,91,91,90,90,90,90,90,90,90,90,90,
06566     90,90,89,89,89,88,88,88,87,87,86,86,86,86,85,85,85,85,85,84,84,
06567     84,84,84,84,83,83,83,82,82,82,82,82,81,81,80,80,80,80,80,80,79,
06568     79,79,79,78,78,78,78,77,77,77,77,77,77,77,77,77,76,76,76,76,76,
06569     75,75,75,75,75,75,74,74,74,73,73,73,73,72,72,72,72,72,72,72,71,
06570     71,71,70,70,70,70,70,69,69,69,68,68,68,68,67,67,67,67,67,66,66,
06571     66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,63,
06572     63,63,62,62,62,62,62,62,62,62,62,62,61,61,61,61,61,61,60,60,60,
06573     60,60,60,60,60,60,59,59,59,59,59,59,59,59,58,58,57,57,57,56,56,
06574     56,56,56,55,55,55,55,55,54,54,54,54,54,53,53,52,52,52,52,51,51,
06575     51,51,50,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,47,47,47,
06576     47,47,47,47,46,46,46,46,46,45,45,45,44,44,44,44,44,44,44,44,44,
06577     43,43,43,43,43,43,43,42,42,42,41,41,41,41,41,41,41,41,40,40,40,
06578     40,40,40,39,39,39,39,39,38,38,38,38,37,37,37,37,37,37,37,36,36,
06579     36,36,36,36,36,36,35,35,35,35,35,35,35,35,34,34,33,33,33,32,32,
06580     32,32,32,31,31,31,30,30,30,30,30,30,30,30,30,29,29,28,28,28,28,
06581     27,27,26,26,26,26,26,26,26,26,26,26,26,25,25,25,25,25,24,24,24,
06582     24,23,23,23,22,22,22,22,22,22,21,21,21,21,20,20,20,20,20,19,19,
06583     19,19,19,19,18,18,18,18,18,17,17,17,16,16,16,16,16,16,15,15,15,
06584     15,15,15,15,14,14,14,14,13,13,12,12,12,12,12,12,12,11,11,11,11,
06585     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,
06586     3,3,3,3,3,3,2,2,2,1,1,1
06587   };
06588   const int n4c1w1_c[] = {
06589     100, // Capacity
06590     500, // Number of items
06591     // Size of items (sorted)
06592     100,100,100,99,99,99,98,98,98,98,98,98,98,98,97,97,97,97,97,97,
06593     97,97,97,97,97,96,96,96,96,96,95,95,95,95,95,95,94,93,93,93,92,
06594     92,92,92,92,92,92,92,91,91,91,90,90,89,89,89,88,88,87,87,87,87,
06595     87,87,87,86,86,86,85,85,84,84,84,83,83,83,83,83,82,82,82,82,82,
06596     82,82,81,81,81,81,81,80,80,80,80,80,79,79,79,79,79,79,78,78,77,
06597     77,77,77,77,77,76,75,75,75,74,74,74,74,73,73,73,73,73,73,73,72,
06598     72,71,71,71,71,71,71,71,70,70,70,70,70,69,68,68,68,68,68,67,67,
06599     67,66,66,66,66,65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,
06600     64,64,64,63,63,63,63,63,62,62,61,61,61,60,60,60,60,59,59,59,59,
06601     58,58,58,58,57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,55,
06602     55,55,55,54,54,53,53,53,53,52,52,52,52,51,51,51,51,51,51,50,50,
06603     50,50,50,50,50,49,49,49,49,49,49,49,48,48,47,47,46,46,46,45,45,
06604     45,45,44,44,44,44,43,43,43,43,43,42,42,42,42,42,42,42,42,42,42,
06605     41,41,41,41,40,40,40,40,39,39,39,39,39,38,38,38,38,38,38,38,38,
06606     37,37,37,37,37,37,37,37,37,36,36,36,36,36,35,35,35,35,35,35,35,
06607     34,34,34,34,34,33,33,33,33,33,33,33,33,32,32,32,32,31,31,31,31,
06608     31,31,31,31,30,30,30,30,30,29,29,29,29,28,28,28,28,27,27,26,26,
06609     26,26,25,25,25,25,25,24,24,24,24,24,24,23,23,23,23,23,23,22,22,
06610     22,22,22,21,21,21,21,20,20,20,20,20,19,19,19,19,19,19,19,19,19,
06611     19,18,18,18,18,17,17,17,17,17,17,17,17,17,17,16,16,16,16,16,16,
06612     15,15,15,15,15,15,15,15,15,14,14,14,14,13,13,13,13,13,12,12,12,
06613     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,
06614     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,
06615     2,2,1
06616   };
06617   const int n4c1w1_d[] = {
06618     100, // Capacity
06619     500, // Number of items
06620     // Size of items (sorted)
06621     100,100,100,100,100,100,99,99,99,99,99,98,98,97,97,97,97,97,97,
06622     97,96,96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,93,93,93,93,
06623     93,93,93,92,92,92,92,92,92,91,91,91,91,90,90,90,90,89,89,89,89,
06624     89,89,89,89,88,88,88,88,88,88,88,88,88,88,87,87,87,87,86,86,86,
06625     86,85,85,85,85,84,84,84,84,84,84,84,83,83,83,83,83,83,83,82,81,
06626     81,81,81,81,81,81,80,80,80,79,79,79,79,78,78,78,78,77,77,77,77,
06627     76,76,76,76,76,75,74,74,74,74,74,73,73,72,72,72,72,71,71,70,70,
06628     70,70,69,69,69,69,69,68,68,68,68,68,68,68,68,67,67,67,67,67,66,
06629     66,65,65,65,64,64,63,63,63,63,63,63,63,63,63,63,62,62,61,61,61,
06630     60,60,60,60,59,59,59,58,58,58,57,57,56,56,56,56,56,56,56,55,55,
06631     55,55,54,54,54,54,54,53,53,53,53,52,52,52,51,51,51,51,51,51,51,
06632     51,51,51,50,50,50,50,50,50,50,50,50,49,49,49,49,48,48,47,46,46,
06633     46,46,46,46,46,45,45,45,44,44,44,44,43,43,43,43,43,43,42,42,42,
06634     42,42,42,42,42,42,42,42,41,41,41,41,41,40,40,40,40,39,39,39,39,
06635     39,39,38,38,38,38,37,37,37,37,37,37,37,36,36,35,35,35,35,34,34,
06636     33,33,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,32,32,32,31,
06637     31,31,31,31,30,30,30,30,30,30,29,29,29,29,28,28,28,27,27,27,27,
06638     26,26,26,26,26,26,25,25,25,25,25,25,24,24,24,24,24,23,23,23,23,
06639     22,22,22,22,22,22,21,21,21,21,21,21,21,21,20,20,20,20,20,19,19,
06640     19,19,19,19,19,19,18,18,17,17,17,17,17,16,16,16,16,16,16,15,15,
06641     15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,12,12,12,12,12,12,
06642     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,
06643     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,
06644     1,1,1,1,1
06645   };
06646   const int n4c1w1_e[] = {
06647     100, // Capacity
06648     500, // Number of items
06649     // Size of items (sorted)
06650     100,100,100,99,99,99,98,98,98,98,98,98,97,97,97,97,97,97,97,96,
06651     96,96,96,96,96,96,96,95,95,95,95,95,95,94,94,94,94,93,93,93,93,
06652     93,92,92,92,92,90,90,90,90,90,90,90,89,89,89,89,89,89,88,88,88,
06653     88,88,88,88,88,87,87,86,86,86,86,86,85,85,85,85,84,84,84,83,83,
06654     83,83,82,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,79,79,79,
06655     79,78,78,78,78,78,78,78,78,78,78,78,78,77,77,77,77,77,77,76,76,
06656     76,76,76,76,75,75,75,74,74,74,74,74,74,73,73,73,73,73,73,72,72,
06657     72,72,72,72,72,71,71,71,71,71,71,70,70,70,70,70,70,70,70,69,69,
06658     69,68,68,68,68,68,68,68,67,67,67,67,67,67,66,66,66,66,66,66,65,
06659     65,65,64,64,64,63,63,63,63,63,63,63,63,63,63,63,62,62,62,62,61,
06660     60,60,60,60,60,60,59,59,59,58,58,58,58,58,57,57,57,57,57,57,56,
06661     56,56,56,56,55,55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,53,
06662     53,52,52,52,52,52,52,52,51,51,51,51,51,51,51,51,51,50,50,50,50,
06663     50,50,50,49,49,49,49,48,48,48,48,48,48,47,47,47,47,47,46,46,46,
06664     46,46,45,45,45,45,44,44,44,43,43,43,43,43,42,42,42,41,41,41,40,
06665     40,40,40,39,39,39,39,39,38,38,38,38,38,38,37,37,36,36,36,36,35,
06666     35,34,34,34,34,33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,
06667     30,30,30,30,30,30,30,29,29,29,29,28,28,28,28,28,28,27,27,27,26,
06668     26,25,25,25,24,24,24,24,24,24,23,23,23,23,23,23,23,22,22,22,22,
06669     21,21,21,21,21,20,20,20,20,19,19,19,19,18,18,18,18,17,17,17,17,
06670     17,17,16,16,16,16,16,16,16,16,16,16,15,15,15,14,14,14,14,14,13,
06671     13,13,13,12,12,12,12,12,12,12,11,11,11,11,10,10,10,10,9,9,9,9,
06672     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,
06673     2,1,1,1,1,1,1
06674   };
06675   const int n4c1w1_f[] = {
06676     100, // Capacity
06677     500, // Number of items
06678     // Size of items (sorted)
06679     100,100,100,100,100,99,99,98,98,98,98,98,97,97,97,97,97,97,96,
06680     96,96,96,95,95,95,95,95,94,94,93,93,93,93,93,93,92,92,92,92,92,
06681     92,91,91,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,89,89,89,
06682     88,88,88,87,87,87,87,87,87,87,86,86,86,86,86,86,86,86,85,85,84,
06683     84,84,84,84,84,84,84,83,83,83,83,83,83,82,82,81,81,81,81,81,81,
06684     80,79,79,79,79,79,79,78,78,78,78,77,77,77,77,77,77,76,76,76,76,
06685     76,75,75,75,75,75,74,74,74,74,73,73,73,73,72,72,71,71,71,71,71,
06686     71,71,71,71,71,70,70,70,70,70,70,70,69,69,69,68,68,68,68,68,67,
06687     67,66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,65,64,64,64,64,
06688     64,63,63,63,63,63,63,63,62,62,62,61,61,61,61,61,61,61,60,60,60,
06689     60,60,60,59,59,59,59,59,59,59,59,58,58,58,58,57,57,57,57,57,57,
06690     57,57,56,56,56,56,56,55,55,55,55,55,53,53,53,53,52,52,52,51,51,
06691     51,51,51,51,50,50,50,50,50,49,49,49,49,49,49,49,49,49,48,48,48,
06692     47,47,47,47,47,47,47,47,46,46,46,46,46,45,45,45,45,45,45,44,44,
06693     44,43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,41,40,40,40,40,
06694     40,40,39,39,39,39,39,38,38,38,38,38,37,37,37,37,37,37,37,37,37,
06695     37,36,36,36,36,36,36,36,36,36,35,34,34,33,33,33,33,32,32,32,32,
06696     32,32,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,29,29,
06697     29,29,28,28,28,28,28,28,28,27,27,27,27,27,26,26,26,26,26,26,26,
06698     25,25,25,25,24,24,24,24,24,24,24,24,24,23,23,23,23,23,23,22,22,
06699     22,21,21,21,21,20,20,20,20,20,20,19,19,19,19,18,18,17,17,17,17,
06700     17,17,17,17,16,15,15,15,14,14,13,13,13,12,12,12,12,11,11,11,11,
06701     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,
06702     3,3,2,2,2,2,2,2,1,1,1,1
06703   };
06704   const int n4c1w1_g[] = {
06705     100, // Capacity
06706     500, // Number of items
06707     // Size of items (sorted)
06708     100,99,99,99,99,98,98,98,97,97,97,97,97,97,96,96,96,96,96,96,
06709     96,95,95,95,95,95,94,94,94,94,94,94,94,93,93,93,92,92,92,91,91,
06710     91,90,90,90,90,90,90,89,89,89,89,89,89,89,89,88,88,88,88,88,88,
06711     88,88,88,88,88,87,87,87,87,87,86,86,86,86,86,85,85,85,85,85,85,
06712     85,85,85,84,84,84,84,83,83,83,82,82,82,81,81,81,81,80,80,80,80,
06713     80,80,80,80,80,79,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,
06714     78,77,77,77,77,76,76,76,75,75,75,75,74,74,74,74,74,74,73,73,73,
06715     73,72,72,72,72,71,70,70,70,70,69,69,69,69,68,68,68,68,68,68,68,
06716     67,67,67,67,67,67,67,67,67,67,66,66,66,66,66,66,66,65,65,64,64,
06717     64,64,63,62,62,62,62,61,61,61,60,60,60,60,60,60,59,59,59,59,58,
06718     58,58,58,58,58,58,58,58,57,57,57,57,57,57,56,56,56,56,55,55,55,
06719     54,54,54,54,53,53,53,53,53,52,52,52,52,51,51,51,51,51,50,50,50,
06720     50,49,49,49,49,49,49,48,48,48,48,48,48,48,48,47,47,47,47,46,46,
06721     46,46,46,45,45,45,45,44,44,44,44,44,44,44,44,44,44,43,43,43,43,
06722     43,43,43,42,42,42,42,42,41,41,41,40,40,40,39,39,39,39,39,39,38,
06723     38,38,38,38,38,38,38,37,37,37,37,36,36,36,36,36,35,35,35,34,34,
06724     34,33,33,33,33,33,33,32,31,31,31,31,31,30,30,30,30,30,30,30,29,
06725     29,28,28,28,28,28,28,28,27,27,27,27,27,27,26,26,26,26,26,26,26,
06726     26,26,26,26,26,25,25,24,24,24,23,23,21,21,21,21,21,21,20,20,20,
06727     20,20,19,19,19,19,19,18,18,18,18,18,18,18,17,17,17,17,17,17,17,
06728     17,17,17,16,16,16,16,16,16,15,15,15,15,15,14,14,14,14,14,13,13,
06729     13,12,12,12,12,12,12,12,12,11,11,11,11,11,10,10,9,9,9,9,9,9,9,
06730     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,
06731     2,1,1,1,1,1
06732   };
06733   const int n4c1w1_h[] = {
06734     100, // Capacity
06735     500, // Number of items
06736     // Size of items (sorted)
06737     100,100,99,99,99,99,98,98,98,97,97,97,97,96,96,96,96,96,96,96,
06738     95,95,95,94,94,94,93,93,92,92,92,92,92,92,92,92,92,91,91,91,91,
06739     91,90,90,90,90,90,90,89,89,89,89,89,89,88,88,88,88,88,88,88,88,
06740     88,88,87,87,86,86,86,86,85,85,85,84,84,84,84,83,83,83,83,83,82,
06741     82,82,82,82,82,82,81,81,81,80,80,80,80,79,79,79,79,79,79,78,78,
06742     78,77,77,77,76,76,76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,
06743     74,74,74,74,74,74,74,73,73,73,73,72,72,72,72,72,72,72,72,71,71,
06744     70,70,69,69,69,69,69,69,69,68,68,68,68,67,67,67,67,67,67,66,66,
06745     66,66,66,66,66,66,66,66,65,65,63,63,63,63,63,63,63,63,63,62,62,
06746     62,62,62,62,62,62,61,61,61,60,60,60,60,60,60,60,59,59,59,59,59,
06747     59,59,58,58,58,58,58,58,57,57,57,56,56,56,56,55,55,55,54,54,53,
06748     53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,
06749     50,50,50,49,48,48,48,48,48,48,47,47,47,47,47,47,46,46,46,46,46,
06750     46,45,45,44,44,43,43,43,42,42,42,42,42,41,41,41,41,40,40,40,40,
06751     40,40,39,39,39,39,39,38,38,38,38,38,37,37,37,37,36,36,36,36,36,
06752     36,36,36,36,35,35,35,34,34,34,34,34,33,33,33,33,32,32,32,32,32,
06753     32,32,32,32,32,32,31,31,31,31,30,30,30,30,30,30,29,29,29,29,29,
06754     29,29,28,28,28,28,28,28,27,27,27,26,26,26,26,26,26,26,26,25,25,
06755     25,25,24,24,23,23,23,23,23,22,22,22,22,21,21,21,21,21,21,21,21,
06756     20,20,20,20,20,20,20,20,19,19,19,19,19,18,18,18,18,17,17,17,17,
06757     17,16,16,16,16,16,15,15,14,14,14,14,14,14,14,14,14,14,14,13,13,
06758     12,12,12,12,12,12,12,11,11,11,11,10,10,10,10,10,10,9,9,9,8,8,
06759     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,
06760     2,2,2,1,1,1,1
06761   };
06762   const int n4c1w1_i[] = {
06763     100, // Capacity
06764     500, // Number of items
06765     // Size of items (sorted)
06766     100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,98,
06767     98,98,97,97,97,97,97,96,96,95,95,95,95,94,94,93,93,93,93,92,92,
06768     92,92,92,91,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,88,88,
06769     88,88,88,88,88,87,87,87,87,87,87,86,86,86,86,86,86,86,85,85,85,
06770     85,85,84,84,84,84,84,83,83,82,82,82,82,82,82,82,81,81,81,81,81,
06771     81,80,80,80,80,80,79,78,78,78,78,77,77,77,77,77,76,76,76,76,76,
06772     75,75,75,75,75,75,75,74,74,74,74,74,74,73,73,73,73,73,73,73,72,
06773     72,72,72,70,70,70,69,69,69,69,69,68,68,68,68,68,68,67,67,66,66,
06774     66,65,65,65,65,65,64,64,64,63,63,63,63,63,63,63,63,63,62,62,62,
06775     62,62,61,61,60,60,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,
06776     58,57,57,56,56,56,56,55,55,55,55,55,55,54,54,54,54,54,53,53,53,
06777     53,53,53,53,53,52,52,52,52,51,51,51,51,51,50,50,50,50,50,50,50,
06778     50,50,50,50,50,49,49,49,49,49,48,48,48,48,48,48,48,48,48,47,47,
06779     47,47,47,47,46,46,46,46,45,45,45,45,44,44,44,44,44,43,43,43,43,
06780     42,42,42,42,41,41,41,41,41,41,41,41,41,41,41,41,41,40,40,40,40,
06781     40,40,39,39,39,39,39,39,39,39,39,38,38,38,38,38,38,37,37,37,37,
06782     37,37,37,37,36,36,36,35,35,35,35,34,34,34,34,34,34,34,34,33,33,
06783     33,32,32,32,32,32,32,32,32,32,32,32,32,31,31,31,31,31,31,31,29,
06784     29,29,29,28,28,28,28,28,28,28,27,27,27,27,26,26,25,25,25,25,24,
06785     24,23,23,23,23,23,23,23,22,22,21,21,20,20,20,20,20,19,19,19,19,
06786     18,18,18,18,18,18,17,17,17,17,16,16,15,15,15,14,14,14,14,14,14,
06787     14,14,14,13,13,13,13,13,12,12,12,11,11,11,11,11,10,10,10,9,9,
06788     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,
06789     2,2,2,1,1,1,1,1,1
06790   };
06791   const int n4c1w1_j[] = {
06792     100, // Capacity
06793     500, // Number of items
06794     // Size of items (sorted)
06795     100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,97,97,97,97,
06796     97,97,97,96,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,94,
06797     93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,92,92,92,91,
06798     91,91,91,90,90,90,90,90,90,90,89,88,88,88,88,88,87,87,87,87,87,
06799     87,86,86,86,86,85,85,85,85,84,84,84,84,84,83,83,83,83,83,83,83,
06800     82,82,82,82,82,81,81,81,81,81,81,80,80,80,80,80,80,79,79,79,78,
06801     78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,76,76,76,76,76,76,
06802     75,75,75,75,75,75,74,74,74,74,73,73,73,73,72,72,72,72,71,71,71,
06803     71,71,71,70,70,70,70,70,69,69,69,69,69,69,68,68,67,67,67,67,67,
06804     66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,64,
06805     64,63,63,63,63,63,63,63,63,63,63,63,62,62,62,62,61,61,61,60,60,
06806     60,60,60,60,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,58,58,
06807     57,57,57,57,57,57,56,56,56,55,55,55,55,55,55,55,54,54,54,54,54,
06808     53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,51,50,49,49,48,48,
06809     48,48,48,47,47,46,46,46,45,45,45,45,45,45,45,45,44,44,44,44,44,
06810     43,43,43,43,43,42,42,42,41,41,40,39,39,39,39,39,39,38,38,38,37,
06811     37,37,36,36,36,36,36,36,36,35,35,34,34,34,33,33,33,33,33,33,33,
06812     33,33,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,29,29,29,29,
06813     28,28,28,27,27,27,27,27,27,26,26,26,25,25,25,25,24,24,24,24,24,
06814     24,24,24,23,23,23,23,23,23,23,22,22,22,22,22,22,22,21,21,20,20,
06815     20,20,20,19,19,19,19,18,18,18,18,18,18,18,17,16,16,16,16,16,15,
06816     15,14,14,14,14,14,14,13,13,13,13,13,13,13,12,11,10,10,10,9,8,
06817     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,
06818     3,3,3,3,2,2,2,1,1
06819   };
06820   const int n4c1w1_k[] = {
06821     100, // Capacity
06822     500, // Number of items
06823     // Size of items (sorted)
06824     100,100,100,100,99,99,99,99,98,98,98,97,97,97,97,97,97,96,96,
06825     96,95,95,94,94,94,94,94,93,93,93,93,93,93,92,92,92,92,91,91,91,
06826     90,90,90,90,90,90,89,89,89,89,89,88,88,87,87,87,86,86,86,86,86,
06827     85,85,85,85,85,85,85,84,84,84,84,83,83,83,83,83,83,82,82,81,81,
06828     81,81,81,80,80,80,80,80,80,80,80,79,79,79,79,78,78,78,78,78,78,
06829     78,78,77,77,77,77,76,76,76,76,75,75,75,75,74,74,74,74,74,74,74,
06830     74,73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,71,71,70,70,70,
06831     70,69,69,69,69,69,69,69,68,68,68,68,68,68,68,67,67,67,67,67,66,
06832     66,66,66,66,66,65,65,65,64,64,64,64,64,64,63,63,63,63,62,62,62,
06833     61,61,61,61,61,61,60,60,60,60,60,60,60,60,59,59,58,58,58,58,58,
06834     58,58,58,58,58,57,57,57,56,56,56,55,55,55,55,55,55,54,54,54,54,
06835     54,53,53,53,53,53,53,53,52,52,52,52,52,51,51,51,50,50,50,50,50,
06836     50,49,49,49,49,49,49,49,49,49,49,49,49,48,48,47,47,46,46,46,46,
06837     46,46,46,46,46,46,46,45,45,45,44,44,44,43,43,43,43,43,42,42,42,
06838     42,42,42,41,41,41,40,40,40,40,40,40,40,39,39,39,39,39,39,38,38,
06839     37,37,37,37,37,37,36,36,36,36,36,35,35,35,35,35,35,35,35,35,34,
06840     34,34,33,33,33,33,33,32,32,32,32,32,31,31,31,30,30,30,30,30,30,
06841     30,29,29,29,29,29,29,28,28,28,28,28,28,28,28,28,27,27,27,27,27,
06842     26,26,26,26,26,25,25,25,24,24,23,23,23,22,22,22,22,22,22,22,22,
06843     22,22,21,21,21,21,20,20,20,19,19,19,19,19,18,18,18,17,17,17,17,
06844     17,17,17,17,17,16,16,16,16,16,15,15,15,15,14,14,14,14,13,13,13,
06845     12,12,12,12,12,11,11,10,10,10,10,10,10,10,8,8,8,8,8,8,8,7,7,7,
06846     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,
06847     1,1,1,1,1,1
06848   };
06849   const int n4c1w1_l[] = {
06850     100, // Capacity
06851     500, // Number of items
06852     // Size of items (sorted)
06853     100,100,100,100,100,99,99,99,99,99,99,99,98,97,97,97,96,96,96,
06854     96,96,96,96,96,95,95,95,95,94,94,94,94,94,94,93,93,93,93,92,91,
06855     91,91,91,91,90,90,89,89,89,89,88,88,88,88,87,87,87,87,87,87,87,
06856     86,86,86,86,86,85,85,85,85,85,85,85,85,85,85,85,85,84,84,84,84,
06857     84,83,83,82,82,82,82,82,81,81,81,81,81,80,80,80,79,79,79,79,79,
06858     79,79,78,78,78,78,78,78,77,77,77,77,77,77,76,76,76,76,76,76,76,
06859     75,75,75,75,75,74,74,74,74,74,74,74,74,74,73,73,73,73,73,72,72,
06860     72,72,72,71,71,71,71,71,71,70,70,70,69,69,69,69,69,69,68,68,68,
06861     68,68,68,68,68,67,67,67,67,66,66,66,66,66,66,66,65,65,65,65,65,
06862     64,64,64,64,64,63,63,63,62,62,62,62,62,62,62,62,61,61,61,61,60,
06863     60,60,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,56,56,56,
06864     56,56,56,56,55,55,55,55,54,54,54,54,53,53,53,53,52,52,52,52,52,
06865     52,51,51,51,51,51,51,50,50,49,49,49,49,49,48,48,48,48,48,47,47,
06866     47,47,47,46,46,46,45,45,44,44,44,44,44,44,43,43,43,43,42,42,42,
06867     42,42,42,42,42,41,41,41,41,41,40,40,40,39,39,39,38,38,38,38,38,
06868     38,37,37,37,37,36,36,36,36,36,36,36,36,35,35,35,35,35,35,34,34,
06869     34,34,34,34,34,34,34,33,33,33,32,31,31,31,31,31,31,30,30,30,30,
06870     30,29,29,29,29,29,29,29,28,28,28,27,27,27,27,26,26,26,26,26,26,
06871     25,25,25,25,25,25,24,24,24,24,24,24,23,23,23,23,23,23,22,22,22,
06872     22,21,21,21,21,21,21,21,21,19,18,18,18,18,18,18,18,17,17,17,17,
06873     17,17,17,17,17,16,16,16,16,15,15,15,15,15,15,15,15,15,14,14,14,
06874     13,13,13,13,12,12,12,12,12,11,11,10,10,10,10,10,10,10,9,9,9,9,
06875     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,
06876     2,2,2,2,1,1,1,1
06877   };
06878   const int n4c1w1_m[] = {
06879     100, // Capacity
06880     500, // Number of items
06881     // Size of items (sorted)
06882     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,97,
06883     97,97,96,96,95,95,95,94,94,94,94,94,94,94,93,93,93,93,93,93,93,
06884     92,92,92,92,91,91,91,90,90,90,90,90,90,89,89,89,89,89,88,88,88,
06885     88,88,88,87,87,87,87,87,86,86,86,86,86,86,85,84,84,84,83,83,83,
06886     83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,81,81,81,80,80,79,
06887     79,79,79,79,78,78,78,78,78,78,78,77,77,77,76,76,76,76,75,75,75,
06888     74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,72,72,72,71,71,70,
06889     70,70,70,70,70,69,69,69,69,68,68,68,67,67,67,67,67,66,66,66,66,
06890     66,64,64,64,64,63,63,63,63,63,63,63,62,62,62,62,61,61,60,60,60,
06891     60,60,60,60,60,60,60,59,59,58,58,58,58,58,58,57,57,57,57,56,56,
06892     56,56,56,56,54,53,53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,
06893     50,50,50,49,49,49,49,49,49,49,49,49,49,48,48,47,47,46,46,46,46,
06894     46,46,46,45,45,45,45,45,45,45,44,44,44,44,43,43,42,42,42,42,42,
06895     42,42,42,41,41,41,41,41,41,41,41,41,40,40,40,39,39,39,39,38,38,
06896     38,38,38,38,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,
06897     35,35,35,34,34,34,34,34,33,33,33,33,33,33,32,32,32,32,32,32,32,
06898     32,31,31,31,30,30,30,30,30,30,30,29,29,29,29,29,28,28,28,28,28,
06899     28,28,28,27,27,27,26,26,26,26,26,26,26,26,26,25,25,25,25,25,25,
06900     25,25,24,24,24,24,24,23,23,23,23,23,23,23,22,22,22,22,21,21,21,
06901     20,20,20,20,19,19,19,19,18,18,18,18,18,18,17,17,17,17,17,17,17,
06902     17,16,16,16,16,16,15,15,15,15,15,15,15,14,14,14,14,14,14,13,13,
06903     13,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,10,10,10,9,9,
06904     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,
06905     3,3,3,2,2,2,2,1,1,1
06906   };
06907   const int n4c1w1_n[] = {
06908     100, // Capacity
06909     500, // Number of items
06910     // Size of items (sorted)
06911     100,100,100,100,100,100,100,99,99,99,98,98,98,98,98,98,97,97,
06912     97,97,97,97,97,96,96,96,96,95,95,95,95,94,94,94,94,94,94,94,94,
06913     94,93,93,93,93,92,92,92,92,91,91,91,90,90,90,89,89,89,89,89,89,
06914     89,88,88,87,87,87,87,87,86,86,86,86,86,85,85,84,84,84,84,84,83,
06915     83,83,83,83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,80,80,80,
06916     80,79,79,79,79,79,78,78,78,78,77,77,76,76,76,76,76,76,75,75,75,
06917     75,75,75,75,75,75,75,74,74,73,73,73,73,73,73,72,72,72,72,72,71,
06918     71,71,71,70,70,70,70,69,69,69,68,68,68,68,68,68,68,68,68,67,67,
06919     67,67,66,66,66,66,66,66,66,66,66,65,64,64,64,64,64,64,64,64,63,
06920     63,63,63,63,63,63,62,62,62,62,62,62,62,62,61,61,61,61,61,61,61,
06921     60,59,59,59,59,58,58,58,58,57,57,57,57,57,56,55,55,55,55,55,55,
06922     54,54,54,54,54,54,54,53,53,53,53,53,53,53,52,52,52,51,51,51,51,
06923     51,51,51,50,50,50,50,50,50,49,49,49,49,49,49,49,48,48,48,47,47,
06924     46,46,45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,43,43,42,42,
06925     42,42,42,41,41,41,41,41,41,40,40,40,40,40,39,39,39,39,38,38,38,
06926     37,37,37,37,36,36,36,36,35,35,35,35,35,34,34,34,34,34,34,34,34,
06927     34,33,33,33,33,33,33,33,32,32,32,31,31,31,31,30,30,30,30,29,29,
06928     29,29,28,28,28,28,28,28,28,27,27,27,26,26,26,26,25,25,25,25,24,
06929     24,24,24,23,23,23,23,23,23,22,22,22,22,22,21,21,21,21,21,20,20,
06930     20,19,19,19,19,19,19,19,18,18,18,18,18,18,18,17,17,17,17,17,16,
06931     15,15,15,15,15,15,15,14,14,14,14,14,13,13,13,13,13,13,13,12,12,
06932     12,12,12,12,12,11,11,11,10,10,10,10,10,10,10,10,9,9,9,9,9,8,8,
06933     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,
06934     2,2,1,1,1,1,1,1
06935   };
06936   const int n4c1w1_o[] = {
06937     100, // Capacity
06938     500, // Number of items
06939     // Size of items (sorted)
06940     100,100,100,99,99,99,99,99,99,98,98,98,98,98,98,98,98,97,97,97,
06941     97,97,97,96,96,96,96,95,95,95,95,94,94,94,94,93,93,93,93,93,92,
06942     92,92,92,91,91,91,90,90,90,90,90,90,90,90,90,90,90,89,89,89,88,
06943     88,88,88,87,87,87,87,87,87,87,87,87,86,86,86,86,86,86,86,85,85,
06944     85,85,85,85,84,84,84,83,83,83,83,83,82,82,82,82,82,82,82,81,81,
06945     81,81,81,81,81,81,81,81,80,80,80,80,79,79,79,79,79,79,79,78,78,
06946     78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,74,74,
06947     74,74,73,73,73,73,73,72,72,72,72,72,71,71,71,71,69,69,69,69,69,
06948     69,68,68,67,67,67,67,67,66,66,66,66,65,65,65,65,65,64,64,63,62,
06949     62,62,62,61,61,61,61,60,60,60,60,60,60,60,60,59,59,59,59,59,59,
06950     59,59,58,58,58,58,57,57,57,57,57,57,57,57,56,55,55,55,55,54,53,
06951     53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,51,50,50,
06952     50,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,47,47,47,47,47,
06953     47,47,46,46,46,46,45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,
06954     43,43,43,42,42,42,42,42,42,41,41,41,41,40,40,40,40,39,39,38,38,
06955     37,37,37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,34,34,34,34,
06956     34,34,33,33,33,33,33,32,32,32,31,31,31,31,31,31,30,29,29,29,29,
06957     29,28,28,28,28,28,28,27,27,26,26,26,26,26,26,25,25,25,25,25,24,
06958     24,24,24,24,23,23,23,23,22,22,22,21,21,21,21,21,21,20,20,20,20,
06959     20,19,19,19,18,18,18,18,17,17,16,16,16,16,16,16,16,15,15,15,15,
06960     15,15,15,15,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,12,
06961     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,
06962     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,
06963     1,1,1,1
06964   };
06965   const int n4c1w1_p[] = {
06966     100, // Capacity
06967     500, // Number of items
06968     // Size of items (sorted)
06969     100,100,100,100,100,100,99,99,99,99,98,98,97,97,97,97,97,97,97,
06970     96,96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,
06971     93,92,92,92,91,91,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,
06972     89,89,89,89,89,88,88,88,88,88,88,88,87,87,87,87,86,86,86,86,86,
06973     85,85,85,85,85,84,84,84,84,84,83,83,83,83,83,83,82,82,82,82,81,
06974     81,81,81,81,81,81,80,80,80,80,80,80,79,78,78,78,78,78,77,77,77,
06975     77,77,77,77,76,76,76,76,76,76,76,76,75,75,75,75,75,75,74,74,74,
06976     74,73,73,73,73,72,72,72,72,72,72,72,71,71,71,71,71,71,70,70,70,
06977     70,70,70,70,69,69,69,69,69,68,68,68,68,68,67,66,66,66,65,65,65,
06978     65,65,65,65,64,64,63,63,63,63,63,62,62,62,62,62,62,61,61,61,61,
06979     61,60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,59,59,59,58,58,
06980     58,58,58,57,57,57,57,57,56,56,56,56,56,56,56,56,56,56,55,55,55,
06981     55,54,54,54,54,54,52,52,52,52,52,51,51,51,51,50,50,50,50,49,49,
06982     49,49,49,49,49,48,48,48,47,47,47,47,47,46,46,46,46,46,46,45,45,
06983     45,45,44,44,44,44,43,43,43,43,42,42,41,41,41,41,41,40,40,40,39,
06984     39,39,39,38,38,38,38,37,37,37,37,37,36,36,36,35,35,34,34,34,33,
06985     33,33,32,32,32,32,32,32,32,31,30,30,30,30,30,30,30,30,30,29,29,
06986     29,29,29,29,29,29,28,28,28,28,28,28,27,27,27,27,27,26,26,26,26,
06987     26,25,25,25,25,24,24,24,24,24,23,23,23,23,23,22,22,22,22,21,21,
06988     21,21,21,20,20,20,20,20,20,20,20,19,19,19,19,19,18,18,17,17,16,
06989     16,16,16,16,15,15,15,15,15,15,15,14,14,14,14,14,13,13,13,12,12,
06990     12,12,12,12,11,11,11,11,11,11,10,10,10,10,9,9,9,9,9,9,9,8,8,8,
06991     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,
06992     1,1,1,1,1,1
06993   };
06994   const int n4c1w1_q[] = {
06995     100, // Capacity
06996     500, // Number of items
06997     // Size of items (sorted)
06998     100,100,100,99,99,99,99,98,98,98,98,97,97,97,97,96,96,96,96,96,
06999     96,96,96,96,95,95,95,94,94,94,94,94,94,94,93,93,93,93,92,92,92,
07000     91,91,91,90,90,90,89,89,89,89,89,89,89,88,88,88,88,87,87,87,87,
07001     87,86,86,86,86,86,86,86,86,86,85,85,85,85,84,84,84,84,84,84,84,
07002     83,83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,
07003     80,79,79,79,79,78,78,78,78,78,77,77,77,77,77,77,77,77,77,77,77,
07004     76,76,76,75,75,75,75,75,75,74,74,74,73,73,73,73,73,73,73,72,72,
07005     72,72,72,72,71,71,71,71,71,70,70,70,70,70,69,69,69,69,69,68,68,
07006     68,68,68,68,68,68,67,67,67,67,67,67,67,67,66,66,66,66,66,66,66,
07007     66,66,65,65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,63,63,62,
07008     62,62,62,62,62,62,61,61,61,61,61,61,61,61,61,60,60,60,60,60,60,
07009     59,59,59,59,59,58,57,57,57,57,56,56,56,56,56,56,56,56,56,55,55,
07010     55,54,54,54,54,53,53,53,53,53,53,53,53,52,52,51,51,51,51,51,51,
07011     51,51,50,50,50,50,50,50,49,49,49,49,49,48,48,48,48,47,47,47,47,
07012     46,46,45,45,45,44,44,43,43,43,42,42,42,41,41,41,41,41,41,41,40,
07013     40,39,39,39,39,39,39,39,38,38,37,37,37,36,36,36,36,36,36,36,36,
07014     36,35,35,35,35,34,34,34,34,34,34,34,33,33,32,32,32,32,32,32,32,
07015     32,31,31,30,30,30,30,29,29,28,28,28,28,28,28,28,28,27,27,27,27,
07016     27,26,26,26,26,25,25,25,25,25,25,25,24,24,24,24,24,23,23,23,22,
07017     21,21,21,21,20,20,20,20,20,20,19,19,19,19,18,18,18,18,18,18,17,
07018     17,17,16,16,16,16,16,15,15,15,15,15,14,14,14,14,13,13,13,13,13,
07019     13,13,13,13,12,12,12,12,11,11,11,10,10,10,9,9,8,8,7,7,7,6,6,6,
07020     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,
07021     1,1,1,1,1
07022   };
07023   const int n4c1w1_r[] = {
07024     100, // Capacity
07025     500, // Number of items
07026     // Size of items (sorted)
07027     100,100,100,100,100,99,99,98,98,98,98,98,98,97,97,97,96,96,96,
07028     96,96,95,95,95,95,95,95,95,94,94,94,94,94,93,93,93,92,92,92,92,
07029     92,92,92,91,91,91,90,90,90,90,90,89,89,89,89,89,89,88,88,88,88,
07030     88,88,87,87,87,86,86,86,86,85,85,84,84,84,84,84,84,84,84,83,83,
07031     83,83,83,83,82,82,81,81,81,81,80,80,80,80,80,80,80,79,79,79,78,
07032     78,78,78,78,78,77,77,76,76,76,76,76,75,75,75,75,75,75,75,74,74,
07033     74,74,74,73,73,73,73,73,73,72,71,71,71,71,71,71,70,70,70,70,70,
07034     70,69,69,69,69,69,68,68,68,68,68,67,67,67,67,67,67,67,67,67,66,
07035     66,65,65,65,65,65,64,64,64,64,63,63,63,63,62,62,62,62,62,62,61,
07036     61,61,61,61,61,61,60,60,60,60,60,60,59,59,59,59,59,59,59,59,59,
07037     58,58,58,58,58,57,57,57,56,56,56,56,56,56,56,56,55,55,55,55,55,
07038     54,54,54,54,53,53,53,53,53,52,52,52,51,51,51,51,50,50,50,49,49,
07039     49,48,48,48,48,48,47,47,47,47,46,46,46,46,46,46,45,45,45,45,45,
07040     45,45,45,45,44,44,44,44,44,43,43,43,43,43,43,43,43,42,42,42,42,
07041     42,42,42,42,41,41,40,40,40,40,40,40,39,39,39,39,39,39,38,38,38,
07042     38,38,38,38,37,37,37,37,37,37,37,36,36,35,35,35,35,35,35,34,34,
07043     34,34,34,34,34,33,33,33,33,33,33,33,33,33,33,32,32,32,32,32,31,
07044     31,31,31,31,30,30,30,29,29,29,29,28,28,28,28,28,28,28,28,27,27,
07045     27,27,26,26,26,26,25,25,25,25,25,25,25,25,25,24,24,24,23,22,21,
07046     21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,19,19,19,19,19,19,
07047     18,18,18,18,18,18,17,17,17,17,17,17,16,16,16,16,15,15,15,15,15,
07048     15,14,14,14,14,14,14,14,14,13,13,12,12,12,12,12,11,11,11,11,10,
07049     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,
07050     4,4,4,4,4,3,3,3,2,1
07051   };
07052   const int n4c1w1_s[] = {
07053     100, // Capacity
07054     500, // Number of items
07055     // Size of items (sorted)
07056     100,99,99,99,99,99,99,99,99,99,99,98,98,98,98,98,98,98,98,98,
07057     97,96,96,96,96,96,96,96,95,95,95,95,95,95,95,94,94,93,92,92,92,
07058     92,91,91,91,91,91,91,90,90,90,90,90,89,89,88,88,88,88,88,88,88,
07059     88,87,87,87,87,87,86,86,86,86,85,85,85,85,85,85,85,85,85,84,84,
07060     84,84,83,83,83,83,83,82,82,82,82,82,82,82,82,82,81,81,81,81,81,
07061     81,81,80,80,80,80,80,79,79,79,79,79,78,78,78,78,78,78,78,78,78,
07062     78,77,77,77,77,77,77,77,77,76,76,76,76,75,75,75,75,74,74,74,74,
07063     73,73,73,73,73,73,72,71,71,71,70,70,70,69,69,69,69,69,69,68,68,
07064     68,68,68,68,68,68,67,67,66,66,66,66,66,66,66,66,66,66,66,65,65,
07065     65,65,65,65,65,64,64,64,64,64,63,63,63,63,63,62,62,62,62,62,62,
07066     61,61,61,61,61,61,61,60,60,60,60,60,60,60,59,59,59,59,59,59,59,
07067     58,58,57,57,57,57,55,54,54,54,54,53,53,53,53,52,52,52,51,51,50,
07068     50,50,50,49,49,48,48,48,48,47,47,47,46,46,46,46,46,46,45,45,44,
07069     44,44,44,44,44,44,44,44,44,43,43,43,43,43,43,42,42,42,42,41,41,
07070     41,41,41,41,40,40,40,40,39,39,39,39,39,39,39,39,39,39,38,38,38,
07071     38,38,38,37,37,37,36,36,36,36,36,35,35,35,35,35,35,35,35,34,34,
07072     34,34,34,33,33,33,32,32,32,32,32,31,31,31,31,31,30,30,30,29,29,
07073     29,29,29,29,28,28,27,27,27,27,27,27,27,27,26,26,26,26,26,25,25,
07074     25,24,24,24,24,23,23,23,23,23,23,23,22,22,22,22,22,21,21,21,21,
07075     21,21,20,20,20,20,20,20,19,19,19,19,19,19,19,18,18,18,17,17,17,
07076     17,17,17,17,17,17,17,17,16,16,16,16,16,16,16,15,15,15,14,14,14,
07077     14,14,14,13,13,13,13,13,13,12,11,11,11,11,10,10,10,10,9,9,9,9,
07078     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,
07079     2,2,2,1,1,1,1
07080   };
07081   const int n4c1w1_t[] = {
07082     100, // Capacity
07083     500, // Number of items
07084     // Size of items (sorted)
07085     100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,98,98,98,98,
07086     98,97,97,97,97,97,97,97,97,96,96,96,95,95,95,94,94,94,93,93,93,
07087     93,93,92,92,92,92,91,91,91,91,90,90,90,90,90,90,90,89,89,88,88,
07088     88,88,88,87,87,87,87,87,86,86,86,86,86,86,86,86,86,86,86,85,85,
07089     84,84,84,84,84,84,83,83,83,82,82,82,82,82,82,81,81,81,81,81,81,
07090     81,81,80,80,80,80,80,80,79,79,79,79,79,79,79,78,78,78,77,76,76,
07091     76,76,76,75,75,75,75,75,74,74,74,74,73,73,73,73,73,72,72,72,72,
07092     71,71,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,69,69,69,68,
07093     68,68,68,68,67,67,67,67,67,66,65,65,65,65,65,65,64,64,63,63,63,
07094     62,62,62,61,61,61,61,60,60,60,60,60,59,59,59,59,59,58,58,58,58,
07095     58,58,58,58,57,57,57,57,57,57,56,56,56,56,55,55,55,54,54,54,54,
07096     54,54,54,54,54,53,53,53,53,52,52,52,52,52,51,51,51,51,51,51,51,
07097     50,50,50,50,50,50,50,50,50,50,49,49,49,49,49,49,48,48,48,48,47,
07098     47,47,46,46,46,46,46,46,46,46,46,46,45,45,45,45,45,44,44,44,43,
07099     43,43,43,43,43,42,42,42,42,42,41,40,40,40,40,40,40,39,39,39,38,
07100     38,38,38,38,38,38,38,37,37,37,37,37,36,35,35,35,35,34,34,34,34,
07101     34,34,33,33,33,33,32,31,31,31,30,30,30,30,29,29,29,29,29,29,28,
07102     28,28,28,27,27,27,27,27,27,27,27,26,26,26,26,26,26,26,25,25,25,
07103     25,25,24,24,24,24,23,23,23,23,23,23,22,22,21,21,21,21,21,20,20,
07104     20,20,20,20,19,19,18,18,18,18,17,17,17,17,16,16,16,15,15,15,14,
07105     14,14,14,13,13,12,12,12,12,12,12,12,12,12,12,12,11,11,11,11,11,
07106     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,
07107     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,
07108     1,1
07109   };
07110   const int n4c1w2_a[] = {
07111     100, // Capacity
07112     500, // Number of items
07113     // Size of items (sorted)
07114     100,100,100,100,99,99,99,99,98,98,98,98,98,97,97,97,97,97,97,
07115     97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,95,95,95,95,94,94,
07116     94,94,94,94,94,93,93,93,93,92,92,92,92,92,91,91,91,91,91,91,91,
07117     90,90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,88,88,88,88,
07118     88,88,88,88,88,88,88,88,87,87,87,87,87,86,86,86,86,86,86,86,86,
07119     86,85,85,85,85,85,85,85,84,84,84,84,84,84,84,83,83,83,83,83,83,
07120     82,82,82,82,82,81,81,81,80,80,80,80,80,80,80,80,80,80,79,79,79,
07121     79,78,78,78,78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,75,
07122     74,74,73,73,73,72,72,72,72,72,72,72,71,71,71,71,71,71,71,71,71,
07123     71,71,70,70,70,70,70,70,70,70,70,70,69,69,69,69,68,68,68,68,68,
07124     68,67,67,67,67,67,66,66,66,66,66,65,65,65,65,64,64,64,63,63,63,
07125     63,63,62,62,62,62,62,62,62,62,62,61,61,61,61,61,61,61,61,61,61,
07126     60,60,60,60,60,59,59,58,57,57,57,57,57,57,57,57,56,56,56,56,56,
07127     55,55,55,55,55,55,55,54,54,54,54,54,54,53,53,53,53,53,52,52,52,
07128     52,52,51,51,51,51,51,51,50,50,50,50,50,49,49,49,49,49,49,48,48,
07129     48,48,48,48,48,48,48,48,48,47,47,47,47,47,47,47,47,47,47,47,46,
07130     46,46,46,46,46,45,45,45,45,45,44,44,44,44,44,43,43,43,43,42,42,
07131     42,42,42,42,41,41,41,41,40,40,40,40,40,40,40,39,39,39,38,38,38,
07132     38,38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,37,37,37,
07133     36,36,36,36,36,36,36,35,35,35,35,35,35,35,34,34,33,33,33,33,33,
07134     33,32,32,32,32,32,32,32,31,31,31,31,31,31,31,31,31,31,30,29,29,
07135     29,29,29,29,29,29,28,28,28,28,28,27,27,27,27,27,27,27,27,27,26,
07136     26,26,26,26,26,26,25,25,25,24,24,24,24,24,24,23,23,23,22,22,22,
07137     22,22,22,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,20
07138   };
07139   const int n4c1w2_b[] = {
07140     100, // Capacity
07141     500, // Number of items
07142     // Size of items (sorted)
07143     100,100,100,100,100,100,100,100,100,100,100,99,99,99,98,98,98,
07144     98,97,97,97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,94,
07145     94,94,94,93,93,93,93,93,92,92,92,92,92,92,91,91,91,91,91,91,91,
07146     90,90,90,90,90,90,90,90,90,90,90,89,89,89,89,88,88,88,88,88,87,
07147     87,87,87,87,87,87,87,86,86,86,86,85,85,85,85,85,85,84,84,84,84,
07148     83,83,83,83,82,82,82,82,82,82,82,81,81,81,80,80,80,80,80,80,80,
07149     80,80,80,80,79,79,79,79,79,79,79,79,78,78,78,78,78,77,77,77,77,
07150     77,77,77,77,77,76,76,76,76,76,76,75,75,75,75,75,74,74,74,74,74,
07151     74,74,74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,72,72,72,
07152     72,72,72,71,71,71,71,71,71,71,70,70,70,70,70,69,69,69,69,69,69,
07153     68,68,68,68,68,68,67,67,67,67,67,67,67,67,67,67,66,66,66,66,66,
07154     65,65,65,65,65,65,64,64,64,64,63,63,63,63,63,62,62,62,62,62,62,
07155     62,61,61,61,61,61,61,61,60,60,60,60,60,60,59,59,59,59,59,59,59,
07156     59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,57,56,56,56,56,56,
07157     56,56,56,55,55,55,55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,
07158     53,52,52,52,52,52,51,51,51,51,51,51,51,51,50,50,50,50,50,50,49,
07159     49,48,48,48,48,48,48,47,47,47,47,47,47,47,47,47,46,46,46,46,46,
07160     46,46,46,45,45,45,44,44,44,44,43,43,43,43,43,43,43,43,42,42,42,
07161     42,42,41,41,41,41,41,40,40,40,40,40,40,39,39,39,39,39,39,39,39,
07162     39,38,38,37,37,37,37,36,36,36,36,36,35,35,35,35,35,35,35,35,34,
07163     34,34,34,33,33,33,33,33,33,33,32,32,32,32,32,31,31,31,31,31,31,
07164     30,30,30,30,30,30,30,30,30,29,29,29,28,28,28,28,28,28,28,28,28,
07165     28,28,27,27,27,27,27,26,26,26,25,25,25,25,25,25,25,25,25,25,24,
07166     24,24,24,24,24,23,23,23,23,23,23,22,22,22,21,20,20,20,20,20,20
07167   };
07168   const int n4c1w2_c[] = {
07169     100, // Capacity
07170     500, // Number of items
07171     // Size of items (sorted)
07172     100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,98,98,98,
07173     97,97,97,96,96,96,96,95,95,95,95,94,94,93,93,93,93,93,93,93,93,
07174     93,92,92,92,92,92,91,91,91,91,91,91,91,90,90,90,90,90,89,89,89,
07175     89,89,89,89,89,88,88,88,87,87,86,86,86,86,86,86,86,86,86,86,85,
07176     85,85,85,85,85,85,85,85,84,84,83,83,83,83,83,82,82,82,82,82,82,
07177     82,81,81,80,80,80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,
07178     79,79,78,78,78,78,78,78,78,78,78,78,78,78,78,77,77,77,77,77,77,
07179     77,76,76,76,76,76,76,76,76,76,76,76,75,75,75,75,75,75,74,74,74,
07180     74,74,74,74,74,74,73,73,73,73,73,72,72,72,71,71,71,71,71,70,70,
07181     70,70,70,70,69,68,68,67,67,67,67,67,67,66,66,66,66,66,66,66,66,
07182     66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,
07183     62,62,62,62,62,61,61,61,60,60,60,60,60,60,60,59,59,59,59,59,59,
07184     59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,57,57,56,56,56,56,
07185     56,56,55,55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,53,53,52,
07186     52,52,52,52,52,52,52,52,52,52,52,52,52,51,51,51,51,50,50,50,50,
07187     50,50,49,49,49,49,49,49,49,49,49,49,48,48,47,47,47,47,47,47,47,
07188     46,46,46,46,46,46,46,45,45,45,45,44,44,44,44,44,44,43,43,43,43,
07189     42,42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,40,40,40,40,40,
07190     40,40,39,39,39,39,39,39,38,38,38,38,37,37,37,37,37,37,37,37,37,
07191     36,36,36,36,36,36,36,36,36,36,35,35,35,35,35,35,35,34,34,34,34,
07192     34,34,34,33,33,33,33,33,32,32,32,31,31,31,31,31,31,31,31,31,31,
07193     31,30,30,30,30,30,30,30,30,30,30,29,29,29,29,29,29,28,28,28,28,
07194     28,28,27,27,27,27,27,27,27,27,26,26,26,26,25,25,25,24,24,24,24,
07195     24,24,23,23,23,23,23,23,22,22,22,21,21,21,21,20,20,20,20
07196   };
07197   const int n4c1w2_d[] = {
07198     100, // Capacity
07199     500, // Number of items
07200     // Size of items (sorted)
07201     100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,98,98,98,98,
07202     98,97,97,97,97,97,97,96,96,96,96,96,96,95,95,95,95,95,95,94,94,
07203     94,94,94,94,94,94,93,93,93,92,92,92,92,92,92,92,91,91,91,91,91,
07204     91,91,90,90,90,90,90,89,89,89,89,89,88,88,88,88,87,87,87,87,87,
07205     86,86,86,86,86,86,86,86,85,85,85,85,85,85,84,84,84,84,84,84,84,
07206     84,84,84,83,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,82,81,
07207     81,81,81,81,80,80,80,80,80,79,79,79,79,79,79,79,79,79,79,78,78,
07208     78,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,75,75,
07209     75,75,75,75,74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,71,
07210     71,70,70,70,70,69,69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,
07211     67,67,67,67,66,66,66,66,66,65,65,65,65,65,65,65,65,65,65,64,64,
07212     64,64,64,64,64,63,63,63,63,63,63,63,63,62,62,62,62,62,62,62,61,
07213     61,61,61,61,61,61,61,61,61,60,60,60,60,60,60,59,59,59,59,59,59,
07214     59,59,59,58,58,58,58,58,58,58,58,57,57,57,57,57,57,57,57,56,56,
07215     56,56,55,55,55,55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,53,
07216     52,52,52,52,51,51,51,51,50,50,49,49,49,49,49,49,49,49,49,48,48,
07217     48,48,47,47,47,47,47,47,47,47,47,47,46,46,46,46,45,45,45,45,45,
07218     45,44,44,43,43,43,43,43,43,43,43,42,42,41,41,41,41,41,40,40,40,
07219     40,40,40,39,39,39,39,38,38,38,37,37,37,37,37,37,37,36,36,36,36,
07220     36,36,36,36,36,36,36,36,35,35,35,34,34,34,34,34,33,33,32,32,32,
07221     32,32,32,32,31,31,31,30,30,30,30,29,29,29,29,29,29,29,29,29,28,
07222     28,28,28,28,28,28,28,28,28,27,27,27,27,27,27,26,26,26,26,26,26,
07223     26,26,26,25,25,25,25,25,24,24,24,24,24,23,23,23,22,22,22,22,22,
07224     22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,20,20,20,20
07225   };
07226   const int n4c1w2_e[] = {
07227     100, // Capacity
07228     500, // Number of items
07229     // Size of items (sorted)
07230     100,100,100,100,100,99,99,99,99,99,99,98,98,98,98,98,98,98,98,
07231     98,98,97,97,97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,
07232     95,95,95,94,94,94,94,93,93,93,93,93,92,92,92,92,92,92,91,91,91,
07233     91,91,91,90,90,90,90,90,90,90,90,90,89,89,89,88,88,88,88,87,87,
07234     87,87,87,87,86,86,86,86,85,85,85,85,85,85,84,84,84,83,83,83,83,
07235     82,82,82,82,82,82,82,81,81,81,81,81,81,81,81,81,81,81,81,81,81,
07236     81,81,81,80,80,80,80,79,79,79,78,78,78,78,77,77,77,77,76,76,76,
07237     76,75,75,75,75,75,74,74,74,74,74,74,74,74,73,73,73,73,73,73,72,
07238     72,72,72,72,71,71,71,71,70,70,70,70,70,69,69,69,69,69,69,68,68,
07239     68,68,68,68,68,68,68,68,68,67,67,67,67,67,66,66,66,66,65,65,65,
07240     65,65,65,64,64,64,64,64,64,64,64,64,64,64,64,64,64,63,63,63,63,
07241     63,62,62,62,62,61,61,61,61,61,61,61,61,61,60,60,59,59,59,59,59,
07242     58,58,58,58,58,58,57,57,57,57,57,56,56,56,56,55,55,55,55,55,55,
07243     55,54,54,54,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,52,
07244     52,51,51,51,51,51,51,50,50,50,50,50,50,50,49,49,48,48,48,48,48,
07245     48,47,47,47,47,47,47,47,46,46,46,46,46,46,46,45,45,45,45,45,45,
07246     45,45,45,45,44,43,43,43,43,43,43,43,43,42,42,42,42,42,42,42,41,
07247     41,41,41,41,41,41,41,40,40,40,40,40,40,40,40,40,39,39,39,39,39,
07248     39,39,39,38,38,38,37,37,37,37,37,37,37,37,37,36,36,36,36,36,36,
07249     35,35,35,35,35,35,35,35,35,34,33,33,33,33,33,33,33,33,33,33,32,
07250     32,32,32,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,29,
07251     29,28,28,28,28,27,27,27,27,27,27,27,27,26,26,26,26,26,25,25,25,
07252     25,25,25,25,25,25,24,24,24,24,24,24,23,23,23,23,23,23,23,23,22,
07253     22,22,22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,20,20
07254   };
07255   const int n4c1w2_f[] = {
07256     100, // Capacity
07257     500, // Number of items
07258     // Size of items (sorted)
07259     100,100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,
07260     98,98,97,97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,94,
07261     94,94,94,93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,92,
07262     91,91,91,91,91,91,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,
07263     88,88,88,87,87,87,87,87,86,86,86,86,86,86,86,86,85,85,85,85,85,
07264     85,84,84,84,84,84,84,84,84,83,83,83,82,82,82,82,82,82,81,81,80,
07265     80,80,80,79,79,79,79,79,79,79,79,79,79,78,78,78,78,77,77,76,76,
07266     76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,74,74,74,
07267     74,73,73,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,
07268     70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,68,68,68,68,68,67,
07269     67,67,67,67,66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,
07270     64,64,64,64,64,64,64,63,63,63,63,63,63,62,62,62,62,62,61,61,61,
07271     61,61,61,60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,59,59,58,
07272     58,58,57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,
07273     55,55,55,54,54,54,54,53,53,53,53,53,53,52,52,52,52,51,51,51,51,
07274     51,51,51,51,51,51,50,50,50,50,50,49,49,49,48,48,48,48,48,48,47,
07275     47,47,47,47,46,46,46,46,46,45,45,45,45,44,44,44,44,43,43,43,43,
07276     43,43,43,43,43,43,42,42,42,42,42,42,42,42,42,41,41,41,41,41,41,
07277     41,40,40,40,40,40,40,40,40,39,39,39,39,39,38,38,38,38,38,38,38,
07278     38,37,37,37,37,37,37,37,37,37,36,36,36,35,35,35,35,35,35,34,34,
07279     33,33,33,33,33,33,33,33,33,32,32,32,32,32,31,31,31,31,31,31,31,
07280     31,31,31,31,31,31,30,30,30,30,30,30,30,29,29,29,28,28,28,28,28,
07281     28,27,27,27,26,26,26,26,26,25,25,25,25,24,24,24,24,24,23,23,23,
07282     23,23,22,22,22,22,21,21,21,20,20,20,20,20,20,20,20,20,20,20
07283   };
07284   const int n4c1w2_g[] = {
07285     100, // Capacity
07286     500, // Number of items
07287     // Size of items (sorted)
07288     100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,98,98,97,
07289     97,97,97,97,97,96,96,96,96,96,95,95,95,95,95,95,95,95,95,94,94,
07290     94,94,94,94,94,93,93,93,93,93,93,92,92,92,92,92,92,91,91,91,90,
07291     90,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,88,87,87,87,86,
07292     86,86,86,85,85,85,85,85,85,84,84,84,83,83,82,82,82,82,82,82,82,
07293     82,81,81,81,81,81,81,81,81,80,80,80,80,80,80,80,80,80,80,80,79,
07294     79,79,79,79,78,78,78,78,78,78,77,77,76,76,76,76,76,76,76,75,75,
07295     75,75,75,75,75,75,74,74,74,74,74,74,74,73,73,73,73,73,73,72,72,
07296     72,72,72,72,72,72,71,71,71,71,70,70,70,70,70,70,70,69,69,69,68,
07297     68,68,68,67,67,67,67,66,66,66,66,66,66,66,66,66,65,65,65,65,65,
07298     65,65,64,64,64,64,64,63,63,63,63,62,62,62,62,62,62,61,61,61,61,
07299     61,61,60,60,60,59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,57,
07300     57,57,56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,55,54,54,54,
07301     54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,50,50,
07302     50,50,50,50,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,48,48,
07303     48,47,47,46,46,46,46,45,45,45,45,45,45,45,45,45,45,44,44,44,44,
07304     44,44,44,43,43,43,43,43,43,42,42,42,42,42,42,42,42,41,41,41,41,
07305     41,41,41,41,41,40,40,40,40,40,40,40,40,39,39,39,39,38,38,38,38,
07306     38,38,37,37,37,37,37,37,37,37,36,36,36,36,36,36,36,35,35,35,35,
07307     35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,34,34,33,33,33,
07308     33,33,33,33,33,33,33,32,32,32,31,31,31,31,31,31,30,30,30,30,30,
07309     30,30,29,29,29,29,29,29,29,29,28,28,28,28,28,28,27,27,27,26,26,
07310     26,26,26,26,26,25,25,25,25,25,25,24,24,24,24,24,23,23,23,22,22,
07311     22,22,22,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20
07312   };
07313   const int n4c1w2_h[] = {
07314     100, // Capacity
07315     500, // Number of items
07316     // Size of items (sorted)
07317     100,100,100,100,100,99,99,99,98,98,98,97,97,97,97,97,97,96,96,
07318     96,96,96,96,95,95,95,95,95,95,95,95,95,95,94,94,94,94,94,94,94,
07319     94,94,93,93,93,93,92,92,92,92,92,92,91,91,91,91,91,90,90,90,90,
07320     90,89,89,89,89,89,88,88,88,88,88,87,87,87,87,86,86,86,86,85,85,
07321     85,85,85,85,84,84,84,84,84,84,83,83,83,83,83,83,83,83,82,82,82,
07322     82,82,82,82,82,81,81,81,80,80,80,80,80,80,80,79,79,79,79,78,78,
07323     78,77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,75,
07324     75,75,75,75,74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,71,
07325     71,71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,68,
07326     68,68,68,68,68,68,68,68,68,67,67,67,67,67,67,67,67,66,66,66,66,
07327     66,66,66,65,65,65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,63,
07328     63,63,62,62,62,62,62,62,61,61,61,61,61,60,60,60,60,60,60,59,59,
07329     59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,58,58,57,57,56,
07330     56,56,56,56,56,56,56,56,55,55,55,55,55,55,54,54,53,53,53,53,53,
07331     53,52,52,52,52,52,52,51,51,51,51,51,51,51,50,50,50,50,49,49,49,
07332     49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,48,48,48,47,47,47,
07333     46,46,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,44,
07334     44,44,43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,41,41,41,41,
07335     41,40,40,39,39,39,39,39,39,39,38,38,38,38,38,38,37,37,37,37,37,
07336     37,37,36,36,36,36,35,35,35,35,35,34,34,34,34,33,33,33,33,33,33,
07337     33,33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,30,30,30,30,30,
07338     30,30,30,30,30,29,29,29,29,29,29,28,28,28,27,27,27,27,27,27,26,
07339     26,26,26,26,26,26,26,26,25,25,25,25,25,24,24,24,23,23,23,23,23,
07340     22,22,22,22,22,22,22,21,21,21,20,20,20,20,20,20,20,20,20
07341   };
07342   const int n4c1w2_i[] = {
07343     100, // Capacity
07344     500, // Number of items
07345     // Size of items (sorted)
07346     100,100,100,100,100,99,99,99,98,98,98,98,97,97,97,97,96,96,96,
07347     96,96,96,96,96,96,95,95,95,95,95,94,94,94,94,94,94,94,93,93,93,
07348     93,93,92,92,92,92,92,92,92,91,91,91,91,91,90,90,90,90,89,89,89,
07349     89,89,89,89,89,89,89,89,89,89,89,88,88,87,87,87,87,87,86,86,86,
07350     86,86,86,86,86,86,85,85,85,85,85,84,84,84,84,84,83,83,83,83,82,
07351     82,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,80,80,79,79,79,
07352     79,79,79,79,79,79,79,78,78,78,78,77,77,77,77,77,76,76,76,76,76,
07353     75,75,75,75,75,75,75,75,75,75,75,74,74,74,74,73,73,73,73,73,73,
07354     73,72,72,72,72,72,72,72,71,71,71,71,71,71,71,71,70,70,70,70,69,
07355     69,69,69,69,69,69,68,68,68,68,67,67,67,66,66,66,66,66,66,65,65,
07356     64,64,64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,62,62,62,62,
07357     61,61,61,61,61,61,60,60,60,60,59,59,59,59,59,59,59,58,58,58,58,
07358     57,57,57,57,57,56,56,56,56,56,56,56,56,56,55,55,55,55,55,55,54,
07359     54,54,54,54,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,
07360     50,50,50,50,49,49,49,49,49,49,48,48,48,48,48,47,47,46,46,46,46,
07361     46,46,46,45,45,45,45,45,45,45,45,45,44,44,44,43,43,43,43,43,43,
07362     43,43,43,43,42,42,42,42,41,41,41,41,40,39,39,39,39,39,39,39,39,
07363     39,38,38,38,38,37,37,37,37,37,37,37,37,37,37,36,36,36,36,35,35,
07364     35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,
07365     33,33,33,33,33,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,31,
07366     31,31,31,31,31,30,30,30,30,30,29,29,29,28,28,28,28,28,28,27,27,
07367     27,27,27,27,26,26,26,26,26,26,26,25,25,25,25,25,25,25,25,25,25,
07368     25,25,25,24,24,24,24,24,24,24,24,24,24,23,23,23,23,23,23,23,23,
07369     22,22,22,22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,20
07370   };
07371   const int n4c1w2_j[] = {
07372     100, // Capacity
07373     500, // Number of items
07374     // Size of items (sorted)
07375     100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,98,97,97,97,
07376     97,97,97,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,95,
07377     95,94,94,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,92,91,
07378     91,91,91,91,91,91,90,90,90,90,90,90,89,88,88,88,88,88,88,88,87,
07379     87,87,87,87,87,87,86,86,86,86,86,85,85,85,85,84,84,84,84,84,83,
07380     83,83,83,83,82,82,82,82,82,82,82,82,82,82,82,82,81,81,81,81,81,
07381     80,80,80,80,80,79,79,79,79,79,79,79,79,79,79,79,78,78,78,78,77,
07382     77,77,77,77,77,77,76,76,76,76,76,76,75,75,75,75,74,74,74,74,74,
07383     73,73,73,73,73,73,73,73,72,72,72,71,71,71,71,71,71,71,71,70,70,
07384     70,70,69,69,69,69,68,68,68,68,68,68,68,67,67,67,67,67,66,66,66,
07385     66,66,65,65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,64,64,
07386     64,63,63,63,62,62,62,62,62,62,62,61,61,61,60,60,60,60,60,59,59,
07387     59,59,59,59,58,58,58,58,57,57,57,57,57,56,56,56,56,56,56,56,55,
07388     54,54,54,54,54,54,54,54,54,54,53,53,53,53,53,53,53,52,52,52,52,
07389     52,51,51,51,51,51,51,51,50,50,50,50,50,50,49,49,49,49,48,48,48,
07390     47,47,47,46,46,46,46,46,46,46,46,45,45,45,45,45,45,44,43,43,43,
07391     43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,41,41,41,41,41,40,
07392     40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,39,39,39,38,38,
07393     38,38,38,38,38,37,37,37,37,37,36,36,36,36,36,36,35,35,35,35,35,
07394     34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,32,32,31,31,31,
07395     31,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,29,
07396     29,29,29,29,29,28,28,28,28,28,28,28,28,28,28,27,27,27,27,26,26,
07397     26,26,26,25,25,25,25,25,25,25,25,25,24,24,24,24,24,24,23,23,22,
07398     22,22,22,22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,20
07399   };
07400   const int n4c1w2_k[] = {
07401     100, // Capacity
07402     500, // Number of items
07403     // Size of items (sorted)
07404     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,97,97,
07405     97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,94,
07406     93,93,93,93,93,92,92,92,92,92,92,91,91,91,91,90,90,90,90,90,90,
07407     89,89,89,89,89,89,89,89,88,88,88,88,88,88,88,88,88,88,87,87,87,
07408     87,87,87,86,86,86,86,86,86,86,85,85,84,84,84,84,84,84,84,84,83,
07409     83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,80,
07410     80,80,79,79,79,79,79,78,78,78,78,78,78,77,77,77,77,77,77,77,77,
07411     76,76,76,76,75,75,75,75,75,75,75,75,74,74,74,74,74,74,73,73,73,
07412     73,73,73,73,73,73,72,72,72,71,71,71,71,71,71,71,71,70,70,70,70,
07413     70,70,69,69,69,69,69,69,69,69,68,68,68,68,68,67,67,67,67,67,67,
07414     67,67,67,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,
07415     63,63,63,63,63,63,62,62,61,61,61,61,61,61,61,60,60,60,60,60,60,
07416     59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,
07417     56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,53,53,53,52,
07418     52,52,52,52,52,51,51,51,51,51,51,51,51,51,51,50,50,50,49,49,48,
07419     48,48,48,47,47,47,47,47,47,46,46,46,45,45,45,45,45,45,45,45,45,
07420     44,44,44,44,44,44,44,43,43,43,43,43,43,43,43,43,42,42,42,42,41,
07421     41,41,41,41,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,38,
07422     37,37,37,36,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,35,35,
07423     34,34,34,34,34,33,33,33,33,33,33,33,33,33,33,33,33,33,32,32,32,
07424     32,32,32,32,32,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30,30,
07425     29,29,29,29,29,29,29,29,29,29,29,28,28,28,28,27,27,27,26,26,25,
07426     25,25,25,25,25,25,25,25,25,24,24,24,24,24,24,24,24,24,24,24,23,
07427     23,23,23,22,22,22,22,22,22,22,22,22,21,21,21,21,20,20,20,20
07428   };
07429   const int n4c1w2_l[] = {
07430     100, // Capacity
07431     500, // Number of items
07432     // Size of items (sorted)
07433     100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,98,
07434     98,98,98,98,98,97,97,97,97,97,97,97,96,96,96,96,96,96,95,95,95,
07435     95,95,95,95,95,94,94,94,93,93,93,92,92,92,91,91,91,91,91,91,90,
07436     90,90,90,89,89,89,89,89,89,89,89,88,88,88,88,88,88,88,88,88,88,
07437     87,87,87,86,86,86,86,86,86,86,85,85,85,85,85,85,85,84,84,84,84,
07438     84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,82,82,82,82,82,82,
07439     81,81,81,81,81,81,81,80,80,80,79,79,78,78,78,78,78,78,78,78,78,
07440     77,77,77,77,77,77,77,77,77,76,76,76,75,75,74,74,74,74,74,74,73,
07441     73,73,73,73,73,72,72,72,72,71,71,71,71,71,71,71,70,70,70,70,69,
07442     69,69,69,69,69,69,69,68,68,68,68,68,68,68,68,67,67,67,66,66,66,
07443     66,65,65,65,65,65,65,65,65,64,64,64,64,64,63,63,63,63,63,63,62,
07444     62,62,62,62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,60,60,
07445     60,60,60,59,59,59,59,58,58,58,58,58,58,58,58,57,57,57,57,57,57,
07446     57,57,57,57,56,56,56,56,56,56,56,56,56,56,56,56,55,55,55,54,54,
07447     54,53,53,53,53,53,53,52,52,52,52,52,52,52,52,51,51,51,51,51,51,
07448     50,50,50,50,50,50,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,
07449     47,47,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,44,
07450     43,43,43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,41,41,40,40,
07451     40,39,39,39,39,39,39,39,39,39,38,38,38,38,38,38,38,38,38,37,37,
07452     37,36,36,36,36,36,35,35,35,35,35,35,34,34,34,34,34,33,33,33,33,
07453     33,33,33,33,32,32,31,31,31,31,30,30,30,30,30,29,29,29,29,29,29,
07454     29,28,28,28,28,28,27,27,27,27,27,27,27,27,26,26,26,26,26,26,25,
07455     25,25,25,25,25,25,24,24,24,24,24,24,23,23,23,23,23,23,23,22,22,
07456     22,22,22,22,22,22,22,21,21,21,21,21,21,21,21,20,20,20,20,20,20
07457   };
07458   const int n4c1w2_m[] = {
07459     100, // Capacity
07460     500, // Number of items
07461     // Size of items (sorted)
07462     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,
07463     98,98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,97,97,96,96,96,
07464     96,95,95,95,95,95,95,95,95,94,94,94,94,94,94,94,93,93,92,92,92,
07465     92,92,91,91,91,91,91,91,91,90,90,90,90,89,89,89,89,88,88,88,88,
07466     88,87,87,87,87,86,86,86,86,85,85,85,85,85,84,84,84,83,83,83,83,
07467     83,83,83,82,82,82,82,82,82,81,81,81,81,81,81,81,81,81,80,80,80,
07468     80,80,79,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,78,
07469     78,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,75,74,
07470     74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,72,72,72,72,71,71,
07471     71,71,71,70,70,70,70,70,69,69,69,69,69,69,69,68,68,68,68,68,68,
07472     68,68,68,68,68,68,67,67,67,67,67,66,66,66,66,66,66,66,66,65,65,
07473     65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,63,
07474     62,62,62,62,62,62,62,61,61,61,61,61,61,61,61,61,60,60,60,60,60,
07475     59,59,59,59,59,59,59,59,58,58,58,58,57,57,57,57,56,56,56,56,56,
07476     56,55,55,55,54,54,53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,
07477     51,51,51,51,50,50,50,50,50,50,49,49,49,49,48,48,48,48,48,48,47,
07478     47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,46,46,46,46,45,45,
07479     45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,43,43,43,43,42,42,
07480     42,42,42,42,42,42,41,41,41,40,40,40,40,40,39,39,39,39,38,38,38,
07481     37,37,37,37,37,36,36,36,36,36,36,35,35,35,35,35,35,35,34,34,34,
07482     33,33,33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,
07483     30,30,30,30,30,30,30,30,30,30,29,29,29,29,28,28,28,28,28,28,28,
07484     28,28,27,27,27,27,27,27,26,26,25,25,25,25,24,24,24,24,24,24,24,
07485     23,23,23,22,22,22,22,22,22,22,21,21,21,21,21,21,20,20,20,20
07486   };
07487   const int n4c1w2_n[] = {
07488     100, // Capacity
07489     500, // Number of items
07490     // Size of items (sorted)
07491     100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,98,98,
07492     98,98,98,98,98,97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,
07493     95,95,95,94,94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,92,92,
07494     92,92,92,92,92,92,91,91,91,91,91,91,91,90,90,90,90,90,90,90,90,
07495     89,89,89,89,89,89,89,89,89,88,88,88,88,88,88,88,87,87,87,87,87,
07496     87,86,86,86,86,85,85,85,85,85,85,85,85,85,84,84,84,84,84,83,83,
07497     83,83,82,81,81,81,81,81,80,80,80,80,79,79,79,79,79,79,79,78,78,
07498     78,78,78,77,77,77,77,76,76,76,76,76,76,75,75,75,75,74,74,73,73,
07499     73,73,73,72,72,72,72,72,72,71,71,71,71,71,70,70,70,70,70,70,69,
07500     69,69,69,69,68,68,68,68,68,68,68,67,67,67,66,66,66,66,66,66,66,
07501     66,65,65,64,64,63,63,63,63,63,63,63,63,63,63,63,62,62,62,62,61,
07502     61,61,61,61,61,61,60,60,60,60,59,59,59,59,59,58,58,58,58,58,57,
07503     57,57,57,57,57,56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,
07504     54,54,54,54,54,54,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,
07505     52,52,52,52,51,51,51,51,51,51,51,50,50,50,50,50,50,50,50,49,49,
07506     49,49,49,49,49,49,48,48,48,48,47,47,46,46,46,45,45,45,45,44,44,
07507     44,44,44,44,44,44,44,44,44,43,43,43,42,42,42,42,42,42,42,41,41,
07508     41,41,41,41,41,41,40,40,40,40,40,40,40,40,39,39,39,39,39,39,38,
07509     38,38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,36,36,36,36,36,
07510     35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,33,33,32,
07511     32,32,32,32,32,32,32,31,31,31,31,31,31,31,31,30,30,30,30,30,30,
07512     30,30,30,30,29,29,29,29,29,29,29,28,28,28,28,27,27,27,26,26,26,
07513     26,26,26,26,25,25,25,25,25,24,24,24,24,24,23,23,23,23,23,22,22,
07514     22,22,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,20,20
07515   };
07516   const int n4c1w2_o[] = {
07517     100, // Capacity
07518     500, // Number of items
07519     // Size of items (sorted)
07520     100,100,100,100,100,100,100,99,99,99,99,99,99,98,98,98,98,98,
07521     98,97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,95,95,95,
07522     95,94,94,94,94,93,93,93,93,93,92,92,91,91,91,91,91,91,91,90,90,
07523     90,89,89,89,89,89,89,89,88,88,88,88,88,88,88,88,88,88,87,87,87,
07524     87,87,86,86,86,86,86,86,86,86,86,86,86,86,85,85,85,85,85,85,84,
07525     84,84,84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,83,82,82,82,
07526     82,81,81,81,81,81,81,81,81,81,81,80,80,80,80,80,80,79,79,79,78,
07527     78,78,78,78,78,77,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,
07528     75,75,75,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,72,72,72,
07529     71,71,71,71,71,71,71,71,71,69,69,68,68,68,68,68,68,68,68,68,67,
07530     67,66,66,66,65,65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,63,
07531     63,63,62,62,62,62,62,62,62,61,61,61,61,61,61,61,61,60,60,60,60,
07532     60,60,60,60,60,59,59,59,59,58,58,58,58,58,58,57,57,57,57,57,57,
07533     56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,
07534     53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,51,51,51,51,51,50,
07535     50,50,50,50,50,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,47,
07536     47,47,47,47,47,47,47,46,46,46,46,46,46,45,45,45,45,45,45,45,44,
07537     44,44,44,44,44,44,43,43,43,42,42,42,42,42,42,42,41,40,40,40,40,
07538     40,40,39,39,39,39,39,39,38,38,38,38,38,37,37,37,37,37,36,36,36,
07539     36,36,36,35,35,35,35,34,34,34,34,33,33,33,32,32,32,32,32,32,32,
07540     32,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,29,29,
07541     29,29,29,29,29,29,29,29,29,29,28,28,28,28,28,28,27,27,27,27,27,
07542     27,27,26,26,26,26,26,25,25,25,25,25,25,25,25,24,24,24,24,24,23,
07543     23,23,23,22,22,22,22,21,21,21,21,21,21,21,21,20,20,20,20,20
07544   };
07545   const int n4c1w2_p[] = {
07546     100, // Capacity
07547     500, // Number of items
07548     // Size of items (sorted)
07549     100,100,100,100,99,99,99,99,98,98,98,98,98,98,98,98,98,98,97,
07550     97,97,97,96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,94,94,94,
07551     94,94,94,94,93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,91,
07552     91,91,91,90,90,90,90,89,89,89,89,89,89,88,88,88,87,87,87,87,86,
07553     86,86,86,85,85,84,84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,
07554     83,83,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,80,80,80,80,
07555     80,79,79,79,79,79,78,78,78,77,77,77,77,77,77,77,76,76,76,76,76,
07556     75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,73,73,73,73,72,72,
07557     72,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,70,70,70,70,70,
07558     70,70,69,69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,67,67,67,
07559     67,67,67,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,63,63,
07560     63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,61,61,61,61,61,60,
07561     60,60,60,60,60,59,59,59,59,59,58,58,58,58,58,58,57,57,57,57,57,
07562     57,57,57,57,56,56,56,56,56,56,55,55,54,54,54,54,54,54,54,54,54,
07563     54,54,54,53,53,53,53,53,53,52,52,52,52,51,51,51,51,51,51,50,50,
07564     50,50,49,49,49,48,48,48,48,48,48,48,48,48,48,47,47,47,47,47,46,
07565     46,46,46,46,46,46,46,45,45,45,45,45,45,45,45,44,44,44,43,43,43,
07566     43,43,43,43,42,42,42,42,42,42,42,41,41,41,41,41,41,41,40,40,40,
07567     40,40,40,39,39,39,39,39,39,39,39,39,38,38,38,38,38,38,37,37,37,
07568     37,37,37,37,37,37,37,36,36,36,36,36,36,36,35,35,34,34,34,34,34,
07569     34,33,33,33,33,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,
07570     30,30,30,30,30,30,29,29,29,29,29,29,28,28,28,28,28,27,27,27,27,
07571     27,27,26,26,26,26,26,25,25,25,25,25,25,25,25,24,24,24,23,23,23,
07572     23,23,23,22,22,21,21,21,21,21,21,20,20,20,20,20,20,20,20
07573   };
07574   const int n4c1w2_q[] = {
07575     100, // Capacity
07576     500, // Number of items
07577     // Size of items (sorted)
07578     100,100,100,100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,
07579     97,97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,95,94,94,94,94,
07580     94,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,92,91,91,91,
07581     91,91,91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,89,89,89,88,
07582     88,88,88,87,87,87,87,87,86,86,86,86,86,86,85,85,85,85,84,84,84,
07583     84,84,84,84,84,83,83,82,82,82,82,82,82,82,81,81,81,81,81,81,81,
07584     80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,78,78,78,78,77,77,
07585     77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,76,75,75,75,75,74,
07586     74,74,74,74,74,74,74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,
07587     71,71,71,71,71,71,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,
07588     69,68,68,68,68,68,67,67,67,66,66,66,66,66,66,66,66,65,65,65,65,
07589     65,65,65,65,64,64,64,63,63,63,62,62,62,62,61,61,61,61,61,61,61,
07590     61,61,60,60,60,60,59,59,59,59,59,59,59,58,58,57,57,57,57,57,57,
07591     57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,54,
07592     54,54,54,54,54,54,54,54,53,53,53,53,53,52,52,52,51,51,51,51,50,
07593     50,50,50,50,50,50,50,50,50,49,49,49,48,48,48,48,48,48,48,48,47,
07594     47,47,46,46,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,
07595     44,44,44,44,44,43,43,42,42,42,42,42,41,41,41,41,41,41,40,40,40,
07596     40,40,40,40,40,39,39,39,39,39,39,39,39,39,38,38,38,37,37,37,37,
07597     37,37,36,36,36,36,36,36,36,35,35,35,35,34,34,34,34,34,34,34,34,
07598     34,34,33,33,33,33,33,32,32,32,31,31,31,31,31,31,31,30,30,30,30,
07599     30,30,29,29,29,29,29,28,28,28,28,28,28,28,27,27,27,27,27,26,26,
07600     26,26,26,26,25,25,25,25,24,24,24,24,24,24,24,23,23,23,23,23,23,
07601     23,22,22,22,22,22,22,22,21,21,21,21,20,20,20,20,20,20,20,20
07602   };
07603   const int n4c1w2_r[] = {
07604     100, // Capacity
07605     500, // Number of items
07606     // Size of items (sorted)
07607     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,
07608     99,99,99,98,98,98,98,98,97,97,97,96,96,96,96,96,96,96,96,96,96,
07609     96,95,95,95,94,94,93,93,93,93,93,93,93,92,92,92,92,92,92,92,91,
07610     91,91,90,90,90,89,89,89,89,89,89,89,89,89,89,89,88,88,88,88,88,
07611     88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,86,86,86,86,86,85,
07612     85,85,84,84,84,84,84,83,83,83,83,83,83,83,83,82,82,82,82,82,82,
07613     81,81,81,80,80,80,80,80,79,79,79,79,78,78,78,78,78,78,78,78,78,
07614     78,78,77,77,77,77,77,77,77,76,76,76,76,75,75,75,75,75,75,75,75,
07615     75,74,74,74,74,74,74,74,74,73,73,73,73,73,73,72,72,72,72,71,71,
07616     71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,68,68,68,
07617     68,68,67,67,67,67,67,67,67,67,67,67,66,66,66,66,65,65,65,65,65,
07618     65,65,64,64,64,64,64,64,64,64,64,63,63,63,63,62,62,62,62,62,61,
07619     61,61,61,60,60,60,60,59,59,59,59,59,58,58,58,58,58,58,58,58,58,
07620     58,58,57,57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,54,54,54,
07621     54,53,53,52,52,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,
07622     49,49,49,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,48,47,47,
07623     46,46,46,46,46,46,46,46,46,46,46,45,45,44,44,44,44,44,44,43,43,
07624     43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,42,42,41,41,41,41,
07625     40,40,40,40,40,40,40,40,39,39,39,39,38,38,38,38,38,38,37,37,37,
07626     37,37,37,36,36,36,36,36,35,35,35,35,35,34,34,34,34,34,34,34,33,
07627     33,33,33,33,33,33,33,32,31,31,31,31,30,30,30,30,30,30,30,29,29,
07628     29,29,29,29,29,29,28,28,28,28,27,27,27,27,27,26,26,26,26,26,26,
07629     25,25,25,25,25,25,25,24,24,24,24,24,24,23,22,22,22,22,22,22,22,
07630     22,22,21,21,21,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20
07631   };
07632   const int n4c1w2_s[] = {
07633     100, // Capacity
07634     500, // Number of items
07635     // Size of items (sorted)
07636     100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,98,98,
07637     98,98,98,98,97,97,97,97,97,97,97,97,96,96,96,95,95,95,95,95,94,
07638     94,94,94,94,93,93,93,93,93,93,93,93,92,92,92,92,91,91,91,91,91,
07639     91,91,91,91,90,90,90,89,89,89,89,89,89,89,89,89,89,89,89,89,89,
07640     88,88,88,88,88,87,87,87,87,87,87,87,86,86,86,85,85,85,85,85,85,
07641     85,85,85,84,84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,82,82,
07642     82,82,82,82,82,81,81,80,80,79,79,79,79,79,79,78,78,78,77,77,77,
07643     77,76,76,76,76,76,75,75,74,74,73,73,73,73,73,73,73,73,73,72,72,
07644     72,72,72,72,72,71,71,71,71,70,70,70,69,69,69,69,69,69,69,69,69,
07645     68,68,68,68,68,68,68,68,68,68,68,67,67,67,67,66,66,66,66,66,65,
07646     65,65,65,65,65,65,65,64,64,64,64,64,63,63,63,63,63,63,63,63,63,
07647     63,63,62,62,62,62,62,62,62,61,61,61,61,61,60,60,59,59,59,59,59,
07648     59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,57,57,57,57,56,
07649     56,56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,54,54,54,53,53,
07650     53,53,52,52,52,52,52,51,51,51,51,51,50,50,50,49,49,49,49,48,47,
07651     47,47,47,47,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,44,
07652     44,44,43,43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,42,41,41,
07653     41,41,41,40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,39,39,
07654     39,38,38,38,38,38,38,38,38,38,38,38,38,37,37,37,37,37,37,36,36,
07655     36,36,36,36,36,36,35,35,35,35,35,35,35,34,34,34,34,33,33,33,33,
07656     33,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,
07657     29,29,29,29,29,29,29,28,28,28,28,28,28,28,28,27,27,27,27,27,27,
07658     26,26,26,26,26,26,26,26,26,25,25,25,25,25,25,25,25,24,24,24,24,
07659     23,23,23,23,23,23,23,22,22,22,22,21,21,21,21,21,20,20,20
07660   };
07661   const int n4c1w2_t[] = {
07662     100, // Capacity
07663     500, // Number of items
07664     // Size of items (sorted)
07665     100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,98,98,98,
07666     98,98,98,98,97,97,96,96,96,96,96,96,96,96,96,96,95,95,95,95,95,
07667     95,95,94,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,92,92,
07668     91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,
07669     89,88,88,87,87,87,87,87,86,86,86,86,85,85,85,84,84,84,84,84,83,
07670     83,83,83,83,83,83,82,82,82,81,80,80,80,80,80,80,80,80,80,80,79,
07671     79,79,79,79,78,78,78,78,78,78,78,77,77,77,76,76,76,76,76,76,76,
07672     76,75,75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,74,74,74,73,
07673     73,73,73,73,73,73,72,72,72,72,72,72,72,72,72,71,71,71,71,71,71,
07674     71,70,70,70,70,70,70,69,69,69,69,69,69,69,68,68,68,67,67,67,67,
07675     67,67,67,67,66,66,66,65,65,65,65,65,65,65,65,65,64,64,64,64,64,
07676     64,63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,61,61,61,61,61,
07677     60,60,60,60,60,60,60,60,59,59,59,59,59,59,59,58,58,58,58,57,57,
07678     57,57,57,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,
07679     54,53,53,53,53,53,53,53,53,52,52,52,52,51,51,51,51,51,51,51,51,
07680     51,50,50,50,50,50,50,50,49,49,49,49,49,49,49,48,48,48,48,47,47,
07681     47,47,47,47,47,46,46,46,46,46,46,46,45,45,45,45,45,45,45,45,45,
07682     45,45,45,44,44,44,44,44,44,44,44,43,43,43,43,43,43,43,43,42,42,
07683     42,42,42,42,41,41,41,41,41,41,40,40,40,40,40,39,39,39,39,39,38,
07684     38,38,38,38,38,37,37,36,36,36,36,36,36,36,36,36,36,35,35,35,34,
07685     34,34,33,33,33,32,32,32,32,32,32,32,32,32,32,31,31,31,31,31,31,
07686     30,30,30,30,29,29,29,29,29,28,28,28,28,27,27,27,26,26,26,26,26,
07687     25,25,25,25,25,25,24,24,24,24,23,23,23,23,22,22,22,22,22,21,21,
07688     21,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,20,20,20
07689   };
07690   const int n4c1w4_a[] = {
07691     100, // Capacity
07692     500, // Number of items
07693     // Size of items (sorted)
07694     100,100,100,100,100,100,99,99,99,99,99,99,98,98,98,98,98,97,97,
07695     97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,
07696     95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,93,93,92,92,92,
07697     92,92,92,91,91,91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,89,
07698     89,89,89,89,88,88,88,88,88,88,88,88,88,88,88,87,87,87,87,87,87,
07699     87,87,87,87,86,86,86,86,86,86,86,86,85,85,85,85,85,85,85,85,85,
07700     84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,83,82,82,82,82,81,
07701     81,81,81,81,81,81,81,80,80,80,80,80,79,79,79,79,79,79,79,78,78,
07702     78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,75,74,
07703     74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,73,73,73,73,73,73,
07704     73,73,73,73,72,72,72,72,72,72,71,71,71,71,70,70,70,70,70,69,69,
07705     69,69,69,69,69,69,69,69,68,68,68,67,67,67,67,67,67,67,67,66,66,
07706     66,66,66,66,65,65,65,65,65,65,65,65,64,64,64,64,64,64,63,63,63,
07707     63,63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,60,60,60,60,60,
07708     60,60,60,60,60,59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,
07709     58,57,57,57,56,56,56,56,56,56,56,56,56,56,55,55,55,55,55,54,54,
07710     54,54,54,54,54,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,51,
07711     51,50,50,50,50,50,50,50,50,50,50,49,49,49,49,48,48,48,48,48,48,
07712     48,48,48,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,46,
07713     46,46,46,46,46,46,45,45,45,45,45,44,44,44,44,44,44,44,44,43,43,
07714     43,43,42,42,42,42,42,42,42,42,42,41,41,41,41,41,40,40,40,40,40,
07715     40,39,39,39,39,39,38,38,38,38,38,38,37,37,37,37,37,36,36,36,36,
07716     36,36,36,36,36,35,35,35,35,35,35,35,35,35,34,34,34,33,33,33,33,
07717     33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30
07718   };
07719   const int n4c1w4_b[] = {
07720     100, // Capacity
07721     500, // Number of items
07722     // Size of items (sorted)
07723     100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,
07724     98,98,98,98,98,98,98,98,98,98,97,97,97,97,97,97,96,96,96,96,96,
07725     96,96,96,96,95,95,95,95,95,95,94,94,93,93,93,93,93,93,92,92,92,
07726     92,92,92,92,91,91,91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,
07727     89,89,89,89,89,89,89,88,88,88,88,88,87,87,87,87,87,87,87,86,86,
07728     86,86,85,85,85,85,85,84,84,83,83,83,83,83,83,82,82,82,82,81,81,
07729     81,81,81,81,81,81,81,81,81,80,80,80,80,79,79,79,79,79,79,79,78,
07730     78,78,78,78,78,78,77,77,77,77,77,77,76,76,76,76,76,76,76,75,75,
07731     75,75,75,75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,73,72,72,
07732     72,72,72,72,71,70,70,70,69,69,69,69,69,69,69,69,69,68,68,68,68,
07733     68,68,68,68,68,68,67,67,67,67,67,66,66,66,66,66,65,65,65,65,65,
07734     65,65,64,64,64,64,64,64,63,63,63,63,63,63,63,62,62,62,62,62,62,
07735     62,62,62,61,61,61,61,61,61,60,60,60,60,60,60,59,59,59,59,59,59,
07736     58,58,58,58,58,58,58,58,58,58,58,58,58,58,57,57,57,57,57,57,57,
07737     57,56,56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,54,53,53,
07738     53,53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,51,51,
07739     51,51,51,51,51,51,51,51,51,51,51,50,50,50,50,50,50,50,49,49,49,
07740     49,49,49,49,49,49,48,48,48,48,48,48,48,48,48,47,47,47,47,47,47,
07741     47,47,47,47,47,46,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,
07742     44,44,44,44,44,43,43,43,43,43,43,43,43,43,43,43,42,42,42,42,42,
07743     42,42,42,42,41,41,41,41,41,41,41,40,40,39,39,39,39,39,39,38,38,
07744     38,38,37,37,37,37,37,37,37,37,37,36,36,36,36,36,35,35,35,35,35,
07745     35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,
07746     33,33,33,33,33,33,32,32,32,32,32,31,31,31,31,30,30,30,30,30
07747   };
07748   const int n4c1w4_c[] = {
07749     100, // Capacity
07750     500, // Number of items
07751     // Size of items (sorted)
07752     100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,98,98,98,98,
07753     97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,95,94,
07754     94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,92,92,92,92,92,92,
07755     92,92,92,91,91,91,91,91,91,90,90,90,90,90,90,90,90,90,90,89,89,
07756     89,89,89,89,89,89,89,89,89,89,88,88,88,88,88,87,87,87,87,87,87,
07757     87,87,86,86,86,86,86,85,85,85,84,84,83,83,83,83,83,82,82,82,82,
07758     82,82,81,81,81,81,80,80,80,80,80,80,80,80,80,80,80,79,79,79,79,
07759     78,78,78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,76,76,76,76,
07760     76,76,75,75,75,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,
07761     73,73,72,72,72,71,71,71,71,71,71,71,71,71,70,70,70,70,70,70,70,
07762     69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,67,67,67,67,67,
07763     67,67,67,67,67,67,67,67,67,67,67,66,66,66,66,66,66,66,66,66,66,
07764     65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,64,64,63,63,63,63,
07765     63,63,62,62,62,62,62,62,62,62,62,62,61,61,61,61,61,61,61,60,60,
07766     60,60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,58,58,58,58,58,
07767     58,58,58,58,57,57,57,56,56,56,55,55,55,55,55,55,55,54,54,54,54,
07768     54,54,53,53,53,53,52,52,52,52,51,51,51,51,51,51,51,51,51,51,50,
07769     50,50,50,50,50,50,50,50,50,50,49,49,49,49,49,49,49,49,48,48,48,
07770     48,48,48,47,47,47,47,47,47,46,46,46,46,46,45,45,45,45,45,44,44,
07771     44,44,44,44,44,44,44,43,43,43,43,43,43,43,43,43,42,42,42,42,42,
07772     41,41,41,41,41,41,41,41,41,40,40,40,39,39,39,39,39,39,38,38,38,
07773     38,38,38,38,38,38,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,
07774     35,35,35,35,34,34,34,34,34,34,33,33,33,33,33,33,33,33,33,33,32,
07775     32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,30
07776   };
07777   const int n4c1w4_d[] = {
07778     100, // Capacity
07779     500, // Number of items
07780     // Size of items (sorted)
07781     100,100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,
07782     99,98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,97,96,96,96,96,
07783     95,95,95,95,95,95,95,94,94,94,93,93,93,93,93,93,93,93,92,92,92,
07784     92,92,92,91,91,91,90,90,90,89,89,89,89,89,89,89,89,89,89,88,88,
07785     88,88,88,87,87,87,87,86,86,86,86,86,86,86,86,86,86,86,85,85,85,
07786     85,85,85,85,85,85,85,85,84,84,84,84,83,83,83,83,83,83,83,82,82,
07787     82,82,82,82,81,80,80,80,80,80,80,80,80,80,79,79,79,79,79,78,78,
07788     78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,76,75,
07789     75,75,75,75,75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,73,73,
07790     73,73,72,72,72,72,71,71,71,71,71,71,71,71,71,70,70,70,70,69,69,
07791     69,69,68,68,68,68,68,68,67,67,67,67,67,66,66,66,66,66,65,65,65,
07792     65,65,65,64,64,64,64,64,64,64,64,64,64,63,63,63,63,63,63,63,62,
07793     62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,61,61,61,61,
07794     61,61,61,61,61,61,60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,
07795     58,58,58,58,58,58,58,58,58,57,57,57,57,57,57,57,56,56,56,56,56,
07796     56,56,55,55,55,55,55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,
07797     53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,51,51,
07798     51,51,51,50,50,50,50,50,49,49,49,49,49,49,49,49,49,48,48,48,48,
07799     47,47,47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,45,45,45,45,
07800     45,45,44,44,44,44,44,44,44,44,43,43,43,43,43,43,42,42,42,42,42,
07801     42,42,41,41,41,41,41,41,41,41,40,40,40,40,40,40,39,39,39,39,39,
07802     38,38,38,38,38,38,38,38,38,38,37,37,37,37,37,37,36,36,36,36,36,
07803     36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,34,34,34,34,34,34,
07804     34,33,33,33,33,33,33,33,32,31,31,31,31,31,30,30,30,30,30,30,30
07805   };
07806   const int n4c1w4_e[] = {
07807     100, // Capacity
07808     500, // Number of items
07809     // Size of items (sorted)
07810     100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,98,98,
07811     98,98,98,98,98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,96,96,
07812     96,96,96,96,96,96,96,96,96,95,95,95,95,94,94,94,94,94,93,93,93,
07813     93,93,93,92,92,92,92,92,92,92,91,91,91,91,91,90,90,90,90,90,90,
07814     90,90,89,89,89,89,89,89,89,89,89,89,88,88,88,88,88,88,87,87,87,
07815     87,87,87,86,86,86,86,85,85,85,85,85,85,85,85,85,85,84,84,84,84,
07816     84,84,84,83,83,83,83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,
07817     81,81,80,80,80,80,80,80,80,80,80,80,80,80,80,80,79,79,79,79,79,
07818     79,78,78,78,78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,76,76,
07819     76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,
07820     74,74,74,73,73,73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,71,
07821     71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,68,68,
07822     68,68,68,68,67,67,67,67,67,67,67,67,67,67,67,67,67,67,66,66,66,
07823     66,66,66,66,66,65,65,65,65,64,64,64,64,63,63,63,63,63,63,63,63,
07824     63,63,62,62,62,62,62,61,61,61,61,61,60,60,60,60,60,60,59,59,59,
07825     59,59,59,59,59,59,59,59,59,59,58,58,58,58,57,57,57,57,57,57,57,
07826     57,57,56,56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,53,53,53,
07827     53,53,53,53,53,52,52,52,52,51,51,51,51,51,51,50,50,49,49,49,49,
07828     49,49,48,48,48,48,48,48,47,47,47,47,47,47,47,46,46,46,46,46,46,
07829     46,45,45,45,45,45,44,44,44,43,43,43,43,43,43,43,43,43,43,42,42,
07830     42,42,42,42,42,42,42,42,41,41,41,41,41,41,40,40,39,39,39,39,39,
07831     39,39,38,38,38,38,38,38,38,38,37,37,36,36,36,36,36,36,35,35,35,
07832     35,35,35,35,35,34,34,34,34,33,33,33,33,33,33,32,32,32,32,32,32,
07833     32,32,32,32,32,32,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30
07834   };
07835   const int n4c1w4_f[] = {
07836     100, // Capacity
07837     500, // Number of items
07838     // Size of items (sorted)
07839     100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,98,97,97,97,97,
07840     97,97,96,96,96,96,96,96,96,94,94,94,94,94,94,93,93,93,93,93,92,
07841     92,92,91,91,91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,88,88,
07842     88,88,88,87,87,87,87,87,87,86,86,86,86,85,85,85,84,84,84,84,84,
07843     84,84,83,83,83,83,83,83,83,83,83,83,82,82,82,82,82,82,81,81,81,
07844     81,81,81,81,81,80,80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,
07845     78,78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,76,76,76,76,76,
07846     76,76,76,76,75,75,75,75,75,75,75,75,75,75,74,74,74,74,74,74,74,
07847     73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,72,72,72,
07848     72,72,72,72,71,71,71,70,70,70,70,69,69,69,69,69,69,69,69,69,69,
07849     69,69,68,68,68,68,68,68,68,68,68,68,68,67,67,66,66,66,66,65,65,
07850     65,65,65,65,65,65,64,64,64,64,64,64,64,64,64,64,64,64,64,63,63,
07851     63,63,63,63,63,63,62,62,62,62,62,61,61,61,61,61,60,60,60,60,60,
07852     60,60,60,60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,59,59,58,
07853     58,58,58,58,58,58,58,58,58,57,57,57,57,57,57,57,57,57,57,57,57,
07854     56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,54,54,54,54,54,
07855     54,54,54,54,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,52,51,
07856     51,51,51,51,51,51,51,51,50,50,50,50,50,50,50,50,50,49,49,49,48,
07857     48,48,48,48,47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,46,45,
07858     45,45,45,44,44,44,44,44,44,44,44,44,44,44,43,43,43,42,42,42,41,
07859     41,41,41,41,40,40,40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,
07860     39,39,38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,36,36,36,36,
07861     36,35,35,35,35,35,35,35,35,34,34,34,34,34,33,33,33,33,32,32,32,
07862     32,32,32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,30
07863   };
07864   const int n4c1w4_g[] = {
07865     100, // Capacity
07866     500, // Number of items
07867     // Size of items (sorted)
07868     100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,98,98,98,
07869     98,98,98,98,97,97,97,97,97,97,97,96,96,96,96,96,96,95,95,95,95,
07870     95,95,95,95,95,94,94,94,94,94,93,93,93,93,93,93,93,93,93,93,92,
07871     92,92,92,92,92,91,91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,
07872     89,89,89,89,89,89,89,89,88,88,88,88,87,87,87,87,87,87,87,86,86,
07873     86,86,86,86,86,86,86,86,85,85,85,85,85,85,84,84,83,83,83,83,83,
07874     82,82,82,82,82,82,82,82,82,82,82,82,82,81,81,81,81,81,81,81,81,
07875     81,80,80,80,80,80,80,79,79,79,79,79,79,79,79,79,78,78,78,78,78,
07876     78,78,78,78,78,77,77,77,77,77,77,77,77,77,77,77,76,76,76,75,75,
07877     75,75,75,75,75,75,75,74,74,74,74,74,74,74,73,73,73,73,73,73,73,
07878     73,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,71,70,70,70,70,
07879     70,70,69,69,69,69,69,68,68,68,68,68,68,68,68,68,68,68,68,67,67,
07880     67,66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,63,
07881     63,63,63,63,63,62,62,62,62,62,62,61,61,61,60,60,60,60,60,60,60,
07882     60,60,60,59,59,59,59,59,59,59,59,59,58,58,58,58,58,58,57,57,57,
07883     56,56,56,56,55,55,55,55,55,55,55,54,54,54,54,54,54,54,54,54,54,
07884     53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,51,51,51,51,51,50,
07885     50,50,50,50,50,49,49,49,49,49,49,49,48,48,48,48,48,48,48,48,47,
07886     47,47,47,47,47,47,47,46,46,46,46,46,46,45,45,45,45,44,44,44,44,
07887     44,44,44,43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,42,42,41,
07888     41,41,41,41,41,41,41,41,41,40,40,40,40,40,39,39,39,39,39,39,39,
07889     39,38,38,38,38,37,37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,
07890     35,35,35,34,34,34,34,33,33,33,33,33,33,32,32,32,32,32,32,32,32,
07891     32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30
07892   };
07893   const int n4c1w4_h[] = {
07894     100, // Capacity
07895     500, // Number of items
07896     // Size of items (sorted)
07897     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,
07898     99,99,99,98,98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,97,97,
07899     96,96,96,96,96,95,95,95,95,95,95,95,95,95,95,95,95,94,94,94,94,
07900     94,94,93,93,93,93,93,92,92,92,92,92,92,91,91,91,91,91,91,91,91,
07901     91,91,91,91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,89,88,88,
07902     88,88,88,87,87,87,87,87,87,87,86,86,86,86,86,86,86,86,85,85,85,
07903     85,84,84,84,84,84,84,84,83,83,83,83,82,82,82,82,82,82,82,82,82,
07904     82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,80,80,80,80,80,79,
07905     79,79,79,79,79,79,78,78,78,78,78,78,78,78,77,77,77,76,76,76,76,
07906     76,76,76,76,76,76,76,76,76,75,75,75,75,74,74,74,74,74,74,73,73,
07907     73,72,72,72,71,71,71,71,71,71,71,70,70,70,70,70,70,70,70,70,69,
07908     69,69,69,69,68,68,68,68,68,68,68,67,67,67,67,67,67,66,66,66,66,
07909     66,66,66,66,66,65,65,65,65,65,65,65,65,65,65,64,64,64,64,64,63,
07910     63,63,63,63,63,62,62,62,62,62,61,61,61,61,61,61,61,61,61,60,60,
07911     60,60,60,59,59,59,59,58,58,58,58,58,58,58,58,58,57,57,57,57,57,
07912     57,56,56,56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,
07913     54,54,54,54,54,53,53,52,52,52,52,52,51,51,51,51,50,50,49,49,49,
07914     49,49,48,48,48,48,48,48,48,47,47,47,47,46,46,46,46,46,46,45,45,
07915     45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,44,44,43,43,43,43,
07916     43,43,43,43,42,42,42,42,42,42,42,42,42,41,41,41,41,41,41,40,40,
07917     40,39,39,39,38,38,38,38,38,38,38,38,38,38,38,37,37,37,37,37,37,
07918     37,37,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,34,34,34,34,
07919     34,34,34,34,34,34,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,
07920     32,31,31,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30
07921   };
07922   const int n4c1w4_i[] = {
07923     100, // Capacity
07924     500, // Number of items
07925     // Size of items (sorted)
07926     100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,98,98,
07927     98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,97,97,96,96,96,96,
07928     96,96,95,95,95,95,95,95,95,95,95,95,94,94,94,94,94,94,94,94,94,
07929     93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,91,
07930     91,91,91,91,91,91,91,90,90,90,90,89,89,89,89,89,89,89,89,88,88,
07931     88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,86,86,86,85,85,85,
07932     85,85,85,84,84,84,84,84,84,84,84,83,83,83,83,82,82,82,82,82,82,
07933     81,81,81,81,81,80,80,80,80,80,80,80,80,80,80,80,80,79,79,79,79,
07934     78,78,78,78,78,78,77,77,77,76,76,76,76,76,76,76,76,75,75,75,75,
07935     75,75,75,75,75,75,75,74,74,74,74,74,74,74,73,73,73,72,72,72,72,
07936     72,71,71,71,71,71,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,
07937     69,69,68,68,68,68,68,68,68,67,67,67,67,67,67,67,66,66,66,66,66,
07938     66,66,66,66,65,65,65,65,64,64,64,64,64,64,64,63,63,63,63,62,62,
07939     62,62,62,62,61,61,61,61,61,61,61,61,61,61,61,60,60,60,60,60,60,
07940     59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,
07941     57,56,56,56,56,56,55,55,55,55,55,55,55,54,54,54,54,53,53,53,53,
07942     53,52,52,52,52,52,52,52,52,52,52,51,51,51,51,51,50,50,50,50,50,
07943     50,49,49,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,46,
07944     46,45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,44,44,44,44,44,
07945     43,43,43,43,43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,40,40,
07946     40,40,40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,39,39,38,
07947     38,38,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,36,36,
07948     35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,34,33,33,33,33,
07949     33,33,32,32,32,32,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30
07950   };
07951   const int n4c1w4_j[] = {
07952     100, // Capacity
07953     500, // Number of items
07954     // Size of items (sorted)
07955     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,
07956     98,98,98,98,98,98,98,97,97,97,97,96,96,96,96,96,96,96,96,96,96,
07957     96,95,95,95,95,95,95,95,94,94,94,94,94,94,94,93,93,93,93,93,93,
07958     93,93,92,92,92,92,92,92,92,92,92,92,92,92,91,91,91,91,91,91,90,
07959     90,90,90,90,90,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,88,
07960     87,87,87,87,87,87,87,87,87,87,86,86,86,86,86,86,85,85,85,85,85,
07961     85,85,85,85,85,85,84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,
07962     82,82,82,82,82,82,82,81,81,81,80,80,80,80,80,80,80,80,80,80,80,
07963     80,79,79,79,79,79,79,79,79,79,78,78,78,78,77,77,77,77,77,77,76,
07964     76,76,76,76,76,76,76,76,75,75,75,75,75,75,74,74,74,74,74,74,73,
07965     73,73,73,73,73,73,73,72,72,72,71,71,71,71,71,71,71,70,70,70,70,
07966     70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,68,68,68,68,68,67,
07967     67,67,66,66,65,65,65,65,65,65,65,65,64,64,64,64,64,63,63,63,63,
07968     63,63,63,62,62,62,62,62,62,62,62,62,62,62,61,61,61,61,61,61,61,
07969     61,61,60,60,60,60,60,60,59,59,59,59,59,59,59,59,59,59,59,59,59,
07970     59,58,58,58,58,57,57,57,57,57,57,57,56,56,56,56,56,56,56,56,55,
07971     55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,52,52,52,52,52,52,
07972     52,51,51,51,51,51,51,51,51,51,50,50,50,50,50,50,49,49,49,48,48,
07973     48,48,48,48,48,48,48,48,48,47,47,47,47,46,46,46,46,46,46,46,45,
07974     45,45,45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,43,43,43,42,
07975     42,42,42,42,42,42,41,41,41,41,40,40,40,40,40,40,39,39,39,39,39,
07976     39,39,38,38,38,38,38,38,38,37,37,37,37,37,37,36,36,36,36,36,36,
07977     35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,34,34,34,34,34,33,
07978     33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30,30
07979   };
07980   const int n4c1w4_k[] = {
07981     100, // Capacity
07982     500, // Number of items
07983     // Size of items (sorted)
07984     100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,98,
07985     98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,96,96,96,96,96,96,
07986     96,96,96,96,95,95,95,95,95,95,95,95,95,94,94,94,93,93,93,93,93,
07987     93,92,92,92,92,92,92,92,91,91,91,91,91,91,91,90,90,90,90,90,89,
07988     89,89,89,89,89,89,89,89,89,88,88,88,88,88,88,88,88,88,88,88,88,
07989     88,88,87,87,87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,85,85,
07990     85,85,84,84,84,84,84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,
07991     83,82,82,82,81,81,81,80,80,80,80,80,79,79,79,79,79,78,78,78,78,
07992     78,78,77,77,77,77,77,77,77,77,77,76,76,76,75,75,75,75,75,75,74,
07993     74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,73,73,73,73,72,72,
07994     72,72,72,72,72,71,71,71,71,71,71,71,71,71,71,70,70,70,70,70,70,
07995     70,70,70,69,69,69,69,69,69,69,69,69,69,69,69,68,68,68,67,67,67,
07996     67,67,67,66,66,66,66,66,66,66,66,65,65,65,65,65,64,64,64,64,64,
07997     64,64,64,64,64,63,63,63,63,63,63,63,63,63,63,62,62,62,62,62,62,
07998     61,61,61,61,60,60,60,60,59,59,59,59,59,59,59,59,59,59,59,59,59,
07999     58,58,58,58,58,58,58,57,57,57,57,57,56,56,56,56,55,55,55,55,55,
08000     55,55,55,55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,53,53,52,
08001     52,52,52,52,51,51,51,51,51,50,50,50,50,50,50,50,50,50,49,49,49,
08002     49,49,49,48,48,48,48,48,48,48,48,47,47,47,46,46,46,46,46,46,46,
08003     46,46,45,45,45,45,45,44,44,44,44,44,44,44,44,44,44,43,43,43,43,
08004     43,43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,40,40,40,40,40,
08005     40,39,39,39,39,39,39,38,38,38,38,38,37,37,37,36,36,36,36,36,36,
08006     35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,33,32,
08007     32,32,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,30
08008   };
08009   const int n4c1w4_l[] = {
08010     100, // Capacity
08011     500, // Number of items
08012     // Size of items (sorted)
08013     100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,
08014     98,98,98,98,98,98,98,98,98,98,98,98,98,98,97,97,97,96,96,96,96,
08015     96,96,96,95,95,95,95,95,95,95,95,95,95,95,94,94,94,94,94,94,94,
08016     94,94,94,94,93,93,93,93,93,92,92,92,91,91,91,91,91,91,91,90,90,
08017     90,90,89,89,89,89,89,89,88,88,88,88,87,87,87,87,87,87,87,86,86,
08018     86,86,86,86,85,85,85,85,85,85,85,85,85,84,84,84,83,83,83,83,83,
08019     83,83,83,83,83,82,82,82,82,82,81,81,81,81,80,80,80,80,80,80,80,
08020     80,80,80,79,79,79,78,78,78,78,78,77,77,77,77,77,77,77,76,76,76,
08021     76,76,76,76,76,76,76,76,76,76,76,75,75,75,75,75,74,74,74,74,74,
08022     73,73,73,73,73,73,72,72,72,72,72,71,71,71,71,71,71,71,71,71,71,
08023     71,71,70,70,70,70,70,70,70,69,69,69,69,69,69,68,68,68,68,68,68,
08024     67,67,67,67,66,66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,65,
08025     64,64,64,64,64,64,64,64,63,63,63,63,62,62,62,62,62,62,62,62,62,
08026     61,61,61,61,61,61,61,61,60,60,60,60,60,60,60,60,60,60,60,60,60,
08027     60,59,59,59,59,59,59,58,58,58,58,57,57,57,57,57,57,57,57,56,56,
08028     56,56,56,56,56,55,55,55,55,54,54,54,54,53,53,53,53,53,52,52,52,
08029     51,51,51,51,51,51,51,51,50,50,50,50,50,49,49,49,49,49,48,48,48,
08030     48,48,48,48,48,48,48,48,47,47,47,47,47,47,47,47,47,46,46,46,46,
08031     46,46,46,46,46,46,45,45,45,45,44,44,44,44,44,44,44,44,44,43,43,
08032     43,43,43,43,43,43,42,42,42,42,42,42,42,42,41,41,41,41,41,41,41,
08033     41,41,40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,38,38,38,38,
08034     38,38,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,35,35,35,35,
08035     35,35,35,35,35,34,34,33,33,33,33,33,33,33,33,32,32,32,32,32,32,
08036     32,32,32,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30
08037   };
08038   const int n4c1w4_m[] = {
08039     100, // Capacity
08040     500, // Number of items
08041     // Size of items (sorted)
08042     100,100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,
08043     98,98,98,97,97,97,97,96,96,96,96,95,95,95,95,95,95,95,95,94,94,
08044     94,94,94,94,94,94,94,94,94,94,94,94,93,93,93,93,93,93,92,92,92,
08045     92,92,92,91,91,91,91,91,91,91,90,90,90,90,90,90,90,90,90,90,90,
08046     90,89,89,89,89,89,88,88,88,88,88,88,88,87,87,87,87,87,87,87,87,
08047     87,87,87,86,86,86,86,86,86,86,86,85,85,85,85,85,85,85,85,85,85,
08048     84,83,83,83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,81,80,80,
08049     80,80,80,80,80,80,80,80,79,79,79,79,79,79,78,78,78,78,78,78,77,
08050     77,77,77,77,77,76,76,76,75,75,75,75,75,74,74,74,74,74,74,73,73,
08051     73,73,73,73,73,73,73,72,72,72,72,72,72,72,72,72,72,71,71,71,71,
08052     71,71,71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,69,68,68,68,
08053     68,68,68,68,68,68,68,68,67,67,67,67,67,67,67,67,67,66,66,66,66,
08054     66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,63,63,63,63,63,63,
08055     62,62,62,62,62,62,62,61,61,61,61,61,61,60,60,60,60,60,60,60,59,
08056     59,59,59,59,59,59,59,58,58,58,58,57,57,57,57,57,57,57,56,56,56,
08057     56,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,
08058     54,54,54,54,54,53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,51,
08059     50,50,50,50,50,50,50,50,50,50,49,49,49,49,49,48,48,48,48,47,47,
08060     47,47,47,47,47,47,47,46,46,46,46,45,45,45,44,44,44,44,44,44,44,
08061     44,44,44,44,43,43,43,43,43,43,43,42,42,42,42,41,41,41,41,41,41,
08062     41,41,40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,38,38,38,
08063     37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,35,35,35,35,34,34,
08064     34,34,34,34,34,34,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,
08065     32,32,32,32,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30
08066   };
08067   const int n4c1w4_n[] = {
08068     100, // Capacity
08069     500, // Number of items
08070     // Size of items (sorted)
08071     100,100,100,100,100,99,99,99,99,99,99,98,98,98,98,97,97,97,96,
08072     96,96,96,96,95,95,95,95,95,95,95,95,95,95,95,95,95,94,94,94,94,
08073     94,94,94,94,93,93,93,93,93,93,92,92,92,92,92,92,91,91,91,91,91,
08074     91,91,91,90,90,90,90,89,89,89,89,89,89,89,89,89,88,88,88,88,88,
08075     88,88,87,87,87,87,87,87,87,87,87,87,86,86,86,86,86,86,86,85,85,
08076     85,85,85,85,85,84,84,84,84,84,84,84,84,83,83,83,83,83,83,83,82,
08077     82,82,82,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,
08078     80,80,80,79,79,79,79,79,79,78,78,78,78,78,78,78,78,77,77,77,77,
08079     77,77,77,77,76,76,75,75,75,75,75,75,75,75,75,74,74,74,74,74,74,
08080     74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,73,73,73,72,72,72,
08081     72,72,72,71,71,71,71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,
08082     69,69,69,69,69,68,68,68,68,68,67,67,67,67,66,66,66,66,66,66,66,
08083     66,66,65,65,65,65,65,65,65,64,64,64,64,64,64,64,63,63,63,63,62,
08084     62,62,62,62,62,62,61,61,61,61,61,61,61,61,60,60,60,60,60,60,60,
08085     60,60,59,59,59,59,58,58,58,58,58,58,58,58,58,58,58,57,57,57,57,
08086     57,57,56,56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,54,54,54,
08087     54,54,54,54,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,51,
08088     51,51,51,51,51,50,50,50,50,50,50,49,49,49,49,49,49,48,48,48,48,
08089     48,48,48,48,47,47,47,47,47,47,46,46,46,46,46,46,46,45,45,45,45,
08090     45,45,45,45,45,45,44,44,44,44,43,43,43,43,43,42,42,42,42,42,42,
08091     41,41,41,41,41,41,41,41,41,41,40,40,40,40,40,40,40,40,40,40,39,
08092     39,39,39,39,38,38,38,37,37,37,36,36,36,36,36,35,35,35,35,35,35,
08093     35,35,35,35,35,34,34,34,34,34,34,33,33,33,33,33,33,32,32,32,32,
08094     32,32,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30
08095   };
08096   const int n4c1w4_o[] = {
08097     100, // Capacity
08098     500, // Number of items
08099     // Size of items (sorted)
08100     100,100,100,100,100,100,100,100,99,99,99,98,98,98,98,98,98,98,
08101     98,98,97,97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,94,
08102     94,94,94,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,91,91,
08103     91,91,91,91,90,90,90,90,90,90,90,90,90,90,90,90,90,89,89,89,89,
08104     89,89,89,89,88,88,88,88,88,88,87,87,87,87,86,85,85,85,85,84,84,
08105     84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,83,83,
08106     82,82,82,82,81,81,81,81,81,81,80,80,80,79,79,79,79,79,79,79,79,
08107     79,78,78,78,78,78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,76,
08108     76,76,76,76,76,75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,73,
08109     72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,70,70,70,70,
08110     69,69,69,69,69,69,68,68,68,68,68,68,68,67,66,66,66,66,66,66,66,
08111     66,66,66,66,65,65,65,64,64,64,64,64,64,64,64,64,64,64,63,63,63,
08112     63,63,63,63,63,62,62,62,62,62,62,62,62,61,61,60,60,60,60,60,59,
08113     59,59,59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,
08114     57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,
08115     54,54,54,54,54,54,54,54,53,53,53,53,53,53,53,52,52,52,52,52,52,
08116     52,51,51,51,51,51,51,51,51,50,50,50,50,50,50,50,50,49,49,49,49,
08117     49,49,48,48,48,48,48,48,47,47,47,47,47,47,47,47,46,46,46,46,46,
08118     46,46,45,45,45,45,45,45,45,45,45,45,45,44,44,44,44,44,43,43,43,
08119     43,43,43,43,43,43,43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,
08120     41,41,41,41,41,41,41,40,40,40,40,40,39,39,39,39,39,39,39,39,39,
08121     38,38,38,38,38,38,38,37,37,37,37,37,37,37,36,36,36,36,36,36,36,
08122     36,36,35,35,35,35,35,35,34,34,34,34,34,34,34,34,33,33,33,33,33,
08123     33,33,33,32,32,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30
08124   };
08125   const int n4c1w4_p[] = {
08126     100, // Capacity
08127     500, // Number of items
08128     // Size of items (sorted)
08129     100,100,100,100,100,100,99,99,99,99,98,98,98,98,98,98,98,98,98,
08130     97,97,97,97,97,97,97,96,96,96,96,95,95,95,95,95,95,95,94,94,94,
08131     94,94,93,93,93,93,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,
08132     91,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,89,89,89,88,88,
08133     88,88,88,88,88,88,88,88,88,88,88,87,87,87,87,87,87,87,87,87,87,
08134     87,86,86,86,86,86,86,86,86,86,86,86,85,85,85,85,84,84,84,84,84,
08135     84,84,84,83,83,83,83,83,83,83,83,83,83,83,83,83,82,82,82,82,82,
08136     82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,80,79,79,79,
08137     79,79,79,79,79,78,78,78,78,78,78,78,78,78,78,77,77,77,77,77,76,
08138     76,76,76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,74,74,74,74,
08139     74,74,74,73,73,72,72,72,72,71,71,71,71,70,70,70,70,70,70,70,70,
08140     70,70,70,69,69,69,68,68,68,68,68,68,68,67,67,67,67,67,67,67,67,
08141     66,66,66,66,65,65,64,64,64,64,64,64,64,64,64,64,63,63,63,63,63,
08142     63,63,63,63,62,62,62,62,62,62,62,62,61,61,61,61,61,61,60,60,60,
08143     60,60,59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,57,57,57,
08144     57,57,57,56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,55,55,55,
08145     55,54,54,54,54,53,53,53,53,53,52,52,52,52,52,52,52,52,52,52,51,
08146     51,51,51,51,51,50,50,50,50,50,49,49,49,49,49,48,48,48,48,48,47,
08147     47,47,47,47,47,47,47,46,46,46,46,46,46,46,46,45,45,45,44,44,44,
08148     44,43,43,43,43,43,43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,
08149     41,40,40,40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,39,39,
08150     39,38,38,38,38,38,38,37,37,37,37,37,37,36,36,36,36,36,35,35,35,
08151     35,35,35,35,35,35,34,34,34,34,34,34,34,34,33,33,33,33,33,33,32,
08152     32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30
08153   };
08154   const int n4c1w4_q[] = {
08155     100, // Capacity
08156     500, // Number of items
08157     // Size of items (sorted)
08158     100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,98,
08159     98,98,98,98,98,97,97,97,97,96,96,96,96,96,96,95,95,95,95,94,94,
08160     94,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,92,91,91,91,
08161     91,91,91,91,90,90,90,90,90,90,90,90,90,90,90,90,90,89,89,89,88,
08162     88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,86,85,85,85,85,85,
08163     84,84,84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,83,82,82,82,
08164     82,82,82,82,82,82,81,81,81,81,81,81,81,81,81,80,80,80,80,80,80,
08165     80,80,80,79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,78,78,78,
08166     77,77,77,76,76,76,76,76,76,75,75,75,74,74,74,74,74,74,74,74,74,
08167     73,73,73,72,72,72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,71,
08168     71,71,70,70,70,70,70,70,69,69,69,69,69,69,68,68,68,68,68,67,67,
08169     67,67,67,67,67,66,66,66,66,66,66,66,65,65,65,65,64,64,64,64,64,
08170     64,64,64,64,64,64,64,64,63,63,63,63,63,63,63,62,62,62,62,62,62,
08171     61,61,61,60,60,60,60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,
08172     59,58,58,58,58,58,57,57,57,57,57,57,57,57,57,57,56,56,56,56,56,
08173     56,56,56,56,56,55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,53,
08174     53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,51,51,
08175     51,50,50,50,50,49,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,
08176     47,47,47,47,47,46,46,46,46,46,46,46,46,46,46,45,45,45,45,45,45,
08177     44,44,44,44,44,44,44,44,44,44,43,43,43,43,43,43,42,42,42,42,42,
08178     42,41,41,41,41,41,41,41,41,41,41,41,41,40,40,40,40,40,40,40,40,
08179     39,39,39,39,39,39,39,39,39,38,38,38,38,38,38,38,38,37,37,37,37,
08180     37,37,37,36,36,36,36,36,35,35,35,35,34,34,34,34,34,34,34,33,33,
08181     33,33,33,33,33,33,33,32,32,32,32,31,31,31,31,31,31,31,31,30,30
08182   };
08183   const int n4c1w4_r[] = {
08184     100, // Capacity
08185     500, // Number of items
08186     // Size of items (sorted)
08187     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,
08188     98,98,98,98,97,97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,96,
08189     96,96,96,96,96,95,95,95,94,94,94,94,94,94,94,94,94,94,93,93,93,
08190     93,93,93,93,92,92,92,92,92,92,92,92,92,92,92,92,92,91,91,91,91,
08191     91,90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,88,88,88,88,
08192     88,88,88,88,88,88,88,88,87,87,87,87,87,87,87,87,87,86,86,86,86,
08193     86,85,85,85,85,85,84,84,84,84,84,83,83,83,83,83,83,83,82,82,82,
08194     82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,80,80,80,80,80,
08195     80,79,79,79,79,79,79,78,78,78,78,78,77,77,77,77,77,76,76,76,76,
08196     76,76,76,76,76,75,75,75,75,75,74,74,74,74,74,74,73,73,73,73,73,
08197     73,73,73,73,72,72,72,72,72,71,71,71,71,70,70,70,70,70,69,69,69,
08198     69,69,69,69,69,69,69,68,68,68,67,67,67,67,66,66,66,66,66,66,66,
08199     65,65,65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,
08200     63,63,63,63,62,62,61,61,61,61,61,61,61,61,60,60,60,60,60,60,59,
08201     59,59,59,59,59,59,59,59,59,58,58,58,58,58,57,57,57,57,57,57,57,
08202     57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,
08203     54,54,53,53,53,53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,
08204     52,52,52,52,52,51,51,51,51,51,51,51,51,51,50,50,50,49,49,49,49,
08205     49,49,49,49,48,48,48,48,47,47,47,47,47,47,47,47,47,47,47,46,46,
08206     46,46,45,45,45,45,45,45,45,45,45,45,45,44,44,44,44,44,44,43,43,
08207     43,43,43,43,43,43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,40,
08208     40,40,40,40,40,40,39,39,39,39,39,38,38,37,37,37,37,37,37,37,37,
08209     36,36,36,36,36,35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,33,
08210     33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30
08211   };
08212   const int n4c1w4_s[] = {
08213     100, // Capacity
08214     500, // Number of items
08215     // Size of items (sorted)
08216     100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,98,98,97,
08217     97,97,97,97,97,96,96,96,96,96,96,95,95,95,95,95,94,94,94,94,94,
08218     94,93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,91,91,91,91,
08219     91,91,91,90,90,90,90,90,90,90,90,90,89,89,89,89,89,88,88,88,88,
08220     88,88,88,88,88,88,87,87,87,87,87,86,86,86,86,86,86,86,86,85,85,
08221     85,85,85,85,85,85,85,85,84,84,84,84,84,84,84,84,84,84,83,83,83,
08222     83,83,82,82,82,82,81,81,81,81,81,81,81,80,80,80,80,80,80,80,80,
08223     80,79,79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,77,77,77,77,
08224     77,76,76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,75,75,75,74,
08225     74,74,74,74,74,74,73,73,73,73,73,73,73,73,73,73,73,72,72,72,72,
08226     72,72,72,72,71,71,71,70,70,70,70,69,69,69,69,69,69,69,69,69,69,
08227     68,68,68,68,67,67,67,67,67,67,67,66,66,66,66,66,66,65,65,65,65,
08228     64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,62,62,62,62,61,61,
08229     61,61,61,61,61,61,60,60,60,60,60,60,59,59,59,59,59,59,59,59,59,
08230     59,58,58,58,58,57,57,57,57,57,57,57,57,57,57,56,56,56,55,55,55,
08231     55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,53,53,53,53,52,52,
08232     52,52,52,52,52,52,51,51,51,51,50,50,50,50,50,50,50,50,49,49,49,
08233     49,49,49,49,49,49,49,48,48,48,48,47,47,47,47,47,47,47,47,46,46,
08234     46,46,46,46,46,46,46,45,45,45,45,44,44,44,44,44,44,44,43,43,43,
08235     43,43,42,42,42,42,42,41,41,41,41,41,41,41,41,41,40,40,40,40,40,
08236     40,40,39,39,39,39,39,39,39,39,39,39,39,39,39,39,38,38,38,38,38,
08237     38,38,38,38,37,37,37,37,37,37,37,37,36,36,36,36,36,36,35,35,35,
08238     35,35,35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,33,33,33,
08239     33,33,33,32,32,32,32,32,31,31,31,31,30,30,30,30,30,30,30
08240   };
08241   const int n4c1w4_t[] = {
08242     100, // Capacity
08243     500, // Number of items
08244     // Size of items (sorted)
08245     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,
08246     98,98,98,98,97,97,97,97,97,97,96,96,96,96,95,95,95,95,95,95,95,
08247     95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,93,92,92,92,92,
08248     92,92,91,91,91,91,91,91,90,90,90,89,89,89,89,89,89,89,89,89,89,
08249     88,88,87,87,87,87,86,86,86,86,86,86,86,86,85,85,85,85,85,85,85,
08250     85,84,84,84,84,84,84,84,84,84,83,83,83,83,82,82,82,82,82,82,82,
08251     82,82,82,81,81,81,80,80,80,80,80,80,80,79,79,79,79,79,79,78,78,
08252     78,78,78,78,78,78,78,78,78,77,77,77,76,76,76,76,76,76,76,76,75,
08253     75,75,75,75,75,74,74,74,73,73,73,73,73,73,72,72,72,72,72,72,72,
08254     72,72,72,72,72,72,72,72,71,71,71,71,70,70,70,70,70,70,70,70,70,
08255     70,70,70,69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,68,68,
08256     68,68,68,67,67,67,67,67,67,67,67,66,66,66,65,65,65,65,65,65,65,
08257     65,65,65,65,64,64,64,64,63,63,63,63,63,63,62,62,62,62,62,61,61,
08258     61,61,61,61,60,60,60,60,60,59,59,59,59,59,59,58,58,58,58,57,57,
08259     57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,54,
08260     54,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,51,50,
08261     50,50,50,50,50,50,50,50,49,49,49,49,49,49,48,48,48,48,48,48,47,
08262     47,47,47,46,46,46,46,46,45,45,45,45,45,45,45,45,44,44,44,44,44,
08263     44,44,44,44,44,44,44,43,43,43,43,43,43,42,42,42,42,42,42,42,42,
08264     42,42,42,42,42,41,41,41,41,41,41,41,40,40,40,40,40,40,40,40,40,
08265     39,39,39,39,39,39,38,38,38,38,38,38,38,38,38,37,37,37,37,37,37,
08266     36,36,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,35,35,35,35,
08267     35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,32,32,32,32,
08268     32,32,32,32,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30,30
08269   };
08270   const int n4c2w1_a[] = {
08271     120, // Capacity
08272     500, // Number of items
08273     // Size of items (sorted)
08274     100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,98,97,96,96,
08275     96,95,95,95,95,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,
08276     92,92,92,92,92,92,91,91,91,91,91,91,90,90,90,90,90,90,90,90,89,
08277     89,88,88,88,88,88,88,87,87,87,87,86,86,86,85,85,85,85,85,84,84,
08278     84,84,83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,81,80,80,80,
08279     80,80,79,79,79,79,78,78,78,78,78,78,78,77,77,76,76,76,76,75,75,
08280     75,75,75,75,74,74,74,73,73,72,72,72,72,72,72,71,71,71,71,71,71,
08281     70,70,69,69,69,68,68,68,68,68,68,68,68,67,66,66,66,66,66,66,65,
08282     65,65,65,65,64,64,64,64,64,64,64,63,63,63,63,63,62,62,61,61,61,
08283     61,61,61,60,60,60,59,59,59,59,59,59,58,58,58,58,58,58,58,57,57,
08284     57,57,57,57,57,57,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,
08285     54,54,54,53,53,53,53,53,53,53,53,53,52,52,52,52,51,51,50,50,50,
08286     50,50,50,50,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,46,46,
08287     46,46,45,45,45,45,45,45,45,45,45,45,45,44,44,44,44,43,43,43,43,
08288     43,43,42,42,42,42,41,41,41,41,41,41,41,40,40,40,39,38,38,38,38,
08289     37,37,37,37,36,36,36,36,36,35,35,35,35,35,35,34,34,34,34,34,33,
08290     33,33,33,33,33,33,33,32,32,32,32,32,32,32,31,30,30,30,30,29,29,
08291     29,29,29,29,29,28,28,28,28,28,28,28,28,27,27,27,26,26,26,26,26,
08292     25,25,25,25,25,24,24,24,24,24,24,24,24,24,24,23,22,22,22,22,22,
08293     21,21,21,21,21,21,20,20,20,20,20,19,19,19,19,19,19,18,18,18,17,
08294     17,17,17,17,16,16,16,15,15,15,15,15,14,14,14,14,14,14,13,13,13,
08295     13,13,13,12,12,12,12,12,12,12,12,12,11,11,11,10,10,10,10,10,10,
08296     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,
08297     3,3,3,3,2,2,2,1,1,1
08298   };
08299   const int n4c2w1_b[] = {
08300     120, // Capacity
08301     500, // Number of items
08302     // Size of items (sorted)
08303     100,100,100,99,99,99,99,99,98,98,98,98,98,97,97,97,97,96,96,96,
08304     96,95,95,95,95,95,95,95,94,94,94,94,93,93,93,93,93,93,92,92,92,
08305     92,91,91,90,90,90,90,90,90,90,89,89,89,89,88,88,88,88,87,87,87,
08306     86,86,86,86,86,86,86,86,86,85,85,85,85,85,84,84,84,84,84,84,83,
08307     83,83,83,83,83,83,82,82,82,82,82,82,81,81,81,81,80,80,79,79,79,
08308     79,79,79,79,79,78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,77,
08309     76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,74,73,73,73,73,72,
08310     72,72,72,72,71,71,71,71,71,71,70,70,69,69,69,69,69,69,69,69,68,
08311     68,68,68,68,68,67,67,67,67,66,66,65,65,65,65,65,65,65,64,64,64,
08312     63,63,62,62,62,62,62,62,61,61,61,61,61,61,61,61,61,61,61,60,60,
08313     60,60,60,60,60,59,59,59,59,59,59,58,58,58,58,58,58,58,57,57,57,
08314     57,56,56,56,56,56,56,56,56,55,55,55,55,54,54,54,54,53,53,53,53,
08315     53,53,53,52,52,52,52,52,51,51,51,51,51,51,51,50,50,50,49,49,48,
08316     47,47,47,47,47,47,47,47,47,47,46,46,45,45,44,44,44,44,44,43,42,
08317     42,42,42,42,42,41,41,41,40,40,40,40,40,40,40,39,39,39,39,38,38,
08318     38,38,38,38,37,37,36,36,36,36,36,35,35,34,34,34,34,33,33,33,33,
08319     33,33,33,32,32,31,31,31,30,30,29,29,29,29,29,29,28,28,28,28,28,
08320     28,28,27,27,26,26,26,26,26,26,25,25,25,25,24,24,24,24,24,24,24,
08321     24,24,24,23,23,23,23,23,22,22,22,22,22,21,21,21,21,21,20,20,20,
08322     20,20,19,19,18,18,18,18,18,17,17,17,17,17,16,16,16,15,14,14,14,
08323     14,14,14,14,13,13,13,13,13,13,13,13,12,12,12,11,11,11,11,11,10,
08324     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,
08325     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,
08326     1
08327   };
08328   const int n4c2w1_c[] = {
08329     120, // Capacity
08330     500, // Number of items
08331     // Size of items (sorted)
08332     100,100,100,99,99,99,99,98,98,98,98,98,98,98,98,98,98,98,97,97,
08333     97,97,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,95,94,93,93,
08334     93,93,92,92,92,92,92,92,92,91,91,91,91,91,90,90,90,90,90,90,90,
08335     90,90,89,89,88,88,88,88,88,88,87,87,87,86,86,86,86,86,85,85,84,
08336     84,84,83,83,83,83,83,83,82,82,82,82,82,81,81,81,80,80,80,80,80,
08337     80,80,80,80,79,79,79,79,79,79,79,78,77,77,76,76,76,75,75,75,74,
08338     74,74,74,73,73,73,73,73,73,73,73,73,73,73,73,73,72,72,72,72,72,
08339     72,71,71,71,71,71,71,70,70,70,69,69,69,69,69,68,68,67,67,67,67,
08340     67,67,67,67,66,66,66,65,65,65,65,65,64,64,64,64,64,63,63,63,63,
08341     63,62,62,62,62,62,62,62,62,62,61,61,60,60,60,60,60,59,59,58,58,
08342     58,58,58,57,57,57,56,56,56,56,56,56,55,55,55,55,55,54,54,54,54,
08343     53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,51,50,50,50,50,50,
08344     49,49,49,49,49,49,49,49,48,48,48,48,47,47,47,47,47,46,46,46,45,
08345     45,45,45,45,45,44,44,44,44,44,44,44,44,44,43,43,43,43,43,42,42,
08346     42,42,42,41,41,41,41,41,41,40,40,40,39,39,39,39,39,39,39,38,38,
08347     38,37,37,37,37,37,37,37,36,36,36,36,36,36,35,35,35,35,35,35,35,
08348     35,35,34,34,33,33,33,33,33,32,32,32,32,32,31,31,31,31,31,31,31,
08349     30,30,30,30,30,30,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,
08350     27,27,27,26,26,26,26,26,25,25,25,24,24,24,24,24,24,24,23,23,23,
08351     23,23,22,22,22,22,22,21,21,21,21,21,20,20,20,20,20,19,19,19,19,
08352     19,18,18,18,18,17,17,17,16,16,16,16,16,16,15,15,15,14,14,14,14,
08353     14,14,14,14,13,13,13,13,13,12,12,12,12,12,12,11,11,10,9,9,9,9,
08354     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,
08355     2,2,1,1,1,1,1
08356   };
08357   const int n4c2w1_d[] = {
08358     120, // Capacity
08359     500, // Number of items
08360     // Size of items (sorted)
08361     100,100,100,100,99,99,99,99,99,98,98,98,98,97,97,97,97,97,96,
08362     96,96,96,96,96,95,95,95,95,94,94,94,94,94,94,93,93,93,93,93,93,
08363     92,92,92,92,92,91,91,91,91,91,91,91,90,90,90,90,89,89,88,88,88,
08364     87,87,87,86,85,85,85,85,85,85,85,84,84,84,83,83,83,83,82,82,82,
08365     82,82,82,81,81,81,81,80,80,79,79,79,78,78,78,78,78,77,77,77,77,
08366     77,77,77,77,76,76,76,76,76,76,75,75,75,74,74,74,74,73,73,73,73,
08367     73,73,73,72,72,72,72,72,71,71,70,70,70,70,70,70,69,68,68,68,68,
08368     67,67,67,66,66,65,65,65,65,65,64,64,64,64,64,64,64,64,64,64,64,
08369     63,63,63,63,62,62,62,62,61,61,61,60,59,59,59,58,58,58,58,58,58,
08370     57,57,57,57,57,56,56,56,54,54,54,54,54,54,53,53,53,53,53,53,53,
08371     52,52,51,51,51,51,51,51,51,50,50,50,50,49,49,49,48,48,48,48,48,
08372     47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,46,46,46,45,45,45,
08373     45,45,45,45,45,44,44,44,43,43,43,43,43,42,42,42,42,41,41,41,41,
08374     41,41,41,40,40,40,40,40,40,40,40,39,39,39,39,38,38,38,38,38,38,
08375     38,38,38,38,37,37,37,37,36,36,36,36,36,36,35,35,34,34,34,34,33,
08376     33,33,33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,
08377     30,30,30,30,30,30,29,29,29,29,28,28,28,28,28,28,28,28,28,28,27,
08378     27,27,26,26,26,26,26,26,26,26,26,26,26,25,25,25,25,25,25,25,25,
08379     24,24,24,23,23,23,23,23,23,23,23,23,23,23,23,22,22,22,21,21,21,
08380     21,21,21,21,20,20,20,20,20,20,20,20,19,19,18,18,18,18,17,17,17,
08381     17,17,16,16,16,16,16,16,16,16,15,15,15,15,14,14,13,13,13,13,12,
08382     12,12,12,12,12,12,12,12,11,11,11,11,11,10,10,10,10,9,9,9,9,8,
08383     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,
08384     2,2,2,2,2,1,1,1
08385   };
08386   const int n4c2w1_e[] = {
08387     120, // Capacity
08388     500, // Number of items
08389     // Size of items (sorted)
08390     100,100,100,100,99,99,99,99,98,98,98,98,97,97,97,97,97,97,97,
08391     96,96,96,96,96,96,96,96,95,95,95,95,95,94,94,94,94,94,93,93,93,
08392     93,93,93,93,93,92,92,92,92,92,92,91,91,90,90,90,90,90,90,90,90,
08393     90,89,89,89,88,88,88,88,88,88,88,87,87,87,87,86,86,86,85,85,84,
08394     84,84,83,83,83,82,82,82,82,81,81,81,81,81,81,81,81,81,80,80,80,
08395     80,80,80,79,79,79,79,78,78,78,78,77,77,77,77,77,76,76,76,76,76,
08396     76,76,75,75,75,75,75,75,75,74,74,74,73,73,73,73,73,73,73,73,72,
08397     72,72,72,72,72,71,71,71,71,71,70,70,70,70,70,69,69,69,69,69,69,
08398     69,68,68,68,68,68,68,68,68,67,67,67,66,66,66,66,65,65,65,64,64,
08399     64,63,63,62,62,62,62,62,62,62,61,61,61,60,60,60,60,60,59,59,59,
08400     59,59,59,59,58,58,58,58,57,57,57,57,56,56,56,56,56,56,56,56,56,
08401     55,55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,54,54,53,53,53,
08402     53,52,52,52,52,51,51,51,51,51,51,51,50,50,50,50,50,49,49,49,49,
08403     49,49,48,48,48,48,47,47,47,47,47,46,46,45,45,45,44,44,44,44,44,
08404     43,43,43,43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,41,40,40,
08405     40,39,39,39,38,38,38,37,36,36,36,36,36,36,36,35,35,35,35,35,35,
08406     35,35,34,34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,32,31,
08407     31,31,31,31,30,30,30,30,30,30,30,30,29,29,29,29,29,29,29,29,29,
08408     28,27,27,27,27,27,27,27,27,26,25,25,25,24,24,23,23,23,23,23,22,
08409     22,22,21,21,21,21,21,20,20,20,20,19,19,19,19,19,19,18,18,18,18,
08410     18,18,17,17,17,16,16,16,16,16,16,16,16,16,16,15,15,14,14,14,14,
08411     14,13,13,13,13,13,13,12,12,12,12,12,12,12,12,11,11,11,11,11,10,
08412     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,
08413     3,3,3,3,3,3,2,2,2,2,1
08414   };
08415   const int n4c2w1_f[] = {
08416     120, // Capacity
08417     500, // Number of items
08418     // Size of items (sorted)
08419     100,99,99,99,99,99,98,98,98,98,98,98,98,98,97,97,96,96,96,96,
08420     95,95,94,94,94,94,94,94,93,93,93,93,93,93,93,93,92,92,92,92,92,
08421     91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,89,89,88,88,88,87,
08422     87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,85,85,85,84,84,84,
08423     84,83,83,83,83,83,83,83,83,82,82,81,81,81,81,81,80,80,80,80,80,
08424     79,79,79,79,79,79,78,77,77,77,76,76,76,76,76,76,75,75,74,74,73,
08425     73,73,73,73,72,72,72,71,71,71,70,70,70,70,70,70,70,70,69,69,69,
08426     69,68,68,68,67,67,67,67,67,66,65,65,65,64,64,64,64,64,64,63,63,
08427     63,63,63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,61,61,61,60,
08428     60,60,60,60,60,60,60,59,59,57,57,57,57,57,56,56,56,56,56,56,55,
08429     55,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,52,52,52,52,
08430     52,52,52,52,51,51,51,51,51,50,50,50,50,50,50,50,50,49,49,49,49,
08431     49,49,49,49,48,48,47,47,47,47,47,46,46,46,46,46,46,46,46,45,45,
08432     45,44,44,44,44,44,43,43,43,43,42,42,42,42,41,41,41,40,40,40,40,
08433     40,39,39,39,39,38,38,38,38,38,37,37,37,37,36,36,36,36,36,35,35,
08434     35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,32,32,32,32,32,
08435     31,31,31,31,31,31,31,30,30,30,29,29,29,29,29,29,28,28,28,27,27,
08436     27,27,27,27,26,26,26,26,26,26,25,25,25,25,24,24,24,24,24,24,23,
08437     23,23,23,23,22,22,22,22,21,21,21,21,21,21,20,20,20,20,19,19,19,
08438     19,18,18,18,17,17,17,17,16,16,16,16,16,15,15,15,14,14,14,14,14,
08439     13,13,13,13,13,13,13,12,12,12,12,11,11,11,10,10,10,10,10,10,10,
08440     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,
08441     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
08442   };
08443   const int n4c2w1_g[] = {
08444     120, // Capacity
08445     500, // Number of items
08446     // Size of items (sorted)
08447     100,100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,
08448     99,99,99,99,98,98,98,98,97,97,97,97,96,96,96,96,96,96,96,96,96,
08449     96,96,95,95,95,94,94,94,94,94,94,94,93,93,93,93,92,92,92,92,92,
08450     92,91,91,91,91,91,90,90,90,89,89,89,89,89,89,88,88,88,88,88,88,
08451     87,87,86,86,86,86,86,85,85,85,84,84,84,84,84,83,83,83,83,83,83,
08452     82,82,82,82,82,82,81,81,81,81,81,80,80,80,79,79,79,79,79,78,78,
08453     78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,75,75,74,74,74,74,
08454     74,73,73,73,73,73,73,72,72,72,72,71,71,71,71,71,70,70,70,70,70,
08455     70,70,69,69,69,69,69,68,68,68,67,67,67,66,66,65,64,64,64,63,63,
08456     63,63,63,62,62,62,62,61,60,60,60,60,59,59,59,59,59,58,58,58,58,
08457     58,57,57,57,57,57,56,56,55,55,55,55,55,54,54,54,53,53,53,53,53,
08458     52,52,52,52,52,51,51,51,51,51,50,50,50,50,49,49,49,49,49,49,48,
08459     48,48,48,47,47,47,47,47,47,47,47,47,46,46,46,46,46,46,46,45,45,
08460     45,45,45,44,44,44,44,44,44,43,43,43,43,42,41,41,41,41,40,40,40,
08461     40,40,39,39,39,38,38,38,38,38,38,38,38,38,37,37,37,37,37,36,36,
08462     36,36,36,36,36,36,36,35,35,35,35,35,34,34,34,34,34,33,33,33,33,
08463     33,33,33,33,32,32,32,32,32,31,31,31,30,30,30,30,30,30,29,29,29,
08464     29,29,29,29,29,29,29,29,28,27,27,27,27,27,27,26,26,26,26,26,26,
08465     26,26,26,25,25,25,25,24,24,24,24,24,24,24,23,22,22,22,22,22,21,
08466     21,21,20,20,20,19,19,19,19,19,19,18,18,18,17,17,17,17,17,17,17,
08467     17,17,17,16,16,16,16,16,15,15,15,14,14,14,14,14,13,13,13,13,13,
08468     13,12,12,12,12,12,11,11,11,11,10,10,10,10,10,10,10,10,9,9,9,9,
08469     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,
08470     2,2,2,2,1,1,1,1,1,1
08471   };
08472   const int n4c2w1_h[] = {
08473     120, // Capacity
08474     500, // Number of items
08475     // Size of items (sorted)
08476     100,100,100,100,99,99,99,99,99,98,98,98,98,98,97,97,97,97,97,
08477     96,96,96,96,96,96,96,96,96,96,96,95,95,94,94,94,94,94,93,93,93,
08478     93,93,93,92,92,92,91,91,91,91,90,90,90,89,89,89,89,89,88,88,88,
08479     88,87,87,87,87,86,86,86,86,85,85,85,85,85,85,84,84,84,84,84,84,
08480     84,84,83,83,83,82,82,82,82,81,81,81,81,81,81,81,80,80,80,80,80,
08481     80,80,79,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,78,
08482     77,77,77,77,77,77,77,77,76,76,76,76,76,74,74,74,74,74,73,73,73,
08483     73,73,73,72,72,72,71,71,71,71,70,70,70,70,70,70,70,69,69,69,69,
08484     69,69,68,68,68,68,68,67,67,67,67,67,66,66,66,65,65,65,65,64,64,
08485     64,64,63,63,63,63,63,63,63,63,63,63,62,62,62,62,62,62,61,61,61,
08486     61,61,61,60,60,60,60,60,60,60,60,59,58,58,58,58,57,57,56,56,56,
08487     56,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,53,53,52,52,52,
08488     52,52,52,52,52,52,51,51,51,51,50,50,50,50,50,49,49,48,48,48,47,
08489     47,46,46,46,46,46,46,46,45,45,44,43,43,43,43,42,42,42,42,42,42,
08490     41,41,41,41,40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,
08491     38,37,37,37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,35,34,34,
08492     34,34,34,34,33,33,33,33,32,32,32,32,32,32,32,32,31,31,31,31,30,
08493     30,30,30,30,30,29,29,29,29,29,28,28,28,28,28,27,27,27,27,26,26,
08494     26,26,26,26,26,26,26,25,25,25,24,24,24,24,24,23,23,23,23,23,23,
08495     23,22,22,22,22,21,21,21,20,20,20,19,19,19,19,19,19,18,18,18,18,
08496     18,18,18,17,17,17,17,17,17,16,16,16,16,16,15,15,15,15,14,14,14,
08497     13,13,12,12,12,12,12,12,12,11,11,11,11,11,11,10,10,10,9,9,9,9,
08498     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,
08499     2,2,2,1,1,1,1,1
08500   };
08501   const int n4c2w1_i[] = {
08502     120, // Capacity
08503     500, // Number of items
08504     // Size of items (sorted)
08505     100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,99,98,98,98,
08506     98,98,98,98,97,97,97,96,96,96,96,96,96,96,96,95,95,95,95,94,94,
08507     94,94,94,93,92,92,92,92,91,91,91,91,91,91,90,90,90,90,90,89,89,
08508     89,89,89,88,88,88,88,88,87,87,87,86,86,86,86,85,85,85,85,84,84,
08509     84,84,84,84,83,83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,
08510     81,81,80,80,80,80,79,79,79,79,78,78,78,77,77,77,76,76,75,75,74,
08511     74,74,74,74,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,71,70,
08512     70,70,70,70,70,70,70,69,69,69,69,68,68,67,67,67,67,67,67,67,66,
08513     66,66,65,65,65,65,64,64,64,64,64,64,64,64,64,64,63,63,63,63,63,
08514     63,63,62,62,62,62,62,61,61,61,61,61,60,60,60,59,59,58,58,58,58,
08515     58,58,57,57,57,57,56,56,56,56,55,55,55,55,55,55,54,54,54,54,53,
08516     53,53,52,52,52,52,52,51,51,51,51,51,50,50,50,50,50,50,50,50,50,
08517     49,49,49,48,48,48,47,47,47,47,47,47,46,46,46,46,46,45,45,45,45,
08518     44,44,44,43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,41,41,41,
08519     41,41,41,40,40,40,40,40,40,40,39,39,39,39,39,38,38,38,38,37,37,
08520     37,37,37,36,36,36,36,36,36,36,36,35,35,34,34,34,34,34,34,34,34,
08521     33,33,33,33,33,32,32,31,31,31,31,31,31,30,29,29,29,28,28,28,28,
08522     28,28,28,27,27,27,27,26,26,26,26,26,26,26,26,25,25,25,25,25,25,
08523     24,24,24,24,24,24,24,24,24,23,23,23,22,22,22,21,21,21,21,21,21,
08524     20,20,20,20,20,20,19,19,19,19,18,18,18,18,18,18,18,18,18,18,17,
08525     17,17,17,17,16,16,16,16,16,15,15,15,15,15,14,14,14,14,14,13,13,
08526     13,13,13,12,12,12,12,11,11,11,11,11,11,10,10,10,10,10,9,9,9,8,
08527     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,
08528     2,2,2,2,2,2,1,1
08529   };
08530   const int n4c2w1_j[] = {
08531     120, // Capacity
08532     500, // Number of items
08533     // Size of items (sorted)
08534     100,100,100,100,99,99,98,98,98,98,97,97,97,97,97,97,96,96,96,
08535     96,95,95,94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,92,92,
08536     92,92,91,91,91,90,90,89,89,89,89,89,89,89,89,88,88,88,87,87,87,
08537     87,86,86,86,86,85,85,85,85,85,84,84,83,83,83,82,82,82,82,82,82,
08538     81,81,81,81,81,81,81,81,80,80,80,80,80,80,80,79,79,79,79,78,78,
08539     78,78,78,78,78,78,77,77,76,76,76,76,76,76,75,75,75,75,75,75,75,
08540     75,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,72,72,72,72,
08541     71,71,70,70,70,69,69,69,69,69,68,68,67,67,67,67,66,66,66,66,66,
08542     66,66,65,65,65,65,65,65,64,64,64,64,63,63,62,62,61,61,61,60,60,
08543     60,59,59,59,59,59,58,58,58,58,58,58,58,58,58,57,57,57,57,57,57,
08544     56,56,55,55,55,55,55,55,54,54,54,53,53,53,52,52,52,52,52,51,51,
08545     51,51,51,51,51,51,50,50,50,49,49,49,49,49,49,48,48,48,48,48,48,
08546     47,47,47,47,47,47,46,45,45,45,45,45,44,44,44,44,44,44,43,43,43,
08547     42,42,42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,40,40,40,39,
08548     39,39,39,39,39,39,39,38,38,37,37,37,37,37,37,36,36,36,36,36,36,
08549     36,36,36,36,35,35,35,35,34,34,33,33,33,33,33,33,32,32,32,32,32,
08550     31,30,30,30,30,30,30,30,30,30,29,29,29,29,29,29,29,29,28,28,28,
08551     28,27,27,27,27,26,26,26,25,25,25,25,25,24,24,24,24,24,23,23,23,
08552     22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,20,20,19,19,19,19,
08553     18,18,18,18,18,17,17,17,17,17,17,16,16,16,16,15,15,15,15,14,14,
08554     14,14,13,13,13,13,13,13,12,12,12,12,12,12,11,11,11,11,10,10,10,
08555     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,
08556     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
08557   };
08558   const int n4c2w1_k[] = {
08559     120, // Capacity
08560     500, // Number of items
08561     // Size of items (sorted)
08562     100,100,100,100,100,100,100,99,99,98,98,98,97,97,97,97,97,96,
08563     96,96,96,95,95,95,95,95,95,95,95,94,94,94,94,94,93,93,93,93,93,
08564     92,92,92,92,92,91,91,91,91,91,90,90,90,89,89,88,88,88,88,88,88,
08565     88,88,88,87,87,86,86,86,86,86,85,85,85,85,85,85,85,85,85,84,84,
08566     84,84,83,83,83,83,83,83,82,82,82,82,82,81,81,81,81,80,80,80,80,
08567     80,79,79,79,79,79,79,78,78,78,78,78,77,77,77,77,77,77,76,76,76,
08568     76,76,76,75,75,75,75,75,74,74,74,74,74,74,73,73,73,73,72,72,71,
08569     71,71,71,70,70,70,70,69,69,69,69,68,68,68,67,67,66,66,66,66,66,
08570     66,66,66,65,65,65,64,64,64,64,64,64,64,64,64,64,64,63,63,63,62,
08571     62,62,62,62,61,61,61,61,61,60,60,60,60,60,59,59,59,59,59,58,58,
08572     57,57,57,57,56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,54,
08573     54,54,54,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,
08574     50,50,50,50,50,50,50,49,49,49,49,48,48,48,48,48,48,48,48,47,47,
08575     46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,44,
08576     44,43,43,43,42,42,42,42,41,41,41,40,40,40,40,39,39,39,39,39,39,
08577     39,39,38,37,37,37,37,37,36,36,36,36,36,35,35,35,35,34,34,34,34,
08578     33,33,33,32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,
08579     29,29,29,28,28,28,28,28,28,28,27,27,27,27,27,27,27,27,26,26,26,
08580     26,26,26,26,26,25,25,25,25,25,25,24,24,24,24,24,23,23,22,22,22,
08581     22,22,22,22,21,21,21,21,20,20,20,20,20,20,20,19,19,19,19,19,19,
08582     19,18,18,18,18,18,17,17,16,16,16,16,16,15,15,15,14,14,13,13,12,
08583     12,12,12,12,11,11,11,11,11,11,11,11,11,11,10,10,10,10,10,10,10,
08584     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,
08585     3,3,2,2,2,2,1,1,1,1,1
08586   };
08587   const int n4c2w1_l[] = {
08588     120, // Capacity
08589     500, // Number of items
08590     // Size of items (sorted)
08591     100,100,100,99,99,99,99,99,99,99,98,98,98,97,97,96,96,95,95,95,
08592     95,95,95,95,95,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,
08593     92,92,91,91,90,90,90,89,89,89,89,88,88,88,87,87,87,87,87,87,87,
08594     86,86,86,86,86,86,85,85,85,85,85,85,85,85,85,84,84,84,84,84,84,
08595     84,84,84,83,83,83,83,83,83,83,82,82,82,81,81,81,81,80,80,80,80,
08596     79,79,79,79,78,78,78,78,78,77,77,77,77,76,76,76,76,75,75,75,75,
08597     74,74,74,73,73,73,73,73,72,72,71,71,71,71,71,71,70,70,70,70,70,
08598     70,70,70,69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,67,67,
08599     67,66,66,66,65,65,64,64,64,64,64,63,63,63,62,62,62,62,62,62,62,
08600     62,62,61,61,61,61,61,60,60,60,60,60,59,59,59,59,59,59,58,58,58,
08601     58,58,58,57,57,57,57,57,56,56,56,56,56,56,56,56,55,55,55,55,55,
08602     55,55,55,54,54,54,54,54,54,54,53,53,53,52,52,52,52,52,51,51,50,
08603     50,50,50,49,49,49,49,49,49,49,48,48,48,48,48,48,47,47,47,47,47,
08604     46,46,46,46,46,46,46,45,45,45,44,44,44,43,43,42,42,42,42,41,41,
08605     41,41,41,40,40,40,40,40,40,40,40,39,39,39,39,39,39,38,38,38,38,
08606     38,38,37,37,37,37,37,36,36,36,36,35,35,35,35,34,34,34,34,33,33,
08607     33,32,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,
08608     30,29,29,29,29,29,29,29,29,28,28,28,27,27,27,26,26,26,26,26,25,
08609     25,25,25,24,24,24,24,24,24,24,23,23,23,23,22,22,22,22,22,22,21,
08610     21,21,21,21,21,21,21,20,20,20,20,20,20,20,19,19,19,19,18,18,18,
08611     18,18,18,17,17,17,17,17,16,16,16,16,16,15,14,13,13,13,13,12,12,
08612     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,
08613     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,
08614     1,1,1
08615   };
08616   const int n4c2w1_m[] = {
08617     120, // Capacity
08618     500, // Number of items
08619     // Size of items (sorted)
08620     100,100,100,100,100,100,100,99,99,99,99,99,99,98,98,98,97,97,
08621     97,97,96,96,96,96,96,96,96,95,95,95,95,94,94,94,94,93,93,93,93,
08622     93,93,93,93,93,93,93,92,92,91,91,91,91,90,90,90,90,89,89,89,89,
08623     89,89,89,89,89,88,88,88,88,87,87,87,87,86,86,86,86,86,86,86,86,
08624     86,85,85,85,85,85,85,84,84,84,83,83,83,83,82,82,82,82,82,82,81,
08625     81,81,81,80,80,80,80,80,80,79,79,79,78,78,78,78,77,77,77,77,77,
08626     77,77,76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,74,74,73,73,
08627     73,72,72,72,72,72,72,72,71,71,71,71,71,71,70,70,70,70,69,69,68,
08628     68,68,68,68,68,68,68,67,67,67,67,67,67,66,66,66,66,66,66,66,66,
08629     65,65,65,65,65,64,64,64,64,63,63,63,63,62,62,62,61,61,61,60,60,
08630     60,60,60,60,60,60,60,60,60,60,59,59,59,59,59,58,58,58,57,57,57,
08631     57,57,57,57,56,56,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,
08632     53,53,53,52,52,52,52,52,51,51,51,51,51,51,51,51,50,50,50,50,50,
08633     49,49,49,49,49,49,49,49,48,48,48,48,48,48,47,47,47,46,46,46,45,
08634     45,45,45,44,44,44,44,44,44,44,43,43,43,42,42,42,41,41,41,41,40,
08635     40,39,39,39,39,38,38,38,38,38,38,37,37,37,37,36,36,36,36,36,36,
08636     35,35,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,32,32,31,31,
08637     31,30,30,30,30,30,30,29,29,29,28,28,28,28,28,28,28,28,27,27,27,
08638     27,26,26,26,26,26,26,26,26,26,26,25,25,25,25,25,24,24,24,23,23,
08639     23,23,22,22,22,21,21,21,21,20,20,20,20,20,20,20,20,20,19,19,19,
08640     19,18,18,18,18,18,17,17,17,17,17,17,17,16,16,16,15,15,15,15,15,
08641     14,14,14,14,14,14,14,13,13,13,13,13,13,12,12,12,12,11,11,11,11,
08642     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,
08643     5,5,5,5,5,4,3,3,2,2,1,1,1
08644   };
08645   const int n4c2w1_n[] = {
08646     120, // Capacity
08647     500, // Number of items
08648     // Size of items (sorted)
08649     100,100,100,100,99,99,99,99,99,98,98,98,98,98,97,97,96,96,96,
08650     96,95,95,95,94,94,94,94,94,93,93,93,93,93,93,92,92,92,91,91,91,
08651     91,91,91,91,90,90,90,89,89,88,88,88,88,88,88,88,88,87,87,87,87,
08652     87,87,87,87,87,86,86,86,86,86,86,86,85,85,84,84,84,84,83,83,83,
08653     83,83,82,82,82,82,82,81,81,81,81,80,80,80,80,80,80,79,79,79,79,
08654     78,78,78,78,78,78,78,77,77,76,76,75,75,75,75,75,75,75,75,75,74,
08655     74,74,74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,71,70,70,69,
08656     69,69,69,69,69,69,68,68,68,68,67,67,67,67,67,67,66,66,66,66,66,
08657     66,65,65,65,65,65,64,64,64,64,64,64,64,64,64,63,63,63,63,63,63,
08658     63,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,59,59,59,59,59,
08659     59,58,58,58,58,58,57,57,57,57,56,56,56,56,56,56,56,55,55,55,54,
08660     54,54,54,53,53,52,52,52,52,52,52,52,51,51,51,51,51,50,50,50,50,
08661     50,50,50,49,49,49,49,48,48,48,48,48,48,48,48,48,47,47,47,47,47,
08662     47,47,47,47,46,46,46,46,46,46,45,45,45,45,44,44,44,44,44,44,43,
08663     43,43,43,42,42,42,41,41,41,41,41,40,40,40,40,40,40,39,39,39,39,
08664     39,39,39,38,38,38,38,38,38,37,37,37,37,37,36,36,36,35,35,35,35,
08665     34,34,34,33,33,33,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30,
08666     30,30,30,29,29,29,29,29,28,28,27,27,27,27,27,27,26,26,25,25,25,
08667     25,25,25,25,25,24,24,24,24,24,24,24,24,24,23,23,22,22,22,22,21,
08668     21,21,21,21,20,20,20,20,20,19,19,19,19,18,18,18,18,18,17,17,17,
08669     17,17,17,16,16,16,16,16,16,15,15,15,15,15,14,14,14,14,14,13,13,
08670     13,13,13,13,12,12,12,12,11,11,11,11,11,11,11,10,10,10,10,10,10,
08671     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,
08672     2,2,2,2,2,1,1,1,1
08673   };
08674   const int n4c2w1_o[] = {
08675     120, // Capacity
08676     500, // Number of items
08677     // Size of items (sorted)
08678     100,100,100,100,100,100,99,99,99,99,98,98,98,98,98,97,97,97,97,
08679     96,96,96,96,96,96,96,96,95,95,95,95,94,94,93,93,93,93,93,93,93,
08680     92,92,92,92,92,92,91,91,91,91,90,90,90,90,90,89,89,89,89,89,88,
08681     88,88,88,87,87,87,87,86,86,85,85,85,85,84,84,84,84,83,83,83,82,
08682     82,82,82,81,81,81,81,81,81,81,81,81,81,81,81,81,80,80,80,79,79,
08683     79,79,79,79,79,79,79,78,78,78,78,77,77,77,77,77,77,76,76,76,76,
08684     76,76,76,75,75,74,74,74,74,74,74,74,74,73,73,73,73,72,72,72,72,
08685     72,72,72,72,71,71,71,71,71,71,71,71,71,71,70,70,70,70,70,70,70,
08686     69,69,69,69,69,68,67,67,66,66,65,65,65,65,65,65,65,64,64,63,63,
08687     63,63,63,63,63,63,63,63,63,62,62,62,61,61,61,61,61,61,60,60,60,
08688     60,59,59,59,59,59,59,58,58,58,58,58,57,57,57,56,56,56,56,56,56,
08689     56,56,55,55,55,55,55,54,54,54,54,54,53,53,53,53,53,53,53,52,51,
08690     51,50,50,50,50,49,49,49,48,48,47,47,47,47,47,47,47,47,47,47,47,
08691     47,46,46,46,46,46,45,45,45,45,44,44,44,44,44,43,43,43,43,42,42,
08692     42,42,42,42,42,42,41,41,41,40,40,39,39,39,39,39,38,38,38,38,38,
08693     37,37,37,37,37,36,36,36,36,36,36,35,35,35,35,35,35,34,34,34,34,
08694     34,34,33,33,33,33,33,32,32,32,32,31,31,31,31,30,30,30,30,30,29,
08695     29,29,29,29,29,29,29,29,28,28,28,28,28,27,27,27,27,27,27,26,26,
08696     26,26,26,25,25,25,25,25,25,25,25,24,24,24,24,24,24,24,23,22,22,
08697     22,22,21,21,21,21,21,21,20,19,19,19,19,19,18,18,18,18,18,17,17,
08698     17,17,17,17,16,16,16,16,15,15,15,15,14,14,14,14,14,13,13,13,13,
08699     13,12,12,12,12,12,12,12,11,11,11,11,11,10,10,10,10,9,9,9,9,8,
08700     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,
08701     1,1,1,1,1,1,1,1
08702   };
08703   const int n4c2w1_p[] = {
08704     120, // Capacity
08705     500, // Number of items
08706     // Size of items (sorted)
08707     100,100,100,100,100,100,100,99,99,99,99,99,99,98,98,98,97,97,
08708     97,96,96,96,96,96,96,96,95,95,95,95,95,94,94,93,93,93,92,92,92,
08709     92,92,92,92,91,91,90,90,90,90,90,90,90,89,89,89,89,89,88,88,88,
08710     87,87,87,87,87,86,85,85,85,85,85,85,85,85,84,84,84,84,84,84,84,
08711     84,83,83,83,83,83,82,82,82,82,82,82,81,81,81,81,81,81,81,80,80,
08712     80,79,79,78,78,78,78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,
08713     76,75,75,75,74,74,74,74,74,74,74,74,73,73,72,72,72,71,71,71,70,
08714     70,70,70,70,70,70,70,69,69,69,69,69,69,68,68,68,68,68,68,68,68,
08715     68,68,67,67,67,67,66,66,66,66,66,66,66,65,65,65,65,65,64,64,64,
08716     64,64,64,64,63,63,63,63,63,62,62,62,62,61,61,61,61,60,60,60,60,
08717     59,59,59,59,59,58,58,58,57,57,57,57,56,56,55,55,55,55,55,55,54,
08718     54,54,54,54,53,53,53,53,53,53,53,53,53,53,53,53,53,53,52,52,52,
08719     51,51,51,51,51,51,51,50,50,50,50,50,50,49,49,49,49,49,48,48,48,
08720     48,48,48,48,47,47,47,47,47,47,47,47,46,46,46,46,46,45,45,45,45,
08721     44,44,44,44,44,44,44,43,43,43,43,42,42,42,42,42,41,41,41,41,41,
08722     40,40,40,39,39,38,38,38,38,38,38,37,37,37,37,36,36,36,35,35,35,
08723     35,35,35,35,34,34,34,34,34,33,33,33,32,32,32,32,31,31,31,31,31,
08724     30,30,30,30,29,29,29,29,29,29,28,28,28,27,27,26,26,26,26,26,26,
08725     26,26,26,26,25,25,24,24,24,24,24,24,23,23,23,23,23,23,23,23,22,
08726     22,22,21,21,21,20,20,20,19,19,19,19,19,19,18,18,17,17,16,16,16,
08727     16,16,16,15,15,15,15,15,15,14,14,14,14,14,14,14,14,13,13,13,13,
08728     13,13,13,13,13,13,12,12,12,12,11,11,11,11,11,11,11,11,10,9,9,
08729     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,
08730     2,2,2,2,2,2,2,1,1,1
08731   };
08732   const int n4c2w1_q[] = {
08733     120, // Capacity
08734     500, // Number of items
08735     // Size of items (sorted)
08736     100,100,100,100,100,100,100,99,99,99,98,98,98,98,98,98,98,98,
08737     97,97,97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,95,95,
08738     95,94,94,94,94,94,94,94,93,93,93,92,91,91,91,91,90,90,89,89,89,
08739     89,89,89,89,89,88,88,88,88,88,88,87,87,87,87,86,86,86,86,85,85,
08740     85,85,85,85,85,84,84,84,84,84,84,84,84,84,83,83,83,83,82,82,81,
08741     81,81,80,80,80,79,79,79,78,78,77,77,77,77,77,76,76,76,75,75,75,
08742     75,75,75,74,74,74,74,73,73,73,73,73,73,73,73,72,72,72,72,72,72,
08743     72,72,72,72,71,71,71,71,71,71,71,70,70,69,69,69,69,69,68,68,68,
08744     67,67,67,66,66,66,66,66,65,65,65,65,65,65,64,64,64,64,63,63,63,
08745     63,62,62,62,61,61,61,61,61,61,61,61,61,60,60,60,60,60,60,59,59,
08746     59,59,59,59,59,58,58,58,58,58,57,56,56,56,56,55,55,55,55,55,55,
08747     55,54,53,53,53,53,53,52,52,52,52,52,52,52,52,52,52,51,51,51,51,
08748     51,51,51,50,50,49,49,49,48,48,48,48,48,48,48,48,47,47,47,46,46,
08749     46,46,46,45,45,45,45,44,44,44,44,44,44,44,44,44,43,43,43,43,42,
08750     42,42,41,41,41,41,41,40,40,40,40,40,39,39,39,39,39,39,39,39,38,
08751     38,38,37,37,37,37,36,36,36,36,35,35,35,34,34,34,34,34,34,34,33,
08752     33,33,33,33,33,33,32,32,32,32,31,31,31,31,30,30,30,30,29,29,29,
08753     29,29,29,28,28,28,28,28,28,27,27,27,27,27,26,26,25,25,25,25,24,
08754     24,24,23,23,23,23,23,23,23,23,22,22,22,22,22,22,21,21,21,21,20,
08755     20,20,20,20,19,19,19,19,19,19,19,19,19,19,18,18,18,18,17,17,17,
08756     17,17,17,17,16,16,16,15,15,15,14,14,14,13,12,12,12,12,11,11,11,
08757     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,
08758     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,
08759     1,1,1,1
08760   };
08761   const int n4c2w1_r[] = {
08762     120, // Capacity
08763     500, // Number of items
08764     // Size of items (sorted)
08765     100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,
08766     98,97,97,97,97,97,97,97,96,96,96,96,96,96,95,95,95,95,95,94,93,
08767     93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,90,
08768     90,89,89,89,89,89,89,89,88,88,87,87,87,87,87,87,86,86,86,86,86,
08769     86,86,86,86,86,86,85,85,85,83,83,83,83,83,82,82,82,82,82,82,81,
08770     80,80,80,80,79,79,79,78,78,78,78,78,78,77,77,77,77,77,76,76,76,
08771     76,76,76,76,76,75,75,75,75,75,75,74,74,74,73,73,73,73,72,72,71,
08772     71,71,71,71,70,70,70,70,70,69,69,69,69,69,69,69,68,68,67,66,66,
08773     65,65,65,65,65,65,64,64,64,64,64,63,63,63,63,63,63,62,62,62,62,
08774     62,61,61,61,61,61,61,61,61,61,61,61,60,60,60,60,60,60,60,59,59,
08775     59,59,59,59,58,58,58,58,58,57,57,57,57,56,56,56,56,56,56,55,55,
08776     55,55,55,54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,51,51,51,
08777     51,51,50,50,49,49,49,49,49,48,48,48,48,48,48,48,48,47,47,47,46,
08778     46,45,45,45,45,45,45,45,45,45,45,45,45,44,43,43,43,43,43,43,43,
08779     42,42,42,42,42,42,42,42,42,41,41,41,41,40,40,40,40,40,40,39,39,
08780     39,39,39,39,39,38,38,38,37,37,37,37,37,37,37,36,36,36,36,36,36,
08781     35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,32,32,32,31,31,31,
08782     31,31,30,30,30,29,29,29,29,29,28,28,28,28,28,27,27,27,27,27,27,
08783     27,26,26,26,26,26,25,25,25,25,25,24,24,24,24,24,24,24,24,23,23,
08784     22,22,22,22,21,21,21,20,20,20,19,19,19,19,19,19,18,18,18,18,17,
08785     17,17,16,16,16,16,16,16,16,15,15,15,15,14,13,13,13,13,12,12,12,
08786     12,12,12,12,12,12,11,11,11,10,10,10,10,10,10,10,9,9,8,8,8,7,7,
08787     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,
08788     1,1,1,1,1,1,1,1
08789   };
08790   const int n4c2w1_s[] = {
08791     120, // Capacity
08792     500, // Number of items
08793     // Size of items (sorted)
08794     100,100,100,99,99,99,98,98,98,98,97,97,97,97,96,96,96,96,96,96,
08795     95,95,95,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,92,91,
08796     91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,88,88,88,88,88,88,
08797     88,88,87,87,87,86,86,86,85,85,85,85,85,85,85,85,85,84,84,84,84,
08798     83,83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,81,80,80,80,80,
08799     80,80,80,79,79,79,79,78,77,77,77,77,77,76,76,76,75,74,74,74,74,
08800     73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,70,70,70,69,69,69,
08801     68,68,68,68,68,68,68,68,68,67,66,66,66,66,66,66,65,65,65,65,65,
08802     65,65,65,65,65,65,65,64,64,63,63,63,63,63,63,63,63,63,62,62,62,
08803     62,62,62,62,62,62,61,61,61,61,61,61,61,61,61,60,60,60,60,59,59,
08804     59,59,58,58,58,57,57,57,57,56,56,56,56,56,56,55,55,54,54,54,54,
08805     53,53,53,53,53,53,52,52,52,52,51,51,51,51,51,50,50,50,50,49,49,
08806     49,49,48,48,48,47,47,47,47,46,46,46,46,46,46,46,46,45,45,45,45,
08807     45,45,45,44,44,44,44,44,43,43,43,43,43,43,43,43,43,42,42,42,42,
08808     42,42,42,42,41,41,41,41,41,41,40,40,40,40,40,40,40,39,39,39,39,
08809     39,39,38,38,37,37,37,36,36,36,36,36,36,35,35,35,35,35,35,35,34,
08810     34,34,34,34,33,33,33,33,33,33,32,32,32,32,32,32,32,31,31,31,31,
08811     31,31,30,30,30,30,30,29,29,29,29,28,28,28,27,27,27,27,26,26,26,
08812     26,26,26,26,25,25,24,24,24,24,24,24,23,23,23,22,22,22,22,21,21,
08813     21,21,21,20,20,19,19,19,19,19,19,19,19,19,18,18,18,18,17,17,17,
08814     17,17,17,17,17,16,16,16,16,15,15,14,14,14,14,13,12,12,12,12,12,
08815     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,
08816     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,
08817     2,1,1,1
08818   };
08819   const int n4c2w1_t[] = {
08820     120, // Capacity
08821     500, // Number of items
08822     // Size of items (sorted)
08823     100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,98,98,
08824     97,97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,95,94,94,94,94,
08825     94,94,94,94,93,93,93,93,92,92,92,92,92,92,91,91,91,91,90,90,90,
08826     90,90,89,89,89,89,89,89,89,89,88,88,88,88,87,87,87,87,86,86,85,
08827     85,85,84,84,84,84,84,84,84,84,83,83,83,83,82,82,82,82,82,81,81,
08828     81,81,81,81,81,81,80,80,80,80,79,79,79,79,79,78,78,78,78,77,77,
08829     77,77,76,76,76,75,75,75,75,75,75,75,74,74,74,74,74,73,73,73,72,
08830     72,72,71,71,71,70,70,70,70,69,69,69,69,69,69,68,68,68,67,67,67,
08831     67,67,67,67,67,67,66,66,66,66,66,66,66,65,65,65,65,64,64,64,64,
08832     64,63,63,63,62,62,62,62,61,61,61,61,61,61,61,60,60,60,59,59,59,
08833     59,59,59,58,58,58,58,58,58,57,57,57,57,57,56,56,56,55,55,55,54,
08834     54,54,53,53,53,53,53,53,52,52,52,52,51,51,51,51,51,50,50,50,50,
08835     50,49,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,46,46,46,46,
08836     46,46,45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,43,43,43,42,
08837     42,42,42,42,42,42,41,41,41,41,41,41,40,40,40,39,39,39,39,38,37,
08838     37,37,37,37,37,37,37,36,36,36,36,36,35,35,34,34,34,34,33,33,33,
08839     33,33,33,33,32,32,32,31,31,31,31,31,31,31,30,30,29,29,29,29,29,
08840     29,27,27,26,26,25,25,25,25,25,25,25,25,24,24,24,24,24,24,24,24,
08841     24,24,23,23,23,23,22,22,22,22,21,21,21,21,21,21,21,21,21,21,20,
08842     20,20,20,19,19,19,19,19,19,18,18,18,18,18,18,18,18,18,17,17,17,
08843     17,17,17,16,16,16,16,15,14,14,14,14,14,14,14,14,13,13,13,13,12,
08844     12,12,12,12,12,12,12,12,11,11,10,10,10,10,9,9,9,9,8,8,8,8,8,8,
08845     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,
08846     2,2,2,2,2,1
08847   };
08848   const int n4c2w2_a[] = {
08849     120, // Capacity
08850     500, // Number of items
08851     // Size of items (sorted)
08852     100,100,100,100,99,99,99,99,99,99,99,99,99,99,98,97,97,97,97,
08853     97,97,97,96,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,
08854     95,94,94,94,94,94,94,94,94,94,93,93,93,93,92,92,92,92,92,92,92,
08855     92,92,91,91,91,91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,89,
08856     89,88,88,88,88,88,88,87,87,87,87,87,86,86,86,86,86,86,86,85,85,
08857     85,85,85,85,85,84,84,84,84,84,84,84,83,83,82,82,82,82,82,81,81,
08858     81,81,81,80,80,80,80,80,80,80,79,79,79,79,79,79,78,78,78,78,78,
08859     78,78,77,77,77,77,76,76,76,76,75,75,75,75,75,75,75,75,75,75,74,
08860     73,73,73,73,73,73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,71,
08861     71,71,70,69,69,69,69,69,69,69,69,68,68,68,68,68,67,67,67,67,67,
08862     67,67,67,67,67,66,66,66,66,65,65,65,65,65,65,65,65,64,64,64,63,
08863     63,63,62,62,62,62,62,62,62,62,62,62,61,61,61,61,61,60,60,60,60,
08864     60,59,59,59,59,59,59,59,59,58,58,58,58,58,58,57,57,57,57,57,57,
08865     57,57,57,56,56,56,56,56,56,55,54,54,54,54,54,53,53,53,53,53,52,
08866     52,52,52,52,52,52,52,52,51,51,50,50,50,50,50,50,50,50,50,49,49,
08867     49,49,49,49,48,48,48,48,48,48,48,48,47,47,47,46,46,46,46,46,46,
08868     46,45,45,45,45,45,45,45,45,45,45,44,44,44,44,44,44,43,43,43,43,
08869     43,43,42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,40,40,39,39,
08870     39,39,39,39,39,38,38,38,38,38,37,37,37,36,36,36,35,35,35,35,35,
08871     35,35,34,34,34,34,34,33,33,33,33,33,33,33,33,33,32,32,32,32,32,
08872     32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,30,29,29,29,29,29,
08873     29,29,29,28,28,28,28,28,28,27,27,27,27,27,27,27,26,26,26,26,26,
08874     26,26,26,25,25,25,25,24,24,24,24,24,24,24,24,24,23,23,23,23,23,
08875     23,23,22,22,22,22,22,21,21,21,21,21,21,21,21,20,20,20,20
08876   };
08877   const int n4c2w2_b[] = {
08878     120, // Capacity
08879     500, // Number of items
08880     // Size of items (sorted)
08881     100,100,100,100,100,100,99,99,99,99,99,99,98,98,98,98,98,98,98,
08882     97,97,97,97,97,97,97,97,97,97,97,97,97,97,96,96,96,95,95,95,95,
08883     95,94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,93,93,92,
08884     92,92,92,92,91,91,91,91,91,91,90,90,90,90,89,89,89,89,89,89,89,
08885     89,88,88,88,88,88,87,86,86,86,86,86,86,85,85,85,84,84,84,84,84,
08886     84,83,83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,81,81,
08887     81,81,80,80,79,79,79,79,79,79,79,79,78,78,78,78,78,77,77,77,77,
08888     77,77,77,76,76,76,76,76,76,76,76,76,75,75,75,74,74,74,74,74,74,
08889     74,74,74,73,73,73,73,72,72,72,72,72,72,72,71,70,70,70,70,70,69,
08890     69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,67,67,67,67,67,
08891     67,67,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,63,63,
08892     63,63,63,63,63,63,62,62,62,62,62,61,61,61,61,61,61,60,60,60,60,
08893     60,59,59,59,59,59,59,59,58,58,57,57,57,56,56,56,56,56,56,56,55,
08894     55,55,55,55,55,55,55,54,54,54,54,54,53,53,53,53,53,53,53,53,52,
08895     52,52,52,52,52,52,51,51,51,51,51,51,51,50,50,50,50,50,50,50,50,
08896     50,50,49,49,49,49,49,49,48,48,48,48,48,48,48,48,47,47,47,47,47,
08897     47,47,47,47,47,46,46,46,46,45,45,45,44,44,44,43,43,42,42,42,42,
08898     42,41,41,41,41,41,41,41,41,41,41,40,40,40,39,39,39,39,39,38,38,
08899     38,38,37,37,37,37,37,37,37,37,37,37,36,36,36,36,36,36,35,35,35,
08900     35,35,35,35,34,34,34,34,34,33,33,33,33,33,33,33,33,33,32,32,32,
08901     32,31,31,31,31,31,31,31,30,30,30,30,30,30,29,29,29,28,28,28,28,
08902     28,28,28,28,28,27,27,27,27,27,27,27,26,26,26,26,26,26,25,25,25,
08903     25,25,25,25,25,25,25,25,24,24,24,24,24,24,24,24,23,23,23,23,23,
08904     23,23,23,22,22,22,22,22,22,21,21,21,21,20,20,20,20,20,20
08905   };
08906   const int n4c2w2_c[] = {
08907     120, // Capacity
08908     500, // Number of items
08909     // Size of items (sorted)
08910     100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,98,98,98,97,
08911     97,97,97,97,97,96,96,96,95,95,95,95,95,95,95,95,94,94,94,94,94,
08912     94,93,93,93,93,93,93,93,92,92,92,92,92,92,92,91,91,91,91,91,91,
08913     90,90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,88,88,88,88,
08914     88,88,88,87,87,87,86,86,86,86,86,85,85,85,85,85,84,84,84,84,84,
08915     84,83,83,83,83,83,83,83,82,82,82,82,81,81,81,81,81,81,81,80,80,
08916     80,80,78,78,78,78,78,78,78,78,78,78,77,77,77,76,76,76,76,76,76,
08917     76,75,75,75,75,74,74,74,74,74,74,74,73,73,73,73,73,73,73,73,72,
08918     72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,70,69,69,69,
08919     69,69,68,68,67,67,67,67,67,66,66,66,66,66,66,66,65,65,65,65,65,
08920     65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,64,63,63,63,63,
08921     62,62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,60,60,59,59,
08922     59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,57,57,57,57,57,
08923     56,56,56,56,56,56,56,56,55,55,55,54,54,53,53,53,53,53,53,53,52,
08924     52,52,52,52,51,51,51,50,50,50,50,49,49,49,49,49,49,49,49,48,48,
08925     48,48,48,48,48,47,47,47,47,47,47,47,46,46,46,45,45,45,45,45,45,
08926     45,45,44,44,44,44,44,44,43,43,43,43,43,43,43,43,43,42,42,42,42,
08927     42,42,42,42,41,41,41,41,41,41,41,41,41,40,40,40,40,40,39,39,39,
08928     39,39,38,38,38,38,38,37,37,37,37,37,36,36,36,35,35,35,35,35,35,
08929     35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,32,
08930     32,32,32,31,31,31,31,31,31,31,31,30,30,30,30,30,30,29,29,29,29,
08931     29,29,29,29,28,28,28,28,28,27,27,27,27,27,27,27,26,26,26,26,26,
08932     26,25,25,25,25,25,24,24,24,24,24,24,24,23,23,23,23,23,23,23,23,
08933     23,22,22,22,22,21,21,21,21,21,21,21,21,21,20,20,20,20,20
08934   };
08935   const int n4c2w2_d[] = {
08936     120, // Capacity
08937     500, // Number of items
08938     // Size of items (sorted)
08939     100,99,99,99,99,99,99,99,98,98,98,98,98,98,98,97,97,97,97,97,
08940     97,97,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,94,94,
08941     94,94,94,93,93,93,93,93,92,92,92,92,91,91,91,91,91,90,90,90,90,
08942     90,90,90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,88,88,88,88,
08943     88,88,87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,84,84,84,84,
08944     84,84,84,83,83,83,83,83,83,83,83,83,83,83,82,82,82,82,82,82,82,
08945     82,81,81,81,81,81,81,81,80,80,80,80,80,79,79,79,79,79,79,78,78,
08946     78,78,78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,76,76,75,75,
08947     75,75,75,75,74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,73,72,
08948     72,72,72,72,71,71,71,71,71,71,71,71,70,70,70,70,70,70,70,69,69,
08949     69,68,68,68,68,68,68,67,67,67,67,67,66,66,65,65,65,65,65,64,64,
08950     64,63,63,63,63,62,62,62,62,62,62,61,61,61,61,61,61,60,60,60,60,
08951     60,60,60,59,59,59,59,59,59,59,58,58,58,58,58,57,57,57,57,57,57,
08952     57,56,56,56,55,55,55,55,55,54,54,54,54,54,54,54,54,54,54,53,53,
08953     53,53,53,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,50,50,
08954     50,49,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,47,47,
08955     46,45,45,45,45,45,45,45,45,44,44,44,43,43,43,43,43,43,42,42,42,
08956     42,42,42,42,42,42,41,41,41,41,41,40,40,40,40,40,39,39,39,39,39,
08957     39,39,39,39,39,38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,36,
08958     36,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,35,35,34,34,34,
08959     34,34,33,33,33,33,33,33,33,33,33,32,32,32,32,32,32,32,31,31,31,
08960     31,31,31,31,30,30,30,30,29,29,28,28,28,28,28,28,28,27,27,27,27,
08961     26,26,26,26,26,25,25,25,25,25,24,24,24,24,24,24,24,23,22,22,22,
08962     22,22,22,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20
08963   };
08964   const int n4c2w2_e[] = {
08965     120, // Capacity
08966     500, // Number of items
08967     // Size of items (sorted)
08968     100,100,100,100,100,100,100,99,99,98,98,98,98,98,98,98,97,97,
08969     97,96,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,95,94,
08970     94,94,94,94,93,93,93,93,93,93,93,93,93,92,92,92,92,92,91,91,91,
08971     91,91,91,91,91,91,91,90,90,90,90,89,89,88,88,88,88,88,88,87,87,
08972     87,87,87,86,86,86,86,85,85,85,84,84,84,84,84,84,83,83,83,83,83,
08973     83,83,83,82,82,82,82,82,81,81,81,81,81,80,80,80,80,80,80,79,79,
08974     79,79,79,79,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,76,76,
08975     76,76,75,75,75,75,75,75,75,75,74,74,74,74,73,73,73,73,73,73,73,
08976     73,72,72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,70,70,
08977     70,70,70,69,69,69,68,68,68,68,68,68,67,67,67,67,67,67,67,67,67,
08978     66,66,66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,
08979     64,63,63,63,63,63,62,62,62,62,62,62,62,62,62,61,61,61,61,61,61,
08980     61,61,61,61,61,61,60,60,60,60,59,59,59,59,59,59,59,58,58,58,58,
08981     58,57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,55,55,54,54,
08982     54,54,54,54,54,54,53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,
08983     52,52,51,51,51,51,51,51,51,51,50,50,50,50,50,50,50,50,49,49,49,
08984     49,49,49,49,49,49,48,48,48,47,47,47,47,47,47,47,46,46,46,46,46,
08985     46,45,45,45,45,45,44,44,44,44,44,44,44,43,43,42,42,42,42,41,41,
08986     40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,38,38,37,37,36,36,
08987     36,36,36,36,35,35,35,35,35,35,35,35,35,35,35,35,34,34,34,34,34,
08988     34,34,34,34,34,34,33,33,33,33,33,33,32,32,32,32,32,32,31,31,31,
08989     31,30,30,30,30,30,30,29,29,28,28,27,27,27,27,27,27,27,26,26,26,
08990     26,26,25,25,25,25,25,25,25,25,25,25,24,24,24,24,24,24,24,23,23,
08991     23,23,23,23,23,23,23,22,22,22,22,21,21,21,21,20,20,20,20,20
08992   };
08993   const int n4c2w2_f[] = {
08994     120, // Capacity
08995     500, // Number of items
08996     // Size of items (sorted)
08997     100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,
08998     99,99,99,98,98,98,98,98,98,97,97,97,97,97,96,95,95,95,95,95,94,
08999     94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,93,92,92,92,92,92,
09000     91,91,91,91,91,91,91,91,91,91,90,90,90,90,90,90,90,90,90,90,89,
09001     89,89,89,89,89,89,88,88,88,88,87,87,87,87,87,86,86,86,86,86,86,
09002     86,86,86,86,85,85,85,85,85,85,84,84,84,84,84,83,83,83,83,83,83,
09003     83,83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,
09004     79,79,79,79,79,79,79,78,78,78,78,78,78,78,77,77,77,77,77,77,77,
09005     76,76,76,76,76,76,75,75,75,75,75,75,75,75,75,74,74,74,74,74,74,
09006     74,74,74,74,73,73,73,73,72,72,72,72,72,72,72,72,72,72,71,71,71,
09007     71,70,70,70,70,70,70,70,69,69,69,69,69,69,68,68,68,68,68,68,68,
09008     68,68,68,67,67,67,67,67,66,66,66,66,66,65,65,65,65,65,64,64,64,
09009     64,63,63,63,63,63,63,62,62,62,62,62,62,62,62,62,61,61,61,61,61,
09010     61,60,59,58,58,58,58,57,57,57,57,57,56,56,56,56,56,56,56,56,56,
09011     56,55,55,55,54,54,54,54,53,53,53,53,52,52,52,52,52,51,51,51,51,
09012     51,51,50,50,50,50,50,50,50,50,50,50,49,49,48,48,48,48,48,48,48,
09013     47,47,46,46,46,46,46,46,46,46,45,45,45,45,45,45,44,44,43,43,43,
09014     43,42,42,42,42,42,42,42,41,41,41,41,41,41,40,40,40,39,39,38,38,
09015     38,38,37,37,37,37,37,37,37,37,37,37,37,37,37,36,36,36,36,36,36,
09016     36,36,36,35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,
09017     33,33,33,32,32,32,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30,
09018     30,29,29,29,29,29,28,28,28,28,28,28,28,28,28,27,27,27,27,27,26,
09019     26,26,26,25,25,25,25,25,25,25,25,24,24,24,23,23,23,23,23,23,23,
09020     23,23,22,22,22,22,22,22,22,22,22,21,21,21,21,21,20,20,20,20
09021   };
09022   const int n4c2w2_g[] = {
09023     120, // Capacity
09024     500, // Number of items
09025     // Size of items (sorted)
09026     100,100,100,100,100,100,100,100,100,100,99,99,99,99,98,98,98,
09027     98,98,98,97,97,97,97,97,97,96,96,96,96,96,95,95,95,95,95,95,95,
09028     95,95,95,95,94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,92,
09029     92,92,91,91,91,91,90,90,90,90,90,90,90,89,89,89,89,89,89,88,88,
09030     88,88,88,88,88,87,87,87,87,86,86,86,86,85,85,85,85,85,85,85,84,
09031     84,84,84,84,84,83,83,83,83,83,82,82,82,81,81,81,81,80,80,80,80,
09032     79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,77,77,77,77,77,76,
09033     76,76,76,75,75,75,75,75,75,75,75,74,74,74,74,74,74,73,73,73,72,
09034     72,72,72,72,72,71,71,71,71,71,71,70,70,70,70,70,69,69,69,69,69,
09035     69,69,69,69,69,68,68,68,68,68,68,68,68,68,68,68,68,68,67,67,67,
09036     67,66,66,66,65,65,65,65,65,65,65,65,65,64,64,64,64,64,64,63,63,
09037     63,63,63,63,63,63,63,63,63,62,62,62,62,62,61,61,61,60,60,60,60,
09038     60,60,59,59,59,59,59,59,59,59,59,59,58,58,58,57,57,57,57,57,57,
09039     57,57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,54,54,54,54,
09040     54,54,54,54,54,53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,51,
09041     51,51,51,50,50,50,50,50,50,50,50,50,49,49,49,48,48,48,48,47,47,
09042     47,47,47,47,47,47,47,46,46,46,46,45,45,45,45,45,45,44,44,44,43,
09043     43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,41,40,40,40,40,40,
09044     39,39,39,39,39,38,38,37,37,37,37,37,36,36,36,36,35,35,35,35,35,
09045     35,35,35,35,34,34,34,34,34,33,33,33,33,33,33,33,32,32,32,32,32,
09046     31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,29,29,29,29,28,
09047     28,28,28,28,27,27,27,27,27,27,27,27,27,26,26,26,26,26,26,25,25,
09048     25,24,24,24,24,23,23,23,23,23,23,22,22,22,22,22,22,22,22,21,21,
09049     21,21,21,21,21,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20
09050   };
09051   const int n4c2w2_h[] = {
09052     120, // Capacity
09053     500, // Number of items
09054     // Size of items (sorted)
09055     100,99,99,99,99,99,99,99,98,98,98,98,98,98,97,97,97,97,96,96,
09056     96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,94,94,94,94,93,93,
09057     93,93,93,93,93,92,92,92,92,92,92,92,92,92,91,91,91,91,91,91,90,
09058     90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,88,88,88,88,87,87,
09059     86,86,86,86,86,86,86,86,86,85,85,85,85,85,85,85,85,85,85,85,84,
09060     84,84,84,84,83,83,83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,
09061     81,80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,78,78,78,78,
09062     77,77,77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,
09063     75,75,74,74,74,73,73,73,73,72,72,72,72,71,71,71,71,71,71,71,71,
09064     70,70,70,70,70,69,69,69,69,69,68,68,68,68,68,68,68,67,67,67,67,
09065     67,66,66,66,66,66,66,65,65,65,65,65,64,64,64,64,64,64,63,63,62,
09066     62,62,62,62,61,61,61,60,60,60,60,60,60,60,60,60,60,60,59,59,59,
09067     59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,
09068     56,56,56,56,56,56,56,55,55,55,55,55,54,54,54,54,54,53,53,53,53,
09069     53,53,53,52,52,52,52,52,51,51,51,51,51,51,51,51,49,49,49,49,49,
09070     48,48,48,48,47,47,47,47,47,47,47,47,47,47,47,47,47,46,46,46,46,
09071     46,46,46,45,45,45,45,45,45,45,45,44,44,43,43,43,43,43,43,43,43,
09072     42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,38,38,38,38,38,38,
09073     38,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,35,35,35,35,
09074     35,34,34,34,34,34,34,34,34,33,33,33,33,33,33,33,32,32,32,32,32,
09075     32,31,31,31,31,31,31,30,30,30,30,30,30,29,29,29,29,29,28,28,28,
09076     27,27,27,27,27,27,27,26,26,26,26,26,25,25,25,25,25,25,25,25,25,
09077     25,25,24,24,24,23,23,23,23,23,23,23,23,22,22,22,22,22,22,22,22,
09078     21,21,21,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20
09079   };
09080   const int n4c2w2_i[] = {
09081     120, // Capacity
09082     500, // Number of items
09083     // Size of items (sorted)
09084     100,100,100,100,99,99,99,99,99,99,98,98,98,98,97,97,97,97,97,
09085     97,97,96,96,96,96,96,95,95,95,95,95,95,95,95,95,95,95,94,94,94,
09086     94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,92,92,92,92,
09087     92,92,91,91,91,91,91,91,90,90,90,90,90,90,90,90,90,90,89,89,89,
09088     88,88,88,88,87,87,87,87,87,87,87,87,87,87,87,86,86,86,85,85,85,
09089     85,85,85,85,84,84,84,84,83,83,83,83,83,82,82,82,82,82,82,82,82,
09090     82,81,81,81,81,81,81,81,80,80,80,80,80,79,79,79,79,79,79,79,78,
09091     78,78,77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,76,75,75,75,
09092     75,75,75,75,74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,72,
09093     72,72,72,72,72,71,71,71,71,71,70,70,70,70,70,70,70,70,70,70,69,
09094     69,68,68,68,68,68,68,68,67,67,67,67,67,66,66,66,66,65,65,65,65,
09095     65,65,65,65,65,65,65,64,64,64,64,64,63,63,63,62,62,62,62,62,61,
09096     61,61,61,61,60,60,60,60,60,59,59,59,59,59,59,59,58,58,58,58,58,
09097     58,58,58,58,57,57,57,57,57,57,57,57,56,56,55,55,55,54,54,54,53,
09098     53,53,53,53,53,53,52,51,51,50,50,50,50,49,49,49,49,49,49,49,49,
09099     48,48,48,48,48,48,48,48,48,48,48,47,47,47,47,47,47,47,46,46,46,
09100     46,46,46,45,45,45,45,45,45,44,44,44,44,44,43,43,43,43,43,43,43,
09101     43,43,43,43,43,43,42,42,42,42,42,42,42,41,41,41,41,41,41,41,40,
09102     40,40,40,40,40,39,39,39,39,39,38,38,38,38,37,37,37,37,37,37,36,
09103     35,35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,33,33,32,32,
09104     32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,29,29,29,29,
09105     29,29,29,29,29,29,28,28,28,28,28,28,27,27,27,27,27,26,26,26,26,
09106     25,25,25,25,25,25,25,25,25,24,24,24,24,24,24,23,23,23,23,23,23,
09107     22,22,22,22,22,22,22,22,21,21,21,20,20,20,20,20,20,20,20
09108   };
09109   const int n4c2w2_j[] = {
09110     120, // Capacity
09111     500, // Number of items
09112     // Size of items (sorted)
09113     100,100,100,99,99,99,99,98,98,98,98,98,98,98,98,98,98,98,97,97,
09114     97,97,97,97,97,97,96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,
09115     94,94,93,93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,91,91,
09116     91,91,91,91,91,91,91,90,90,90,90,89,89,89,89,88,88,88,88,87,87,
09117     87,87,87,87,87,87,86,86,86,86,86,85,85,85,85,85,85,85,84,84,84,
09118     84,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,82,81,81,81,81,
09119     81,81,81,81,80,80,80,79,79,79,79,79,79,78,78,78,78,78,78,78,77,
09120     77,77,77,76,76,76,75,75,75,75,75,75,75,74,74,74,74,73,73,73,72,
09121     72,72,72,72,71,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,69,
09122     69,69,69,68,68,68,68,68,68,68,68,67,67,67,67,67,67,67,67,67,67,
09123     66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,65,65,65,65,65,64,
09124     64,64,64,64,64,64,63,63,63,63,62,62,61,61,61,61,61,61,61,61,61,
09125     61,61,59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,57,57,57,
09126     57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,54,54,54,
09127     54,54,54,53,53,53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,
09128     52,51,51,51,51,51,51,51,51,51,51,51,51,50,50,50,50,50,49,49,49,
09129     49,49,49,48,48,48,47,47,47,47,47,46,45,45,45,45,45,45,44,44,43,
09130     43,43,43,43,42,42,42,42,42,42,42,42,41,41,41,41,41,41,41,41,40,
09131     40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,38,38,38,38,
09132     37,37,37,36,35,35,35,35,35,35,35,35,35,35,35,35,34,34,34,34,34,
09133     34,34,33,33,33,33,33,32,32,32,32,32,32,32,32,32,31,31,31,31,30,
09134     30,30,30,29,29,29,28,28,28,28,28,28,28,28,27,27,27,27,27,27,27,
09135     26,26,26,25,25,25,24,24,24,24,24,24,24,23,23,23,23,23,23,23,23,
09136     23,23,22,22,22,22,22,22,21,21,21,20,20,20,20,20,20,20
09137   };
09138   const int n4c2w2_k[] = {
09139     120, // Capacity
09140     500, // Number of items
09141     // Size of items (sorted)
09142     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,
09143     98,98,98,98,98,97,97,97,97,97,97,96,96,96,96,96,96,96,96,96,96,
09144     95,95,95,95,95,94,94,94,94,94,94,94,94,93,93,93,93,92,92,92,92,
09145     92,92,92,91,91,91,91,91,91,91,91,91,90,89,89,89,89,89,89,88,88,
09146     88,88,88,88,87,87,87,87,87,87,86,86,86,86,86,86,85,85,85,85,85,
09147     84,84,84,84,83,83,83,83,83,83,83,83,82,82,82,82,82,82,82,81,81,
09148     81,81,81,80,80,80,80,80,80,80,79,79,79,79,79,78,78,78,78,77,77,
09149     77,77,77,77,77,77,77,77,76,76,76,75,75,75,75,75,75,75,74,74,74,
09150     74,74,74,74,74,73,73,73,73,72,72,72,72,72,71,71,71,71,71,71,71,
09151     71,71,70,70,70,70,70,70,69,69,69,69,69,68,68,68,68,68,68,67,67,
09152     67,67,67,66,66,66,66,66,66,66,65,65,65,65,65,65,65,65,65,65,65,
09153     65,64,64,64,64,64,64,64,63,63,63,63,62,62,62,62,62,62,62,62,61,
09154     61,61,61,60,60,60,60,60,60,60,59,59,59,59,59,58,58,58,58,58,57,
09155     56,56,56,56,55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,54,54,
09156     54,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,51,51,
09157     51,51,51,51,51,50,50,50,50,50,49,49,49,48,48,48,48,48,47,47,47,
09158     47,46,46,46,46,46,45,44,44,44,44,44,44,44,44,44,44,44,44,44,43,
09159     43,43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,41,40,40,40,40,
09160     39,39,39,39,39,39,39,38,38,38,38,38,38,38,38,38,37,37,37,37,37,
09161     37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,35,35,34,34,34,34,
09162     34,34,34,34,33,33,33,33,33,32,32,32,32,32,32,32,31,31,31,31,31,
09163     31,31,31,31,30,30,30,30,30,30,30,29,29,29,29,29,29,29,29,28,28,
09164     28,28,28,28,28,28,27,27,27,27,27,27,26,26,26,25,25,25,25,24,24,
09165     23,23,23,23,23,23,23,23,22,22,22,22,21,21,21,21,20,20,20,20
09166   };
09167   const int n4c2w2_l[] = {
09168     120, // Capacity
09169     500, // Number of items
09170     // Size of items (sorted)
09171     100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,98,98,
09172     98,98,98,98,98,97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,96,
09173     95,95,95,95,95,94,94,94,94,93,93,93,93,93,92,92,92,92,92,91,91,
09174     91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,88,88,
09175     88,87,87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,85,85,85,85,
09176     85,85,85,85,85,84,84,84,84,84,84,84,84,84,84,84,84,83,83,83,83,
09177     83,82,82,82,82,81,81,81,81,81,80,79,79,79,79,79,79,79,79,79,78,
09178     78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,
09179     75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,
09180     73,73,73,73,72,72,72,72,72,72,72,71,71,71,71,71,71,71,71,70,70,
09181     69,69,69,69,69,68,68,68,67,67,67,67,67,66,66,66,66,66,65,65,65,
09182     65,65,65,65,64,64,64,64,64,64,64,63,63,63,63,63,63,63,62,62,62,
09183     61,61,61,61,61,60,60,60,60,60,60,59,59,59,59,59,59,59,59,59,58,
09184     58,58,58,58,57,57,57,57,57,57,56,56,56,55,55,55,55,55,54,54,54,
09185     54,54,53,53,53,53,53,53,53,53,53,53,53,52,52,52,52,51,51,50,50,
09186     50,50,50,50,50,50,50,49,49,49,48,48,48,48,48,48,47,47,47,47,47,
09187     47,47,47,46,46,45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,
09188     43,43,43,43,43,43,42,42,42,42,42,41,41,40,40,40,40,40,39,39,39,
09189     39,39,39,39,39,39,39,38,38,38,38,37,37,37,37,37,37,37,36,36,36,
09190     36,36,35,35,35,35,35,35,34,34,34,34,34,33,33,33,33,33,33,33,32,
09191     32,32,32,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,
09192     30,29,29,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,27,27,27,
09193     27,27,27,26,26,26,26,26,26,25,25,25,25,25,24,24,24,24,24,24,24,
09194     24,24,23,23,23,23,22,22,22,22,22,21,21,21,21,21,20,20,20
09195   };
09196   const int n4c2w2_m[] = {
09197     120, // Capacity
09198     500, // Number of items
09199     // Size of items (sorted)
09200     100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,98,
09201     98,98,98,97,97,97,97,97,97,97,96,96,96,96,96,95,95,95,94,94,94,
09202     94,93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,
09203     91,91,91,91,90,90,90,90,90,90,89,88,88,88,88,87,87,87,87,87,87,
09204     87,87,86,86,86,86,86,86,86,86,86,85,85,85,85,84,84,84,84,84,83,
09205     83,83,83,83,83,82,82,82,82,82,82,82,82,82,82,82,81,81,81,81,81,
09206     81,81,81,80,80,80,80,79,79,79,79,78,78,78,78,78,78,78,77,77,77,
09207     77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,75,75,
09208     75,75,75,75,75,75,75,74,74,74,74,74,74,74,73,73,73,73,73,72,72,
09209     72,72,71,71,71,71,71,71,71,71,70,70,70,70,70,69,69,69,69,69,69,
09210     69,69,69,69,68,68,68,68,67,67,67,67,67,66,65,65,65,64,64,63,63,
09211     63,63,63,63,63,62,62,62,62,62,62,62,62,62,61,61,61,61,60,60,60,
09212     60,60,60,60,59,59,59,59,59,58,58,57,57,57,57,57,57,57,57,57,56,
09213     56,56,56,56,56,55,55,55,55,55,54,54,54,54,54,54,54,54,54,53,53,
09214     53,53,53,52,52,52,52,52,52,52,52,52,52,52,51,51,51,51,51,51,50,
09215     50,50,50,50,49,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,48,
09216     48,47,47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,45,45,45,45,
09217     45,44,44,44,44,44,44,44,44,43,43,43,43,43,43,43,42,42,42,42,41,
09218     41,41,41,41,41,41,41,40,40,40,40,40,39,39,39,39,39,38,38,37,37,
09219     37,37,37,37,37,36,36,36,35,35,35,35,35,35,35,34,34,34,34,34,34,
09220     34,34,33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,
09221     30,30,30,29,29,28,28,28,28,28,28,27,27,27,26,26,25,25,25,25,25,
09222     25,25,25,24,24,24,24,24,23,23,23,23,22,22,22,22,22,22,22,21,21,
09223     21,21,21,21,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20
09224   };
09225   const int n4c2w2_n[] = {
09226     120, // Capacity
09227     500, // Number of items
09228     // Size of items (sorted)
09229     100,100,100,100,100,100,99,99,99,99,99,99,98,98,98,98,98,98,98,
09230     98,97,97,97,97,97,97,96,96,96,96,95,95,95,95,95,95,95,95,95,94,
09231     94,94,94,94,94,93,93,93,93,93,93,93,93,93,93,92,92,91,91,91,91,
09232     90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,89,89,89,88,88,88,
09233     88,88,88,88,87,87,87,87,87,87,87,86,86,86,86,86,86,84,84,84,84,
09234     84,84,84,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,
09235     80,80,80,80,80,80,80,80,80,80,80,79,79,79,79,79,79,78,78,78,78,
09236     78,78,78,78,77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,75,75,
09237     75,75,75,75,75,74,74,74,74,74,74,73,73,72,72,72,72,71,71,71,71,
09238     71,70,70,70,70,70,70,70,70,69,69,68,68,68,68,68,68,67,67,67,67,
09239     67,67,67,66,66,66,66,66,66,66,65,64,64,64,64,64,64,64,64,64,64,
09240     64,63,63,63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,61,61,61,
09241     61,61,60,60,60,60,60,59,59,59,59,59,59,58,58,58,58,58,57,57,57,
09242     57,57,57,57,56,56,56,56,56,56,56,56,56,56,56,56,56,55,55,55,55,
09243     55,55,55,54,54,54,54,53,52,52,52,52,52,52,52,52,51,51,51,51,51,
09244     51,51,51,51,51,50,50,50,50,50,49,49,49,49,49,49,49,48,48,48,48,
09245     48,48,48,48,48,47,47,47,47,46,46,46,46,46,46,46,46,46,46,46,45,
09246     45,45,45,44,44,44,44,44,44,44,43,43,43,43,42,42,42,42,42,41,41,
09247     41,41,41,41,41,40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,37,
09248     37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,36,36,35,35,
09249     35,35,35,35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,33,33,33,
09250     33,33,33,33,33,33,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30,
09251     30,29,29,29,29,29,29,29,28,28,28,27,27,27,27,27,27,26,26,26,25,
09252     25,24,24,24,23,23,22,22,22,22,21,21,21,21,20,20,20,20,20
09253   };
09254   const int n4c2w2_o[] = {
09255     120, // Capacity
09256     500, // Number of items
09257     // Size of items (sorted)
09258     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,
09259     98,98,98,97,97,97,97,97,97,96,96,96,96,96,95,95,95,95,95,95,94,
09260     94,94,94,94,94,94,94,93,93,93,93,93,92,92,92,92,92,91,91,91,91,
09261     90,90,90,90,90,89,89,89,89,89,89,88,88,88,88,87,87,87,86,86,86,
09262     86,86,86,86,86,85,85,85,85,85,85,84,84,84,84,84,83,83,83,83,83,
09263     83,83,83,83,82,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,
09264     80,80,79,79,79,79,79,78,78,78,78,78,78,78,77,77,77,77,77,77,76,
09265     76,76,76,76,75,75,75,75,75,75,75,75,75,74,74,74,74,73,73,73,73,
09266     73,73,73,72,72,72,72,72,72,72,72,72,71,71,70,70,70,70,70,70,70,
09267     70,70,70,69,69,69,69,69,69,68,68,68,68,67,67,67,67,67,67,66,66,
09268     66,66,66,66,66,66,66,65,65,65,65,65,65,65,65,65,65,65,64,64,64,
09269     64,64,63,63,63,63,62,62,62,62,62,62,61,61,61,61,60,60,60,60,60,
09270     60,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,58,57,57,57,57,
09271     57,56,56,56,56,56,56,55,55,55,55,54,54,54,54,54,54,53,53,53,53,
09272     52,52,52,52,52,51,51,51,51,51,51,51,51,50,50,50,50,49,49,49,49,
09273     49,48,48,48,48,48,48,48,48,47,47,47,47,47,46,46,45,45,45,44,44,
09274     44,44,44,44,43,43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,42,
09275     41,41,41,41,41,41,41,41,41,40,40,40,40,40,40,39,39,39,38,38,38,
09276     38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,37,36,36,36,36,36,
09277     35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,34,34,33,33,33,33,
09278     33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,31,31,31,31,30,
09279     30,30,30,30,30,30,30,30,29,29,29,29,28,28,28,28,28,28,27,27,27,
09280     27,27,27,26,26,26,26,26,25,25,25,25,25,25,25,25,25,25,25,24,24,
09281     23,23,23,23,23,23,22,22,22,22,22,21,21,21,21,21,21,21,21,20
09282   };
09283   const int n4c2w2_p[] = {
09284     120, // Capacity
09285     500, // Number of items
09286     // Size of items (sorted)
09287     100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,98,98,
09288     98,98,97,97,97,97,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,
09289     94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,92,
09290     92,92,92,92,92,92,92,92,92,91,91,91,91,90,90,90,90,90,89,89,89,
09291     89,89,89,89,88,88,88,88,88,88,88,88,88,88,88,87,87,87,87,87,86,
09292     86,86,86,86,86,85,85,85,85,85,85,85,85,84,84,84,83,83,83,83,83,
09293     83,83,83,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,80,80,80,
09294     79,79,79,79,79,79,79,79,79,78,78,78,78,78,78,77,77,76,76,76,76,
09295     75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,72,72,72,72,72,72,
09296     72,72,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,69,69,69,69,
09297     69,68,68,68,68,68,68,67,67,67,67,67,67,67,67,67,67,66,66,66,66,
09298     66,66,65,65,65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,63,63,
09299     62,62,62,62,61,61,61,61,61,61,60,60,60,60,60,60,59,59,59,59,59,
09300     59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,56,56,56,56,56,56,
09301     55,55,55,55,54,54,54,54,54,54,53,53,53,53,53,53,53,53,53,53,53,
09302     52,52,51,51,51,51,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
09303     49,49,48,48,48,48,48,48,48,47,47,46,46,46,45,45,45,45,45,44,44,
09304     44,43,43,43,43,43,42,42,42,42,42,41,41,40,40,40,40,40,40,40,40,
09305     39,39,39,39,39,39,39,39,39,39,38,38,38,38,37,37,37,37,37,36,36,
09306     36,36,36,35,35,35,35,35,35,35,35,35,35,35,35,35,34,34,34,34,34,
09307     34,33,33,33,33,32,32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,
09308     29,29,29,29,28,28,28,28,27,27,27,27,27,27,27,27,26,26,26,25,25,
09309     25,25,25,24,24,24,24,24,24,24,24,23,23,23,23,23,23,23,23,22,22,
09310     22,22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,20,20,20
09311   };
09312   const int n4c2w2_q[] = {
09313     120, // Capacity
09314     500, // Number of items
09315     // Size of items (sorted)
09316     100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,98,
09317     98,97,97,97,97,97,97,97,97,97,97,97,97,96,96,96,96,96,95,95,95,
09318     95,95,94,94,94,94,94,94,94,94,93,93,93,93,92,92,92,92,92,92,92,
09319     91,91,91,91,91,91,91,91,90,90,90,90,90,90,90,90,90,89,89,89,89,
09320     89,89,89,89,88,88,87,87,87,87,86,86,86,86,86,85,85,85,85,85,84,
09321     84,84,84,84,84,83,83,83,82,82,82,82,82,81,81,81,81,81,81,81,80,
09322     80,80,79,79,79,79,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,
09323     78,78,77,77,77,77,77,77,77,77,76,76,76,76,76,76,75,75,75,75,74,
09324     74,74,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,71,71,71,
09325     70,70,70,70,70,70,70,69,69,69,69,68,68,68,67,67,67,67,67,67,66,
09326     66,66,66,66,66,65,65,65,65,65,64,64,64,64,64,64,64,63,63,63,63,
09327     63,62,62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,60,60,60,
09328     59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,57,57,56,56,
09329     56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,53,53,53,53,53,53,
09330     53,52,52,52,52,52,52,52,51,51,51,51,51,51,51,51,50,50,50,50,50,
09331     50,50,50,49,49,49,49,49,49,49,48,48,48,48,47,47,47,47,47,47,46,
09332     46,46,46,46,46,46,45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,
09333     44,43,43,43,43,43,43,43,43,43,42,42,42,42,41,41,41,41,41,41,41,
09334     41,40,40,40,40,40,40,40,40,39,39,39,39,38,38,38,38,37,37,37,37,
09335     37,36,36,36,36,35,35,35,34,34,34,34,34,34,34,34,33,33,33,33,33,
09336     33,33,33,33,33,33,33,32,32,32,32,32,32,31,31,31,30,30,30,29,29,
09337     29,29,29,29,28,28,28,28,28,28,27,27,27,27,27,27,27,27,27,26,26,
09338     26,26,26,26,25,25,25,25,25,25,24,24,24,23,23,23,23,23,23,23,23,
09339     23,23,22,22,22,22,22,22,22,21,21,21,21,21,21,20,20,20,20
09340   };
09341   const int n4c2w2_r[] = {
09342     120, // Capacity
09343     500, // Number of items
09344     // Size of items (sorted)
09345     100,100,100,100,99,99,99,99,98,98,98,98,98,98,98,98,97,97,97,
09346     97,97,97,97,97,97,97,96,96,95,95,95,95,95,95,95,94,94,94,94,94,
09347     94,94,94,94,94,93,93,92,92,92,92,92,91,91,91,90,90,90,90,90,90,
09348     89,89,89,89,89,89,89,89,89,89,89,88,88,87,87,86,86,86,86,86,86,
09349     86,86,86,86,85,85,85,84,84,84,84,84,84,84,84,84,84,84,84,84,83,
09350     83,83,83,83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,81,81,81,
09351     81,81,81,81,81,81,80,80,80,80,80,80,79,79,79,79,79,79,79,78,78,
09352     78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,76,76,75,75,75,74,
09353     74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,72,71,71,71,71,
09354     71,71,70,70,70,70,70,69,69,69,69,69,68,68,68,68,67,67,66,66,66,
09355     66,66,66,66,66,66,65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,
09356     64,64,64,64,63,63,63,63,63,63,63,62,62,62,62,62,62,62,62,62,61,
09357     61,61,60,60,60,60,60,59,59,59,59,58,58,58,58,58,58,58,58,57,57,
09358     57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,
09359     54,54,54,54,53,53,53,53,53,53,53,52,52,52,52,52,51,51,51,51,51,
09360     51,51,51,51,51,50,50,49,49,49,49,48,48,48,48,48,48,48,47,47,47,
09361     47,47,47,47,46,46,46,46,46,46,46,46,45,44,44,44,44,44,44,44,43,
09362     43,43,43,43,42,42,41,41,41,41,41,40,40,40,40,40,40,40,39,39,39,
09363     39,39,39,39,38,38,38,38,38,38,37,37,37,37,37,37,37,37,36,36,36,
09364     36,36,36,36,36,36,36,36,36,35,35,34,34,34,34,34,33,33,33,33,32,
09365     32,32,32,31,31,31,31,31,31,31,30,30,30,29,29,29,29,29,29,29,29,
09366     29,28,28,28,28,28,27,27,27,27,27,27,26,26,26,26,25,25,25,25,25,
09367     25,25,25,24,24,24,24,24,24,24,24,24,24,23,23,23,23,23,22,22,22,
09368     22,22,21,21,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20
09369   };
09370   const int n4c2w2_s[] = {
09371     120, // Capacity
09372     500, // Number of items
09373     // Size of items (sorted)
09374     100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,97,97,97,97,
09375     97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,96,96,95,95,95,94,
09376     94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,92,92,92,92,
09377     91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,
09378     89,89,89,88,88,88,88,88,87,87,87,87,87,87,87,86,86,86,85,85,85,
09379     85,85,84,84,84,84,83,83,83,83,83,82,82,81,81,81,81,81,81,80,80,
09380     80,80,80,80,80,79,79,79,79,78,78,78,78,78,78,78,78,78,77,77,77,
09381     77,77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,75,75,
09382     75,75,75,74,74,74,74,74,74,74,74,74,74,74,73,73,73,72,72,72,72,
09383     72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,71,70,70,70,70,70,
09384     70,70,70,69,69,69,69,69,68,68,68,68,68,68,68,68,68,68,67,67,66,
09385     66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,63,63,
09386     63,63,63,63,63,63,62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,
09387     60,60,60,60,60,59,59,59,59,59,59,59,58,58,58,57,57,57,57,57,57,
09388     57,56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,54,54,53,53,
09389     52,52,52,52,52,51,51,51,51,51,50,50,50,50,50,50,50,49,49,49,49,
09390     49,48,48,48,48,47,47,47,47,47,47,46,46,46,45,45,45,45,45,45,45,
09391     45,45,44,44,44,44,44,43,43,43,43,43,43,43,43,42,42,41,41,41,41,
09392     41,41,41,41,41,40,40,39,39,39,39,38,38,38,38,38,38,37,37,37,37,
09393     37,37,37,36,36,36,36,36,36,36,36,36,36,36,35,35,35,35,35,35,34,
09394     34,34,34,34,34,33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,30,
09395     30,30,29,29,29,29,28,28,28,27,27,27,27,26,26,26,26,26,26,26,26,
09396     25,25,24,24,24,24,24,24,24,24,24,23,23,23,23,23,23,23,23,23,23,
09397     23,22,22,22,22,22,21,21,21,21,21,21,20,20,20,20,20,20,20
09398   };
09399   const int n4c2w2_t[] = {
09400     120, // Capacity
09401     500, // Number of items
09402     // Size of items (sorted)
09403     100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,99,98,98,98,
09404     98,98,98,98,98,98,98,98,97,97,97,97,97,97,97,97,96,96,96,96,96,
09405     96,95,95,95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,92,92,
09406     92,92,92,92,91,91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,88,
09407     88,88,87,87,87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,85,85,
09408     85,85,85,84,84,84,84,83,83,83,83,83,83,82,82,82,82,82,82,82,82,
09409     82,82,82,82,81,81,81,81,81,81,81,81,81,80,80,80,80,80,80,80,80,
09410     80,80,79,79,79,78,78,78,78,77,77,77,77,77,76,76,76,76,75,75,75,
09411     75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,74,73,73,73,72,72,
09412     72,72,72,72,71,70,70,70,70,69,69,69,69,68,68,68,68,68,68,68,67,
09413     67,67,66,66,66,66,66,66,66,65,65,65,65,65,65,65,65,65,64,64,64,
09414     64,64,64,63,63,62,62,62,62,62,61,61,61,61,60,60,60,60,60,60,60,
09415     59,59,59,59,59,59,58,58,58,58,57,57,57,56,56,56,56,56,56,56,55,
09416     55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,53,53,52,52,52,52,
09417     52,52,52,52,51,51,51,51,51,51,51,50,50,50,50,49,49,48,48,48,48,
09418     48,48,48,48,48,48,47,47,47,47,47,47,46,46,46,46,46,46,46,46,45,
09419     45,45,45,45,45,45,44,44,44,44,44,44,43,43,43,42,42,42,42,42,41,
09420     41,41,41,41,40,40,40,40,40,39,39,39,38,38,38,38,38,37,37,37,37,
09421     37,37,37,36,36,36,36,36,36,35,35,35,35,35,34,34,34,34,34,34,34,
09422     34,34,34,33,33,33,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,
09423     32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,30,29,29,29,29,29,
09424     29,29,28,28,28,28,28,28,28,28,27,27,27,27,27,27,27,27,27,27,26,
09425     26,26,26,26,26,26,26,25,25,25,25,25,25,25,24,24,23,23,23,23,23,
09426     23,23,23,22,22,22,22,22,22,22,21,21,21,21,21,21,20,20,20
09427   };
09428   const int n4c2w4_a[] = {
09429     120, // Capacity
09430     500, // Number of items
09431     // Size of items (sorted)
09432     100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,98,
09433     98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,97,97,96,96,96,96,
09434     96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,95,95,95,95,95,94,
09435     94,94,94,94,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,91,90,
09436     90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,88,88,88,88,88,88,
09437     88,87,87,87,87,87,87,87,87,87,87,87,87,86,86,85,85,85,85,85,85,
09438     84,84,84,84,84,83,83,83,83,83,83,82,82,82,81,81,81,81,81,81,81,
09439     81,80,80,79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,78,78,78,
09440     77,77,77,77,76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,75,75,
09441     75,74,74,74,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,72,
09442     72,72,71,71,71,71,71,71,71,71,71,70,70,70,70,70,69,69,69,69,68,
09443     68,68,68,68,68,68,68,68,68,68,68,68,67,67,67,67,67,66,66,66,66,
09444     66,66,66,66,66,65,65,65,65,65,65,65,65,64,64,63,63,63,63,63,63,
09445     63,63,63,62,62,62,62,62,61,61,61,61,61,60,60,60,60,60,59,59,59,
09446     59,59,59,59,59,58,58,58,58,58,58,57,57,57,57,57,57,57,56,56,56,
09447     56,56,55,55,55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,52,52,
09448     52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,50,50,50,50,50,
09449     50,49,49,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,47,
09450     47,47,47,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,44,43,
09451     43,43,43,43,43,43,43,43,42,42,41,41,41,41,40,40,40,40,40,40,40,
09452     40,40,40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,38,38,
09453     37,37,37,37,37,37,37,36,36,36,36,36,36,35,35,35,35,35,35,35,35,
09454     35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,
09455     33,33,33,33,33,32,32,32,32,32,32,31,31,31,31,30,30,30,30,30
09456   };
09457   const int n4c2w4_b[] = {
09458     120, // Capacity
09459     500, // Number of items
09460     // Size of items (sorted)
09461     100,100,100,100,99,99,99,99,98,98,98,98,98,98,97,97,97,97,97,
09462     97,96,96,95,95,95,95,95,95,95,95,94,94,94,94,94,94,94,94,94,94,
09463     94,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,92,92,91,91,
09464     91,91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,88,
09465     88,88,87,87,87,87,86,86,86,86,85,85,85,84,84,84,84,83,83,83,83,
09466     82,82,82,82,82,82,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,
09467     80,80,80,80,79,79,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,
09468     77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,76,75,75,
09469     75,75,75,75,74,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,
09470     72,72,72,72,72,72,72,72,72,72,72,71,71,71,71,71,71,70,70,70,70,
09471     70,70,70,69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,68,68,
09472     67,67,67,67,67,67,66,66,66,65,65,65,65,64,64,63,63,63,63,63,63,
09473     63,62,62,62,62,62,61,61,61,61,61,61,61,61,60,60,60,60,60,60,60,
09474     59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,58,58,57,57,57,
09475     57,57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,54,54,
09476     54,54,54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,
09477     51,51,51,51,51,51,50,50,50,50,50,50,50,50,50,49,49,49,49,49,49,
09478     49,49,49,49,49,49,48,48,48,48,48,48,48,47,47,47,47,47,47,46,46,
09479     46,46,46,46,46,45,45,45,45,45,45,45,45,44,44,44,44,44,44,43,43,
09480     43,43,43,43,43,42,42,42,42,42,42,42,42,42,41,41,41,41,41,41,41,
09481     41,40,40,40,40,40,40,40,40,39,39,38,38,38,38,38,38,38,37,37,37,
09482     37,37,37,36,36,36,36,36,36,35,35,35,35,35,35,35,35,34,34,34,34,
09483     34,34,34,33,33,33,33,32,32,32,32,32,32,32,32,32,32,32,32,32,32,
09484     31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30,30
09485   };
09486   const int n4c2w4_c[] = {
09487     120, // Capacity
09488     500, // Number of items
09489     // Size of items (sorted)
09490     100,100,100,100,100,100,99,99,99,98,98,97,97,97,97,97,96,96,95,
09491     95,95,95,95,95,95,95,95,95,94,94,94,94,94,93,93,93,93,93,92,92,
09492     92,92,92,92,92,92,92,92,91,91,91,91,90,90,90,90,89,89,89,89,89,
09493     89,89,88,88,88,88,88,88,88,88,88,88,88,88,87,87,87,86,86,86,86,
09494     86,86,86,86,86,86,86,86,86,85,85,85,85,84,84,84,84,84,84,84,83,
09495     83,83,83,83,83,83,83,83,83,82,82,82,82,82,82,81,81,81,81,81,81,
09496     80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,79,78,78,78,78,
09497     78,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,76,76,
09498     76,76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,75,75,75,75,75,
09499     75,75,74,74,74,74,74,74,74,73,73,73,73,73,73,73,73,73,73,72,72,
09500     72,72,72,72,72,71,71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,
09501     69,69,69,69,69,69,69,68,68,68,68,68,68,68,68,67,67,67,67,66,66,
09502     66,66,66,65,65,65,65,64,64,64,64,64,64,63,63,63,63,63,63,63,63,
09503     62,62,62,62,62,62,62,62,62,62,62,61,61,61,61,61,60,60,60,60,60,
09504     59,59,59,59,59,58,58,58,58,58,58,57,57,57,57,57,57,57,57,57,56,
09505     56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,55,54,54,54,54,54,
09506     54,53,53,53,53,53,52,52,52,52,52,52,52,52,52,52,52,52,52,51,51,
09507     51,50,50,50,50,50,50,50,49,49,49,49,49,49,49,49,48,48,48,48,48,
09508     48,48,48,48,48,48,47,47,47,47,46,46,46,46,46,46,45,45,45,45,45,
09509     45,45,45,45,45,44,44,44,44,44,44,44,43,43,43,43,43,43,42,42,42,
09510     42,41,41,41,41,41,41,41,40,40,40,40,40,40,39,39,39,39,39,39,39,
09511     38,38,38,38,38,38,38,38,37,37,37,37,37,36,36,36,36,36,35,35,35,
09512     34,34,34,34,34,34,34,34,33,33,33,33,32,32,32,32,32,32,32,31,31,
09513     31,31,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30
09514   };
09515   const int n4c2w4_d[] = {
09516     120, // Capacity
09517     500, // Number of items
09518     // Size of items (sorted)
09519     100,100,99,99,99,99,99,99,98,98,98,98,98,98,98,98,98,98,97,97,
09520     97,97,97,97,96,96,96,96,96,96,96,95,95,94,94,94,94,94,94,94,93,
09521     93,93,93,92,92,92,92,92,92,91,91,91,91,91,91,91,91,90,90,90,90,
09522     90,90,90,89,89,89,89,89,89,89,89,89,89,89,89,89,88,88,88,88,87,
09523     87,87,87,87,87,87,87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,
09524     85,85,85,85,85,84,84,84,84,84,83,83,83,83,83,82,82,82,82,82,82,
09525     82,82,82,82,82,82,82,82,81,81,81,81,81,81,81,81,81,81,80,80,80,
09526     80,80,80,80,80,80,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,
09527     77,77,77,77,77,77,77,77,77,77,77,77,77,76,76,76,76,75,75,75,75,
09528     75,74,74,74,74,74,74,73,73,73,73,73,73,73,73,73,72,72,72,72,72,
09529     72,72,72,72,71,71,71,71,71,71,71,71,70,70,70,70,70,70,70,69,69,
09530     69,69,68,68,68,68,68,67,67,67,67,67,67,67,66,66,66,66,66,66,65,
09531     65,65,65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,
09532     63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,61,61,60,60,60,60,
09533     60,60,60,60,60,60,59,59,59,59,59,59,58,58,58,58,58,57,57,57,57,
09534     57,57,57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,54,54,54,
09535     54,54,54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,
09536     51,51,51,51,50,50,49,49,49,49,49,49,49,48,48,48,48,48,48,48,47,
09537     47,47,47,47,47,47,47,46,46,46,46,46,46,45,45,45,45,44,44,44,44,
09538     44,44,44,44,44,43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,42,
09539     41,41,41,41,41,41,41,41,41,41,41,41,40,40,40,40,39,39,39,39,39,
09540     39,39,39,38,38,38,38,38,37,37,37,37,37,37,36,36,36,36,36,36,36,
09541     35,35,35,35,34,34,34,34,34,34,34,34,33,33,33,33,33,33,33,33,32,
09542     32,32,32,32,31,31,31,31,31,31,31,31,31,31,31,30,30,30
09543   };
09544   const int n4c2w4_e[] = {
09545     120, // Capacity
09546     500, // Number of items
09547     // Size of items (sorted)
09548     100,100,100,99,99,99,99,99,99,99,99,99,99,98,98,98,98,98,98,98,
09549     98,98,98,98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,97,96,96,
09550     96,96,96,96,96,95,95,95,95,95,94,94,94,93,93,93,93,93,93,92,92,
09551     92,92,92,92,92,91,91,91,91,91,91,90,90,90,90,89,89,89,89,89,89,
09552     89,89,88,88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,86,86,85,
09553     85,85,85,85,85,84,84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,
09554     83,83,82,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,
09555     80,80,79,79,79,79,79,79,78,78,78,78,78,78,78,78,77,77,77,77,77,
09556     77,77,76,76,76,76,76,76,76,76,76,76,75,75,75,75,75,75,74,74,74,
09557     74,74,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,70,69,69,69,
09558     69,69,69,69,68,68,68,68,67,67,67,67,67,67,67,67,67,66,66,66,66,
09559     66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,65,64,64,64,64,63,
09560     63,63,63,63,62,62,62,62,62,62,62,62,62,61,61,61,61,61,60,60,60,
09561     60,60,60,60,60,60,60,59,59,59,59,59,59,58,58,58,58,58,57,57,57,
09562     57,57,57,57,57,57,56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,
09563     55,55,55,54,54,54,54,54,54,54,54,54,54,54,53,53,53,53,53,53,53,
09564     53,53,52,52,52,52,52,52,52,52,52,52,51,51,51,51,51,51,51,51,50,
09565     50,50,50,50,50,50,50,49,49,49,49,49,49,48,48,47,47,47,47,46,46,
09566     46,46,46,46,46,46,46,46,46,45,45,45,45,45,45,45,45,45,44,44,44,
09567     44,44,43,43,43,43,43,42,42,42,42,42,42,42,41,41,41,41,40,40,40,
09568     40,40,40,40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,38,
09569     38,37,37,37,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,
09570     35,35,35,34,34,34,34,34,34,34,34,34,34,34,33,33,33,32,32,32,32,
09571     32,32,32,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30
09572   };
09573   const int n4c2w4_f[] = {
09574     120, // Capacity
09575     500, // Number of items
09576     // Size of items (sorted)
09577     100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,98,98,98,
09578     98,98,98,98,98,98,97,97,97,97,97,97,97,97,96,96,96,96,96,96,95,
09579     95,95,95,95,95,95,95,94,94,94,94,94,94,94,94,93,93,93,93,93,93,
09580     93,92,92,92,92,92,92,92,91,91,91,91,91,90,90,90,90,90,90,90,89,
09581     89,89,89,89,88,88,88,88,88,88,88,88,88,88,88,87,87,87,87,87,87,
09582     86,86,86,86,86,85,85,85,85,85,85,85,85,85,84,84,84,84,84,84,83,
09583     83,83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,81,81,81,
09584     81,81,81,81,81,81,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,
09585     80,80,79,79,79,79,79,79,79,79,78,78,78,78,78,78,77,77,77,76,76,
09586     76,76,75,75,75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,73,72,
09587     72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,71,71,70,70,70,70,
09588     70,70,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,67,67,67,67,
09589     67,67,67,67,66,66,66,66,66,66,66,66,65,65,65,65,65,65,64,64,64,
09590     64,64,63,63,63,63,63,63,63,63,62,62,62,62,62,62,61,61,61,61,61,
09591     61,61,61,61,61,61,60,60,60,59,59,59,59,59,59,59,59,59,58,58,58,
09592     58,58,58,58,58,57,57,57,57,57,56,56,56,56,56,56,56,56,56,55,55,
09593     55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,53,
09594     53,52,52,52,52,52,52,52,52,52,52,52,51,51,51,51,51,50,50,50,50,
09595     50,50,50,50,50,50,49,49,48,48,48,48,48,48,48,47,47,47,46,46,46,
09596     46,46,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,43,
09597     43,43,43,43,43,43,43,42,42,42,41,41,41,41,41,41,41,40,40,40,40,
09598     40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,39,38,38,38,38,
09599     38,37,37,37,37,36,36,36,36,35,35,35,35,35,34,34,34,33,33,33,33,
09600     33,33,33,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30
09601   };
09602   const int n4c2w4_g[] = {
09603     120, // Capacity
09604     500, // Number of items
09605     // Size of items (sorted)
09606     100,100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,
09607     99,99,99,99,98,98,98,97,97,97,97,97,97,97,97,97,97,96,96,96,96,
09608     96,96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,94,94,93,93,93,
09609     93,92,92,92,92,92,91,91,91,91,91,91,91,91,91,91,91,91,90,90,90,
09610     90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,89,89,89,88,88,
09611     88,88,88,87,87,87,87,87,86,86,86,86,85,85,85,85,85,85,85,85,85,
09612     84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,83,83,83,82,82,82,
09613     82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,79,79,79,79,79,79,
09614     79,78,78,78,78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,76,
09615     76,75,75,75,75,74,74,74,74,74,74,74,73,73,73,73,72,72,72,72,72,
09616     72,71,71,71,71,71,71,71,71,70,70,70,70,70,70,70,69,69,69,69,69,
09617     69,69,69,68,68,68,68,68,68,67,67,67,67,67,67,66,66,66,66,66,66,
09618     65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,63,63,62,
09619     62,62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,60,60,60,60,
09620     59,59,59,59,59,59,59,58,58,58,58,57,57,57,57,56,56,56,56,56,55,
09621     55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,52,
09622     52,52,52,52,52,52,51,51,51,51,51,51,51,50,50,50,50,50,50,50,49,
09623     49,49,49,49,48,48,48,48,48,48,48,47,47,47,47,47,47,46,46,46,46,
09624     45,45,45,45,44,44,44,44,44,43,43,43,43,43,43,42,42,42,42,42,42,
09625     42,42,42,42,42,41,41,41,41,41,41,41,41,41,40,40,40,40,40,40,40,
09626     39,39,39,39,39,38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,
09627     37,36,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,35,34,34,34,
09628     34,34,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,33,33,33,33,
09629     33,33,32,32,32,32,32,32,32,31,31,31,31,31,30,30,30,30,30,30,30
09630   };
09631   const int n4c2w4_h[] = {
09632     120, // Capacity
09633     500, // Number of items
09634     // Size of items (sorted)
09635     100,100,100,100,100,100,99,99,99,98,98,98,98,98,98,98,97,97,97,
09636     97,97,97,97,97,97,97,97,97,97,97,96,96,96,96,96,95,95,95,95,95,
09637     94,94,94,94,94,94,94,93,93,93,92,92,92,92,92,91,91,91,91,91,90,
09638     90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,88,88,88,88,88,
09639     88,88,88,88,87,87,86,86,86,86,86,86,86,86,85,85,85,85,85,85,85,
09640     85,85,84,84,84,84,84,84,84,84,83,83,83,83,83,83,82,82,82,81,81,
09641     81,81,81,81,81,81,80,80,80,80,80,80,79,79,79,79,79,79,79,79,78,
09642     78,78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,
09643     76,76,76,75,75,75,75,75,75,75,75,75,75,75,75,75,74,74,74,74,74,
09644     74,74,73,73,73,73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,71,
09645     71,71,71,71,71,71,71,71,70,70,70,70,70,70,70,69,69,69,69,69,69,
09646     69,69,69,68,68,68,68,68,68,68,68,68,67,67,67,67,67,67,67,66,66,
09647     66,66,66,66,66,66,65,65,65,65,65,65,65,65,65,64,64,64,64,64,64,
09648     64,64,63,63,63,63,62,62,62,62,62,62,62,62,61,61,61,61,61,61,61,
09649     60,60,60,60,60,60,59,59,59,58,58,58,58,58,58,58,58,58,57,57,57,
09650     57,57,57,57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,
09651     54,54,54,53,53,53,53,53,52,52,52,52,52,52,52,52,51,51,51,51,51,
09652     51,51,51,51,51,50,50,50,50,50,50,50,50,50,50,49,49,49,49,49,49,
09653     49,49,49,49,48,48,48,48,48,48,47,47,47,47,47,47,47,47,47,47,46,
09654     46,46,46,46,45,45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,43,
09655     42,42,42,42,41,41,41,41,41,41,41,41,41,41,40,40,40,40,40,40,39,
09656     39,39,39,39,39,38,38,38,38,38,38,38,37,37,37,36,36,36,36,36,36,
09657     35,35,35,35,35,35,34,34,34,34,34,33,33,33,33,33,33,32,32,32,32,
09658     32,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30
09659   };
09660   const int n4c2w4_i[] = {
09661     120, // Capacity
09662     500, // Number of items
09663     // Size of items (sorted)
09664     100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,
09665     98,98,98,98,98,97,97,97,97,97,97,97,97,97,97,97,97,96,96,96,96,
09666     96,96,95,95,95,95,95,95,95,95,95,94,94,94,93,93,93,93,93,93,93,
09667     93,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,91,90,90,90,90,
09668     89,89,89,89,89,89,89,89,89,88,88,88,88,87,87,87,87,87,86,86,86,
09669     86,86,86,86,86,86,86,85,85,85,85,85,85,84,84,84,84,84,84,83,83,
09670     83,83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,80,80,80,80,80,
09671     80,80,80,80,80,80,79,79,79,79,79,79,79,78,78,78,78,78,77,77,77,
09672     77,77,77,76,76,76,76,76,75,75,75,75,74,74,74,74,74,74,74,74,74,
09673     74,73,73,73,73,73,72,72,72,72,71,71,71,71,71,71,71,71,70,70,70,
09674     70,70,70,70,70,69,69,69,68,68,68,68,68,68,68,68,67,67,67,67,67,
09675     67,67,66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,
09676     64,63,63,63,63,63,63,63,62,62,62,62,62,62,62,62,62,62,62,62,61,
09677     61,61,61,61,61,61,61,61,61,60,60,60,60,60,60,60,60,60,60,59,59,
09678     59,59,59,59,58,58,58,58,58,58,58,58,58,58,58,58,58,57,57,57,57,
09679     57,57,57,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,54,54,
09680     54,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,51,51,51,
09681     51,50,50,50,50,49,49,49,49,49,49,49,49,48,48,48,48,47,47,47,47,
09682     47,47,47,47,47,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,44,
09683     44,43,43,43,43,43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,41,
09684     41,41,41,41,41,40,40,40,40,40,40,39,39,39,39,39,39,39,39,38,38,
09685     38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,37,37,36,36,36,36,
09686     35,35,35,35,35,35,34,34,34,34,33,33,33,33,33,33,33,33,32,32,32,
09687     32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30
09688   };
09689   const int n4c2w4_j[] = {
09690     120, // Capacity
09691     500, // Number of items
09692     // Size of items (sorted)
09693     100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,98,98,
09694     97,97,97,97,97,97,97,97,97,97,97,97,96,96,96,96,96,96,95,95,95,
09695     95,95,94,94,94,94,94,94,94,94,94,94,94,94,94,93,93,93,93,93,93,
09696     93,93,93,93,92,92,92,92,92,92,92,91,91,91,91,91,91,91,91,91,90,
09697     90,90,90,90,90,90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,
09698     88,88,88,88,88,88,88,88,88,87,87,87,86,86,86,86,86,85,85,85,84,
09699     84,83,83,83,83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,81,81,
09700     80,80,80,80,80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,79,
09701     79,79,78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,
09702     76,76,76,75,75,75,75,75,75,75,74,74,74,74,73,73,72,72,72,72,72,
09703     72,71,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,69,69,69,69,
09704     69,69,69,68,68,68,68,68,68,68,68,67,67,67,67,67,67,67,66,66,66,
09705     66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,64,64,
09706     64,64,63,63,63,63,63,63,63,63,62,62,62,62,62,62,62,62,62,61,61,
09707     61,61,61,61,61,61,60,60,60,60,59,59,59,59,59,58,58,58,58,57,57,
09708     57,57,57,57,57,57,57,56,56,56,56,56,56,56,56,56,56,56,56,56,55,
09709     55,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,53,53,53,
09710     53,53,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,50,50,50,49,
09711     49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,47,47,46,46,46,
09712     46,46,46,46,46,45,45,45,44,44,44,44,44,44,44,44,44,44,43,43,43,
09713     43,43,42,42,42,42,42,42,42,42,41,41,41,41,41,41,41,41,41,41,40,
09714     40,40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,38,38,
09715     38,37,37,37,37,36,36,36,36,35,35,35,35,35,34,34,34,34,34,34,34,
09716     33,33,33,32,32,32,32,32,32,31,31,31,31,30,30,30,30,30,30
09717   };
09718   const int n4c2w4_k[] = {
09719     120, // Capacity
09720     500, // Number of items
09721     // Size of items (sorted)
09722     100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,99,98,98,98,
09723     98,97,97,97,97,97,97,97,96,96,96,96,96,96,95,95,95,95,95,95,95,
09724     95,95,95,94,94,94,94,94,94,94,94,94,93,93,93,93,92,92,92,92,92,
09725     92,92,92,91,91,91,90,90,90,90,90,90,90,90,90,89,89,89,89,89,89,
09726     89,88,88,88,88,88,88,88,88,88,87,87,87,87,87,87,87,87,87,86,86,
09727     86,86,86,85,85,85,85,85,85,85,84,84,84,84,84,84,84,83,83,83,83,
09728     83,83,82,82,82,82,82,82,82,82,82,82,82,81,81,81,81,81,81,81,81,
09729     80,80,80,80,80,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,78,
09730     78,78,77,77,77,77,77,77,76,76,76,76,76,75,75,75,75,75,75,74,74,
09731     74,74,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,72,72,
09732     72,72,72,71,71,71,70,70,70,70,70,70,69,69,69,69,69,69,68,68,68,
09733     68,68,68,68,67,67,67,67,67,67,67,66,66,66,66,66,66,66,65,65,65,
09734     65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,62,62,62,62,62,61,
09735     61,61,60,60,60,60,60,60,59,59,59,59,59,59,58,58,58,58,58,58,58,
09736     58,57,57,57,57,57,57,57,57,57,57,56,56,56,56,56,56,55,55,55,55,
09737     55,55,55,54,54,54,54,54,54,54,54,54,54,54,54,53,53,53,53,53,53,
09738     53,53,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,50,50,50,
09739     50,50,49,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,47,47,47,
09740     47,46,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,43,43,
09741     43,42,42,42,42,42,42,42,42,41,41,41,41,41,40,40,40,40,40,40,40,
09742     40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,38,38,38,38,38,38,
09743     38,38,38,38,38,38,37,36,36,36,36,36,36,36,36,36,36,36,36,36,36,
09744     35,35,35,35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,33,33,32,
09745     32,32,32,32,32,32,32,31,31,30,30,30,30,30,30,30,30,30,30
09746   };
09747   const int n4c2w4_l[] = {
09748     120, // Capacity
09749     500, // Number of items
09750     // Size of items (sorted)
09751     100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,
09752     99,99,99,98,98,98,98,98,98,98,98,98,98,98,98,98,98,97,97,97,97,
09753     97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,95,94,94,94,
09754     94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,
09755     92,91,91,91,91,91,91,91,91,90,90,90,90,90,90,90,89,89,89,88,88,
09756     88,88,88,88,88,88,87,87,87,87,87,87,87,87,87,86,86,86,86,86,85,
09757     85,85,85,85,84,84,84,84,83,83,83,83,83,83,83,82,82,82,81,81,81,
09758     81,81,81,81,80,80,80,80,80,80,79,79,79,79,79,79,79,79,78,78,78,
09759     78,78,78,78,78,77,77,77,77,77,76,76,76,76,75,75,75,75,75,75,75,
09760     74,74,74,74,74,74,74,74,74,74,73,73,73,73,72,72,72,72,72,72,72,
09761     72,72,71,71,71,71,71,71,71,71,71,70,70,70,70,69,69,69,69,69,69,
09762     69,69,68,68,68,68,68,68,68,68,68,68,68,68,68,68,67,67,67,67,67,
09763     67,67,67,67,66,66,66,66,66,66,66,66,66,66,65,65,65,65,65,65,64,
09764     64,64,64,64,64,63,63,63,63,63,62,62,62,62,61,61,61,61,60,60,60,
09765     60,60,59,59,59,59,59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,
09766     58,58,57,57,56,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,
09767     54,54,54,54,54,53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,
09768     51,51,51,51,51,50,50,49,49,49,49,49,49,49,49,48,48,48,48,48,48,
09769     47,47,47,47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,45,45,45,
09770     45,44,44,44,44,44,44,44,43,43,43,43,42,42,42,42,42,42,42,41,41,
09771     41,41,41,41,41,41,41,40,40,40,40,40,40,40,40,40,39,39,39,39,39,
09772     39,39,39,39,38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,37,
09773     36,36,36,36,36,36,36,35,35,35,35,34,34,34,34,34,34,33,33,33,33,
09774     33,33,33,33,33,33,33,33,32,31,31,31,31,31,30,30,30,30,30,30,30
09775   };
09776   const int n4c2w4_m[] = {
09777     120, // Capacity
09778     500, // Number of items
09779     // Size of items (sorted)
09780     100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,
09781     98,98,98,98,97,97,97,97,97,97,97,97,96,96,96,96,96,95,95,95,95,
09782     95,94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,92,92,92,92,
09783     91,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,
09784     89,89,89,89,88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,86,86,
09785     86,86,86,85,85,85,85,85,85,85,85,84,84,84,84,84,84,84,84,84,84,
09786     84,84,83,83,83,83,83,83,82,82,82,81,81,81,81,81,81,81,80,80,80,
09787     80,80,80,79,79,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,78,
09788     78,78,78,78,77,77,77,77,76,76,76,76,76,76,75,75,75,75,75,75,75,
09789     75,75,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,72,72,
09790     71,71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,69,
09791     68,68,68,68,68,68,68,67,67,67,67,67,67,67,67,67,67,66,66,66,66,
09792     65,65,65,64,64,64,64,64,63,63,63,63,63,63,62,62,62,62,62,62,62,
09793     62,61,61,61,61,60,60,60,60,60,60,60,60,59,59,59,59,59,59,59,58,
09794     58,58,58,58,57,57,57,57,57,57,57,57,57,56,56,56,56,56,56,56,55,
09795     55,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,53,53,53,
09796     53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,
09797     50,50,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,46,46,46,
09798     46,46,46,45,45,45,45,45,45,44,44,44,44,44,44,44,44,44,44,44,43,
09799     43,43,43,43,43,43,43,43,43,42,42,42,42,42,42,41,41,41,41,40,40,
09800     40,39,39,39,39,39,39,39,39,38,38,38,38,38,38,38,38,37,37,37,37,
09801     37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,36,35,35,35,35,
09802     35,34,34,34,34,34,34,34,34,33,33,33,33,33,33,33,33,33,33,33,32,
09803     32,32,32,32,32,32,32,32,31,31,31,31,30,30,30,30,30,30,30,30
09804   };
09805   const int n4c2w4_n[] = {
09806     120, // Capacity
09807     500, // Number of items
09808     // Size of items (sorted)
09809     100,100,100,100,100,100,100,99,99,99,99,99,98,98,97,97,97,97,
09810     97,97,97,96,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,
09811     95,95,94,94,94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,
09812     92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,91,91,91,91,91,91,
09813     91,90,90,90,90,90,89,89,89,89,89,89,89,89,89,89,88,88,88,87,87,
09814     87,87,86,86,86,86,85,85,85,85,84,84,84,84,84,84,84,84,84,84,84,
09815     84,84,84,84,83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,81,81,
09816     81,81,81,81,81,80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,
09817     79,79,78,78,78,78,78,78,78,78,78,77,77,77,77,76,76,76,76,76,76,
09818     76,75,75,75,75,75,75,74,74,74,74,74,74,74,74,73,73,73,73,73,73,
09819     72,72,72,72,72,72,72,72,72,72,71,71,71,71,70,70,70,69,69,69,69,
09820     69,69,69,69,69,69,69,69,68,68,68,68,68,68,67,67,67,67,67,67,67,
09821     67,67,67,67,66,66,66,66,66,66,65,65,65,65,64,64,64,64,64,64,64,
09822     64,63,63,63,63,63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,61,
09823     61,60,60,60,60,60,60,60,60,60,60,60,60,60,59,59,59,59,58,58,58,
09824     58,58,58,57,57,57,57,57,57,57,57,57,57,56,56,56,55,55,55,55,55,
09825     55,55,55,55,55,55,54,54,54,54,54,53,53,53,53,53,53,53,52,52,52,
09826     52,52,52,51,51,51,51,51,50,50,50,50,50,50,50,50,50,49,49,49,49,
09827     49,49,49,49,49,48,48,48,47,47,47,47,47,47,47,46,46,46,46,46,46,
09828     46,46,45,45,45,45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,
09829     44,43,43,43,43,42,42,42,41,41,41,41,41,41,41,41,41,41,41,40,40,
09830     40,40,40,40,39,39,39,39,39,39,39,39,39,39,38,38,38,38,38,37,37,
09831     37,37,37,36,36,36,36,36,36,36,35,35,34,34,34,34,34,33,33,33,33,
09832     33,33,32,32,32,32,32,32,32,31,31,31,31,31,31,31,31,31,30,30
09833   };
09834   const int n4c2w4_o[] = {
09835     120, // Capacity
09836     500, // Number of items
09837     // Size of items (sorted)
09838     100,100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,98,98,98,
09839     98,97,97,97,97,97,96,96,96,96,95,95,95,95,95,95,95,95,94,94,94,
09840     94,94,94,94,94,93,93,93,93,93,92,92,92,92,92,92,92,92,92,92,92,
09841     92,91,91,91,91,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,89,
09842     89,88,88,88,88,88,88,88,88,88,88,88,87,87,87,87,87,87,86,86,86,
09843     86,86,86,86,86,86,86,86,86,86,85,85,85,85,85,85,85,84,84,84,84,
09844     84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,82,82,82,82,82,82,
09845     82,81,81,81,81,81,81,81,80,80,80,80,80,80,79,79,79,79,79,79,79,
09846     78,78,78,78,78,78,78,78,78,77,77,77,77,76,76,76,76,76,76,76,75,
09847     75,75,75,75,75,75,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,
09848     72,72,72,71,71,71,71,71,71,71,71,71,71,71,71,70,70,70,70,70,70,
09849     70,70,69,69,69,69,69,69,68,68,68,67,67,67,67,66,66,66,66,66,66,
09850     66,66,65,65,65,65,64,64,64,63,63,63,62,62,62,62,62,62,62,61,61,
09851     61,61,61,61,61,60,60,60,60,59,59,59,59,58,58,58,58,58,58,58,58,
09852     58,58,58,57,57,57,57,57,57,57,57,57,57,56,56,56,56,56,56,56,56,
09853     56,55,55,55,55,55,55,55,54,54,54,54,54,54,54,54,54,54,54,54,53,
09854     53,53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,
09855     50,50,50,50,50,49,49,49,49,49,48,48,47,47,47,47,47,47,47,47,47,
09856     47,46,46,46,46,46,46,45,45,45,45,45,45,44,44,44,44,44,44,44,44,
09857     43,43,43,43,43,43,43,43,43,42,42,42,42,42,42,42,41,41,41,41,41,
09858     41,41,41,41,41,40,40,40,40,39,39,39,39,39,39,39,39,39,39,38,38,
09859     38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,36,36,36,36,35,
09860     35,35,35,35,34,34,34,34,34,34,34,34,34,34,33,33,33,33,33,32,32,
09861     32,32,32,32,32,32,31,31,31,31,31,31,31,31,30,30,30,30,30
09862   };
09863   const int n4c2w4_p[] = {
09864     120, // Capacity
09865     500, // Number of items
09866     // Size of items (sorted)
09867     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,
09868     98,98,98,98,97,97,97,97,97,97,97,97,97,97,97,96,96,96,96,96,95,
09869     95,95,95,95,95,95,95,95,95,94,94,94,94,94,94,94,94,94,94,94,93,
09870     93,93,93,93,93,93,92,92,92,92,91,91,91,91,91,91,91,91,91,91,91,
09871     90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,88,88,88,88,88,88,
09872     88,88,88,87,87,87,87,87,87,87,87,87,87,86,86,86,86,86,85,85,85,
09873     85,85,85,85,85,84,84,84,84,84,84,84,83,83,83,83,83,83,82,82,82,
09874     82,82,82,82,82,82,82,81,81,81,81,81,81,81,81,81,81,81,80,80,80,
09875     80,80,79,79,79,79,79,79,79,78,78,78,78,78,78,78,77,77,77,77,77,
09876     76,76,75,75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,73,73,73,
09877     73,73,73,73,72,72,72,72,72,72,72,72,72,72,72,71,71,71,70,70,70,
09878     70,70,70,70,70,70,70,69,69,69,69,68,68,68,68,67,67,66,66,66,66,
09879     66,66,66,66,66,66,66,66,66,65,65,65,64,64,64,64,64,63,63,63,63,
09880     63,63,63,63,63,63,62,62,62,62,62,62,62,62,62,61,61,61,61,61,61,
09881     60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,58,58,58,58,58,58,
09882     57,57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,
09883     54,54,54,54,54,54,54,54,54,54,54,54,53,53,53,53,52,52,52,52,52,
09884     51,51,51,51,51,51,51,50,50,50,50,50,50,50,50,50,50,50,50,49,49,
09885     49,49,49,49,48,48,48,48,48,48,48,48,48,47,47,47,47,47,47,46,46,
09886     46,46,46,46,46,46,46,46,46,45,45,45,44,44,44,44,44,43,43,43,43,
09887     43,43,42,42,42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,40,39,
09888     39,39,39,39,39,39,38,38,38,38,38,38,37,37,37,37,37,37,36,36,36,
09889     36,36,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,33,33,
09890     33,32,32,32,32,32,32,32,32,32,32,32,32,31,31,31,31,30,30,30
09891   };
09892   const int n4c2w4_q[] = {
09893     120, // Capacity
09894     500, // Number of items
09895     // Size of items (sorted)
09896     100,100,100,99,99,99,99,99,98,98,98,98,98,98,97,97,97,97,97,96,
09897     96,96,96,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,94,94,
09898     94,94,94,94,93,93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,91,
09899     91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,
09900     88,88,87,87,87,86,86,86,86,86,86,86,85,85,85,85,85,84,84,84,84,
09901     84,84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,
09902     83,83,82,82,82,82,82,82,82,82,82,82,82,82,82,82,81,81,81,81,81,
09903     81,81,81,81,81,80,80,80,80,80,80,80,80,80,80,80,79,79,79,79,79,
09904     79,79,79,79,78,78,78,78,77,77,77,77,77,76,76,76,76,75,75,75,75,
09905     75,75,75,75,75,74,73,73,73,73,73,73,73,73,73,72,72,72,72,71,71,
09906     71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,69,69,68,68,68,68,
09907     67,67,67,67,67,67,67,67,67,66,66,66,66,65,65,65,65,65,65,65,64,
09908     64,64,64,64,64,63,63,63,63,63,63,63,63,63,63,63,63,63,63,62,62,
09909     62,62,62,62,62,62,62,61,61,61,61,61,60,60,60,60,60,60,60,60,60,
09910     60,60,60,59,59,59,59,59,59,59,59,59,59,59,58,58,58,58,58,57,57,
09911     57,57,57,57,57,56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,54,
09912     53,53,53,53,53,53,53,53,53,53,52,52,52,52,51,51,51,51,51,51,51,
09913     51,50,50,50,50,50,50,50,50,50,50,49,49,49,49,49,49,49,48,48,48,
09914     47,47,47,47,46,46,46,46,46,46,45,45,45,45,45,44,44,43,43,43,43,
09915     43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,40,
09916     40,40,40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,38,38,38,37,
09917     37,37,37,37,37,36,36,36,36,36,36,36,35,35,35,35,35,35,34,34,34,
09918     34,34,33,33,33,33,32,32,32,32,32,32,32,32,32,32,32,31,31,31,31,
09919     31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30,30,30
09920   };
09921   const int n4c2w4_r[] = {
09922     120, // Capacity
09923     500, // Number of items
09924     // Size of items (sorted)
09925     100,100,100,100,99,99,99,99,98,98,98,98,98,98,98,98,98,97,97,
09926     97,97,97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,96,95,95,95,
09927     95,95,95,95,95,95,95,95,95,94,94,94,94,93,93,93,93,93,93,93,92,
09928     92,92,92,92,91,91,91,91,91,91,91,91,91,90,90,90,90,90,90,90,89,
09929     89,89,89,88,88,88,88,88,87,87,87,87,87,86,86,86,86,86,86,86,85,
09930     85,85,85,84,84,84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,83,
09931     83,83,82,82,82,82,82,82,81,81,81,81,81,81,81,81,81,81,80,80,80,
09932     80,80,80,79,79,79,79,79,79,79,78,78,78,78,78,77,77,77,77,77,77,
09933     77,77,77,76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,
09934     74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,71,71,71,71,71,71,
09935     71,71,71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,
09936     69,68,68,68,68,67,67,67,67,67,67,67,67,66,66,66,66,66,66,66,66,
09937     66,65,65,65,65,65,65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,
09938     64,64,63,63,63,63,63,63,63,63,63,63,62,62,62,62,62,62,62,62,61,
09939     61,61,61,61,61,60,60,60,60,60,59,59,59,59,58,58,58,58,58,58,57,
09940     57,57,57,57,57,57,57,56,56,56,56,56,56,56,55,55,55,55,54,54,54,
09941     54,54,54,54,54,54,54,54,54,53,53,53,53,52,52,52,52,52,52,52,52,
09942     51,51,51,51,51,51,50,50,50,50,50,50,49,49,49,49,49,49,49,48,48,
09943     47,47,47,47,46,46,46,46,46,46,46,45,45,45,45,45,45,45,45,44,44,
09944     44,44,44,44,44,44,43,43,43,43,43,43,43,43,43,43,43,42,42,42,42,
09945     42,42,41,41,41,41,41,40,40,40,39,39,39,39,39,39,39,39,39,39,38,
09946     38,38,38,38,38,38,38,37,37,37,37,37,37,36,36,36,36,36,36,36,36,
09947     36,36,36,35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,33,33,
09948     33,33,33,33,33,32,32,32,32,32,32,32,32,32,31,31,31,30,30
09949   };
09950   const int n4c2w4_s[] = {
09951     120, // Capacity
09952     500, // Number of items
09953     // Size of items (sorted)
09954     100,100,100,100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,
09955     98,98,97,97,97,97,96,96,96,95,95,95,95,95,95,95,95,95,95,95,94,
09956     94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,93,93,93,93,93,
09957     92,92,92,92,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,89,89,
09958     89,88,88,88,87,87,87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,
09959     85,85,85,85,85,85,85,85,85,85,85,84,84,84,84,84,83,83,83,83,83,
09960     83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,80,80,80,80,
09961     79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,78,77,77,77,
09962     77,76,76,76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,75,75,75,
09963     74,74,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,72,71,
09964     71,71,71,71,71,71,71,71,71,71,71,71,70,70,70,70,70,70,70,70,70,
09965     69,69,69,69,69,69,68,68,68,68,68,68,68,68,67,67,67,66,66,66,66,
09966     65,65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,
09967     63,62,62,62,62,62,62,62,61,61,61,61,61,61,61,61,60,60,60,60,60,
09968     60,59,59,59,59,59,59,59,59,58,58,58,58,58,58,57,57,57,57,57,57,
09969     57,57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,54,54,54,54,
09970     53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,51,51,51,50,50,50,
09971     50,50,50,50,50,50,50,50,50,50,50,50,49,49,49,49,49,49,49,49,48,
09972     48,48,48,48,48,48,48,47,47,47,47,47,47,46,46,46,46,46,45,45,45,
09973     45,45,44,44,44,44,44,44,43,43,43,43,43,43,43,43,42,42,42,42,42,
09974     42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,40,40,40,40,40,40,
09975     40,40,39,39,39,39,39,38,37,37,37,37,37,37,36,36,36,36,36,36,36,
09976     36,35,35,35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,33,32,32,
09977     32,32,32,32,32,32,32,32,31,31,31,31,30,30,30,30,30,30,30,30
09978   };
09979   const int n4c2w4_t[] = {
09980     120, // Capacity
09981     500, // Number of items
09982     // Size of items (sorted)
09983     100,100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,97,97,
09984     96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,94,94,94,94,94,94,
09985     94,94,94,93,93,93,93,93,92,92,92,92,92,92,91,91,91,91,91,91,91,
09986     91,91,91,91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,89,
09987     88,88,88,88,88,88,88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,
09988     85,85,85,85,85,85,84,84,84,83,83,83,83,83,83,83,82,82,82,82,82,
09989     82,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,79,79,79,
09990     79,79,79,79,78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,77,77,
09991     77,77,76,76,76,76,76,75,75,75,75,75,75,74,74,74,74,74,74,74,74,
09992     73,73,73,73,73,73,73,73,73,72,72,72,72,72,72,72,71,71,71,71,71,
09993     71,71,71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,
09994     68,68,68,68,68,68,67,67,67,67,67,67,67,67,67,66,66,66,65,65,65,
09995     65,65,65,64,64,64,64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,
09996     63,63,62,62,62,62,62,62,62,61,61,61,60,60,60,60,59,59,59,59,59,
09997     59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,56,56,56,56,
09998     56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,54,53,53,53,53,53,
09999     53,53,53,52,52,52,52,52,52,52,51,51,51,51,51,51,51,50,50,50,50,
10000     50,49,49,49,49,49,49,48,48,48,48,48,48,48,48,47,47,47,47,46,46,
10001     46,46,46,46,46,46,46,46,45,45,45,45,45,45,45,45,45,44,44,44,44,
10002     44,43,43,43,43,43,43,43,42,42,42,42,42,42,42,41,41,41,41,41,41,
10003     40,40,40,40,40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,
10004     37,37,37,37,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,
10005     35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,
10006     31,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30
10007   };
10008   const int n4c3w1_a[] = {
10009     150, // Capacity
10010     500, // Number of items
10011     // Size of items (sorted)
10012     100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,97,97,97,96,
10013     96,96,96,96,96,96,96,95,95,95,95,94,94,94,93,93,93,93,93,92,92,
10014     92,92,92,91,91,91,91,91,90,90,89,89,89,89,89,89,88,88,88,88,86,
10015     86,85,85,85,84,84,84,84,83,83,83,83,83,83,83,82,82,81,81,81,81,
10016     81,81,81,81,81,81,80,80,80,80,79,79,79,79,79,79,79,78,78,78,78,
10017     78,78,78,77,77,77,77,77,77,76,75,75,74,74,74,74,74,74,74,73,73,
10018     73,72,72,72,72,72,72,72,72,72,71,70,70,69,69,68,68,68,68,68,67,
10019     66,66,66,65,65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,63,
10020     63,63,62,62,62,62,62,62,61,61,61,60,60,60,60,60,60,60,59,59,59,
10021     59,59,59,59,59,59,59,59,58,58,58,57,57,57,57,56,56,56,56,56,56,
10022     56,55,55,55,54,54,54,54,54,54,54,54,54,53,53,53,52,52,52,52,51,
10023     51,51,51,50,50,50,49,49,49,48,48,48,48,48,48,48,48,48,48,48,48,
10024     47,47,47,47,47,46,46,46,46,45,45,45,45,45,45,45,45,44,44,44,44,
10025     44,43,43,43,43,43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,41,
10026     41,41,40,40,40,40,39,39,39,39,39,38,38,38,37,37,37,37,37,37,36,
10027     36,36,36,36,35,35,35,35,34,34,34,34,34,34,34,34,33,33,33,33,33,
10028     32,32,32,32,32,32,32,31,31,31,31,30,30,30,30,30,30,30,30,30,30,
10029     29,29,29,28,28,28,28,28,28,27,27,27,27,26,26,26,25,25,25,25,25,
10030     25,25,24,24,24,24,24,24,23,23,23,23,23,22,22,22,22,22,22,21,21,
10031     21,21,21,21,21,21,21,20,20,20,20,20,19,19,19,19,19,19,19,19,18,
10032     18,18,18,18,18,18,18,18,17,17,16,16,16,15,15,15,15,15,14,14,14,
10033     14,14,14,14,13,13,13,13,12,12,12,11,11,11,11,11,10,10,10,10,10,
10034     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,
10035     3,2,2,2,2,1,1,1,1
10036   };
10037   const int n4c3w1_b[] = {
10038     150, // Capacity
10039     500, // Number of items
10040     // Size of items (sorted)
10041     100,100,100,100,100,100,100,100,100,100,100,100,100,99,99,99,
10042     99,99,99,99,98,98,98,97,97,97,97,96,96,96,95,95,95,95,95,95,94,
10043     93,93,93,92,92,92,92,92,91,91,91,91,91,91,90,89,89,88,87,87,87,
10044     87,87,86,86,86,86,86,85,85,85,85,84,84,84,84,84,84,83,83,83,82,
10045     82,82,82,82,81,81,81,81,81,80,80,80,80,80,80,80,80,80,79,79,79,
10046     79,78,78,78,77,77,77,76,76,76,75,75,75,75,75,75,74,74,73,73,73,
10047     73,72,72,72,72,72,71,71,70,69,69,69,69,69,68,68,68,68,68,68,68,
10048     68,68,67,67,67,66,65,65,65,65,65,65,64,64,64,64,64,63,63,63,63,
10049     62,62,61,61,61,61,61,60,60,60,60,60,60,60,60,60,59,59,59,59,59,
10050     59,59,58,58,58,58,58,58,58,58,57,57,57,57,56,56,56,56,55,55,55,
10051     55,55,55,55,54,54,54,54,54,54,53,53,53,53,53,52,52,52,52,52,52,
10052     52,52,52,52,51,51,51,51,51,51,51,51,50,50,50,50,50,50,50,49,49,
10053     49,49,49,49,49,48,48,48,48,48,48,47,47,47,47,47,47,46,46,46,45,
10054     45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,43,43,43,43,43,43,
10055     42,42,42,42,42,41,41,41,40,40,40,40,39,39,39,39,39,39,38,38,38,
10056     38,37,37,37,36,36,36,36,36,36,35,35,35,35,35,34,34,34,34,34,33,
10057     33,33,33,33,33,32,32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,
10058     30,30,29,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,27,27,27,
10059     26,26,26,26,26,25,25,25,25,24,24,24,24,24,23,23,23,23,23,23,23,
10060     22,22,22,22,22,22,22,22,22,22,22,21,21,21,21,20,20,20,20,19,19,
10061     18,18,18,18,18,18,17,17,17,17,17,17,16,16,16,16,16,15,15,15,15,
10062     15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13,13,12,12,12,11,
10063     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,
10064     3,3,3,3,3,2,2,2,1,1,1,1,1
10065   };
10066   const int n4c3w1_c[] = {
10067     150, // Capacity
10068     500, // Number of items
10069     // Size of items (sorted)
10070     100,100,99,99,99,99,99,99,99,98,98,98,98,98,97,97,96,96,96,96,
10071     96,96,96,95,95,95,94,94,94,94,94,93,93,93,93,93,93,92,92,92,92,
10072     92,92,91,91,91,91,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,
10073     88,88,88,87,87,87,87,86,86,86,86,86,86,85,84,84,83,83,83,83,83,
10074     82,82,81,81,81,80,80,79,79,78,78,78,78,78,78,78,77,77,77,77,77,
10075     77,77,76,76,76,75,75,75,75,75,75,75,75,74,74,74,74,74,74,74,73,
10076     73,73,73,72,72,72,72,71,71,71,71,71,71,71,70,70,70,70,70,69,69,
10077     69,69,69,68,68,68,68,68,68,67,67,66,66,66,66,66,66,66,66,65,65,
10078     65,65,64,64,64,64,64,63,63,63,63,63,63,62,62,62,62,62,62,62,61,
10079     61,61,61,60,60,60,59,59,59,59,59,59,59,58,58,58,58,58,58,57,57,
10080     57,57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,54,53,53,53,53,
10081     53,53,53,53,53,53,52,52,52,52,51,51,51,51,51,50,50,50,50,49,49,
10082     49,49,49,48,48,48,48,48,48,48,48,47,47,47,47,46,46,46,45,45,45,
10083     45,45,45,45,45,45,44,44,44,44,44,44,44,43,43,43,42,42,42,42,42,
10084     42,42,41,40,40,40,39,39,39,39,39,38,38,38,38,38,37,37,37,37,37,
10085     37,37,37,37,37,36,36,36,36,36,36,36,36,36,35,35,34,34,34,34,34,
10086     33,33,33,33,33,32,32,32,32,32,32,32,32,31,31,31,31,31,30,30,30,
10087     30,29,29,29,29,29,28,27,27,27,27,27,27,27,26,25,25,25,25,25,25,
10088     25,24,24,24,24,24,24,23,23,23,22,22,22,22,22,22,21,21,21,21,21,
10089     20,20,19,19,19,19,19,19,19,19,19,19,19,19,19,18,18,18,17,17,17,
10090     16,16,15,15,15,15,15,15,15,15,14,14,14,14,14,14,14,13,13,13,13,
10091     13,13,13,12,12,12,12,12,12,12,11,11,11,11,11,10,10,10,10,9,9,
10092     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,
10093     2,2,2,2,2,1,1,1
10094   };
10095   const int n4c3w1_d[] = {
10096     150, // Capacity
10097     500, // Number of items
10098     // Size of items (sorted)
10099     100,100,100,99,99,99,99,99,99,99,98,98,98,98,97,97,97,96,96,96,
10100     96,96,96,95,95,94,94,93,93,93,93,93,93,93,92,92,92,92,92,91,91,
10101     91,91,91,91,90,90,90,90,90,90,89,88,87,87,86,86,86,86,86,85,85,
10102     85,85,85,85,84,84,84,84,83,83,83,83,83,82,82,82,81,81,80,80,80,
10103     79,79,79,78,78,78,77,77,77,77,77,77,77,76,76,76,76,75,75,74,74,
10104     73,73,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,70,70,70,70,
10105     70,69,69,69,69,69,69,69,69,68,68,68,67,67,67,67,67,66,66,66,66,
10106     66,66,66,65,65,65,65,65,65,65,65,65,64,64,64,64,63,63,63,63,63,
10107     62,62,62,61,61,60,60,60,60,60,59,59,58,58,58,58,58,57,57,57,57,
10108     57,57,57,57,56,56,56,56,56,55,55,55,55,55,55,55,55,54,54,54,54,
10109     54,54,54,54,54,53,53,53,52,52,52,52,51,51,50,50,50,50,49,49,49,
10110     49,48,48,48,48,48,48,48,48,48,47,47,47,46,46,46,46,46,45,45,45,
10111     45,45,45,45,45,44,44,44,44,44,44,43,43,43,43,43,43,42,42,42,42,
10112     41,41,41,41,41,40,40,40,40,39,39,39,39,39,38,38,38,38,38,38,38,
10113     37,37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,34,34,34,34,34,
10114     34,33,33,32,32,32,32,31,31,31,30,30,30,30,30,30,30,30,30,30,30,
10115     30,30,29,29,29,29,29,29,28,28,28,28,28,28,28,27,27,27,27,27,27,
10116     27,26,26,26,26,26,26,26,25,25,25,25,25,25,25,25,25,24,24,24,24,
10117     24,23,23,23,23,23,23,22,22,21,21,21,21,21,21,20,20,20,20,20,20,
10118     20,19,19,19,19,18,18,17,17,17,17,17,17,17,17,16,16,16,15,15,15,
10119     15,14,14,14,14,14,14,14,13,13,13,13,12,12,12,12,12,12,11,11,11,
10120     11,11,11,11,11,11,11,10,10,10,10,10,10,9,9,9,9,9,9,8,8,8,8,8,
10121     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,
10122     2,2,2,1,1
10123   };
10124   const int n4c3w1_e[] = {
10125     150, // Capacity
10126     500, // Number of items
10127     // Size of items (sorted)
10128     100,100,100,99,99,98,98,98,98,97,97,97,97,96,96,96,96,96,96,96,
10129     96,95,95,95,95,95,95,95,94,94,93,93,93,93,92,92,92,91,91,91,90,
10130     90,90,90,89,89,89,89,88,88,88,88,88,88,87,87,87,87,87,86,86,86,
10131     86,86,86,86,86,86,86,86,86,85,85,85,85,85,85,84,84,84,84,84,84,
10132     84,84,84,83,83,83,83,83,82,82,82,82,82,82,81,81,81,81,80,80,80,
10133     80,80,80,79,79,79,79,79,79,79,78,78,77,77,77,77,77,77,76,76,76,
10134     75,75,75,75,75,75,74,74,74,74,73,73,73,73,73,73,73,73,73,73,72,
10135     72,72,72,71,71,71,70,70,69,69,69,69,69,69,68,68,68,68,68,68,68,
10136     67,67,67,67,66,66,66,66,66,65,65,65,65,65,65,65,65,65,64,64,64,
10137     64,63,63,63,63,62,62,62,62,62,62,61,60,60,60,60,60,60,59,59,59,
10138     59,59,58,58,58,57,57,57,57,57,56,56,56,56,55,55,55,55,55,55,55,
10139     54,54,54,54,54,53,53,52,52,51,51,51,51,50,50,50,50,50,50,50,49,
10140     49,49,49,48,48,48,48,48,48,47,47,46,46,46,46,46,45,45,45,44,44,
10141     44,44,43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,41,41,41,40,
10142     40,40,40,40,39,39,39,39,38,38,38,37,37,37,37,37,37,36,36,36,35,
10143     35,35,34,34,34,34,34,34,34,33,33,33,33,33,33,33,33,32,32,32,32,
10144     31,31,31,31,31,31,30,30,30,30,30,30,30,29,29,29,29,28,28,28,27,
10145     27,27,27,26,26,26,26,26,26,26,25,25,25,24,24,23,23,23,23,23,23,
10146     23,23,22,22,22,21,21,21,21,21,21,20,20,20,19,19,19,19,19,19,19,
10147     19,19,18,18,18,18,17,17,17,16,16,16,16,16,16,15,15,15,15,15,14,
10148     14,14,14,14,13,13,13,13,13,12,12,12,12,12,12,12,12,12,11,11,11,
10149     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,
10150     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,
10151     1,1
10152   };
10153   const int n4c3w1_f[] = {
10154     150, // Capacity
10155     500, // Number of items
10156     // Size of items (sorted)
10157     100,100,100,100,100,99,99,99,98,98,97,97,97,97,96,96,96,96,95,
10158     95,95,95,94,94,94,94,94,94,94,93,93,92,92,92,92,92,91,91,91,91,
10159     91,91,90,90,90,90,89,89,89,89,89,89,88,88,88,88,88,88,87,87,87,
10160     87,86,86,86,86,86,86,86,85,85,85,85,84,84,84,84,84,83,83,83,83,
10161     83,83,83,83,83,83,83,83,82,82,82,82,81,81,81,80,80,80,80,79,79,
10162     79,78,78,78,78,78,78,77,77,77,77,77,77,76,76,76,76,76,75,75,75,
10163     75,74,74,74,73,73,73,73,73,73,73,73,73,72,72,71,71,71,71,71,71,
10164     71,70,70,70,70,69,69,69,68,68,68,67,67,67,67,67,67,67,67,67,66,
10165     66,66,66,66,66,66,66,65,64,64,64,64,64,64,63,63,62,62,61,61,61,
10166     60,60,59,59,59,59,59,59,58,58,58,58,57,57,57,57,56,56,56,56,56,
10167     56,55,55,55,54,54,54,54,54,54,54,54,53,53,53,52,52,52,52,51,51,
10168     51,51,51,51,50,50,50,50,50,50,49,49,49,49,48,48,48,48,47,47,47,
10169     47,47,46,46,46,46,46,46,45,45,45,45,45,45,44,44,44,44,43,43,43,
10170     43,42,42,42,42,42,42,42,42,42,41,41,40,40,40,40,40,39,39,39,39,
10171     38,38,38,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,35,35,
10172     35,35,34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,31,31,31,
10173     31,30,30,30,30,30,30,30,30,30,30,29,29,29,29,29,28,28,28,28,28,
10174     27,27,27,26,26,26,26,26,25,25,25,25,25,25,25,25,25,24,24,24,24,
10175     24,24,24,24,24,24,24,24,24,23,23,23,23,23,22,22,22,22,22,22,22,
10176     22,21,21,21,21,21,21,20,20,20,20,20,20,20,20,19,19,19,19,18,18,
10177     18,18,18,18,18,18,17,17,17,17,17,16,16,15,14,14,14,14,14,14,14,
10178     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,
10179     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,
10180     1,1,1
10181   };
10182   const int n4c3w1_g[] = {
10183     150, // Capacity
10184     500, // Number of items
10185     // Size of items (sorted)
10186     100,100,100,100,100,99,99,99,98,98,98,98,98,97,97,97,97,96,96,
10187     96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,94,94,94,93,93,93,
10188     93,93,93,93,93,93,92,92,92,92,92,92,91,91,91,91,91,91,90,90,90,
10189     89,89,89,88,87,87,87,87,87,86,86,86,86,86,85,85,85,84,84,84,84,
10190     83,83,83,83,83,83,83,82,82,82,82,81,81,81,81,81,81,81,80,80,80,
10191     80,80,80,80,80,79,79,79,79,79,79,78,78,78,78,78,78,77,77,77,77,
10192     77,76,76,76,75,75,75,75,75,75,75,74,74,73,73,73,72,72,72,72,72,
10193     71,71,71,71,71,71,71,71,70,70,70,69,69,69,69,68,68,68,68,68,68,
10194     67,67,67,67,67,66,66,65,65,65,65,65,65,65,64,64,64,64,64,64,63,
10195     63,63,63,63,63,62,62,61,61,61,61,61,61,61,60,60,60,60,59,59,59,
10196     58,58,57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,
10197     55,54,54,53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,51,51,
10198     50,50,49,49,49,49,49,49,49,49,48,48,48,48,48,48,48,48,47,47,47,
10199     47,47,47,47,47,47,47,47,46,46,46,46,45,45,45,45,45,44,44,44,44,
10200     44,44,43,43,43,42,42,42,42,41,41,41,41,41,41,40,39,39,39,39,38,
10201     38,38,38,38,38,38,38,38,37,37,37,37,37,37,36,36,36,36,36,36,35,
10202     34,34,33,33,33,33,33,33,32,32,32,32,31,30,30,29,29,29,29,29,28,
10203     28,28,28,27,27,27,27,27,26,26,26,26,26,26,26,26,26,26,25,25,25,
10204     25,25,25,25,24,24,24,24,24,23,23,23,23,23,23,23,22,22,22,21,21,
10205     21,21,21,21,21,21,21,20,20,20,20,20,20,19,19,19,18,18,18,18,18,
10206     18,17,17,17,16,16,16,16,15,15,15,15,14,14,14,14,13,13,13,13,12,
10207     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,
10208     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,
10209     1,1,1,1
10210   };
10211   const int n4c3w1_h[] = {
10212     150, // Capacity
10213     500, // Number of items
10214     // Size of items (sorted)
10215     100,100,100,100,100,99,98,98,97,97,97,97,97,97,97,97,97,97,96,
10216     96,96,96,95,95,95,95,95,94,94,94,94,94,94,94,94,93,93,93,93,92,
10217     92,92,92,92,92,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,89,
10218     89,88,88,88,88,88,88,87,87,87,87,87,87,87,87,87,87,87,86,86,86,
10219     86,86,86,86,86,86,85,85,85,85,85,85,84,84,84,83,83,83,82,82,82,
10220     82,82,81,81,81,81,81,81,80,80,79,79,79,79,79,79,79,79,79,78,78,
10221     78,78,78,77,77,77,76,76,76,76,75,75,75,75,74,74,74,74,74,73,73,
10222     73,73,73,72,72,72,71,70,70,70,70,70,70,70,69,69,69,69,69,68,68,
10223     68,68,68,68,68,68,67,67,67,67,67,67,67,66,66,66,66,66,66,66,65,
10224     65,65,65,65,65,64,64,63,63,63,63,63,63,62,62,62,62,62,61,61,61,
10225     61,60,60,60,60,60,60,59,59,59,59,59,59,58,58,58,58,57,57,57,57,
10226     56,56,55,55,55,55,54,54,54,54,54,54,53,53,53,53,53,53,53,53,52,
10227     52,52,52,51,51,50,50,50,50,50,49,49,49,49,48,47,47,47,47,47,47,
10228     47,47,47,47,46,46,46,46,46,45,45,44,44,43,43,42,42,42,41,41,41,
10229     41,41,40,40,40,40,40,40,40,40,40,40,40,39,39,39,39,39,38,38,38,
10230     38,37,37,37,37,36,36,36,35,35,35,35,35,35,34,34,34,33,33,33,33,
10231     33,33,32,32,32,32,32,32,32,32,32,32,32,31,31,30,30,30,30,30,29,
10232     29,28,28,28,27,27,27,27,27,26,26,26,26,26,26,25,25,25,25,25,24,
10233     24,24,23,23,23,23,23,23,22,22,22,22,22,22,21,21,21,21,21,21,20,
10234     20,20,20,19,19,19,19,18,18,18,18,18,17,17,16,16,16,16,16,16,16,
10235     16,15,15,15,15,15,15,15,15,15,14,14,14,14,14,13,13,13,13,12,12,
10236     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,
10237     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,
10238     2,2,1,1,1
10239   };
10240   const int n4c3w1_i[] = {
10241     150, // Capacity
10242     500, // Number of items
10243     // Size of items (sorted)
10244     100,100,100,100,99,99,99,99,99,99,99,99,98,97,97,96,96,96,96,
10245     96,96,95,95,94,94,94,94,93,93,93,92,92,92,92,92,91,91,90,90,90,
10246     90,90,90,89,89,89,89,89,88,88,88,88,88,87,87,87,87,86,86,86,86,
10247     86,86,85,85,85,85,85,85,85,84,84,84,83,83,83,82,82,82,82,81,81,
10248     81,81,81,81,81,81,80,80,80,80,80,80,80,79,79,79,79,79,79,78,78,
10249     78,78,78,78,78,78,77,77,77,77,77,77,77,77,77,76,76,75,75,75,75,
10250     74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,72,71,71,71,71,
10251     71,71,70,70,70,70,70,70,69,69,69,68,68,68,68,67,67,67,67,67,67,
10252     67,66,66,66,66,66,66,66,66,66,65,65,65,65,65,65,64,64,64,64,64,
10253     64,63,63,63,63,63,62,62,62,62,62,61,61,61,61,61,60,60,60,60,60,
10254     60,60,59,59,58,58,58,58,58,58,57,57,57,56,56,56,56,56,55,55,55,
10255     55,55,55,54,54,54,54,53,53,53,53,53,53,52,52,52,52,51,51,50,50,
10256     50,50,49,48,48,48,48,48,48,47,47,47,47,47,47,47,47,46,46,46,46,
10257     46,46,46,45,45,44,44,44,44,43,43,43,42,42,42,41,41,41,41,41,41,
10258     41,40,40,40,40,40,40,39,39,38,38,38,38,38,38,37,37,37,37,37,37,
10259     37,37,37,37,36,36,35,35,35,35,35,35,35,34,34,33,33,33,33,33,32,
10260     32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,30,29,29,29,29,
10261     29,29,29,29,29,28,28,27,27,27,27,27,27,26,26,26,26,26,26,26,26,
10262     26,25,25,25,25,25,25,24,24,24,24,24,24,24,24,23,23,23,23,22,22,
10263     22,22,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,19,19,19,19,
10264     19,18,18,18,18,18,17,17,16,16,16,16,16,16,16,15,15,15,15,14,14,
10265     14,14,14,13,13,13,13,12,12,12,12,12,12,12,12,11,11,11,11,11,11,
10266     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,
10267     4,3,3,3,2,2,2,1,1,1,1,1
10268   };
10269   const int n4c3w1_j[] = {
10270     150, // Capacity
10271     500, // Number of items
10272     // Size of items (sorted)
10273     100,100,100,100,100,100,100,99,99,99,99,98,98,98,98,98,98,97,
10274     97,96,96,95,95,95,95,95,95,95,95,94,93,93,93,92,92,92,92,92,92,
10275     92,91,91,91,91,91,91,90,89,89,89,89,88,88,88,88,87,87,87,87,87,
10276     87,87,87,87,86,86,86,86,86,86,85,85,85,85,85,84,84,84,84,84,83,
10277     83,82,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,80,
10278     80,79,79,79,79,79,78,78,78,78,78,77,77,77,77,77,77,76,76,76,76,
10279     76,76,75,75,75,75,75,75,74,73,73,73,73,73,73,72,72,72,72,72,72,
10280     71,71,71,71,71,71,71,70,70,69,69,69,68,68,68,68,68,68,68,68,67,
10281     67,67,67,67,66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,
10282     63,63,62,62,62,62,62,62,61,61,61,61,61,61,60,60,59,59,59,59,59,
10283     59,59,59,58,58,58,58,58,58,58,58,58,57,57,56,56,56,56,56,55,55,
10284     55,55,55,55,55,55,54,54,53,53,53,53,53,53,52,52,52,52,52,52,52,
10285     51,51,51,51,51,51,50,50,50,50,50,49,49,49,49,49,49,48,48,48,48,
10286     48,47,47,47,47,47,47,47,46,46,46,46,46,46,45,45,45,45,45,44,44,
10287     44,44,44,44,43,43,42,42,42,42,42,42,42,41,41,41,41,40,40,40,40,
10288     40,40,40,40,39,39,39,39,39,39,38,38,38,38,37,37,37,37,37,36,36,
10289     36,36,36,36,35,35,35,35,35,35,34,34,34,34,34,33,33,33,33,33,32,
10290     32,32,31,30,30,30,30,30,30,29,29,29,28,28,28,28,27,27,26,26,25,
10291     25,25,25,24,24,24,24,23,23,23,23,23,23,23,22,22,22,22,22,22,21,
10292     21,21,20,20,20,20,20,19,19,19,19,19,18,18,18,17,17,17,17,17,17,
10293     17,17,16,16,16,16,16,16,15,15,14,14,14,14,14,14,14,13,13,13,13,
10294     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,
10295     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,
10296     2,2,2,1,1,1
10297   };
10298   const int n4c3w1_k[] = {
10299     150, // Capacity
10300     500, // Number of items
10301     // Size of items (sorted)
10302     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,
10303     98,97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,94,94,94,94,
10304     94,94,93,93,92,92,91,91,91,91,91,90,90,90,90,89,89,89,89,89,89,
10305     88,88,88,87,87,86,86,85,85,85,85,84,84,84,84,84,83,83,83,83,83,
10306     82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,80,80,79,79,79,79,
10307     79,78,78,78,78,78,78,78,77,77,77,77,77,77,76,76,76,76,76,76,76,
10308     75,75,75,75,74,74,74,74,74,74,73,73,73,72,72,72,72,72,72,72,71,
10309     71,70,70,70,70,70,70,69,69,69,69,68,68,68,68,68,67,67,67,67,67,
10310     67,67,66,66,66,66,66,66,66,65,65,65,64,64,64,64,63,63,63,63,63,
10311     63,63,63,62,62,62,62,60,59,59,59,59,59,59,59,59,58,58,58,58,56,
10312     56,56,56,55,55,55,54,53,53,53,53,52,52,52,52,52,52,51,51,51,51,
10313     51,51,51,50,50,50,49,49,49,48,48,48,48,48,48,48,47,47,47,47,47,
10314     47,47,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,43,43,43,
10315     43,43,42,42,42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,40,40,
10316     40,40,40,39,39,39,39,39,38,38,37,37,37,37,36,36,36,36,36,36,36,
10317     35,35,35,35,35,35,35,35,35,34,34,34,34,33,33,33,33,33,33,32,32,
10318     32,32,31,31,31,31,31,30,30,30,29,29,29,29,29,29,29,28,28,28,28,
10319     28,27,27,27,26,26,26,26,26,26,25,25,25,25,25,24,24,24,24,23,23,
10320     23,23,23,23,23,23,22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,
10321     20,19,19,19,19,19,18,18,18,18,18,18,18,18,18,18,18,17,17,17,17,
10322     17,17,16,16,15,15,14,14,14,14,14,14,14,14,13,13,13,13,13,13,12,
10323     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,
10324     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,
10325     1,1,1,1,1
10326   };
10327   const int n4c3w1_l[] = {
10328     150, // Capacity
10329     500, // Number of items
10330     // Size of items (sorted)
10331     100,100,100,100,100,99,99,99,98,98,98,98,98,98,97,97,97,97,97,
10332     97,97,97,97,96,96,95,95,94,94,94,94,93,93,93,93,93,93,92,92,92,
10333     92,92,92,91,91,91,91,91,90,89,89,88,88,88,88,88,87,87,87,87,86,
10334     85,85,85,85,84,84,84,83,83,83,83,82,81,81,81,81,81,81,81,80,80,
10335     79,79,79,79,79,79,79,79,78,78,78,78,78,78,77,77,77,77,77,77,77,
10336     76,76,76,76,76,75,75,75,74,74,74,74,74,74,74,74,73,73,73,73,72,
10337     72,72,72,72,72,71,71,71,71,70,70,70,70,70,69,69,69,69,68,68,68,
10338     68,67,67,67,67,67,66,66,66,66,66,66,65,65,65,65,65,64,64,64,64,
10339     64,64,64,63,63,63,63,63,63,63,62,62,61,61,61,60,60,60,60,59,59,
10340     59,59,59,58,58,58,58,57,57,57,57,57,57,57,57,56,56,56,56,56,55,
10341     55,55,54,54,54,53,53,53,52,52,52,52,52,52,52,51,51,51,50,50,50,
10342     50,50,50,50,49,49,49,49,49,48,48,48,48,48,48,48,48,48,47,47,47,
10343     47,47,47,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,
10344     44,44,43,43,43,43,43,43,43,43,43,43,42,42,42,42,42,42,42,41,41,
10345     41,41,40,40,40,40,39,39,39,39,39,38,38,38,38,38,38,37,37,37,36,
10346     36,36,36,36,35,35,35,35,35,35,35,35,34,34,34,33,32,32,32,32,32,
10347     32,32,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30,30,29,29,29,
10348     29,28,28,28,28,28,28,28,28,27,27,27,27,26,26,26,26,26,26,26,26,
10349     26,26,25,25,25,25,25,25,25,24,24,24,23,23,23,23,23,23,23,23,23,
10350     22,22,22,22,22,21,21,21,21,21,21,21,21,20,20,20,19,19,18,18,18,
10351     17,17,17,17,16,16,16,15,15,14,14,14,14,14,14,13,13,13,13,13,13,
10352     13,12,12,11,11,11,11,11,11,11,11,11,10,10,10,10,10,10,9,9,9,8,
10353     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,
10354     3,2,2,2,2,1,1,1
10355   };
10356   const int n4c3w1_m[] = {
10357     150, // Capacity
10358     500, // Number of items
10359     // Size of items (sorted)
10360     100,100,100,100,99,99,99,98,98,98,98,98,98,98,97,97,97,96,96,
10361     96,96,96,95,95,95,95,95,94,94,93,93,93,93,92,92,92,92,91,90,90,
10362     89,89,89,89,89,89,88,88,87,87,87,87,87,87,87,87,87,86,86,86,85,
10363     85,85,85,85,85,84,84,84,84,84,84,84,84,84,83,83,83,82,82,82,82,
10364     82,81,81,81,81,81,81,81,80,80,80,80,80,80,79,79,79,78,78,77,77,
10365     77,76,76,76,76,76,76,76,75,75,75,75,75,75,75,75,74,74,74,74,74,
10366     74,74,74,74,73,73,73,73,73,73,73,73,73,72,72,72,72,71,71,71,71,
10367     71,71,71,71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,
10368     68,68,68,68,68,68,67,67,67,67,67,67,67,66,66,66,66,66,66,65,65,
10369     65,64,64,64,64,64,63,62,62,62,62,61,61,60,60,60,60,60,60,59,59,
10370     59,59,59,58,58,58,58,58,57,57,56,56,56,55,55,55,55,54,54,54,54,
10371     54,54,54,54,54,54,53,53,53,53,53,52,51,51,51,51,51,50,50,50,50,
10372     50,50,49,49,49,49,49,49,49,48,48,48,47,47,47,47,47,46,46,45,45,
10373     45,45,45,45,45,45,44,44,44,44,43,43,43,43,43,42,42,42,42,42,42,
10374     42,41,41,41,41,41,41,41,41,41,40,40,40,40,39,39,39,38,38,38,38,
10375     37,37,37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,35,34,34,34,
10376     34,34,33,33,33,33,32,32,32,32,32,32,32,32,32,31,31,31,31,31,31,
10377     29,29,29,29,29,29,29,28,28,27,27,27,27,27,27,26,26,26,26,25,25,
10378     25,25,25,24,24,24,24,24,23,23,23,22,22,22,21,21,21,21,20,20,20,
10379     20,20,18,18,18,18,18,18,18,17,17,17,17,17,17,17,17,17,16,16,16,
10380     16,15,15,15,15,15,15,15,15,15,14,14,14,14,14,14,14,13,13,13,13,
10381     13,13,13,12,12,12,12,12,12,11,11,11,11,11,11,11,10,10,10,10,10,
10382     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,
10383     3,2,2,2,2,2,2,1,1,1,1
10384   };
10385   const int n4c3w1_n[] = {
10386     150, // Capacity
10387     500, // Number of items
10388     // Size of items (sorted)
10389     100,100,100,100,99,99,99,99,98,98,98,98,98,98,98,98,98,97,97,
10390     97,97,97,97,97,97,96,96,96,96,96,95,95,95,95,95,95,95,94,94,94,
10391     94,94,94,94,94,93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,
10392     91,91,91,90,90,90,89,89,89,89,89,89,89,89,89,89,89,88,88,88,88,
10393     87,86,86,86,86,85,85,84,84,84,84,84,84,83,83,83,83,83,83,83,82,
10394     82,81,81,81,81,81,81,81,81,80,80,80,80,80,80,80,79,79,79,79,79,
10395     79,79,78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,75,75,75,
10396     75,74,74,74,74,73,73,73,73,72,72,72,71,71,71,71,71,71,71,71,71,
10397     71,71,70,70,70,69,69,69,69,69,69,69,68,68,67,67,67,67,67,67,67,
10398     67,67,66,66,66,65,65,65,65,64,64,64,64,64,64,64,64,64,63,63,63,
10399     63,63,63,63,62,62,61,61,61,60,60,60,60,59,59,59,59,59,59,59,58,
10400     58,58,58,58,58,58,58,58,57,57,57,57,57,57,57,56,56,56,55,55,54,
10401     54,54,54,54,54,53,53,53,52,52,52,52,52,51,51,51,51,51,51,51,51,
10402     51,51,50,50,50,50,50,49,49,49,48,48,48,47,46,46,46,46,45,45,45,
10403     45,44,44,44,44,44,43,43,43,43,43,43,42,41,41,41,41,41,41,41,40,
10404     40,40,40,39,39,39,39,38,38,38,38,38,38,37,37,37,37,37,37,35,35,
10405     35,34,34,34,33,33,33,33,32,32,32,32,32,32,32,32,31,31,31,31,31,
10406     30,30,30,30,30,30,30,30,29,29,29,29,29,29,28,28,28,27,27,27,26,
10407     26,26,26,26,26,26,26,26,25,25,25,25,25,25,24,24,24,23,23,23,23,
10408     23,23,22,22,22,21,21,21,20,20,19,19,19,19,19,19,18,18,18,18,18,
10409     18,18,17,17,17,17,17,16,15,15,15,15,14,14,14,14,14,14,13,13,13,
10410     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,
10411     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,
10412     2,2,1,1,1
10413   };
10414   const int n4c3w1_o[] = {
10415     150, // Capacity
10416     500, // Number of items
10417     // Size of items (sorted)
10418     100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,98,98,
10419     98,97,97,97,97,97,97,96,96,95,95,95,95,95,95,95,95,94,94,94,94,
10420     94,94,93,92,92,92,92,91,91,91,91,91,91,91,91,91,90,90,90,90,90,
10421     90,90,89,89,89,89,89,89,89,88,88,88,88,87,87,87,87,87,87,86,86,
10422     86,86,85,84,84,84,84,83,83,83,82,82,82,82,82,82,82,82,82,82,82,
10423     81,81,81,81,81,81,81,81,80,80,80,80,80,80,79,79,78,78,77,77,77,
10424     77,77,76,76,76,75,75,75,75,75,74,74,74,74,74,73,73,72,72,72,72,
10425     71,71,70,70,70,70,70,70,69,69,69,69,68,68,68,68,67,67,67,67,66,
10426     66,66,66,66,66,65,65,65,65,64,64,64,64,64,64,64,64,64,64,63,63,
10427     63,63,63,62,62,62,62,62,62,61,61,61,60,60,60,60,60,60,59,59,59,
10428     58,58,58,58,58,57,57,57,57,57,57,56,56,56,56,56,56,56,56,56,55,
10429     55,55,55,55,54,54,54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,
10430     52,52,51,51,51,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,
10431     46,46,46,46,46,46,46,46,45,45,45,45,44,44,44,44,43,43,42,42,42,
10432     42,42,42,42,42,42,41,41,41,41,41,41,41,40,40,40,39,39,38,38,38,
10433     38,38,38,38,38,37,37,36,36,36,35,35,35,34,34,34,33,33,33,33,33,
10434     32,32,32,32,32,32,31,31,31,31,31,31,31,31,31,30,30,30,30,30,29,
10435     29,28,28,28,28,27,27,27,27,27,27,26,26,26,26,25,25,25,25,25,25,
10436     25,25,25,24,24,24,24,24,23,23,23,23,23,23,23,23,22,22,22,22,22,
10437     22,22,21,21,21,21,20,20,20,20,20,19,19,18,18,18,18,18,18,17,17,
10438     17,17,17,17,16,16,16,16,16,15,15,15,14,14,14,13,13,13,13,13,13,
10439     13,12,12,12,12,12,11,10,10,10,10,10,10,10,9,9,9,9,9,9,8,8,8,8,
10440     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,
10441     2,2,2,1,1,1,1,1
10442   };
10443   const int n4c3w1_p[] = {
10444     150, // Capacity
10445     500, // Number of items
10446     // Size of items (sorted)
10447     100,100,100,99,99,99,98,98,98,98,97,97,97,97,97,97,97,97,96,96,
10448     96,96,96,96,95,95,95,95,94,94,94,94,94,94,94,94,94,93,93,93,93,
10449     93,93,93,93,92,91,91,91,91,90,90,89,89,89,89,89,89,88,88,87,86,
10450     86,86,86,86,85,85,85,85,85,85,85,84,84,84,84,84,84,84,83,83,82,
10451     82,82,82,82,81,80,80,79,79,79,79,79,79,79,79,79,78,78,78,78,78,
10452     78,77,77,77,77,77,76,76,76,76,76,76,75,75,75,75,74,74,74,74,74,
10453     74,74,74,74,74,74,74,74,74,73,73,73,73,72,72,72,72,72,72,72,72,
10454     72,72,72,71,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,69,69,
10455     69,68,68,68,68,68,68,67,67,67,66,66,66,66,65,65,65,65,65,65,65,
10456     64,64,64,64,63,63,63,63,63,63,62,62,62,61,61,61,61,61,60,60,59,
10457     59,59,59,59,59,59,58,58,58,58,58,57,57,56,56,56,56,54,54,54,54,
10458     54,54,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,51,51,50,
10459     50,50,50,49,49,48,48,48,48,48,48,48,47,47,47,46,46,46,46,46,46,
10460     46,46,45,45,45,45,45,44,44,44,44,44,44,44,44,44,44,43,43,43,43,
10461     43,43,42,42,41,41,41,41,41,41,41,40,40,40,40,39,39,38,38,38,38,
10462     37,37,37,37,36,36,36,36,36,35,35,35,35,35,35,34,34,34,34,34,33,
10463     33,33,33,32,32,32,32,32,31,31,31,30,29,29,29,29,29,29,28,28,28,
10464     28,28,27,27,27,27,26,26,26,26,26,26,26,26,25,25,25,25,24,24,24,
10465     24,24,23,23,23,23,23,23,22,22,22,22,22,22,21,21,21,20,20,20,20,
10466     20,19,19,18,18,18,17,17,17,17,17,16,16,16,16,16,16,16,16,16,15,
10467     14,14,14,14,14,14,14,13,13,13,13,13,12,12,12,12,12,12,12,11,11,
10468     11,11,11,11,11,10,10,10,10,10,10,10,10,9,9,9,9,9,8,8,8,8,8,7,
10469     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,
10470     1,1,1,1,1
10471   };
10472   const int n4c3w1_q[] = {
10473     150, // Capacity
10474     500, // Number of items
10475     // Size of items (sorted)
10476     100,100,100,100,100,99,98,98,98,98,97,97,97,97,97,96,96,96,96,
10477     96,96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,
10478     93,92,92,92,92,92,92,92,91,91,90,90,90,90,90,89,89,89,89,89,89,
10479     89,88,87,87,87,87,87,86,86,86,86,86,86,86,85,85,85,85,85,85,84,
10480     84,84,84,84,84,84,83,83,83,83,83,83,83,83,83,82,82,81,81,81,81,
10481     81,80,80,80,80,79,79,79,79,78,78,78,78,78,78,77,77,77,77,77,76,
10482     76,76,76,76,76,76,76,76,75,75,74,74,74,74,73,73,73,72,72,72,72,
10483     72,72,71,71,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,69,68,
10484     68,68,68,68,67,67,67,67,67,67,67,67,67,66,66,66,66,66,66,66,66,
10485     66,66,66,66,65,65,65,65,65,64,64,64,64,64,64,64,64,64,64,63,63,
10486     62,62,62,62,62,62,61,61,61,61,60,60,60,60,60,59,59,59,58,58,58,
10487     58,58,58,58,58,57,57,57,56,56,56,56,56,56,56,56,56,55,55,55,54,
10488     54,54,54,53,53,53,53,53,53,53,53,52,52,51,51,51,51,51,51,51,50,
10489     50,50,50,49,49,49,49,48,48,48,48,48,47,47,46,46,46,46,45,45,44,
10490     44,44,44,43,43,43,43,43,42,42,42,42,42,42,42,42,41,41,41,41,41,
10491     41,41,40,40,40,40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,
10492     39,38,38,38,38,38,37,37,37,37,36,36,36,36,36,36,36,36,36,35,35,
10493     35,34,34,34,34,33,33,33,32,32,32,31,31,31,31,31,30,30,29,29,29,
10494     28,28,28,28,28,28,27,27,27,26,26,26,26,26,26,26,26,25,25,25,25,
10495     25,25,25,24,23,23,23,23,23,22,22,21,21,20,20,20,20,20,20,19,18,
10496     18,18,18,17,17,17,17,16,16,16,15,15,15,15,15,15,15,15,15,14,14,
10497     14,14,14,14,13,13,13,13,13,13,12,12,12,12,12,12,12,12,11,11,11,
10498     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,
10499     4,4,3,2,2,2,2,2,2,1,1,1,1
10500   };
10501   const int n4c3w1_r[] = {
10502     150, // Capacity
10503     500, // Number of items
10504     // Size of items (sorted)
10505     100,100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,98,97,
10506     97,96,96,96,96,95,95,95,95,95,95,95,95,95,95,94,94,94,94,93,93,
10507     93,93,92,92,92,92,92,92,91,91,91,91,90,90,90,90,90,90,89,89,89,
10508     89,88,88,88,88,87,87,87,87,87,87,86,86,85,85,84,84,83,83,83,83,
10509     83,83,82,82,82,82,81,81,81,81,80,80,80,80,80,80,80,80,79,79,79,
10510     79,79,79,79,79,79,79,78,78,78,78,77,77,77,76,76,76,76,75,75,75,
10511     75,75,75,74,74,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,71,
10512     71,71,71,70,70,70,70,70,70,70,69,69,69,68,68,68,68,67,67,67,67,
10513     67,67,67,67,67,66,66,66,66,65,65,65,65,65,64,64,64,64,63,63,63,
10514     63,62,62,62,62,62,61,61,61,61,61,61,61,61,61,61,61,61,60,60,60,
10515     60,60,59,59,59,58,58,58,58,58,58,58,58,57,57,57,57,56,56,55,55,
10516     55,55,55,54,54,54,54,53,53,53,53,53,52,52,52,52,52,52,51,51,51,
10517     51,51,51,51,51,50,49,48,48,48,48,48,48,47,47,47,46,46,46,46,45,
10518     45,45,45,45,45,44,44,43,43,43,42,42,42,42,42,41,41,41,40,40,40,
10519     40,40,40,40,40,40,40,39,39,39,39,38,38,38,38,38,38,38,38,37,37,
10520     37,37,36,36,36,36,36,34,34,34,34,33,33,33,33,33,32,32,32,32,32,
10521     32,31,31,31,31,31,31,31,31,30,30,30,30,29,29,29,29,29,29,29,29,
10522     29,28,28,28,28,28,28,28,28,28,28,28,28,27,27,27,27,26,26,26,26,
10523     26,25,25,25,25,25,24,24,24,24,24,24,23,23,23,23,23,22,22,22,22,
10524     22,22,21,21,21,20,20,19,19,19,19,19,19,19,19,18,18,18,18,17,17,
10525     17,17,17,17,16,16,16,16,15,15,14,14,14,14,13,13,13,13,13,13,13,
10526     12,12,12,12,11,11,11,11,11,11,11,11,11,11,10,10,10,9,9,9,9,9,
10527     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,
10528     3,3,3,2,2,2,1,1,1
10529   };
10530   const int n4c3w1_s[] = {
10531     150, // Capacity
10532     500, // Number of items
10533     // Size of items (sorted)
10534     100,100,99,99,99,99,99,98,98,98,98,98,98,97,97,97,97,96,96,96,
10535     96,96,96,95,95,95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,
10536     93,92,92,92,92,91,91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,
10537     89,89,88,88,87,87,87,86,86,86,86,86,86,85,85,85,85,85,85,85,84,
10538     84,84,84,83,83,83,82,82,82,82,81,81,80,80,80,80,80,80,79,79,78,
10539     78,78,78,78,78,78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,75,
10540     75,75,74,74,74,74,74,74,73,73,73,73,72,72,71,71,71,71,70,70,70,
10541     70,70,70,70,69,69,69,68,68,68,68,68,67,67,67,66,66,66,66,66,66,
10542     66,66,66,66,65,65,65,64,64,64,63,63,63,63,62,62,62,62,62,61,61,
10543     61,61,61,61,60,60,60,60,59,59,59,59,58,58,58,58,58,58,58,58,57,
10544     57,57,57,57,57,57,57,56,56,55,55,55,55,55,55,54,54,54,54,54,54,
10545     54,54,53,53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,51,51,50,
10546     50,50,50,50,50,50,50,49,49,49,49,49,49,49,49,49,48,48,48,48,48,
10547     47,47,47,47,47,46,46,46,46,46,45,45,45,45,45,45,45,45,44,44,43,
10548     43,43,43,42,42,42,41,40,40,39,39,39,39,39,38,38,38,38,37,37,37,
10549     37,36,36,36,36,36,35,35,35,34,34,34,34,34,33,33,33,33,33,33,33,
10550     32,32,32,32,32,32,32,32,31,31,31,30,30,30,30,30,29,29,29,29,29,
10551     29,29,29,29,29,28,28,27,27,27,27,27,26,26,26,26,26,26,25,25,25,
10552     25,25,25,25,25,24,24,24,24,24,24,24,24,23,23,23,23,23,22,22,22,
10553     22,22,22,21,21,21,21,21,21,20,20,20,20,20,19,19,19,18,18,18,18,
10554     18,18,17,17,17,16,15,15,15,15,14,14,14,14,13,13,13,13,13,13,12,
10555     12,12,12,12,12,11,11,11,11,11,11,11,11,10,10,10,10,10,10,10,10,
10556     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,
10557     2,2,2,2,1,1,1,1
10558   };
10559   const int n4c3w1_t[] = {
10560     150, // Capacity
10561     500, // Number of items
10562     // Size of items (sorted)
10563     100,100,100,99,99,98,98,98,97,97,97,97,96,96,96,96,96,96,95,95,
10564     95,95,95,95,94,94,94,94,94,94,93,93,93,92,92,92,92,92,91,91,91,
10565     91,91,90,90,90,90,90,90,89,89,89,89,89,89,88,88,88,88,88,88,88,
10566     88,88,88,87,87,86,86,86,86,85,85,85,85,85,85,84,84,84,84,83,83,
10567     82,82,82,82,82,82,81,81,81,81,80,80,80,80,79,79,79,79,79,79,79,
10568     79,79,79,79,78,78,78,78,78,78,77,77,76,76,76,76,76,76,76,76,76,
10569     75,75,75,75,75,74,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,
10570     73,72,72,72,72,72,72,72,71,71,70,70,70,70,70,70,70,70,70,70,70,
10571     70,70,69,69,69,69,69,69,68,68,68,68,68,68,67,67,67,67,67,66,66,
10572     66,66,65,65,65,65,65,65,65,64,63,63,63,62,62,62,62,61,61,61,61,
10573     60,60,60,60,59,59,59,59,59,59,58,58,58,58,58,57,57,57,57,57,56,
10574     56,56,56,56,55,55,55,55,55,54,54,54,54,54,53,53,53,53,53,53,53,
10575     53,52,51,51,51,50,50,50,50,50,50,50,50,50,49,49,49,49,49,49,49,
10576     48,48,48,48,47,47,47,46,46,46,46,46,45,45,45,44,44,44,44,44,43,
10577     43,43,43,43,43,43,43,42,42,42,41,41,41,41,41,40,40,40,40,40,40,
10578     40,40,40,39,39,39,38,38,38,37,37,37,37,37,37,37,37,37,37,37,36,
10579     36,36,36,36,35,35,35,34,34,34,34,33,33,33,33,32,32,32,32,31,31,
10580     31,31,31,31,31,31,31,31,30,30,30,29,29,29,29,29,28,28,28,28,28,
10581     27,27,27,27,27,26,26,26,26,26,26,25,25,25,24,24,24,24,24,24,23,
10582     23,23,23,23,22,22,22,22,22,22,21,21,21,21,20,20,20,20,19,19,19,
10583     18,18,18,18,17,17,17,17,17,16,16,16,16,16,16,15,15,15,14,14,14,
10584     14,14,13,13,13,13,13,13,12,12,12,12,12,12,12,12,11,11,11,11,11,
10585     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,
10586     3,3,3,3,3,3,3,2,2,2
10587   };
10588   const int n4c3w2_a[] = {
10589     150, // Capacity
10590     500, // Number of items
10591     // Size of items (sorted)
10592     100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,97,97,97,97,
10593     97,97,96,96,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,
10594     95,93,93,93,93,93,93,93,93,92,92,92,92,91,91,91,91,91,91,91,91,
10595     90,90,90,90,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,88,88,
10596     88,88,88,87,87,87,87,87,87,87,87,87,87,86,86,86,86,86,86,85,85,
10597     85,85,85,85,85,84,84,84,84,84,84,83,83,83,83,83,83,82,82,82,82,
10598     81,81,81,81,81,81,81,81,81,81,81,81,80,80,79,79,79,78,78,78,78,
10599     78,77,77,77,77,76,76,76,76,76,76,76,75,75,75,75,75,75,75,74,74,
10600     74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,
10601     71,71,71,71,71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,68,68,
10602     68,68,68,68,67,67,67,67,67,67,67,67,67,67,66,66,66,66,65,65,65,
10603     64,64,64,64,64,64,64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,
10604     62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,60,59,59,59,59,
10605     59,59,58,58,58,58,58,57,57,57,57,57,56,56,56,56,56,56,56,56,56,
10606     55,54,54,54,54,54,53,53,53,53,52,52,52,52,52,52,52,52,51,51,51,
10607     51,51,51,50,50,50,50,50,50,49,49,49,49,49,49,49,49,48,47,47,47,
10608     47,47,47,47,47,47,47,46,46,46,46,46,45,45,45,45,45,45,44,44,44,
10609     44,44,43,42,42,42,42,42,42,42,42,41,41,41,41,41,41,40,40,40,40,
10610     40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,38,37,37,37,37,
10611     37,37,37,37,37,37,36,36,36,36,36,35,35,35,35,35,34,34,34,34,34,
10612     34,34,33,33,33,33,33,33,33,32,32,32,32,32,31,31,31,31,31,31,30,
10613     30,30,30,29,29,29,29,29,28,28,28,28,28,27,27,27,27,27,26,26,26,
10614     25,25,25,25,25,25,24,24,24,24,24,24,24,24,23,23,23,23,23,23,23,
10615     23,22,22,22,22,22,22,22,21,21,21,21,21,21,21,21,21,20,20
10616   };
10617   const int n4c3w2_b[] = {
10618     150, // Capacity
10619     500, // Number of items
10620     // Size of items (sorted)
10621     100,100,100,100,100,100,100,99,99,99,99,98,98,98,98,98,97,97,
10622     97,97,97,97,96,96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,94,
10623     94,94,93,93,93,93,93,92,92,92,92,92,92,92,91,91,91,91,91,91,91,
10624     91,90,90,89,89,89,89,89,89,89,89,89,89,89,88,88,88,88,88,87,87,
10625     87,86,86,86,86,86,86,86,85,85,85,85,85,85,84,84,84,84,83,83,83,
10626     83,83,83,83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,81,80,80,
10627     80,80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,78,78,78,78,78,
10628     78,78,78,77,77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,76,75,
10629     75,75,74,74,74,74,74,73,73,73,73,73,73,73,73,73,72,72,72,72,72,
10630     72,72,72,71,71,71,71,71,71,71,71,71,70,70,70,70,70,69,69,69,69,
10631     69,68,68,68,68,68,68,68,68,68,68,68,67,67,67,67,67,67,67,67,66,
10632     66,66,66,66,66,65,65,65,65,65,64,64,64,63,63,63,63,63,63,63,62,
10633     62,62,62,62,62,62,61,61,61,61,61,61,60,60,60,60,59,59,59,58,58,
10634     58,58,58,57,57,57,56,56,56,56,55,55,55,55,55,55,55,54,54,54,54,
10635     54,54,54,54,54,54,53,53,53,53,52,52,52,52,52,52,52,51,51,51,51,
10636     50,50,50,50,50,49,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,
10637     47,47,47,47,47,47,47,46,46,46,45,45,45,45,45,45,44,44,44,44,44,
10638     43,43,43,43,43,43,42,42,42,42,41,41,41,41,41,41,40,40,40,40,40,
10639     40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,37,37,37,37,37,
10640     37,36,36,36,36,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,35,
10641     34,34,34,34,33,33,33,33,33,33,32,32,32,32,32,32,32,32,32,32,31,
10642     31,31,31,31,31,30,30,30,30,30,30,30,30,29,29,29,29,29,29,28,28,
10643     28,28,28,28,28,28,26,26,26,26,26,26,26,25,25,25,24,24,24,24,23,
10644     23,23,23,22,22,22,22,22,22,21,21,21,21,21,20,20,20,20,20,20
10645   };
10646   const int n4c3w2_c[] = {
10647     150, // Capacity
10648     500, // Number of items
10649     // Size of items (sorted)
10650     100,100,100,100,99,99,99,99,99,99,99,99,99,99,98,98,98,97,97,
10651     97,97,97,97,97,96,96,96,96,96,95,95,95,94,94,94,94,94,93,93,93,
10652     93,93,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,91,91,91,91,
10653     90,90,90,90,90,89,89,89,89,89,88,88,88,88,88,88,88,88,88,87,87,
10654     87,87,87,87,87,87,87,86,86,86,86,86,86,86,85,85,85,85,84,84,84,
10655     83,83,83,83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,80,80,80,
10656     80,79,79,79,79,79,79,79,78,78,78,78,78,77,77,77,77,77,77,77,77,
10657     77,76,76,76,76,76,76,75,75,75,75,75,75,74,74,74,74,74,74,73,73,
10658     73,73,72,72,72,72,72,71,71,71,71,71,71,71,71,70,70,70,70,70,70,
10659     70,70,70,70,70,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,68,
10660     68,68,68,68,68,67,67,67,67,66,66,66,65,65,64,64,64,64,64,64,63,
10661     63,63,63,63,63,63,63,62,62,62,62,62,62,62,61,61,61,60,60,60,60,
10662     60,60,60,60,60,60,59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,
10663     58,58,57,57,57,57,57,57,56,56,56,56,56,56,56,56,56,56,55,55,55,
10664     55,54,54,54,54,54,54,54,54,54,54,53,53,53,53,53,52,52,52,52,52,
10665     52,52,51,51,51,51,51,51,50,50,50,50,50,49,49,49,49,49,48,48,48,
10666     47,47,47,47,47,47,47,46,46,46,46,46,46,46,45,45,45,45,45,45,44,
10667     44,44,44,44,44,44,43,42,42,42,42,42,41,41,41,41,40,40,40,40,40,
10668     39,39,39,39,39,39,39,39,39,38,38,38,38,37,37,37,36,36,36,36,36,
10669     36,35,35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,32,
10670     32,32,32,32,32,32,31,31,31,31,31,31,31,31,30,30,29,29,29,29,29,
10671     29,28,28,28,28,28,28,27,27,27,27,27,27,26,26,26,26,26,26,26,26,
10672     26,26,26,25,25,25,25,25,24,24,24,24,24,24,24,23,23,23,23,23,22,
10673     22,22,22,22,22,22,21,21,21,21,21,21,21,21,20,20,20,20,20
10674   };
10675   const int n4c3w2_d[] = {
10676     150, // Capacity
10677     500, // Number of items
10678     // Size of items (sorted)
10679     100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,98,97,97,97,
10680     97,97,97,97,96,96,96,95,95,95,95,95,95,95,94,94,94,94,94,94,93,
10681     93,93,93,93,93,93,93,93,92,92,92,92,91,91,91,91,91,90,90,90,90,
10682     90,90,90,89,89,89,89,89,89,89,88,88,88,88,88,88,88,87,87,87,87,
10683     87,87,87,87,86,86,86,86,86,85,85,85,85,84,84,84,84,84,83,83,83,
10684     83,83,82,82,81,81,80,80,80,80,80,80,80,80,80,79,79,79,79,79,79,
10685     79,79,78,78,78,78,78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,
10686     77,77,77,76,76,76,76,76,76,75,75,75,75,74,74,74,74,74,74,74,73,
10687     73,73,73,73,73,72,72,72,71,71,71,71,71,71,71,70,70,70,70,70,69,
10688     69,69,69,69,69,69,69,69,68,68,68,67,67,67,67,67,66,66,66,66,66,
10689     65,65,65,65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,63,63,63,
10690     63,63,63,62,62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,60,
10691     60,60,60,60,59,59,59,59,59,59,59,59,59,59,59,59,59,58,58,58,58,
10692     58,58,57,57,57,57,57,56,56,56,56,56,56,55,55,54,54,54,54,54,54,
10693     54,54,54,54,54,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,
10694     52,52,51,51,51,51,51,50,50,50,50,50,50,49,49,49,49,49,49,48,48,
10695     48,47,47,47,47,47,47,47,46,46,46,46,46,46,45,45,45,45,45,45,45,
10696     45,44,43,43,43,43,43,43,42,42,42,42,41,41,41,40,40,40,40,40,40,
10697     40,40,40,39,39,39,39,39,39,39,39,39,39,38,38,38,38,38,38,38,37,
10698     37,37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,34,34,34,34,34,
10699     34,34,34,34,34,34,34,34,33,33,33,32,32,32,32,32,32,31,31,30,30,
10700     30,30,30,30,30,29,29,29,29,29,29,29,29,29,28,28,28,28,28,27,27,
10701     27,27,27,27,27,27,26,26,26,26,25,25,25,24,24,24,23,22,22,22,22,
10702     22,22,22,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20
10703   };
10704   const int n4c3w2_e[] = {
10705     150, // Capacity
10706     500, // Number of items
10707     // Size of items (sorted)
10708     100,100,100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,98,
10709     98,97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,96,96,95,95,95,
10710     95,94,94,94,94,94,94,93,93,93,93,93,92,92,92,92,91,91,91,91,91,
10711     91,90,90,90,90,90,90,90,90,90,90,90,89,89,89,89,89,89,88,88,88,
10712     88,87,87,87,87,87,86,86,85,85,85,85,85,85,85,84,84,84,84,84,84,
10713     83,83,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,82,82,82,82,
10714     82,81,81,81,81,80,80,80,80,80,79,79,79,79,79,79,79,79,78,78,78,
10715     78,78,77,77,77,77,77,77,76,76,76,76,76,75,75,75,75,74,74,74,74,
10716     74,74,74,74,74,74,73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,
10717     71,71,71,70,70,70,69,69,69,69,69,69,69,69,69,69,69,69,68,68,68,
10718     68,68,68,68,68,68,67,67,66,66,66,66,66,65,65,64,64,64,64,64,63,
10719     63,63,63,62,62,62,62,61,61,61,61,61,60,60,60,60,60,59,59,59,59,
10720     59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,56,56,56,56,56,56,
10721     56,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,53,53,52,52,
10722     52,52,51,51,50,50,50,49,49,49,49,49,49,49,49,48,48,48,48,48,48,
10723     48,48,47,47,47,47,47,46,46,46,46,46,46,46,46,45,45,45,45,45,45,
10724     45,45,45,44,44,44,44,44,44,43,43,43,43,43,43,43,43,43,43,43,42,
10725     42,42,42,42,42,41,41,41,41,41,40,40,40,40,40,40,39,39,39,39,39,
10726     38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,36,36,35,35,35,
10727     35,35,35,35,34,34,34,34,33,33,33,33,32,32,32,32,32,32,32,32,32,
10728     32,32,32,32,32,32,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,
10729     30,30,30,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,28,28,28,
10730     27,27,27,27,27,26,26,26,26,26,25,25,24,24,24,24,24,23,23,23,23,
10731     23,23,23,23,22,22,22,22,22,22,22,22,22,21,21,20,20,20,20,20
10732   };
10733   const int n4c3w2_f[] = {
10734     150, // Capacity
10735     500, // Number of items
10736     // Size of items (sorted)
10737     100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,
10738     99,98,98,98,98,98,97,97,97,97,97,97,97,97,97,96,96,96,96,95,95,
10739     95,95,95,95,95,95,95,95,95,95,94,94,94,94,94,94,94,94,94,94,93,
10740     93,93,93,93,92,92,92,91,91,91,91,91,91,91,90,90,90,90,90,90,90,
10741     90,90,89,89,89,89,89,89,89,88,88,88,88,88,87,87,87,87,87,87,87,
10742     86,86,86,86,85,85,85,85,85,85,85,84,84,84,84,84,84,84,84,84,83,
10743     83,83,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,
10744     81,81,80,80,80,80,80,79,79,79,79,79,79,79,79,79,78,78,78,78,78,
10745     78,78,77,77,77,76,76,76,76,76,76,75,75,75,75,75,75,74,74,74,74,
10746     74,73,73,73,73,73,73,73,73,73,73,72,72,72,72,72,72,72,72,72,72,
10747     71,71,71,71,71,70,70,70,69,69,69,69,68,68,68,68,68,68,68,68,67,
10748     67,67,67,67,67,67,67,66,66,66,66,66,65,65,65,65,64,64,64,64,64,
10749     63,63,63,63,63,63,63,62,62,62,62,62,61,61,61,61,61,61,61,60,60,
10750     60,60,60,59,59,59,59,59,59,59,59,58,58,58,58,58,58,57,57,57,57,
10751     57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,54,54,
10752     54,54,53,53,52,52,52,52,52,52,52,51,51,51,51,51,50,50,49,49,49,
10753     49,49,49,48,48,48,48,48,48,48,48,48,48,47,47,47,47,47,47,47,46,
10754     46,46,46,46,46,46,45,45,45,45,45,45,45,45,44,44,44,44,44,44,43,
10755     43,43,43,43,43,43,42,42,42,42,42,42,42,41,41,41,41,41,41,41,40,
10756     40,40,39,39,39,38,38,38,38,38,38,38,37,37,37,37,37,37,37,36,35,
10757     35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,
10758     31,31,31,31,31,30,30,30,30,30,30,30,29,29,29,29,29,29,28,28,28,
10759     28,28,28,28,27,27,27,27,27,27,27,26,26,26,26,26,26,25,25,24,24,
10760     24,24,24,24,23,22,22,22,22,22,22,22,22,21,21,21,21,20,20,20,20
10761   };
10762   const int n4c3w2_g[] = {
10763     150, // Capacity
10764     500, // Number of items
10765     // Size of items (sorted)
10766     100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,98,98,
10767     97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,95,95,94,94,94,
10768     94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,92,92,91,91,91,91,
10769     91,91,91,91,90,90,89,89,88,88,88,88,88,88,87,87,87,87,86,86,86,
10770     86,86,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,84,84,84,84,
10771     84,83,83,83,83,82,82,82,82,81,81,81,81,81,80,80,80,80,80,79,79,
10772     79,79,79,79,79,79,78,78,78,78,78,77,77,77,77,77,77,77,76,76,76,
10773     76,76,76,76,75,75,75,75,75,75,75,75,75,74,74,74,74,74,74,74,74,
10774     74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,71,70,
10775     70,70,70,70,70,70,70,69,69,69,69,69,68,68,68,68,68,68,67,67,67,
10776     67,67,67,67,66,66,66,66,66,66,65,65,65,65,65,65,64,64,64,63,63,
10777     63,63,62,62,62,62,61,61,61,61,61,61,61,61,61,60,60,60,59,59,59,
10778     59,59,58,58,58,58,58,57,57,57,57,57,57,57,57,57,56,56,56,56,56,
10779     56,56,56,56,56,56,56,55,55,55,54,54,54,54,54,54,54,53,53,53,53,
10780     53,53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,51,51,51,51,50,
10781     50,50,50,50,49,49,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,
10782     48,47,47,47,47,47,47,46,46,46,46,45,45,45,45,45,45,45,45,44,44,
10783     44,44,44,43,43,43,43,42,42,42,42,41,41,41,40,40,40,40,39,39,39,
10784     39,39,39,38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,36,36,36,
10785     36,36,36,36,36,35,35,35,35,35,35,34,34,34,34,34,33,33,33,33,33,
10786     33,33,33,33,33,33,32,32,32,32,32,32,32,32,31,31,31,31,31,31,31,
10787     31,30,30,30,30,30,30,29,29,29,29,29,28,28,28,28,27,27,27,27,27,
10788     27,27,27,27,27,27,26,26,26,26,26,25,24,24,24,24,24,24,24,23,23,
10789     23,23,23,22,22,22,22,22,22,22,21,21,21,21,21,21,21,20,20
10790   };
10791   const int n4c3w2_h[] = {
10792     150, // Capacity
10793     500, // Number of items
10794     // Size of items (sorted)
10795     100,100,100,100,100,100,100,100,99,99,99,99,98,98,98,98,98,98,
10796     97,97,97,96,96,96,96,96,96,95,95,95,94,94,94,94,94,94,94,93,93,
10797     93,93,93,93,92,92,92,92,91,91,91,91,91,91,91,91,91,90,90,90,90,
10798     89,89,89,89,89,89,89,88,88,88,88,88,88,88,88,87,87,87,87,87,86,
10799     86,86,86,86,86,85,85,85,85,85,85,84,84,84,84,84,84,84,83,83,83,
10800     83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,81,81,81,80,
10801     80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,78,78,78,78,78,
10802     77,77,77,77,77,77,76,76,76,75,75,75,75,75,74,74,74,74,74,74,74,
10803     74,73,73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,71,71,71,71,
10804     71,71,70,70,70,70,70,70,70,69,69,69,68,68,68,68,68,68,68,67,67,
10805     67,67,67,67,67,66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,
10806     64,64,64,64,64,64,64,64,64,63,63,63,63,62,62,62,62,61,61,61,61,
10807     60,60,60,60,60,60,60,60,60,60,59,59,59,59,59,58,58,58,58,58,58,
10808     58,58,58,58,57,57,57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,
10809     54,54,54,53,53,52,52,52,52,52,52,52,52,51,51,51,51,51,50,50,50,
10810     50,50,49,49,49,49,49,49,49,48,48,48,48,48,48,48,48,47,47,47,47,
10811     47,47,46,46,46,46,46,46,45,45,45,45,45,45,45,45,45,45,45,44,44,
10812     44,44,43,43,43,43,43,43,42,41,41,41,41,41,41,41,41,40,40,40,40,
10813     40,40,40,40,40,40,40,39,39,39,38,38,38,37,37,37,37,37,37,37,36,
10814     36,36,36,35,35,35,35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,
10815     33,33,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,30,29,29,29,
10816     29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,28,28,28,27,27,27,
10817     27,27,26,26,26,26,26,26,25,25,25,25,25,25,25,25,25,24,24,24,23,
10818     23,23,23,23,23,23,22,22,22,22,22,22,21,21,21,21,21,20,20,20
10819   };
10820   const int n4c3w2_i[] = {
10821     150, // Capacity
10822     500, // Number of items
10823     // Size of items (sorted)
10824     100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,
10825     98,98,98,98,97,97,97,97,97,96,96,96,96,95,95,95,95,95,94,94,94,
10826     94,94,93,93,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,91,90,
10827     90,90,90,90,89,89,89,89,89,89,88,88,88,87,87,87,87,87,87,87,86,
10828     86,86,86,85,85,85,85,84,84,84,84,83,83,83,83,83,83,83,83,83,82,
10829     82,82,82,81,81,81,81,81,81,81,80,80,80,80,80,80,80,80,80,79,79,
10830     79,79,79,79,79,79,79,78,78,78,77,77,77,77,77,76,76,76,76,76,75,
10831     75,75,75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,
10832     72,72,71,71,71,71,71,71,71,70,70,70,70,69,69,69,69,69,69,68,68,
10833     68,68,68,68,68,68,68,67,67,67,67,67,67,66,66,66,66,66,66,65,65,
10834     65,65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,63,63,63,63,62,
10835     62,62,62,62,62,61,61,61,61,61,61,60,60,60,60,60,60,60,60,60,60,
10836     59,59,59,59,59,58,58,58,58,58,58,57,57,57,57,57,56,56,56,56,56,
10837     56,56,56,56,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,
10838     52,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,50,50,49,49,
10839     49,49,49,48,48,48,48,48,48,48,47,47,47,47,46,46,46,46,46,46,46,
10840     45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,44,44,44,44,43,
10841     43,43,43,43,42,42,42,42,42,42,42,42,42,42,42,41,41,41,40,40,40,
10842     39,38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,36,36,36,36,
10843     36,36,35,35,35,34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,
10844     32,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30,30,29,
10845     29,29,29,29,29,29,28,28,28,28,28,28,27,27,27,27,27,27,27,27,26,
10846     26,26,26,26,26,26,26,25,25,25,25,25,25,25,24,24,24,24,24,24,24,
10847     24,24,24,23,23,23,23,22,22,21,21,21,21,21,21,21,21,20,20,20
10848   };
10849   const int n4c3w2_j[] = {
10850     150, // Capacity
10851     500, // Number of items
10852     // Size of items (sorted)
10853     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,
10854     98,98,98,98,98,98,98,98,98,97,97,97,97,97,96,96,96,96,96,95,95,
10855     95,95,95,94,94,94,94,93,93,93,93,93,92,92,92,92,91,91,91,91,91,
10856     91,91,90,90,90,90,90,90,90,90,90,90,89,89,89,89,88,88,88,88,88,
10857     88,88,88,88,87,87,87,87,86,86,86,86,86,86,86,86,85,85,84,84,84,
10858     84,84,84,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,82,82,81,
10859     81,81,81,80,80,80,80,80,80,79,79,78,78,78,78,78,78,78,78,78,78,
10860     78,77,77,77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,75,75,75,
10861     75,75,74,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,72,72,72,
10862     72,71,71,71,71,70,70,70,70,70,70,70,69,69,69,69,69,68,68,68,67,
10863     67,67,67,67,67,67,67,66,66,66,66,66,66,66,65,65,65,65,65,64,64,
10864     63,63,63,63,62,62,62,62,62,62,62,62,62,61,61,61,61,60,60,60,60,
10865     60,60,60,60,60,60,60,59,59,59,59,59,58,58,58,58,58,58,58,58,58,
10866     57,57,57,56,56,56,56,56,56,56,56,55,55,55,55,54,54,54,54,54,53,
10867     53,53,52,52,52,52,52,52,52,52,52,52,52,52,51,51,51,51,51,50,50,
10868     50,50,50,50,50,50,49,49,49,49,49,49,49,49,49,49,49,48,48,48,48,
10869     48,48,48,48,48,48,48,48,47,47,47,47,47,46,46,46,46,46,46,46,45,
10870     45,45,45,45,44,44,44,44,44,44,44,44,44,43,43,43,43,43,43,43,42,
10871     42,42,42,42,42,42,41,41,40,40,40,40,40,40,40,39,39,39,39,39,39,
10872     38,38,38,38,38,38,37,37,37,37,37,36,36,36,36,36,35,35,35,35,35,
10873     35,34,34,33,33,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,31,
10874     31,31,31,30,30,30,30,30,30,29,29,29,29,29,29,29,28,28,28,27,27,
10875     27,27,27,27,27,26,26,26,26,26,26,26,25,25,25,25,24,24,24,24,23,
10876     23,23,23,23,23,23,23,22,22,22,22,22,22,22,21,21,21,21,21,20
10877   };
10878   const int n4c3w2_k[] = {
10879     150, // Capacity
10880     500, // Number of items
10881     // Size of items (sorted)
10882     100,100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,
10883     98,98,98,98,97,97,97,97,97,96,96,96,96,96,96,96,96,96,95,95,95,
10884     95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,
10885     92,92,92,92,92,92,92,92,92,91,91,91,91,91,91,91,91,91,90,90,90,
10886     90,90,89,89,89,89,89,88,88,88,88,88,88,88,88,88,87,87,87,87,87,
10887     87,86,86,85,85,85,85,84,84,84,84,84,84,84,83,83,83,83,83,82,82,
10888     82,82,82,82,82,81,81,81,81,80,80,80,79,79,79,79,79,78,78,78,78,
10889     78,78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,76,
10890     75,75,75,75,75,75,75,75,74,74,74,73,73,73,73,73,73,73,72,72,72,
10891     72,72,72,72,72,72,71,71,71,71,71,70,70,70,70,70,69,69,69,69,69,
10892     68,68,68,68,68,68,67,67,67,67,67,66,66,66,66,66,65,65,65,65,65,
10893     65,65,65,65,65,65,64,64,64,64,64,64,64,63,63,63,63,63,63,63,63,
10894     63,63,63,62,62,62,61,61,61,61,61,61,61,61,60,60,60,59,59,58,58,
10895     58,58,58,57,57,57,57,57,57,57,57,56,56,56,56,56,56,55,55,55,55,
10896     54,54,54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,52,52,51,51,
10897     51,51,51,50,50,50,50,50,49,49,49,49,48,48,48,48,48,47,47,46,46,
10898     46,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,43,43,43,43,
10899     43,43,43,42,42,42,42,41,41,41,41,41,41,41,41,41,41,40,40,40,40,
10900     40,40,40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,38,38,37,37,
10901     37,37,37,37,37,36,35,35,35,35,35,35,35,35,35,34,34,34,34,34,34,
10902     33,33,33,33,33,32,32,32,32,32,32,32,32,31,31,31,30,30,30,30,29,
10903     29,29,29,29,29,29,28,28,28,28,28,27,27,27,27,27,27,26,26,26,26,
10904     25,25,25,25,25,25,25,25,24,24,24,24,24,24,24,24,24,24,24,24,24,
10905     23,23,23,22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,20,20
10906   };
10907   const int n4c3w2_l[] = {
10908     150, // Capacity
10909     500, // Number of items
10910     // Size of items (sorted)
10911     100,100,100,100,100,100,100,99,99,99,99,99,99,98,98,98,98,98,
10912     98,98,98,97,97,97,97,97,97,97,97,96,96,96,95,95,94,94,94,94,94,
10913     94,94,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,91,91,91,
10914     91,91,91,91,91,90,90,90,90,90,90,90,89,89,89,89,89,89,88,88,88,
10915     88,88,88,88,88,87,87,87,87,86,86,86,86,86,86,86,86,86,85,85,85,
10916     85,85,85,85,84,84,84,84,84,84,84,84,83,83,83,83,83,83,83,83,83,
10917     82,82,81,81,81,81,81,81,81,80,80,80,80,80,79,79,79,79,79,79,79,
10918     79,79,79,78,78,78,78,78,78,78,77,77,76,76,76,76,75,75,75,75,75,
10919     75,75,74,74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,72,71,
10920     71,71,71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,
10921     68,68,68,68,68,68,67,67,67,66,66,66,66,66,66,65,65,65,65,65,64,
10922     64,64,64,64,64,63,63,63,63,63,63,62,62,62,62,62,62,62,61,61,61,
10923     61,61,60,60,60,60,60,60,59,59,59,59,59,59,59,59,58,58,58,58,58,
10924     57,57,57,57,57,56,56,56,56,56,56,56,56,56,56,55,55,55,55,55,55,
10925     55,54,54,53,53,53,53,52,52,52,51,51,51,50,50,50,50,50,49,49,49,
10926     49,48,48,48,48,48,48,48,48,47,47,47,47,47,47,46,46,46,45,45,45,
10927     45,45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,42,42,42,42,42,
10928     42,42,42,41,41,41,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,
10929     38,38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,36,36,36,
10930     36,35,35,35,35,35,35,35,35,34,34,34,34,33,33,33,33,33,33,33,33,
10931     33,33,33,33,32,32,32,32,32,32,32,32,31,31,30,30,30,29,29,29,28,
10932     28,28,28,28,28,28,27,27,27,26,26,26,26,26,25,25,25,25,25,25,25,
10933     25,25,25,25,25,24,24,24,24,24,24,24,24,24,24,23,23,23,23,23,23,
10934     23,23,23,23,22,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20
10935   };
10936   const int n4c3w2_m[] = {
10937     150, // Capacity
10938     500, // Number of items
10939     // Size of items (sorted)
10940     100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,98,
10941     98,98,98,98,97,97,97,97,97,97,97,97,96,96,96,96,95,95,95,94,94,
10942     94,94,93,93,93,93,93,93,93,93,92,92,92,91,91,91,91,91,91,91,91,
10943     91,91,91,90,90,90,90,90,89,89,89,88,88,88,88,88,88,87,87,87,87,
10944     87,87,87,86,86,86,85,85,85,85,85,85,84,84,84,84,84,84,84,83,83,
10945     83,83,83,83,82,82,82,82,82,82,81,81,81,81,81,80,80,80,80,80,80,
10946     79,79,79,79,79,79,79,78,78,78,78,78,78,77,77,77,77,77,77,77,77,
10947     77,76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,74,73,
10948     73,73,73,73,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,70,70,
10949     70,70,70,69,69,69,69,69,68,68,68,68,67,67,67,67,67,66,66,66,66,
10950     66,66,65,65,65,65,65,64,64,64,64,64,63,63,63,63,63,62,62,62,62,
10951     62,62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,60,60,59,59,
10952     59,59,59,59,59,58,58,58,58,57,57,57,57,57,57,56,56,56,56,56,56,
10953     56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,53,53,
10954     53,53,53,53,53,53,53,52,52,52,52,51,51,50,50,50,50,50,50,50,50,
10955     50,50,49,49,49,49,48,48,48,48,48,48,48,48,48,47,46,46,46,46,46,
10956     45,45,45,45,45,44,44,44,44,44,43,43,43,43,42,42,42,42,42,41,41,
10957     41,41,41,41,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,39,39,
10958     39,38,38,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,35,35,35,
10959     35,34,34,34,33,33,33,33,33,33,33,33,33,33,32,32,32,32,32,32,31,
10960     31,31,31,31,31,30,30,30,30,30,29,29,29,29,29,29,29,28,28,28,28,
10961     28,27,27,27,27,26,26,26,26,26,26,25,25,25,25,25,25,25,25,25,24,
10962     24,24,24,24,24,24,24,23,23,23,23,23,23,23,23,22,22,22,22,22,21,
10963     21,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,20,20
10964   };
10965   const int n4c3w2_n[] = {
10966     150, // Capacity
10967     500, // Number of items
10968     // Size of items (sorted)
10969     100,100,100,100,100,99,99,99,99,98,98,98,98,98,98,97,97,97,97,
10970     97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,94,94,94,94,94,94,
10971     94,94,94,94,93,93,93,92,92,92,92,91,91,91,91,91,91,91,91,91,91,
10972     90,90,90,90,90,90,89,89,89,88,88,88,88,87,87,87,87,87,87,87,86,
10973     86,86,86,86,85,85,85,84,84,84,84,84,83,83,83,83,83,83,83,83,83,
10974     83,82,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,79,79,
10975     79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,77,77,77,76,76,76,
10976     76,76,76,76,76,75,75,75,75,75,74,74,74,74,73,73,73,73,73,73,73,
10977     73,73,72,72,72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,
10978     70,70,70,70,70,69,69,69,68,68,68,68,68,67,67,67,67,66,66,66,65,
10979     65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,63,63,63,63,62,62,
10980     62,62,62,62,62,61,61,61,61,60,60,60,60,60,59,59,59,59,59,59,59,
10981     59,59,59,59,59,59,58,58,58,58,58,57,57,57,57,57,57,56,56,56,56,
10982     56,56,56,56,55,55,55,55,55,54,54,54,54,54,54,54,54,54,54,54,53,
10983     53,53,53,53,53,53,52,52,51,51,51,51,51,51,51,51,50,50,50,50,50,
10984     49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,47,47,46,46,
10985     46,46,46,45,45,45,45,45,44,44,44,44,44,44,43,43,43,43,43,43,42,
10986     42,42,42,42,42,42,41,41,41,40,40,40,40,39,39,39,39,39,39,39,39,
10987     38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,36,36,36,35,35,35,
10988     35,35,34,34,34,34,33,33,33,33,33,33,33,33,33,33,33,33,33,32,32,
10989     32,32,32,32,32,32,32,31,31,31,31,31,31,31,31,31,31,31,30,30,30,
10990     30,30,29,29,29,29,29,28,28,27,27,27,27,26,26,26,26,26,25,25,25,
10991     25,25,25,24,24,24,24,24,24,24,23,23,23,23,23,23,22,22,22,22,22,
10992     22,21,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20
10993   };
10994   const int n4c3w2_o[] = {
10995     150, // Capacity
10996     500, // Number of items
10997     // Size of items (sorted)
10998     100,100,100,100,100,100,100,100,100,100,100,100,100,99,99,99,
10999     99,99,98,98,98,97,97,97,97,96,96,96,96,96,96,96,96,96,95,95,95,
11000     95,95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,93,93,93,93,
11001     92,92,92,92,92,92,91,91,91,91,91,90,90,90,90,90,90,89,89,89,89,
11002     89,89,89,88,87,87,87,87,87,86,86,86,86,86,86,86,86,85,85,85,85,
11003     85,85,85,85,85,85,84,84,84,84,84,84,83,83,83,82,82,82,82,82,82,
11004     81,81,81,81,81,81,81,81,81,81,80,80,80,79,79,79,79,79,78,78,78,
11005     78,78,78,78,77,77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,
11006     75,75,75,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,72,72,72,
11007     72,72,71,71,71,71,71,70,70,70,70,70,70,70,70,70,70,70,70,70,70,
11008     69,69,69,69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,68,68,
11009     68,68,68,67,67,67,67,67,67,67,66,66,66,66,65,65,65,65,65,65,64,
11010     64,64,63,63,63,63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,61,
11011     61,61,61,60,60,60,60,59,59,59,59,59,58,58,58,58,58,57,57,57,57,
11012     57,57,57,57,57,56,56,56,56,56,56,55,55,55,55,54,54,54,54,54,54,
11013     54,54,53,53,53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,51,51,
11014     51,51,51,51,51,51,51,51,51,51,50,50,50,50,50,49,49,49,49,49,49,
11015     49,49,48,48,48,48,48,48,48,47,47,47,47,47,47,47,47,47,45,45,45,
11016     44,44,44,44,44,44,44,43,43,43,43,43,42,42,42,42,42,42,41,41,41,
11017     41,41,41,41,40,40,40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,
11018     38,37,37,37,37,37,37,37,36,36,36,35,35,35,35,35,34,34,34,34,34,
11019     33,33,32,32,32,32,32,32,32,31,31,31,31,31,30,30,30,30,30,30,29,
11020     29,29,28,28,28,28,28,27,27,27,26,26,26,26,26,25,24,24,24,23,23,
11021     22,22,22,22,22,22,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20,
11022     20
11023   };
11024   const int n4c3w2_p[] = {
11025     150, // Capacity
11026     500, // Number of items
11027     // Size of items (sorted)
11028     100,100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,
11029     99,99,98,98,98,98,98,98,97,97,97,97,97,97,96,96,96,96,96,95,95,
11030     95,95,95,95,94,94,94,94,94,93,93,93,93,93,93,92,92,92,92,92,91,
11031     91,91,91,91,91,90,90,90,90,90,90,90,90,90,89,89,89,89,89,88,88,
11032     88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,86,85,85,85,85,85,
11033     85,85,85,85,85,84,84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,
11034     83,83,83,82,82,82,81,81,81,80,80,80,80,80,80,80,79,79,79,79,78,
11035     78,78,78,78,78,78,78,77,77,77,77,77,77,77,76,76,76,75,75,74,74,
11036     74,74,74,74,74,74,74,73,73,73,73,73,73,72,72,72,72,71,71,71,71,
11037     71,71,70,70,70,70,70,70,70,69,69,68,68,68,68,68,68,67,67,67,67,
11038     67,67,67,66,66,66,66,65,65,65,65,65,64,64,64,64,64,64,64,63,63,
11039     63,63,63,63,63,63,62,62,62,62,62,62,62,62,61,61,61,60,60,60,60,
11040     60,60,60,60,60,59,59,59,59,59,59,59,59,59,58,58,58,58,58,57,57,
11041     57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,54,54,54,54,54,53,
11042     53,53,53,53,53,53,52,52,52,52,52,51,51,51,51,51,50,50,50,50,50,
11043     49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,47,47,47,47,47,
11044     46,46,46,46,46,46,45,45,45,45,45,44,44,44,44,44,44,43,43,43,43,
11045     43,43,43,42,42,42,42,42,42,42,42,42,42,42,42,41,41,41,41,41,41,
11046     41,41,40,40,39,39,39,39,39,39,39,39,39,39,38,38,38,37,37,37,37,
11047     37,37,37,37,37,37,37,37,36,36,36,36,35,34,34,34,34,34,34,34,34,
11048     34,33,33,33,33,33,33,33,32,32,32,32,32,31,31,31,30,30,30,29,29,
11049     29,29,29,29,29,29,29,28,28,28,28,28,28,27,27,27,27,27,27,27,27,
11050     26,26,25,25,25,25,25,25,25,25,24,24,24,24,24,24,24,24,23,23,23,
11051     23,22,22,22,22,22,22,22,22,22,22,21,21,21,21,21,21,20,20,20,20
11052   };
11053   const int n4c3w2_q[] = {
11054     150, // Capacity
11055     500, // Number of items
11056     // Size of items (sorted)
11057     100,100,100,100,100,100,100,100,99,99,99,98,98,98,98,98,98,98,
11058     98,98,98,97,97,97,97,97,97,97,97,96,96,96,96,96,95,95,95,95,94,
11059     94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,93,93,92,92,
11060     92,92,92,92,92,92,92,91,91,91,90,90,90,90,90,90,89,89,89,89,89,
11061     89,88,88,88,88,88,88,88,88,88,88,87,87,87,87,87,86,86,86,86,86,
11062     86,86,86,86,85,85,85,85,85,85,85,84,84,84,84,84,84,84,84,84,84,
11063     83,83,83,82,82,82,82,81,81,81,81,81,81,81,80,80,80,80,79,79,79,
11064     79,79,79,79,78,78,78,78,77,77,77,77,76,76,76,76,76,75,75,75,75,
11065     74,74,73,73,73,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,71,
11066     71,71,70,70,70,70,70,70,70,69,69,69,69,69,68,68,68,68,68,67,67,
11067     67,67,66,66,65,65,65,65,65,64,64,64,64,64,64,64,64,64,64,64,63,
11068     63,63,63,63,63,63,62,62,62,62,62,62,62,62,61,61,61,61,60,60,60,
11069     60,60,60,59,59,59,58,58,58,57,57,57,57,56,56,56,56,56,56,55,55,
11070     55,55,54,54,54,54,54,54,54,54,54,54,54,53,53,53,53,53,53,52,52,
11071     52,52,52,52,51,51,51,51,51,51,51,51,50,50,49,49,49,49,49,49,49,
11072     48,48,48,48,48,48,48,48,48,48,47,47,46,46,46,46,46,46,46,45,45,
11073     45,45,45,45,45,45,44,44,44,44,44,44,43,43,43,43,42,42,42,42,42,
11074     41,41,41,41,40,40,40,40,39,39,39,38,38,38,38,38,37,37,37,36,36,
11075     36,36,36,35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,
11076     33,33,32,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,
11077     30,30,30,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,28,27,27,
11078     27,27,27,26,26,26,26,26,26,26,26,25,25,25,25,25,25,25,25,25,25,
11079     25,24,24,24,24,24,24,24,24,24,24,23,23,23,23,22,22,22,22,22,22,
11080     22,22,22,22,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,20
11081   };
11082   const int n4c3w2_r[] = {
11083     150, // Capacity
11084     500, // Number of items
11085     // Size of items (sorted)
11086     100,100,100,100,100,100,99,99,99,98,98,98,98,98,97,97,97,97,96,
11087     96,96,95,95,95,95,95,95,95,95,94,94,94,94,94,93,93,92,92,92,92,
11088     92,92,91,91,91,91,91,91,90,90,90,90,90,90,90,89,89,89,89,89,89,
11089     89,89,88,88,88,87,87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,
11090     85,85,85,85,85,85,84,84,84,84,84,84,84,83,83,83,83,83,83,83,83,
11091     83,83,83,82,82,82,82,82,82,82,82,82,82,82,82,81,81,81,81,80,80,
11092     80,80,80,80,79,79,78,78,78,77,77,77,77,77,77,76,76,76,76,76,75,
11093     75,75,74,74,73,73,73,73,73,73,73,72,72,72,72,72,72,72,72,72,72,
11094     72,71,71,71,71,71,70,70,70,70,70,69,69,68,68,68,68,67,67,67,67,
11095     67,67,67,67,66,66,66,66,66,66,66,66,66,66,66,65,65,65,65,65,64,
11096     64,64,64,64,64,64,64,64,64,63,63,63,63,62,62,61,61,61,61,61,61,
11097     61,61,61,61,61,60,60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,
11098     59,59,58,58,58,58,57,57,57,57,57,57,57,56,56,56,55,55,55,55,55,
11099     55,55,54,54,54,54,54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,
11100     52,52,52,51,51,51,51,51,51,51,50,50,50,49,49,49,49,49,48,48,48,
11101     48,48,48,47,47,47,47,47,47,46,46,46,46,46,46,46,45,45,45,45,44,
11102     44,44,44,44,43,43,43,43,43,43,42,42,42,42,42,42,42,41,41,41,41,
11103     41,40,40,40,40,40,40,39,39,39,39,39,39,38,38,38,38,37,37,37,37,
11104     37,36,36,35,35,35,35,35,34,34,34,34,34,34,34,34,33,33,33,33,33,
11105     33,33,33,33,32,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,
11106     30,30,30,30,30,30,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,
11107     28,28,27,27,27,27,27,27,27,27,27,26,26,26,25,25,25,25,25,24,24,
11108     24,24,24,24,24,24,23,23,23,23,23,23,23,23,23,23,23,22,22,22,22,
11109     22,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,20,20
11110   };
11111   const int n4c3w2_s[] = {
11112     150, // Capacity
11113     500, // Number of items
11114     // Size of items (sorted)
11115     100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,97,
11116     97,97,97,97,97,97,97,97,96,96,96,96,96,96,95,95,95,95,95,95,94,
11117     94,94,94,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,91,91,
11118     91,91,90,90,90,89,89,89,89,89,89,89,89,89,88,88,88,88,88,87,87,
11119     87,87,87,87,87,86,86,86,86,86,86,86,85,85,85,85,85,85,85,84,83,
11120     83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,
11121     80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,78,78,78,78,78,78,
11122     78,78,77,77,76,76,76,76,75,75,75,75,74,74,74,74,73,73,73,73,73,
11123     73,72,72,72,72,72,71,71,71,70,70,70,69,69,69,69,68,68,68,68,68,
11124     67,67,67,67,67,67,67,66,66,66,66,66,66,66,66,66,66,65,65,65,65,
11125     65,65,65,64,64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,63,62,
11126     62,62,62,62,62,61,61,61,60,60,60,60,60,60,60,59,59,59,59,59,59,
11127     58,58,58,57,57,57,57,57,57,56,56,56,56,55,55,55,55,55,55,54,54,
11128     54,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,51,51,51,
11129     51,51,51,51,50,50,50,50,50,50,50,50,49,49,49,49,49,49,49,48,48,
11130     48,48,48,48,48,47,47,47,46,46,46,45,45,45,45,45,45,44,44,44,43,
11131     43,43,43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,41,41,41,40,
11132     40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,38,37,37,37,
11133     37,37,37,37,36,36,36,36,36,36,36,36,36,36,36,35,35,35,35,35,35,
11134     35,35,34,34,34,34,34,34,33,33,33,32,32,32,32,32,32,31,31,31,31,
11135     31,31,31,31,31,31,30,30,30,30,30,29,29,29,29,29,28,28,28,28,28,
11136     28,27,27,27,27,27,27,27,26,26,26,26,26,26,26,25,25,25,25,24,24,
11137     24,24,24,24,24,24,24,24,24,23,23,23,23,23,23,23,23,23,23,22,22,
11138     22,22,22,22,22,21,21,21,21,21,21,20,20,20,20,20,20,20,20
11139   };
11140   const int n4c3w2_t[] = {
11141     150, // Capacity
11142     500, // Number of items
11143     // Size of items (sorted)
11144     100,100,100,100,100,99,99,99,99,99,99,98,98,98,97,97,97,97,97,
11145     97,97,97,96,96,96,96,96,95,95,95,95,95,95,95,94,94,94,93,93,93,
11146     93,93,93,93,92,92,92,92,91,91,91,91,91,90,89,89,89,89,89,89,88,
11147     88,88,88,87,87,87,87,87,86,86,86,86,85,85,85,85,85,85,85,85,84,
11148     84,84,84,84,84,84,84,83,83,83,83,83,83,82,82,82,82,82,81,81,81,
11149     81,81,81,80,80,80,80,80,79,79,79,79,78,78,78,78,78,78,78,77,77,
11150     77,77,77,77,77,77,77,77,77,77,77,77,76,76,76,76,76,75,75,75,75,
11151     75,75,75,75,75,75,74,74,73,73,73,73,73,73,72,72,72,72,71,71,71,
11152     71,71,71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,68,68,68,68,
11153     67,67,67,67,67,67,67,67,66,66,66,65,65,65,65,64,64,64,64,64,64,
11154     64,63,63,63,63,62,62,62,61,61,61,61,61,61,61,61,60,60,59,59,59,
11155     59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,57,57,57,57,57,57,
11156     57,56,56,56,56,56,56,56,56,56,56,56,55,55,55,55,55,54,54,54,54,
11157     54,54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,51,
11158     51,51,50,50,50,50,50,50,50,50,49,49,49,49,49,49,49,49,49,49,49,
11159     48,48,48,48,48,48,48,48,48,48,48,47,47,47,47,47,47,47,47,46,46,
11160     46,46,46,46,46,45,45,45,45,44,44,44,44,44,43,43,43,43,43,43,43,
11161     43,42,42,42,42,42,42,41,41,41,41,41,40,40,40,40,40,40,40,40,39,
11162     39,39,39,39,39,39,38,38,38,38,37,37,37,37,37,37,37,37,37,37,36,
11163     36,36,36,36,36,36,35,35,35,35,34,34,34,34,33,33,33,33,33,33,32,
11164     32,32,31,31,31,31,31,31,31,31,30,29,29,29,29,28,28,28,28,28,28,
11165     28,28,28,28,27,27,27,27,27,27,27,27,27,26,26,26,26,26,26,26,26,
11166     25,25,25,25,25,24,24,24,24,24,24,24,24,24,23,23,23,22,22,22,22,
11167     22,22,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,20
11168   };
11169   const int n4c3w4_a[] = {
11170     150, // Capacity
11171     500, // Number of items
11172     // Size of items (sorted)
11173     100,100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,
11174     98,98,98,98,97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,
11175     95,95,95,94,94,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,
11176     92,92,92,91,91,91,91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,
11177     89,88,88,88,88,88,88,87,87,87,87,87,87,87,87,87,86,86,86,86,86,
11178     86,85,85,85,85,85,85,85,85,85,85,85,84,84,84,84,84,84,84,84,83,
11179     83,83,83,83,83,83,82,82,82,81,81,81,81,81,81,80,80,80,80,80,80,
11180     80,80,79,79,79,79,78,78,78,78,78,78,78,77,77,77,77,77,77,77,76,
11181     76,76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,75,74,74,73,73,
11182     73,73,73,73,73,73,73,72,72,72,72,72,72,72,72,72,72,72,72,72,71,
11183     71,71,71,71,70,70,70,70,70,70,70,70,70,70,70,69,69,69,69,69,69,
11184     68,68,68,67,67,67,67,67,66,66,66,66,66,65,65,65,65,65,65,65,65,
11185     65,64,64,64,64,64,64,64,63,63,63,63,63,63,63,62,62,62,62,62,62,
11186     62,61,61,61,61,61,60,60,60,60,60,59,59,59,59,58,58,58,58,58,58,
11187     58,58,58,57,57,57,57,57,57,57,57,57,56,56,56,56,56,56,56,56,56,
11188     55,55,55,55,55,55,55,55,55,54,54,54,54,53,53,53,53,53,53,53,53,
11189     53,53,53,53,52,52,52,52,52,52,52,52,52,52,52,52,51,51,51,51,51,
11190     51,50,50,50,49,49,49,49,48,48,48,48,48,48,48,48,48,48,48,48,48,
11191     47,47,47,46,46,46,46,46,46,45,45,45,45,45,45,44,44,44,44,44,44,
11192     43,43,43,43,43,43,43,43,43,43,43,43,42,42,41,41,41,41,40,40,40,
11193     40,40,40,40,40,40,40,40,40,39,39,39,39,39,38,38,38,38,38,38,38,
11194     38,38,38,37,37,37,37,37,37,36,36,36,36,36,36,36,36,35,35,35,35,
11195     35,35,34,34,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,31,31,
11196     31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30
11197   };
11198   const int n4c3w4_b[] = {
11199     150, // Capacity
11200     500, // Number of items
11201     // Size of items (sorted)
11202     100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,98,98,98,98,
11203     98,97,97,97,97,97,97,97,97,97,97,96,96,95,95,95,95,95,94,94,94,
11204     94,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,92,91,91,91,
11205     91,91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,89,89,89,
11206     89,88,88,88,88,88,88,88,87,87,87,87,87,87,86,86,86,86,86,85,85,
11207     85,85,85,85,85,85,85,84,84,84,84,84,84,84,84,83,83,83,82,82,82,
11208     82,82,81,81,81,81,81,81,81,80,80,80,80,80,80,80,79,79,79,79,79,
11209     79,78,78,78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,76,75,
11210     75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,74,74,73,73,73,73,
11211     73,73,73,73,73,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,70,
11212     70,70,70,70,69,69,69,69,69,68,68,68,67,67,67,67,67,67,67,67,67,
11213     67,67,66,66,66,66,66,65,65,65,65,65,64,64,64,64,64,63,63,63,63,
11214     63,63,63,62,62,62,62,62,62,62,62,61,61,61,61,60,60,60,60,60,60,
11215     60,60,60,60,60,59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,
11216     56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,54,54,54,54,54,
11217     54,53,53,53,53,53,53,53,52,52,52,52,52,51,51,51,51,51,51,51,51,
11218     51,51,51,51,50,50,50,50,50,49,49,49,49,49,49,49,48,48,48,48,48,
11219     48,47,47,47,47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,45,45,
11220     45,45,45,45,45,45,44,44,44,44,44,43,43,43,43,43,43,43,43,43,43,
11221     43,43,43,43,42,42,42,42,42,42,42,42,42,42,42,42,42,41,41,41,41,
11222     41,41,41,41,41,40,40,40,40,40,40,40,40,40,39,39,39,39,39,38,38,
11223     38,38,38,37,37,37,37,37,37,36,36,36,36,36,36,36,35,35,35,35,35,
11224     35,35,35,35,34,34,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,
11225     32,32,32,32,32,31,31,31,31,31,31,31,31,30,30,30,30,30,30
11226   };
11227   const int n4c3w4_c[] = {
11228     150, // Capacity
11229     500, // Number of items
11230     // Size of items (sorted)
11231     100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,
11232     99,99,99,99,99,99,98,98,98,98,97,97,97,97,97,97,96,96,96,96,96,
11233     96,96,96,96,95,95,95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,
11234     93,93,93,93,93,92,92,92,92,92,92,91,91,91,91,91,91,91,91,90,90,
11235     90,90,90,89,89,89,89,89,89,88,88,88,88,88,88,87,87,86,86,86,86,
11236     86,86,85,85,85,85,85,85,85,85,84,84,84,83,83,83,83,83,83,83,83,
11237     83,83,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,80,
11238     80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,79,79,79,78,78,
11239     78,77,77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,75,75,75,75,
11240     74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,
11241     72,72,72,71,71,71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,68,
11242     68,68,68,68,68,68,67,67,67,67,66,66,66,66,66,66,66,66,65,65,65,
11243     65,65,65,65,65,64,64,64,64,64,64,64,64,64,64,63,63,63,63,63,63,
11244     62,62,62,62,62,62,62,62,61,61,61,61,61,60,59,59,59,59,58,58,58,
11245     58,58,58,58,58,58,57,57,57,57,57,57,57,56,56,56,56,56,56,56,56,
11246     56,56,56,55,55,55,55,55,55,55,54,54,54,54,54,53,53,53,53,53,52,
11247     52,52,52,52,52,52,52,51,51,51,51,51,51,51,51,50,50,50,50,50,50,
11248     50,50,50,50,50,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,
11249     47,47,47,47,47,46,46,45,45,44,44,44,44,44,44,44,44,44,44,44,44,
11250     43,43,43,43,43,43,43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,
11251     41,41,41,40,40,40,40,39,39,39,39,39,38,38,38,38,38,38,38,38,38,
11252     38,38,38,37,37,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,
11253     36,35,35,35,35,35,35,35,35,34,34,34,34,34,33,33,33,33,33,33,33,
11254     33,33,33,32,32,32,32,32,32,32,32,32,31,31,31,30,30,30,30,30,30
11255   };
11256   const int n4c3w4_d[] = {
11257     150, // Capacity
11258     500, // Number of items
11259     // Size of items (sorted)
11260     100,99,99,99,99,99,98,98,98,98,98,98,97,97,97,97,97,97,97,97,
11261     96,96,96,96,96,96,96,95,95,95,95,95,94,94,94,94,94,94,94,94,94,
11262     93,93,93,93,92,92,92,92,92,92,92,92,92,92,91,91,91,91,91,91,91,
11263     90,90,90,90,89,89,89,89,89,88,88,88,88,88,88,88,88,87,87,87,87,
11264     87,87,86,86,86,86,86,86,85,85,85,84,84,84,84,84,84,84,84,84,84,
11265     84,84,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,82,82,81,81,
11266     81,81,81,81,81,81,81,81,81,80,80,80,80,80,80,80,80,80,79,79,79,
11267     79,78,78,78,78,78,77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,
11268     76,75,75,75,75,75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,74,
11269     74,74,73,73,73,73,72,72,72,72,71,71,71,71,70,70,70,70,70,70,70,
11270     69,69,69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,68,68,68,
11271     68,68,68,67,67,67,67,67,66,66,66,66,66,66,66,66,66,66,66,65,65,
11272     65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,63,63,63,63,62,62,
11273     62,62,62,62,62,61,61,61,61,61,61,61,61,60,60,60,60,60,60,59,59,
11274     59,59,59,58,58,58,58,58,58,58,58,58,58,58,58,58,57,57,57,57,57,
11275     56,56,56,56,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,
11276     53,53,52,52,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,50,
11277     50,50,50,49,49,49,49,49,48,48,48,48,48,48,47,47,47,47,47,47,47,
11278     46,46,46,46,45,45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,
11279     44,44,43,43,43,43,43,43,43,43,42,42,42,41,41,41,41,41,41,41,40,
11280     40,40,40,40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,37,
11281     37,37,37,37,37,36,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,
11282     35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,32,32,32,32,
11283     32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30
11284   };
11285   const int n4c3w4_e[] = {
11286     150, // Capacity
11287     500, // Number of items
11288     // Size of items (sorted)
11289     100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,
11290     98,98,98,98,98,97,97,97,97,97,97,97,97,96,96,96,96,96,95,95,95,
11291     95,95,95,94,94,94,94,94,94,94,94,94,94,94,93,93,93,92,92,92,92,
11292     92,92,92,92,92,92,92,92,92,91,91,91,91,91,91,91,91,91,90,90,90,
11293     90,90,89,89,88,88,88,88,88,88,87,87,87,87,87,87,87,86,86,86,86,
11294     86,85,85,85,85,85,85,85,84,84,83,83,83,83,83,83,83,83,82,82,82,
11295     82,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,80,80,80,80,80,
11296     80,80,80,79,79,79,79,79,79,78,78,78,78,78,78,78,77,77,76,76,76,
11297     76,76,76,76,76,76,75,75,75,75,75,75,75,75,75,75,75,74,74,74,74,
11298     74,74,74,74,74,74,73,73,73,73,73,73,73,73,73,72,72,72,72,72,72,
11299     72,71,71,71,71,71,71,71,70,70,70,70,70,70,70,70,70,70,69,69,69,
11300     68,68,68,67,67,67,67,67,67,67,67,67,66,66,66,66,65,65,65,65,65,
11301     65,65,64,64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,62,62,62,
11302     62,62,62,61,61,61,61,61,61,61,61,61,61,60,60,60,60,60,60,59,59,
11303     59,59,59,59,58,58,58,58,58,58,58,58,57,57,57,57,57,57,57,57,57,
11304     56,56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,54,54,54,54,54,
11305     54,54,53,53,53,53,53,52,52,52,52,52,51,51,51,51,51,51,51,51,51,
11306     50,50,50,50,50,50,50,50,50,50,49,49,49,49,49,48,48,48,48,48,48,
11307     48,48,47,47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,46,46,45,
11308     45,45,45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,
11309     43,42,42,42,42,42,41,41,41,41,40,40,40,40,40,39,39,39,39,39,39,
11310     39,39,39,39,39,38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,36,
11311     36,36,36,35,35,35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,
11312     33,33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,30,30,30,30
11313   };
11314   const int n4c3w4_f[] = {
11315     150, // Capacity
11316     500, // Number of items
11317     // Size of items (sorted)
11318     100,100,99,99,99,99,98,98,98,98,98,98,98,97,97,97,97,97,97,97,
11319     97,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,95,95,94,94,94,
11320     94,94,94,94,94,94,94,94,94,94,94,94,94,94,93,93,93,93,92,92,92,
11321     92,92,92,92,92,92,92,92,91,91,91,91,91,91,91,91,90,90,90,90,90,
11322     89,89,89,89,89,89,89,89,89,89,89,89,88,88,88,88,88,88,87,87,87,
11323     87,87,87,87,86,86,86,86,86,86,86,85,85,85,85,85,85,85,84,84,84,
11324     84,84,84,84,84,83,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,
11325     82,82,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,79,
11326     79,79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,77,77,77,77,77,
11327     77,76,76,76,76,76,75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,
11328     73,73,73,73,73,73,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,
11329     71,71,70,70,70,69,69,69,69,69,69,69,69,68,68,68,68,68,68,68,68,
11330     67,67,67,66,66,66,66,66,65,65,65,65,65,64,64,63,63,63,63,63,63,
11331     63,63,62,62,62,62,62,61,61,61,61,61,61,61,61,61,60,60,60,60,60,
11332     60,60,59,59,59,59,59,59,58,58,58,58,57,57,57,57,57,57,56,56,56,
11333     56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,54,54,
11334     53,53,53,53,53,52,52,52,52,52,52,50,50,50,50,50,50,50,50,50,50,
11335     50,49,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,47,47,47,47,
11336     47,47,46,46,46,45,45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,
11337     43,43,43,42,42,42,42,42,42,42,41,41,41,41,41,41,41,41,41,41,40,
11338     40,40,40,40,40,40,38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,
11339     37,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,35,35,35,35,34,
11340     34,34,34,34,34,34,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,
11341     31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30,30
11342   };
11343   const int n4c3w4_g[] = {
11344     150, // Capacity
11345     500, // Number of items
11346     // Size of items (sorted)
11347     100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,98,
11348     98,98,98,98,97,97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,
11349     95,95,94,94,94,94,94,93,93,93,93,93,93,93,93,93,93,93,93,92,92,
11350     92,92,92,92,92,92,92,92,92,92,91,91,91,91,91,91,90,90,90,90,89,
11351     89,89,89,89,89,89,88,88,88,88,88,88,87,87,87,87,87,86,86,86,86,
11352     86,86,86,86,86,86,86,85,85,85,85,85,85,85,84,84,84,84,84,84,84,
11353     84,84,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,
11354     81,81,81,81,81,81,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,
11355     79,79,78,78,77,77,77,77,77,77,76,76,76,75,75,75,75,75,75,75,75,
11356     75,74,74,74,74,74,74,74,74,74,74,74,74,73,73,73,73,73,72,72,72,
11357     72,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,70,70,70,70,70,
11358     69,69,69,69,69,69,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,
11359     67,67,67,67,67,67,67,67,67,66,66,66,66,66,66,66,66,66,66,66,66,
11360     66,66,65,65,65,65,65,65,65,64,64,64,63,63,63,63,63,63,63,62,62,
11361     62,62,62,61,61,61,61,61,60,60,60,60,60,60,60,60,60,60,60,60,59,
11362     59,59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,
11363     57,56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,54,54,54,54,
11364     54,54,54,54,53,53,53,53,53,52,52,52,52,52,51,51,51,51,51,51,50,
11365     50,50,49,49,49,49,49,49,49,48,48,48,48,47,47,47,47,47,47,46,46,
11366     46,46,46,46,46,46,46,45,45,45,45,45,45,44,44,44,44,43,43,43,43,
11367     43,42,42,42,42,42,42,42,41,41,41,41,41,40,40,40,40,39,39,39,39,
11368     39,39,39,39,38,38,38,38,38,38,38,38,38,37,37,37,37,36,36,36,36,
11369     36,36,36,36,36,35,35,35,35,34,34,34,34,33,33,33,33,33,33,33,33,
11370     32,32,32,32,32,32,32,31,31,31,31,31,31,31,31,31,30,30,30,30,30
11371   };
11372   const int n4c3w4_h[] = {
11373     150, // Capacity
11374     500, // Number of items
11375     // Size of items (sorted)
11376     100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,
11377     98,98,98,98,98,97,97,97,97,96,96,96,96,96,96,96,96,96,96,96,96,
11378     95,95,95,95,95,95,94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,
11379     93,92,92,92,92,92,91,91,91,91,91,91,91,91,91,91,90,90,90,90,89,
11380     89,88,88,88,88,88,88,88,88,88,87,87,87,87,87,87,87,87,87,87,87,
11381     86,86,86,86,86,86,85,85,85,85,85,85,85,84,84,84,84,83,83,83,83,
11382     83,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,82,82,81,81,81,
11383     81,81,81,81,81,80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,
11384     79,79,79,78,78,78,78,78,78,78,77,77,77,76,76,76,76,76,76,76,75,
11385     75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,
11386     72,71,71,71,71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,69,69,
11387     69,68,68,68,68,68,68,68,68,68,68,67,67,67,67,67,67,66,66,66,66,
11388     66,66,66,65,65,65,65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,
11389     63,63,63,62,62,62,62,62,61,61,61,61,61,61,60,60,60,60,60,60,60,
11390     60,59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,58,57,57,57,
11391     57,57,57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,55,55,54,
11392     54,54,54,54,54,54,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,
11393     52,51,51,51,51,51,51,51,51,50,50,50,49,49,49,49,49,49,49,49,49,
11394     49,49,48,48,48,48,47,47,46,46,46,46,46,45,45,45,45,45,45,45,44,
11395     44,44,44,44,44