Generated on Thu Mar 22 10:39:30 2012 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: 2011-05-11 12:44:17 +0200 (Wed, 11 May 2011) $ by $Author: tack $
00011  *     $Revision: 12001 $
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         // Skip bins with insufficient free space
00143         int j=0;
00144         while (f[j] < size(i))
00145           j++;
00146         f[j] -= size(i);
00147         u = std::max(u,j);
00148       }
00149       delete [] f;
00150       return u+1;
00151     }
00152   public:
00154     Spec(const char* s) : data(find(s)), l(0), u(0) {
00155       if (valid()) {
00156         l = clower(); u = cupper();
00157       }
00158     }
00160     int total(void) const {
00161       int t=0;
00162       for (int i=0; i<items(); i++)
00163         t += size(i);
00164       return t;
00165     }
00167     int lower(void) const {
00168       return l;
00169     }
00171     int upper(void) const {
00172       return u;
00173     }
00174   };
00175 
00176 }
00177 
00189 class CDBF : public Brancher {
00190 protected:
00192   ViewArray<Int::IntView> load;
00194   ViewArray<Int::IntView> bin;
00196   IntSharedArray size;
00198   mutable int item;
00200   class Choice : public Gecode::Choice {
00201   public:
00203     int item;
00205     int* same;
00207     int n_same;
00211     Choice(const Brancher& b, unsigned int a, int i, int* s, int n_s)
00212       : Gecode::Choice(b,a), item(i), 
00213         same(heap.alloc<int>(n_s)), n_same(n_s) {
00214       for (int k=n_same; k--; )
00215         same[k] = s[k];
00216     }
00218     virtual size_t size(void) const {
00219       return sizeof(Choice) + sizeof(int) * n_same;
00220     }
00222     virtual void archive(Archive& e) const {
00223       Gecode::Choice::archive(e);
00224       e << alternatives() << item << n_same;
00225       for (int i=n_same; i--;) 
00226         e << same[i];
00227     }
00229     virtual ~Choice(void) {
00230       heap.free<int>(same,n_same);
00231     }
00232   };
00233  
00234 public:
00236   CDBF(Home home, ViewArray<Int::IntView>& l, ViewArray<Int::IntView>& b,
00237        IntSharedArray& s) 
00238     : Brancher(home), load(l), bin(b), size(s), item(0) {
00239     home.notice(*this,AP_DISPOSE);
00240   }
00242   static void post(Home home, ViewArray<Int::IntView>& l, 
00243                               ViewArray<Int::IntView>& b,
00244                               IntSharedArray& s) {
00245     (void) new (home) CDBF(home, l, b, s);
00246   }
00248   CDBF(Space& home, bool share, CDBF& cdbf) 
00249     : Brancher(home, share, cdbf), item(cdbf.item) {
00250     load.update(home, share, cdbf.load);
00251     bin.update(home, share, cdbf.bin);
00252     size.update(home, share, cdbf.size);
00253   }
00255   virtual Actor* copy(Space& home, bool share) {
00256     return new (home) CDBF(home, share, *this);
00257   }
00259   virtual size_t dispose(Space& home) {
00260     home.ignore(*this,AP_DISPOSE);
00261     size.~IntSharedArray();
00262     return sizeof(*this);
00263   }
00265   virtual bool status(const Space&) const {
00266     for (int i = item; i < bin.size(); i++)
00267       if (!bin[i].assigned()) {
00268         item = i; return true;
00269       }
00270     return false;
00271   }
00273   virtual Gecode::Choice* choice(Space& home) {
00274     assert(!bin[item].assigned());
00275 
00276     int n = bin.size(), m = load.size();
00277 
00278     Region region(home);
00279 
00280     // Free space in bins
00281     int* free = region.alloc<int>(m);
00282 
00283     for (int j=m; j--; )
00284       free[j] = load[j].max();
00285     for (int i=n; i--; )
00286       if (bin[i].assigned())
00287         free[bin[i].val()] -= size[i];
00288 
00289     // Equivalent bins with same free space
00290     int* same = region.alloc<int>(m+1);
00291     unsigned int n_same = 0;
00292     unsigned int n_possible = 0;
00293     
00294     // Initialize such that failure is guaranteed (pack into bin -1)
00295     same[n_same++] = -1;
00296 
00297     // Find a best-fit bin for item
00298     int slack = INT_MAX;
00299     for (Int::ViewValues<Int::IntView> j(bin[item]); j(); ++j) 
00300       if (size[item] <= free[j.val()]) {
00301         // Item still can fit into the bin
00302         n_possible++;
00303         if (free[j.val()] - size[item] < slack) {
00304           // A new, better fit
00305           slack = free[j.val()] - size[item];
00306           same[0] = j.val(); n_same = 1;
00307         } else if (free[j.val()] - size[item] == slack) {
00308           // An equivalent bin, remember it
00309           same[n_same++] = j.val();
00310         }
00311       }
00312     /* 
00313      * Domination rules: 
00314      *  - if the item fits the bin exactly, just assign
00315      *  - if all possible bins are equivalent, just assign
00316      *
00317      * Also catches failure: if no possible bin was found, commit
00318      * the item into bin -1.
00319      */
00320     if ((slack == 0) || (n_same == n_possible) || (slack == INT_MAX))
00321       return new Choice(*this, 1, item, same, 1);
00322     else
00323       return new Choice(*this, 2, item, same, n_same);
00324   }
00326   virtual const Gecode::Choice* choice(const Space& home, Archive& e) {
00327     int alt, item, n_same;
00328     e >> alt >> item >> n_same;
00329     Region re(home);
00330     int* same = re.alloc<int>(n_same);
00331     for (int i=n_same; i--;) e >> same[i];
00332     return new Choice(*this, alt, item, same, n_same);
00333   }
00335   virtual ExecStatus commit(Space& home, const Gecode::Choice& _c, 
00336                             unsigned int a) {
00337     const Choice& c = static_cast<const Choice&>(_c);
00338     // This catches also the case that the choice has a single aternative only
00339     if (a == 0) {
00340       GECODE_ME_CHECK(bin[c.item].eq(home, c.same[0]));
00341     } else {
00342       Iter::Values::Array same(c.same, c.n_same);
00343 
00344       GECODE_ME_CHECK(bin[c.item].minus_v(home, same));
00345 
00346       for (int i = c.item+1; (i<bin.size()) && 
00347                              (size[i] == size[c.item]); i++) {
00348         same.reset();
00349         GECODE_ME_CHECK(bin[i].minus_v(home, same));
00350       }
00351     }
00352     return ES_OK;
00353   }
00354 };
00355 
00357 void cdbf(Home home, const IntVarArgs& l, const IntVarArgs& b,
00358                      const IntArgs& s) {
00359   if (b.size() != s.size())
00360     throw Int::ArgumentSizeMismatch("cdbf");      
00361   ViewArray<Int::IntView> load(home, l);
00362   ViewArray<Int::IntView> bin(home, b);
00363   IntSharedArray size(s);
00364   CDBF::post(home, load, bin, size);
00365 }
00366 
00367 
00368 
00375 class BinPacking : public MinimizeScript {
00376 protected:
00378   const Spec spec;
00380   IntVarArray load;
00382   IntVarArray bin;
00384   IntVar bins;
00385 public:
00387   enum {
00388     MODEL_NAIVE, 
00389     MODEL_PACKING 
00390   };
00392   enum {
00393     BRANCH_NAIVE, 
00394     BRANCH_CDBF, 
00395   };
00397   BinPacking(const InstanceOptions& opt) 
00398     : spec(opt.instance()),
00399       load(*this, spec.upper(), 0, spec.capacity()),
00400       bin(*this, spec.items(), 0, spec.upper()-1),
00401       bins(*this, spec.lower(), spec.upper()) {
00402     // Number of items
00403     int n = bin.size();
00404     // Number of bins
00405     int m = load.size();
00406 
00407     // Size of all items
00408     int s = 0;
00409     for (int i=0; i<n; i++)
00410       s += spec.size(i);
00411 
00412     // Array of sizes
00413     IntArgs sizes(n);
00414     for (int i=0; i<n; i++)
00415       sizes[i] = spec.size(i);
00416       
00417     switch (opt.model()) {
00418     case MODEL_NAIVE:
00419       {
00420         // All loads must add up to all item sizes
00421         linear(*this, load, IRT_EQ, s);
00422 
00423         // Load must be equal to packed items
00424         BoolVarArgs _x(*this, n*m, 0, 1);
00425         Matrix<BoolVarArgs> x(_x, n, m);
00426       
00427         for (int i=0; i<n; i++)
00428           channel(*this, x.col(i), bin[i]);
00429 
00430         for (int j=0; j<m; j++)
00431           linear(*this, sizes, x.row(j), IRT_EQ, load[j]);
00432       }
00433       break;
00434     case MODEL_PACKING:
00435       binpacking(*this, load, bin, sizes);
00436       break;
00437     }
00438 
00439     // Break symmetries
00440     for (int i=1; i<n; i++)
00441       if (spec.size(i-1) == spec.size(i))
00442         rel(*this, bin[i-1] <= bin[i]);
00443 
00444     // Pack items that require a bin for sure! (wlog)
00445     {
00446       int i = 0;
00447       // These items all need a bin due to their own size
00448       for (; (i < n) && (i < m) && (spec.size(i) * 2 > spec.capacity()); i++)
00449         rel(*this, bin[i] == i);
00450       // Check if the next item cannot fit to position i-1
00451       if ((i < n) && (i < m) && (i > 0) && 
00452           (spec.size(i-1) + spec.size(i) > spec.capacity()))
00453         rel(*this, bin[i] == i);
00454     }
00455 
00456     // All excess bins must be empty
00457     for (int j=spec.lower()+1; j <= spec.upper(); j++)
00458       rel(*this, (bins < j) == (load[j-1] == 0));
00459 
00460     branch(*this, bins, INT_VAL_MIN);
00461     switch (opt.branching()) {
00462     case BRANCH_NAIVE:
00463       branch(*this, bin, INT_VAR_NONE, INT_VAL_MIN);
00464       break;
00465     case BRANCH_CDBF:
00466       cdbf(*this, load, bin, sizes);
00467       break;
00468     }
00469   }
00471   virtual IntVar cost(void) const {
00472     return bins;
00473   }
00475   BinPacking(bool share, BinPacking& s) 
00476     : MinimizeScript(share,s), spec(s.spec) {
00477     load.update(*this, share, s.load);
00478     bin.update(*this, share, s.bin);
00479     bins.update(*this, share, s.bins);
00480   }
00482   virtual Space*
00483   copy(bool share) {
00484     return new BinPacking(share,*this);
00485   }
00487   virtual void
00488   print(std::ostream& os) const {
00489     int n = bin.size();
00490     int m = load.size();
00491     os << "Bins used: " << bins << " (from " << m << " bins)." << std::endl;
00492     for (int j=0; j<m; j++) {
00493       bool fst = true;
00494       os << "\t[" << j << "]={";
00495       for (int i=0; i<n; i++)
00496         if (bin[i].assigned() && (bin[i].val() == j)) {
00497           if (fst) {
00498             fst = false;
00499           } else {
00500             os << ",";
00501           }
00502           os << i;
00503         }
00504       os << "} #" << load[j] << std::endl;
00505     }
00506     if (!bin.assigned()) {
00507       os << std::endl 
00508          << "Unpacked items:" << std::endl;
00509       for (int i=0;i<n; i++)
00510         if (!bin[i].assigned())
00511           os << "\t[" << i << "] = " << bin[i] << std::endl;
00512     }
00513   }
00514 };
00515 
00519 int
00520 main(int argc, char* argv[]) {
00521   InstanceOptions opt("BinPacking");
00522   opt.model(BinPacking::MODEL_PACKING);
00523   opt.model(BinPacking::MODEL_NAIVE, "naive", 
00524             "use naive model (decomposition)");
00525   opt.model(BinPacking::MODEL_PACKING, "packing", 
00526             "use bin packing constraint");
00527   opt.branching(BinPacking::BRANCH_CDBF);
00528   opt.branching(BinPacking::BRANCH_NAIVE, "naive");
00529   opt.branching(BinPacking::BRANCH_CDBF, "cdbf");
00530   opt.instance(name[0]);
00531   opt.solutions(0);
00532   opt.parse(argc,argv);
00533   if (!Spec(opt.instance()).valid()) {
00534     std::cerr << "Error: unkown instance" << std::endl;
00535     return 1;
00536   }
00537   MinimizeScript::run<BinPacking,BAB,InstanceOptions>(opt);
00538   return 0;
00539 }
00540 
00541 namespace {
00542 
00543   /*
00544    * Instances taken from:
00545    * A. Scholl, R. Klein, and C. Jürgens: BISON: a fast hybrid procedure
00546    * for exactly solving the one-dimensional bin packing problem.
00547    * Computers & Operations Research 24 (1997) 627-645. 
00548    *
00549    * The item size have been sorted for simplicty.
00550    *
00551    */
00552 
00553   /*
00554    * Data set 1
00555    *
00556    */
00557   const int n1c1w1_a[] = {
00558     100, // Capacity
00559     50, // Number of items
00560     // Size of items (sorted)
00561     99,99,96,96,92,92,91,88,87,86,85,76,74,72,69,67,67,62,61,56,52,
00562     51,49,46,44,42,40,40,33,33,30,30,29,28,28,27,25,24,23,22,21,20,
00563     17,14,13,11,10,7,7,3
00564   };
00565   const int n1c1w1_b[] = {
00566     100, // Capacity
00567     50, // Number of items
00568     // Size of items (sorted)
00569     100,99,97,97,97,93,93,92,92,88,83,83,79,76,76,75,72,71,70,69,
00570     67,66,63,62,62,61,61,51,50,44,44,43,43,40,39,37,37,30,23,20,19,
00571     18,17,15,14,13,13,12,8,8
00572   };
00573   const int n1c1w1_c[] = {
00574     100, // Capacity
00575     50, // Number of items
00576     // Size of items (sorted)
00577     92,89,87,84,82,82,81,75,73,71,67,67,63,59,57,56,52,49,48,47,46,
00578     41,39,38,36,35,34,34,30,29,26,21,20,19,18,15,15,13,11,10,10,10,
00579     9,8,8,7,6,6,6,3
00580   };
00581   const int n1c1w1_d[] = {
00582     100, // Capacity
00583     50, // Number of items
00584     // Size of items (sorted)
00585     100,99,98,97,95,94,92,92,91,82,80,77,76,75,73,73,73,71,68,65,
00586     65,63,63,63,60,59,53,45,44,40,31,25,24,24,24,23,22,21,21,15,14,
00587     14,10,10,7,7,6,3,2,2
00588   };
00589   const int n1c1w1_e[] = {
00590     100, // Capacity
00591     50, // Number of items
00592     // Size of items (sorted)
00593     91,88,88,87,87,86,86,85,85,84,83,80,79,78,77,70,70,68,67,66,59,
00594     52,49,48,47,47,44,42,38,37,37,34,34,33,31,29,27,24,21,17,16,16,
00595     15,14,8,6,5,4,2,2
00596   };
00597   const int n1c1w1_f[] = {
00598     100, // Capacity
00599     50, // Number of items
00600     // Size of items (sorted)
00601     99,98,98,93,92,89,89,84,84,83,78,77,75,73,72,71,70,69,69,68,60,
00602     60,57,56,54,50,49,49,45,37,36,35,30,30,27,26,26,25,24,21,20,19,
00603     15,14,13,11,11,8,2,2
00604   };
00605   const int n1c1w1_g[] = {
00606     100, // Capacity
00607     50, // Number of items
00608     // Size of items (sorted)
00609     100,99,98,98,98,91,90,87,84,84,78,77,72,71,70,69,69,64,63,58,
00610     58,46,45,45,43,43,42,41,37,37,37,35,34,31,30,29,24,23,22,21,20,
00611     17,12,11,10,9,7,6,5,4
00612   };
00613   const int n1c1w1_h[] = {
00614     100, // Capacity
00615     50, // Number of items
00616     // Size of items (sorted)
00617     97,93,93,92,92,91,90,88,86,85,85,85,82,81,80,79,75,73,71,70,70,
00618     67,66,64,62,62,61,54,48,48,47,46,44,41,40,39,34,29,24,24,21,18,
00619     16,16,14,13,11,10,5,1
00620   };
00621   const int n1c1w1_i[] = {
00622     100, // Capacity
00623     50, // Number of items
00624     // Size of items (sorted)
00625     95,92,87,87,85,84,83,79,77,77,75,73,69,68,65,63,63,62,61,58,57,
00626     52,50,44,43,40,40,38,38,38,35,33,33,32,31,29,27,24,24,22,19,19,
00627     18,16,14,11,6,4,3,2
00628   };
00629   const int n1c1w1_j[] = {
00630     100, // Capacity
00631     50, // Number of items
00632     // Size of items (sorted)
00633     99,99,95,94,94,93,91,90,86,81,81,80,79,77,74,69,69,63,55,54,54,
00634     53,52,50,44,40,39,38,37,36,36,36,36,34,31,31,26,25,23,22,18,17,
00635     15,14,13,12,10,7,2,1
00636   };
00637   const int n1c1w1_k[] = {
00638     100, // Capacity
00639     50, // Number of items
00640     // Size of items (sorted)
00641     96,91,91,89,87,85,84,83,82,79,78,77,77,75,75,70,68,66,64,62,62,
00642     56,53,51,44,41,40,38,38,36,34,31,30,29,28,27,26,23,17,16,15,14,
00643     14,12,11,10,8,8,4,2
00644   };
00645   const int n1c1w1_l[] = {
00646     100, // Capacity
00647     50, // Number of items
00648     // Size of items (sorted)
00649     99,99,98,96,95,93,92,92,89,87,85,85,82,80,72,71,68,68,64,64,63,
00650     61,59,59,57,57,57,55,55,52,52,51,49,48,47,47,40,39,38,37,29,28,
00651     28,22,22,19,17,16,9,4
00652   };
00653   const int n1c1w1_m[] = {
00654     100, // Capacity
00655     50, // Number of items
00656     // Size of items (sorted)
00657     100,100,99,97,94,93,91,90,89,88,87,87,86,86,79,77,72,71,70,69,
00658     68,68,65,64,61,60,59,51,50,50,43,42,39,37,29,27,25,24,21,19,17,
00659     16,13,13,8,6,6,3,2,1
00660   };
00661   const int n1c1w1_n[] = {
00662     100, // Capacity
00663     50, // Number of items
00664     // Size of items (sorted)
00665     99,98,95,95,95,94,94,91,88,87,86,85,76,74,73,71,68,60,55,54,51,
00666     45,42,40,39,39,36,34,33,32,32,31,31,30,29,26,26,23,21,21,21,19,
00667     18,18,16,15,5,5,4,1
00668   };
00669   const int n1c1w1_o[] = {
00670     100, // Capacity
00671     50, // Number of items
00672     // Size of items (sorted)
00673     100,99,98,97,97,94,92,91,91,90,88,87,85,81,81,80,79,72,70,67,
00674     67,66,64,63,61,59,58,56,55,51,50,50,50,49,46,41,39,39,38,30,30,
00675     24,22,21,20,19,14,8,7,5
00676   };
00677   const int n1c1w1_p[] = {
00678     100, // Capacity
00679     50, // Number of items
00680     // Size of items (sorted)
00681     96,94,91,90,82,81,80,77,76,75,74,72,70,68,65,63,63,63,60,60,59,
00682     58,57,55,51,47,46,36,36,34,32,32,30,30,28,28,27,26,24,24,19,19,
00683     17,17,11,9,9,7,4,4
00684   };
00685   const int n1c1w1_q[] = {
00686     100, // Capacity
00687     50, // Number of items
00688     // Size of items (sorted)
00689     97,92,90,85,83,83,82,81,77,76,74,73,71,67,67,67,67,63,63,62,59,
00690     58,58,56,56,55,53,50,47,42,41,41,41,39,37,35,32,31,30,26,25,22,
00691     20,17,16,15,13,13,10,5
00692   };
00693   const int n1c1w1_r[] = {
00694     100, // Capacity
00695     50, // Number of items
00696     // Size of items (sorted)
00697     95,94,93,92,87,81,81,79,78,76,75,72,72,71,70,65,62,61,60,55,54,
00698     54,51,49,46,45,38,38,37,36,36,36,32,31,28,27,26,25,24,24,21,20,
00699     20,17,14,10,9,7,7,3
00700   };
00701   const int n1c1w1_s[] = {
00702     100, // Capacity
00703     50, // Number of items
00704     // Size of items (sorted)
00705     100,99,99,97,96,95,87,87,87,86,84,82,80,80,80,76,75,74,71,68,
00706     67,63,62,60,52,52,52,48,44,44,43,43,37,34,33,31,29,28,25,21,20,
00707     17,16,13,11,9,6,5,4,3
00708   };
00709   const int n1c1w1_t[] = {
00710     100, // Capacity
00711     50, // Number of items
00712     // Size of items (sorted)
00713     100,97,92,91,89,88,83,82,82,82,78,77,77,77,73,72,68,67,66,65,
00714     64,62,60,60,57,53,50,48,46,42,40,40,38,37,37,31,30,29,28,21,20,
00715     20,20,20,18,18,15,15,11,1
00716   };
00717   const int n1c1w2_a[] = {
00718     100, // Capacity
00719     50, // Number of items
00720     // Size of items (sorted)
00721     96,93,86,86,85,83,80,80,80,79,77,68,67,64,64,63,60,57,55,54,54,
00722     54,54,52,52,52,51,44,43,41,41,39,39,39,38,36,36,35,34,34,31,31,
00723     29,29,28,24,23,22,22,20
00724   };
00725   const int n1c1w2_b[] = {
00726     100, // Capacity
00727     50, // Number of items
00728     // Size of items (sorted)
00729     99,96,95,95,91,91,91,90,89,86,85,85,84,79,76,69,68,68,65,64,63,
00730     58,58,54,53,52,50,49,48,48,45,45,43,42,36,35,33,31,31,30,30,30,
00731     29,27,27,26,22,22,22,21
00732   };
00733   const int n1c1w2_c[] = {
00734     100, // Capacity
00735     50, // Number of items
00736     // Size of items (sorted)
00737     100,99,98,97,94,93,91,89,89,89,85,85,84,83,81,81,78,73,73,73,
00738     73,70,69,68,64,64,63,59,54,49,48,45,45,43,42,41,39,37,37,36,32,
00739     30,26,26,25,24,24,23,21,21
00740   };
00741   const int n1c1w2_d[] = {
00742     100, // Capacity
00743     50, // Number of items
00744     // Size of items (sorted)
00745     97,97,90,89,89,89,85,83,82,81,77,76,76,75,71,71,68,68,66,63,63,
00746     63,62,61,61,59,58,54,53,50,50,50,46,43,40,36,36,33,32,31,31,31,
00747     28,27,27,26,26,24,23,22
00748   };
00749   const int n1c1w2_e[] = {
00750     100, // Capacity
00751     50, // Number of items
00752     // Size of items (sorted)
00753     99,96,94,94,90,90,90,90,87,86,85,85,84,84,84,84,84,83,81,81,79,
00754     71,71,70,65,65,65,63,62,59,51,51,50,49,49,49,47,45,44,43,41,35,
00755     35,33,31,27,23,23,22,22
00756   };
00757   const int n1c1w2_f[] = {
00758     100, // Capacity
00759     50, // Number of items
00760     // Size of items (sorted)
00761     99,94,94,89,88,86,86,85,84,84,83,79,77,76,74,73,71,71,66,65,63,
00762     62,60,54,53,50,49,48,48,48,48,43,41,40,40,39,38,35,34,32,31,29,
00763     28,25,23,23,22,21,20,20
00764   };
00765   const int n1c1w2_g[] = {
00766     100, // Capacity
00767     50, // Number of items
00768     // Size of items (sorted)
00769     100,99,94,91,90,88,86,85,85,83,82,80,79,77,73,71,71,71,67,65,
00770     65,58,57,57,55,53,52,51,45,40,39,39,38,38,38,37,36,36,35,35,32,
00771     29,28,27,27,27,24,23,21,20
00772   };
00773   const int n1c1w2_h[] = {
00774     100, // Capacity
00775     50, // Number of items
00776     // Size of items (sorted)
00777     100,100,96,95,95,92,92,92,91,90,90,89,89,86,84,83,81,78,76,73,
00778     73,73,71,71,67,66,61,60,59,57,54,54,44,42,42,38,36,33,31,31,28,
00779     28,27,27,27,27,26,25,21,20
00780   };
00781   const int n1c1w2_i[] = {
00782     100, // Capacity
00783     50, // Number of items
00784     // Size of items (sorted)
00785     100,100,98,97,96,94,93,93,85,85,84,83,83,83,82,79,76,76,76,75,
00786     74,73,73,72,68,66,60,60,56,55,53,52,49,47,46,45,42,41,38,37,37,
00787     37,36,32,31,31,31,28,24,21
00788   };
00789   const int n1c1w2_j[] = {
00790     100, // Capacity
00791     50, // Number of items
00792     // Size of items (sorted)
00793     100,99,98,95,93,90,87,85,84,84,83,83,81,81,80,79,75,75,71,70,
00794     68,67,63,63,62,62,61,58,56,51,51,50,49,48,48,42,40,39,37,37,36,
00795     34,32,30,29,28,28,27,26,26
00796   };
00797   const int n1c1w2_k[] = {
00798     100, // Capacity
00799     50, // Number of items
00800     // Size of items (sorted)
00801     100,99,98,97,97,96,95,94,92,89,89,87,85,77,76,73,71,69,68,68,
00802     67,66,66,65,64,64,63,62,58,58,52,50,49,48,47,46,44,43,43,35,35,
00803     32,29,26,26,25,25,23,20,20
00804   };
00805   const int n1c1w2_l[] = {
00806     100, // Capacity
00807     50, // Number of items
00808     // Size of items (sorted)
00809     98,95,94,93,92,91,89,88,87,87,84,82,82,74,73,73,72,69,65,64,63,
00810     63,62,62,60,59,57,54,54,52,48,47,46,44,43,41,35,33,30,30,30,29,
00811     29,28,28,27,27,26,24,23
00812   };
00813   const int n1c1w2_m[] = {
00814     100, // Capacity
00815     50, // Number of items
00816     // Size of items (sorted)
00817     99,95,90,89,89,85,82,80,80,79,79,79,77,74,70,70,66,65,65,64,57,
00818     56,56,55,55,55,53,52,50,49,48,47,45,42,40,37,36,36,36,32,31,31,
00819     31,31,30,28,28,25,22,20
00820   };
00821   const int n1c1w2_n[] = {
00822     100, // Capacity
00823     50, // Number of items
00824     // Size of items (sorted)
00825     98,96,95,85,84,84,83,82,81,80,78,76,76,74,72,72,71,71,69,66,65,
00826     64,64,62,61,60,56,53,52,52,49,48,47,45,43,43,42,40,40,40,39,37,
00827     32,30,28,26,21,21,21,20
00828   };
00829   const int n1c1w2_o[] = {
00830     100, // Capacity
00831     50, // Number of items
00832     // Size of items (sorted)
00833     100,100,100,96,95,93,86,82,82,80,79,75,73,71,71,70,69,69,68,63,
00834     60,59,58,56,53,52,50,45,44,44,43,42,37,37,36,36,35,31,30,30,29,
00835     28,28,27,27,22,21,21,20,20
00836   };
00837   const int n1c1w2_p[] = {
00838     100, // Capacity
00839     50, // Number of items
00840     // Size of items (sorted)
00841     100,96,95,95,95,93,92,87,87,83,83,82,79,78,77,76,76,76,72,71,
00842     69,69,68,64,63,60,57,55,54,54,51,50,46,42,41,40,40,38,38,37,31,
00843     30,30,29,28,27,26,26,22,20
00844   };
00845   const int n1c1w2_q[] = {
00846     100, // Capacity
00847     50, // Number of items
00848     // Size of items (sorted)
00849     97,96,96,93,93,93,91,88,86,86,85,85,85,82,81,78,75,74,71,71,69,
00850     67,67,65,65,65,64,61,61,60,58,58,56,54,53,49,45,44,43,40,38,38,
00851     38,34,33,31,30,26,23,23
00852   };
00853   const int n1c1w2_r[] = {
00854     100, // Capacity
00855     50, // Number of items
00856     // Size of items (sorted)
00857     98,97,97,97,94,91,89,85,84,82,81,80,79,79,75,73,70,69,69,69,68,
00858     68,68,66,61,55,54,52,52,51,51,49,49,48,47,47,47,45,44,37,37,36,
00859     35,34,34,30,29,29,27,24
00860   };
00861   const int n1c1w2_s[] = {
00862     100, // Capacity
00863     50, // Number of items
00864     // Size of items (sorted)
00865     99,99,98,96,95,93,92,91,91,91,88,86,84,84,84,80,80,79,78,77,76,
00866     76,73,72,71,71,69,68,67,64,64,61,59,58,54,52,49,49,41,40,38,31,
00867     31,29,28,27,27,27,22,20
00868   };
00869   const int n1c1w2_t[] = {
00870     100, // Capacity
00871     50, // Number of items
00872     // Size of items (sorted)
00873     100,100,100,97,96,92,91,91,89,86,85,84,83,83,82,81,79,79,77,74,
00874     74,73,73,70,68,67,67,65,63,62,62,55,55,52,50,47,45,44,44,44,44,
00875     43,41,39,37,32,30,26,24,23
00876   };
00877   const int n1c1w4_a[] = {
00878     100, // Capacity
00879     50, // Number of items
00880     // Size of items (sorted)
00881     99,95,93,92,91,89,89,88,88,85,84,84,84,80,80,79,77,76,72,69,65,
00882     64,64,63,63,60,56,56,53,53,52,51,50,50,49,49,47,44,41,41,40,40,
00883     40,35,35,34,32,31,31,30
00884   };
00885   const int n1c1w4_b[] = {
00886     100, // Capacity
00887     50, // Number of items
00888     // Size of items (sorted)
00889     100,100,98,97,97,94,92,92,91,85,84,84,83,82,82,80,78,78,78,78,
00890     75,74,73,72,71,70,70,68,66,65,65,54,50,50,50,49,49,49,47,44,44,
00891     42,42,41,41,41,40,36,36,30
00892   };
00893   const int n1c1w4_c[] = {
00894     100, // Capacity
00895     50, // Number of items
00896     // Size of items (sorted)
00897     94,92,89,88,88,87,86,84,82,82,81,79,77,77,77,76,73,72,70,69,68,
00898     68,65,63,63,61,59,58,57,55,54,52,52,52,51,48,46,43,40,38,37,37,
00899     36,35,35,35,34,34,34,33
00900   };
00901   const int n1c1w4_d[] = {
00902     100, // Capacity
00903     50, // Number of items
00904     // Size of items (sorted)
00905     100,97,95,95,95,95,94,93,93,91,90,89,87,83,82,79,79,78,77,77,
00906     74,71,69,68,68,65,65,64,61,58,55,55,54,53,53,51,51,49,46,44,42,
00907     41,39,38,37,37,37,35,33,31
00908   };
00909   const int n1c1w4_e[] = {
00910     100, // Capacity
00911     50, // Number of items
00912     // Size of items (sorted)
00913     100,99,94,92,92,92,89,88,85,83,83,80,79,79,79,79,77,74,74,73,
00914     71,70,69,68,65,62,62,62,61,61,58,56,56,55,55,55,48,47,46,46,44,
00915     43,43,43,40,40,36,35,32,30
00916   };
00917   const int n1c1w4_f[] = {
00918     100, // Capacity
00919     50, // Number of items
00920     // Size of items (sorted)
00921     98,98,93,93,92,91,89,86,85,84,80,80,79,78,76,70,68,67,66,62,60,
00922     59,59,58,58,53,52,52,50,50,49,48,48,48,47,45,43,41,41,40,40,40,
00923     35,33,32,31,31,30,30,30
00924   };
00925   const int n1c1w4_g[] = {
00926     100, // Capacity
00927     50, // Number of items
00928     // Size of items (sorted)
00929     100,100,100,99,97,95,95,95,93,93,91,90,87,87,86,85,85,84,84,84,
00930     82,80,77,76,72,70,67,66,65,64,59,56,55,52,48,46,45,44,41,38,37,
00931     35,35,34,34,33,33,32,32,31
00932   };
00933   const int n1c1w4_h[] = {
00934     100, // Capacity
00935     50, // Number of items
00936     // Size of items (sorted)
00937     100,100,99,98,98,97,96,92,91,91,91,87,86,85,83,83,81,79,78,78,
00938     75,75,75,74,73,73,70,66,66,65,64,64,63,62,61,60,59,56,55,54,46,
00939     45,44,41,37,35,34,32,31,30
00940   };
00941   const int n1c1w4_i[] = {
00942     100, // Capacity
00943     50, // Number of items
00944     // Size of items (sorted)
00945     95,92,91,91,90,88,87,87,86,86,85,81,79,76,76,76,72,72,69,65,63,
00946     63,63,63,61,61,59,59,58,56,54,54,52,51,50,47,47,45,45,45,43,40,
00947     40,36,35,35,34,32,32,31
00948   };
00949   const int n1c1w4_j[] = {
00950     100, // Capacity
00951     50, // Number of items
00952     // Size of items (sorted)
00953     99,98,93,93,92,90,88,87,87,83,83,81,78,77,77,77,76,75,73,73,71,
00954     68,66,64,63,63,63,62,60,59,58,54,53,52,52,51,49,47,47,42,42,41,
00955     40,40,40,39,35,32,32,31
00956   };
00957   const int n1c1w4_k[] = {
00958     100, // Capacity
00959     50, // Number of items
00960     // Size of items (sorted)
00961     100,98,95,94,94,94,93,92,87,85,85,84,83,82,81,78,78,75,73,72,
00962     71,71,70,70,68,67,67,66,65,64,60,59,58,57,56,56,56,55,55,54,51,
00963     49,46,45,43,43,43,37,36,35
00964   };
00965   const int n1c1w4_l[] = {
00966     100, // Capacity
00967     50, // Number of items
00968     // Size of items (sorted)
00969     100,99,98,98,97,96,95,91,91,90,88,88,87,86,81,80,79,76,75,67,
00970     66,65,65,64,60,59,59,58,57,57,55,53,53,50,49,49,49,46,44,43,42,
00971     38,37,37,36,35,34,34,31,30
00972   };
00973   const int n1c1w4_m[] = {
00974     100, // Capacity
00975     50, // Number of items
00976     // Size of items (sorted)
00977     100,99,99,94,93,92,91,89,88,88,87,80,79,77,75,74,73,71,71,71,
00978     69,66,64,64,64,63,63,63,62,60,60,59,59,59,55,55,55,53,51,49,49,
00979     48,46,46,45,42,42,34,33,31
00980   };
00981   const int n1c1w4_n[] = {
00982     100, // Capacity
00983     50, // Number of items
00984     // Size of items (sorted)
00985     99,97,97,96,96,95,94,93,92,90,86,85,85,84,82,82,82,80,79,75,73,
00986     72,72,71,70,69,69,68,68,66,65,63,61,60,57,55,53,49,48,47,44,41,
00987     41,39,36,34,32,31,31,31
00988   };
00989   const int n1c1w4_o[] = {
00990     100, // Capacity
00991     50, // Number of items
00992     // Size of items (sorted)
00993     100,90,89,89,89,87,84,81,80,77,77,77,74,71,71,71,67,66,65,63,
00994     62,61,60,59,59,57,56,56,54,54,51,51,49,48,48,47,47,46,40,39,37,
00995     36,36,35,34,34,33,32,31,30
00996   };
00997   const int n1c1w4_p[] = {
00998     100, // Capacity
00999     50, // Number of items
01000     // Size of items (sorted)
01001     99,98,95,95,93,93,90,88,87,87,85,83,82,80,79,79,79,77,74,74,73,
01002     73,72,71,70,66,63,61,61,61,60,60,59,57,55,54,51,48,45,43,42,39,
01003     39,37,37,36,36,35,32,32
01004   };
01005   const int n1c1w4_q[] = {
01006     100, // Capacity
01007     50, // Number of items
01008     // Size of items (sorted)
01009     95,94,92,91,91,91,90,89,89,84,84,82,79,74,74,74,70,69,68,67,63,
01010     62,59,59,57,56,56,55,53,52,51,50,50,49,48,48,47,45,43,42,41,41,
01011     41,40,38,35,35,32,31,30
01012   };
01013   const int n1c1w4_r[] = {
01014     100, // Capacity
01015     50, // Number of items
01016     // Size of items (sorted)
01017     100,99,98,97,95,94,93,93,93,92,92,92,92,85,85,83,81,79,77,76,
01018     75,73,71,70,70,69,66,63,60,60,59,59,58,58,57,49,48,47,45,42,41,
01019     41,40,38,38,36,36,35,34,30
01020   };
01021   const int n1c1w4_s[] = {
01022     100, // Capacity
01023     50, // Number of items
01024     // Size of items (sorted)
01025     99,99,98,97,97,94,94,93,91,90,87,87,86,85,85,81,80,78,78,77,76,
01026     72,66,66,64,59,58,57,57,53,52,50,50,50,48,48,47,46,43,40,39,37,
01027     37,36,36,35,33,32,30,30
01028   };
01029   const int n1c1w4_t[] = {
01030     100, // Capacity
01031     50, // Number of items
01032     // Size of items (sorted)
01033     98,96,94,87,86,85,83,81,80,79,77,77,76,75,72,70,69,69,69,68,68,
01034     68,68,67,67,66,65,65,63,62,60,60,60,59,58,56,53,53,52,52,50,50,
01035     49,45,45,44,39,36,32,30
01036   };
01037   const int n1c2w1_a[] = {
01038     120, // Capacity
01039     50, // Number of items
01040     // Size of items (sorted)
01041     100,97,96,92,89,88,88,87,83,75,75,72,71,70,69,66,63,62,62,61,
01042     60,58,50,47,46,40,40,37,36,32,31,30,28,27,27,26,24,18,16,14,13,
01043     12,10,10,10,8,7,5,4,2
01044   };
01045   const int n1c2w1_b[] = {
01046     120, // Capacity
01047     50, // Number of items
01048     // Size of items (sorted)
01049     99,96,96,96,95,95,94,90,90,88,87,84,82,78,77,77,77,75,75,70,70,
01050     69,68,56,54,53,53,50,50,49,48,47,45,38,36,35,34,28,25,21,19,18,
01051     16,13,13,7,7,6,3,3
01052   };
01053   const int n1c2w1_c[] = {
01054     120, // Capacity
01055     50, // Number of items
01056     // Size of items (sorted)
01057     100,97,96,92,89,86,83,83,82,79,77,76,73,73,70,69,69,61,60,60,
01058     60,58,56,56,53,51,49,48,48,48,47,46,42,41,36,35,34,32,32,32,31,
01059     22,17,12,12,6,6,5,3,2
01060   };
01061   const int n1c2w1_d[] = {
01062     120, // Capacity
01063     50, // Number of items
01064     // Size of items (sorted)
01065     98,96,96,87,87,87,86,85,83,83,82,81,77,74,67,65,64,64,63,60,57,
01066     57,56,55,50,49,46,43,43,42,37,33,31,31,27,27,26,25,23,23,19,18,
01067     15,13,10,9,6,3,2,1
01068   };
01069   const int n1c2w1_e[] = {
01070     120, // Capacity
01071     50, // Number of items
01072     // Size of items (sorted)
01073     94,92,89,89,87,82,82,81,80,80,78,71,70,67,66,63,58,52,50,48,46,
01074     36,34,33,31,30,27,26,21,21,20,19,18,18,17,12,11,11,11,11,10,10,
01075     7,7,7,6,5,5,4,3
01076   };
01077   const int n1c2w1_f[] = {
01078     120, // Capacity
01079     50, // Number of items
01080     // Size of items (sorted)
01081     99,95,95,94,91,90,89,84,82,81,78,78,77,73,72,69,62,60,59,58,56,
01082     56,52,52,51,48,48,47,47,45,43,42,38,32,32,31,28,28,28,26,23,21,
01083     20,18,14,12,8,3,2,1
01084   };
01085   const int n1c2w1_g[] = {
01086     120, // Capacity
01087     50, // Number of items
01088     // Size of items (sorted)
01089     100,100,99,96,96,95,94,90,88,84,81,79,76,70,67,65,60,60,57,57,
01090     56,52,47,45,44,42,39,37,36,36,35,31,31,28,27,27,25,19,18,17,14,
01091     14,12,9,9,9,9,3,2,1
01092   };
01093   const int n1c2w1_h[] = {
01094     120, // Capacity
01095     50, // Number of items
01096     // Size of items (sorted)
01097     99,97,94,94,90,90,87,83,82,81,79,77,76,76,75,74,72,67,66,65,63,
01098     59,59,55,51,50,50,49,47,41,41,39,38,38,37,37,35,34,33,33,21,20,
01099     18,15,14,9,8,3,1,1
01100   };
01101   const int n1c2w1_i[] = {
01102     120, // Capacity
01103     50, // Number of items
01104     // Size of items (sorted)
01105     100,100,89,89,89,89,88,87,81,78,78,77,76,75,74,73,70,70,69,66,
01106     66,64,64,64,63,61,60,58,54,52,51,50,49,48,48,48,46,45,45,43,40,
01107     39,35,34,33,24,9,4,4,1
01108   };
01109   const int n1c2w1_j[] = {
01110     120, // Capacity
01111     50, // Number of items
01112     // Size of items (sorted)
01113     99,98,96,96,95,92,91,89,88,87,86,84,82,82,79,79,78,77,75,72,69,
01114     66,64,63,61,60,56,55,54,54,49,49,48,44,44,44,41,41,39,27,23,22,
01115     22,21,15,13,7,5,3,1
01116   };
01117   const int n1c2w1_k[] = {
01118     120, // Capacity
01119     50, // Number of items
01120     // Size of items (sorted)
01121     97,96,96,94,94,91,88,87,85,81,81,77,74,74,74,71,69,68,68,66,65,
01122     63,60,59,57,57,46,46,45,45,44,43,41,37,35,35,32,30,28,27,25,23,
01123     23,19,18,16,14,14,10,8
01124   };
01125   const int n1c2w1_l[] = {
01126     120, // Capacity
01127     50, // Number of items
01128     // Size of items (sorted)
01129     98,98,98,97,97,93,92,91,90,89,89,82,82,77,76,75,74,74,73,63,62,
01130     62,61,60,56,51,49,49,47,47,45,44,43,42,39,37,33,33,32,28,25,21,
01131     20,19,11,11,6,3,2,1
01132   };
01133   const int n1c2w1_m[] = {
01134     120, // Capacity
01135     50, // Number of items
01136     // Size of items (sorted)
01137     100,99,98,98,95,93,92,89,80,80,78,77,77,73,72,71,71,71,70,70,
01138     67,66,66,65,64,60,59,53,50,48,48,47,47,45,39,38,37,33,33,28,27,
01139     19,15,14,14,12,9,9,9,1
01140   };
01141   const int n1c2w1_n[] = {
01142     120, // Capacity
01143     50, // Number of items
01144     // Size of items (sorted)
01145     93,87,85,85,82,79,76,75,70,70,69,69,68,67,66,64,62,61,59,58,58,
01146     57,56,56,55,53,53,49,45,45,43,42,40,30,30,24,24,22,22,21,20,18,
01147     18,14,13,11,9,9,6,3
01148   };
01149   const int n1c2w1_o[] = {
01150     120, // Capacity
01151     50, // Number of items
01152     // Size of items (sorted)
01153     99,86,83,83,78,76,68,59,58,58,54,53,53,51,51,48,47,45,43,40,37,
01154     32,32,32,32,31,31,28,24,22,20,19,19,19,19,15,14,13,12,12,11,10,
01155     10,10,10,6,5,4,2,1
01156   };
01157   const int n1c2w1_p[] = {
01158     120, // Capacity
01159     50, // Number of items
01160     // Size of items (sorted)
01161     97,96,94,94,93,80,79,78,77,77,76,76,72,72,71,70,67,67,63,60,59,
01162     55,54,52,51,49,48,47,46,43,34,32,28,27,27,26,25,23,22,20,17,14,
01163     13,12,12,10,5,4,3,2
01164   };
01165   const int n1c2w1_q[] = {
01166     120, // Capacity
01167     50, // Number of items
01168     // Size of items (sorted)
01169     98,96,95,91,91,90,88,87,83,83,77,74,73,72,72,70,70,67,66,66,63,
01170     60,59,58,58,57,56,55,54,45,45,41,31,31,29,26,24,21,18,16,16,15,
01171     14,14,9,9,8,8,6,2
01172   };
01173   const int n1c2w1_r[] = {
01174     120, // Capacity
01175     50, // Number of items
01176     // Size of items (sorted)
01177     100,99,98,96,95,95,92,91,87,85,85,84,78,78,77,76,74,69,68,67,
01178     65,64,62,55,52,45,43,41,40,38,33,29,27,27,26,24,24,24,23,22,22,
01179     21,14,13,12,10,8,2,1,1
01180   };
01181   const int n1c2w1_s[] = {
01182     120, // Capacity
01183     50, // Number of items
01184     // Size of items (sorted)
01185     97,93,92,90,87,83,82,82,80,80,78,78,72,71,68,67,63,62,60,59,56,
01186     56,55,54,54,51,50,48,46,45,42,41,35,32,32,28,26,25,25,25,24,22,
01187     21,21,14,12,10,9,9,7
01188   };
01189   const int n1c2w1_t[] = {
01190     120, // Capacity
01191     50, // Number of items
01192     // Size of items (sorted)
01193     100,93,93,89,89,87,81,81,79,78,77,70,68,67,66,66,65,64,62,61,
01194     60,57,53,53,52,52,52,48,44,44,43,43,42,41,39,39,37,35,34,30,30,
01195     29,26,25,16,16,10,10,7,6
01196   };
01197   const int n1c2w2_a[] = {
01198     120, // Capacity
01199     50, // Number of items
01200     // Size of items (sorted)
01201     100,97,97,95,93,87,87,86,82,82,78,76,76,75,74,71,68,66,65,63,
01202     59,59,58,58,57,52,51,46,46,46,43,42,42,41,41,41,38,37,36,36,32,
01203     32,31,30,27,25,22,22,22,21
01204   };
01205   const int n1c2w2_b[] = {
01206     120, // Capacity
01207     50, // Number of items
01208     // Size of items (sorted)
01209     100,98,98,97,95,94,90,90,89,86,85,83,81,79,79,74,72,72,71,68,
01210     67,65,64,64,62,59,58,56,55,55,54,51,51,50,47,46,45,44,43,40,36,
01211     34,33,31,29,28,27,27,26,21
01212   };
01213   const int n1c2w2_c[] = {
01214     120, // Capacity
01215     50, // Number of items
01216     // Size of items (sorted)
01217     100,98,97,95,93,91,90,87,85,83,83,81,81,79,76,74,74,73,73,71,
01218     71,70,67,67,66,62,62,60,57,54,54,53,52,51,51,50,49,48,48,45,44,
01219     44,40,36,34,32,31,27,26,20
01220   };
01221   const int n1c2w2_d[] = {
01222     120, // Capacity
01223     50, // Number of items
01224     // Size of items (sorted)
01225     99,98,98,97,96,90,88,86,82,82,80,79,76,76,76,74,69,67,66,64,62,
01226     59,55,52,51,51,50,49,44,43,41,41,41,41,41,37,35,33,32,32,31,31,
01227     31,30,29,23,23,22,20,20
01228   };
01229   const int n1c2w2_e[] = {
01230     120, // Capacity
01231     50, // Number of items
01232     // Size of items (sorted)
01233     100,99,99,99,99,98,98,94,93,92,92,89,89,89,84,83,80,80,78,77,
01234     75,74,74,70,70,68,68,66,63,62,60,59,58,58,58,55,54,53,52,49,42,
01235     41,36,35,35,31,26,23,22,20
01236   };
01237   const int n1c2w2_f[] = {
01238     120, // Capacity
01239     50, // Number of items
01240     // Size of items (sorted)
01241     100,100,99,99,98,91,90,84,83,81,78,78,75,73,72,72,71,70,68,66,
01242     62,59,58,58,57,54,53,53,51,51,51,51,48,45,45,42,42,39,37,37,35,
01243     32,31,31,26,26,25,21,21,20
01244   };
01245   const int n1c2w2_g[] = {
01246     120, // Capacity
01247     50, // Number of items
01248     // Size of items (sorted)
01249     100,97,94,93,93,91,89,89,86,85,85,82,81,80,80,80,80,79,77,75,
01250     74,72,67,67,63,62,59,58,58,57,54,54,53,51,48,47,46,44,44,41,41,
01251     39,36,35,33,32,32,29,28,24
01252   };
01253   const int n1c2w2_h[] = {
01254     120, // Capacity
01255     50, // Number of items
01256     // Size of items (sorted)
01257     99,98,93,93,91,88,85,82,80,78,76,70,68,67,66,65,61,61,57,56,56,
01258     53,52,52,52,51,48,47,46,44,43,43,43,41,41,41,37,37,36,36,35,33,
01259     33,32,31,27,26,22,22,21
01260   };
01261   const int n1c2w2_i[] = {
01262     120, // Capacity
01263     50, // Number of items
01264     // Size of items (sorted)
01265     96,92,92,91,91,90,89,88,83,83,81,79,77,76,76,71,70,68,68,66,63,
01266     63,63,62,60,60,58,57,53,53,52,52,49,47,45,44,41,38,37,34,33,32,
01267     31,29,27,26,25,23,21,21
01268   };
01269   const int n1c2w2_j[] = {
01270     120, // Capacity
01271     50, // Number of items
01272     // Size of items (sorted)
01273     100,98,96,95,95,93,91,89,89,88,88,81,80,78,73,72,69,67,64,61,
01274     60,54,52,52,51,50,50,49,49,47,46,44,43,42,41,40,40,39,36,33,33,
01275     28,26,26,25,23,22,22,22,20
01276   };
01277   const int n1c2w2_k[] = {
01278     120, // Capacity
01279     50, // Number of items
01280     // Size of items (sorted)
01281     97,97,95,91,91,89,85,85,82,82,81,75,74,73,70,70,70,69,68,67,67,
01282     67,65,63,63,63,62,61,60,60,55,48,46,45,45,45,45,44,43,43,42,41,
01283     39,37,36,30,28,22,22,22
01284   };
01285   const int n1c2w2_l[] = {
01286     120, // Capacity
01287     50, // Number of items
01288     // Size of items (sorted)
01289     96,95,93,92,90,87,87,86,86,86,85,84,83,82,78,78,78,78,77,76,76,
01290     72,72,71,70,68,65,65,62,59,58,51,42,42,40,38,38,36,34,34,33,32,
01291     30,29,29,27,26,25,24,23
01292   };
01293   const int n1c2w2_m[] = {
01294     120, // Capacity
01295     50, // Number of items
01296     // Size of items (sorted)
01297     100,99,99,99,97,95,95,94,93,92,92,88,86,86,86,84,79,78,78,77,
01298     76,69,68,65,61,60,58,57,57,55,54,54,53,53,52,52,51,48,47,43,43,
01299     40,39,38,36,34,33,28,27,25
01300   };
01301   const int n1c2w2_n[] = {
01302     120, // Capacity
01303     50, // Number of items
01304     // Size of items (sorted)
01305     99,97,95,94,88,87,85,83,82,78,75,72,71,71,70,69,67,67,65,64,63,
01306     62,59,59,58,58,58,58,58,54,53,53,52,49,49,48,45,45,44,43,43,42,
01307     40,38,36,34,30,30,24,20
01308   };
01309   const int n1c2w2_o[] = {
01310     120, // Capacity
01311     50, // Number of items
01312     // Size of items (sorted)
01313     100,99,98,96,94,90,89,88,88,86,84,81,81,80,79,79,78,76,72,72,
01314     72,68,68,65,63,63,63,62,62,57,57,55,48,48,47,45,44,44,41,39,36,
01315     33,31,30,28,26,25,24,22,20
01316   };
01317   const int n1c2w2_p[] = {
01318     120, // Capacity
01319     50, // Number of items
01320     // Size of items (sorted)
01321     94,93,91,90,90,88,87,82,77,75,72,71,70,70,69,69,66,65,63,59,57,
01322     56,53,51,48,48,48,47,44,44,43,42,41,40,39,38,37,36,36,32,31,31,
01323     29,29,27,23,23,21,20,20
01324   };
01325   const int n1c2w2_q[] = {
01326     120, // Capacity
01327     50, // Number of items
01328     // Size of items (sorted)
01329     96,96,91,90,89,86,86,84,83,83,82,82,82,82,79,75,73,72,71,69,68,
01330     67,67,66,65,63,62,61,59,59,59,59,58,56,56,55,54,53,50,45,41,39,
01331     35,33,29,25,24,21,20,20
01332   };
01333   const int n1c2w2_r[] = {
01334     120, // Capacity
01335     50, // Number of items
01336     // Size of items (sorted)
01337     99,98,96,91,88,88,86,86,82,82,81,78,77,77,76,76,72,72,70,68,67,
01338     64,61,60,59,56,55,49,48,47,47,46,44,43,43,42,40,40,39,38,35,34,
01339     30,30,29,27,26,21,20,20
01340   };
01341   const int n1c2w2_s[] = {
01342     120, // Capacity
01343     50, // Number of items
01344     // Size of items (sorted)
01345     100,94,94,92,91,87,87,85,82,78,76,75,72,72,72,69,61,61,61,61,
01346     61,56,55,54,53,51,51,50,47,44,44,44,44,42,42,39,38,36,34,33,33,
01347     32,31,30,29,28,26,25,23,23
01348   };
01349   const int n1c2w2_t[] = {
01350     120, // Capacity
01351     50, // Number of items
01352     // Size of items (sorted)
01353     100,96,96,91,84,83,83,83,81,81,80,80,77,77,72,70,70,68,68,67,
01354     65,64,63,62,60,59,58,51,51,50,49,47,47,47,46,45,43,43,41,38,37,
01355     36,35,31,31,29,28,27,26,20
01356   };
01357   const int n1c2w4_a[] = {
01358     120, // Capacity
01359     50, // Number of items
01360     // Size of items (sorted)
01361     100,99,97,97,96,96,95,92,92,90,90,88,87,87,85,84,83,82,81,79,
01362     74,68,68,63,59,58,56,55,55,51,50,49,49,49,47,44,44,42,39,37,37,
01363     34,34,34,33,33,31,30,30,30
01364   };
01365   const int n1c2w4_b[] = {
01366     120, // Capacity
01367     50, // Number of items
01368     // Size of items (sorted)
01369     99,96,94,93,93,91,87,87,87,84,84,83,83,83,83,83,82,81,81,78,77,
01370     77,77,76,67,65,61,61,59,58,53,53,50,49,48,47,47,46,46,44,43,42,
01371     41,41,38,35,34,32,32,31
01372   };
01373   const int n1c2w4_c[] = {
01374     120, // Capacity
01375     50, // Number of items
01376     // Size of items (sorted)
01377     100,100,99,96,96,93,91,90,90,87,84,83,80,80,80,75,74,72,72,71,
01378     71,70,69,66,65,63,60,58,57,56,54,54,53,53,53,51,51,49,46,43,40,
01379     39,38,37,37,34,33,33,31,31
01380   };
01381   const int n1c2w4_d[] = {
01382     120, // Capacity
01383     50, // Number of items
01384     // Size of items (sorted)
01385     97,97,96,94,93,91,89,89,86,83,79,78,77,77,77,75,75,74,71,68,68,
01386     67,65,63,61,61,58,57,56,54,48,46,44,43,41,41,40,38,36,36,35,35,
01387     35,35,35,34,33,33,33,31
01388   };
01389   const int n1c2w4_e[] = {
01390     120, // Capacity
01391     50, // Number of items
01392     // Size of items (sorted)
01393     100,99,99,97,97,96,96,96,93,93,91,84,83,81,79,78,77,74,71,67,
01394     66,63,62,61,61,61,59,59,59,58,57,56,54,54,53,53,51,50,49,48,45,
01395     45,45,40,40,39,39,34,32,30
01396   };
01397   const int n1c2w4_f[] = {
01398     120, // Capacity
01399     50, // Number of items
01400     // Size of items (sorted)
01401     99,98,98,97,96,93,88,86,86,85,85,81,80,80,77,76,74,73,73,72,69,
01402     69,67,66,66,65,64,63,63,62,60,59,59,59,54,54,51,49,49,46,43,43,
01403     38,38,38,38,36,36,35,33
01404   };
01405   const int n1c2w4_g[] = {
01406     120, // Capacity
01407     50, // Number of items
01408     // Size of items (sorted)
01409     100,99,99,97,95,93,91,91,90,90,88,88,87,86,82,80,79,75,70,69,
01410     68,66,66,64,62,62,61,60,60,57,56,55,53,51,47,46,44,42,38,37,36,
01411     36,36,36,35,35,32,32,31,31
01412   };
01413   const int n1c2w4_h[] = {
01414     120, // Capacity
01415     50, // Number of items
01416     // Size of items (sorted)
01417     99,98,97,95,94,93,93,93,92,91,91,89,86,85,81,77,74,70,69,68,67,
01418     66,66,65,63,62,61,60,59,58,57,57,56,56,52,50,49,48,47,43,43,43,
01419     40,39,37,36,36,35,30,30
01420   };
01421   const int n1c2w4_i[] = {
01422     120, // Capacity
01423     50, // Number of items
01424     // Size of items (sorted)
01425     97,92,91,88,87,86,85,85,84,84,84,83,80,80,79,78,76,76,76,76,75,
01426     75,75,74,74,74,72,71,71,70,67,63,59,59,57,55,55,54,50,49,44,42,
01427     40,38,37,35,31,31,30,30
01428   };
01429   const int n1c2w4_j[] = {
01430     120, // Capacity
01431     50, // Number of items
01432     // Size of items (sorted)
01433     100,97,96,90,86,84,83,82,79,78,76,74,72,70,70,70,68,68,67,67,
01434     66,66,66,65,64,64,63,63,62,59,57,57,57,55,54,54,51,49,48,47,43,
01435     41,40,40,37,37,34,33,32,32
01436   };
01437   const int n1c2w4_k[] = {
01438     120, // Capacity
01439     50, // Number of items
01440     // Size of items (sorted)
01441     100,100,100,99,98,93,91,89,88,87,84,82,80,80,78,78,77,77,77,76,
01442     75,75,73,71,71,70,65,61,61,60,59,58,58,55,53,52,51,49,49,44,43,
01443     42,40,40,40,39,38,38,32,32
01444   };
01445   const int n1c2w4_l[] = {
01446     120, // Capacity
01447     50, // Number of items
01448     // Size of items (sorted)
01449     99,99,98,98,94,93,92,90,90,89,89,88,84,81,79,78,77,77,76,75,74,
01450     72,72,70,69,66,64,63,60,57,57,56,54,52,47,45,43,43,43,41,40,39,
01451     39,38,37,37,36,35,34,30
01452   };
01453   const int n1c2w4_m[] = {
01454     120, // Capacity
01455     50, // Number of items
01456     // Size of items (sorted)
01457     99,99,99,97,95,94,92,91,90,90,90,90,88,83,79,78,78,76,76,70,68,
01458     67,66,63,62,62,61,60,58,58,58,58,56,56,55,54,53,51,50,48,48,47,
01459     42,37,37,37,36,32,31,30
01460   };
01461   const int n1c2w4_n[] = {
01462     120, // Capacity
01463     50, // Number of items
01464     // Size of items (sorted)
01465     98,96,93,92,91,91,91,90,90,90,89,89,88,88,84,82,77,76,76,75,74,
01466     73,72,69,69,66,65,59,59,58,57,56,54,53,52,52,51,51,49,48,47,47,
01467     46,42,41,40,39,36,35,33
01468   };
01469   const int n1c2w4_o[] = {
01470     120, // Capacity
01471     50, // Number of items
01472     // Size of items (sorted)
01473     100,97,94,93,91,91,86,84,83,78,78,78,77,77,77,77,75,74,74,73,
01474     71,69,68,64,64,62,62,61,57,54,54,53,50,49,49,48,47,47,47,46,45,
01475     45,44,44,42,40,39,35,35,35
01476   };
01477   const int n1c2w4_p[] = {
01478     120, // Capacity
01479     50, // Number of items
01480     // Size of items (sorted)
01481     98,98,95,95,93,91,91,89,89,87,83,83,82,78,77,76,75,74,72,67,62,
01482     61,59,57,55,55,54,52,50,49,49,48,47,47,45,45,44,44,43,43,42,40,
01483     39,39,38,37,36,33,33,31
01484   };
01485   const int n1c2w4_q[] = {
01486     120, // Capacity
01487     50, // Number of items
01488     // Size of items (sorted)
01489     100,98,98,98,91,90,90,88,87,87,87,86,86,83,82,81,80,80,76,73,
01490     72,71,71,70,69,68,68,67,67,66,65,64,60,54,53,52,52,47,46,46,46,
01491     41,40,37,37,36,36,35,34,33
01492   };
01493   const int n1c2w4_r[] = {
01494     120, // Capacity
01495     50, // Number of items
01496     // Size of items (sorted)
01497     100,99,99,98,95,95,95,94,90,87,87,86,85,85,83,82,80,79,79,76,
01498     73,73,72,71,70,69,69,68,68,66,65,63,63,62,58,57,56,55,54,53,52,
01499     49,47,46,46,43,42,35,34,31
01500   };
01501   const int n1c2w4_s[] = {
01502     120, // Capacity
01503     50, // Number of items
01504     // Size of items (sorted)
01505     98,98,93,93,93,92,92,92,92,90,89,86,86,85,85,84,83,83,83,81,81,
01506     78,77,77,75,74,71,70,70,68,66,66,65,65,63,62,61,61,59,57,50,50,
01507     49,49,47,44,40,32,31,30
01508   };
01509   const int n1c2w4_t[] = {
01510     120, // Capacity
01511     50, // Number of items
01512     // Size of items (sorted)
01513     97,95,91,89,88,87,86,83,82,82,81,73,73,69,69,68,68,68,65,62,61,
01514     60,60,60,58,58,58,56,55,54,54,52,51,51,51,49,49,47,45,44,43,42,
01515     42,41,41,40,36,33,30,30
01516   };
01517   const int n1c3w1_a[] = {
01518     150, // Capacity
01519     50, // Number of items
01520     // Size of items (sorted)
01521     100,100,96,94,90,88,87,85,83,81,80,80,77,74,65,62,62,62,61,59,
01522     59,57,54,51,45,45,40,38,37,37,37,36,29,29,27,26,22,22,21,17,14,
01523     14,8,7,6,5,5,3,3,1
01524   };
01525   const int n1c3w1_b[] = {
01526     150, // Capacity
01527     50, // Number of items
01528     // Size of items (sorted)
01529     95,88,88,86,85,84,84,82,81,79,72,71,69,69,69,68,68,65,61,61,61,
01530     61,60,58,57,57,53,44,43,36,29,29,27,23,23,22,21,17,14,14,14,13,
01531     12,11,11,6,5,3,3,2
01532   };
01533   const int n1c3w1_c[] = {
01534     150, // Capacity
01535     50, // Number of items
01536     // Size of items (sorted)
01537     100,99,95,94,87,85,85,83,81,81,80,80,77,76,75,74,73,73,72,66,
01538     63,60,52,50,47,45,44,43,39,39,38,38,35,34,33,32,25,25,23,20,17,
01539     15,15,14,12,11,10,10,8,8
01540   };
01541   const int n1c3w1_d[] = {
01542     150, // Capacity
01543     50, // Number of items
01544     // Size of items (sorted)
01545     99,96,95,95,92,91,90,86,86,86,85,80,77,77,76,76,71,70,70,69,68,
01546     64,64,61,60,60,56,55,53,52,50,48,44,41,40,38,38,37,35,21,19,14,
01547     12,9,6,6,6,4,3,2
01548   };
01549   const int n1c3w1_e[] = {
01550     150, // Capacity
01551     50, // Number of items
01552     // Size of items (sorted)
01553     99,97,97,96,95,89,88,83,81,81,79,77,76,75,74,61,55,51,50,50,48,
01554     48,47,46,45,42,42,38,35,34,32,32,31,26,25,21,14,13,11,10,9,9,
01555     9,8,8,7,5,5,5,1
01556   };
01557   const int n1c3w1_f[] = {
01558     150, // Capacity
01559     50, // Number of items
01560     // Size of items (sorted)
01561     100,98,97,96,95,93,92,88,88,86,84,83,80,80,78,77,76,76,76,74,
01562     73,70,69,68,65,64,63,62,62,61,60,60,53,51,51,42,41,28,26,23,22,
01563     21,16,13,9,9,7,5,2,2
01564   };
01565   const int n1c3w1_g[] = {
01566     150, // Capacity
01567     50, // Number of items
01568     // Size of items (sorted)
01569     97,92,91,91,88,86,85,84,79,76,75,67,66,65,62,61,61,58,54,54,50,
01570     47,46,45,44,44,42,37,37,30,27,27,26,23,23,21,20,20,19,13,12,11,
01571     10,9,9,6,5,5,5,1
01572   };
01573   const int n1c3w1_h[] = {
01574     150, // Capacity
01575     50, // Number of items
01576     // Size of items (sorted)
01577     99,91,89,89,89,88,86,85,83,82,80,80,80,80,78,76,73,69,67,66,65,
01578     65,64,64,60,60,57,56,56,52,51,45,43,42,42,38,37,32,32,32,29,28,
01579     26,25,18,15,10,6,6,4
01580   };
01581   const int n1c3w1_i[] = {
01582     150, // Capacity
01583     50, // Number of items
01584     // Size of items (sorted)
01585     100,98,97,95,87,87,87,84,80,77,76,73,71,66,66,62,61,60,60,60,
01586     57,56,53,52,51,49,46,44,44,43,43,38,33,31,30,29,29,28,24,22,18,
01587     17,16,16,16,15,12,8,3,2
01588   };
01589   const int n1c3w1_j[] = {
01590     150, // Capacity
01591     50, // Number of items
01592     // Size of items (sorted)
01593     99,98,92,91,90,88,87,86,82,80,77,74,73,72,72,71,69,69,63,61,55,
01594     54,53,50,48,48,48,37,37,37,34,33,32,29,26,22,19,17,15,14,10,9,
01595     7,3,3,2,2,2,1,1
01596   };
01597   const int n1c3w1_k[] = {
01598     150, // Capacity
01599     50, // Number of items
01600     // Size of items (sorted)
01601     100,96,95,94,94,92,92,90,86,84,77,73,66,66,59,56,56,56,55,54,
01602     53,53,53,52,49,48,47,45,45,45,41,41,41,37,36,24,22,21,20,18,16,
01603     15,14,14,13,12,10,8,4,1
01604   };
01605   const int n1c3w1_l[] = {
01606     150, // Capacity
01607     50, // Number of items
01608     // Size of items (sorted)
01609     99,99,93,93,90,90,87,87,81,81,80,78,77,76,68,64,63,62,60,60,59,
01610     58,53,52,52,47,45,44,44,42,39,39,36,35,29,29,28,26,25,18,9,7,
01611     7,7,7,6,5,5,5,1
01612   };
01613   const int n1c3w1_m[] = {
01614     150, // Capacity
01615     50, // Number of items
01616     // Size of items (sorted)
01617     100,100,99,94,90,88,88,86,86,84,84,80,77,73,70,69,69,66,66,61,
01618     58,58,57,57,52,51,47,44,43,42,36,34,28,27,26,25,21,18,18,17,13,
01619     12,12,12,11,9,8,7,4,4
01620   };
01621   const int n1c3w1_n[] = {
01622     150, // Capacity
01623     50, // Number of items
01624     // Size of items (sorted)
01625     98,97,91,90,90,90,88,87,87,85,83,81,79,78,78,76,74,74,73,72,68,
01626     66,64,63,61,57,56,56,56,55,55,48,48,46,44,44,39,37,35,35,34,32,
01627     31,29,27,26,19,18,17,11
01628   };
01629   const int n1c3w1_o[] = {
01630     150, // Capacity
01631     50, // Number of items
01632     // Size of items (sorted)
01633     96,96,96,94,94,87,86,84,84,83,82,82,80,77,75,57,57,56,55,54,52,
01634     51,48,48,48,46,46,45,42,34,34,34,32,32,30,23,16,16,16,15,15,14,
01635     12,10,6,6,3,1,1,1
01636   };
01637   const int n1c3w1_p[] = {
01638     150, // Capacity
01639     50, // Number of items
01640     // Size of items (sorted)
01641     99,99,98,98,96,93,93,92,91,89,85,82,80,79,78,73,73,71,70,69,69,
01642     61,61,55,54,52,47,47,46,43,43,42,41,38,36,35,34,28,27,25,24,21,
01643     17,13,10,9,6,5,5,2
01644   };
01645   const int n1c3w1_q[] = {
01646     150, // Capacity
01647     50, // Number of items
01648     // Size of items (sorted)
01649     100,100,100,100,98,96,95,93,90,89,86,86,85,85,84,81,79,78,74,
01650     70,69,68,66,62,62,61,58,56,55,54,53,51,48,44,42,40,36,35,33,32,
01651     31,24,23,23,18,13,12,4,4,2
01652   };
01653   const int n1c3w1_r[] = {
01654     150, // Capacity
01655     50, // Number of items
01656     // Size of items (sorted)
01657     100,99,97,97,97,95,94,91,88,87,87,86,86,86,82,77,77,75,74,73,
01658     72,71,70,65,63,62,60,59,56,56,51,50,50,49,49,47,47,46,36,29,23,
01659     23,21,20,18,16,13,11,9,3
01660   };
01661   const int n1c3w1_s[] = {
01662     150, // Capacity
01663     50, // Number of items
01664     // Size of items (sorted)
01665     95,90,88,87,86,83,79,78,76,75,71,70,70,68,64,63,63,61,59,58,57,
01666     57,53,52,52,49,44,40,36,36,32,29,25,23,23,22,22,20,19,19,19,17,
01667     16,11,11,7,6,5,3,2
01668   };
01669   const int n1c3w1_t[] = {
01670     150, // Capacity
01671     50, // Number of items
01672     // Size of items (sorted)
01673     98,98,97,96,93,93,92,89,83,82,76,76,76,74,70,69,67,66,66,65,62,
01674     60,58,56,56,55,55,54,53,51,49,47,42,35,31,31,26,22,22,22,18,17,
01675     17,17,16,9,8,5,4,4
01676   };
01677   const int n1c3w2_a[] = {
01678     150, // Capacity
01679     50, // Number of items
01680     // Size of items (sorted)
01681     100,96,94,93,91,91,91,88,84,83,80,78,78,76,75,74,72,72,70,65,
01682     61,60,56,52,51,51,48,46,45,38,38,37,37,37,36,35,35,32,32,31,30,
01683     29,29,28,27,27,23,23,22,21
01684   };
01685   const int n1c3w2_b[] = {
01686     150, // Capacity
01687     50, // Number of items
01688     // Size of items (sorted)
01689     98,96,95,94,92,89,88,88,87,87,86,85,83,80,80,77,76,76,73,72,71,
01690     69,69,69,57,57,53,50,45,45,44,44,43,42,37,36,36,35,35,34,33,31,
01691     30,27,24,24,23,21,20,20
01692   };
01693   const int n1c3w2_c[] = {
01694     150, // Capacity
01695     50, // Number of items
01696     // Size of items (sorted)
01697     98,98,96,95,94,93,92,91,89,88,88,88,86,83,83,82,80,79,78,76,76,
01698     75,73,67,63,63,62,55,54,53,52,51,51,51,47,45,45,42,42,40,37,37,
01699     36,36,29,29,25,24,20,20
01700   };
01701   const int n1c3w2_d[] = {
01702     150, // Capacity
01703     50, // Number of items
01704     // Size of items (sorted)
01705     100,99,98,96,94,92,90,89,89,89,87,86,81,80,78,77,74,74,72,72,
01706     63,62,60,60,55,55,54,53,50,50,46,46,45,42,42,41,38,35,34,33,33,
01707     32,28,28,27,26,23,21,21,20
01708   };
01709   const int n1c3w2_e[] = {
01710     150, // Capacity
01711     50, // Number of items
01712     // Size of items (sorted)
01713     100,100,99,96,95,94,92,92,90,89,89,84,82,80,80,79,74,74,72,71,
01714     69,67,67,64,62,60,60,59,58,55,51,48,47,46,45,43,42,41,41,40,38,
01715     34,33,32,27,26,24,24,23,20
01716   };
01717   const int n1c3w2_f[] = {
01718     150, // Capacity
01719     50, // Number of items
01720     // Size of items (sorted)
01721     100,99,99,98,97,96,93,91,89,86,85,82,78,76,75,74,73,71,68,68,
01722     66,65,65,64,63,63,63,63,63,62,60,59,56,55,55,53,51,50,48,45,43,
01723     43,42,42,39,39,35,31,27,26
01724   };
01725   const int n1c3w2_g[] = {
01726     150, // Capacity
01727     50, // Number of items
01728     // Size of items (sorted)
01729     98,98,98,96,93,93,92,91,90,90,87,87,86,85,83,82,81,78,78,75,75,
01730     74,74,72,72,71,70,69,68,66,61,60,60,59,57,53,51,42,40,40,35,34,
01731     34,31,30,30,24,22,21,20
01732   };
01733   const int n1c3w2_h[] = {
01734     150, // Capacity
01735     50, // Number of items
01736     // Size of items (sorted)
01737     99,98,98,97,97,95,94,93,91,91,88,87,82,80,80,79,79,79,75,74,73,
01738     72,71,69,68,66,63,63,61,60,58,58,55,54,53,53,52,50,46,45,44,42,
01739     40,38,37,35,29,24,24,20
01740   };
01741   const int n1c3w2_i[] = {
01742     150, // Capacity
01743     50, // Number of items
01744     // Size of items (sorted)
01745     96,95,91,89,87,86,85,81,78,78,68,67,66,66,65,62,61,60,60,59,58,
01746     56,54,51,50,50,49,49,49,48,47,46,46,46,45,45,44,41,41,41,40,36,
01747     35,34,33,32,31,27,26,26
01748   };
01749   const int n1c3w2_j[] = {
01750     150, // Capacity
01751     50, // Number of items
01752     // Size of items (sorted)
01753     99,96,95,95,94,93,93,92,91,91,90,89,87,86,86,84,81,80,73,68,66,
01754     64,62,61,61,59,59,56,55,54,49,48,48,47,46,45,45,43,42,41,41,40,
01755     39,37,36,34,32,26,24,20
01756   };
01757   const int n1c3w2_k[] = {
01758     150, // Capacity
01759     50, // Number of items
01760     // Size of items (sorted)
01761     95,94,93,93,91,89,89,89,88,85,82,82,78,78,77,76,73,73,73,70,70,
01762     70,70,69,68,66,63,62,59,55,55,53,51,49,42,42,41,41,40,38,35,32,
01763     31,30,30,28,28,24,23,23
01764   };
01765   const int n1c3w2_l[] = {
01766     150, // Capacity
01767     50, // Number of items
01768     // Size of items (sorted)
01769     99,99,98,98,97,95,92,92,87,85,84,83,80,78,77,75,73,73,69,68,66,
01770     63,63,63,59,57,56,56,53,53,51,50,50,48,48,46,46,44,43,42,39,37,
01771     34,32,29,25,24,22,22,21
01772   };
01773   const int n1c3w2_m[] = {
01774     150, // Capacity
01775     50, // Number of items
01776     // Size of items (sorted)
01777     100,99,96,94,92,91,91,89,85,84,81,81,79,79,78,77,76,75,74,73,
01778     67,65,64,63,63,59,57,57,54,52,51,49,49,47,46,46,44,44,43,43,40,
01779     38,34,33,32,31,30,29,25,22
01780   };
01781   const int n1c3w2_n[] = {
01782     150, // Capacity
01783     50, // Number of items
01784     // Size of items (sorted)
01785     98,95,95,91,91,89,89,88,88,87,86,84,83,82,80,79,78,75,74,74,73,
01786     72,72,70,70,68,68,67,65,59,58,58,57,55,54,53,51,42,41,39,37,36,
01787     35,34,32,25,25,21,21,20
01788   };
01789   const int n1c3w2_o[] = {
01790     150, // Capacity
01791     50, // Number of items
01792     // Size of items (sorted)
01793     99,99,96,93,88,83,82,80,79,79,77,77,75,75,73,73,72,71,71,71,71,
01794     69,69,67,62,62,61,58,58,56,54,53,52,49,46,45,45,41,40,39,35,35,
01795     34,33,31,27,27,26,22,21
01796   };
01797   const int n1c3w2_p[] = {
01798     150, // Capacity
01799     50, // Number of items
01800     // Size of items (sorted)
01801     95,94,88,88,88,86,85,84,83,79,73,72,72,72,71,70,64,63,61,58,55,
01802     53,53,52,51,51,51,48,48,46,45,40,39,38,36,36,35,33,32,28,25,24,
01803     24,23,23,23,22,22,20,20
01804   };
01805   const int n1c3w2_q[] = {
01806     150, // Capacity
01807     50, // Number of items
01808     // Size of items (sorted)
01809     96,91,87,86,84,83,83,83,81,80,79,74,72,70,70,67,62,61,60,59,58,
01810     56,55,55,54,52,51,51,51,50,49,48,44,43,43,42,40,39,38,34,34,34,
01811     33,32,31,31,29,29,22,21
01812   };
01813   const int n1c3w2_r[] = {
01814     150, // Capacity
01815     50, // Number of items
01816     // Size of items (sorted)
01817     100,98,91,87,82,78,77,77,77,75,75,74,72,72,72,70,70,66,66,65,
01818     63,63,62,59,57,56,55,53,52,51,49,48,47,46,46,44,44,42,36,35,34,
01819     34,31,30,29,26,23,22,21,20
01820   };
01821   const int n1c3w2_s[] = {
01822     150, // Capacity
01823     50, // Number of items
01824     // Size of items (sorted)
01825     100,99,97,96,96,95,94,91,90,88,85,83,83,81,79,79,78,77,77,74,
01826     72,70,69,66,64,63,63,61,58,56,52,51,45,42,36,36,36,35,34,33,32,
01827     32,31,30,28,25,24,21,21,20
01828   };
01829   const int n1c3w2_t[] = {
01830     150, // Capacity
01831     50, // Number of items
01832     // Size of items (sorted)
01833     100,99,96,95,93,91,91,88,87,87,85,85,85,84,83,83,78,77,76,75,
01834     74,70,67,65,63,63,62,60,60,58,56,55,55,54,52,50,49,49,45,42,29,
01835     29,27,27,26,25,24,23,22,20
01836   };
01837   const int n1c3w4_a[] = {
01838     150, // Capacity
01839     50, // Number of items
01840     // Size of items (sorted)
01841     97,95,92,91,90,90,86,85,85,82,82,81,80,79,78,76,71,70,69,67,63,
01842     63,63,62,58,58,56,55,54,53,52,51,51,48,47,46,44,44,42,42,41,40,
01843     39,39,37,35,34,32,31,31
01844   };
01845   const int n1c3w4_b[] = {
01846     150, // Capacity
01847     50, // Number of items
01848     // Size of items (sorted)
01849     100,98,97,97,92,92,92,91,88,84,83,82,77,77,76,75,74,73,72,70,
01850     70,67,66,65,63,62,62,62,62,58,57,57,54,53,52,52,50,46,45,43,42,
01851     41,41,41,40,37,37,36,33,33
01852   };
01853   const int n1c3w4_c[] = {
01854     150, // Capacity
01855     50, // Number of items
01856     // Size of items (sorted)
01857     99,99,95,94,92,91,90,87,86,84,83,82,82,81,81,81,80,80,78,78,78,
01858     77,77,74,72,71,69,68,66,66,64,63,62,62,61,60,57,55,52,52,46,46,
01859     45,45,42,39,39,38,35,32
01860   };
01861   const int n1c3w4_d[] = {
01862     150, // Capacity
01863     50, // Number of items
01864     // Size of items (sorted)
01865     100,96,93,90,88,88,86,85,84,84,83,83,80,80,79,77,77,74,70,68,
01866     67,64,61,61,58,58,58,56,54,54,53,51,49,48,47,45,45,44,43,41,41,
01867     40,40,37,36,34,34,33,33,31
01868   };
01869   const int n1c3w4_e[] = {
01870     150, // Capacity
01871     50, // Number of items
01872     // Size of items (sorted)
01873     98,97,96,95,95,94,93,93,93,93,91,90,87,87,80,80,80,77,72,71,68,
01874     68,67,64,63,62,60,60,60,57,57,56,54,53,53,52,49,47,45,43,41,41,
01875     39,38,38,37,37,36,35,31
01876   };
01877   const int n1c3w4_f[] = {
01878     150, // Capacity
01879     50, // Number of items
01880     // Size of items (sorted)
01881     95,92,92,89,88,87,85,84,83,82,82,81,81,81,76,76,73,72,69,68,68,
01882     67,65,65,63,63,61,61,57,56,54,54,54,52,50,50,49,47,46,40,40,39,
01883     39,39,37,37,34,33,32,30
01884   };
01885   const int n1c3w4_g[] = {
01886     150, // Capacity
01887     50, // Number of items
01888     // Size of items (sorted)
01889     99,99,97,97,96,92,90,88,87,87,87,86,86,85,85,83,81,79,78,77,77,
01890     74,73,73,73,72,68,65,62,58,56,55,55,55,52,52,51,50,49,46,42,40,
01891     39,38,37,36,36,33,31,31
01892   };
01893   const int n1c3w4_h[] = {
01894     150, // Capacity
01895     50, // Number of items
01896     // Size of items (sorted)
01897     100,100,99,97,95,94,92,90,88,87,86,85,83,80,79,78,78,78,75,75,
01898     74,73,71,70,69,67,65,64,59,58,57,57,55,54,54,52,51,50,49,48,46,
01899     46,45,43,43,42,39,38,33,32
01900   };
01901   const int n1c3w4_i[] = {
01902     150, // Capacity
01903     50, // Number of items
01904     // Size of items (sorted)
01905     99,98,95,89,88,88,87,87,87,87,86,84,84,83,78,77,74,74,73,73,73,
01906     72,72,70,68,67,64,64,64,63,63,60,59,58,56,54,51,50,49,49,39,37,
01907     37,36,36,36,34,34,31,30
01908   };
01909   const int n1c3w4_j[] = {
01910     150, // Capacity
01911     50, // Number of items
01912     // Size of items (sorted)
01913     100,93,91,91,89,89,88,86,85,84,83,83,82,80,79,78,77,76,76,73,
01914     72,68,68,63,63,61,60,60,58,57,57,56,54,53,52,50,48,47,47,45,41,
01915     41,36,35,34,34,33,31,31,30
01916   };
01917   const int n1c3w4_k[] = {
01918     150, // Capacity
01919     50, // Number of items
01920     // Size of items (sorted)
01921     100,97,96,94,94,93,90,89,89,86,85,84,83,83,83,82,80,78,75,74,
01922     72,72,71,70,69,69,66,64,64,63,62,60,59,59,58,57,57,57,57,56,50,
01923     50,47,44,43,41,37,36,35,33
01924   };
01925   const int n1c3w4_l[] = {
01926     150, // Capacity
01927     50, // Number of items
01928     // Size of items (sorted)
01929     100,100,93,91,88,86,86,84,83,75,75,75,75,75,73,72,70,69,67,66,
01930     66,65,61,58,56,55,55,54,52,51,51,51,50,47,45,44,42,42,41,40,39,
01931     36,35,35,33,33,33,32,31,30
01932   };
01933   const int n1c3w4_m[] = {
01934     150, // Capacity
01935     50, // Number of items
01936     // Size of items (sorted)
01937     99,98,97,95,90,87,87,85,85,83,80,80,76,71,71,70,69,68,67,66,65,
01938     63,63,62,62,60,60,60,58,56,55,53,50,49,45,42,42,41,38,36,36,34,
01939     34,33,32,32,31,31,31,30
01940   };
01941   const int n1c3w4_n[] = {
01942     150, // Capacity
01943     50, // Number of items
01944     // Size of items (sorted)
01945     100,92,91,90,89,85,84,81,80,80,78,78,77,77,76,75,74,73,69,69,
01946     68,68,67,67,65,64,63,63,61,60,56,54,54,51,49,45,43,42,39,39,39,
01947     38,36,35,34,34,33,32,31,30
01948   };
01949   const int n1c3w4_o[] = {
01950     150, // Capacity
01951     50, // Number of items
01952     // Size of items (sorted)
01953     100,100,96,96,94,94,93,85,83,82,82,81,80,79,76,76,76,72,72,72,
01954     71,70,70,70,68,67,66,64,64,58,58,57,49,49,46,42,39,39,39,38,37,
01955     37,36,35,33,32,32,30,30,30
01956   };
01957   const int n1c3w4_p[] = {
01958     150, // Capacity
01959     50, // Number of items
01960     // Size of items (sorted)
01961     100,98,98,96,95,95,94,94,94,91,90,90,89,86,85,85,85,84,78,78,
01962     77,76,75,73,72,72,70,70,69,69,68,68,66,60,59,55,50,50,48,48,47,
01963     47,44,43,42,40,39,39,37,35
01964   };
01965   const int n1c3w4_q[] = {
01966     150, // Capacity
01967     50, // Number of items
01968     // Size of items (sorted)
01969     100,99,98,97,97,95,92,92,91,90,89,88,87,84,84,83,82,80,80,78,
01970     77,77,76,76,75,72,70,68,67,64,63,61,61,60,58,57,57,56,55,49,49,
01971     48,40,40,37,35,32,31,31,30
01972   };
01973   const int n1c3w4_r[] = {
01974     150, // Capacity
01975     50, // Number of items
01976     // Size of items (sorted)
01977     98,94,94,93,92,92,92,91,85,84,84,81,81,79,79,78,76,73,72,71,68,
01978     68,67,67,65,63,61,60,60,59,59,58,57,56,55,48,47,46,45,43,40,40,
01979     39,38,37,35,34,32,31,31
01980   };
01981   const int n1c3w4_s[] = {
01982     150, // Capacity
01983     50, // Number of items
01984     // Size of items (sorted)
01985     99,98,97,95,95,93,93,92,89,80,80,79,79,77,76,75,74,74,73,71,71,
01986     70,68,66,64,63,61,60,57,57,55,54,53,50,50,49,48,47,46,46,42,42,
01987     39,38,38,37,37,34,32,31
01988   };
01989   const int n1c3w4_t[] = {
01990     150, // Capacity
01991     50, // Number of items
01992     // Size of items (sorted)
01993     100,98,98,97,97,97,96,94,93,90,89,88,88,85,84,84,83,83,81,80,
01994     78,76,75,73,73,71,71,70,69,66,65,64,64,63,60,60,57,56,54,54,53,
01995     53,48,43,42,38,34,32,31,30
01996   };
01997   const int n2c1w1_a[] = {
01998     100, // Capacity
01999     100, // Number of items
02000     // Size of items (sorted)
02001     99,97,95,95,94,92,91,89,86,86,85,84,80,80,80,80,80,79,76,76,75,
02002     74,73,71,71,69,65,64,64,64,63,63,62,60,59,58,57,54,53,52,51,50,
02003     48,48,48,46,44,43,43,43,43,42,41,40,40,39,38,38,38,38,37,37,37,
02004     37,36,35,34,33,32,30,29,28,26,26,26,24,23,22,21,21,19,18,17,16,
02005     16,15,14,13,12,12,11,9,9,8,8,7,6,6,5,1
02006   };
02007   const int n2c1w1_b[] = {
02008     100, // Capacity
02009     100, // Number of items
02010     // Size of items (sorted)
02011     100,99,99,98,98,96,96,93,89,84,84,83,83,82,81,80,79,79,79,79,
02012     78,77,76,75,74,71,71,70,69,69,68,67,67,66,62,56,55,54,53,51,50,
02013     50,50,49,48,48,47,45,45,45,42,42,42,41,41,40,40,39,38,37,36,36,
02014     34,34,33,32,32,31,29,28,28,28,26,24,24,22,22,22,21,18,18,17,17,
02015     15,14,14,12,12,11,10,10,9,8,7,7,5,3,3,2,2
02016   };
02017   const int n2c1w1_c[] = {
02018     100, // Capacity
02019     100, // Number of items
02020     // Size of items (sorted)
02021     98,97,94,92,91,91,90,89,86,85,84,83,82,81,78,76,75,73,73,72,72,
02022     71,70,70,69,69,66,64,60,60,59,58,57,56,55,54,53,52,52,51,50,49,
02023     49,48,47,47,45,43,43,43,42,42,42,42,40,39,39,36,35,34,34,34,33,
02024     32,30,30,30,29,29,28,25,23,22,22,22,22,22,20,20,19,19,18,16,16,
02025     16,15,15,15,13,12,12,10,9,8,6,5,4,4,2,2
02026   };
02027   const int n2c1w1_d[] = {
02028     100, // Capacity
02029     100, // Number of items
02030     // Size of items (sorted)
02031     99,98,96,93,93,92,90,89,89,89,88,88,87,86,84,84,81,80,80,80,80,
02032     78,78,77,75,73,72,70,69,68,65,65,64,63,63,63,62,61,60,58,58,58,
02033     57,56,54,52,51,49,49,46,45,45,44,44,42,42,41,41,38,38,37,36,36,
02034     34,34,31,30,30,28,27,26,25,24,24,24,23,22,21,21,18,17,17,16,14,
02035     13,12,12,11,10,10,9,8,6,5,5,4,4,3,2,1
02036   };
02037   const int n2c1w1_e[] = {
02038     100, // Capacity
02039     100, // Number of items
02040     // Size of items (sorted)
02041     100,99,99,98,96,95,95,95,93,93,92,92,92,91,90,89,89,89,87,87,
02042     87,85,84,81,81,80,79,77,74,74,74,73,73,72,71,70,70,66,66,65,65,
02043     65,64,63,63,63,63,63,61,57,56,54,52,52,51,49,48,46,44,44,44,42,
02044     40,40,40,38,38,35,34,31,31,31,30,27,27,25,25,24,21,21,21,18,17,
02045     17,16,16,16,15,15,11,11,9,9,9,8,5,5,5,3,1
02046   };
02047   const int n2c1w1_f[] = {
02048     100, // Capacity
02049     100, // Number of items
02050     // Size of items (sorted)
02051     100,100,99,97,96,96,95,95,95,94,93,93,92,92,91,89,85,84,78,76,
02052     76,76,76,75,73,73,70,70,69,67,67,66,63,62,60,60,60,58,56,55,53,
02053     53,52,51,50,50,50,49,49,48,47,47,46,45,45,42,41,41,39,37,36,36,
02054     35,34,34,30,30,29,29,28,28,26,26,23,22,22,22,22,21,21,21,19,18,
02055     17,17,15,14,14,11,10,8,7,7,6,5,2,2,1,1,1
02056   };
02057   const int n2c1w1_g[] = {
02058     100, // Capacity
02059     100, // Number of items
02060     // Size of items (sorted)
02061     99,96,93,93,93,92,92,91,90,89,88,88,88,87,87,86,84,84,82,81,80,
02062     80,80,79,79,79,79,76,75,75,75,75,75,74,74,73,71,68,64,62,61,61,
02063     61,60,58,58,58,58,57,57,57,55,54,53,52,51,51,51,50,50,47,45,44,
02064     41,40,39,39,39,38,36,36,35,35,34,33,32,31,30,30,29,29,29,28,24,
02065     22,21,19,19,18,10,9,8,8,7,6,5,5,4,3,2
02066   };
02067   const int n2c1w1_h[] = {
02068     100, // Capacity
02069     100, // Number of items
02070     // Size of items (sorted)
02071     98,98,98,98,94,94,94,93,92,91,89,89,87,86,85,84,80,80,78,76,76,
02072     75,73,73,72,71,71,71,70,69,67,65,64,64,62,62,62,62,59,56,55,55,
02073     54,53,53,53,52,52,50,49,49,49,49,49,45,44,43,43,43,43,43,39,38,
02074     38,38,37,37,36,36,34,34,33,29,29,29,28,27,27,27,25,22,22,19,17,
02075     17,17,16,15,14,14,14,13,13,13,10,8,6,6,5,3
02076   };
02077   const int n2c1w1_i[] = {
02078     100, // Capacity
02079     100, // Number of items
02080     // Size of items (sorted)
02081     99,98,97,96,95,95,94,94,94,90,88,86,86,86,86,85,85,85,85,85,83,
02082     83,82,81,81,80,80,79,79,78,77,77,76,76,76,75,75,74,74,74,72,71,
02083     69,67,67,66,66,65,65,63,61,61,59,59,57,57,56,56,55,54,53,49,48,
02084     46,45,41,39,39,38,38,37,37,36,36,35,32,30,30,30,28,28,28,27,26,
02085     26,25,24,23,22,22,17,17,13,11,10,10,6,3,2,1
02086   };
02087   const int n2c1w1_j[] = {
02088     100, // Capacity
02089     100, // Number of items
02090     // Size of items (sorted)
02091     100,100,99,98,95,94,93,93,93,92,92,91,91,91,88,88,87,86,85,83,
02092     81,81,81,80,80,80,79,77,77,77,76,75,73,71,71,71,70,69,68,67,66,
02093     65,63,60,60,59,59,59,59,56,54,54,54,54,53,53,52,51,51,49,46,44,
02094     44,43,42,42,41,41,41,39,35,34,34,32,32,31,30,29,28,27,22,22,21,
02095     21,20,17,14,12,12,11,11,10,10,8,8,6,6,5,5,4
02096   };
02097   const int n2c1w1_k[] = {
02098     100, // Capacity
02099     100, // Number of items
02100     // Size of items (sorted)
02101     100,99,98,97,97,97,97,97,92,91,91,91,88,86,86,85,84,84,83,81,
02102     80,79,79,79,78,77,77,75,75,75,74,74,71,71,70,69,64,64,63,63,62,
02103     62,61,61,56,56,56,56,55,53,53,52,52,51,49,48,46,44,44,43,43,42,
02104     42,40,38,37,36,35,34,32,32,31,30,29,29,28,28,28,27,26,24,24,22,
02105     20,20,18,17,16,16,14,13,13,12,11,10,8,6,4,2,1
02106   };
02107   const int n2c1w1_l[] = {
02108     100, // Capacity
02109     100, // Number of items
02110     // Size of items (sorted)
02111     100,100,98,97,96,96,95,95,95,94,94,94,93,92,90,87,87,84,83,83,
02112     83,81,80,77,77,77,77,75,74,74,73,72,71,71,71,70,70,70,69,69,67,
02113     63,63,63,63,62,58,55,55,55,54,53,53,51,49,49,49,47,45,42,41,39,
02114     38,35,34,29,28,28,28,28,27,27,26,26,25,25,25,24,24,23,21,19,17,
02115     15,15,15,14,12,11,7,7,7,6,5,5,5,2,2,1,1
02116   };
02117   const int n2c1w1_m[] = {
02118     100, // Capacity
02119     100, // Number of items
02120     // Size of items (sorted)
02121     97,96,95,94,90,88,88,87,86,85,84,84,82,81,81,80,80,80,79,79,78,
02122     74,73,69,69,68,68,67,67,65,64,63,63,60,60,58,57,56,55,53,53,51,
02123     51,51,47,47,46,46,45,41,41,39,38,37,37,37,37,35,34,33,33,33,33,
02124     32,31,31,31,30,30,28,22,22,20,20,20,20,19,19,17,17,17,16,16,15,
02125     13,13,12,12,10,10,9,8,8,8,5,5,5,4,4,1
02126   };
02127   const int n2c1w1_n[] = {
02128     100, // Capacity
02129     100, // Number of items
02130     // Size of items (sorted)
02131     100,98,97,95,90,90,89,89,87,87,85,83,82,82,81,81,81,80,79,78,
02132     77,76,74,73,72,70,70,68,67,64,63,63,60,60,58,58,57,57,55,54,54,
02133     53,52,52,52,51,50,50,50,48,45,45,45,44,44,43,41,38,37,34,34,34,
02134     33,32,32,31,30,30,30,30,26,25,24,23,20,19,19,19,18,17,16,15,13,
02135     12,12,11,11,11,11,10,9,8,8,8,7,4,3,3,2,1
02136   };
02137   const int n2c1w1_o[] = {
02138     100, // Capacity
02139     100, // Number of items
02140     // Size of items (sorted)
02141     100,100,98,97,95,94,92,92,92,91,90,89,89,88,88,88,87,85,84,83,
02142     81,79,79,77,77,76,72,70,70,69,69,68,64,63,62,62,61,61,60,59,59,
02143     58,57,55,52,52,51,47,47,46,43,43,42,37,36,35,35,35,35,34,32,32,
02144     31,31,29,29,28,28,25,23,22,22,21,19,17,16,15,14,12,11,11,11,11,
02145     11,11,10,8,8,7,6,5,5,4,4,3,3,2,2,1,1
02146   };
02147   const int n2c1w1_p[] = {
02148     100, // Capacity
02149     100, // Number of items
02150     // Size of items (sorted)
02151     99,99,96,96,95,93,92,92,91,91,90,90,88,88,87,86,83,83,83,83,81,
02152     81,80,80,78,78,76,76,74,73,72,72,70,69,69,68,67,66,58,57,56,55,
02153     55,55,54,54,54,54,53,51,51,51,48,48,47,47,47,46,46,46,45,44,43,
02154     43,43,42,41,40,40,35,34,31,29,26,24,24,23,23,22,22,22,21,20,18,
02155     17,17,15,14,12,12,11,9,9,8,6,4,3,3,1,1
02156   };
02157   const int n2c1w1_q[] = {
02158     100, // Capacity
02159     100, // Number of items
02160     // Size of items (sorted)
02161     99,98,97,97,96,94,94,94,93,90,84,82,81,78,76,76,75,75,73,70,70,
02162     69,69,66,66,65,65,65,63,61,60,59,59,59,58,58,56,55,54,54,53,53,
02163     50,50,50,48,48,47,46,45,45,45,45,41,41,40,39,39,36,36,35,35,34,
02164     33,33,31,30,29,28,27,26,26,24,24,19,19,19,18,18,18,18,16,14,14,
02165     13,12,11,11,10,10,10,7,7,6,6,6,4,3,1,1
02166   };
02167   const int n2c1w1_r[] = {
02168     100, // Capacity
02169     100, // Number of items
02170     // Size of items (sorted)
02171     100,100,99,97,97,96,96,95,94,94,94,94,92,92,91,90,88,87,85,84,
02172     84,83,82,81,80,78,75,74,72,72,71,70,69,69,68,65,64,64,62,61,61,
02173     60,59,58,58,58,57,57,55,54,54,54,53,53,50,49,48,47,47,46,46,45,
02174     45,44,43,42,40,36,36,35,34,34,33,32,31,30,30,26,26,25,24,23,23,
02175     22,22,21,20,19,18,18,17,17,17,15,9,8,7,6,3,3
02176   };
02177   const int n2c1w1_s[] = {
02178     100, // Capacity
02179     100, // Number of items
02180     // Size of items (sorted)
02181     100,99,96,96,95,94,94,93,91,89,89,88,81,80,75,74,73,72,69,69,
02182     69,68,64,63,63,62,61,58,57,57,57,57,56,56,54,54,54,51,49,49,49,
02183     48,48,48,48,48,48,47,47,47,44,43,43,41,40,40,39,38,38,36,35,33,
02184     31,30,30,30,30,29,29,28,25,25,23,23,20,19,18,16,15,14,14,14,12,
02185     12,11,10,9,9,8,8,8,7,7,7,5,4,4,3,2,2
02186   };
02187   const int n2c1w1_t[] = {
02188     100, // Capacity
02189     100, // Number of items
02190     // Size of items (sorted)
02191     100,100,100,98,97,96,95,94,92,91,91,90,90,90,88,87,87,85,84,83,
02192     81,78,76,74,71,71,70,68,68,66,66,65,64,63,63,62,62,61,59,59,59,
02193     59,59,57,57,56,54,53,52,51,50,50,49,46,45,43,41,41,40,40,40,39,
02194     36,35,34,33,33,32,32,32,30,30,29,29,29,28,27,27,27,23,21,21,20,
02195     20,19,19,17,15,15,15,11,9,6,5,5,5,4,3,2,1
02196   };
02197   const int n2c1w2_a[] = {
02198     100, // Capacity
02199     100, // Number of items
02200     // Size of items (sorted)
02201     100,100,100,99,99,98,96,95,95,94,93,93,92,90,90,89,86,86,85,85,
02202     84,83,82,82,82,81,80,79,77,77,77,76,75,75,75,74,73,71,71,69,68,
02203     67,67,67,65,63,63,60,57,56,56,55,55,54,54,54,53,53,51,51,47,46,
02204     46,45,45,45,44,44,44,44,43,41,40,40,39,39,39,39,38,36,36,34,33,
02205     33,32,32,31,30,29,28,26,25,24,24,23,22,22,22,21,20
02206   };
02207   const int n2c1w2_b[] = {
02208     100, // Capacity
02209     100, // Number of items
02210     // Size of items (sorted)
02211     99,96,96,94,94,93,93,90,90,88,88,88,87,87,86,85,84,84,84,83,83,
02212     83,82,81,81,80,80,77,75,75,75,74,73,69,69,67,67,66,66,65,65,64,
02213     64,63,63,63,59,58,56,55,54,54,53,53,52,50,50,50,48,48,47,47,45,
02214     43,42,42,42,41,41,41,40,39,38,38,34,34,32,32,32,31,31,30,30,29,
02215     27,26,26,26,26,25,25,25,24,23,22,22,22,21,21,20
02216   };
02217   const int n2c1w2_c[] = {
02218     100, // Capacity
02219     100, // Number of items
02220     // Size of items (sorted)
02221     98,96,95,95,94,94,92,91,89,88,86,85,84,84,83,83,82,82,81,80,80,
02222     79,77,77,77,75,75,75,75,75,72,71,70,69,68,68,66,66,66,66,64,64,
02223     64,64,63,62,62,61,59,58,58,58,57,56,56,56,56,55,55,54,54,53,51,
02224     51,51,50,50,49,49,49,48,48,48,45,45,44,43,41,40,40,36,34,33,32,
02225     32,32,29,27,27,27,27,25,25,25,24,23,23,21,21,20
02226   };
02227   const int n2c1w2_d[] = {
02228     100, // Capacity
02229     100, // Number of items
02230     // Size of items (sorted)
02231     100,99,98,97,96,95,94,94,94,93,93,93,92,92,92,91,90,90,89,88,
02232     88,87,86,85,85,85,84,83,83,83,79,78,78,78,77,77,77,76,74,74,73,
02233     72,72,71,71,70,70,69,68,67,65,64,64,63,61,61,60,59,59,58,57,57,
02234     56,55,55,55,54,54,54,54,52,52,51,51,49,46,46,46,45,44,43,41,40,
02235     39,38,37,35,35,32,32,32,30,30,30,29,28,27,23,22,20
02236   };
02237   const int n2c1w2_e[] = {
02238     100, // Capacity
02239     100, // Number of items
02240     // Size of items (sorted)
02241     100,100,100,99,99,99,99,98,97,96,95,94,94,91,90,90,90,89,89,89,
02242     88,88,87,87,86,85,85,85,84,82,81,80,80,79,79,77,76,74,73,71,70,
02243     69,68,68,67,67,66,65,65,65,62,62,62,59,59,59,57,57,55,55,54,51,
02244     50,49,47,47,46,45,45,43,42,41,41,41,39,38,37,35,35,34,34,34,33,
02245     32,31,30,29,29,27,26,26,25,24,24,24,21,21,21,20,20
02246   };
02247   const int n2c1w2_f[] = {
02248     100, // Capacity
02249     100, // Number of items
02250     // Size of items (sorted)
02251     100,99,99,98,98,98,96,96,96,96,95,95,94,94,93,91,90,90,89,89,
02252     89,88,88,86,85,83,83,83,83,81,81,79,79,78,78,78,77,76,75,75,72,
02253     71,68,68,67,66,61,60,60,59,59,58,58,58,57,56,52,52,52,52,50,47,
02254     47,47,44,43,43,43,41,41,41,40,39,38,36,36,32,32,32,31,29,29,29,
02255     28,28,28,28,27,27,27,26,25,24,24,24,24,23,23,21,21
02256   };
02257   const int n2c1w2_g[] = {
02258     100, // Capacity
02259     100, // Number of items
02260     // Size of items (sorted)
02261     99,99,99,99,97,97,95,94,92,92,92,91,91,90,90,90,89,88,87,87,86,
02262     85,84,83,83,83,81,80,79,78,78,77,76,76,74,73,73,72,72,72,71,70,
02263     70,70,68,68,67,67,65,65,65,64,64,64,64,63,63,63,63,61,60,59,58,
02264     57,57,56,55,54,53,51,50,49,48,48,48,47,47,45,41,39,39,38,38,37,
02265     36,35,29,28,27,26,26,24,22,22,22,22,22,21,20,20
02266   };
02267   const int n2c1w2_h[] = {
02268     100, // Capacity
02269     100, // Number of items
02270     // Size of items (sorted)
02271     100,99,95,95,94,94,93,93,93,92,91,88,87,86,86,86,86,85,85,85,
02272     84,84,84,83,82,81,79,78,77,76,76,76,76,75,75,73,72,71,71,69,69,
02273     69,69,67,67,65,65,64,64,64,64,63,63,62,61,61,60,59,59,59,57,57,
02274     56,56,55,55,54,53,51,49,47,45,45,43,43,43,42,42,42,38,37,36,36,
02275     33,31,29,28,28,28,28,27,27,27,26,26,25,24,22,22,20
02276   };
02277   const int n2c1w2_i[] = {
02278     100, // Capacity
02279     100, // Number of items
02280     // Size of items (sorted)
02281     100,99,98,97,97,96,95,95,93,93,93,93,91,91,90,89,89,89,89,89,
02282     89,88,88,87,86,84,84,81,80,79,78,78,76,75,74,72,72,71,71,70,69,
02283     69,66,66,63,63,62,62,61,60,59,59,57,57,55,55,55,54,54,54,53,53,
02284     52,52,51,50,50,50,49,49,48,47,47,41,40,40,39,38,36,35,34,33,33,
02285     32,31,31,31,31,30,30,28,27,24,23,23,22,21,20,20,20
02286   };
02287   const int n2c1w2_j[] = {
02288     100, // Capacity
02289     100, // Number of items
02290     // Size of items (sorted)
02291     99,97,96,95,95,95,94,94,94,93,92,90,90,89,89,89,89,89,89,88,88,
02292     86,86,85,85,85,84,84,83,82,82,80,79,78,78,78,77,77,77,76,75,75,
02293     69,67,66,66,66,65,65,65,64,64,62,62,58,58,58,58,58,55,54,53,53,
02294     51,50,50,50,49,49,46,45,42,42,42,41,40,39,39,37,37,37,37,35,33,
02295     33,32,31,30,29,28,26,25,21,21,21,21,21,20,20,20
02296   };
02297   const int n2c1w2_k[] = {
02298     100, // Capacity
02299     100, // Number of items
02300     // Size of items (sorted)
02301     100,99,98,97,95,95,93,92,91,91,91,91,90,89,89,88,88,86,85,85,
02302     83,81,81,81,80,80,79,78,77,77,77,76,76,76,75,75,74,74,73,73,71,
02303     71,70,70,69,69,69,67,67,67,67,66,65,63,63,63,63,62,62,62,61,57,
02304     55,53,53,51,51,51,50,50,49,49,48,48,48,47,47,46,43,41,41,40,36,
02305     36,36,36,35,35,33,32,32,31,31,29,28,28,25,25,23,21
02306   };
02307   const int n2c1w2_l[] = {
02308     100, // Capacity
02309     100, // Number of items
02310     // Size of items (sorted)
02311     100,97,96,96,94,94,94,93,93,93,91,91,90,90,88,83,83,82,82,81,
02312     81,80,78,78,78,76,75,75,74,72,72,71,70,70,70,70,70,67,65,64,64,
02313     64,63,62,62,61,60,60,58,58,57,55,55,54,53,52,52,51,50,49,48,47,
02314     47,47,46,45,45,45,44,43,42,42,41,41,40,39,38,38,36,36,35,35,35,
02315     33,32,31,30,30,29,27,26,25,24,24,23,23,22,22,22,20
02316   };
02317   const int n2c1w2_m[] = {
02318     100, // Capacity
02319     100, // Number of items
02320     // Size of items (sorted)
02321     100,100,99,98,97,97,97,96,95,95,95,95,94,92,92,91,91,90,90,89,
02322     89,89,87,86,85,83,82,82,80,80,79,78,76,75,74,72,72,71,71,71,70,
02323     66,65,63,63,63,63,62,61,60,60,60,60,59,57,55,55,55,53,52,51,46,
02324     46,46,45,45,42,41,41,41,40,40,39,39,39,39,38,38,37,36,36,35,35,
02325     35,35,34,34,31,30,29,29,28,27,27,27,27,26,26,22,22
02326   };
02327   const int n2c1w2_n[] = {
02328     100, // Capacity
02329     100, // Number of items
02330     // Size of items (sorted)
02331     100,100,99,99,99,98,96,95,95,94,94,94,93,93,92,92,92,91,91,89,
02332     86,86,85,85,83,82,81,81,80,78,77,77,75,74,74,73,70,70,69,69,68,
02333     68,67,66,65,64,63,63,62,60,59,59,58,56,56,56,55,54,51,50,50,49,
02334     48,47,47,46,46,46,44,44,43,42,39,39,38,38,37,37,34,34,32,32,31,
02335     30,30,29,29,28,28,27,27,27,25,24,24,24,23,21,20,20
02336   };
02337   const int n2c1w2_o[] = {
02338     100, // Capacity
02339     100, // Number of items
02340     // Size of items (sorted)
02341     100,98,98,98,98,97,96,95,95,94,93,92,90,90,89,88,88,88,87,87,
02342     86,85,84,83,83,83,82,82,80,80,79,79,78,78,76,74,74,74,74,71,69,
02343     68,68,67,67,66,64,64,64,64,62,62,61,60,60,55,55,53,53,50,49,49,
02344     47,45,44,44,43,43,42,42,42,41,41,39,36,35,35,33,33,32,31,31,31,
02345     31,30,30,29,28,25,25,23,23,22,22,21,21,21,20,20,20
02346   };
02347   const int n2c1w2_p[] = {
02348     100, // Capacity
02349     100, // Number of items
02350     // Size of items (sorted)
02351     99,98,97,96,96,95,94,93,93,92,92,90,90,89,89,88,88,88,88,86,86,
02352     85,83,82,82,80,80,80,79,79,77,77,77,76,76,76,74,73,73,71,71,70,
02353     69,69,69,68,68,67,66,66,65,63,60,59,57,57,57,57,56,53,53,52,51,
02354     51,51,51,50,47,46,45,44,44,44,43,42,42,39,39,38,38,38,37,36,36,
02355     36,32,31,30,28,28,27,27,27,26,26,24,24,22,22,20
02356   };
02357   const int n2c1w2_q[] = {
02358     100, // Capacity
02359     100, // Number of items
02360     // Size of items (sorted)
02361     97,97,97,96,96,95,94,94,94,90,89,86,85,84,83,79,78,78,78,77,77,
02362     77,76,76,75,75,74,74,72,72,71,71,70,69,69,67,67,66,66,66,66,65,
02363     65,64,63,63,62,62,61,60,59,59,57,56,56,55,53,53,52,52,51,51,51,
02364     50,50,49,49,49,49,48,48,47,47,45,43,40,39,37,37,35,34,33,33,32,
02365     32,31,30,29,28,28,28,27,27,27,25,24,24,23,23,22
02366   };
02367   const int n2c1w2_r[] = {
02368     100, // Capacity
02369     100, // Number of items
02370     // Size of items (sorted)
02371     100,99,98,98,98,98,97,97,96,96,96,94,94,93,92,90,88,87,87,86,
02372     86,85,85,85,85,85,84,84,83,83,83,83,80,79,79,78,77,77,76,75,75,
02373     74,71,70,69,67,65,64,62,62,62,62,61,61,60,58,57,56,55,55,55,54,
02374     54,53,52,51,49,49,47,46,45,44,44,43,43,41,41,40,39,37,34,32,32,
02375     31,29,28,28,27,26,26,25,25,24,24,23,23,22,22,21,20
02376   };
02377   const int n2c1w2_s[] = {
02378     100, // Capacity
02379     100, // Number of items
02380     // Size of items (sorted)
02381     100,98,98,97,96,94,94,93,93,91,90,90,90,89,89,87,87,86,86,86,
02382     84,84,82,82,81,81,80,79,77,77,77,76,76,75,75,73,72,72,71,70,70,
02383     70,70,67,64,62,62,59,59,59,58,58,58,55,55,54,54,53,53,53,51,51,
02384     50,50,50,49,49,48,47,46,46,45,45,44,41,41,39,39,37,37,37,37,35,
02385     34,34,34,33,33,33,32,31,29,27,25,25,24,23,22,20,20
02386   };
02387   const int n2c1w2_t[] = {
02388     100, // Capacity
02389     100, // Number of items
02390     // Size of items (sorted)
02391     100,99,99,99,98,97,95,94,94,94,93,93,92,92,91,90,90,90,90,89,
02392     89,87,86,85,83,82,80,80,79,79,78,78,78,77,75,72,71,70,70,67,65,
02393     64,63,62,62,62,61,60,60,59,58,58,58,57,57,56,56,56,55,55,54,52,
02394     51,49,49,48,47,46,46,46,46,46,44,44,43,42,42,39,37,36,36,35,34,
02395     34,33,33,33,32,30,30,30,27,26,25,24,24,24,21,21,20
02396   };
02397   const int n2c1w4_a[] = {
02398     100, // Capacity
02399     100, // Number of items
02400     // Size of items (sorted)
02401     100,99,97,96,96,96,94,94,94,93,93,93,92,91,90,90,90,89,89,88,
02402     88,83,83,82,82,81,80,80,80,79,79,79,79,78,78,78,76,74,74,73,73,
02403     71,70,69,69,68,67,67,66,65,64,63,63,63,62,59,58,58,57,56,56,56,
02404     56,53,53,53,52,51,51,50,49,48,48,48,47,46,46,45,43,42,41,41,39,
02405     39,39,38,38,38,38,38,37,37,37,36,36,33,32,32,31,31
02406   };
02407   const int n2c1w4_b[] = {
02408     100, // Capacity
02409     100, // Number of items
02410     // Size of items (sorted)
02411     100,100,99,99,99,97,96,95,95,93,93,93,91,89,89,89,88,87,87,86,
02412     85,85,84,83,81,80,80,79,79,78,78,78,77,75,75,73,73,73,72,71,71,
02413     70,70,69,66,65,65,63,60,60,59,59,58,58,57,57,55,55,55,55,54,54,
02414     53,53,52,51,50,50,49,49,49,48,45,45,45,45,44,44,43,43,41,41,40,
02415     40,40,36,36,35,34,34,33,33,33,33,33,32,32,32,32,30
02416   };
02417   const int n2c1w4_c[] = {
02418     100, // Capacity
02419     100, // Number of items
02420     // Size of items (sorted)
02421     99,97,97,96,96,94,93,93,92,92,91,90,90,90,88,87,87,86,86,86,85,
02422     85,85,85,84,84,83,83,82,82,81,81,81,79,79,78,77,76,76,76,76,76,
02423     74,74,73,71,71,70,70,69,69,67,67,66,65,65,65,63,62,62,61,60,60,
02424     60,59,59,58,57,56,56,55,55,54,53,52,51,50,50,48,48,43,40,38,38,
02425     38,37,35,35,35,35,34,33,33,32,32,31,31,31,31,30
02426   };
02427   const int n2c1w4_d[] = {
02428     100, // Capacity
02429     100, // Number of items
02430     // Size of items (sorted)
02431     100,100,99,98,98,97,97,96,95,95,94,94,94,93,92,89,89,88,88,88,
02432     88,87,86,85,84,84,82,81,81,80,79,78,77,77,76,76,76,76,74,74,74,
02433     73,72,72,72,71,71,71,69,69,68,68,68,68,67,67,66,66,65,65,64,64,
02434     62,61,58,57,57,57,56,55,54,54,54,53,53,52,52,52,52,51,51,50,49,
02435     49,48,47,46,45,45,40,40,39,37,37,35,34,34,33,33,30
02436   };
02437   const int n2c1w4_e[] = {
02438     100, // Capacity
02439     100, // Number of items
02440     // Size of items (sorted)
02441     99,99,98,97,97,96,96,95,95,95,94,94,94,94,91,91,89,88,87,86,86,
02442     85,84,83,82,82,82,81,81,79,78,78,76,76,76,76,73,72,71,71,70,70,
02443     70,69,69,69,69,69,68,68,67,66,65,64,61,61,61,61,60,60,59,59,58,
02444     57,57,55,54,54,48,45,45,44,44,43,42,42,42,42,41,41,39,38,37,37,
02445     36,36,35,35,35,35,34,34,34,33,33,32,31,31,31,30
02446   };
02447   const int n2c1w4_f[] = {
02448     100, // Capacity
02449     100, // Number of items
02450     // Size of items (sorted)
02451     100,100,99,97,97,95,95,95,94,93,92,91,90,89,89,88,87,87,86,84,
02452     83,82,80,80,80,80,80,80,79,79,79,79,78,76,76,76,76,73,73,72,71,
02453     71,70,69,69,69,69,68,67,66,66,66,64,64,64,62,62,62,62,61,60,60,
02454     59,58,58,58,58,57,57,56,56,56,56,56,53,52,50,49,48,47,44,44,43,
02455     42,40,39,37,37,36,36,36,35,35,34,33,33,33,32,30,30
02456   };
02457   const int n2c1w4_g[] = {
02458     100, // Capacity
02459     100, // Number of items
02460     // Size of items (sorted)
02461     100,100,98,98,96,95,95,95,94,94,93,93,88,87,85,84,80,80,80,79,
02462     78,78,78,77,77,77,76,76,73,71,71,70,70,70,70,69,69,68,67,67,66,
02463     66,66,66,66,66,66,64,63,63,63,61,61,61,61,60,59,59,59,58,57,57,
02464     57,56,55,54,54,53,51,51,49,49,49,48,47,45,44,44,42,41,41,41,40,
02465     39,39,39,38,38,37,37,37,36,35,34,34,33,32,32,32,31
02466   };
02467   const int n2c1w4_h[] = {
02468     100, // Capacity
02469     100, // Number of items
02470     // Size of items (sorted)
02471     100,100,99,99,98,98,97,96,96,94,94,94,94,93,91,90,89,87,87,87,
02472     86,84,84,84,83,82,80,79,75,75,75,74,74,73,73,73,72,71,70,69,69,
02473     69,68,68,68,67,65,65,63,63,61,61,61,61,60,60,60,60,60,59,59,58,
02474     57,57,56,56,55,54,54,54,51,50,50,49,49,49,49,48,48,48,46,46,44,
02475     42,42,41,40,40,38,37,35,35,34,34,33,33,33,33,32,31
02476   };
02477   const int n2c1w4_i[] = {
02478     100, // Capacity
02479     100, // Number of items
02480     // Size of items (sorted)
02481     98,97,97,96,96,95,95,95,95,92,92,92,91,91,91,91,90,88,87,86,85,
02482     83,82,81,80,79,77,76,76,75,75,75,74,74,72,72,72,71,71,71,70,70,
02483     70,69,69,68,67,65,65,64,63,63,62,62,62,61,61,60,59,59,59,59,58,
02484     58,56,56,55,55,52,51,50,48,48,47,47,47,46,45,44,44,42,42,42,41,
02485     40,39,38,36,36,36,35,35,35,35,34,32,32,32,30,30
02486   };
02487   const int n2c1w4_j[] = {
02488     100, // Capacity
02489     100, // Number of items
02490     // Size of items (sorted)
02491     100,99,99,98,97,97,97,96,96,96,95,93,91,90,87,87,86,86,84,83,
02492     82,81,81,81,80,79,79,77,77,76,76,75,74,72,72,72,71,70,70,70,69,
02493     69,68,68,67,67,67,66,66,66,65,65,65,64,64,62,60,59,57,57,57,57,
02494     55,55,55,55,53,53,52,52,52,50,50,50,49,49,48,47,47,45,45,45,44,
02495     43,42,39,39,39,38,38,38,37,35,35,34,32,32,31,30,30
02496   };
02497   const int n2c1w4_k[] = {
02498     100, // Capacity
02499     100, // Number of items
02500     // Size of items (sorted)
02501     99,98,98,97,97,97,95,94,94,94,93,93,91,91,90,89,89,88,88,87,86,
02502     83,83,82,82,81,81,80,80,79,79,78,76,74,73,73,72,71,71,70,70,70,
02503     68,68,67,66,66,65,64,64,61,61,60,59,59,57,56,56,56,56,56,55,54,
02504     53,51,51,51,51,50,50,50,49,47,47,47,46,46,45,45,43,43,42,41,40,
02505     40,39,39,38,38,37,35,34,34,34,33,33,32,30,30,30
02506   };
02507   const int n2c1w4_l[] = {
02508     100, // Capacity
02509     100, // Number of items
02510     // Size of items (sorted)
02511     99,99,96,96,95,95,94,94,93,91,91,88,88,87,87,87,87,84,84,83,83,
02512     82,82,82,81,81,81,80,78,77,77,76,76,76,74,74,74,74,74,73,73,73,
02513     73,73,72,72,71,71,70,70,69,68,67,64,64,63,62,60,60,59,59,59,58,
02514     58,57,57,57,55,55,53,52,51,50,49,48,46,46,45,43,43,42,42,42,42,
02515     42,40,40,40,38,37,36,36,34,34,33,33,33,31,30,30
02516   };
02517   const int n2c1w4_m[] = {
02518     100, // Capacity
02519     100, // Number of items
02520     // Size of items (sorted)
02521     100,100,99,99,99,99,98,98,97,96,96,96,96,95,95,95,95,91,90,89,
02522     88,87,86,84,83,83,82,80,79,77,77,76,76,74,74,74,73,72,72,71,71,
02523     70,69,68,67,67,66,66,65,63,60,60,59,59,58,57,57,56,56,54,53,53,
02524     53,53,52,51,50,50,50,50,49,47,47,46,46,45,44,43,42,42,42,41,41,
02525     39,38,38,38,37,37,36,36,36,35,35,35,33,32,32,32,31
02526   };
02527   const int n2c1w4_n[] = {
02528     100, // Capacity
02529     100, // Number of items
02530     // Size of items (sorted)
02531     100,100,99,99,98,98,97,97,96,96,96,95,94,94,92,91,91,90,90,90,
02532     88,87,85,85,84,83,83,81,80,79,79,78,76,76,76,75,74,74,74,73,71,
02533     70,67,67,67,66,66,66,64,64,64,64,63,63,61,59,59,58,58,58,56,56,
02534     56,54,53,53,52,51,50,50,49,48,48,48,48,46,45,44,41,40,40,40,39,
02535     39,37,37,36,36,36,35,35,34,33,33,33,33,32,31,31,30
02536   };
02537   const int n2c1w4_o[] = {
02538     100, // Capacity
02539     100, // Number of items
02540     // Size of items (sorted)
02541     100,100,100,100,99,99,98,98,98,97,97,97,96,95,95,94,94,94,94,
02542     93,93,93,92,92,92,91,91,90,87,86,86,85,85,84,83,83,80,79,78,78,
02543     77,76,74,72,72,72,71,71,71,71,70,70,69,68,67,66,65,64,63,63,62,
02544     62,62,60,59,59,58,58,57,57,56,55,55,54,53,52,52,51,51,51,49,46,
02545     42,41,41,41,40,40,39,39,39,38,36,36,34,34,33,31,30,30
02546   };
02547   const int n2c1w4_p[] = {
02548     100, // Capacity
02549     100, // Number of items
02550     // Size of items (sorted)
02551     99,99,98,96,93,93,92,91,91,91,90,89,89,88,85,85,83,82,82,81,80,
02552     79,78,78,74,74,70,69,69,66,65,65,64,64,64,64,63,63,62,62,62,62,
02553     61,61,61,61,61,59,59,59,58,58,57,57,56,55,55,54,53,53,52,52,51,
02554     49,48,48,47,47,47,47,45,45,45,44,44,43,43,43,42,42,42,42,41,41,
02555     41,40,40,39,37,37,36,36,35,34,34,34,32,32,30,30
02556   };
02557   const int n2c1w4_q[] = {
02558     100, // Capacity
02559     100, // Number of items
02560     // Size of items (sorted)
02561     100,100,98,98,97,97,94,93,93,92,92,92,91,91,91,90,89,89,89,88,
02562     87,86,85,83,83,83,82,81,80,80,80,79,79,78,77,77,77,77,77,75,75,
02563     74,74,74,72,70,69,69,69,66,66,66,66,65,64,64,63,62,61,61,60,60,
02564     60,58,57,57,56,56,54,52,50,49,49,48,47,46,44,43,42,42,40,40,40,
02565     40,39,39,39,39,38,38,38,38,36,36,35,35,35,34,33,32
02566   };
02567   const int n2c1w4_r[] = {
02568     100, // Capacity
02569     100, // Number of items
02570     // Size of items (sorted)
02571     99,98,98,97,96,96,96,95,95,94,94,93,93,92,92,91,90,89,87,86,85,
02572     84,82,82,80,79,79,78,78,77,76,75,75,75,75,74,74,74,73,70,69,67,
02573     67,66,64,64,63,62,62,62,61,61,60,60,59,59,58,58,57,57,56,55,54,
02574     54,54,51,50,49,49,49,48,48,48,47,47,44,43,43,42,41,41,41,40,40,
02575     40,40,39,39,38,36,36,36,35,35,33,32,32,32,31,31
02576   };
02577   const int n2c1w4_s[] = {
02578     100, // Capacity
02579     100, // Number of items
02580     // Size of items (sorted)
02581     100,100,100,100,99,99,99,99,98,97,97,97,96,96,96,95,94,94,93,
02582     92,91,91,91,90,89,89,88,88,85,85,82,82,80,80,79,78,77,76,75,75,
02583     75,75,74,73,72,71,71,70,69,69,69,67,67,66,66,66,66,65,64,64,64,
02584     64,62,62,61,59,59,59,58,56,56,56,55,55,54,52,50,50,49,49,48,48,
02585     48,47,46,44,44,43,43,40,40,39,38,35,35,33,33,31,30,30
02586   };
02587   const int n2c1w4_t[] = {
02588     100, // Capacity
02589     100, // Number of items
02590     // Size of items (sorted)
02591     98,97,97,97,96,96,95,92,91,90,89,89,88,88,87,87,87,86,86,86,85,
02592     85,83,83,83,82,81,80,79,78,78,78,78,75,71,70,70,70,70,69,68,67,
02593     65,65,64,64,63,61,61,61,61,60,60,60,60,59,57,57,54,54,54,54,53,
02594     53,53,52,51,50,50,50,49,46,46,46,46,46,45,44,44,44,42,42,41,40,
02595     40,39,39,38,38,38,37,36,35,35,34,34,34,34,32,32
02596   };
02597   const int n2c2w1_a[] = {
02598     120, // Capacity
02599     100, // Number of items
02600     // Size of items (sorted)
02601     99,98,98,98,97,96,94,92,91,90,90,89,86,84,82,81,81,80,80,79,79,
02602     79,77,75,73,72,71,71,71,70,67,65,65,62,61,59,56,55,55,55,55,54,
02603     54,53,52,51,50,48,48,48,47,47,46,45,44,43,43,43,43,42,42,40,39,
02604     38,38,36,34,30,30,29,27,26,26,24,22,21,21,20,19,18,18,18,15,14,
02605     13,11,9,8,7,7,6,6,6,4,4,3,3,2,1,1
02606   };
02607   const int n2c2w1_b[] = {
02608     120, // Capacity
02609     100, // Number of items
02610     // Size of items (sorted)
02611     100,100,100,99,99,98,97,96,95,95,91,91,91,90,90,88,88,88,88,87,
02612     87,85,85,82,82,81,79,78,78,78,78,78,78,77,77,77,75,74,72,71,69,
02613     69,68,67,64,64,62,62,60,58,57,55,55,54,51,51,51,48,48,47,46,45,
02614     44,42,38,38,36,34,34,31,30,30,30,28,28,28,26,26,25,25,23,23,22,
02615     21,20,19,18,18,17,16,13,9,8,5,4,4,4,4,3,1
02616   };
02617   const int n2c2w1_c[] = {
02618     120, // Capacity
02619     100, // Number of items
02620     // Size of items (sorted)
02621     100,100,97,97,96,95,94,91,90,89,88,84,84,84,83,82,81,80,80,80,
02622     78,73,72,72,72,69,69,66,65,65,65,65,65,64,63,63,62,60,58,58,57,
02623     54,54,53,52,51,50,49,49,48,47,46,44,42,40,40,40,39,38,37,37,35,
02624     35,33,32,31,30,30,29,28,27,27,23,21,20,20,20,19,19,19,18,17,16,
02625     16,15,14,13,12,12,12,11,10,8,7,5,5,4,3,3,1
02626   };
02627   const int n2c2w1_d[] = {
02628     120, // Capacity
02629     100, // Number of items
02630     // Size of items (sorted)
02631     99,97,97,96,94,94,93,93,89,89,89,88,87,85,85,84,84,82,82,78,77,
02632     76,75,73,73,71,71,67,66,63,63,62,62,61,61,59,59,57,57,57,57,55,
02633     53,53,52,51,51,50,49,49,48,48,48,47,46,46,46,44,44,41,38,37,37,
02634     37,37,35,35,34,34,32,32,31,31,30,29,28,27,27,26,26,26,25,25,24,
02635     21,19,18,15,13,13,12,12,12,10,10,5,4,3,2,1
02636   };
02637   const int n2c2w1_e[] = {
02638     120, // Capacity
02639     100, // Number of items
02640     // Size of items (sorted)
02641     100,100,99,96,94,93,92,92,92,90,90,89,89,89,87,84,82,82,82,81,
02642     80,77,77,77,77,75,73,72,71,69,68,68,64,64,62,61,58,54,53,53,53,
02643     52,52,51,51,49,49,48,48,46,45,45,44,43,42,41,40,37,37,36,35,35,
02644     34,34,33,33,33,31,29,27,24,24,23,22,21,20,18,17,17,16,15,14,14,
02645     14,13,13,13,11,11,9,8,7,7,6,4,3,1,1,1,1
02646   };
02647   const int n2c2w1_f[] = {
02648     120, // Capacity
02649     100, // Number of items
02650     // Size of items (sorted)
02651     100,100,100,100,99,99,97,97,97,97,95,92,91,89,88,88,88,88,88,
02652     86,85,85,83,82,81,81,80,80,80,79,78,76,75,75,71,70,70,70,69,69,
02653     68,67,67,65,63,63,62,62,62,56,54,54,54,53,52,52,51,49,49,47,42,
02654     42,42,41,40,40,38,38,35,34,34,33,31,31,31,31,30,30,29,27,27,26,
02655     23,22,22,21,19,19,17,16,15,15,12,11,10,9,9,8,4,1
02656   };
02657   const int n2c2w1_g[] = {
02658     120, // Capacity
02659     100, // Number of items
02660     // Size of items (sorted)
02661     100,100,100,99,99,98,98,96,95,94,93,91,90,90,89,89,88,86,83,83,
02662     82,81,81,80,80,80,79,79,79,76,75,74,73,73,70,70,65,63,60,59,59,
02663     58,57,55,54,54,52,52,51,51,51,50,47,47,46,45,45,45,43,42,42,41,
02664     36,35,35,35,34,33,33,29,29,29,29,29,28,24,22,22,22,22,22,20,20,
02665     20,19,18,17,17,16,15,12,11,11,9,8,6,3,1,1,1
02666   };
02667   const int n2c2w1_h[] = {
02668     120, // Capacity
02669     100, // Number of items
02670     // Size of items (sorted)
02671     100,99,99,98,98,97,96,94,94,93,93,92,92,90,88,88,87,87,86,86,
02672     86,85,85,78,78,77,77,77,74,71,71,68,68,67,66,65,65,62,62,60,59,
02673     59,55,55,54,53,52,52,51,51,50,49,49,48,47,46,46,46,45,45,45,42,
02674     42,41,41,40,38,36,36,34,33,32,32,32,31,29,27,23,22,22,21,21,20,
02675     18,16,15,11,10,10,9,9,8,6,6,5,5,4,3,1,1
02676   };
02677   const int n2c2w1_i[] = {
02678     120, // Capacity
02679     100, // Number of items
02680     // Size of items (sorted)
02681     100,100,99,98,97,96,96,96,93,93,92,91,88,87,86,85,84,82,82,79,
02682     79,79,77,77,76,72,71,71,70,68,67,66,66,65,64,64,63,63,62,62,62,
02683     62,61,60,59,59,58,57,56,55,55,54,51,51,50,50,48,47,47,46,46,46,
02684     45,44,41,41,38,37,35,33,32,31,29,29,29,28,28,27,26,25,25,22,19,
02685     19,18,18,13,11,10,10,9,6,5,5,4,3,3,2,1,1
02686   };
02687   const int n2c2w1_j[] = {
02688     120, // Capacity
02689     100, // Number of items
02690     // Size of items (sorted)
02691     100,100,99,98,97,96,95,93,87,87,86,85,85,85,84,83,82,82,81,80,
02692     80,79,79,77,75,75,75,72,72,70,69,69,66,66,66,63,62,62,61,61,60,
02693     57,57,57,55,53,52,52,48,48,47,46,43,43,42,41,41,40,40,38,37,37,
02694     37,36,34,32,31,31,31,30,29,29,28,28,26,26,26,25,24,22,19,16,16,
02695     15,15,14,14,13,9,9,8,7,6,6,5,4,4,4,3,1
02696   };
02697   const int n2c2w1_k[] = {
02698     120, // Capacity
02699     100, // Number of items
02700     // Size of items (sorted)
02701     100,100,97,96,95,95,93,93,92,90,90,90,89,88,88,87,85,84,82,78,
02702     78,78,78,77,74,74,70,69,68,67,67,66,66,65,61,60,60,59,57,56,55,
02703     55,54,54,52,52,51,51,50,50,49,48,48,48,47,44,43,41,41,40,39,37,
02704     37,32,32,31,30,30,29,28,27,26,25,24,24,24,23,23,22,21,19,18,18,
02705     17,16,15,14,12,10,10,8,6,5,4,3,3,2,2,2,1
02706   };
02707   const int n2c2w1_l[] = {
02708     120, // Capacity
02709     100, // Number of items
02710     // Size of items (sorted)
02711     100,100,100,99,99,99,98,98,96,96,95,95,95,94,94,93,92,90,90,88,
02712     87,85,85,85,82,81,81,80,80,80,76,76,76,75,73,73,73,73,72,71,71,
02713     68,68,64,64,64,61,60,59,58,57,57,56,51,51,50,49,47,45,45,45,44,
02714     42,40,38,38,36,36,36,35,34,33,30,30,29,29,28,28,27,23,22,20,20,
02715     19,17,16,16,11,11,9,8,8,7,7,5,5,3,2,2,1
02716   };
02717   const int n2c2w1_m[] = {
02718     120, // Capacity
02719     100, // Number of items
02720     // Size of items (sorted)
02721     98,97,95,93,93,92,92,92,91,90,89,89,89,88,86,84,84,84,83,83,82,
02722     82,81,81,79,78,77,75,73,72,72,71,71,70,69,68,65,65,64,64,62,61,
02723     60,57,55,55,53,51,51,50,50,50,48,46,45,42,42,41,41,41,41,41,40,
02724     39,39,37,36,35,34,33,33,33,30,30,29,27,25,23,23,23,23,19,19,16,
02725     16,14,14,14,14,12,12,10,8,8,7,7,6,5,3,3
02726   };
02727   const int n2c2w1_n[] = {
02728     120, // Capacity
02729     100, // Number of items
02730     // Size of items (sorted)
02731     99,99,96,96,95,93,92,89,89,88,87,85,81,80,80,78,77,77,76,75,74,
02732     72,71,71,70,70,69,69,67,67,67,65,65,65,65,64,62,62,59,59,59,58,
02733     58,56,56,56,56,55,55,54,52,50,50,49,49,48,47,45,43,43,43,41,40,
02734     39,38,38,37,36,36,36,35,35,35,30,30,29,26,26,26,26,24,24,23,23,
02735     17,17,17,15,13,13,12,11,11,11,6,5,4,4,3,1
02736   };
02737   const int n2c2w1_o[] = {
02738     120, // Capacity
02739     100, // Number of items
02740     // Size of items (sorted)
02741     98,97,97,97,97,94,93,93,93,92,91,91,90,89,89,88,87,87,87,85,84,
02742     84,83,83,82,81,81,81,81,78,76,76,75,75,74,73,70,69,68,68,68,66,
02743     65,64,64,63,59,58,57,56,56,52,51,51,50,49,48,48,47,47,46,46,45,
02744     45,44,44,43,43,42,40,40,40,37,33,31,30,29,28,26,25,25,24,19,19,
02745     19,19,17,16,16,15,15,14,13,12,12,7,4,2,1,1
02746   };
02747   const int n2c2w1_p[] = {
02748     120, // Capacity
02749     100, // Number of items
02750     // Size of items (sorted)
02751     99,99,99,99,99,96,96,96,95,94,93,93,91,91,91,89,87,87,86,86,85,
02752     85,84,83,82,82,81,81,76,75,75,74,72,68,68,66,65,64,64,64,63,61,
02753     61,60,60,59,58,56,56,56,55,55,54,54,52,51,51,46,44,43,41,40,39,
02754     39,39,39,38,37,37,36,36,35,33,29,28,27,26,23,23,21,17,17,14,13,
02755     11,11,10,10,10,9,9,9,8,6,6,4,4,3,3,2
02756   };
02757   const int n2c2w1_q[] = {
02758     120, // Capacity
02759     100, // Number of items
02760     // Size of items (sorted)
02761     98,98,98,98,96,93,92,91,90,89,87,87,86,86,85,84,83,83,81,78,78,
02762     78,78,78,78,77,72,72,71,70,70,70,69,68,67,65,65,64,64,64,63,63,
02763     62,62,62,62,61,61,60,60,59,59,58,57,57,56,56,56,55,54,51,50,49,
02764     49,47,46,46,39,39,38,38,34,33,32,30,30,29,28,27,26,24,23,23,22,
02765     22,22,20,18,18,15,12,9,6,6,5,3,3,2,2,2
02766   };
02767   const int n2c2w1_r[] = {
02768     120, // Capacity
02769     100, // Number of items
02770     // Size of items (sorted)
02771     98,97,94,94,93,91,90,89,89,89,88,86,86,84,83,80,79,78,77,75,75,
02772     72,71,70,69,67,66,65,64,64,62,61,60,60,60,59,57,56,56,56,56,56,
02773     55,55,55,54,51,50,50,49,49,49,48,47,47,46,44,43,42,40,40,37,37,
02774     36,36,36,36,34,33,33,32,32,30,30,28,28,25,25,24,24,24,22,22,21,
02775     20,19,17,16,13,12,10,9,6,5,5,4,3,3,2,1
02776   };
02777   const int n2c2w1_s[] = {
02778     120, // Capacity
02779     100, // Number of items
02780     // Size of items (sorted)
02781     99,98,97,96,95,94,93,93,91,90,89,88,87,87,86,86,85,84,83,82,79,
02782     79,78,77,77,77,77,73,73,72,71,71,70,68,67,63,63,62,61,61,61,61,
02783     60,59,57,56,52,51,49,48,47,47,47,46,45,44,44,44,44,43,43,42,42,
02784     39,39,39,34,33,33,32,31,31,28,28,27,25,25,24,24,24,24,22,21,20,
02785     18,17,17,16,14,14,13,10,10,9,9,7,7,7,7,6
02786   };
02787   const int n2c2w1_t[] = {
02788     120, // Capacity
02789     100, // Number of items
02790     // Size of items (sorted)
02791     100,99,99,98,98,95,94,94,91,90,89,87,84,80,80,77,75,74,73,73,
02792     72,72,72,69,69,65,64,63,62,62,59,59,59,59,59,59,57,56,53,53,51,
02793     51,51,50,50,50,49,49,48,47,47,47,47,44,44,43,43,40,39,38,37,36,
02794     34,34,32,30,29,29,27,23,23,23,21,18,18,18,18,17,16,16,16,15,15,
02795     14,12,12,11,10,10,9,8,8,7,7,5,4,4,4,2,1
02796   };
02797   const int n2c2w2_a[] = {
02798     120, // Capacity
02799     100, // Number of items
02800     // Size of items (sorted)
02801     100,100,98,95,94,94,93,93,93,92,90,90,90,89,88,87,87,86,86,84,
02802     84,83,82,82,81,80,79,79,79,77,77,76,75,75,75,75,74,73,71,69,69,
02803     68,65,63,60,59,59,58,57,57,56,56,56,56,55,55,54,54,54,54,50,50,
02804     49,48,48,48,45,45,44,44,43,43,39,38,38,37,37,37,37,36,36,33,33,
02805     31,29,28,27,27,26,26,26,26,25,25,25,23,23,23,22,22
02806   };
02807   const int n2c2w2_b[] = {
02808     120, // Capacity
02809     100, // Number of items
02810     // Size of items (sorted)
02811     99,99,98,97,96,94,93,93,93,92,91,91,91,91,90,89,88,87,85,85,85,
02812     82,82,81,80,80,79,78,76,76,75,75,74,74,72,71,71,70,70,69,69,66,
02813     65,65,65,64,64,63,63,60,60,60,59,59,58,57,56,56,55,54,53,53,53,
02814     52,52,51,51,50,49,49,49,48,48,47,47,47,47,46,45,45,43,43,41,41,
02815     40,37,37,36,36,36,31,31,30,29,28,23,22,21,21,20
02816   };
02817   const int n2c2w2_c[] = {
02818     120, // Capacity
02819     100, // Number of items
02820     // Size of items (sorted)
02821     100,99,98,98,98,98,98,97,96,94,93,92,90,89,89,88,87,84,83,82,
02822     81,81,80,80,78,78,78,78,75,75,75,75,74,71,71,71,70,70,69,69,69,
02823     68,68,66,65,64,64,64,64,63,61,58,57,56,56,55,55,55,54,54,54,54,
02824     51,50,50,49,48,46,45,45,44,44,43,41,41,40,40,40,39,37,37,36,36,
02825     35,35,35,35,33,32,31,31,30,29,29,27,27,25,24,21,20
02826   };
02827   const int n2c2w2_d[] = {
02828     120, // Capacity
02829     100, // Number of items
02830     // Size of items (sorted)
02831     100,100,96,96,95,95,94,93,92,92,90,89,89,88,88,87,87,87,86,86,
02832     85,85,85,85,85,84,83,82,77,77,77,76,74,74,72,72,72,71,70,69,67,
02833     67,66,62,62,60,59,59,59,57,57,56,56,56,55,53,52,52,51,49,48,47,
02834     46,43,43,43,43,43,41,41,40,40,39,38,37,36,36,36,36,35,34,34,33,
02835     33,33,33,31,31,29,28,27,27,24,24,23,22,21,20,20,20
02836   };
02837   const int n2c2w2_e[] = {
02838     120, // Capacity
02839     100, // Number of items
02840     // Size of items (sorted)
02841     100,99,99,98,97,97,97,95,95,93,92,92,90,90,89,88,88,87,87,85,
02842     84,84,84,82,80,80,80,79,79,79,78,78,77,77,72,71,71,68,68,66,66,
02843     66,64,62,61,60,60,59,58,58,57,57,56,55,55,55,54,53,50,50,49,47,
02844     47,45,45,45,45,45,43,43,43,43,42,42,42,42,42,40,40,39,37,36,36,
02845     36,33,33,33,30,28,27,27,26,24,23,23,22,22,22,22,21
02846   };
02847   const int n2c2w2_f[] = {
02848     120, // Capacity
02849     100, // Number of items
02850     // Size of items (sorted)
02851     99,96,95,94,92,92,92,92,91,90,89,88,87,86,85,83,83,83,83,82,80,
02852     80,80,78,77,76,76,75,75,74,74,73,72,71,71,71,68,68,68,66,64,62,
02853     59,58,58,55,55,54,54,53,53,53,52,52,51,50,50,47,46,45,43,42,41,
02854     41,40,40,39,39,38,38,37,37,36,35,35,35,35,33,33,33,32,32,32,30,
02855     28,27,27,26,25,25,25,24,24,23,23,22,22,21,21,20
02856   };
02857   const int n2c2w2_g[] = {
02858     120, // Capacity
02859     100, // Number of items
02860     // Size of items (sorted)
02861     98,98,97,97,96,96,96,95,95,95,95,93,92,92,90,90,90,89,88,88,88,
02862     85,84,84,82,81,81,80,79,79,77,77,74,73,73,72,71,70,70,70,68,67,
02863     66,65,65,64,63,63,63,60,58,58,58,57,56,56,56,56,56,55,52,51,51,
02864     50,49,49,48,48,46,45,45,44,43,43,42,41,41,38,36,36,35,34,34,33,
02865     32,31,31,30,30,30,29,28,27,26,26,26,23,22,21,20
02866   };
02867   const int n2c2w2_h[] = {
02868     120, // Capacity
02869     100, // Number of items
02870     // Size of items (sorted)
02871     100,99,99,98,98,98,96,96,95,94,94,94,93,92,91,90,90,89,88,87,
02872     84,83,82,79,78,78,78,77,76,74,74,74,73,73,72,71,70,69,69,67,64,
02873     64,63,63,63,62,61,61,60,60,59,58,57,56,55,54,54,54,54,53,53,51,
02874     51,50,50,50,49,48,48,48,47,45,44,44,44,43,42,42,41,41,40,38,38,
02875     38,38,37,35,30,29,28,27,27,26,26,25,25,24,22,22,21
02876   };
02877   const int n2c2w2_i[] = {
02878     120, // Capacity
02879     100, // Number of items
02880     // Size of items (sorted)
02881     100,99,99,96,96,92,92,91,91,91,89,87,87,86,86,86,85,84,83,82,
02882     81,79,79,78,77,76,76,75,75,74,74,73,71,69,69,69,68,68,66,64,63,
02883     63,63,62,62,61,61,58,57,56,56,54,53,53,52,52,52,50,50,50,49,49,
02884     48,48,47,45,44,43,42,41,41,40,39,38,37,36,36,35,34,34,32,32,32,
02885     31,26,25,24,24,24,24,24,23,23,22,22,21,20,20,20,20
02886   };
02887   const int n2c2w2_j[] = {
02888     120, // Capacity
02889     100, // Number of items
02890     // Size of items (sorted)
02891     99,98,98,97,97,96,95,93,93,93,93,93,92,91,91,91,89,87,86,83,83,
02892     82,81,80,80,80,76,76,76,75,75,75,75,75,73,71,71,70,70,70,69,67,
02893     66,65,64,63,62,62,61,61,61,61,60,60,59,58,58,58,57,56,55,55,55,
02894     54,53,52,52,52,52,51,51,50,49,47,46,46,45,45,44,44,43,43,39,39,
02895     38,37,37,34,33,32,29,28,28,26,25,24,22,22,21,20
02896   };
02897   const int n2c2w2_k[] = {
02898     120, // Capacity
02899     100, // Number of items
02900     // Size of items (sorted)
02901     98,98,98,97,96,95,94,94,92,90,88,88,86,86,86,85,85,83,83,81,80,
02902     79,78,78,77,77,76,76,75,74,72,71,71,70,70,67,66,65,65,62,61,61,
02903     60,59,59,59,58,58,57,57,57,56,55,53,53,53,52,52,50,50,49,49,49,
02904     47,47,47,46,46,44,44,42,42,41,41,40,39,39,39,38,38,36,34,33,33,
02905     32,29,29,26,26,26,26,25,25,25,25,24,22,21,21,20
02906   };
02907   const int n2c2w2_l[] = {
02908     120, // Capacity
02909     100, // Number of items
02910     // Size of items (sorted)
02911     100,100,98,98,98,98,97,97,96,93,91,91,91,91,89,88,87,86,86,85,
02912     83,83,83,82,82,80,79,78,78,76,75,75,75,74,72,72,72,72,71,69,68,
02913     66,66,66,62,61,60,59,58,58,57,56,55,54,53,51,50,50,50,50,49,48,
02914     48,47,47,47,47,46,46,45,45,42,41,40,40,39,39,38,38,37,36,36,36,
02915     36,33,32,30,30,30,27,25,24,24,24,23,23,22,21,21,20
02916   };
02917   const int n2c2w2_m[] = {
02918     120, // Capacity
02919     100, // Number of items
02920     // Size of items (sorted)
02921     100,99,98,98,98,98,97,96,95,95,93,92,92,91,90,90,89,88,88,87,
02922     85,85,85,85,84,84,83,83,83,82,81,80,79,79,79,78,77,74,74,73,72,
02923     71,64,61,60,60,59,58,57,57,57,54,54,54,52,51,50,50,49,49,49,48,
02924     48,47,47,47,46,45,45,44,43,41,41,40,39,36,36,35,34,34,34,32,31,
02925     30,29,29,28,28,28,27,26,26,25,25,24,23,23,22,22,20
02926   };
02927   const int n2c2w2_n[] = {
02928     120, // Capacity
02929     100, // Number of items
02930     // Size of items (sorted)
02931     99,98,98,97,97,97,97,97,96,95,95,92,92,92,92,91,91,90,90,89,88,
02932     87,85,85,83,82,82,82,82,81,79,77,76,76,75,75,74,74,71,71,70,69,
02933     68,66,66,64,63,62,61,61,60,59,56,53,52,51,50,50,48,47,46,43,42,
02934     41,41,40,40,40,39,39,38,36,34,34,33,33,33,32,32,32,31,31,30,30,
02935     30,29,29,29,27,27,25,24,23,22,22,21,21,21,20,20
02936   };
02937   const int n2c2w2_o[] = {
02938     120, // Capacity
02939     100, // Number of items
02940     // Size of items (sorted)
02941     100,100,98,98,97,97,97,95,93,93,89,89,88,87,86,84,83,82,81,80,
02942     79,79,79,77,75,73,73,72,72,71,71,71,69,68,68,67,67,66,65,65,64,
02943     63,60,59,59,58,58,57,57,56,56,55,55,55,55,54,54,54,53,51,51,50,
02944     50,50,48,47,47,47,47,46,46,45,44,43,41,41,40,40,39,37,36,32,32,
02945     31,29,28,27,27,27,27,26,25,25,25,25,24,24,22,21,20
02946   };
02947   const int n2c2w2_p[] = {
02948     120, // Capacity
02949     100, // Number of items
02950     // Size of items (sorted)
02951     99,97,97,96,96,95,95,93,93,92,92,91,91,89,89,88,87,86,86,85,84,
02952     84,83,82,79,78,78,76,72,71,71,71,70,68,68,68,67,66,65,64,62,62,
02953     62,61,61,59,59,57,57,55,55,54,53,52,52,51,49,48,47,47,47,46,46,
02954     45,45,44,43,43,42,42,40,39,39,39,39,39,38,37,36,36,35,34,33,32,
02955     31,30,29,28,28,27,25,25,25,24,23,22,22,21,20,20
02956   };
02957   const int n2c2w2_q[] = {
02958     120, // Capacity
02959     100, // Number of items
02960     // Size of items (sorted)
02961     98,97,97,97,97,96,96,96,96,95,93,93,92,91,90,90,88,88,87,87,87,
02962     86,86,86,85,83,83,80,80,80,77,76,76,76,75,75,75,70,69,69,68,67,
02963     66,65,65,65,64,61,60,59,59,58,58,58,55,55,54,54,54,54,54,53,53,
02964     52,52,52,50,50,46,46,46,45,45,44,44,41,41,40,39,39,37,33,32,31,
02965     30,30,29,29,29,28,26,24,24,23,22,22,21,21,20,20
02966   };
02967   const int n2c2w2_r[] = {
02968     120, // Capacity
02969     100, // Number of items
02970     // Size of items (sorted)
02971     100,99,99,98,97,97,96,95,95,94,93,93,91,91,91,90,89,88,86,86,
02972     85,82,82,82,81,81,80,79,79,78,78,76,74,73,69,68,67,67,66,66,66,
02973     66,64,63,62,62,60,60,59,58,56,54,53,52,51,50,50,49,48,47,46,46,
02974     44,44,43,43,43,43,43,42,42,41,41,40,39,36,35,34,33,33,33,32,32,
02975     32,31,30,30,30,29,29,27,26,25,24,24,23,22,22,20,20
02976   };
02977   const int n2c2w2_s[] = {
02978     120, // Capacity
02979     100, // Number of items
02980     // Size of items (sorted)
02981     99,99,98,97,96,95,94,94,94,93,93,92,92,92,92,90,90,90,89,88,88,
02982     87,87,85,85,84,81,79,76,75,74,74,74,72,72,72,72,72,71,70,70,69,
02983     68,68,68,67,67,65,65,64,64,63,63,63,61,61,61,60,60,59,58,57,57,
02984     56,56,55,54,53,52,51,49,49,49,49,47,47,46,44,41,40,38,37,37,37,
02985     35,34,34,33,32,32,31,30,29,27,25,24,23,22,22,20
02986   };
02987   const int n2c2w2_t[] = {
02988     120, // Capacity
02989     100, // Number of items
02990     // Size of items (sorted)
02991     100,100,100,99,99,99,97,97,96,93,91,90,87,86,86,86,85,85,85,84,
02992     84,83,83,82,81,81,79,77,75,75,74,74,73,72,72,72,71,70,70,70,70,
02993     69,69,69,68,68,67,67,66,65,64,59,59,59,59,57,57,57,56,56,55,54,
02994     54,52,49,49,48,45,44,44,43,42,42,42,42,41,40,40,39,39,39,38,38,
02995     36,35,35,35,33,33,32,30,30,29,28,27,27,26,25,25,22
02996   };
02997   const int n2c2w4_a[] = {
02998     120, // Capacity
02999     100, // Number of items
03000     // Size of items (sorted)
03001     100,99,99,98,93,93,93,93,93,93,92,92,92,91,91,90,90,89,86,86,
03002     85,84,84,83,82,82,80,79,77,77,76,76,76,74,74,73,71,71,71,70,69,
03003     68,68,68,68,67,67,66,64,64,63,62,62,60,60,60,58,56,56,55,55,51,
03004     50,49,49,46,45,45,45,44,43,43,42,41,41,40,40,40,40,38,38,37,36,
03005     36,36,36,36,35,34,34,33,32,32,31,31,30,30,30,30,30
03006   };
03007   const int n2c2w4_b[] = {
03008     120, // Capacity
03009     100, // Number of items
03010     // Size of items (sorted)
03011     100,99,99,99,98,96,96,96,96,95,94,93,92,92,90,90,90,89,88,86,
03012     84,84,84,80,80,79,79,79,78,75,75,75,75,74,74,74,72,72,71,71,70,
03013     70,70,69,69,69,68,67,67,67,67,66,66,65,63,61,60,60,58,57,57,57,
03014     56,56,55,55,54,53,52,51,50,50,47,47,46,45,43,43,43,42,41,41,40,
03015     40,39,39,39,38,37,37,37,37,34,34,33,33,32,32,32,30
03016   };
03017   const int n2c2w4_c[] = {
03018     120, // Capacity
03019     100, // Number of items
03020     // Size of items (sorted)
03021     100,100,100,100,99,97,96,95,94,94,94,93,90,90,89,89,89,89,88,
03022     88,87,87,87,86,85,84,84,84,83,83,83,82,80,80,79,78,78,76,75,75,
03023     74,70,70,69,69,69,69,68,68,68,68,67,66,65,65,64,64,64,63,63,62,
03024     62,61,61,60,60,59,58,58,57,57,55,54,53,53,51,51,49,49,49,48,47,
03025     47,46,46,42,41,38,37,35,34,33,32,32,32,31,31,30,30,30
03026   };
03027   const int n2c2w4_d[] = {
03028     120, // Capacity
03029     100, // Number of items
03030     // Size of items (sorted)
03031     99,99,99,98,98,98,97,97,97,96,96,95,94,94,92,91,90,88,88,87,86,
03032     86,86,86,84,84,83,82,82,82,81,81,81,81,80,79,78,77,77,76,75,75,
03033     75,75,74,74,73,72,72,69,67,66,63,63,63,61,60,60,59,59,58,58,56,
03034     56,55,55,54,52,50,49,48,48,48,47,47,47,46,46,44,42,40,40,39,38,
03035     37,37,36,36,36,35,34,33,33,32,31,31,31,30,30,30
03036   };
03037   const int n2c2w4_e[] = {
03038     120, // Capacity
03039     100, // Number of items
03040     // Size of items (sorted)
03041     100,100,99,99,98,98,98,98,98,97,97,96,95,95,95,93,93,91,89,89,
03042     88,88,87,87,87,86,84,84,84,84,83,83,83,83,81,79,77,76,74,73,71,
03043     70,69,69,68,68,68,66,66,64,64,64,64,63,61,61,60,60,60,60,59,58,
03044     58,56,56,56,54,54,51,51,50,50,48,48,47,46,45,45,43,43,43,42,42,
03045     41,40,37,36,36,36,36,34,33,33,33,33,32,31,31,30,30
03046   };
03047   const int n2c2w4_f[] = {
03048     120, // Capacity
03049     100, // Number of items
03050     // Size of items (sorted)
03051     100,99,99,98,97,97,96,96,95,95,94,92,92,90,90,89,87,87,86,85,
03052     85,85,84,84,84,83,82,81,81,80,80,79,79,79,78,78,76,75,74,73,72,
03053     72,70,70,68,67,65,65,64,64,63,63,63,62,62,61,59,58,58,57,57,56,
03054     55,54,54,54,53,52,51,50,47,47,43,42,42,42,42,41,41,40,40,39,38,
03055     38,38,37,36,35,35,35,35,34,34,33,33,33,32,32,31,31
03056   };
03057   const int n2c2w4_g[] = {
03058     120, // Capacity
03059     100, // Number of items
03060     // Size of items (sorted)
03061     100,100,100,99,99,98,96,96,96,95,95,92,91,91,91,91,91,88,87,87,
03062     87,87,85,85,84,84,82,81,81,80,79,78,77,75,74,74,74,74,72,71,70,
03063     70,70,70,70,69,69,68,68,67,66,66,65,65,64,63,63,62,61,61,60,58,
03064     58,56,55,54,54,54,53,53,53,53,52,51,47,47,45,45,44,44,43,43,42,
03065     41,41,39,38,37,36,36,36,35,35,34,34,33,33,32,32,30
03066   };
03067   const int n2c2w4_h[] = {
03068     120, // Capacity
03069     100, // Number of items
03070     // Size of items (sorted)
03071     100,100,99,99,98,97,97,97,96,96,96,96,95,94,93,89,88,87,86,85,
03072     85,85,85,84,84,84,83,83,82,81,81,81,80,80,79,78,78,77,77,77,76,
03073     75,72,72,70,69,69,69,69,66,66,65,64,64,63,63,62,59,59,58,58,57,
03074     57,57,55,54,52,52,51,51,51,48,47,47,47,46,46,45,45,45,44,43,43,
03075     42,42,42,42,39,37,37,37,35,34,33,32,32,31,31,30,30
03076   };
03077   const int n2c2w4_i[] = {
03078     120, // Capacity
03079     100, // Number of items
03080     // Size of items (sorted)
03081     100,99,99,98,97,94,94,94,94,93,93,92,91,91,91,90,90,89,88,87,
03082     87,87,85,84,83,83,82,82,82,82,79,78,78,77,74,74,74,74,72,72,71,
03083     71,70,68,67,67,66,66,64,63,63,62,61,61,60,60,59,59,58,56,53,52,
03084     52,52,52,52,52,52,51,51,50,49,49,48,47,46,46,45,45,45,43,41,40,
03085     40,39,38,38,38,37,37,35,35,33,33,32,31,30,30,30,30
03086   };
03087   const int n2c2w4_j[] = {
03088     120, // Capacity
03089     100, // Number of items
03090     // Size of items (sorted)
03091     100,100,100,99,98,98,98,98,97,97,96,95,95,93,92,91,90,90,90,89,
03092     88,88,86,86,85,85,83,82,81,81,80,76,76,76,74,74,73,73,73,71,71,
03093     71,70,70,69,68,68,67,67,67,66,66,66,65,64,64,64,62,61,59,58,58,
03094     55,55,55,54,52,51,50,50,49,49,49,49,48,47,47,47,44,44,43,43,40,
03095     40,38,38,38,37,37,37,36,36,36,36,35,33,32,32,31,30
03096   };
03097   const int n2c2w4_k[] = {
03098     120, // Capacity
03099     100, // Number of items
03100     // Size of items (sorted)
03101     99,97,97,97,96,95,94,94,93,93,93,91,90,89,88,86,84,83,83,83,82,
03102     82,81,81,81,80,78,78,78,77,75,75,74,73,73,73,73,71,71,71,70,69,
03103     69,68,68,67,66,65,64,64,63,63,63,63,62,62,61,60,59,58,57,57,57,
03104     57,56,55,54,54,53,52,52,52,52,50,50,49,49,49,48,48,46,45,45,44,
03105     44,42,39,39,37,34,34,34,34,33,33,32,31,31,30,30
03106   };
03107   const int n2c2w4_l[] = {
03108     120, // Capacity
03109     100, // Number of items
03110     // Size of items (sorted)
03111     100,99,99,97,97,97,96,93,91,89,89,88,88,88,85,84,82,82,80,80,
03112     78,78,78,78,78,77,77,76,76,75,75,75,74,74,74,72,71,70,69,69,69,
03113     67,67,67,66,65,65,65,64,63,63,61,61,60,60,60,60,59,58,58,57,57,
03114     57,56,56,54,53,53,52,52,51,51,47,47,46,45,45,45,44,44,43,43,43,
03115     43,42,37,37,37,35,34,34,33,33,33,33,32,32,31,30,30
03116   };
03117   const int n2c2w4_m[] = {
03118     120, // Capacity
03119     100, // Number of items
03120     // Size of items (sorted)
03121     100,99,98,97,96,96,95,94,94,94,93,93,92,92,91,91,91,90,90,90,
03122     89,86,86,85,84,84,83,82,82,77,77,77,77,77,76,75,75,74,73,72,71,
03123     71,70,70,70,70,69,69,68,67,67,66,65,64,64,63,61,60,58,58,58,57,
03124     57,57,54,54,54,53,52,52,52,51,51,51,48,46,46,46,45,44,44,44,43,
03125     43,43,41,39,38,38,36,36,35,35,34,32,31,31,31,30,30
03126   };
03127   const int n2c2w4_n[] = {
03128     120, // Capacity
03129     100, // Number of items
03130     // Size of items (sorted)
03131     100,99,99,98,97,95,95,94,94,94,93,92,92,91,91,91,90,89,87,87,
03132     86,86,85,84,81,81,81,81,80,79,79,79,79,78,77,75,75,75,74,74,73,
03133     73,73,71,71,70,70,69,67,67,66,64,64,63,63,63,62,61,61,61,61,60,
03134     59,59,59,59,58,58,56,56,54,54,53,53,53,52,52,51,49,45,44,44,43,
03135     43,39,37,37,37,37,37,37,36,36,35,33,32,32,31,31,30
03136   };
03137   const int n2c2w4_o[] = {
03138     120, // Capacity
03139     100, // Number of items
03140     // Size of items (sorted)
03141     100,99,97,97,97,94,94,93,93,93,92,92,92,91,91,90,90,90,88,88,
03142     88,88,87,87,87,86,86,86,86,85,85,84,84,83,83,81,81,80,79,79,79,
03143     79,77,74,74,73,72,72,70,70,67,67,66,66,66,65,64,64,64,63,62,61,
03144     59,58,54,53,53,52,51,47,47,45,44,43,43,42,41,41,41,39,39,39,39,
03145     37,37,36,35,35,34,34,33,33,33,32,31,31,30,30,30,30
03146   };
03147   const int n2c2w4_p[] = {
03148     120, // Capacity
03149     100, // Number of items
03150     // Size of items (sorted)
03151     100,99,99,99,98,97,97,96,96,95,94,94,93,91,89,89,89,87,87,86,
03152     85,84,84,84,83,83,83,83,79,79,76,76,75,74,73,73,72,71,71,70,70,
03153     70,70,68,67,67,66,64,64,63,62,62,62,62,62,59,58,58,56,56,56,54,
03154     54,54,53,53,53,51,51,50,49,49,48,48,48,47,46,46,45,44,43,43,43,
03155     42,41,41,41,41,40,39,38,38,38,38,37,36,35,32,31,30
03156   };
03157   const int n2c2w4_q[] = {
03158     120, // Capacity
03159     100, // Number of items
03160     // Size of items (sorted)
03161     99,98,98,98,96,95,94,91,90,90,90,89,88,86,85,85,84,83,83,83,83,
03162     82,80,80,79,79,78,78,77,77,77,77,77,76,76,76,76,76,76,76,76,73,
03163     73,72,71,71,70,70,68,67,67,67,66,65,64,63,62,62,62,61,59,57,56,
03164     56,56,56,55,54,54,54,54,53,52,52,51,51,50,48,47,47,47,45,45,44,
03165     44,42,41,41,38,37,36,34,34,34,32,32,32,31,30,30
03166   };
03167   const int n2c2w4_r[] = {
03168     120, // Capacity
03169     100, // Number of items
03170     // Size of items (sorted)
03171     100,99,99,98,97,97,97,96,94,94,93,93,93,91,89,89,89,89,89,88,
03172     87,87,86,86,85,85,84,83,80,79,78,77,77,77,73,73,71,70,70,69,69,
03173     68,67,65,63,62,62,62,62,61,60,60,59,59,59,58,58,58,57,57,56,56,
03174     55,54,53,52,51,49,48,47,46,45,45,45,44,43,42,42,42,42,41,40,39,
03175     39,38,37,35,35,35,35,34,33,33,32,32,31,30,30,30,30
03176   };
03177   const int n2c2w4_s[] = {
03178     120, // Capacity
03179     100, // Number of items
03180     // Size of items (sorted)
03181     100,100,97,96,96,95,94,94,94,90,90,90,87,86,86,86,83,83,83,83,
03182     83,82,82,82,80,79,79,78,77,77,77,76,76,75,71,71,71,70,70,68,68,
03183     67,67,66,66,65,63,63,63,62,61,61,60,60,59,59,59,58,56,55,53,53,
03184     53,52,51,49,49,47,45,45,45,45,45,44,42,42,42,41,41,41,41,41,39,
03185     39,38,38,38,37,33,33,33,33,32,32,32,31,31,31,31,30
03186   };
03187   const int n2c2w4_t[] = {
03188     120, // Capacity
03189     100, // Number of items
03190     // Size of items (sorted)
03191     99,99,98,98,97,97,97,96,93,92,91,91,90,89,88,88,87,86,86,85,85,
03192     84,84,83,83,81,80,80,78,76,75,75,74,72,72,71,69,69,68,68,68,68,
03193     67,66,66,65,62,61,61,60,60,60,59,58,58,57,57,57,56,56,54,54,53,
03194     53,53,52,52,51,50,50,50,49,48,48,46,46,46,46,45,45,43,42,42,41,
03195     41,41,38,37,36,36,35,34,34,34,33,33,33,32,30,30
03196   };
03197   const int n2c3w1_a[] = {
03198     150, // Capacity
03199     100, // Number of items
03200     // Size of items (sorted)
03201     99,99,97,97,96,96,96,94,93,93,92,90,90,90,89,88,88,87,83,82,81,
03202     81,81,80,79,78,77,77,76,76,75,74,74,74,71,69,69,68,67,67,66,62,
03203     59,58,57,56,55,54,54,53,53,52,52,49,49,48,47,46,45,44,43,43,42,
03204     42,39,38,37,35,35,34,32,32,31,31,30,29,24,24,21,21,21,20,18,16,
03205     13,12,11,9,7,7,7,6,5,5,4,4,2,2,1,1
03206   };
03207   const int n2c3w1_b[] = {
03208     150, // Capacity
03209     100, // Number of items
03210     // Size of items (sorted)
03211     100,99,96,94,93,92,92,91,91,91,89,88,86,86,86,85,84,84,84,81,
03212     81,80,79,79,78,77,77,77,77,73,71,69,67,66,65,65,64,64,64,62,60,
03213     57,57,56,56,56,56,53,52,51,51,50,50,48,47,46,45,44,43,42,41,41,
03214     40,40,39,39,38,37,36,36,36,34,33,31,31,29,29,26,25,22,22,22,20,
03215     17,11,11,10,9,7,7,7,7,6,5,3,2,2,1,1,1
03216   };
03217   const int n2c3w1_c[] = {
03218     150, // Capacity
03219     100, // Number of items
03220     // Size of items (sorted)
03221     98,97,97,97,96,95,95,95,95,93,92,88,87,86,86,85,81,81,80,78,78,
03222     78,77,77,76,75,74,72,71,70,70,69,69,67,67,67,65,65,65,64,64,63,
03223     62,58,58,56,56,56,55,52,51,50,50,50,49,49,47,45,43,43,43,42,41,
03224     40,40,40,39,38,36,35,33,33,32,30,29,28,28,25,25,22,22,20,20,18,
03225     17,16,15,11,11,10,8,5,5,5,4,4,2,2,2,1
03226   };
03227   const int n2c3w1_d[] = {
03228     150, // Capacity
03229     100, // Number of items
03230     // Size of items (sorted)
03231     99,99,97,97,96,96,94,92,92,92,92,91,90,90,89,89,88,85,84,84,84,
03232     80,80,78,78,77,77,77,76,75,75,75,74,73,73,72,71,71,70,68,66,65,
03233     64,62,61,60,57,56,56,55,55,54,54,52,50,50,48,48,47,47,45,45,45,
03234     44,42,40,40,39,38,38,38,36,34,32,30,29,29,29,28,28,28,26,25,25,
03235     24,21,18,17,14,13,12,12,10,10,9,9,8,5,4,1
03236   };
03237   const int n2c3w1_e[] = {
03238     150, // Capacity
03239     100, // Number of items
03240     // Size of items (sorted)
03241     100,99,99,98,98,96,93,91,89,89,88,86,86,85,85,85,84,84,82,82,
03242     81,80,79,78,77,76,75,75,73,72,71,70,69,68,68,66,66,64,63,63,62,
03243     62,58,57,55,54,52,51,50,50,49,48,48,46,46,44,43,41,41,38,37,34,
03244     33,31,31,31,31,29,29,28,28,27,27,27,26,26,26,25,22,22,21,20,20,
03245     19,18,18,16,15,15,15,14,14,13,9,8,8,8,2,2,2
03246   };
03247   const int n2c3w1_f[] = {
03248     150, // Capacity
03249     100, // Number of items
03250     // Size of items (sorted)
03251     100,100,100,98,98,97,97,96,94,92,90,87,86,84,84,83,83,81,81,81,
03252     81,80,77,77,77,75,74,74,74,73,70,69,69,68,67,66,66,65,65,64,63,
03253     62,62,61,60,59,57,57,57,57,56,56,54,52,50,50,47,45,43,43,43,40,
03254     38,37,37,36,36,35,35,33,33,32,31,31,29,27,27,24,23,19,18,16,14,
03255     13,13,12,12,11,10,9,8,8,8,4,4,4,3,2,2,1
03256   };
03257   const int n2c3w1_g[] = {
03258     150, // Capacity
03259     100, // Number of items
03260     // Size of items (sorted)
03261     99,98,96,94,93,92,91,91,88,88,87,87,87,86,85,84,83,82,81,79,79,
03262     77,75,73,73,73,72,71,69,68,67,66,65,65,64,64,62,62,61,60,60,57,
03263     55,55,54,50,50,50,49,48,48,47,45,44,44,44,42,42,39,38,35,35,34,
03264     34,34,33,33,32,31,31,29,29,28,26,25,23,21,21,20,19,18,18,16,16,
03265     15,14,13,13,11,11,11,10,8,6,6,5,5,4,3,2
03266   };
03267   const int n2c3w1_h[] = {
03268     150, // Capacity
03269     100, // Number of items
03270     // Size of items (sorted)
03271     100,99,98,98,98,94,93,91,91,89,87,87,87,86,86,86,85,85,84,83,
03272     83,81,81,80,78,77,77,76,76,75,75,73,73,70,69,69,65,63,63,63,62,
03273     62,62,60,59,58,57,57,55,54,53,52,51,51,50,49,49,48,47,47,44,44,
03274     42,38,37,37,32,32,32,30,30,29,28,27,27,25,25,25,23,23,23,22,22,
03275     21,20,19,17,15,14,13,13,10,9,8,6,5,4,3,2,1
03276   };
03277   const int n2c3w1_i[] = {
03278     150, // Capacity
03279     100, // Number of items
03280     // Size of items (sorted)
03281     100,99,97,96,94,94,92,92,92,91,91,89,87,86,86,86,85,85,83,83,
03282     80,80,78,76,75,73,72,68,66,65,64,63,63,62,62,61,60,58,58,56,56,
03283     56,54,54,53,53,52,51,51,50,49,49,49,48,47,47,46,45,43,43,42,42,
03284     42,40,37,37,36,36,34,34,33,33,31,29,25,24,24,23,21,21,20,17,16,
03285     15,13,13,12,11,11,11,10,9,9,8,8,7,7,5,3,1
03286   };
03287   const int n2c3w1_j[] = {
03288     150, // Capacity
03289     100, // Number of items
03290     // Size of items (sorted)
03291     99,99,98,97,97,95,95,92,91,90,90,89,88,87,86,86,86,85,83,83,83,
03292     82,80,78,78,77,76,76,75,75,74,72,70,69,67,62,61,61,59,59,59,58,
03293     58,56,56,55,52,52,52,51,51,49,47,47,46,44,43,42,42,39,37,37,36,
03294     31,31,31,28,27,25,25,25,23,21,19,18,17,16,16,16,16,15,14,14,14,
03295     14,13,13,10,10,9,7,7,6,6,5,4,2,2,1,1
03296   };
03297   const int n2c3w1_k[] = {
03298     150, // Capacity
03299     100, // Number of items
03300     // Size of items (sorted)
03301     98,98,96,95,95,94,94,93,93,92,92,92,90,89,89,88,87,87,87,87,85,
03302     85,83,83,82,81,80,80,79,76,75,75,74,73,71,70,68,68,66,66,63,63,
03303     63,59,59,58,58,58,58,56,55,54,53,51,49,49,47,46,46,45,44,44,43,
03304     42,40,37,37,37,36,33,33,33,30,30,29,26,26,26,26,25,24,23,22,21,
03305     21,20,18,17,17,16,15,10,7,6,5,4,3,2,1,1
03306   };
03307   const int n2c3w1_l[] = {
03308     150, // Capacity
03309     100, // Number of items
03310     // Size of items (sorted)
03311     100,99,99,97,97,96,95,95,95,93,93,90,89,89,86,85,82,81,79,79,
03312     78,77,77,76,76,76,74,74,74,73,71,71,70,70,69,67,66,66,65,65,61,
03313     61,61,60,59,59,58,57,54,52,48,48,47,47,46,46,46,46,44,44,42,42,
03314     41,41,39,39,39,39,36,35,34,31,31,26,26,26,24,22,21,21,19,18,17,
03315     17,16,16,15,15,14,14,13,12,10,7,7,7,3,3,2,2
03316   };
03317   const int n2c3w1_m[] = {
03318     150, // Capacity
03319     100, // Number of items
03320     // Size of items (sorted)
03321     100,100,98,97,95,94,92,89,87,87,83,81,81,81,80,80,78,77,75,74,
03322     74,71,69,68,67,66,66,65,64,64,64,64,64,64,64,63,58,56,55,54,52,
03323     50,49,49,46,46,45,44,43,41,40,40,37,35,35,35,34,34,33,32,32,32,
03324     31,30,29,27,27,26,25,25,24,24,23,22,21,21,19,19,19,18,18,18,17,
03325     17,15,14,14,14,11,11,8,6,6,5,4,3,2,2,1,1
03326   };
03327   const int n2c3w1_n[] = {
03328     150, // Capacity
03329     100, // Number of items
03330     // Size of items (sorted)
03331     98,98,96,94,94,91,89,88,88,87,87,87,86,85,85,84,84,82,81,81,80,
03332     80,79,79,78,76,75,72,72,70,69,69,68,67,66,65,64,63,58,57,54,54,
03333     53,53,53,53,50,49,47,44,44,43,43,42,42,40,38,38,37,36,34,33,33,
03334     30,30,30,29,26,25,25,23,23,20,20,19,19,16,16,15,15,15,15,13,12,
03335     12,11,10,10,9,9,7,6,6,4,4,3,2,2,1,1
03336   };
03337   const int n2c3w1_o[] = {
03338     150, // Capacity
03339     100, // Number of items
03340     // Size of items (sorted)
03341     100,98,96,96,94,93,93,92,91,91,90,89,89,86,86,85,84,83,82,82,
03342     79,79,79,79,77,75,75,75,74,74,74,74,71,71,70,68,68,67,66,63,63,
03343     62,62,60,59,59,58,55,54,54,52,49,48,47,47,46,45,44,43,43,42,40,
03344     39,39,37,37,36,35,34,33,28,26,26,25,25,23,22,21,20,19,19,19,18,
03345     17,17,16,12,12,12,10,10,9,9,8,7,7,7,6,3,2
03346   };
03347   const int n2c3w1_p[] = {
03348     150, // Capacity
03349     100, // Number of items
03350     // Size of items (sorted)
03351     100,97,96,94,94,93,92,92,91,90,90,87,86,86,86,84,84,82,81,80,
03352     77,76,76,76,75,74,74,73,73,72,72,71,71,70,70,70,69,68,68,67,66,
03353     66,65,64,63,62,62,60,59,59,59,59,57,52,52,50,49,48,47,46,44,42,
03354     41,38,36,36,34,33,30,28,27,25,25,24,22,20,20,17,16,16,15,15,15,
03355     13,13,12,11,11,10,10,10,10,9,8,8,6,5,5,4,3
03356   };
03357   const int n2c3w1_q[] = {
03358     150, // Capacity
03359     100, // Number of items
03360     // Size of items (sorted)
03361     100,99,97,94,93,91,89,88,86,85,85,84,83,81,81,80,79,78,77,76,
03362     75,75,74,71,71,70,69,68,68,68,68,66,64,63,63,62,62,62,61,59,58,
03363     56,55,55,54,54,54,54,52,52,47,46,46,46,45,44,41,41,39,39,39,38,
03364     38,37,36,36,35,35,34,34,34,33,31,30,29,29,29,29,28,28,27,27,27,
03365     26,26,26,23,23,22,20,20,20,17,14,8,8,6,3,1,1
03366   };
03367   const int n2c3w1_r[] = {
03368     150, // Capacity
03369     100, // Number of items
03370     // Size of items (sorted)
03371     100,98,95,95,94,92,92,92,90,88,88,87,87,87,86,86,83,83,82,82,
03372     81,80,77,76,75,75,75,74,73,70,70,68,66,66,66,65,64,64,60,59,58,
03373     56,55,52,52,52,52,52,51,49,49,48,46,44,42,42,41,41,41,40,40,39,
03374     38,36,36,35,34,34,34,31,31,30,27,27,27,24,24,22,21,20,15,15,15,
03375     14,14,12,12,11,10,9,7,6,6,5,4,4,3,3,2,1
03376   };
03377   const int n2c3w1_s[] = {
03378     150, // Capacity
03379     100, // Number of items
03380     // Size of items (sorted)
03381     100,99,99,98,97,96,95,95,94,91,91,89,88,88,86,83,82,79,78,78,
03382     76,75,75,74,72,71,70,70,69,69,69,68,66,65,64,64,63,63,62,62,61,
03383     60,58,58,57,56,56,55,55,54,52,52,49,49,49,48,48,47,46,46,45,45,
03384     41,40,40,39,37,36,36,36,35,35,35,35,33,32,31,31,31,28,28,25,24,
03385     24,21,20,19,19,19,18,16,16,16,16,13,13,11,8,6,5
03386   };
03387   const int n2c3w1_t[] = {
03388     150, // Capacity
03389     100, // Number of items
03390     // Size of items (sorted)
03391     100,99,98,96,95,95,95,91,90,90,90,89,88,85,85,83,81,80,80,80,
03392     79,79,78,77,77,77,76,76,75,74,74,73,73,71,68,67,66,65,64,63,62,
03393     58,56,56,55,53,51,51,51,50,49,46,44,44,43,43,42,42,42,40,39,38,
03394     37,37,37,36,36,36,34,34,34,33,32,31,30,30,29,27,26,26,25,22,19,
03395     18,17,16,16,15,14,12,12,10,9,7,6,5,4,4,3,1
03396   };
03397   const int n2c3w2_a[] = {
03398     150, // Capacity
03399     100, // Number of items
03400     // Size of items (sorted)
03401     100,99,98,96,96,96,96,96,96,94,93,93,92,92,92,91,91,91,90,87,
03402     84,83,83,79,78,78,77,77,76,76,75,75,75,73,73,73,72,72,72,72,72,
03403     71,71,70,70,66,66,65,64,63,59,58,57,56,56,55,55,54,53,53,52,51,
03404     49,47,46,46,45,44,43,43,42,41,41,39,39,38,37,35,35,34,34,33,33,
03405     32,32,32,32,31,30,30,29,28,24,23,22,22,22,22,21,20
03406   };
03407   const int n2c3w2_b[] = {
03408     150, // Capacity
03409     100, // Number of items
03410     // Size of items (sorted)
03411     99,97,96,96,96,95,95,95,95,94,94,93,92,92,92,91,91,91,90,89,89,
03412     89,88,88,88,87,86,86,85,85,84,83,82,81,81,77,77,76,76,75,73,73,
03413     73,72,72,72,72,70,69,67,66,65,65,64,62,61,60,58,57,56,55,53,52,
03414     52,52,48,48,46,45,43,42,39,39,38,38,38,38,37,36,35,34,34,32,31,
03415     30,30,28,27,27,27,25,24,24,24,23,23,22,22,22,21
03416   };
03417   const int n2c3w2_c[] = {
03418     150, // Capacity
03419     100, // Number of items
03420     // Size of items (sorted)
03421     100,99,99,98,97,97,97,96,96,95,95,95,94,93,93,93,92,91,89,88,
03422     87,86,84,84,83,83,82,81,81,81,78,78,75,74,73,72,72,71,70,68,67,
03423     66,65,64,63,63,62,60,60,59,59,58,57,56,56,55,54,51,49,49,48,47,
03424     47,46,45,45,45,45,44,44,44,44,43,41,41,40,39,39,39,37,37,37,35,
03425     35,34,32,31,31,30,28,26,25,24,24,23,23,22,21,20,20
03426   };
03427   const int n2c3w2_d[] = {
03428     150, // Capacity
03429     100, // Number of items
03430     // Size of items (sorted)
03431     100,100,100,99,99,98,97,96,95,95,95,94,94,91,91,90,90,88,86,84,
03432     83,83,79,78,77,74,74,72,72,70,69,69,69,69,68,68,68,67,67,67,66,
03433     66,65,64,63,63,63,63,63,62,62,61,60,60,59,59,59,59,57,55,55,55,
03434     53,53,52,52,51,50,49,48,47,47,45,44,44,43,43,42,42,41,41,38,37,
03435     36,36,36,36,34,34,29,29,28,27,25,24,23,23,22,22,20
03436   };
03437   const int n2c3w2_e[] = {
03438     150, // Capacity
03439     100, // Number of items
03440     // Size of items (sorted)
03441     99,98,98,98,93,93,92,90,90,89,89,87,85,85,84,81,81,81,80,77,76,
03442     75,75,74,74,73,71,70,70,69,68,67,67,67,66,66,65,65,64,63,62,62,
03443     61,61,59,58,57,57,57,56,55,54,54,54,52,52,52,52,52,51,51,50,50,
03444     50,49,47,47,47,47,47,45,45,44,43,42,42,39,39,39,39,39,39,38,37,
03445     37,37,34,33,33,32,32,31,31,31,29,28,28,27,25,22
03446   };
03447   const int n2c3w2_f[] = {
03448     150, // Capacity
03449     100, // Number of items
03450     // Size of items (sorted)
03451     100,99,99,98,98,97,97,96,95,94,92,92,92,90,86,86,85,85,83,83,
03452     74,74,73,73,73,72,71,71,71,70,70,70,70,69,69,67,67,66,66,66,66,
03453     65,65,63,63,62,61,57,56,56,56,55,54,54,53,53,53,51,49,47,47,47,
03454     46,46,45,44,44,44,42,41,40,40,37,37,35,35,35,35,33,32,32,32,32,
03455     31,31,30,28,28,27,27,27,26,24,23,22,21,21,21,21,20
03456   };
03457   const int n2c3w2_g[] = {
03458     150, // Capacity
03459     100, // Number of items
03460     // Size of items (sorted)
03461     100,99,99,99,97,97,96,96,95,94,94,93,93,92,91,91,90,89,88,88,
03462     87,87,86,85,84,83,83,83,82,82,78,75,75,73,73,72,72,70,69,69,67,
03463     67,65,65,63,61,61,60,59,58,58,58,58,57,57,57,55,54,54,54,52,52,
03464     52,51,48,47,47,47,46,45,45,45,44,42,41,40,37,35,34,31,30,29,27,
03465     26,26,26,25,25,25,24,24,24,24,23,23,23,23,23,22,20
03466   };
03467   const int n2c3w2_h[] = {
03468     150, // Capacity
03469     100, // Number of items
03470     // Size of items (sorted)
03471     99,98,98,98,96,92,92,91,89,87,86,86,85,85,82,81,81,80,80,77,77,
03472     76,76,75,74,74,74,73,71,71,69,69,68,68,66,66,65,64,63,63,63,62,
03473     61,59,59,57,56,55,54,54,53,53,53,51,50,50,49,49,49,48,48,47,47,
03474     46,44,44,44,43,42,41,36,36,36,36,36,35,33,33,32,32,32,32,30,30,
03475     30,30,29,28,28,28,25,25,25,24,24,22,22,22,20,20
03476   };
03477   const int n2c3w2_i[] = {
03478     150, // Capacity
03479     100, // Number of items
03480     // Size of items (sorted)
03481     99,99,99,99,98,97,97,97,96,95,95,95,93,93,93,92,92,91,91,91,90,
03482     90,89,88,87,87,86,84,83,82,81,80,79,79,79,78,78,77,77,76,74,73,
03483     72,71,70,69,69,68,66,66,65,65,65,64,63,63,63,63,62,61,60,60,59,
03484     57,57,54,54,52,49,48,48,47,47,47,47,46,46,45,44,43,43,37,37,36,
03485     36,34,33,32,30,30,30,27,25,22,22,22,21,21,20,20
03486   };
03487   const int n2c3w2_j[] = {
03488     150, // Capacity
03489     100, // Number of items
03490     // Size of items (sorted)
03491     100,100,99,99,99,98,97,97,96,96,96,95,94,94,94,93,93,93,91,90,
03492     89,87,87,86,85,84,83,83,82,81,80,80,80,79,79,78,78,78,78,77,76,
03493     75,74,72,72,72,71,70,70,69,67,66,66,63,62,60,60,57,56,56,56,56,
03494     53,52,52,50,50,48,48,45,44,44,44,44,43,40,38,38,38,37,37,37,36,
03495     36,35,33,32,30,30,28,28,27,27,26,26,25,24,23,22,22
03496   };
03497   const int n2c3w2_k[] = {
03498     150, // Capacity
03499     100, // Number of items
03500     // Size of items (sorted)
03501     100,99,99,99,98,98,97,95,95,95,94,94,93,93,93,90,89,87,87,87,
03502     87,86,85,85,84,84,83,83,82,81,81,80,79,79,78,74,74,73,72,71,71,
03503     70,70,69,68,67,67,67,66,64,62,62,61,61,59,59,58,56,55,54,52,52,
03504     52,52,51,50,50,48,48,48,47,47,42,41,39,38,36,34,34,34,34,33,33,
03505     32,32,32,31,31,30,29,29,27,27,26,26,25,24,23,20,20
03506   };
03507   const int n2c3w2_l[] = {
03508     150, // Capacity
03509     100, // Number of items
03510     // Size of items (sorted)
03511     100,100,98,98,96,95,95,93,93,93,92,92,91,91,91,90,90,89,87,87,
03512     85,85,84,84,82,82,81,80,78,78,75,74,72,72,71,70,69,68,67,66,65,
03513     65,65,65,64,63,63,63,61,61,61,61,61,61,60,60,59,58,57,57,57,56,
03514     54,54,53,53,53,52,49,48,47,47,47,45,43,43,42,40,40,40,40,38,36,
03515     36,34,32,32,29,28,27,27,27,25,23,23,23,22,22,22,21
03516   };
03517   const int n2c3w2_m[] = {
03518     150, // Capacity
03519     100, // Number of items
03520     // Size of items (sorted)
03521     100,100,100,98,98,98,97,96,95,95,94,92,92,91,91,91,90,90,89,89,
03522     89,89,87,87,85,84,84,83,82,81,78,78,78,77,77,77,76,75,74,72,72,
03523     71,69,69,68,67,67,67,66,65,62,62,62,61,60,60,60,60,60,59,58,58,
03524     57,55,55,54,52,52,48,46,46,45,45,44,44,43,43,43,42,42,41,41,40,
03525     40,37,35,33,33,33,32,31,30,29,29,29,25,25,24,23,21
03526   };
03527   const int n2c3w2_n[] = {
03528     150, // Capacity
03529     100, // Number of items
03530     // Size of items (sorted)
03531     100,100,98,96,94,94,93,92,92,92,91,91,90,89,89,87,87,85,85,81,
03532     81,81,80,79,79,78,78,78,78,78,77,77,76,76,76,76,75,75,75,74,73,
03533     72,72,69,68,67,66,66,65,64,63,62,61,58,56,56,55,55,54,54,51,49,
03534     49,49,48,47,47,46,44,44,44,43,43,40,39,38,38,38,38,37,37,36,35,
03535     35,34,32,32,32,31,30,27,27,25,25,24,23,23,22,21,20
03536   };
03537   const int n2c3w2_o[] = {
03538     150, // Capacity
03539     100, // Number of items
03540     // Size of items (sorted)
03541     100,99,99,99,98,97,96,95,95,95,94,93,93,93,92,92,91,88,88,88,
03542     88,87,86,86,85,85,85,85,84,82,82,81,81,81,78,78,77,77,76,76,75,
03543     72,72,72,71,71,70,68,68,67,66,64,64,63,63,63,63,61,60,60,57,56,
03544     56,55,55,55,53,53,52,52,51,51,50,49,48,48,47,45,45,43,42,40,39,
03545     38,38,37,37,37,37,36,34,34,33,33,33,32,31,26,25,21
03546   };
03547   const int n2c3w2_p[] = {
03548     150, // Capacity
03549     100, // Number of items
03550     // Size of items (sorted)
03551     100,100,100,100,99,99,98,98,97,96,96,94,94,94,92,91,90,88,87,
03552     86,85,84,83,82,82,82,81,80,79,75,74,73,72,72,72,72,71,69,68,68,
03553     67,65,65,65,65,65,64,62,60,60,59,59,58,57,57,57,56,55,54,54,53,
03554     52,52,49,49,47,45,45,45,43,42,41,41,40,39,39,36,35,34,34,34,33,
03555     31,31,31,30,30,30,29,28,27,26,26,24,23,22,21,20,20,20
03556   };
03557   const int n2c3w2_q[] = {
03558     150, // Capacity
03559     100, // Number of items
03560     // Size of items (sorted)
03561     100,97,95,95,94,94,93,92,92,92,91,89,88,88,88,87,86,86,85,85,
03562     83,83,82,81,80,75,75,75,74,74,73,73,72,72,69,69,69,69,69,69,68,
03563     68,68,68,66,65,64,63,63,63,63,61,59,59,58,58,57,56,53,52,50,50,
03564     49,48,48,46,46,45,44,43,43,42,42,42,42,42,42,41,41,39,38,38,38,
03565     37,37,35,34,32,31,30,29,28,28,27,25,24,24,22,21,21
03566   };
03567   const int n2c3w2_r[] = {
03568     150, // Capacity
03569     100, // Number of items
03570     // Size of items (sorted)
03571     100,98,98,97,97,96,96,96,96,92,91,91,87,86,84,83,82,82,81,81,
03572     81,81,80,79,79,79,78,78,78,76,76,76,76,76,75,73,73,71,71,70,69,
03573     69,66,66,65,63,62,61,60,58,57,57,57,55,52,51,49,46,46,46,46,46,
03574     46,45,45,45,44,43,43,43,42,42,42,41,40,40,37,37,37,35,35,34,34,
03575     33,32,32,27,27,26,26,25,24,23,22,22,22,21,20,20,20
03576   };
03577   const int n2c3w2_s[] = {
03578     150, // Capacity
03579     100, // Number of items
03580     // Size of items (sorted)
03581     100,100,99,99,99,99,98,97,97,97,96,96,95,95,95,94,92,91,91,90,
03582     90,89,87,84,83,83,83,82,82,82,82,81,80,80,79,79,79,78,78,77,77,
03583     77,75,74,73,69,68,65,64,64,63,62,62,62,62,62,61,61,60,58,57,56,
03584     55,51,49,48,47,46,45,45,44,43,42,41,39,38,38,37,36,36,36,35,34,
03585     34,34,33,33,32,32,31,31,29,28,26,26,25,25,20,20,20
03586   };
03587   const int n2c3w2_t[] = {
03588     150, // Capacity
03589     100, // Number of items
03590     // Size of items (sorted)
03591     100,100,99,97,95,95,94,93,93,92,91,90,89,89,88,88,86,86,85,84,
03592     84,82,82,82,81,81,80,80,79,79,77,77,76,74,74,74,73,72,71,70,69,
03593     69,69,67,67,66,66,65,64,64,63,63,62,61,61,61,61,60,59,59,59,58,
03594     57,57,57,57,56,55,54,54,54,51,50,50,50,49,48,47,46,46,45,44,42,
03595     41,40,40,40,39,38,35,34,29,27,26,25,25,23,23,22,20
03596   };
03597   const int n2c3w4_a[] = {
03598     150, // Capacity
03599     100, // Number of items
03600     // Size of items (sorted)
03601     99,99,98,98,97,97,96,96,96,96,95,94,93,92,91,89,87,87,87,86,85,
03602     84,84,83,83,83,82,81,80,79,79,79,77,77,76,74,74,74,73,72,72,71,
03603     71,69,69,69,66,65,64,64,64,63,62,61,60,59,57,57,57,56,56,55,54,
03604     53,52,52,51,51,49,47,47,46,46,46,46,46,46,44,43,43,43,41,40,40,
03605     39,39,38,36,36,35,34,34,33,32,32,31,31,30,30,30
03606   };
03607   const int n2c3w4_b[] = {
03608     150, // Capacity
03609     100, // Number of items
03610     // Size of items (sorted)
03611     100,99,99,98,98,97,95,95,95,94,94,94,94,93,93,92,91,90,90,90,
03612     90,89,89,88,86,85,85,84,83,83,82,81,81,80,79,79,77,76,76,73,72,
03613     71,71,71,69,69,68,67,67,63,61,61,61,60,60,59,58,57,57,57,57,56,
03614     56,56,56,56,55,53,53,53,51,51,49,48,48,47,47,47,47,46,46,45,45,
03615     44,44,43,43,42,42,39,38,38,37,36,35,33,32,31,30,30
03616   };
03617   const int n2c3w4_c[] = {
03618     150, // Capacity
03619     100, // Number of items
03620     // Size of items (sorted)
03621     99,99,98,97,96,93,92,92,91,91,91,90,90,90,89,88,88,87,85,85,84,
03622     84,84,82,80,80,80,80,78,77,76,75,74,73,72,70,70,69,68,68,67,66,
03623     65,65,65,65,64,62,59,59,59,58,58,57,57,56,56,56,55,55,54,51,51,
03624     50,49,48,46,46,46,46,46,46,45,44,44,41,41,41,41,40,40,39,39,38,
03625     37,36,36,36,35,35,35,35,34,34,34,34,32,32,31,30
03626   };
03627   const int n2c3w4_d[] = {
03628     150, // Capacity
03629     100, // Number of items
03630     // Size of items (sorted)
03631     100,100,99,99,99,99,98,98,98,97,97,97,94,94,93,93,92,90,89,88,
03632     87,86,85,83,83,82,81,80,79,78,77,76,75,73,73,73,73,72,72,71,71,
03633     71,70,68,67,66,65,64,64,64,64,63,62,62,62,61,57,56,55,55,54,53,
03634     53,53,53,52,52,52,51,51,49,49,48,48,45,45,45,45,44,44,43,42,41,
03635     41,40,40,38,35,34,34,34,34,33,33,32,32,32,30,30,30
03636   };
03637   const int n2c3w4_e[] = {
03638     150, // Capacity
03639     100, // Number of items
03640     // Size of items (sorted)
03641     100,100,99,99,98,98,98,96,96,95,94,94,93,93,92,92,91,91,90,89,
03642     88,88,88,88,88,87,86,86,85,85,85,85,84,84,84,83,83,83,81,80,80,
03643     80,79,77,77,75,75,74,72,72,69,68,68,66,65,65,64,64,63,61,61,60,
03644     60,58,58,58,58,57,57,56,56,55,54,49,49,47,47,47,46,45,44,43,42,
03645     42,41,40,40,36,34,34,33,33,32,32,32,32,32,31,30,30
03646   };
03647   const int n2c3w4_f[] = {
03648     150, // Capacity
03649     100, // Number of items
03650     // Size of items (sorted)
03651     100,100,99,98,97,96,94,93,92,91,90,89,89,87,87,85,85,85,84,84,
03652     84,83,83,83,83,83,81,81,80,80,79,79,79,78,78,77,76,75,74,74,74,
03653     73,73,71,71,71,71,70,69,69,68,68,68,66,66,65,64,63,63,63,62,61,
03654     59,58,58,57,56,56,56,56,55,52,50,49,47,46,46,45,45,43,43,43,42,
03655     42,41,41,38,37,37,36,36,35,35,34,34,34,33,31,31,30
03656   };
03657   const int n2c3w4_g[] = {
03658     150, // Capacity
03659     100, // Number of items
03660     // Size of items (sorted)
03661     100,100,99,98,97,97,95,94,94,94,93,93,91,90,90,89,88,88,86,85,
03662     85,84,84,84,82,82,82,81,81,81,80,75,75,75,75,74,74,74,73,72,71,
03663     70,69,69,69,68,67,65,64,64,63,63,63,63,61,61,59,58,58,58,56,56,
03664     55,54,53,53,53,51,50,49,48,48,46,46,44,44,44,43,43,43,43,42,42,
03665     42,41,41,40,40,39,39,39,39,38,36,35,35,35,33,32,32
03666   };
03667   const int n2c3w4_h[] = {
03668     150, // Capacity
03669     100, // Number of items
03670     // Size of items (sorted)
03671     100,97,97,97,95,95,95,94,94,94,94,93,93,93,92,92,90,89,86,85,
03672     83,82,82,81,79,78,77,76,75,74,74,74,74,74,73,73,72,71,71,71,70,
03673     69,68,66,66,65,64,64,64,63,63,62,62,62,61,61,61,59,59,59,58,58,
03674     57,57,55,54,52,50,49,48,47,46,46,45,45,44,44,44,42,42,41,41,40,
03675     39,39,39,37,37,36,36,36,35,35,35,32,32,32,31,30,30
03676   };
03677   const int n2c3w4_i[] = {
03678     150, // Capacity
03679     100, // Number of items
03680     // Size of items (sorted)
03681     99,99,99,99,98,97,97,92,92,91,91,90,89,89,88,88,88,86,85,84,83,
03682     83,81,80,80,80,80,80,79,79,78,77,77,77,77,76,76,75,74,72,72,72,
03683     71,70,69,69,69,67,67,66,66,66,66,65,64,61,60,59,59,59,58,57,56,
03684     56,54,53,52,51,51,51,50,50,50,50,49,48,48,47,47,47,45,43,43,43,
03685     42,41,41,38,37,37,36,35,33,32,32,32,31,31,30,30
03686   };
03687   const int n2c3w4_j[] = {
03688     150, // Capacity
03689     100, // Number of items
03690     // Size of items (sorted)
03691     100,100,100,99,99,99,99,98,98,96,96,95,95,93,92,92,91,91,90,88,
03692     85,84,84,82,81,80,80,76,75,74,73,73,72,71,71,70,69,69,68,67,65,
03693     65,65,64,64,64,64,63,62,61,61,61,60,57,57,56,56,54,52,52,51,51,
03694     51,50,48,48,48,47,46,46,46,45,45,45,44,44,44,43,43,43,42,42,41,
03695     41,41,41,39,39,38,37,36,36,36,34,34,33,33,32,32,31
03696   };
03697   const int n2c3w4_k[] = {
03698     150, // Capacity
03699     100, // Number of items
03700     // Size of items (sorted)
03701     100,100,99,98,96,96,95,94,94,94,93,93,93,93,91,91,91,90,90,89,
03702     89,87,87,87,87,85,84,84,84,83,82,81,81,81,80,79,79,78,78,77,77,
03703     77,75,75,74,74,74,74,69,68,68,67,67,65,65,64,63,61,59,59,58,58,
03704     58,58,57,56,55,55,55,54,54,53,53,52,51,50,50,50,49,49,48,48,48,
03705     48,47,47,43,43,42,40,40,39,37,37,35,34,34,33,31,30
03706   };
03707   const int n2c3w4_l[] = {
03708     150, // Capacity
03709     100, // Number of items
03710     // Size of items (sorted)
03711     99,97,96,95,94,93,92,92,92,91,90,88,88,88,86,86,86,86,85,85,85,
03712     85,85,83,83,83,82,81,81,80,79,78,76,76,75,75,74,74,74,74,74,73,
03713     73,72,71,70,70,70,69,68,67,66,65,65,64,64,63,61,61,60,59,58,58,
03714     58,57,57,57,56,56,56,55,54,54,53,53,53,53,50,48,48,48,46,46,46,
03715     46,45,43,43,42,41,40,39,37,35,35,34,34,31,31,30
03716   };
03717   const int n2c3w4_m[] = {
03718     150, // Capacity
03719     100, // Number of items
03720     // Size of items (sorted)
03721     100,100,100,99,98,98,95,92,91,91,89,89,89,89,88,88,87,86,86,85,
03722     85,84,84,83,82,82,81,81,81,80,79,79,79,78,78,78,77,76,75,75,74,
03723     74,73,72,72,70,69,68,68,67,66,65,64,63,62,62,62,60,59,58,56,56,
03724     55,53,53,53,51,51,50,50,46,44,44,44,44,43,42,42,41,41,40,39,39,
03725     38,37,37,36,36,36,36,35,35,35,34,33,33,33,32,32,30
03726   };
03727   const int n2c3w4_n[] = {
03728     150, // Capacity
03729     100, // Number of items
03730     // Size of items (sorted)
03731     100,99,99,97,96,95,95,94,94,94,93,87,86,85,85,85,85,85,85,85,
03732     84,84,83,83,82,81,81,80,80,80,80,80,80,79,79,78,77,77,76,76,75,
03733     75,75,74,72,70,69,68,68,67,67,65,64,64,64,63,62,60,59,59,59,58,
03734     58,58,57,57,56,56,54,54,52,51,51,48,48,48,47,47,47,46,45,44,44,
03735     42,41,41,39,38,38,37,36,36,36,35,34,33,33,33,32,31
03736   };
03737   const int n2c3w4_o[] = {
03738     150, // Capacity
03739     100, // Number of items
03740     // Size of items (sorted)
03741     98,98,98,97,97,96,96,96,96,94,94,93,93,93,92,92,92,91,91,90,90,
03742     89,88,87,87,87,85,85,83,78,77,77,77,77,76,75,74,73,71,71,70,70,
03743     70,70,70,69,68,68,65,65,64,63,63,61,61,61,61,60,60,59,59,59,59,
03744     58,58,57,54,54,52,52,52,51,49,49,49,48,47,47,47,45,45,45,43,42,
03745     42,41,41,40,40,40,40,39,38,37,36,35,34,32,31,30
03746   };
03747   const int n2c3w4_p[] = {
03748     150, // Capacity
03749     100, // Number of items
03750     // Size of items (sorted)
03751     100,99,99,98,96,96,96,95,94,92,91,90,90,89,89,88,88,88,88,86,
03752     86,85,85,85,84,83,83,83,83,82,82,81,80,80,79,79,77,77,77,75,75,
03753     74,72,71,70,70,70,69,69,69,68,68,67,65,64,64,62,62,61,59,59,57,
03754     57,54,54,54,54,53,53,52,50,50,49,48,48,48,46,43,42,42,42,39,39,
03755     38,38,37,37,37,36,36,35,34,34,34,34,33,32,32,30,30
03756   };
03757   const int n2c3w4_q[] = {
03758     150, // Capacity
03759     100, // Number of items
03760     // Size of items (sorted)
03761     100,99,98,98,98,97,97,97,96,96,96,95,95,95,94,93,93,93,92,91,
03762     91,88,88,87,87,86,85,85,84,82,81,79,79,79,78,78,77,77,76,76,75,
03763     73,73,73,73,72,72,72,71,70,69,68,67,66,65,65,64,63,62,61,61,60,
03764     60,59,59,57,56,55,54,54,53,53,52,51,50,50,50,49,49,48,48,47,47,
03765     47,46,45,45,45,44,38,35,35,35,34,34,34,33,33,31,31
03766   };
03767   const int n2c3w4_r[] = {
03768     150, // Capacity
03769     100, // Number of items
03770     // Size of items (sorted)
03771     100,98,98,98,98,98,97,97,96,95,95,93,92,90,89,87,86,86,84,84,
03772     84,84,80,80,80,79,79,78,77,74,73,73,72,72,72,71,71,71,70,69,69,
03773     69,68,67,66,65,64,64,63,63,62,60,57,57,57,55,55,55,54,53,53,52,
03774     52,52,51,51,50,49,47,46,46,45,44,44,44,43,43,43,42,41,41,41,41,
03775     40,40,39,39,39,39,38,38,37,36,35,35,34,32,31,30,30
03776   };
03777   const int n2c3w4_s[] = {
03778     150, // Capacity
03779     100, // Number of items
03780     // Size of items (sorted)
03781     100,99,98,97,97,96,95,94,94,93,92,91,90,90,88,88,88,87,84,81,
03782     80,80,79,79,76,76,75,75,75,73,73,71,71,71,70,70,70,69,69,67,67,
03783     66,65,64,64,62,61,60,60,59,59,59,59,58,56,55,54,54,53,53,53,51,
03784     51,50,49,48,48,48,47,47,47,46,46,45,45,45,45,45,44,44,44,42,42,
03785     41,41,40,39,38,37,34,34,34,33,33,32,32,31,31,31,30
03786   };
03787   const int n2c3w4_t[] = {
03788     150, // Capacity
03789     100, // Number of items
03790     // Size of items (sorted)
03791     100,100,99,99,97,97,95,95,95,94,94,93,93,93,92,91,91,91,91,91,
03792     89,89,86,86,85,85,84,82,81,81,79,79,78,76,75,74,74,74,74,73,73,
03793     71,70,70,69,69,67,67,67,66,66,66,66,65,65,64,64,63,63,62,61,61,
03794     61,60,60,58,57,54,54,53,53,53,52,52,51,50,48,48,47,46,46,46,45,
03795     44,42,40,39,39,39,37,36,35,34,33,33,33,32,32,30,30
03796   };
03797   const int n3c1w1_a[] = {
03798     100, // Capacity
03799     200, // Number of items
03800     // Size of items (sorted)
03801     100,99,99,97,97,97,94,93,92,92,91,89,89,88,88,88,88,87,87,86,
03802     86,86,86,86,85,84,83,83,82,81,81,81,81,80,80,79,79,79,78,78,77,
03803     77,77,76,76,76,75,74,74,73,73,73,73,72,72,72,72,72,71,71,69,69,
03804     68,67,67,66,66,66,66,64,64,64,64,63,63,62,61,61,61,60,60,59,59,
03805     57,56,56,56,55,55,55,54,54,53,53,52,52,52,51,50,50,50,49,49,49,
03806     49,47,47,46,46,46,46,46,46,45,45,45,45,44,44,42,41,40,40,40,39,
03807     39,38,38,38,38,38,38,37,37,36,36,36,36,34,34,34,34,34,34,31,31,
03808     31,30,30,30,30,30,29,29,27,27,27,26,24,24,23,22,22,22,22,22,20,
03809     18,17,17,17,16,16,15,15,14,14,14,13,13,12,11,11,11,10,10,8,8,
03810     8,6,6,5,5,4,4,3,3,3,1,1
03811   };
03812   const int n3c1w1_b[] = {
03813     100, // Capacity
03814     200, // Number of items
03815     // Size of items (sorted)
03816     100,100,100,100,100,99,99,99,98,98,98,95,93,93,92,92,92,92,91,
03817     90,90,89,89,89,89,88,88,88,88,87,86,86,86,86,86,85,85,85,84,84,
03818     84,83,83,81,81,80,79,77,77,77,75,75,75,75,74,74,74,74,73,73,73,
03819     72,71,71,71,71,70,70,70,70,70,69,68,68,68,68,68,67,67,67,66,65,
03820     65,65,64,64,63,63,63,62,61,61,60,60,59,59,59,58,58,57,57,57,56,
03821     53,53,53,52,52,52,52,51,50,49,49,48,48,48,47,46,45,44,44,44,44,
03822     42,42,41,40,40,40,39,39,39,38,38,38,37,37,36,36,36,36,34,34,33,
03823     33,33,33,33,33,32,32,32,32,31,30,29,28,27,27,26,26,26,25,24,23,
03824     21,21,20,20,17,16,16,15,14,14,14,13,13,13,13,13,12,12,11,11,10,
03825     9,9,7,7,7,7,6,5,5,4,4,3,3
03826   };
03827   const int n3c1w1_c[] = {
03828     100, // Capacity
03829     200, // Number of items
03830     // Size of items (sorted)
03831     100,100,100,99,99,99,97,96,96,95,95,94,92,92,91,91,91,91,90,90,
03832     90,89,89,88,88,87,86,86,85,85,85,83,82,82,82,81,81,80,80,80,79,
03833     79,79,76,75,75,74,74,73,72,72,72,71,71,70,68,67,67,67,67,66,66,
03834     65,65,64,64,64,63,63,63,62,62,62,61,61,60,60,59,59,59,59,58,58,
03835     57,57,56,56,56,56,55,55,54,52,51,51,50,50,49,48,48,47,47,47,47,
03836     46,46,43,43,42,42,42,41,41,40,40,40,39,37,37,36,36,34,34,34,34,
03837     33,33,33,32,31,30,30,29,29,28,28,27,27,26,26,26,26,25,25,24,24,
03838     23,23,23,23,22,22,21,21,21,20,20,20,20,19,19,18,17,17,16,16,15,
03839     14,14,14,14,14,13,13,12,12,11,11,11,11,10,9,9,8,8,8,8,7,7,7,6,
03840     6,6,5,4,4,4,2,2,1
03841   };
03842   const int n3c1w1_d[] = {
03843     100, // Capacity
03844     200, // Number of items
03845     // Size of items (sorted)
03846     100,99,99,99,98,97,97,97,96,96,95,95,95,94,94,93,93,93,93,93,
03847     92,92,91,90,89,89,89,88,87,87,87,87,87,87,87,86,85,84,84,83,82,
03848     80,80,80,80,79,79,78,78,77,76,76,74,74,74,74,73,73,71,70,69,69,
03849     68,68,68,68,68,68,67,67,66,66,66,65,64,63,63,62,62,62,61,61,61,
03850     60,60,60,60,59,59,58,57,57,57,57,55,55,54,54,53,53,53,51,51,51,
03851     50,49,49,48,48,48,48,47,46,46,46,45,45,45,43,43,43,42,42,42,42,
03852     42,41,41,40,39,38,37,37,37,37,37,36,36,35,35,35,35,34,34,34,32,
03853     31,31,30,29,29,28,28,26,26,26,25,24,24,24,23,22,21,21,21,20,20,
03854     20,19,19,19,19,19,19,17,14,13,12,12,11,10,10,10,9,9,8,8,8,8,7,
03855     6,6,5,5,5,4,3,2,2,2
03856   };
03857   const int n3c1w1_e[] = {
03858     100, // Capacity
03859     200, // Number of items
03860     // Size of items (sorted)
03861     100,100,100,100,98,98,97,97,96,96,95,95,95,95,94,93,93,93,91,
03862     91,91,91,91,91,90,90,87,87,86,85,85,85,84,84,82,81,81,81,79,78,
03863     78,76,76,75,75,75,75,74,74,74,72,72,72,72,71,70,69,69,69,69,67,
03864     67,67,67,66,66,66,65,64,64,64,64,63,62,61,61,60,60,59,58,57,56,
03865     55,55,55,54,53,53,53,52,52,50,50,49,47,47,46,46,45,44,44,43,43,
03866     42,42,41,41,41,40,40,39,39,39,39,38,38,38,37,36,35,35,34,34,33,
03867     33,32,32,32,32,32,32,31,31,31,30,30,30,30,30,29,28,28,27,27,26,
03868     25,24,24,24,23,23,23,23,22,22,22,21,21,21,20,19,19,19,18,18,17,
03869     17,16,16,15,15,14,14,13,12,12,11,10,10,9,8,8,8,8,7,7,7,7,6,6,
03870     5,4,3,3,3,3,2,2,1,1
03871   };
03872   const int n3c1w1_f[] = {
03873     100, // Capacity
03874     200, // Number of items
03875     // Size of items (sorted)
03876     100,100,99,99,99,98,98,98,97,97,97,97,96,96,95,94,94,94,94,94,
03877     94,93,93,93,93,93,92,91,90,90,90,90,89,87,86,86,86,85,85,85,85,
03878     85,84,83,83,83,82,82,81,81,80,80,78,77,76,76,76,75,75,74,74,74,
03879     74,74,73,72,71,71,70,70,70,69,69,68,68,68,67,67,67,67,66,66,65,
03880     64,63,63,62,61,61,61,60,60,60,60,60,60,59,59,58,58,58,57,57,56,
03881     56,54,54,53,53,50,50,49,49,49,48,48,48,46,46,46,45,44,42,41,40,
03882     40,37,37,37,36,36,34,33,32,32,31,30,29,28,28,27,27,27,26,25,25,
03883     25,24,24,23,23,23,23,23,23,23,22,22,21,21,20,20,20,19,18,17,16,
03884     16,15,15,14,14,14,13,12,12,12,11,10,10,10,10,9,8,8,8,8,7,7,7,
03885     7,6,5,5,5,5,4,3,2,1
03886   };
03887   const int n3c1w1_g[] = {
03888     100, // Capacity
03889     200, // Number of items
03890     // Size of items (sorted)
03891     100,99,99,98,98,97,95,95,94,94,93,93,93,93,92,91,91,91,91,90,
03892     90,90,89,89,89,88,88,87,87,86,86,86,86,86,85,85,84,84,84,83,82,
03893     81,81,80,80,79,79,79,78,77,77,76,76,75,75,74,74,74,74,73,73,73,
03894     73,73,72,72,72,71,70,70,69,69,68,68,68,67,67,66,62,62,62,62,62,
03895     62,61,60,60,60,60,60,59,58,57,57,57,57,56,56,54,54,53,53,52,52,
03896     52,52,52,51,50,50,50,49,49,49,48,47,46,46,46,45,44,43,43,42,42,
03897     40,40,40,39,39,38,36,36,36,35,35,34,33,33,32,32,32,31,30,30,29,
03898     29,29,28,27,27,26,26,26,25,25,25,24,24,24,24,23,23,23,22,22,22,
03899     22,21,20,20,19,16,15,15,14,14,14,13,11,11,10,10,10,9,9,7,6,6,
03900     5,5,5,4,4,3,2,1,1,1,1
03901   };
03902   const int n3c1w1_h[] = {
03903     100, // Capacity
03904     200, // Number of items
03905     // Size of items (sorted)
03906     100,100,99,99,97,97,97,97,97,97,96,96,96,96,95,95,95,95,94,93,
03907     93,93,92,92,91,90,89,89,88,88,88,87,87,87,86,86,85,85,84,84,83,
03908     83,82,81,80,80,80,79,79,79,78,77,77,77,77,76,75,75,74,74,73,72,
03909     71,71,71,71,71,71,71,69,69,69,68,65,65,63,63,62,62,62,62,61,61,
03910     60,60,59,58,58,58,56,56,56,54,53,53,52,51,51,51,50,49,49,48,48,
03911     48,47,46,46,46,46,46,46,43,43,42,41,40,39,39,38,37,37,36,36,36,
03912     35,34,34,33,33,32,32,32,32,32,32,32,30,30,29,29,28,27,27,27,27,
03913     26,26,26,26,25,25,24,24,23,22,21,21,21,21,20,19,19,18,17,17,17,
03914     16,16,16,15,15,15,14,14,13,12,11,11,10,9,9,7,6,6,6,6,6,4,4,4,
03915     4,4,3,2,1,1,1,1,1
03916   };
03917   const int n3c1w1_i[] = {
03918     100, // Capacity
03919     200, // Number of items
03920     // Size of items (sorted)
03921     99,97,97,96,96,95,93,92,92,92,92,92,92,92,91,91,90,89,88,87,87,
03922     87,86,85,85,84,84,84,83,83,83,83,83,83,82,81,80,79,78,78,78,78,
03923     77,77,76,76,76,75,75,75,74,73,72,71,71,70,70,69,69,68,68,67,66,
03924     66,65,65,63,63,63,63,62,61,61,61,59,58,58,58,58,58,58,58,58,57,
03925     56,56,56,54,53,52,52,52,51,50,50,50,50,50,49,49,48,48,48,48,48,
03926     47,47,46,45,45,44,43,43,43,43,43,43,42,41,41,40,40,38,38,37,37,
03927     37,37,36,36,36,35,35,34,33,32,32,31,31,29,29,29,28,27,27,27,26,
03928     26,25,24,24,23,22,22,22,21,21,21,20,20,19,18,18,18,18,17,16,16,
03929     16,16,15,15,14,14,14,13,13,12,12,11,11,11,11,8,8,7,6,5,3,3,2,
03930     2,2,2,2,2,1,1,1,1
03931   };
03932   const int n3c1w1_j[] = {
03933     100, // Capacity
03934     200, // Number of items
03935     // Size of items (sorted)
03936     100,100,99,98,97,97,97,97,97,96,96,95,95,93,93,93,92,92,91,91,
03937     89,88,88,88,88,88,86,86,85,85,85,84,83,83,83,82,81,80,79,79,78,
03938     78,77,77,75,74,74,74,73,73,72,72,72,71,71,71,70,70,70,70,69,69,
03939     67,67,66,66,65,65,65,64,64,64,63,63,63,62,62,62,61,60,60,59,59,
03940     59,59,59,58,58,57,57,57,56,56,55,55,55,55,54,54,52,52,52,51,51,
03941     51,50,50,50,49,49,49,49,48,47,47,47,45,44,44,44,43,43,43,43,43,
03942     41,41,41,40,40,39,39,39,39,38,37,37,37,36,36,36,35,35,34,33,33,
03943     31,31,30,29,28,28,28,27,27,25,25,24,23,23,23,22,22,21,21,21,19,
03944     19,19,17,17,17,17,16,16,15,14,14,14,14,13,13,12,11,10,10,10,9,
03945     9,9,8,7,6,6,4,4,3,3,3,2
03946   };
03947   const int n3c1w1_k[] = {
03948     100, // Capacity
03949     200, // Number of items
03950     // Size of items (sorted)
03951     100,99,99,99,98,98,98,98,97,95,95,95,95,94,94,92,92,92,92,91,
03952     90,88,88,88,88,87,87,87,86,85,84,84,83,83,83,82,82,82,82,81,81,
03953     81,81,80,80,80,79,78,77,75,75,74,74,74,73,73,72,72,71,71,70,70,
03954     70,69,68,68,68,68,67,67,66,66,65,64,63,62,61,60,60,58,58,57,57,
03955     56,56,55,55,55,55,55,55,54,53,53,53,52,51,50,49,49,49,48,48,48,
03956     48,47,47,47,46,45,43,43,42,42,42,42,41,41,41,41,40,40,39,39,38,
03957     38,38,38,36,35,35,34,33,32,32,30,28,28,28,28,28,26,26,25,25,24,
03958     24,23,23,23,22,22,22,22,21,21,21,21,20,20,20,19,19,19,18,17,17,
03959     16,15,15,14,14,13,13,12,12,11,11,11,10,9,9,9,8,7,6,6,5,5,4,4,
03960     4,3,3,3,2,2,2,2,1
03961   };
03962   const int n3c1w1_l[] = {
03963     100, // Capacity
03964     200, // Number of items
03965     // Size of items (sorted)
03966     100,100,99,99,99,99,97,96,96,94,94,94,93,93,93,93,92,92,92,89,
03967     88,87,87,85,84,84,84,84,83,83,83,83,82,80,80,79,79,78,76,75,75,
03968     75,74,73,73,73,73,73,72,72,72,71,71,70,70,70,70,70,69,69,69,68,
03969     67,67,66,66,64,63,63,63,62,62,61,61,59,59,59,59,58,58,57,56,56,
03970     55,55,54,53,52,52,51,51,50,50,50,50,50,50,48,48,48,48,47,47,47,
03971     46,46,46,46,45,44,43,41,41,39,39,38,37,37,37,36,36,35,35,35,34,
03972     34,33,33,33,32,32,31,31,31,31,30,30,30,29,29,28,28,25,25,25,25,
03973     24,24,24,23,23,23,23,22,21,20,20,20,20,19,18,18,18,16,16,16,15,
03974     14,14,14,14,13,12,11,11,11,11,11,10,10,9,9,9,8,8,8,7,7,7,6,4,
03975     4,3,3,2,2,2,1,1,1
03976   };
03977   const int n3c1w1_m[] = {
03978     100, // Capacity
03979     200, // Number of items
03980     // Size of items (sorted)
03981     100,99,99,98,98,97,97,97,97,97,96,96,96,96,95,95,94,92,92,92,
03982     92,91,91,91,90,90,90,89,87,87,86,85,85,83,83,83,82,82,80,78,78,
03983     78,77,77,77,77,76,76,75,75,74,74,74,74,72,71,71,71,70,70,69,69,
03984     69,68,67,67,67,67,66,66,66,66,65,65,65,65,64,63,61,61,60,60,60,
03985     59,59,58,58,58,57,55,54,54,54,54,54,54,54,54,52,52,52,52,51,51,
03986     51,51,49,47,47,46,46,45,44,44,44,44,44,43,42,42,42,41,41,41,41,
03987     40,39,38,37,37,35,35,35,33,32,31,30,30,29,29,29,28,28,27,27,26,
03988     26,25,25,25,24,23,23,23,23,23,21,21,20,19,19,19,18,18,18,17,17,
03989     17,17,16,16,16,15,15,15,15,15,14,14,13,12,12,11,11,10,10,10,10,
03990     10,9,7,6,6,5,5,4,3,2,1,1
03991   };
03992   const int n3c1w1_n[] = {
03993     100, // Capacity
03994     200, // Number of items
03995     // Size of items (sorted)
03996     100,100,99,99,99,98,98,97,96,95,95,93,93,93,91,90,90,88,88,87,
03997     84,82,82,81,81,81,81,81,81,80,80,79,79,78,78,77,77,77,77,76,75,
03998     75,74,73,73,72,71,71,71,70,70,70,69,67,66,66,66,66,66,65,65,65,
03999     64,64,63,59,59,59,59,58,58,56,56,54,54,53,53,53,51,51,51,51,50,
04000     49,48,48,48,48,47,47,47,47,46,46,46,46,46,46,46,46,46,46,45,44,
04001     44,44,43,41,41,40,40,40,39,39,39,38,36,36,35,34,34,34,33,33,33,
04002     32,32,32,32,31,31,31,30,30,29,28,28,27,27,27,26,25,25,24,24,23,
04003     23,22,22,22,22,21,21,21,20,19,19,18,16,16,16,15,15,15,15,15,15,
04004     14,13,13,13,12,12,12,12,11,10,10,10,9,9,9,8,8,8,8,7,7,7,7,7,5,
04005     5,4,3,3,3,2,2,2
04006   };
04007   const int n3c1w1_o[] = {
04008     100, // Capacity
04009     200, // Number of items
04010     // Size of items (sorted)
04011     100,99,98,98,98,97,96,96,95,95,95,94,92,91,91,90,90,89,89,89,
04012     87,87,86,86,86,86,86,84,84,83,83,83,82,82,82,82,81,79,79,78,77,
04013     77,76,76,76,76,76,76,76,76,76,76,75,74,73,72,72,71,69,69,67,66,
04014     66,66,65,65,64,64,63,63,63,63,62,60,60,60,59,59,57,56,56,55,54,
04015     54,54,54,54,53,52,52,52,51,51,51,50,48,48,47,47,46,45,45,45,45,
04016     45,42,42,41,41,41,40,40,39,39,38,38,37,37,37,36,35,35,35,34,34,
04017     34,34,31,30,30,30,29,29,29,29,29,29,28,28,28,28,28,26,26,26,25,
04018     25,25,24,24,24,23,22,22,22,22,21,21,21,21,21,20,19,19,19,18,18,
04019     18,18,18,17,17,16,16,16,16,15,14,14,14,13,13,12,12,11,10,10,9,
04020     8,8,8,7,7,6,6,5,4,4,3,2
04021   };
04022   const int n3c1w1_p[] = {
04023     100, // Capacity
04024     200, // Number of items
04025     // Size of items (sorted)
04026     100,100,100,100,100,99,98,98,98,97,97,97,97,96,96,95,92,92,92,
04027     92,91,91,91,91,90,89,89,87,87,87,86,86,86,86,86,85,85,85,84,84,
04028     84,83,83,83,82,82,82,81,81,81,79,78,77,77,76,75,75,75,75,75,72,
04029     72,72,72,72,72,72,71,71,71,71,70,70,70,69,68,65,64,64,64,63,63,
04030     62,62,61,60,60,59,59,59,59,59,58,58,57,57,57,57,56,56,55,53,53,
04031     52,52,51,51,50,48,48,48,47,46,46,46,44,44,43,43,42,42,41,41,38,
04032     38,37,37,37,37,36,35,35,34,33,33,33,32,32,31,30,30,30,29,29,28,
04033     28,28,28,27,26,25,25,25,24,24,23,23,23,22,22,22,21,21,21,21,21,
04034     20,19,18,18,17,16,16,16,16,16,16,15,15,14,14,13,13,13,13,12,12,
04035     11,9,9,8,8,7,7,6,4,2,2,2,2
04036   };
04037   const int n3c1w1_q[] = {
04038     100, // Capacity
04039     200, // Number of items
04040     // Size of items (sorted)
04041     99,98,97,95,95,93,93,93,93,93,92,92,92,92,92,92,91,91,90,90,90,
04042     90,89,88,87,85,85,85,85,85,84,84,83,82,82,81,81,80,79,79,79,79,
04043     78,78,77,77,77,76,76,76,76,75,74,74,73,72,72,71,71,70,70,70,70,
04044     69,69,67,67,66,66,65,65,65,64,63,61,60,60,59,58,54,53,53,52,52,
04045     51,51,50,50,50,49,48,48,48,48,47,46,46,46,46,45,45,43,42,42,42,
04046     42,41,41,41,40,40,39,38,38,37,36,36,36,35,35,35,35,34,34,34,33,
04047     32,32,32,31,31,31,31,30,30,29,28,27,27,27,26,25,25,25,24,23,23,
04048     23,23,23,23,22,22,21,21,21,20,20,20,20,20,19,19,18,17,17,17,17,
04049     17,16,16,16,15,14,14,14,14,13,12,11,11,11,11,11,8,7,7,7,5,5,5,
04050     4,3,2,2,2,2,2,1,1
04051   };
04052   const int n3c1w1_r[] = {
04053     100, // Capacity
04054     200, // Number of items
04055     // Size of items (sorted)
04056     100,100,99,99,98,98,98,97,97,96,96,95,95,94,94,94,92,92,91,90,
04057     90,89,89,87,86,86,85,84,84,84,83,82,82,81,80,80,79,79,79,78,78,
04058     78,77,77,77,77,77,77,76,76,75,75,75,74,74,73,73,72,72,71,67,67,
04059     67,67,66,65,65,65,64,64,63,62,61,61,60,60,59,59,59,58,58,58,58,
04060     58,58,57,57,56,56,56,55,54,54,53,52,52,50,50,50,49,47,46,45,45,
04061     45,44,43,43,41,41,41,40,40,40,40,39,39,38,38,38,38,38,37,36,35,
04062     35,35,34,33,33,32,30,30,30,30,28,28,27,27,27,26,26,26,25,25,25,
04063     24,24,24,24,23,22,21,21,20,20,19,19,19,19,19,18,16,16,16,16,15,
04064     15,14,14,14,14,14,12,11,11,11,10,10,10,9,8,8,8,7,7,6,6,6,6,6,
04065     5,5,3,2,2,1,1,1,1
04066   };
04067   const int n3c1w1_s[] = {
04068     100, // Capacity
04069     200, // Number of items
04070     // Size of items (sorted)
04071     99,99,98,97,97,97,97,96,96,96,95,95,93,93,92,92,90,89,88,88,88,
04072     88,87,87,86,86,86,86,86,86,85,84,83,83,83,82,82,82,81,81,81,80,
04073     80,80,80,78,77,76,76,74,73,72,71,71,71,70,70,70,70,69,69,69,69,
04074     67,66,66,65,65,64,63,63,63,62,62,62,61,61,61,61,59,58,58,56,56,
04075     54,52,52,51,51,51,50,50,50,50,50,49,49,48,48,47,47,45,45,44,44,
04076     44,44,44,43,42,42,42,42,42,41,39,38,38,38,37,36,36,36,36,35,35,
04077     35,34,33,33,32,31,31,31,31,31,31,30,30,29,29,28,28,28,27,27,27,
04078     26,25,25,25,24,24,23,23,23,22,21,21,21,20,20,20,19,19,17,17,17,
04079     17,16,15,15,15,14,14,14,14,13,11,11,10,10,10,9,9,8,8,8,8,7,7,
04080     6,6,4,3,3,2,1,1,1
04081   };
04082   const int n3c1w1_t[] = {
04083     100, // Capacity
04084     200, // Number of items
04085     // Size of items (sorted)
04086     100,100,100,99,99,98,97,96,96,96,96,95,94,94,93,92,92,92,91,91,
04087     91,90,90,89,88,87,87,87,87,87,86,86,86,85,84,83,83,83,83,82,82,
04088     81,81,81,81,80,80,79,79,79,78,78,78,78,78,76,76,76,76,76,76,75,
04089     74,74,74,73,73,72,71,69,69,69,67,66,65,64,63,63,63,62,61,61,60,
04090     59,57,57,56,56,56,55,55,54,54,54,54,54,53,53,52,52,51,50,48,48,
04091     48,48,47,46,46,45,45,45,43,42,40,40,40,39,39,39,39,38,38,37,37,
04092     37,36,35,34,32,31,31,30,30,29,28,27,27,26,25,24,24,24,24,24,22,
04093     22,21,21,21,21,20,19,19,18,18,18,18,18,17,16,16,16,15,15,14,14,
04094     13,13,12,12,12,12,11,11,11,11,10,9,9,8,7,6,6,6,6,6,6,5,5,5,4,
04095     4,3,3,3,3,2,1,1
04096   };
04097   const int n3c1w2_a[] = {
04098     100, // Capacity
04099     200, // Number of items
04100     // Size of items (sorted)
04101     100,100,99,99,99,98,98,98,98,98,97,97,96,96,96,95,94,94,93,93,
04102     91,91,91,90,90,90,89,89,88,88,88,88,87,87,86,85,85,84,83,83,83,
04103     83,82,81,79,79,79,79,78,78,77,77,77,76,76,76,76,75,75,74,73,73,
04104     73,72,72,72,71,71,71,70,70,69,69,69,69,69,68,68,68,67,67,67,67,
04105     65,65,65,65,65,64,63,63,63,63,61,61,61,61,61,60,60,60,59,59,59,
04106     58,58,58,57,56,56,55,55,55,55,54,54,54,53,53,51,51,50,50,50,50,
04107     49,49,48,48,48,48,47,46,46,45,44,43,43,42,42,41,40,40,40,40,40,
04108     39,38,38,38,38,37,36,36,35,35,34,34,34,33,33,33,33,33,33,32,32,
04109     32,32,32,32,32,31,31,30,28,27,26,26,25,25,24,24,23,23,22,22,22,
04110     21,21,21,20,20,20,20,20,20,20,20,20
04111   };
04112   const int n3c1w2_b[] = {
04113     100, // Capacity
04114     200, // Number of items
04115     // Size of items (sorted)
04116     99,99,99,97,96,95,94,93,93,93,93,93,91,91,91,90,89,89,89,89,88,
04117     88,87,87,85,85,84,84,84,84,82,81,81,81,80,80,79,78,78,77,77,76,
04118     76,76,76,75,75,74,74,74,74,74,74,73,73,73,72,72,72,72,72,71,71,
04119     70,69,69,69,69,68,68,68,67,67,67,67,67,67,67,66,66,66,65,65,65,
04120     64,64,64,63,63,62,61,61,60,59,59,58,58,58,58,58,58,58,57,57,57,
04121     57,56,56,55,55,54,54,54,54,54,53,53,53,53,53,52,52,52,51,51,50,
04122     49,48,48,48,47,47,46,46,46,45,45,44,43,43,42,41,40,40,38,38,38,
04123     38,38,37,36,36,36,36,36,36,36,36,35,35,35,34,34,33,33,33,33,32,
04124     32,32,32,31,31,31,30,30,29,29,28,28,27,27,27,26,26,25,25,23,22,
04125     21,21,21,21,21,21,21,20,20,20,20
04126   };
04127   const int n3c1w2_c[] = {
04128     100, // Capacity
04129     200, // Number of items
04130     // Size of items (sorted)
04131     100,100,100,99,99,98,98,98,96,96,96,95,95,94,94,94,93,93,92,92,
04132     92,91,91,90,90,90,89,89,89,89,88,88,87,87,86,86,85,85,85,85,84,
04133     84,83,82,82,82,82,81,81,81,81,81,80,80,79,79,78,78,78,78,77,76,
04134     76,76,75,74,74,74,73,72,72,71,71,71,70,70,70,70,69,68,68,68,66,
04135     66,66,65,65,65,65,63,62,61,61,60,60,60,60,58,58,58,58,57,57,57,
04136     57,56,56,55,54,54,53,52,52,52,52,52,52,52,52,52,51,51,50,50,49,
04137     48,47,47,47,47,46,45,45,45,45,45,44,43,43,42,42,42,41,41,41,41,
04138     40,40,39,39,39,38,37,37,37,36,36,36,35,35,35,34,34,33,33,33,32,
04139     32,32,32,31,31,31,30,30,28,28,28,28,28,27,27,27,26,26,26,24,24,
04140     23,23,23,23,22,22,22,21,21,20,20,20
04141   };
04142   const int n3c1w2_d[] = {
04143     100, // Capacity
04144     200, // Number of items
04145     // Size of items (sorted)
04146     100,100,100,99,98,98,98,97,97,97,97,96,96,96,96,95,95,95,94,94,
04147     94,94,93,93,92,92,92,91,91,91,91,90,90,89,87,87,86,86,85,84,84,
04148     83,83,82,81,81,81,80,80,79,79,79,79,79,79,78,78,78,78,77,77,77,
04149     77,77,76,76,76,76,75,75,75,74,74,73,73,73,73,73,72,72,72,71,71,
04150     71,70,70,70,69,69,69,69,69,68,67,67,67,66,65,65,65,65,64,63,63,
04151     63,63,62,62,62,61,61,61,60,59,59,59,59,59,58,57,57,57,57,57,56,
04152     56,55,54,54,53,53,53,53,53,52,52,52,51,50,48,48,47,47,47,47,46,
04153     46,44,44,44,43,43,42,41,41,41,41,40,40,39,38,37,36,36,36,36,35,
04154     34,34,33,33,32,31,31,31,30,30,29,29,28,28,28,27,27,27,27,26,25,
04155     25,24,24,23,23,22,22,22,22,21,21,20
04156   };
04157   const int n3c1w2_e[] = {
04158     100, // Capacity
04159     200, // Number of items
04160     // Size of items (sorted)
04161     100,100,99,99,98,98,97,97,97,96,96,96,95,95,95,95,94,94,94,93,
04162     93,92,91,91,90,89,89,89,89,88,88,87,87,87,87,86,86,86,85,85,85,
04163     84,84,83,83,82,82,82,81,81,81,81,80,80,79,79,79,78,77,77,77,76,
04164     76,76,76,74,73,73,73,73,73,73,73,73,72,72,72,72,71,71,70,70,70,
04165     70,70,68,68,68,68,67,66,66,66,66,66,65,64,63,63,63,62,61,61,61,
04166     61,61,60,60,59,59,59,58,58,57,57,57,56,56,56,55,54,54,53,53,53,
04167     52,52,51,50,50,49,49,49,48,47,47,47,46,45,45,44,44,43,43,43,43,
04168     43,42,42,42,42,41,41,41,41,40,40,39,39,38,37,36,36,35,35,34,34,
04169     34,33,33,33,32,30,30,30,29,29,28,28,28,28,28,27,27,27,26,25,25,
04170     24,24,23,23,23,22,22,22,21,21,20,20
04171   };
04172   const int n3c1w2_f[] = {
04173     100, // Capacity
04174     200, // Number of items
04175     // Size of items (sorted)
04176     100,99,98,98,98,98,97,97,97,96,96,96,95,94,94,93,93,92,91,91,
04177     90,90,90,90,89,88,88,88,87,87,86,86,85,85,84,84,83,82,81,81,80,
04178     79,79,79,78,78,78,78,78,78,78,78,77,77,77,77,76,76,75,75,74,74,
04179     74,73,73,73,72,71,71,70,70,69,69,69,68,68,67,65,65,65,65,65,65,
04180     64,64,63,63,62,62,62,62,62,61,61,61,61,60,59,59,58,58,58,57,57,
04181     56,56,56,56,54,54,54,52,52,52,52,52,50,50,50,49,49,47,47,47,46,
04182     46,46,45,45,45,45,45,44,44,44,43,43,43,43,42,42,42,42,41,41,40,
04183     39,39,38,38,37,37,37,37,37,37,36,36,35,35,35,35,35,34,34,34,33,
04184     33,33,33,32,32,32,31,31,31,30,30,30,28,28,27,26,23,22,22,22,22,
04185     22,21,21,21,21,20,20,20,20,20,20,20
04186   };
04187   const int n3c1w2_g[] = {
04188     100, // Capacity
04189     200, // Number of items
04190     // Size of items (sorted)
04191     100,100,100,100,99,99,99,98,98,98,97,96,96,96,96,95,95,95,95,
04192     94,94,94,94,94,93,93,93,92,92,92,92,92,92,92,92,91,91,90,89,88,
04193     88,88,88,87,87,87,87,87,86,85,85,85,85,85,84,83,83,83,83,82,81,
04194     81,80,80,80,80,80,79,79,78,78,78,77,77,77,77,76,75,75,74,74,73,
04195     72,72,71,69,69,69,69,69,68,68,67,67,66,64,63,62,62,62,62,61,61,
04196     61,61,60,59,58,58,58,57,57,57,57,56,56,55,54,54,54,53,52,51,51,
04197     51,50,50,50,50,50,49,47,47,46,44,43,43,42,42,42,42,42,42,42,42,
04198     41,41,41,40,40,39,39,38,38,37,37,37,36,36,36,36,36,35,35,35,34,
04199     33,33,33,32,32,32,31,30,30,30,30,30,29,29,28,28,28,27,27,26,26,
04200     25,25,24,24,23,23,22,22,22,22,22,21,20
04201   };
04202   const int n3c1w2_h[] = {
04203     100, // Capacity
04204     200, // Number of items
04205     // Size of items (sorted)
04206     100,100,99,99,99,99,99,98,97,97,96,96,96,96,95,95,94,94,94,94,
04207     93,93,93,91,91,91,91,91,90,90,90,90,90,90,90,89,89,89,89,89,88,
04208     88,88,87,86,86,86,85,85,85,84,84,84,84,83,83,83,81,81,80,80,80,
04209     80,80,79,79,78,78,77,77,76,76,75,75,75,74,73,73,72,71,71,70,70,
04210     70,70,69,68,68,67,67,67,65,65,65,64,64,62,62,62,62,61,61,60,60,
04211     59,59,58,58,58,57,57,57,57,56,56,55,55,55,54,54,52,51,50,50,49,
04212     48,48,48,48,47,47,46,45,45,43,43,43,42,42,41,41,41,40,40,40,40,
04213     39,39,38,38,38,37,37,36,35,35,35,35,34,34,34,34,33,33,32,32,32,
04214     31,31,30,30,30,30,28,28,28,27,27,27,26,26,26,26,25,25,25,25,25,
04215     25,24,24,24,24,24,23,22,20,20,20,20
04216   };
04217   const int n3c1w2_i[] = {
04218     100, // Capacity
04219     200, // Number of items
04220     // Size of items (sorted)
04221     100,100,100,100,98,97,97,97,96,95,95,95,94,93,93,92,92,92,92,
04222     91,91,91,90,90,90,88,88,88,87,87,87,87,86,86,85,85,84,84,84,83,
04223     83,83,83,83,82,82,82,82,82,82,81,81,80,80,79,79,79,78,78,77,77,
04224     76,75,74,74,72,72,72,71,71,71,69,69,69,68,68,68,68,68,68,67,67,
04225     66,65,65,65,64,64,64,64,63,63,63,62,62,62,62,61,61,60,60,59,59,
04226     59,59,59,58,58,57,57,57,56,56,56,55,55,54,53,53,52,52,51,51,51,
04227     51,50,49,49,49,48,46,46,45,45,45,45,44,44,44,43,42,42,42,42,41,
04228     41,41,41,40,40,40,39,39,38,38,38,38,37,37,36,35,34,34,34,33,33,
04229     32,31,31,31,30,30,30,29,29,29,29,27,27,27,26,25,25,25,24,24,24,
04230     23,23,23,23,23,22,22,21,20,20,20,20,20
04231   };
04232   const int n3c1w2_j[] = {
04233     100, // Capacity
04234     200, // Number of items
04235     // Size of items (sorted)
04236     100,100,100,100,99,99,98,98,98,97,97,97,96,96,96,95,95,94,94,
04237     93,93,93,93,93,93,92,92,91,89,88,88,88,88,88,87,87,87,87,87,87,
04238     86,85,85,85,84,83,83,82,82,82,81,80,80,80,80,80,79,79,79,78,77,
04239     77,76,76,76,76,76,75,75,75,75,74,73,73,73,72,71,71,71,71,70,69,
04240     69,68,68,68,68,67,65,65,65,62,62,60,60,60,60,60,59,59,59,59,59,
04241     58,58,58,58,58,57,56,55,55,54,54,53,53,53,53,52,50,50,49,49,49,
04242     48,48,48,47,47,46,46,46,45,45,45,43,43,43,42,42,42,41,41,41,41,
04243     40,40,40,40,39,39,37,37,37,37,37,36,36,36,35,34,33,33,32,32,32,
04244     30,30,30,30,29,29,29,29,29,28,27,27,26,26,25,25,25,25,24,24,24,
04245     24,24,23,23,23,22,22,21,21,21,20,20,20
04246   };
04247   const int n3c1w2_k[] = {
04248     100, // Capacity
04249     200, // Number of items
04250     // Size of items (sorted)
04251     100,100,99,99,98,98,98,98,97,96,96,95,95,95,95,94,93,93,93,93,
04252     92,92,91,91,90,90,89,89,89,89,89,88,87,87,85,85,84,84,84,84,84,
04253     83,83,83,82,82,82,78,78,77,77,77,77,77,76,76,76,75,74,73,73,72,
04254     72,71,70,70,70,69,69,68,67,67,66,66,66,65,64,64,64,63,63,63,63,
04255     63,62,61,60,60,60,59,59,59,59,57,57,56,56,55,55,54,53,53,53,53,
04256     52,52,52,51,51,50,50,49,49,49,48,47,47,47,47,47,46,46,46,45,44,
04257     44,43,43,43,43,43,43,42,42,42,41,41,40,40,40,40,40,39,39,39,38,
04258     38,38,38,37,37,37,36,36,36,36,34,33,33,32,32,32,32,32,31,31,31,
04259     30,30,30,30,30,29,29,28,28,28,28,28,28,27,27,27,26,26,26,26,25,
04260     25,24,24,23,22,21,21,21,20,20,20,20
04261   };
04262   const int n3c1w2_l[] = {
04263     100, // Capacity
04264     200, // Number of items
04265     // Size of items (sorted)
04266     100,100,99,99,99,98,98,98,98,97,97,97,97,97,96,96,95,95,94,94,
04267     94,94,93,92,92,92,92,92,92,92,91,91,90,90,90,90,89,89,89,88,88,
04268     88,87,87,86,86,86,86,85,85,85,84,84,84,83,83,82,81,80,80,79,79,
04269     78,77,77,77,76,76,76,76,75,75,74,74,74,74,73,73,72,72,71,71,71,
04270     71,70,70,70,69,69,68,68,68,67,67,67,66,66,66,66,65,64,64,63,63,
04271     63,62,61,60,60,60,60,59,59,59,59,58,58,58,57,57,56,55,55,54,54,
04272     54,52,52,52,51,51,51,51,50,49,49,48,48,47,47,47,47,47,46,46,45,
04273     45,45,44,44,44,43,43,43,42,42,41,41,40,39,39,39,39,37,37,37,37,
04274     36,36,36,35,35,34,33,33,33,33,33,32,31,31,30,27,27,26,25,24,24,
04275     24,24,23,23,23,23,23,22,21,21,20,20
04276   };
04277   const int n3c1w2_m[] = {
04278     100, // Capacity
04279     200, // Number of items
04280     // Size of items (sorted)
04281     100,100,100,99,98,98,98,97,97,97,96,96,94,93,93,92,92,92,91,90,
04282     90,90,90,89,89,89,89,88,87,87,86,86,86,86,85,85,85,85,85,84,84,
04283     84,84,83,82,82,82,82,82,81,81,81,81,80,80,79,79,79,79,77,76,76,
04284     75,75,74,74,74,73,72,72,72,72,72,72,72,72,72,71,71,70,70,69,68,
04285     68,68,68,67,67,67,67,65,65,65,64,64,63,62,62,62,62,62,61,60,59,
04286     59,58,58,58,58,58,58,57,57,57,57,57,57,56,56,55,55,55,55,54,54,
04287     54,53,53,53,52,52,52,51,51,50,49,49,49,48,48,47,47,47,47,47,46,
04288     44,44,44,44,44,43,42,42,41,41,41,40,39,38,38,37,36,36,36,36,36,
04289     35,35,34,33,33,32,32,31,31,31,30,30,30,29,29,28,27,27,27,26,26,
04290     26,25,24,23,23,23,22,22,22,21,21,20
04291   };
04292   const int n3c1w2_n[] = {
04293     100, // Capacity
04294     200, // Number of items
04295     // Size of items (sorted)
04296     100,100,100,100,99,99,99,99,98,98,98,96,96,95,95,94,94,94,93,
04297     93,93,93,93,92,91,91,91,91,90,90,90,89,89,89,89,89,88,87,87,87,
04298     86,86,86,85,85,84,84,82,82,81,81,80,80,80,80,79,78,77,77,77,77,
04299     77,76,76,75,75,75,73,73,73,72,71,71,70,70,70,70,69,69,68,68,68,
04300     68,68,67,67,67,67,66,66,66,65,65,65,64,63,63,63,62,62,62,61,60,
04301     60,59,59,59,58,58,58,58,58,57,57,55,55,55,55,55,55,54,54,54,54,
04302     53,52,52,52,52,52,51,51,50,50,50,50,50,49,49,49,49,49,48,48,48,
04303     48,46,45,45,45,44,44,44,43,43,42,42,41,41,41,39,39,39,39,38,37,
04304     37,37,37,36,36,36,36,35,34,34,34,34,34,34,33,33,33,32,31,31,30,
04305     30,29,28,27,26,25,25,24,24,22,21,21,20
04306   };
04307   const int n3c1w2_o[] = {
04308     100, // Capacity
04309     200, // Number of items
04310     // Size of items (sorted)
04311     99,99,99,99,98,98,98,98,97,97,96,96,96,95,95,95,94,94,94,92,91,
04312     91,90,90,90,90,89,89,88,88,87,87,87,87,86,86,86,85,84,84,84,84,
04313     83,83,82,82,82,81,81,81,81,81,80,79,79,79,79,78,78,78,77,77,76,
04314     76,74,74,74,73,73,73,73,73,72,71,71,70,70,69,69,68,68,68,67,66,
04315     65,65,64,64,63,63,62,61,61,61,61,61,61,61,60,60,59,58,57,57,57,
04316     57,57,56,56,56,56,56,55,55,54,54,54,53,53,53,52,52,52,51,51,50,
04317     50,49,49,48,48,48,48,46,45,45,45,44,44,44,44,43,43,42,42,41,41,
04318     41,40,39,39,39,39,38,38,37,37,35,35,34,34,33,33,32,32,32,32,30,
04319     30,30,29,29,28,28,28,28,28,27,27,26,26,25,25,25,24,24,24,24,24,
04320     24,24,23,22,22,22,21,21,21,21,20
04321   };
04322   const int n3c1w2_p[] = {
04323     100, // Capacity
04324     200, // Number of items
04325     // Size of items (sorted)
04326     100,100,99,99,98,97,97,97,96,96,95,95,95,95,94,94,94,93,93,92,
04327     92,92,92,91,90,90,90,90,89,89,88,88,88,88,87,87,85,84,83,83,83,
04328     82,82,82,82,81,81,81,81,79,79,79,78,78,78,78,77,77,77,77,76,76,
04329     75,73,73,72,71,70,70,70,70,70,70,69,69,69,67,67,66,66,66,66,65,
04330     65,65,65,63,63,63,63,62,62,61,61,61,61,61,60,60,59,59,59,58,58,
04331     56,55,55,55,54,53,52,52,52,51,50,49,49,49,49,48,48,48,48,48,47,
04332     47,47,46,46,46,45,45,45,45,45,45,45,44,44,44,43,43,43,43,43,42,
04333     42,41,41,41,41,41,40,40,39,38,38,37,37,36,36,36,35,34,33,33,33,
04334     32,32,32,31,31,30,30,30,29,29,27,27,27,26,26,26,25,24,23,23,22,
04335     22,22,22,22,21,21,21,21,21,20,20,20
04336   };
04337   const int n3c1w2_q[] = {
04338     100, // Capacity
04339     200, // Number of items
04340     // Size of items (sorted)
04341     100,100,100,100,100,99,99,98,97,97,97,96,96,94,93,93,92,92,92,
04342     91,91,91,90,90,90,88,88,88,88,88,88,87,86,86,85,85,85,85,85,84,
04343     84,84,84,83,83,82,82,81,81,81,80,80,80,79,79,78,78,78,77,77,77,
04344     77,77,76,75,75,75,75,74,74,74,74,74,74,74,73,73,73,72,72,71,71,
04345     70,70,70,69,68,68,68,67,67,67,67,67,67,67,67,66,66,66,65,64,64,
04346     64,64,63,63,62,62,62,61,61,60,60,60,59,59,59,59,56,56,56,54,53,
04347     52,52,51,51,51,50,50,50,50,49,49,49,49,48,48,47,46,46,46,46,46,
04348     45,45,43,43,43,42,41,41,39,39,39,39,38,37,37,37,36,36,36,35,34,
04349     34,34,34,32,32,31,29,29,28,28,28,27,27,26,26,26,25,25,24,24,23,
04350     23,22,22,21,21,21,21,21,20,20,20,20,20
04351   };
04352   const int n3c1w2_r[] = {
04353     100, // Capacity
04354     200, // Number of items
04355     // Size of items (sorted)
04356     100,100,100,100,100,100,100,100,99,99,99,99,99,98,98,97,97,97,
04357     95,95,95,95,95,94,94,93,93,92,92,92,91,90,90,89,89,89,89,89,88,
04358     88,88,88,88,88,85,85,85,85,84,84,83,83,82,82,82,82,81,81,80,80,
04359     78,78,76,75,75,74,73,72,72,70,70,69,69,67,67,66,66,65,65,65,64,
04360     64,63,62,62,61,61,60,60,60,60,60,57,57,57,56,56,56,56,55,55,54,
04361     54,54,54,53,52,52,51,51,51,50,50,50,50,49,49,49,48,48,48,48,48,
04362     48,48,48,46,46,45,45,44,44,43,43,43,42,41,41,40,40,40,40,40,39,
04363     39,39,39,39,39,38,38,37,36,36,35,35,34,34,34,33,33,33,33,32,32,
04364     31,31,31,31,31,30,30,30,29,29,29,28,28,28,28,26,25,25,25,24,24,
04365     24,23,23,23,23,22,22,22,21,20,20,20,20,20
04366   };
04367   const int n3c1w2_s[] = {
04368     100, // Capacity
04369     200, // Number of items
04370     // Size of items (sorted)
04371     100,98,98,98,98,97,97,97,97,97,96,96,96,95,95,95,94,94,92,91,
04372     90,90,89,89,89,88,88,88,88,87,87,86,86,86,85,85,85,84,84,84,83,
04373     83,82,82,80,80,80,79,78,78,78,78,78,77,77,77,76,75,75,74,74,74,
04374     73,73,72,72,72,72,71,71,71,70,70,68,68,68,67,67,66,66,66,66,65,
04375     65,65,64,64,64,64,63,63,63,63,63,63,63,63,61,61,60,59,59,59,59,
04376     58,58,58,57,57,57,57,55,54,54,53,53,53,53,53,52,52,51,51,51,50,
04377     50,50,50,50,50,49,49,49,48,48,48,48,47,47,47,46,46,45,45,44,43,
04378     42,41,41,41,40,40,40,39,39,39,38,38,38,38,38,38,37,37,36,36,36,
04379     35,34,34,34,34,33,33,32,31,31,31,30,29,27,27,25,25,24,24,24,23,
04380     23,23,23,23,23,21,21,21,20,20,20,20
04381   };
04382   const int n3c1w2_t[] = {
04383     100, // Capacity
04384     200, // Number of items
04385     // Size of items (sorted)
04386     100,99,99,99,98,98,98,98,98,97,96,96,96,95,95,95,94,93,93,92,
04387     92,91,91,90,90,90,89,88,88,87,87,87,87,86,86,85,85,85,85,84,84,
04388     84,84,84,83,83,83,83,82,81,80,80,80,79,78,78,78,78,77,76,76,75,
04389     74,74,74,73,72,72,72,71,71,71,71,71,68,68,67,67,67,67,66,66,65,
04390     65,65,65,63,63,63,63,63,63,63,63,62,62,62,61,61,61,60,60,60,60,
04391     59,59,59,59,58,58,58,57,57,56,56,56,56,55,55,54,54,54,53,53,53,
04392     52,52,52,52,51,51,51,51,51,50,50,50,49,49,48,48,48,48,47,47,46,
04393     46,46,46,45,44,44,43,42,42,42,42,42,42,42,41,40,39,38,37,37,36,
04394     36,36,35,35,34,33,33,33,33,33,32,32,31,30,29,28,28,28,27,27,26,
04395     25,25,24,23,23,23,23,22,21,21,20,20
04396   };
04397   const int n3c1w4_a[] = {
04398     100, // Capacity
04399     200, // Number of items
04400     // Size of items (sorted)
04401     100,100,100,100,99,99,99,99,98,98,98,98,98,97,97,96,96,95,95,
04402     95,95,94,94,93,93,92,91,91,91,91,91,90,90,90,89,89,89,89,89,88,
04403     88,88,88,88,87,87,87,87,86,86,86,85,85,85,84,84,83,83,83,82,82,
04404     82,82,81,81,81,81,80,80,79,79,79,79,79,78,77,77,77,77,75,74,74,
04405     73,73,73,72,72,71,71,70,70,70,69,69,69,69,68,68,67,67,67,67,67,
04406     67,65,65,65,65,64,64,64,63,63,63,62,62,62,62,60,60,60,59,59,59,
04407     58,57,57,56,56,56,56,55,55,54,54,54,54,54,54,52,52,52,52,52,51,
04408     51,51,50,50,49,49,48,48,48,47,47,47,46,46,45,45,44,44,44,43,43,
04409     43,43,42,42,41,41,41,40,40,39,39,39,39,39,38,38,37,37,36,36,36,
04410     36,35,35,35,35,33,32,32,32,32,30,30,30
04411   };
04412   const int n3c1w4_b[] = {
04413     100, // Capacity
04414     200, // Number of items
04415     // Size of items (sorted)
04416     100,100,99,99,98,98,97,97,97,96,96,96,95,95,95,93,93,93,93,93,
04417     92,92,92,92,91,91,91,90,90,89,89,88,87,87,87,87,86,86,85,85,85,
04418     85,84,84,84,84,83,83,83,83,83,83,82,80,80,80,79,79,79,78,78,78,
04419     78,78,78,77,76,76,76,75,75,75,75,75,73,73,73,72,72,72,71,71,70,
04420     70,70,70,70,70,69,69,68,68,68,68,68,67,67,66,66,66,66,65,65,65,
04421     64,64,64,63,62,61,61,61,60,60,60,59,59,58,58,58,58,58,58,57,57,
04422     57,57,57,56,55,55,55,55,54,54,54,54,54,53,53,53,52,52,52,52,51,
04423     51,50,49,49,49,49,48,48,47,46,46,46,45,44,44,42,42,42,42,41,41,
04424     41,40,40,40,40,39,39,39,39,38,38,38,37,37,37,37,37,36,36,36,36,
04425     35,35,34,34,33,33,32,32,31,31,30,30
04426   };
04427   const int n3c1w4_c[] = {
04428     100, // Capacity
04429     200, // Number of items
04430     // Size of items (sorted)
04431     100,100,99,99,98,98,97,97,96,96,96,96,96,96,96,95,95,94,94,92,
04432     92,92,92,92,92,92,91,91,91,90,89,89,89,89,89,87,86,85,85,84,84,
04433     84,84,83,83,83,83,83,81,81,80,80,80,80,79,79,79,79,78,78,78,78,
04434     77,77,77,77,77,77,76,76,76,76,76,75,75,75,75,74,74,74,74,73,72,
04435     72,72,70,70,70,70,70,69,69,69,68,68,67,67,66,65,65,65,65,64,64,
04436     64,64,64,63,62,62,61,60,60,60,60,60,60,60,59,59,59,58,58,58,58,
04437     57,57,55,55,55,53,53,53,52,52,52,52,51,51,49,49,49,49,49,49,49,
04438     48,48,48,48,48,46,46,45,45,45,45,44,44,44,44,43,43,43,43,43,43,
04439     42,42,42,41,40,40,40,40,40,39,38,38,38,38,37,37,35,34,34,34,34,
04440     33,33,33,32,32,32,31,30,30,30,30,30
04441   };
04442   const int n3c1w4_d[] = {
04443     100, // Capacity
04444     200, // Number of items
04445     // Size of items (sorted)
04446     99,99,98,98,98,98,97,97,96,96,95,94,94,94,94,93,93,93,92,92,92,
04447     92,92,92,92,92,91,91,91,91,90,90,89,89,88,88,87,87,87,87,87,87,
04448     86,86,85,85,85,84,84,83,83,83,83,83,83,82,82,82,82,82,81,81,81,
04449     81,80,79,78,78,77,77,77,76,76,75,75,75,74,74,74,74,73,73,73,73,
04450     73,73,72,72,71,70,70,70,70,70,69,69,69,68,68,68,67,67,66,66,66,
04451     66,66,65,64,63,63,63,63,62,62,62,61,60,60,60,60,59,59,59,59,58,
04452     57,56,56,56,55,55,55,55,55,53,53,53,52,52,52,51,51,51,50,50,49,
04453     49,49,49,48,48,48,48,47,47,46,46,46,46,46,44,43,43,43,42,42,41,
04454     41,41,41,40,40,40,39,39,39,39,38,38,38,38,38,37,36,36,35,35,34,
04455     34,34,33,33,33,32,32,32,31,31,30
04456   };
04457   const int n3c1w4_e[] = {
04458     100, // Capacity
04459     200, // Number of items
04460     // Size of items (sorted)
04461     99,99,99,98,97,97,97,97,96,96,95,95,95,95,94,94,94,93,93,93,93,
04462     93,92,92,91,90,89,88,87,86,86,86,86,85,85,85,85,84,84,84,83,83,
04463     82,82,82,82,82,82,81,81,81,81,81,80,80,80,79,78,78,77,76,76,75,
04464     74,74,74,74,73,73,73,73,73,73,72,72,72,71,71,71,70,70,70,69,69,
04465     69,69,69,69,68,68,67,67,67,67,67,66,66,66,65,64,64,64,63,63,62,
04466     62,61,61,61,61,60,60,59,59,59,59,59,57,56,55,54,53,53,53,53,52,
04467     52,52,51,51,51,50,50,50,50,50,49,48,48,48,48,48,47,47,47,46,46,
04468     46,45,45,45,45,45,44,44,44,43,43,43,43,43,43,42,42,42,42,41,41,
04469     40,40,40,40,39,39,39,38,37,36,36,36,36,35,35,35,35,34,34,32,32,
04470     32,32,31,31,31,30,30,30,30,30,30
04471   };
04472   const int n3c1w4_f[] = {
04473     100, // Capacity
04474     200, // Number of items
04475     // Size of items (sorted)
04476     100,100,100,99,99,98,98,98,97,97,96,96,96,96,96,95,94,94,94,93,
04477     93,93,91,91,91,90,90,90,90,90,89,89,89,89,89,88,88,88,88,87,87,
04478     87,87,86,86,86,86,85,84,83,83,83,83,82,82,82,82,81,81,81,81,81,
04479     80,80,79,79,77,76,76,76,76,76,75,74,74,74,73,73,72,72,72,71,70,
04480     69,68,68,68,68,68,67,67,67,66,66,66,65,64,64,64,63,63,62,62,62,
04481     61,60,60,59,59,59,58,58,58,58,57,56,56,55,55,55,54,54,54,53,53,
04482     53,52,52,51,51,50,50,50,50,50,50,49,49,49,49,48,48,47,47,46,45,
04483     45,45,45,45,44,44,43,43,42,42,42,42,41,41,40,40,40,40,40,40,38,
04484     38,38,38,38,37,37,37,37,36,36,36,35,35,35,35,34,34,34,33,33,33,
04485     33,32,32,32,32,31,31,31,31,31,30,30
04486   };
04487   const int n3c1w4_g[] = {
04488     100, // Capacity
04489     200, // Number of items
04490     // Size of items (sorted)
04491     100,99,98,97,97,96,96,96,95,95,94,94,94,94,93,93,92,92,91,91,
04492     89,89,89,89,88,88,88,88,88,87,87,87,87,86,86,86,86,86,85,85,85,
04493     84,84,83,83,83,82,82,82,82,82,81,80,80,80,80,80,80,80,79,79,79,
04494     79,78,78,78,78,77,77,77,76,76,75,75,75,75,75,74,74,74,74,73,73,
04495     73,73,73,72,72,72,72,72,71,71,71,71,70,70,70,70,70,69,68,68,67,
04496     67,67,66,66,66,65,65,64,62,62,62,61,61,60,60,59,59,59,59,59,59,
04497     59,58,58,58,57,57,57,56,55,55,55,54,54,54,54,53,52,52,51,51,50,
04498     50,50,48,48,48,48,47,47,46,46,45,45,43,43,43,41,41,41,40,40,39,
04499     39,39,39,38,38,38,38,37,37,37,37,37,36,36,36,35,35,34,34,33,33,
04500     32,32,32,32,32,31,31,31,30,30,30,30
04501   };
04502   const int n3c1w4_h[] = {
04503     100, // Capacity
04504     200, // Number of items
04505     // Size of items (sorted)
04506     100,100,99,99,99,98,98,98,98,97,97,97,97,97,96,96,95,94,94,93,
04507     93,93,91,91,91,90,90,89,89,89,89,88,88,88,87,87,86,86,86,86,85,
04508     85,85,84,84,84,83,83,81,81,81,81,81,80,80,80,80,79,78,78,78,77,
04509     77,76,76,76,76,76,75,75,74,74,73,73,73,72,72,72,72,72,71,71,70,
04510     70,70,69,69,69,68,68,66,66,66,66,66,65,65,65,64,64,63,63,63,63,
04511     62,62,62,62,61,61,61,60,60,59,59,59,58,58,57,57,57,56,55,54,54,
04512     54,54,52,52,51,51,51,50,50,50,50,50,49,49,49,48,48,48,48,48,47,
04513     47,47,47,46,46,46,45,45,45,44,44,44,43,43,42,41,41,40,39,39,38,
04514     38,37,37,37,37,37,37,37,36,36,35,34,34,34,34,34,34,33,33,33,33,
04515     33,32,32,31,31,31,31,31,31,30,30,30
04516   };
04517   const int n3c1w4_i[] = {
04518     100, // Capacity
04519     200, // Number of items
04520     // Size of items (sorted)
04521     100,100,100,100,100,99,99,99,99,98,98,98,97,97,97,96,96,96,95,
04522     95,95,94,94,94,94,94,93,93,93,92,91,90,89,89,89,89,89,88,88,87,
04523     87,87,86,86,86,85,84,84,83,82,82,81,81,81,81,80,80,80,79,78,78,
04524     77,77,76,76,76,75,75,74,74,74,74,74,73,73,73,73,73,72,72,72,72,
04525     71,71,70,70,70,68,68,67,67,66,65,65,64,64,63,63,63,63,63,62,61,
04526     61,60,60,59,59,59,58,57,57,56,56,56,55,55,55,55,54,53,52,52,52,
04527     52,52,52,52,52,52,49,49,49,49,49,49,48,47,47,47,47,46,46,46,45,
04528     45,44,43,43,43,43,42,42,42,41,41,41,41,41,40,40,40,40,40,39,39,
04529     38,38,38,37,37,37,36,36,36,36,35,35,35,35,34,34,34,34,34,34,34,
04530     33,33,33,33,32,32,32,32,31,31,31,30,30
04531   };
04532   const int n3c1w4_j[] = {
04533     100, // Capacity
04534     200, // Number of items
04535     // Size of items (sorted)
04536     100,100,99,99,98,98,98,97,97,97,96,96,96,96,96,95,94,94,93,93,
04537     93,92,92,92,92,92,91,91,91,90,90,89,89,89,89,88,88,87,87,86,86,
04538     85,85,85,85,84,84,84,84,83,83,82,82,82,82,82,82,82,81,80,79,79,
04539     79,78,78,78,77,76,76,75,75,75,74,73,73,73,72,72,72,72,71,71,70,
04540     70,69,69,69,69,69,68,67,66,66,66,66,66,66,65,65,65,65,64,64,64,
04541     63,63,62,62,61,61,60,60,60,59,59,59,59,58,58,58,58,58,58,58,57,
04542     56,56,56,56,53,53,53,52,52,52,52,51,51,51,50,50,50,49,48,48,48,
04543     48,47,47,47,46,46,46,46,44,44,44,44,43,43,42,42,42,41,40,40,40,
04544     40,40,39,39,38,38,38,38,38,37,37,37,36,35,34,34,34,34,34,34,34,
04545     33,33,32,32,32,32,31,31,31,30,30,30
04546   };
04547   const int n3c1w4_k[] = {
04548     100, // Capacity
04549     200, // Number of items
04550     // Size of items (sorted)
04551     100,100,100,99,99,99,99,99,99,98,98,97,97,97,95,95,95,95,95,94,
04552     94,94,94,94,93,93,93,93,92,92,92,91,90,89,89,89,89,89,88,88,88,
04553     87,87,87,87,87,86,86,85,84,83,83,83,83,82,82,81,79,79,79,79,78,
04554     78,77,76,76,76,75,75,75,74,73,73,72,72,72,72,71,70,70,70,70,70,
04555     70,69,69,69,69,68,68,68,66,66,66,66,66,66,66,66,65,65,65,64,64,
04556     63,63,63,63,62,62,62,61,61,61,61,61,59,59,59,59,59,59,58,58,58,
04557     57,57,57,57,57,56,56,56,55,55,55,55,54,54,52,52,51,51,51,50,50,
04558     50,50,49,48,47,47,47,46,46,46,46,45,45,44,44,44,43,42,42,41,41,
04559     41,41,41,40,40,39,38,38,38,38,38,38,37,36,36,36,35,34,33,32,32,
04560     32,31,31,31,31,30,30,30,30,30,30,30
04561   };
04562   const int n3c1w4_l[] = {
04563     100, // Capacity
04564     200, // Number of items
04565     // Size of items (sorted)
04566     100,100,100,100,99,99,99,98,98,98,98,98,97,96,96,96,96,96,95,
04567     95,95,95,94,94,94,93,93,92,92,92,92,91,90,90,89,88,88,88,88,87,
04568     87,86,86,86,85,83,83,83,82,82,82,81,81,80,80,80,80,80,80,80,80,
04569     79,79,78,78,77,77,76,75,75,75,75,75,75,74,74,74,73,73,72,72,72,
04570     71,71,71,71,71,69,69,68,68,67,67,66,66,66,66,66,65,65,65,65,65,
04571     64,64,63,62,62,62,62,62,62,62,62,61,61,60,60,60,59,59,59,59,58,
04572     58,58,57,57,57,57,57,56,56,56,56,56,56,55,55,54,54,53,52,51,50,
04573     50,49,49,49,49,48,48,48,47,46,45,44,44,44,44,44,43,43,43,43,42,
04574     42,41,41,40,40,40,39,39,39,39,38,38,37,37,37,37,37,37,36,36,35,
04575     35,34,34,34,34,33,32,32,31,31,31,30,30
04576   };
04577   const int n3c1w4_m[] = {
04578     100, // Capacity
04579     200, // Number of items
04580     // Size of items (sorted)
04581     100,100,100,99,99,99,98,98,97,97,97,97,97,96,96,96,95,95,94,94,
04582     94,93,92,92,92,91,91,90,90,90,90,89,88,88,88,88,87,87,86,86,86,
04583     86,86,84,84,84,83,83,83,83,82,82,82,82,82,81,81,80,80,80,79,79,
04584     79,79,79,78,78,78,78,78,77,77,77,76,76,76,76,75,74,74,73,73,73,
04585     72,71,71,71,70,70,70,69,69,69,69,68,68,67,67,67,67,66,66,66,66,
04586     65,65,65,64,64,64,64,64,64,63,62,62,62,61,61,60,60,59,59,59,59,
04587     59,58,57,56,55,55,55,55,55,55,54,54,54,54,53,53,53,53,52,52,52,
04588     52,51,50,49,48,48,48,48,48,47,47,45,45,45,45,44,44,44,43,43,42,
04589     41,41,40,40,39,39,39,38,38,38,37,37,37,36,35,34,34,33,33,33,33,
04590     33,32,32,31,31,31,31,31,30,30,30,30
04591   };
04592   const int n3c1w4_n[] = {
04593     100, // Capacity
04594     200, // Number of items
04595     // Size of items (sorted)
04596     100,99,99,98,98,98,98,98,98,97,97,97,96,95,94,93,93,93,93,92,
04597     92,92,92,92,91,91,91,90,87,87,87,85,85,85,84,84,84,83,83,82,82,
04598     82,82,81,81,81,81,80,80,80,80,79,79,78,78,78,78,76,76,76,75,75,
04599     74,73,72,72,72,72,72,71,71,71,71,70,70,70,69,69,69,68,68,68,68,
04600     68,68,68,68,67,67,67,65,64,63,63,63,63,63,63,63,62,62,62,61,60,
04601     60,60,60,60,60,59,59,59,59,58,58,58,57,57,56,56,56,56,55,55,55,
04602     55,54,54,54,54,54,54,53,53,53,53,53,52,52,52,52,51,51,51,51,51,
04603     51,50,49,49,49,49,47,47,46,46,46,45,45,45,45,44,44,43,43,43,42,
04604     42,41,40,40,39,39,39,39,38,38,37,37,37,37,37,37,35,34,34,33,32,
04605     32,32,32,31,31,31,31,31,30,30,30,30
04606   };
04607   const int n3c1w4_o[] = {
04608     100, // Capacity
04609     200, // Number of items
04610     // Size of items (sorted)
04611     100,100,99,99,99,97,97,97,96,95,95,95,95,94,94,93,93,92,92,91,
04612     91,89,89,88,88,87,86,86,86,86,85,85,84,84,83,83,82,82,82,82,81,
04613     81,81,81,81,81,80,80,80,79,79,79,79,78,77,77,77,77,77,77,77,77,
04614     76,76,75,75,75,74,74,73,73,73,73,72,72,72,72,71,71,71,71,70,70,
04615     70,70,70,70,69,69,69,69,69,67,66,66,65,65,65,64,63,62,62,62,62,
04616     61,61,61,61,60,60,60,58,58,58,58,58,58,58,58,58,57,55,55,54,53,
04617     53,53,53,53,52,52,52,52,52,51,51,51,50,50,50,49,49,48,48,47,47,
04618     46,46,45,45,45,45,44,44,43,42,42,42,42,41,41,41,41,40,40,37,37,
04619     37,36,36,36,36,35,35,35,35,35,35,35,34,34,34,34,34,34,33,33,33,
04620     33,33,32,32,32,32,32,32,32,31,31,30
04621   };
04622   const int n3c1w4_p[] = {
04623     100, // Capacity
04624     200, // Number of items
04625     // Size of items (sorted)
04626     100,100,100,100,100,100,100,99,99,99,99,99,98,98,97,96,96,95,
04627     95,94,94,94,93,92,92,92,92,92,92,91,90,89,89,89,89,88,88,88,88,
04628     87,87,87,86,86,85,84,83,82,82,82,81,81,81,81,79,79,79,78,78,78,
04629     77,77,77,77,77,76,76,76,76,75,75,75,75,74,74,74,74,74,73,73,73,
04630     71,71,71,71,71,71,71,69,69,68,67,66,66,66,65,64,64,64,63,63,63,
04631     63,63,63,62,62,62,62,61,60,60,60,60,59,59,59,59,59,58,58,58,57,
04632     56,56,56,56,56,54,53,53,53,52,52,52,51,51,51,51,51,50,49,49,49,
04633     48,47,47,47,47,46,46,46,45,45,44,44,43,43,42,42,42,41,41,41,41,
04634     41,40,40,40,39,39,39,38,37,36,36,36,36,35,35,35,35,34,34,34,34,
04635     33,33,33,33,33,32,32,32,32,31,31,30,30,30
04636   };
04637   const int n3c1w4_q[] = {
04638     100, // Capacity
04639     200, // Number of items
04640     // Size of items (sorted)
04641     100,100,100,100,99,99,99,99,98,98,98,97,97,96,96,96,96,96,95,
04642     95,95,95,94,93,93,93,92,92,92,92,92,92,91,91,90,90,90,89,87,87,
04643     87,86,86,86,86,86,86,85,85,85,85,84,83,83,83,82,81,81,81,80,80,
04644     80,79,79,79,79,79,79,79,79,78,78,77,77,76,76,76,75,75,75,74,73,
04645     72,72,72,72,71,70,70,70,70,69,69,69,68,68,68,68,68,68,67,67,66,
04646     66,65,65,65,65,64,64,64,62,62,62,62,61,60,60,59,58,58,58,58,57,
04647     57,57,57,57,56,56,55,54,54,54,54,53,53,53,53,52,52,51,51,50,50,
04648     50,49,49,48,48,48,48,47,47,46,45,45,45,44,44,43,43,43,42,42,42,
04649     42,41,41,40,40,40,40,39,39,39,38,38,37,37,36,36,36,35,35,34,34,
04650     33,33,33,33,32,32,32,32,31,30,30,30,30
04651   };
04652   const int n3c1w4_r[] = {
04653     100, // Capacity
04654     200, // Number of items
04655     // Size of items (sorted)
04656     100,100,100,99,98,97,97,97,96,96,96,96,96,96,96,96,95,95,93,93,
04657     93,93,92,92,92,91,91,91,91,90,90,90,90,89,88,88,87,87,87,86,85,
04658     85,84,84,83,83,82,82,82,81,81,81,80,80,80,80,80,79,79,78,78,77,
04659     77,77,76,75,74,74,73,73,73,73,72,72,71,71,70,70,69,69,69,69,68,
04660     68,68,68,68,67,67,67,67,67,66,66,65,65,65,64,63,63,63,62,60,60,
04661     60,60,59,59,59,59,59,58,58,58,58,58,57,57,57,57,57,57,57,57,56,
04662     56,56,55,55,55,55,54,54,54,54,53,53,52,51,51,51,51,51,50,50,50,
04663     49,48,47,46,46,46,46,45,45,44,44,44,43,43,43,42,42,42,41,41,41,
04664     41,41,40,40,40,40,39,39,38,38,38,38,37,37,37,37,36,36,35,35,35,
04665     35,34,33,33,33,32,32,31,31,31,30,30
04666   };
04667   const int n3c1w4_s[] = {
04668     100, // Capacity
04669     200, // Number of items
04670     // Size of items (sorted)
04671     100,100,99,99,99,98,98,98,98,98,98,97,96,96,96,95,94,93,92,92,
04672     92,92,91,91,91,91,91,90,90,90,90,89,89,89,89,89,88,88,87,86,86,
04673     86,84,82,82,82,80,80,80,80,80,79,79,79,78,77,77,77,77,77,76,76,
04674     76,76,75,75,74,74,74,73,73,72,72,72,72,72,71,71,71,71,70,70,70,
04675     70,70,69,69,68,68,67,67,67,67,67,67,66,65,65,65,65,65,64,63,63,
04676     63,62,62,62,61,61,61,60,60,60,60,60,60,60,60,59,59,58,58,58,58,
04677     57,57,57,55,55,55,55,55,55,54,53,53,53,53,52,52,51,51,50,49,49,
04678     49,49,48,48,48,47,47,46,45,45,45,45,44,43,43,43,42,42,42,42,42,
04679     42,41,40,40,40,39,39,38,38,37,37,37,37,35,35,35,33,33,33,33,32,
04680     32,32,31,31,31,31,31,30,30,30,30,30
04681   };
04682   const int n3c1w4_t[] = {
04683     100, // Capacity
04684     200, // Number of items
04685     // Size of items (sorted)
04686     98,98,98,98,97,97,97,96,96,95,95,95,95,95,94,94,93,93,93,92,92,
04687     91,91,91,91,91,90,90,90,90,90,89,89,88,88,88,88,88,87,86,86,86,
04688     86,86,85,85,84,84,83,82,82,81,80,80,80,80,80,80,79,79,79,79,79,
04689     78,78,78,77,77,77,77,76,76,76,76,75,75,74,74,74,74,73,72,72,71,
04690     71,71,71,71,71,70,69,69,69,69,69,69,68,68,68,67,67,67,67,67,66,
04691     66,65,65,65,65,65,64,63,62,61,61,61,60,60,59,58,58,57,57,57,56,
04692     56,56,56,55,55,54,54,54,53,53,53,52,52,52,51,51,51,50,49,49,48,
04693     48,48,47,47,46,45,45,45,45,44,44,44,43,43,43,43,43,43,43,42,42,
04694     42,41,41,40,40,40,39,39,38,38,36,35,34,34,34,33,33,33,33,33,32,
04695     32,32,31,31,31,31,30,30,30,30,30
04696   };
04697   const int n3c2w1_a[] = {
04698     120, // Capacity
04699     200, // Number of items
04700     // Size of items (sorted)
04701     100,100,100,99,99,99,99,98,98,97,97,95,95,95,95,94,94,94,93,92,
04702     92,91,91,91,91,91,90,90,90,90,89,89,89,88,87,87,87,87,87,86,86,
04703     86,85,83,83,82,82,81,81,80,80,79,79,78,78,78,77,77,76,76,76,75,
04704     74,74,74,74,73,72,72,72,72,71,70,70,69,69,67,67,67,65,64,64,63,
04705     62,61,60,60,60,60,59,59,59,58,58,57,57,57,56,56,55,54,53,53,51,
04706     51,50,49,48,47,47,46,46,46,46,45,45,45,44,44,43,43,42,42,41,41,
04707     40,40,40,40,40,39,38,38,38,38,38,36,36,35,32,32,30,30,30,30,29,
04708     29,28,25,24,24,24,24,23,23,23,23,23,22,22,21,20,19,19,19,19,17,
04709     17,16,16,16,16,16,16,15,15,13,13,13,12,10,10,9,9,8,8,7,7,5,4,
04710     4,4,4,4,4,3,2,2,2,1
04711   };
04712   const int n3c2w1_b[] = {
04713     120, // Capacity
04714     200, // Number of items
04715     // Size of items (sorted)
04716     100,100,100,100,100,99,98,97,96,96,96,95,95,94,93,93,93,92,90,
04717     90,90,89,89,89,88,87,87,87,86,83,82,81,81,80,80,80,79,79,79,78,
04718     77,77,77,77,76,76,76,75,73,72,72,72,72,71,70,68,68,68,68,67,66,
04719     66,66,66,66,65,65,65,63,63,63,62,61,60,60,60,60,58,58,57,57,56,
04720     56,56,56,55,55,55,55,55,53,52,51,51,50,50,50,50,49,49,48,48,48,
04721     48,47,47,46,46,45,45,45,45,43,43,42,41,40,40,40,40,40,39,39,39,
04722     39,39,38,38,37,36,35,35,34,34,34,33,33,31,30,30,30,27,27,25,25,
04723     24,24,23,23,23,23,22,22,21,21,20,19,19,19,19,19,18,18,17,17,17,
04724     16,16,15,15,15,14,14,14,13,13,12,12,12,12,12,10,9,9,9,9,9,9,9,
04725     8,7,5,5,4,4,3,2,1,1,1
04726   };
04727   const int n3c2w1_c[] = {
04728     120, // Capacity
04729     200, // Number of items
04730     // Size of items (sorted)
04731     100,100,98,97,97,96,96,96,96,93,93,92,90,90,89,89,89,89,89,88,
04732     88,87,86,86,86,85,85,85,85,83,82,81,81,81,80,80,79,79,78,77,77,
04733     76,76,76,75,75,75,74,74,73,73,72,72,72,72,72,71,70,70,70,70,70,
04734     69,69,68,68,67,66,66,65,65,63,63,63,62,62,62,62,60,60,59,59,58,
04735     58,58,57,57,57,55,55,54,54,53,53,53,52,52,51,51,51,50,50,49,48,
04736     48,47,47,47,46,44,43,43,43,42,42,41,40,40,40,40,39,39,39,39,39,
04737     38,37,36,36,36,35,35,34,34,34,34,33,33,33,33,32,32,32,32,31,30,
04738     29,29,29,29,28,27,26,25,24,23,23,22,22,20,20,20,19,19,19,18,18,
04739     17,17,17,16,16,15,15,15,13,13,13,13,13,12,12,10,10,9,9,9,8,8,
04740     7,7,7,5,4,4,3,3,1,1,1
04741   };
04742   const int n3c2w1_d[] = {
04743     120, // Capacity
04744     200, // Number of items
04745     // Size of items (sorted)
04746     100,100,100,99,99,98,98,98,97,96,95,95,95,94,94,93,93,93,93,92,
04747     92,92,91,90,90,89,89,88,87,86,86,85,85,84,84,84,83,83,83,83,81,
04748     79,78,78,77,77,76,76,75,75,75,75,75,74,74,74,74,74,73,73,73,72,
04749     71,71,70,69,69,68,68,66,65,65,65,65,65,64,64,63,61,61,61,61,60,
04750     60,60,60,60,59,59,58,58,57,57,56,55,54,53,53,52,51,51,51,50,49,
04751     48,47,46,46,45,44,44,43,41,41,39,39,38,38,38,37,37,37,36,36,35,
04752     35,35,34,34,34,34,34,33,32,32,32,31,29,28,28,28,27,27,26,25,25,
04753     23,23,23,23,23,22,22,22,22,21,20,18,18,17,17,17,16,16,15,15,14,
04754     13,13,12,12,12,11,11,11,11,11,10,8,8,8,8,8,6,6,6,6,6,5,5,4,4,
04755     3,3,2,2,1,1,1,1
04756   };
04757   const int n3c2w1_e[] = {
04758     120, // Capacity
04759     200, // Number of items
04760     // Size of items (sorted)
04761     99,99,99,99,98,98,98,97,96,95,95,95,95,95,94,94,93,93,93,91,91,
04762     91,90,90,90,90,90,90,89,89,88,87,87,86,86,85,85,85,85,84,84,83,
04763     82,82,80,80,79,79,79,78,78,78,78,77,77,77,76,76,76,75,75,75,72,
04764     72,71,71,70,70,69,67,67,67,67,66,65,65,64,64,64,63,63,63,62,62,
04765     61,61,59,59,58,58,58,57,57,57,57,56,55,55,55,54,53,52,51,51,50,
04766     50,49,48,47,46,45,44,44,43,43,42,40,40,38,37,37,36,36,35,35,35,
04767     35,33,33,32,32,32,31,31,31,31,31,31,30,29,29,29,28,27,27,26,26,
04768     25,24,24,24,22,22,21,20,19,19,19,18,17,16,16,16,15,15,15,15,15,
04769     14,14,14,13,13,12,12,12,12,11,11,10,9,9,8,7,6,6,6,6,5,5,5,4,4,
04770     4,3,3,3,3,3,2
04771   };
04772   const int n3c2w1_f[] = {
04773     120, // Capacity
04774     200, // Number of items
04775     // Size of items (sorted)
04776     100,100,100,100,100,99,98,98,98,98,97,96,95,95,95,94,93,93,93,
04777     92,92,91,90,90,90,89,89,89,88,88,88,87,87,87,86,84,83,83,83,83,
04778     83,82,82,80,80,79,79,79,78,75,75,75,75,74,74,73,72,72,72,72,70,
04779     69,69,69,69,68,67,67,67,66,66,64,64,64,63,63,63,62,62,62,61,61,
04780     61,61,61,61,61,60,59,59,59,59,59,59,57,57,57,56,55,55,54,54,54,
04781     53,53,53,52,51,51,50,50,50,49,49,48,47,47,46,45,45,45,42,42,42,
04782     40,39,37,36,36,35,35,34,34,34,34,34,32,32,32,30,30,29,28,27,27,
04783     27,25,25,25,24,24,24,24,24,23,22,22,22,22,21,20,19,19,18,17,17,
04784     16,15,15,15,14,12,12,12,11,11,11,10,10,10,10,9,9,9,9,8,8,8,7,
04785     6,6,5,5,4,2,2,2,1,1,1
04786   };
04787   const int n3c2w1_g[] = {
04788     120, // Capacity
04789     200, // Number of items
04790     // Size of items (sorted)
04791     99,99,98,98,97,97,96,96,95,94,94,92,92,92,90,90,89,89,89,88,88,
04792     88,87,86,86,86,85,85,85,85,85,84,84,83,82,82,81,81,81,80,80,80,
04793     79,79,79,78,78,75,75,75,74,74,74,74,73,73,72,72,71,70,69,69,68,
04794     67,67,67,67,67,67,67,66,65,65,64,63,63,63,63,63,62,62,61,60,60,
04795     60,59,59,58,58,58,58,57,57,57,56,55,55,55,54,53,52,52,52,52,52,
04796     51,51,50,50,49,49,49,49,49,47,46,46,46,46,44,44,43,43,42,42,42,
04797     41,41,41,40,39,39,37,36,36,36,35,35,35,34,34,33,33,33,32,31,31,
04798     31,30,30,29,29,29,29,28,28,28,27,26,26,25,24,23,23,23,23,23,22,
04799     22,22,22,22,20,20,19,19,19,17,15,15,14,12,11,10,9,8,7,7,5,5,5,
04800     4,4,4,3,3,1,1,1,1
04801   };
04802   const int n3c2w1_h[] = {
04803     120, // Capacity
04804     200, // Number of items
04805     // Size of items (sorted)
04806     100,100,100,100,99,99,98,98,97,97,96,96,95,94,94,94,93,93,93,
04807     92,92,90,90,90,89,89,87,87,86,85,85,85,85,85,85,84,84,83,82,82,
04808     82,81,81,80,79,79,77,77,77,77,75,74,74,73,72,72,71,71,71,70,70,
04809     70,69,69,68,67,67,66,66,66,64,63,62,62,62,62,62,62,60,59,59,59,
04810     59,59,58,58,57,57,57,56,56,56,55,55,54,54,53,53,52,52,52,52,51,
04811     51,50,50,50,50,50,49,48,48,48,48,47,47,46,46,44,44,43,43,43,42,
04812     42,41,41,41,40,40,38,38,37,36,36,35,35,33,32,32,31,31,31,30,30,
04813     28,28,28,27,25,25,24,24,24,24,24,21,20,20,19,19,18,18,17,17,17,
04814     17,17,16,16,16,15,14,14,14,14,13,13,12,12,12,11,11,9,9,9,8,6,
04815     6,6,5,4,4,3,3,2,1,1,1,1
04816   };
04817   const int n3c2w1_i[] = {
04818     120, // Capacity
04819     200, // Number of items
04820     // Size of items (sorted)
04821     100,99,99,99,99,98,97,97,97,97,97,97,97,96,96,95,95,95,95,95,
04822     94,93,93,93,92,92,92,91,91,90,90,88,88,88,88,87,86,85,84,84,84,
04823     84,83,83,81,79,79,79,78,78,77,76,76,75,74,74,73,73,73,72,72,72,
04824     71,71,71,70,70,70,69,69,68,68,67,67,66,65,64,64,63,63,60,60,60,
04825     59,58,58,58,58,57,56,56,55,55,54,53,53,52,52,51,51,51,50,50,50,
04826     49,49,48,48,48,47,47,47,45,45,43,43,42,42,41,41,41,40,40,40,39,
04827     38,38,37,37,36,36,35,35,35,35,35,34,33,33,32,32,31,30,29,29,27,
04828     26,25,25,24,24,24,23,23,23,23,21,20,20,20,20,20,19,18,17,17,16,
04829     16,16,14,14,13,13,13,13,13,12,12,11,11,10,10,9,9,8,8,8,8,7,6,
04830     6,6,5,4,4,3,3,2,2,1
04831   };
04832   const int n3c2w1_j[] = {
04833     120, // Capacity
04834     200, // Number of items
04835     // Size of items (sorted)
04836     100,100,100,100,99,99,99,98,98,97,95,95,95,94,93,92,92,92,92,
04837     91,91,88,87,87,86,86,85,84,84,84,83,83,82,82,82,81,81,81,80,80,
04838     79,78,78,77,76,76,76,75,74,74,74,73,72,70,69,68,68,67,67,67,67,
04839     67,67,66,66,66,65,65,65,65,65,65,64,64,64,63,63,63,62,61,60,59,
04840     59,59,58,58,58,57,57,57,56,56,56,56,55,55,54,54,54,53,53,52,52,
04841     51,50,50,50,49,49,49,48,47,47,46,46,45,45,45,44,44,44,43,43,43,
04842     41,41,41,39,38,37,36,36,36,36,36,36,35,35,35,34,33,33,32,31,31,
04843     30,30,29,29,29,29,29,28,28,26,26,26,26,26,25,25,25,24,23,23,21,
04844     20,20,20,20,20,19,19,19,18,18,17,16,15,15,15,13,12,11,10,9,9,
04845     9,8,7,7,7,5,4,3,3,2,2,1,1
04846   };
04847   const int n3c2w1_k[] = {
04848     120, // Capacity
04849     200, // Number of items
04850     // Size of items (sorted)
04851     99,99,99,99,98,98,96,95,95,92,92,92,91,91,91,91,89,89,89,88,88,
04852     87,85,85,84,84,84,83,83,83,83,83,82,81,80,80,79,79,77,77,76,74,
04853     73,73,73,73,73,70,69,68,66,66,66,66,65,65,65,64,63,63,62,62,61,
04854     61,59,59,59,58,58,57,57,56,56,55,55,54,54,54,53,52,52,51,50,50,
04855     50,50,49,49,48,48,48,48,48,47,47,46,46,46,45,45,45,44,44,44,43,
04856     43,43,42,42,42,41,41,40,40,40,39,38,38,36,36,35,35,35,34,33,33,
04857     33,33,33,33,32,32,32,31,30,30,30,28,28,27,27,27,26,25,24,23,23,
04858     22,22,22,21,20,20,18,18,17,17,17,16,15,15,14,14,14,13,13,13,12,
04859     12,12,12,12,11,11,11,11,10,9,8,7,7,7,7,7,7,7,7,7,6,6,5,5,5,5,
04860     5,4,4,3,2,1
04861   };
04862   const int n3c2w1_l[] = {
04863     120, // Capacity
04864     200, // Number of items
04865     // Size of items (sorted)
04866     100,100,99,99,99,99,99,97,96,96,96,95,95,95,94,94,94,94,93,93,
04867     93,93,93,92,92,92,92,91,91,88,88,88,87,87,86,85,85,85,83,83,82,
04868     82,82,81,81,80,80,79,79,78,78,77,77,77,77,76,74,74,74,73,71,70,
04869     69,68,67,67,67,67,66,66,66,66,66,65,65,65,65,64,64,64,64,64,64,
04870     63,63,62,61,61,60,60,60,59,58,57,56,56,56,56,55,55,55,54,54,54,
04871     53,53,52,52,52,51,50,49,48,48,47,47,45,45,44,44,44,44,43,43,43,
04872     43,42,41,41,40,40,40,40,40,40,40,38,37,37,37,35,35,33,33,33,31,
04873     31,30,30,28,27,25,25,25,24,24,24,23,22,22,20,20,19,19,19,18,18,
04874     18,18,17,16,15,14,14,13,13,12,11,11,11,10,10,10,8,8,7,7,7,6,5,
04875     5,5,5,5,3,2,2,2,1,1
04876   };
04877   const int n3c2w1_m[] = {
04878     120, // Capacity
04879     200, // Number of items
04880     // Size of items (sorted)
04881     100,100,99,99,98,97,97,96,96,95,95,93,92,92,91,88,88,88,87,86,
04882     86,86,85,85,83,83,83,82,82,82,82,81,81,81,81,81,81,80,80,79,78,
04883     78,78,77,77,77,75,75,74,73,73,72,72,72,72,72,72,71,71,71,70,70,
04884     69,69,69,68,67,66,66,65,65,64,64,64,63,63,63,63,62,61,61,61,61,
04885     60,60,60,59,59,58,57,56,55,55,54,54,54,53,53,53,53,53,52,52,52,
04886     50,48,48,46,46,46,46,45,44,44,43,43,43,43,43,42,42,42,42,40,40,
04887     40,39,38,36,36,36,36,36,36,32,32,32,31,31,30,30,28,28,27,27,27,
04888     26,26,25,25,25,24,24,23,22,22,22,21,21,21,20,20,20,20,20,19,19,
04889     19,18,18,18,18,16,16,15,13,13,12,11,11,10,10,9,9,8,8,8,7,7,6,
04890     5,5,4,3,3,2,2,2,2,2
04891   };
04892   const int n3c2w1_n[] = {
04893     120, // Capacity
04894     200, // Number of items
04895     // Size of items (sorted)
04896     100,100,100,98,98,97,97,97,96,96,95,94,94,94,94,93,93,93,92,91,
04897     91,91,91,89,89,89,89,88,88,88,87,86,86,86,85,84,84,84,83,83,82,
04898     81,81,80,80,80,80,79,79,79,79,78,77,77,77,76,76,75,75,75,75,75,
04899     74,74,73,72,72,72,71,71,70,70,69,69,69,68,67,67,66,66,64,64,64,
04900     63,62,62,62,61,60,60,60,60,60,59,58,58,57,56,56,54,54,53,53,52,
04901     52,52,52,51,49,49,49,49,49,47,47,47,46,46,46,45,45,44,44,42,41,
04902     41,41,40,40,39,38,38,37,36,36,36,33,32,31,31,30,30,30,30,29,28,
04903     27,26,26,23,22,21,21,21,21,21,20,20,20,20,19,18,18,18,16,16,15,
04904     13,13,12,12,11,10,10,10,10,9,9,9,8,8,7,7,7,6,6,5,5,4,4,3,3,3,
04905     3,2,2,2,1,1,1
04906   };
04907   const int n3c2w1_o[] = {
04908     120, // Capacity
04909     200, // Number of items
04910     // Size of items (sorted)
04911     100,100,99,98,98,96,94,93,92,92,92,91,91,90,90,89,89,89,88,88,
04912     87,87,87,86,86,84,84,84,83,81,79,79,79,78,77,77,77,77,77,75,75,
04913     75,74,74,74,73,73,73,73,72,72,71,71,70,70,69,68,68,67,67,66,66,
04914     65,65,64,64,64,63,63,63,63,63,63,62,62,61,61,61,61,60,60,60,60,
04915     59,59,58,58,58,58,58,57,57,57,56,55,55,55,54,54,53,53,53,52,51,
04916     51,50,48,48,47,47,46,46,44,43,42,41,41,41,41,40,40,40,39,39,39,
04917     39,38,37,36,36,36,35,35,35,34,33,32,32,32,31,31,31,30,29,28,28,
04918     27,27,27,27,27,24,23,23,21,20,20,19,19,19,18,18,18,17,17,16,16,
04919     15,14,13,13,13,13,12,12,11,11,9,9,8,8,8,8,7,7,7,6,4,4,3,3,3,3,
04920     2,2,2,1,1,1,1
04921   };
04922   const int n3c2w1_p[] = {
04923     120, // Capacity
04924     200, // Number of items
04925     // Size of items (sorted)
04926     99,99,97,97,97,97,97,96,96,96,96,96,96,94,94,94,93,92,92,89,89,
04927     89,88,88,87,87,86,85,85,85,84,84,84,83,83,83,83,83,83,82,81,81,
04928     81,80,80,80,79,79,79,78,78,77,76,76,75,74,73,72,71,71,71,71,69,
04929     69,68,68,68,68,67,67,66,66,66,65,65,65,65,65,64,64,64,63,63,60,
04930     60,58,58,58,58,57,57,57,56,56,56,55,54,54,53,53,53,53,52,52,50,
04931     50,49,49,47,46,45,45,45,44,44,43,42,42,41,41,41,41,40,40,40,40,
04932     40,40,39,39,38,38,38,37,37,37,37,36,36,35,34,34,34,34,34,33,33,
04933     32,32,31,31,31,30,30,29,28,27,27,27,26,25,25,24,23,22,22,21,21,
04934     21,21,20,19,19,19,18,17,17,17,16,15,13,13,13,10,10,9,9,9,9,9,
04935     9,8,7,6,6,5,4,3,2,1
04936   };
04937   const int n3c2w1_q[] = {
04938     120, // Capacity
04939     200, // Number of items
04940     // Size of items (sorted)
04941     100,98,97,97,97,96,96,96,96,96,95,94,93,93,93,92,92,92,91,90,
04942     90,90,90,90,89,89,88,88,87,87,86,85,84,84,82,82,81,81,80,79,79,
04943     77,75,75,75,75,73,73,72,72,71,71,71,71,71,70,70,69,69,69,69,68,
04944     68,67,67,66,66,65,65,65,64,62,62,62,60,59,59,59,59,58,58,58,57,
04945     57,56,55,55,55,54,54,53,53,53,53,52,52,51,50,50,48,47,47,46,46,
04946     46,45,44,44,43,43,42,41,41,41,41,40,40,39,39,39,37,37,36,36,36,
04947     35,33,32,32,32,32,32,31,31,31,31,30,30,30,29,29,28,27,26,26,26,
04948     25,25,25,25,24,24,24,22,22,21,20,20,19,18,18,18,17,15,15,15,15,
04949     14,14,13,12,12,12,11,10,10,10,10,10,9,8,8,8,8,8,8,7,7,6,6,5,5,
04950     5,5,5,4,4,4,2,2
04951   };
04952   const int n3c2w1_r[] = {
04953     120, // Capacity
04954     200, // Number of items
04955     // Size of items (sorted)
04956     99,99,99,99,99,98,98,97,96,95,95,93,92,91,91,90,90,90,89,89,89,
04957     86,84,84,84,83,82,82,80,80,79,79,78,78,77,77,77,76,76,76,76,74,
04958     74,74,72,72,71,71,71,71,70,70,70,69,69,69,68,67,66,66,65,65,64,
04959     64,64,64,63,63,62,62,62,61,61,60,60,60,59,59,58,58,58,57,56,56,
04960     55,54,53,53,52,52,52,52,52,51,51,51,50,50,50,49,49,47,47,46,46,
04961     45,44,44,44,44,43,43,42,42,42,42,41,41,41,41,40,40,40,40,40,39,
04962     39,39,39,37,36,35,35,34,34,33,33,33,32,32,32,32,31,30,30,29,29,
04963     28,27,27,26,26,26,26,25,25,25,24,24,24,23,23,23,22,21,21,21,19,
04964     18,18,18,17,17,16,16,15,14,14,14,13,12,11,11,10,9,7,7,7,7,7,7,
04965     6,5,4,4,3,2,2,1,1
04966   };
04967   const int n3c2w1_s[] = {
04968     120, // Capacity
04969     200, // Number of items
04970     // Size of items (sorted)
04971     100,100,100,100,100,99,98,98,97,97,96,95,95,94,94,94,94,94,93,
04972     93,93,93,92,92,92,91,90,89,89,89,89,88,88,88,88,87,87,87,86,86,
04973     85,84,84,84,83,83,82,81,81,80,79,79,78,78,77,77,77,76,76,76,75,
04974     75,74,73,73,73,70,70,69,68,66,66,66,65,65,65,63,63,62,62,62,60,
04975     59,59,59,59,57,57,57,57,57,57,57,55,55,53,53,53,53,53,52,52,52,
04976     51,51,50,49,49,49,48,47,47,46,45,45,45,44,44,44,42,42,42,41,40,
04977     40,40,39,39,39,39,36,36,36,35,34,34,34,33,33,31,31,30,30,30,29,
04978     29,29,27,27,27,26,26,26,25,25,25,25,24,23,23,22,22,21,20,20,20,
04979     20,19,17,17,17,16,16,16,16,15,15,14,13,12,12,12,12,12,12,12,11,
04980     11,11,9,9,9,9,9,8,8,6,6,6,6
04981   };
04982   const int n3c2w1_t[] = {
04983     120, // Capacity
04984     200, // Number of items
04985     // Size of items (sorted)
04986     100,100,100,99,99,98,97,97,96,96,96,95,94,94,92,92,91,91,90,90,
04987     89,89,89,88,88,88,87,87,87,87,85,85,85,84,84,84,84,84,83,82,82,
04988     82,82,80,79,79,79,78,78,78,77,76,76,75,71,71,69,69,69,68,68,68,
04989     68,67,67,66,66,66,66,65,65,65,64,63,63,61,58,58,58,57,57,56,55,
04990     55,55,54,54,54,53,53,52,51,50,50,49,49,49,48,47,46,46,46,45,44,
04991     44,44,44,44,44,44,43,43,43,42,42,42,41,41,40,40,39,39,39,39,38,
04992     38,38,37,35,35,35,33,32,32,31,31,30,30,29,29,28,28,27,27,26,26,
04993     25,25,24,24,23,23,22,22,22,22,22,21,21,20,20,20,19,19,18,16,16,
04994     15,15,14,14,14,13,13,13,12,12,12,12,12,11,11,10,10,10,9,8,8,7,
04995     7,6,6,3,3,2,2,1,1,1,1
04996   };
04997   const int n3c2w2_a[] = {
04998     120, // Capacity
04999     200, // Number of items
05000     // Size of items (sorted)
05001     100,100,99,99,99,99,98,98,98,98,97,97,96,96,96,95,95,95,94,94,
05002     94,94,93,92,92,91,91,90,90,89,88,88,88,87,87,87,86,86,86,85,85,
05003     84,84,83,83,83,82,82,81,81,81,81,80,80,78,78,78,78,78,77,77,76,
05004     76,76,76,75,75,75,75,74,74,74,73,73,72,71,70,70,69,69,68,68,68,
05005     68,67,67,67,67,66,66,66,66,65,65,65,65,65,64,64,63,63,62,61,61,
05006     61,60,59,58,58,58,57,57,57,57,56,55,55,55,55,54,54,54,53,52,51,
05007     51,51,50,50,50,49,49,49,48,48,47,47,47,47,47,46,46,46,45,44,44,
05008     44,43,42,42,42,42,41,41,41,40,40,39,38,38,37,37,35,35,35,34,34,
05009     34,34,33,32,32,32,31,31,31,31,30,30,29,29,28,28,27,27,27,27,26,
05010     26,25,25,25,23,22,22,21,21,20,20,20
05011   };
05012   const int n3c2w2_b[] = {
05013     120, // Capacity
05014     200, // Number of items
05015     // Size of items (sorted)
05016     100,100,100,100,100,99,99,99,98,98,98,97,97,97,97,96,94,94,93,
05017     93,91,91,91,91,91,90,90,90,89,88,88,87,87,87,86,86,85,85,85,84,
05018     84,83,82,82,82,81,81,80,79,79,79,79,79,79,79,78,77,77,77,77,77,
05019     76,75,75,73,73,72,72,72,72,72,70,70,70,69,69,68,68,68,67,67,67,
05020     67,66,66,65,65,65,64,64,64,64,63,63,63,62,62,61,61,61,61,61,61,
05021     60,60,60,59,58,57,57,57,56,56,55,55,54,53,53,53,52,52,51,51,50,
05022     50,49,48,47,47,46,45,45,45,45,44,43,43,43,42,42,42,42,42,40,39,
05023     38,37,37,36,36,36,36,35,34,34,33,33,33,33,32,32,32,32,31,30,30,
05024     30,30,30,29,29,29,29,29,28,28,27,27,27,27,26,26,26,25,25,25,25,
05025     24,24,24,23,22,22,22,22,21,20,20,20,20
05026   };
05027   const int n3c2w2_c[] = {
05028     120, // Capacity
05029     200, // Number of items
05030     // Size of items (sorted)
05031     100,100,100,100,98,98,97,97,97,97,96,95,95,94,94,93,93,93,92,
05032     92,92,92,91,90,90,90,90,89,89,89,89,89,88,88,88,87,87,86,86,86,
05033     85,85,84,84,83,83,83,82,81,81,80,80,79,79,78,78,78,78,78,78,77,
05034     76,76,76,76,75,75,75,75,74,73,73,72,71,69,69,69,68,68,68,68,67,
05035     66,66,66,66,65,65,65,64,64,64,63,63,63,62,62,62,61,61,60,59,58,
05036     58,57,56,55,55,55,54,54,52,51,51,51,50,50,50,49,49,49,49,48,48,
05037     48,48,47,47,47,47,47,46,46,46,46,45,45,44,44,44,43,43,43,42,42,
05038     41,41,41,41,40,40,40,40,40,40,39,39,38,38,38,38,38,37,37,36,36,
05039     36,35,35,34,34,33,33,33,33,33,32,30,29,27,27,27,26,26,25,25,25,
05040     25,25,25,24,22,22,21,21,21,21,21,20,20
05041   };
05042   const int n3c2w2_d[] = {
05043     120, // Capacity
05044     200, // Number of items
05045     // Size of items (sorted)
05046     100,100,100,98,97,96,96,96,96,96,95,95,95,94,94,94,93,93,93,93,
05047     93,92,92,92,92,91,91,91,90,90,89,89,89,88,88,88,87,86,85,85,85,
05048     84,84,84,84,84,83,83,83,83,83,83,82,82,82,81,81,81,80,79,78,78,
05049     78,77,77,76,76,75,75,75,75,75,75,74,74,73,72,72,72,70,70,70,70,
05050     69,68,68,68,68,68,67,66,66,65,65,65,64,64,63,61,61,60,60,60,60,
05051     59,59,59,58,58,57,57,57,56,55,55,55,54,54,53,52,52,52,51,51,51,
05052     51,50,50,50,50,49,49,49,49,47,47,47,47,45,45,45,43,43,42,41,41,
05053     41,41,40,40,40,40,39,39,38,38,38,38,38,37,37,37,37,37,36,36,36,
05054     36,36,35,35,34,34,34,34,33,33,33,33,32,32,31,30,29,29,28,28,27,
05055     26,25,24,24,24,23,23,22,22,21,20,20
05056   };
05057   const int n3c2w2_e[] = {
05058     120, // Capacity
05059     200, // Number of items
05060     // Size of items (sorted)
05061     100,100,100,100,100,99,99,99,99,98,98,98,98,98,97,97,97,97,96,
05062     96,96,96,96,95,95,95,94,94,94,93,92,92,92,92,91,91,91,91,90,90,
05063     90,90,89,89,89,89,88,88,87,87,87,87,87,87,86,86,86,85,85,84,83,
05064     83,82,82,81,81,81,80,80,80,79,79,79,78,78,77,77,76,76,75,75,74,
05065     74,74,74,73,72,69,69,69,67,67,66,66,66,66,65,65,64,64,63,63,62,
05066     62,62,62,62,62,61,60,59,58,58,58,57,57,56,55,55,55,55,54,53,53,
05067     53,53,53,53,53,53,52,52,52,52,51,50,49,49,49,49,49,48,48,47,47,
05068     47,46,46,46,46,45,45,44,44,43,42,41,40,40,40,40,40,40,39,38,38,
05069     38,38,37,37,36,36,34,34,34,32,32,32,31,30,30,29,28,27,26,26,26,
05070     25,25,25,25,25,24,24,23,23,22,21,20,20
05071   };
05072   const int n3c2w2_f[] = {
05073     120, // Capacity
05074     200, // Number of items
05075     // Size of items (sorted)
05076     100,100,100,100,100,99,99,98,98,98,97,97,97,96,96,95,95,95,95,
05077     94,94,94,94,92,92,92,92,92,92,91,91,91,90,90,90,90,90,90,89,88,
05078     87,86,86,86,86,85,84,84,84,84,84,84,84,83,82,82,82,82,82,81,80,
05079     80,80,80,79,78,78,77,77,76,76,76,75,75,75,75,74,74,74,73,73,72,
05080     72,71,70,70,69,68,67,67,67,67,66,64,63,63,63,62,62,61,60,59,59,
05081     59,59,57,57,57,56,54,54,54,54,53,53,53,53,53,51,51,51,51,50,50,
05082     49,48,48,48,48,48,47,47,46,46,45,45,44,44,44,43,43,43,43,42,42,
05083     41,40,39,38,38,38,38,38,38,38,38,37,37,36,35,35,35,35,34,34,33,
05084     32,32,31,31,30,30,30,30,30,30,29,29,29,28,28,28,27,27,27,27,26,
05085     26,26,24,23,23,22,22,22,21,21,21,20,20
05086   };
05087   const int n3c2w2_g[] = {
05088     120, // Capacity
05089     200, // Number of items
05090     // Size of items (sorted)
05091     100,100,100,100,100,99,98,98,98,98,98,97,96,96,95,95,92,92,92,
05092     92,92,92,91,91,91,91,90,90,89,89,89,89,89,88,88,88,87,87,85,84,
05093     84,83,83,83,82,82,82,81,81,81,81,80,79,79,79,79,78,78,77,77,77,
05094     77,76,76,76,76,75,75,75,74,74,74,74,73,73,70,69,69,68,67,66,66,
05095     66,64,64,64,64,63,63,63,63,63,62,62,61,61,61,61,60,60,59,59,57,
05096     57,57,57,57,57,56,55,54,54,53,53,53,53,52,52,52,51,50,50,50,50,
05097     49,48,48,48,47,46,46,46,45,45,45,45,44,44,43,42,41,41,40,40,39,
05098     39,39,39,38,38,38,37,37,37,37,36,36,36,36,35,35,35,35,34,34,33,
05099     33,33,31,31,30,30,30,29,29,29,29,29,27,27,27,26,25,25,24,24,24,
05100     24,23,23,23,22,21,21,21,21,21,21,21,20
05101   };
05102   const int n3c2w2_h[] = {
05103     120, // Capacity
05104     200, // Number of items
05105     // Size of items (sorted)
05106     100,99,98,98,98,97,97,97,97,97,96,96,96,96,96,95,95,95,95,95,
05107     95,94,94,94,93,93,93,93,92,92,92,91,91,91,90,90,89,89,89,88,88,
05108     88,87,86,86,85,85,85,85,84,84,83,83,83,82,82,82,81,81,80,80,80,
05109     80,79,79,79,79,78,78,78,77,77,77,76,76,75,75,75,74,74,74,73,72,
05110     72,72,72,72,71,71,71,71,69,69,69,69,68,68,68,66,66,66,65,65,64,
05111     64,64,63,63,62,61,61,61,61,61,61,60,60,59,59,59,59,58,58,57,56,
05112     56,56,56,55,55,55,54,54,53,52,52,51,51,51,51,51,50,50,49,48,45,
05113     45,44,44,44,43,43,42,42,42,42,41,39,38,38,38,37,37,37,37,36,36,
05114     35,35,34,34,33,33,33,32,32,31,30,30,30,30,29,28,28,28,28,27,27,
05115     26,26,25,25,25,25,24,24,23,22,22,20
05116   };
05117   const int n3c2w2_i[] = {
05118     120, // Capacity
05119     200, // Number of items
05120     // Size of items (sorted)
05121     100,100,99,99,99,98,98,97,97,97,96,96,95,95,95,93,93,92,92,92,
05122     92,91,91,91,90,89,89,89,89,88,88,88,88,87,87,87,87,87,86,86,86,
05123     86,86,85,85,85,84,84,84,84,84,83,83,82,81,80,80,79,78,77,77,76,
05124     76,76,75,74,74,74,73,73,73,72,72,71,70,69,68,66,66,66,66,65,65,
05125     65,65,64,64,63,63,62,61,61,61,60,59,59,59,59,58,58,58,57,57,57,
05126     56,55,55,55,55,55,54,54,54,53,52,52,52,52,52,51,51,50,50,50,50,
05127     49,49,49,49,48,47,47,46,46,45,45,45,44,43,43,42,42,42,41,41,41,
05128     40,39,38,38,37,37,36,36,36,35,34,34,33,33,33,33,32,32,31,31,31,
05129     30,30,29,29,29,29,28,28,28,28,28,27,27,27,26,25,25,25,25,24,24,
05130     24,24,23,23,22,22,21,21,21,21,20,20
05131   };
05132   const int n3c2w2_j[] = {
05133     120, // Capacity
05134     200, // Number of items
05135     // Size of items (sorted)
05136     100,100,100,99,97,97,96,96,96,96,95,94,94,94,94,93,92,91,91,91,
05137     90,90,90,90,90,90,89,89,89,89,88,88,87,87,87,87,86,86,85,84,84,
05138     83,83,83,83,83,82,82,82,82,82,81,81,81,80,80,79,78,78,78,76,76,
05139     76,75,75,75,75,74,74,74,74,73,73,73,72,72,71,71,71,70,69,69,68,
05140     68,68,67,67,66,66,66,65,65,65,64,64,63,63,63,62,62,61,60,60,60,
05141     60,58,58,58,58,58,58,57,57,57,57,57,55,54,54,53,52,52,52,52,52,
05142     52,51,51,51,50,50,49,49,48,47,47,47,46,46,46,46,45,45,44,43,43,
05143     43,43,42,42,42,42,42,41,41,41,40,40,40,39,39,39,38,38,38,38,37,
05144     37,37,36,36,36,36,35,35,34,34,33,31,30,30,29,29,28,28,28,28,25,
05145     25,24,24,22,22,21,21,21,20,20,20,20
05146   };
05147   const int n3c2w2_k[] = {
05148     120, // Capacity
05149     200, // Number of items
05150     // Size of items (sorted)
05151     100,99,99,99,99,98,96,96,96,95,95,95,94,94,94,94,93,93,93,93,
05152     93,92,92,91,91,91,90,90,89,89,89,89,89,88,87,87,87,86,85,85,85,
05153     84,84,84,83,83,82,82,81,81,81,80,80,79,79,79,79,78,77,77,76,76,
05154     75,75,75,74,74,74,73,73,73,72,72,72,72,72,71,71,71,71,71,71,70,
05155     69,69,68,67,67,67,67,67,67,66,66,65,65,64,64,64,64,63,63,63,62,
05156     62,61,61,61,61,60,59,59,58,57,57,57,57,56,56,56,55,54,54,54,54,
05157     53,52,51,51,50,49,49,49,48,47,47,47,47,46,46,46,45,45,45,45,45,
05158     44,43,42,42,42,41,41,41,41,40,40,39,38,38,37,36,36,36,36,35,35,
05159     34,33,33,33,33,32,32,32,31,31,31,31,30,30,28,28,28,28,27,27,26,
05160     26,26,25,23,22,22,21,21,21,21,20,20
05161   };
05162   const int n3c2w2_l[] = {
05163     120, // Capacity
05164     200, // Number of items
05165     // Size of items (sorted)
05166     100,100,99,99,99,98,97,97,97,97,96,96,95,95,95,94,94,94,94,94,
05167     94,93,93,92,92,92,92,92,91,91,90,89,89,88,88,87,87,86,86,85,85,
05168     85,84,84,84,84,81,81,80,80,80,80,79,78,78,77,77,77,77,77,76,76,
05169     75,75,74,73,73,73,72,72,71,71,70,69,69,69,69,69,68,68,68,67,67,
05170     67,66,66,66,66,66,66,65,65,65,64,64,63,63,63,63,62,62,61,61,61,
05171     60,60,59,58,58,57,57,57,56,56,56,55,55,55,55,54,54,53,53,52,51,
05172     51,51,51,51,51,50,49,49,49,48,48,47,47,46,45,45,44,44,44,44,43,
05173     43,43,42,42,40,40,40,40,39,39,38,38,37,37,36,36,36,34,34,34,33,
05174     32,32,31,31,30,30,29,28,28,28,28,28,27,27,27,27,27,26,26,25,25,
05175     25,24,24,23,22,22,21,21,21,20,20,20
05176   };
05177   const int n3c2w2_m[] = {
05178     120, // Capacity
05179     200, // Number of items
05180     // Size of items (sorted)
05181     99,99,99,98,98,98,97,97,97,97,97,96,96,95,95,95,95,95,94,94,94,
05182     93,92,92,92,91,90,90,90,89,89,89,89,89,88,87,87,86,86,85,85,85,
05183     85,84,84,84,84,84,83,83,83,83,82,82,82,81,81,81,80,80,80,78,77,
05184     77,76,76,75,75,74,74,73,72,71,71,70,70,70,70,70,69,68,68,68,68,
05185     67,67,66,66,66,66,66,65,65,64,64,63,62,62,62,61,61,61,61,60,60,
05186     59,59,59,59,58,58,58,57,57,57,57,57,56,56,55,55,54,54,53,53,53,
05187     52,52,52,51,51,50,50,50,50,50,49,49,48,48,47,47,47,47,47,46,45,
05188     45,44,43,43,43,43,42,42,40,39,39,39,39,39,38,38,37,37,37,36,36,
05189     36,35,35,34,33,33,33,33,32,32,32,32,31,31,30,29,27,27,26,24,24,
05190     24,22,22,22,22,22,22,22,21,21,20
05191   };
05192   const int n3c2w2_n[] = {
05193     120, // Capacity
05194     200, // Number of items
05195     // Size of items (sorted)
05196     100,100,100,99,99,98,98,98,97,97,97,97,96,96,96,96,95,95,95,95,
05197     95,94,94,94,94,92,92,92,90,90,90,89,88,88,87,87,87,86,86,84,83,
05198     83,82,81,81,81,81,81,80,80,79,79,78,78,78,77,77,77,77,77,77,76,
05199     76,76,75,75,75,74,74,73,73,73,72,72,72,71,71,71,70,70,69,68,68,
05200     67,67,66,66,65,64,63,63,63,63,63,62,62,62,62,61,61,60,60,59,59,
05201     59,58,58,58,58,57,57,57,57,57,55,55,55,54,54,54,53,53,53,52,52,
05202     50,50,49,48,48,48,47,47,46,46,46,46,44,44,44,43,43,43,42,42,42,
05203     41,41,41,41,41,41,41,40,40,38,38,37,37,37,37,36,36,36,36,36,35,
05204     35,35,34,34,34,33,33,33,32,32,31,30,30,29,29,28,28,28,27,27,27,
05205     26,26,26,26,26,25,25,23,23,22,22,20
05206   };
05207   const int n3c2w2_o[] = {
05208     120, // Capacity
05209     200, // Number of items
05210     // Size of items (sorted)
05211     100,100,99,99,98,98,97,97,96,96,96,96,95,94,93,93,92,91,90,89,
05212     89,88,88,88,88,88,88,88,87,87,87,87,87,87,87,87,86,86,85,85,85,
05213     84,83,83,82,82,82,81,81,81,80,80,79,78,78,78,77,77,76,76,76,76,
05214     75,75,74,74,74,74,74,74,72,72,72,72,71,71,70,70,70,70,70,69,68,
05215     67,67,67,67,66,66,66,66,66,65,65,64,64,63,62,61,61,61,61,60,60,
05216     60,60,58,58,57,57,57,57,56,56,55,55,55,55,54,54,53,53,53,52,52,
05217     52,52,52,51,51,51,51,49,49,49,49,48,47,47,47,46,45,44,44,44,44,
05218     44,43,42,42,42,41,41,40,40,39,39,39,39,38,38,36,36,36,36,35,35,
05219     35,34,34,34,34,34,34,33,33,33,33,31,30,29,29,28,26,25,25,25,24,
05220     24,24,24,23,22,22,21,21,21,20,20,20
05221   };
05222   const int n3c2w2_p[] = {
05223     120, // Capacity
05224     200, // Number of items
05225     // Size of items (sorted)
05226     100,100,100,100,99,99,97,97,97,97,97,97,96,96,95,95,94,94,93,
05227     93,92,91,90,90,90,90,90,89,89,89,89,89,89,88,88,87,87,86,86,85,
05228     85,85,84,84,84,84,84,83,83,83,82,81,81,81,81,81,80,79,79,78,78,
05229     78,77,76,76,75,75,75,74,74,74,74,73,73,71,71,70,70,70,70,70,68,
05230     67,67,67,67,65,65,65,65,65,64,64,63,62,62,62,62,61,60,59,59,59,
05231     58,58,58,57,56,56,55,55,54,54,53,53,53,53,52,52,52,52,51,51,51,
05232     51,51,51,51,51,50,50,50,50,49,49,49,48,48,48,47,47,46,46,46,46,
05233     45,45,44,44,43,43,43,42,42,39,39,39,39,38,38,37,37,37,37,36,35,
05234     34,33,33,33,33,33,32,32,32,32,31,31,30,30,30,29,29,29,27,27,27,
05235     26,25,25,23,23,22,22,22,21,20,20,20,20
05236   };
05237   const int n3c2w2_q[] = {
05238     120, // Capacity
05239     200, // Number of items
05240     // Size of items (sorted)
05241     100,100,100,99,99,99,99,98,96,96,96,95,94,94,94,93,93,93,92,92,
05242     92,91,91,90,88,88,88,88,88,87,86,85,85,85,84,84,84,83,83,83,82,
05243     82,82,82,81,81,81,81,81,79,79,78,77,77,76,76,76,75,75,74,73,73,
05244     72,72,71,70,70,70,70,69,69,69,69,68,68,67,67,66,66,65,65,65,65,
05245     64,64,64,64,64,64,63,63,63,63,63,63,63,62,62,62,62,61,60,59,59,
05246     59,59,59,59,59,58,58,58,58,57,57,57,56,55,55,55,54,53,53,53,53,
05247     53,52,52,51,51,50,50,50,50,49,49,49,48,48,47,47,47,45,44,44,44,
05248     42,41,41,41,41,41,40,40,40,40,39,38,38,38,37,37,37,37,37,36,36,
05249     36,35,34,32,32,32,31,31,31,30,30,29,29,29,29,28,26,26,26,25,24,
05250     24,24,23,23,22,21,20,20,20,20,20,20
05251   };
05252   const int n3c2w2_r[] = {
05253     120, // Capacity
05254     200, // Number of items
05255     // Size of items (sorted)
05256     100,99,99,99,98,98,98,97,97,97,97,97,96,96,96,95,95,95,93,93,
05257     92,92,91,91,91,91,90,90,89,89,89,88,88,87,87,87,87,86,86,86,85,
05258     85,85,85,84,84,84,84,84,83,83,83,82,82,82,81,81,81,81,80,80,80,
05259     79,79,79,78,78,77,76,76,74,74,74,74,73,73,72,72,72,72,72,72,71,
05260     71,71,70,69,68,68,68,67,66,66,66,65,65,65,64,63,62,62,62,61,61,
05261     61,61,59,58,58,58,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,
05262     54,53,53,50,48,48,46,46,46,46,46,45,45,45,45,45,45,43,43,43,42,
05263     42,42,42,41,41,39,38,38,38,37,37,37,36,36,35,35,35,35,34,34,33,
05264     33,32,32,32,32,31,30,30,30,29,29,29,29,27,25,25,25,25,25,25,25,
05265     24,24,23,23,22,22,22,21,21,21,20,20
05266   };
05267   const int n3c2w2_s[] = {
05268     120, // Capacity
05269     200, // Number of items
05270     // Size of items (sorted)
05271     100,100,100,100,98,98,97,97,97,96,96,96,96,95,95,95,94,94,94,
05272     94,93,93,93,93,92,92,92,91,91,91,91,91,91,90,90,89,89,86,86,86,
05273     85,85,85,85,84,83,82,82,82,81,80,80,79,79,79,78,78,78,78,77,77,
05274     77,77,75,75,75,74,74,74,74,74,74,73,73,73,72,72,72,71,71,71,70,
05275     68,68,68,67,67,67,67,67,66,66,66,66,65,64,64,64,63,63,62,62,62,
05276     62,61,61,60,59,58,57,57,56,56,55,55,55,54,53,53,53,53,52,52,52,
05277     51,50,50,49,48,47,47,47,47,46,46,45,45,45,45,45,44,44,44,42,41,
05278     40,40,40,39,39,39,38,38,38,36,36,36,36,36,36,35,35,35,35,34,34,
05279     34,34,33,33,33,32,32,31,31,30,30,30,29,28,28,27,27,27,26,25,24,
05280     24,23,23,23,23,22,22,22,22,21,21,21,20
05281   };
05282   const int n3c2w2_t[] = {
05283     120, // Capacity
05284     200, // Number of items
05285     // Size of items (sorted)
05286     100,100,99,98,97,97,97,97,96,96,96,95,95,95,94,94,94,94,93,93,
05287     92,92,92,91,91,91,91,91,90,89,88,87,87,86,85,85,84,84,83,83,83,
05288     82,82,81,81,80,80,80,80,80,80,79,79,79,79,79,79,78,77,77,76,76,
05289     76,76,75,75,74,74,73,71,71,71,70,70,69,69,69,69,68,68,68,68,67,
05290     67,67,67,67,67,67,67,66,65,64,63,63,63,62,61,61,61,61,61,61,60,
05291     60,60,59,59,58,58,57,57,56,56,55,55,55,55,55,55,54,54,53,53,52,
05292     51,51,50,49,49,48,48,47,46,46,46,46,45,45,44,43,43,43,43,43,42,
05293     42,41,41,41,40,40,39,39,39,38,38,38,37,37,37,37,37,36,35,35,35,
05294     35,35,34,34,33,33,32,32,31,31,31,31,31,31,31,31,30,30,30,29,28,
05295     28,25,25,25,24,24,24,22,22,22,21,20
05296   };
05297   const int n3c2w4_a[] = {
05298     120, // Capacity
05299     200, // Number of items
05300     // Size of items (sorted)
05301     100,100,100,100,100,99,99,98,98,97,97,97,96,96,96,95,94,94,93,
05302     93,92,92,92,91,91,91,90,90,89,89,88,88,87,87,86,86,85,85,85,83,
05303     83,83,83,82,82,81,80,80,80,80,79,79,79,78,78,78,77,77,77,77,77,
05304     77,76,76,75,74,74,74,73,73,73,72,72,72,71,71,70,70,70,70,69,69,
05305     69,69,69,68,68,68,67,67,67,66,66,66,66,65,64,64,64,64,64,64,64,
05306     63,63,61,61,61,61,60,60,59,59,58,58,58,57,57,57,57,57,56,56,56,
05307     55,55,55,55,54,54,53,53,53,53,53,52,51,51,51,50,50,49,49,49,48,
05308     48,48,47,47,47,46,46,45,44,44,44,44,43,43,43,42,41,40,40,39,38,
05309     38,38,38,38,38,38,38,37,37,37,36,36,36,36,35,35,35,34,33,33,33,
05310     32,32,32,32,31,31,31,30,30,30,30,30,30
05311   };
05312   const int n3c2w4_b[] = {
05313     120, // Capacity
05314     200, // Number of items
05315     // Size of items (sorted)
05316     100,100,100,100,98,98,98,98,98,98,97,97,97,97,96,96,95,95,95,
05317     94,94,93,93,92,92,90,90,90,90,89,89,89,87,87,87,87,86,85,84,84,
05318     84,84,83,83,83,82,82,82,81,81,81,81,81,80,79,79,78,78,78,77,77,
05319     77,77,77,76,76,75,75,73,72,72,72,72,71,70,70,69,69,69,68,68,68,
05320     68,66,66,65,64,64,64,64,63,63,63,63,62,62,62,62,61,61,61,60,60,
05321     59,59,59,59,59,58,58,58,57,57,57,57,56,56,56,55,55,55,54,54,54,
05322     54,53,53,53,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,48,48,
05323     48,48,48,48,48,46,46,46,45,45,44,43,42,42,42,42,41,40,39,39,39,
05324     39,39,39,38,38,37,37,37,36,36,35,35,35,35,34,34,34,34,34,33,33,
05325     33,33,33,32,32,32,31,31,31,31,30,30,30
05326   };
05327   const int n3c2w4_c[] = {
05328     120, // Capacity
05329     200, // Number of items
05330     // Size of items (sorted)
05331     100,100,100,100,99,98,98,97,97,97,97,97,97,97,97,96,96,96,96,
05332     96,95,95,95,95,93,92,90,90,90,90,90,90,90,89,89,89,89,89,89,88,
05333     88,88,88,88,88,87,87,86,86,84,83,83,82,82,82,82,81,81,81,81,80,
05334     80,80,79,79,79,79,78,78,78,78,78,78,77,77,77,77,77,77,76,76,75,
05335     74,73,73,73,73,73,73,73,73,72,72,72,72,71,71,71,70,70,69,69,69,
05336     69,68,68,68,68,68,68,67,67,66,66,66,66,66,65,65,65,65,64,63,63,
05337     62,61,60,60,60,59,59,58,58,58,57,57,56,56,55,55,55,55,55,55,54,
05338     54,54,54,53,53,53,53,53,52,52,52,51,51,50,50,50,49,49,48,48,47,
05339     47,47,46,46,45,45,45,44,44,44,41,40,40,40,40,39,38,37,37,37,36,
05340     36,36,36,35,35,34,34,33,32,32,31,31,30
05341   };
05342   const int n3c2w4_d[] = {
05343     120, // Capacity
05344     200, // Number of items
05345     // Size of items (sorted)
05346     100,100,99,99,98,98,98,98,98,98,97,97,97,96,96,96,96,95,95,95,
05347     94,94,93,92,92,92,92,91,90,90,89,89,89,89,89,88,88,88,87,87,86,
05348     85,85,85,84,83,82,81,81,81,81,81,80,79,78,78,77,77,77,75,75,75,
05349     74,74,74,74,74,73,73,73,73,72,72,72,72,72,71,71,70,70,70,69,69,
05350     68,68,68,67,67,67,67,66,66,66,66,66,66,65,65,63,63,63,63,62,62,
05351     62,61,60,60,60,60,60,60,59,59,59,58,58,57,57,56,56,56,56,56,55,
05352     55,55,54,54,54,53,53,53,52,52,52,51,51,50,50,50,50,49,49,49,48,
05353     48,48,46,46,46,46,46,45,45,45,45,44,44,44,43,42,42,42,41,40,40,
05354     40,39,39,39,39,39,38,38,37,37,37,37,36,36,36,35,35,35,34,34,34,
05355     34,33,33,32,32,31,31,31,30,30,30,30
05356   };
05357   const int n3c2w4_e[] = {
05358     120, // Capacity
05359     200, // Number of items
05360     // Size of items (sorted)
05361     100,99,99,99,98,98,98,98,97,97,96,95,95,94,94,94,94,93,93,93,
05362     93,90,90,90,89,89,89,88,87,87,86,86,86,86,85,84,83,83,83,82,81,
05363     81,81,80,80,80,80,79,79,79,78,78,77,77,77,77,77,77,76,76,76,76,
05364     75,75,75,75,73,73,73,72,72,72,71,69,69,68,68,68,67,67,67,66,66,
05365     66,66,66,66,66,66,65,65,64,63,63,62,62,62,62,61,61,61,60,60,60,
05366     60,59,59,59,58,58,58,58,57,57,57,57,57,56,56,56,55,54,54,54,53,
05367     53,52,51,51,50,50,50,50,49,49,49,49,49,49,48,48,48,48,48,47,47,
05368     47,46,45,44,44,44,44,44,44,43,43,43,43,42,42,42,42,42,41,40,39,
05369     38,38,37,37,37,37,37,37,37,37,36,36,36,36,36,35,35,35,35,34,34,
05370     34,33,33,33,33,33,32,32,32,31,30,30
05371   };
05372   const int n3c2w4_f[] = {
05373     120, // Capacity
05374     200, // Number of items
05375     // Size of items (sorted)
05376     100,100,100,99,99,99,99,98,98,97,97,97,96,96,95,95,95,95,94,94,
05377     94,93,92,90,90,90,90,89,88,88,88,87,87,86,86,86,85,85,85,84,84,
05378     83,83,82,82,81,81,81,80,80,79,79,79,78,78,78,78,77,77,77,76,76,
05379     76,76,75,75,75,74,73,73,72,72,72,72,71,71,71,71,71,71,71,70,70,
05380     69,68,68,68,67,67,67,67,66,66,66,66,66,65,64,64,64,64,64,64,63,
05381     63,63,62,62,61,61,61,61,60,60,60,60,60,59,58,58,58,57,57,57,57,
05382     56,55,54,54,54,54,54,53,52,52,51,51,51,50,50,50,50,49,48,48,47,
05383     47,46,46,45,45,44,43,43,42,42,41,41,41,41,41,41,40,40,40,40,40,
05384     40,39,39,39,39,38,38,37,37,37,36,36,36,36,36,36,35,35,35,35,33,
05385     33,33,33,33,32,32,31,31,31,30,30,30
05386   };
05387   const int n3c2w4_g[] = {
05388     120, // Capacity
05389     200, // Number of items
05390     // Size of items (sorted)
05391     100,100,100,99,99,99,99,99,99,98,98,98,98,97,97,96,96,96,95,95,
05392     95,94,94,94,94,94,93,93,92,91,91,91,91,91,91,90,90,89,88,88,88,
05393     87,87,87,86,86,85,85,85,84,84,83,83,83,83,83,82,82,82,82,82,81,
05394     81,81,81,80,80,80,80,79,78,78,77,77,77,76,76,76,76,76,76,75,75,
05395     74,74,73,73,73,73,72,72,70,70,69,69,68,68,68,68,68,68,68,67,67,
05396     67,67,67,66,66,65,65,64,63,63,63,62,61,61,61,61,60,60,60,60,59,
05397     58,58,58,58,57,56,56,53,53,53,53,53,53,52,52,52,52,51,51,50,50,
05398     49,49,49,48,48,48,48,48,47,46,45,45,44,44,43,43,43,43,42,42,42,
05399     42,41,41,41,41,40,40,39,39,38,37,37,36,36,36,36,36,35,35,35,35,
05400     35,35,34,33,33,33,32,32,32,31,30,30
05401   };
05402   const int n3c2w4_h[] = {
05403     120, // Capacity
05404     200, // Number of items
05405     // Size of items (sorted)
05406     100,100,100,99,99,98,98,98,97,97,97,97,95,95,94,94,94,94,93,93,
05407     93,93,92,92,92,91,91,91,90,89,88,88,88,87,86,85,85,85,85,85,84,
05408     83,83,82,82,81,81,80,79,78,78,78,78,77,77,76,76,76,75,75,75,74,
05409     74,74,73,73,73,73,72,72,70,70,70,70,69,69,69,69,69,68,68,68,68,
05410     67,67,67,67,67,67,66,66,66,66,66,66,65,65,65,64,63,63,63,62,62,
05411     61,61,60,60,60,60,59,59,59,58,57,57,57,56,56,55,55,54,53,53,53,
05412     53,53,52,52,52,51,51,51,51,50,50,50,49,49,49,49,48,48,48,48,47,
05413     47,46,46,46,45,45,44,44,44,44,43,43,43,43,43,42,42,42,41,41,40,
05414     40,40,39,39,39,39,39,39,39,38,38,37,36,36,36,36,35,35,35,34,33,
05415     33,33,33,33,32,32,32,32,32,32,30,30
05416   };
05417   const int n3c2w4_i[] = {
05418     120, // Capacity
05419     200, // Number of items
05420     // Size of items (sorted)
05421     99,98,98,98,98,98,96,96,95,95,95,94,93,92,92,92,91,91,91,90,89,
05422     89,89,88,88,88,88,88,87,86,85,85,84,84,83,83,83,82,82,81,81,81,
05423     80,80,80,80,79,79,78,78,78,78,77,77,77,77,77,76,76,75,75,75,74,
05424     74,74,74,74,73,72,72,71,71,71,71,70,69,69,69,69,68,68,68,67,67,
05425     67,67,67,67,66,66,66,66,65,65,65,65,64,64,64,63,63,63,63,63,63,
05426     62,62,61,61,61,61,61,61,60,60,60,60,59,59,58,58,58,58,57,56,55,
05427     55,54,54,53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,50,50,50,
05428     50,50,50,49,49,49,48,48,48,48,47,47,47,46,46,45,45,44,44,43,43,
05429     43,43,43,42,42,41,41,40,39,39,38,38,37,37,37,36,36,35,35,35,34,
05430     34,33,33,33,32,32,31,31,30,30,30
05431   };
05432   const int n3c2w4_j[] = {
05433     120, // Capacity
05434     200, // Number of items
05435     // Size of items (sorted)
05436     100,100,99,99,98,97,97,96,96,96,95,95,94,94,93,93,91,91,91,91,
05437     90,90,90,90,88,88,88,88,87,87,86,86,86,86,86,85,85,85,85,84,84,
05438     83,83,83,82,82,82,82,82,82,82,81,81,80,80,80,80,79,79,78,78,77,
05439     77,76,76,75,75,75,74,73,73,73,73,72,72,72,72,71,71,70,70,70,69,
05440     69,69,69,69,68,68,68,67,67,67,66,66,65,65,65,65,65,65,65,65,65,
05441     64,64,64,64,64,64,64,63,63,62,62,62,62,60,60,60,59,59,58,58,58,
05442     58,58,57,56,56,56,56,56,55,55,54,54,53,53,53,53,52,52,52,52,52,
05443     52,52,51,51,51,50,50,49,49,49,47,46,46,46,46,45,45,44,44,44,44,
05444     44,44,43,43,42,41,41,41,38,38,38,37,35,35,35,35,34,33,33,33,33,
05445     33,33,33,32,32,31,31,31,30,30,30,30
05446   };
05447   const int n3c2w4_k[] = {
05448     120, // Capacity
05449     200, // Number of items
05450     // Size of items (sorted)
05451     100,100,100,100,99,99,99,98,98,98,98,98,97,97,97,96,96,95,94,
05452     94,94,94,94,93,93,92,91,91,90,90,90,90,89,89,88,88,88,88,88,87,
05453     87,87,86,85,85,85,85,85,85,85,83,83,82,82,82,82,81,81,81,80,80,
05454     80,79,78,77,77,77,76,76,76,75,75,74,74,74,74,73,73,73,72,72,71,
05455     71,71,71,69,69,69,68,68,67,67,66,66,66,65,65,64,64,64,64,64,64,
05456     64,63,62,62,61,61,61,61,60,60,60,60,60,60,59,58,58,57,57,57,57,
05457     56,56,55,55,54,54,53,53,53,53,53,52,52,52,52,52,52,50,49,48,48,
05458     48,48,48,47,47,47,47,47,47,47,47,46,46,45,44,44,44,44,42,42,42,
05459     42,42,41,41,41,40,40,39,38,38,37,37,37,37,37,37,36,35,35,35,35,
05460     35,34,34,33,33,32,32,31,31,31,30,30,30
05461   };
05462   const int n3c2w4_l[] = {
05463     120, // Capacity
05464     200, // Number of items
05465     // Size of items (sorted)
05466     100,99,99,99,99,99,98,97,97,97,97,95,95,95,94,94,94,93,93,93,
05467     92,92,92,92,91,91,91,91,90,90,90,89,89,88,88,88,88,87,87,87,87,
05468     86,85,85,85,84,84,84,83,83,83,82,82,81,81,80,80,80,80,80,79,79,
05469     78,78,78,78,78,77,77,77,77,77,76,76,76,76,75,75,74,74,74,73,73,
05470     72,72,71,71,71,70,70,70,69,68,68,68,68,67,66,66,65,65,65,65,65,
05471     64,63,62,62,61,61,61,61,61,60,60,60,58,58,58,58,57,56,56,56,56,
05472     56,56,55,55,55,55,55,54,53,52,52,52,51,51,51,51,49,49,47,47,46,
05473     45,45,45,45,45,45,44,44,44,44,43,42,41,41,41,40,40,39,39,39,39,
05474     38,38,38,37,37,36,36,36,36,36,36,36,35,35,35,35,34,34,34,34,34,
05475     33,33,33,33,33,32,32,32,31,31,30,30
05476   };
05477   const int n3c2w4_m[] = {
05478     120, // Capacity
05479     200, // Number of items
05480     // Size of items (sorted)
05481     100,100,100,99,99,99,99,99,99,99,98,98,98,98,97,97,97,97,97,96,
05482     96,96,95,95,95,95,95,95,94,93,92,92,92,92,92,91,91,90,90,90,89,
05483     88,88,86,86,86,85,85,85,84,83,82,82,82,82,81,81,81,80,80,80,80,
05484     80,79,79,79,79,78,78,78,78,77,76,76,75,74,73,73,73,72,72,72,71,
05485     71,70,70,69,69,69,68,68,68,68,68,67,67,67,66,66,65,64,64,64,64,
05486     64,63,63,63,63,62,62,62,62,62,62,61,61,61,61,60,59,59,58,58,57,
05487     57,55,54,54,53,53,53,53,53,53,53,53,53,53,52,52,51,51,50,50,50,
05488     49,48,46,46,45,45,45,45,44,43,42,41,41,41,40,40,40,40,39,39,38,
05489     38,38,38,38,37,37,37,36,36,35,35,35,35,35,34,34,34,34,33,33,33,
05490     32,32,32,32,32,32,32,31,30,30,30,30
05491   };
05492   const int n3c2w4_n[] = {
05493     120, // Capacity
05494     200, // Number of items
05495     // Size of items (sorted)
05496     100,100,100,100,100,100,99,99,99,99,98,98,98,98,97,97,97,96,96,
05497     95,95,95,94,93,93,92,92,92,91,90,90,89,88,88,88,88,88,88,87,87,
05498     87,87,86,85,85,85,85,85,84,84,82,82,82,81,81,81,80,80,80,80,80,
05499     80,80,78,78,78,78,78,77,77,77,75,75,75,74,74,73,72,71,71,71,70,
05500     70,70,70,69,69,69,69,68,68,67,67,65,65,65,64,64,64,64,64,63,63,
05501     63,62,62,61,61,60,60,59,59,59,58,58,57,57,56,56,56,56,56,55,55,
05502     55,55,54,54,54,53,53,53,53,52,52,51,51,51,50,50,50,50,49,49,49,
05503     48,47,47,47,46,46,46,46,45,45,45,44,44,44,44,44,44,44,43,43,41,
05504     41,40,40,39,39,39,38,38,37,37,36,36,36,36,36,36,35,35,34,33,33,
05505     33,32,32,32,32,32,32,31,31,30,30,30,30
05506   };
05507   const int n3c2w4_o[] = {
05508     120, // Capacity
05509     200, // Number of items
05510     // Size of items (sorted)
05511     100,100,100,100,100,99,99,99,97,97,97,96,96,96,95,95,95,94,93,
05512     93,93,93,93,93,92,92,92,90,90,90,90,90,90,89,89,89,88,88,88,88,
05513     87,87,86,86,85,84,83,83,83,82,82,82,82,81,81,80,80,80,80,79,79,
05514     78,78,78,77,77,77,77,77,76,75,75,74,74,73,72,71,70,69,69,68,67,
05515     67,67,67,67,66,66,66,65,65,65,65,64,64,64,63,63,61,61,61,61,60,
05516     60,59,59,59,59,58,57,57,57,57,56,56,55,55,55,55,54,54,54,54,53,
05517     53,53,52,52,52,51,51,51,51,51,50,50,50,50,50,49,49,49,48,48,47,
05518     47,47,47,47,45,45,44,44,44,43,43,42,42,42,41,41,41,41,40,40,40,
05519     39,39,39,38,38,37,37,37,36,36,36,36,35,34,34,34,34,34,33,33,33,
05520     33,32,32,31,31,31,31,31,31,30,30,30,30
05521   };
05522   const int n3c2w4_p[] = {
05523     120, // Capacity
05524     200, // Number of items
05525     // Size of items (sorted)
05526     100,100,100,99,99,99,99,99,99,98,98,98,97,97,96,96,94,94,93,93,
05527     93,93,92,92,91,91,91,90,90,90,90,90,89,89,89,89,89,88,88,88,87,
05528     87,87,86,86,86,86,85,84,84,83,83,83,83,83,82,82,82,82,81,81,81,
05529     81,81,80,80,79,79,79,79,79,78,78,78,78,78,77,77,76,76,75,75,75,
05530     74,74,74,74,72,72,72,71,71,71,70,70,70,70,69,68,67,67,67,67,67,
05531     66,66,66,66,65,65,64,63,63,62,61,60,60,60,60,59,59,59,59,58,58,
05532     58,58,57,56,56,56,55,55,55,54,54,53,53,52,52,52,52,52,51,51,51,
05533     51,50,49,49,49,48,47,46,46,46,45,44,44,43,42,42,41,40,40,40,40,
05534     40,39,39,39,39,38,38,38,38,37,37,37,37,37,37,36,36,35,35,35,35,
05535     34,33,33,33,32,31,31,30,30,30,30,30
05536   };
05537   const int n3c2w4_q[] = {
05538     120, // Capacity
05539     200, // Number of items
05540     // Size of items (sorted)
05541     100,100,100,100,98,98,98,98,98,97,97,97,97,97,97,97,96,96,96,
05542     96,95,94,93,93,93,93,92,92,92,92,91,90,90,89,89,89,88,87,86,86,
05543     86,86,85,85,85,84,84,84,83,83,82,82,81,81,81,80,80,80,79,79,79,
05544     79,78,78,78,78,77,77,77,77,76,76,76,75,75,75,74,74,74,74,73,72,
05545     72,72,72,72,72,71,70,70,70,69,69,69,68,68,68,67,66,66,65,65,65,
05546     64,64,64,64,64,63,63,63,63,62,62,61,60,60,59,59,59,58,58,57,57,
05547     57,56,56,55,55,55,55,55,54,54,54,54,53,53,53,52,51,51,51,50,50,
05548     50,49,48,48,48,47,47,47,47,46,46,46,46,45,44,44,44,43,43,43,42,
05549     42,42,41,41,41,40,40,40,39,39,39,39,38,38,38,37,36,36,36,36,35,
05550     35,34,34,33,32,32,32,32,32,32,31,31,30
05551   };
05552   const int n3c2w4_r[] = {
05553     120, // Capacity
05554     200, // Number of items
05555     // Size of items (sorted)
05556     100,100,100,100,99,99,99,99,98,98,98,98,97,97,96,96,96,95,95,
05557     94,94,94,93,93,93,93,92,92,91,91,91,90,90,89,89,88,88,88,88,88,
05558     87,87,87,87,86,86,85,85,84,84,84,84,83,82,82,81,81,81,81,81,80,
05559     80,79,79,79,78,78,78,78,78,78,77,77,77,77,77,76,75,75,74,74,73,
05560     73,72,72,72,72,71,71,70,70,70,70,70,69,68,68,68,68,68,68,67,67,
05561     66,66,65,65,65,65,65,65,64,64,63,62,62,61,60,60,60,60,59,59,58,
05562     58,58,57,56,56,56,55,55,55,54,54,54,54,54,54,53,53,53,53,53,53,
05563     52,52,52,51,50,50,49,49,49,48,48,47,47,47,46,46,46,46,45,45,44,
05564     44,43,43,43,42,42,42,42,42,42,41,40,39,38,38,38,38,38,38,37,37,
05565     37,36,36,35,34,34,33,32,32,32,31,30,30
05566   };
05567   const int n3c2w4_s[] = {
05568     120, // Capacity
05569     200, // Number of items
05570     // Size of items (sorted)
05571     100,99,99,99,98,98,97,96,96,96,96,95,95,95,94,94,94,93,93,93,
05572     93,93,93,93,93,92,92,92,91,91,90,90,89,89,89,88,88,88,88,88,87,
05573     87,86,86,86,86,86,86,86,85,84,84,83,83,83,81,81,81,81,80,80,79,
05574     79,79,79,78,78,78,78,77,77,77,77,76,76,76,75,75,74,74,73,73,72,
05575     72,71,71,70,70,70,70,69,69,69,68,68,68,68,68,67,67,67,66,66,66,
05576     66,65,65,65,64,63,63,62,61,61,59,58,58,57,57,57,56,56,56,55,55,
05577     55,54,52,51,51,50,50,50,50,50,50,49,49,49,49,49,49,48,48,48,47,
05578     47,47,46,46,46,46,46,45,45,44,43,43,43,42,42,42,41,41,41,41,40,
05579     40,40,40,40,39,39,38,37,37,37,37,37,37,36,36,36,36,36,35,35,35,
05580     34,34,33,32,32,32,31,31,30,30,30,30
05581   };
05582   const int n3c2w4_t[] = {
05583     120, // Capacity
05584     200, // Number of items
05585     // Size of items (sorted)
05586     100,100,99,99,99,98,98,98,97,97,97,96,96,96,96,96,95,95,95,95,
05587     94,94,94,92,92,92,91,91,91,91,90,90,90,90,90,89,89,88,88,87,87,
05588     87,87,86,86,86,86,86,85,85,85,84,83,82,82,81,81,81,81,81,81,81,
05589     80,80,80,80,78,78,78,78,78,77,77,77,76,75,75,75,75,73,73,73,72,
05590     71,71,71,71,70,70,69,69,69,68,67,67,67,66,66,66,65,65,65,64,63,
05591     63,63,62,62,62,62,61,61,61,61,61,60,60,60,59,59,59,59,58,58,57,
05592     56,56,56,56,56,55,55,54,54,53,53,53,52,52,52,51,51,50,50,50,49,
05593     49,48,48,48,48,46,46,46,46,45,45,44,44,44,43,43,43,43,43,43,42,
05594     41,41,41,41,40,39,39,38,37,36,36,36,36,35,35,35,34,34,34,34,33,
05595     33,32,32,32,32,31,31,30,30,30,30,30
05596   };
05597   const int n3c3w1_a[] = {
05598     150, // Capacity
05599     200, // Number of items
05600     // Size of items (sorted)
05601     100,100,100,99,99,99,98,98,98,97,96,96,96,95,95,95,94,93,92,91,
05602     91,91,90,90,90,89,87,87,86,86,86,84,84,83,83,82,82,82,80,80,80,
05603     79,78,77,77,77,77,77,75,74,73,73,73,73,72,71,71,71,70,69,68,68,
05604     68,68,67,65,65,65,65,65,65,64,63,63,62,62,62,61,60,59,58,58,57,
05605     57,54,54,53,53,52,52,52,52,51,51,50,50,49,49,49,48,48,47,46,45,
05606     44,44,44,43,42,42,41,40,39,39,39,39,39,38,37,37,37,37,37,37,37,
05607     37,36,36,35,35,35,35,34,34,33,33,32,32,31,31,29,29,29,28,27,26,
05608     26,25,25,24,23,21,21,21,20,20,18,18,17,17,17,16,16,16,16,15,15,
05609     14,13,13,13,13,13,13,13,12,11,9,8,8,7,6,6,6,5,5,5,5,4,4,4,4,4,
05610     3,3,2,2,2,1,1
05611   };
05612   const int n3c3w1_b[] = {
05613     150, // Capacity
05614     200, // Number of items
05615     // Size of items (sorted)
05616     100,99,99,98,98,98,98,98,98,98,96,95,91,91,90,90,90,90,90,89,
05617     88,88,87,87,87,85,85,85,84,84,83,83,82,81,81,81,81,80,80,80,80,
05618     80,79,79,79,79,78,77,77,76,75,74,74,73,73,73,73,73,72,71,71,71,
05619     70,70,70,69,69,69,69,69,68,68,68,67,67,66,65,65,64,64,64,63,63,
05620     63,62,61,61,61,61,61,59,59,59,58,58,58,58,57,56,56,56,55,55,55,
05621     55,54,54,53,53,52,52,51,51,50,50,50,50,49,49,48,48,48,46,46,46,
05622     46,43,42,42,42,40,39,39,39,39,39,38,36,36,36,35,35,34,34,33,32,
05623     31,31,29,27,26,26,26,25,25,24,24,24,23,22,22,21,21,20,20,19,19,
05624     18,18,17,17,17,17,17,15,15,14,14,14,13,13,12,12,12,12,12,10,10,
05625     10,10,10,10,10,9,8,5,4,4,4,1
05626   };
05627   const int n3c3w1_c[] = {
05628     150, // Capacity
05629     200, // Number of items
05630     // Size of items (sorted)
05631     100,100,100,100,99,99,98,98,97,96,96,95,95,94,94,94,93,91,90,
05632     90,89,89,89,89,88,88,88,88,88,88,87,85,85,84,84,84,83,83,82,82,
05633     81,80,80,78,78,78,78,78,78,78,77,77,77,76,76,76,75,75,74,74,74,
05634     74,74,73,73,72,70,67,67,67,66,66,66,66,66,65,65,65,63,63,63,62,
05635     62,61,61,61,61,61,60,60,59,58,57,56,54,54,54,53,52,52,51,50,50,
05636     49,48,48,48,47,47,47,47,46,46,46,45,45,45,42,42,39,39,39,38,38,
05637     37,37,37,36,36,35,34,34,34,33,33,31,31,31,31,31,29,28,28,27,27,
05638     26,26,26,26,26,26,25,25,25,24,23,22,22,22,21,21,21,21,20,20,19,
05639     16,16,16,15,15,15,14,14,13,13,12,12,12,11,10,10,10,9,9,9,8,7,
05640     7,6,6,6,5,5,5,3,3,3,2,1
05641   };
05642   const int n3c3w1_d[] = {
05643     150, // Capacity
05644     200, // Number of items
05645     // Size of items (sorted)
05646     100,100,100,100,99,99,99,98,97,97,96,96,96,95,95,95,94,94,93,
05647     92,92,92,91,91,90,89,87,87,86,86,86,86,86,85,84,84,83,83,81,80,
05648     80,79,78,78,77,76,76,76,73,72,72,71,70,70,67,67,67,66,66,65,63,
05649     63,62,62,61,60,60,59,58,57,56,56,56,55,55,55,55,54,54,54,53,53,
05650     53,52,52,51,51,50,50,50,49,48,48,47,46,46,44,44,44,44,44,43,41,
05651     41,40,40,40,39,39,39,39,36,36,36,36,36,35,35,35,35,33,33,33,32,
05652     32,32,32,31,30,30,29,29,29,29,28,28,26,26,26,25,25,25,25,25,24,
05653     23,23,22,22,22,22,21,21,21,21,21,20,20,20,20,20,19,18,17,17,17,
05654     17,15,15,15,14,13,13,12,12,12,12,11,10,10,9,9,9,8,8,8,7,7,6,6,
05655     5,4,4,4,3,3,3,2,1,1
05656   };
05657   const int n3c3w1_e[] = {
05658     150, // Capacity
05659     200, // Number of items
05660     // Size of items (sorted)
05661     100,100,100,99,99,99,98,98,98,98,97,97,97,97,95,95,94,94,93,93,
05662     92,92,91,91,90,90,90,90,89,89,89,89,88,88,87,86,85,84,84,84,84,
05663     83,83,82,82,82,82,81,80,79,78,78,77,76,76,75,74,74,74,73,72,71,
05664     71,70,70,70,70,70,70,69,69,68,68,68,67,66,65,64,64,63,63,62,62,
05665     61,60,59,57,57,57,56,55,55,55,55,54,54,53,53,52,52,52,52,50,48,
05666     48,48,47,47,46,46,45,45,44,44,43,43,43,42,42,42,42,41,41,40,40,
05667     39,39,36,35,34,33,32,32,31,30,29,29,28,28,27,27,24,24,24,24,23,
05668     23,23,23,23,23,21,21,20,20,19,19,18,17,17,17,16,16,15,15,15,15,
05669     14,14,13,13,13,12,12,12,12,11,11,11,10,10,9,9,8,8,8,8,7,7,7,6,
05670     5,4,4,3,3,1,1,1,1
05671   };
05672   const int n3c3w1_f[] = {
05673     150, // Capacity
05674     200, // Number of items
05675     // Size of items (sorted)
05676     100,100,100,99,99,98,98,98,98,96,96,95,95,93,92,92,92,91,89,89,
05677     88,88,88,87,87,87,87,86,86,86,85,85,84,83,83,82,80,80,80,79,79,
05678     78,78,77,76,76,75,75,74,74,73,73,73,72,71,70,70,70,69,69,69,69,
05679     68,68,66,66,66,66,65,64,64,64,64,64,64,63,63,63,62,62,61,60,60,
05680     59,58,58,58,58,58,58,57,57,55,55,55,53,52,52,52,51,51,50,50,50,
05681     49,49,49,49,49,48,48,46,46,45,45,45,44,43,42,42,42,41,41,40,40,
05682     40,39,39,39,37,37,37,36,36,36,36,35,35,35,33,33,33,33,32,32,31,
05683     31,31,31,30,29,29,29,29,28,27,27,27,26,26,24,22,22,22,21,21,20,
05684     19,18,17,17,16,16,15,14,14,13,12,11,11,11,11,10,9,8,7,7,7,7,7,
05685     6,6,5,4,4,4,3,3,2,1
05686   };
05687   const int n3c3w1_g[] = {
05688     150, // Capacity
05689     200, // Number of items
05690     // Size of items (sorted)
05691     100,100,97,97,97,96,96,96,96,95,95,95,95,95,94,94,92,92,91,91,
05692     90,89,87,86,86,86,86,85,84,84,84,84,83,83,81,81,81,80,78,77,77,
05693     76,75,75,74,74,73,73,73,72,71,71,71,70,70,69,68,66,65,65,64,64,
05694     64,64,63,63,63,62,61,61,61,60,60,60,60,59,58,58,58,58,58,58,57,
05695     57,55,55,55,54,54,53,52,52,51,51,51,51,51,51,50,49,49,49,48,47,
05696     46,46,45,45,44,44,44,43,43,43,41,41,40,40,40,39,37,36,36,35,35,
05697     35,35,34,34,34,33,32,31,31,30,30,30,29,29,28,28,27,27,27,27,25,
05698     25,24,23,22,22,21,21,21,21,21,21,21,20,19,18,17,17,16,16,15,15,
05699     14,14,13,13,13,13,13,12,11,10,9,9,8,8,6,6,5,5,5,5,4,4,4,3,3,3,
05700     2,2,2,1,1,1,1
05701   };
05702   const int n3c3w1_h[] = {
05703     150, // Capacity
05704     200, // Number of items
05705     // Size of items (sorted)
05706     100,100,99,99,98,98,97,96,96,96,96,96,96,95,94,94,94,93,92,91,
05707     91,90,89,89,89,88,87,86,86,86,86,85,85,85,84,84,84,84,84,84,83,
05708     82,82,81,80,78,78,77,77,77,77,77,76,76,75,75,74,74,74,74,70,70,
05709     70,69,69,69,68,68,68,68,67,66,66,66,65,65,65,64,64,64,64,64,63,
05710     63,62,62,60,58,57,56,56,56,56,56,56,55,55,55,55,55,53,53,51,51,
05711     51,50,50,49,47,47,47,44,43,43,43,42,42,40,40,38,38,38,37,37,37,
05712     36,36,35,34,34,34,33,33,33,33,32,32,30,30,29,28,28,27,27,26,26,
05713     26,25,25,25,25,25,24,24,23,23,22,22,21,21,21,19,19,19,18,17,17,
05714     16,16,15,14,14,14,13,13,13,13,12,11,11,10,10,9,9,9,8,8,8,7,7,
05715     7,6,4,4,4,4,3,2,1,1
05716   };
05717   const int n3c3w1_i[] = {
05718     150, // Capacity
05719     200, // Number of items
05720     // Size of items (sorted)
05721     100,100,100,100,100,99,99,99,98,97,96,94,93,93,93,92,92,91,90,
05722     89,89,88,88,88,88,88,88,88,86,86,86,86,86,85,85,84,84,84,83,83,
05723     83,83,83,83,82,82,81,79,79,76,76,76,76,75,75,75,75,75,75,74,74,
05724     73,72,71,71,71,68,68,67,67,67,66,66,66,65,65,64,64,63,63,63,62,
05725     62,62,61,60,60,60,58,58,57,57,56,56,55,55,55,54,54,54,54,53,51,
05726     50,50,49,48,48,47,47,47,46,46,45,45,44,43,43,41,40,40,39,39,39,
05727     37,37,37,36,34,33,32,31,31,31,31,30,30,29,29,29,29,29,28,27,24,
05728     24,23,23,23,23,23,22,22,21,21,20,19,19,18,18,17,17,17,17,16,16,
05729     16,15,15,15,15,15,14,14,14,13,12,12,12,12,11,11,11,10,8,8,7,6,
05730     6,5,5,5,5,5,4,4,4,3,2,1
05731   };
05732   const int n3c3w1_j[] = {
05733     150, // Capacity
05734     200, // Number of items
05735     // Size of items (sorted)
05736     99,99,99,98,98,98,96,95,95,94,94,94,93,93,92,92,92,91,91,90,88,
05737     86,86,85,85,84,84,84,83,82,82,82,81,81,81,80,80,79,79,79,78,78,
05738     78,77,77,77,76,74,74,73,73,72,71,71,71,71,70,70,68,68,68,67,66,
05739     66,66,66,66,65,64,63,63,63,62,61,60,60,59,58,58,58,57,57,57,57,
05740     56,55,54,53,53,51,51,51,51,50,50,50,49,47,47,47,46,46,45,45,45,
05741     45,45,44,43,43,42,42,41,41,40,40,39,39,37,37,36,36,35,35,34,34,
05742     34,34,34,33,32,32,32,31,31,29,28,27,27,26,26,26,25,25,25,25,25,
05743     25,25,25,22,22,22,21,21,21,21,21,21,19,19,19,18,17,17,17,17,17,
05744     17,16,16,15,14,14,14,13,13,12,11,10,10,10,10,9,8,7,6,5,4,4,4,
05745     4,3,3,3,3,3,3,2,2
05746   };
05747   const int n3c3w1_k[] = {
05748     150, // Capacity
05749     200, // Number of items
05750     // Size of items (sorted)
05751     100,99,99,99,99,98,98,98,97,96,95,94,93,93,93,92,91,91,91,91,
05752     91,90,90,88,88,88,87,87,87,86,86,85,85,84,84,84,83,83,82,81,81,
05753     81,81,77,77,76,76,75,74,74,74,73,73,72,72,71,71,70,69,69,69,69,
05754     68,68,66,66,65,64,63,63,63,62,61,61,59,59,59,58,58,57,57,57,57,
05755     55,55,53,53,52,52,49,49,49,48,48,47,47,46,46,46,46,45,45,44,43,
05756     43,43,41,40,40,40,39,39,38,38,38,37,37,35,35,35,34,34,33,33,32,
05757     31,31,29,29,28,28,27,26,25,25,24,24,24,23,23,23,23,23,23,22,22,
05758     22,21,20,19,19,19,18,18,18,18,18,17,15,15,14,13,13,13,12,11,10,
05759     9,9,8,8,8,8,8,8,7,7,6,6,6,5,5,5,5,4,4,4,4,4,4,4,4,4,3,3,2,1,1,
05760     1,1
05761   };
05762   const int n3c3w1_l[] = {
05763     150, // Capacity
05764     200, // Number of items
05765     // Size of items (sorted)
05766     100,100,100,99,97,97,96,95,95,95,94,92,91,91,91,91,90,90,89,89,
05767     89,88,88,87,87,87,86,86,86,85,85,85,85,85,84,84,83,83,81,81,81,
05768     80,80,80,79,79,79,78,78,77,77,77,77,76,75,74,74,74,72,72,71,71,
05769     70,69,68,68,67,65,64,64,63,63,63,62,62,62,62,61,61,60,60,60,60,
05770     60,60,59,59,59,59,58,58,57,56,55,55,55,55,54,53,53,52,52,52,51,
05771     51,51,51,50,50,49,49,48,45,45,43,42,42,41,40,40,39,39,38,38,37,
05772     36,36,35,35,34,34,34,33,33,32,31,31,31,31,30,29,29,29,29,29,28,
05773     28,28,27,26,26,25,25,24,24,24,22,22,21,20,19,19,19,19,18,18,18,
05774     15,15,15,14,14,13,13,12,12,11,10,10,9,9,8,8,8,7,7,7,6,6,6,5,5,
05775     5,4,3,3,2,1,1,1
05776   };
05777   const int n3c3w1_m[] = {
05778     150, // Capacity
05779     200, // Number of items
05780     // Size of items (sorted)
05781     100,99,99,99,98,97,97,96,96,95,94,93,93,93,92,92,92,92,92,92,
05782     91,91,91,91,90,90,89,89,89,89,86,86,86,85,85,84,83,83,83,82,82,
05783     82,81,81,80,80,80,79,78,77,77,77,77,76,76,76,76,75,75,73,72,72,
05784     71,70,70,70,70,68,68,68,68,68,67,65,65,64,64,62,62,61,60,60,59,
05785     59,59,59,59,58,58,57,57,56,56,56,56,55,54,53,53,53,53,52,52,52,
05786     51,51,51,50,50,50,50,49,49,49,49,49,49,48,48,48,47,46,46,46,45,
05787     44,43,42,42,42,41,39,37,37,36,36,35,35,35,34,34,33,33,32,32,31,
05788     31,31,30,29,29,29,29,28,28,27,26,25,25,25,25,24,23,23,23,23,23,
05789     22,22,22,21,18,18,18,17,16,16,16,15,14,14,13,13,12,11,11,11,11,
05790     9,8,8,5,4,4,3,2,2,2,1,1
05791   };
05792   const int n3c3w1_n[] = {
05793     150, // Capacity
05794     200, // Number of items
05795     // Size of items (sorted)
05796     100,99,99,98,98,97,97,96,95,95,95,95,94,94,93,92,92,92,92,91,
05797     90,88,87,87,87,87,87,87,87,86,86,85,85,84,84,84,82,82,82,82,81,
05798     81,81,81,80,80,80,80,79,79,78,78,77,76,75,75,75,75,73,72,72,71,
05799     71,71,70,70,70,69,69,68,67,66,66,66,65,64,63,62,62,62,61,61,61,
05800     60,59,59,57,57,56,56,55,55,53,53,52,51,51,51,51,50,50,49,49,49,
05801     49,48,47,47,47,47,47,47,47,46,46,46,45,45,45,45,45,43,43,43,43,
05802     42,41,40,38,38,38,38,36,36,36,35,35,34,34,33,33,32,32,31,30,30,
05803     28,28,28,27,27,27,26,26,25,25,22,21,20,19,19,18,17,17,17,17,16,
05804     14,14,14,13,13,13,12,12,11,11,11,10,10,9,8,7,6,6,4,4,4,4,4,4,
05805     3,3,3,3,3,1,1,1,1
05806   };
05807   const int n3c3w1_o[] = {
05808     150, // Capacity
05809     200, // Number of items
05810     // Size of items (sorted)
05811     100,100,99,98,98,97,97,96,96,96,95,95,94,92,92,91,91,91,91,91,
05812     91,90,90,90,89,89,88,88,87,87,86,85,82,81,81,81,81,80,80,80,80,
05813     79,79,78,78,78,78,77,77,77,77,76,75,74,74,74,74,74,73,73,73,73,
05814     73,71,70,70,70,69,69,69,69,68,68,67,66,64,64,64,63,61,59,58,58,
05815     57,57,55,54,54,52,52,52,52,52,51,50,50,48,48,47,47,47,46,45,45,
05816     45,44,43,43,43,42,41,40,40,39,39,38,38,38,38,36,36,34,34,34,33,
05817     33,32,32,32,32,31,31,31,30,30,30,28,28,26,26,26,26,26,26,25,25,
05818     25,25,24,24,23,23,23,20,20,20,20,20,18,17,16,16,16,16,15,15,14,
05819     13,13,12,12,12,11,11,11,10,10,10,9,9,8,8,6,5,5,4,4,4,4,4,3,3,
05820     3,2,2,2,1,1,1,1
05821   };
05822   const int n3c3w1_p[] = {
05823     150, // Capacity
05824     200, // Number of items
05825     // Size of items (sorted)
05826     100,100,100,100,100,99,99,98,98,97,97,96,96,96,95,95,94,94,94,
05827     94,93,92,91,91,90,90,90,90,90,90,89,89,88,87,85,85,85,83,83,83,
05828     82,82,82,81,81,81,80,80,79,79,79,78,78,77,77,77,76,76,76,75,75,
05829     75,73,73,72,72,72,71,71,70,70,70,69,68,67,67,67,67,67,66,66,65,
05830     65,64,64,64,63,62,62,61,61,61,61,60,60,60,58,58,58,56,55,54,54,
05831     53,53,53,53,51,51,49,49,49,48,48,48,47,46,46,45,44,44,42,42,42,
05832     42,42,41,41,41,41,41,40,40,39,38,38,37,36,36,34,34,34,34,33,32,
05833     32,32,31,31,31,29,29,28,27,26,26,25,25,24,23,22,21,21,21,21,20,
05834     19,19,18,17,17,16,16,15,15,14,13,13,13,12,11,11,11,10,10,9,9,
05835     8,8,8,7,7,6,5,5,4,3,3,2,1
05836   };
05837   const int n3c3w1_q[] = {
05838     150, // Capacity
05839     200, // Number of items
05840     // Size of items (sorted)
05841     100,98,98,97,97,97,97,97,96,96,96,96,94,94,94,93,93,92,91,91,
05842     90,90,90,89,89,89,88,87,87,86,86,85,85,83,83,83,83,82,82,82,81,
05843     80,79,79,78,78,78,78,77,77,77,77,77,77,76,75,74,74,73,72,72,72,
05844     71,70,70,69,69,69,67,67,66,66,66,66,66,66,66,66,64,63,62,62,62,
05845     61,61,61,60,60,60,59,59,59,58,58,57,56,56,56,55,54,54,54,54,54,
05846     54,54,53,53,53,53,53,51,51,51,50,50,50,50,49,49,48,47,46,46,45,
05847     45,45,44,44,44,43,43,42,41,41,40,40,40,39,39,39,38,38,37,37,37,
05848     36,36,36,36,36,34,34,34,34,33,30,29,29,28,28,27,27,27,25,25,25,
05849     25,24,24,23,22,22,22,22,19,18,18,16,16,15,14,13,13,13,11,11,10,
05850     10,8,7,5,5,5,4,4,2,1,1,1
05851   };
05852   const int n3c3w1_r[] = {
05853     150, // Capacity
05854     200, // Number of items
05855     // Size of items (sorted)
05856     100,100,99,99,99,99,99,98,97,97,97,96,96,96,94,94,94,94,93,92,
05857     91,91,91,90,90,90,89,88,88,87,87,86,86,86,86,86,85,84,82,81,81,
05858     78,78,78,77,77,77,76,76,74,74,74,73,72,72,71,70,69,69,69,68,68,
05859     68,68,68,67,66,66,66,65,64,64,64,64,63,61,60,60,59,58,57,57,55,
05860     55,55,54,54,52,52,52,51,51,50,49,48,48,47,47,47,46,46,46,46,43,
05861     43,43,43,43,42,42,42,41,41,41,40,40,40,40,40,39,39,39,39,38,38,
05862     38,37,37,37,37,36,36,35,34,33,33,32,31,31,31,31,30,29,29,29,28,
05863     28,28,25,25,23,23,22,22,22,20,20,20,19,19,19,17,17,16,16,16,15,
05864     14,13,13,12,12,11,10,10,9,9,9,9,8,8,8,8,8,7,7,6,6,6,6,5,5,5,4,
05865     4,3,2,2,1,1
05866   };
05867   const int n3c3w1_s[] = {
05868     150, // Capacity
05869     200, // Number of items
05870     // Size of items (sorted)
05871     99,99,97,96,96,95,95,95,95,94,94,94,93,93,93,93,93,92,92,91,91,
05872     90,90,90,89,89,89,87,86,86,86,86,85,84,84,84,84,83,83,83,78,78,
05873     75,75,75,75,74,74,71,71,70,70,70,70,69,69,69,69,69,69,68,67,67,
05874     67,67,67,65,65,65,64,64,63,62,62,62,61,61,60,59,59,59,59,58,57,
05875     57,57,57,56,56,56,55,55,54,54,54,54,54,54,54,53,53,51,50,49,49,
05876     49,49,49,48,47,47,47,44,43,42,41,40,40,40,40,39,39,38,38,38,38,
05877     38,37,37,36,36,35,35,33,33,33,33,32,32,32,31,31,30,30,30,30,29,
05878     29,28,28,28,28,27,27,27,27,26,26,25,25,25,24,24,24,24,23,23,22,
05879     20,17,17,17,17,16,16,16,14,13,12,12,11,11,10,9,9,8,7,7,6,6,6,
05880     5,4,4,2,2,2,2,1,1
05881   };
05882   const int n3c3w1_t[] = {
05883     150, // Capacity
05884     200, // Number of items
05885     // Size of items (sorted)
05886     100,99,98,98,98,98,98,98,97,97,97,96,95,94,94,94,94,94,92,91,
05887     91,91,90,89,88,88,88,87,87,86,86,86,86,85,85,85,84,84,83,83,83,
05888     82,82,80,80,80,80,80,79,79,78,77,77,76,75,74,74,73,73,72,71,71,
05889     70,69,69,69,68,68,67,67,67,67,66,66,66,65,63,63,63,62,61,61,61,
05890     61,61,60,59,59,58,57,57,56,56,56,56,55,55,53,53,52,52,50,50,49,
05891     49,47,47,47,46,46,46,46,45,44,44,43,42,42,42,41,41,41,41,40,40,
05892     40,39,39,37,37,37,37,37,36,36,35,35,35,35,34,33,33,33,32,32,31,
05893     31,30,30,29,27,25,25,23,23,22,22,22,21,21,20,20,19,19,19,19,19,
05894     18,18,18,17,17,16,16,14,14,14,13,12,12,11,10,10,9,9,8,7,7,6,5,
05895     5,5,4,4,4,2,2,2,1,1
05896   };
05897   const int n3c3w2_a[] = {
05898     150, // Capacity
05899     200, // Number of items
05900     // Size of items (sorted)
05901     100,100,100,100,99,99,99,98,98,98,97,97,97,97,97,97,96,96,96,
05902     95,94,94,93,93,93,93,93,92,92,91,91,90,89,89,88,88,88,87,87,87,
05903     86,86,86,85,85,85,84,84,84,83,82,81,81,80,80,79,79,79,79,79,78,
05904     76,76,76,76,75,75,75,75,75,75,74,73,73,73,73,72,72,72,72,72,71,
05905     71,70,70,70,70,69,68,68,68,67,67,65,65,65,64,64,64,64,63,63,63,
05906     63,62,62,62,62,61,60,60,59,59,59,58,58,58,58,56,56,56,56,56,56,
05907     56,56,55,53,52,52,51,51,50,50,50,49,49,49,48,48,47,47,46,46,45,
05908     45,44,44,44,43,43,43,42,42,42,41,41,40,40,39,37,37,37,37,36,36,
05909     35,35,35,34,34,31,30,29,29,29,29,29,28,28,28,28,27,27,26,26,25,
05910     25,25,24,24,23,22,21,21,21,21,21,20,20
05911   };
05912   const int n3c3w2_b[] = {
05913     150, // Capacity
05914     200, // Number of items
05915     // Size of items (sorted)
05916     100,100,100,100,99,99,99,99,98,98,97,97,95,95,95,94,93,92,92,
05917     91,91,90,90,89,89,89,89,89,89,88,87,87,86,86,86,86,85,84,83,83,
05918     82,82,82,81,81,81,81,81,80,80,80,79,79,79,78,77,77,76,76,75,74,
05919     74,73,73,73,73,73,72,72,70,70,70,70,70,69,68,68,68,68,68,67,66,
05920     66,66,66,66,66,65,65,65,65,65,64,64,64,64,63,63,62,62,61,59,59,
05921     59,59,58,58,56,56,56,56,56,55,55,55,55,54,54,54,54,54,54,53,53,
05922     53,53,53,52,51,51,51,50,49,49,49,49,48,48,48,47,47,47,46,46,46,
05923     46,46,45,45,44,44,44,42,42,42,41,39,38,38,38,37,37,36,36,36,36,
05924     35,34,34,33,33,32,32,32,31,31,31,30,30,29,29,29,29,28,28,27,26,
05925     25,23,23,23,22,22,22,22,22,21,21,21,21
05926   };
05927   const int n3c3w2_c[] = {
05928     150, // Capacity
05929     200, // Number of items
05930     // Size of items (sorted)
05931     100,100,100,99,98,98,97,96,96,96,96,96,96,95,95,94,94,94,94,93,
05932     93,93,93,93,93,92,92,92,90,89,89,89,89,87,87,86,86,86,86,85,85,
05933     84,84,84,84,83,83,83,83,83,81,81,81,80,80,79,79,79,79,78,78,77,
05934     77,77,76,76,76,74,74,74,74,73,73,73,73,73,72,70,70,69,69,69,69,
05935     68,67,66,66,66,66,65,65,65,64,64,63,62,62,61,61,60,60,60,58,58,
05936     57,57,57,57,56,56,55,55,55,55,55,54,54,54,54,54,53,53,53,53,52,
05937     51,51,51,50,50,50,50,50,49,49,48,48,46,46,45,44,44,44,43,43,43,
05938     40,40,40,40,40,39,39,38,38,37,37,37,37,37,36,35,35,34,34,33,33,
05939     33,33,32,32,32,32,31,31,30,29,29,29,29,29,28,28,27,27,27,27,26,
05940     26,26,25,24,23,22,22,22,21,21,21,20
05941   };
05942   const int n3c3w2_d[] = {
05943     150, // Capacity
05944     200, // Number of items
05945     // Size of items (sorted)
05946     100,99,99,98,98,98,96,95,95,94,94,94,93,93,92,92,89,89,89,89,
05947     88,88,88,88,87,87,87,87,86,86,86,85,84,84,83,83,83,83,83,82,81,
05948     80,80,80,79,79,79,78,78,77,77,77,77,77,77,75,74,74,74,73,73,72,
05949     72,71,71,71,71,71,71,70,69,68,68,67,66,66,66,65,65,65,65,65,64,
05950     64,64,64,62,62,62,62,61,61,61,60,60,60,59,59,59,59,58,58,58,58,
05951     57,57,57,57,56,56,56,55,54,54,54,54,54,53,53,53,53,52,51,50,50,
05952     50,49,48,48,48,48,48,48,47,47,45,45,45,44,44,43,43,43,43,43,42,
05953     42,41,41,41,40,40,40,40,40,39,39,38,38,38,37,37,36,36,36,35,35,
05954     34,34,33,33,32,32,31,31,31,30,29,29,28,27,26,25,25,25,24,24,24,
05955     24,24,23,22,22,22,21,21,21,20,20,20
05956   };
05957   const int n3c3w2_e[] = {
05958     150, // Capacity
05959     200, // Number of items
05960     // Size of items (sorted)
05961     100,99,97,97,96,96,96,95,95,95,95,94,94,93,93,93,93,92,92,91,
05962     90,90,90,90,90,90,90,90,89,89,88,88,88,87,86,86,86,84,84,84,84,
05963     83,83,81,81,80,80,80,78,78,78,77,77,77,76,75,75,75,74,73,73,73,
05964     72,71,71,71,70,70,70,69,69,69,68,67,67,67,66,66,65,64,64,63,63,
05965     63,62,62,62,62,62,62,61,61,61,60,60,60,59,59,59,58,58,58,58,57,
05966     57,57,56,55,55,55,55,53,53,53,52,51,51,51,51,50,50,50,49,49,49,
05967     49,48,47,46,46,45,45,45,44,44,44,44,43,43,43,43,43,42,41,41,41,
05968     40,40,40,40,40,39,39,39,39,39,38,37,37,36,36,35,34,34,34,34,33,
05969     33,32,32,32,31,31,31,31,30,30,30,29,28,27,27,26,25,25,25,24,24,
05970     24,23,23,23,22,22,22,22,21,21,21,20
05971   };
05972   const int n3c3w2_f[] = {
05973     150, // Capacity
05974     200, // Number of items
05975     // Size of items (sorted)
05976     100,100,100,100,99,99,98,98,97,97,97,96,95,95,95,95,95,94,94,
05977     94,94,93,93,93,93,92,90,89,89,89,89,88,88,88,87,87,87,86,85,85,
05978     85,84,84,84,83,83,82,82,82,82,82,81,81,80,80,80,79,79,79,79,78,
05979     78,78,76,75,75,74,74,74,73,72,72,72,72,72,72,71,70,70,70,69,68,
05980     68,68,66,65,65,64,64,64,62,61,61,60,59,59,58,58,57,57,57,56,56,
05981     55,55,55,55,54,54,54,53,53,52,52,52,52,51,51,51,50,50,50,50,50,
05982     49,49,48,48,47,47,46,46,46,46,45,45,44,44,44,44,44,44,44,43,43,
05983     43,43,43,43,43,42,42,42,41,41,41,41,40,40,39,39,38,38,38,37,37,
05984     36,36,35,35,35,35,34,34,34,33,31,31,31,30,30,30,30,30,29,28,27,
05985     26,26,25,25,24,24,22,22,21,20,20,20,20
05986   };
05987   const int n3c3w2_g[] = {
05988     150, // Capacity
05989     200, // Number of items
05990     // Size of items (sorted)
05991     100,100,100,100,100,100,99,99,98,98,98,97,97,96,96,95,94,93,93,
05992     93,92,91,90,90,90,89,89,88,88,88,88,88,87,87,87,87,86,86,85,85,
05993     85,84,84,84,84,84,83,83,83,82,81,81,80,80,79,78,77,77,77,77,76,
05994     76,75,75,75,75,74,74,74,73,73,73,73,72,71,70,70,70,70,69,68,68,
05995     68,68,68,67,67,67,67,66,66,65,65,65,64,63,63,63,63,63,63,62,62,
05996     62,60,60,59,59,59,58,57,56,55,55,54,53,53,52,51,50,50,50,50,49,
05997     48,48,48,48,48,47,47,47,47,46,46,45,44,44,43,43,43,43,43,43,42,
05998     42,41,41,39,39,38,38,37,37,37,36,36,36,35,34,34,34,34,33,33,32,
05999     31,31,31,31,30,30,30,30,30,29,28,27,27,26,26,26,25,25,25,25,25,
06000     25,24,24,24,23,23,22,21,21,21,20,20,20
06001   };
06002   const int n3c3w2_h[] = {
06003     150, // Capacity
06004     200, // Number of items
06005     // Size of items (sorted)
06006     100,100,100,100,100,99,99,99,99,99,98,98,97,97,97,96,94,94,94,
06007     94,94,94,94,93,93,91,91,91,90,89,89,89,88,88,87,87,87,86,86,86,
06008     86,86,86,86,85,85,85,85,84,84,83,83,82,82,81,81,81,80,80,79,79,
06009     78,78,77,77,76,75,75,75,74,74,74,74,74,73,73,72,71,71,70,69,68,
06010     68,67,67,66,66,66,66,65,65,65,65,65,64,63,63,63,63,63,61,61,61,
06011     60,60,60,60,59,59,58,58,58,57,57,56,56,56,55,54,54,53,53,52,52,
06012     52,51,50,50,48,48,47,46,46,44,44,44,44,44,43,43,43,43,42,41,41,
06013     41,40,40,40,40,39,39,39,39,38,38,38,38,38,38,38,37,37,36,36,36,
06014     35,35,34,34,33,32,32,32,32,31,31,30,30,30,29,28,27,27,26,26,26,
06015     26,25,25,25,24,23,22,22,22,21,21,20,20
06016   };
06017   const int n3c3w2_i[] = {
06018     150, // Capacity
06019     200, // Number of items
06020     // Size of items (sorted)
06021     100,99,99,99,99,99,99,98,98,98,96,96,96,95,95,95,95,95,95,95,
06022     95,94,94,92,92,92,92,92,92,92,92,92,91,89,89,87,87,86,86,86,85,
06023     85,85,84,84,84,83,83,83,82,82,81,81,81,81,79,79,79,79,77,76,75,
06024     75,74,74,73,72,70,69,69,69,69,69,69,69,69,68,67,67,64,64,64,64,
06025     64,64,63,63,63,63,63,62,62,62,62,61,59,58,58,57,57,56,55,55,54,
06026     54,52,52,52,52,52,51,51,50,50,50,48,47,46,46,45,45,45,45,45,45,
06027     45,44,44,44,44,43,42,42,41,41,41,41,41,41,40,40,39,39,38,38,38,
06028     37,37,36,36,36,35,35,35,35,35,35,35,35,34,34,34,34,33,33,32,31,
06029     31,31,31,31,30,30,30,29,29,28,28,28,28,28,27,26,26,26,26,25,24,
06030     24,23,23,23,22,22,22,22,21,21,20,20
06031   };
06032   const int n3c3w2_j[] = {
06033     150, // Capacity
06034     200, // Number of items
06035     // Size of items (sorted)
06036     99,99,99,99,99,99,98,98,98,97,97,97,97,96,96,96,95,95,95,95,95,
06037     95,94,94,94,93,93,92,92,92,92,92,91,91,90,90,87,87,87,87,87,86,
06038     86,85,84,84,84,83,83,83,83,82,82,82,82,82,82,81,80,80,79,78,78,
06039     77,76,76,75,75,74,74,73,73,72,72,72,71,71,71,70,70,69,69,69,68,
06040     68,68,68,68,67,67,66,66,66,65,65,65,64,64,64,64,63,63,61,60,59,
06041     59,59,59,58,58,57,57,57,57,56,56,55,55,54,54,54,54,54,53,52,52,
06042     52,52,50,50,49,49,49,48,48,48,48,48,48,47,47,47,47,46,45,44,44,
06043     43,43,43,43,43,42,41,41,40,40,40,40,40,39,38,37,36,36,35,34,34,
06044     33,33,32,32,31,30,30,29,28,28,28,28,28,27,26,26,25,24,23,23,23,
06045     23,23,22,22,22,21,21,21,21,21,20
06046   };
06047   const int n3c3w2_k[] = {
06048     150, // Capacity
06049     200, // Number of items
06050     // Size of items (sorted)
06051     100,100,100,100,100,99,99,98,98,98,98,97,97,96,96,96,95,95,94,
06052     94,93,93,93,92,91,91,91,91,91,90,89,89,89,89,89,88,88,88,88,88,
06053     87,87,86,86,86,86,85,85,85,84,84,84,83,83,83,82,82,82,82,82,81,
06054     81,80,80,80,80,79,79,79,79,79,79,78,75,75,75,74,74,73,73,73,73,
06055     73,71,71,70,70,68,68,67,67,67,67,67,66,65,65,65,65,64,64,63,62,
06056     62,62,62,61,61,60,59,58,58,57,56,56,55,54,54,53,52,52,52,52,52,
06057     51,51,51,51,51,51,51,48,48,47,47,46,46,46,46,46,45,45,44,43,43,
06058     43,43,43,42,42,41,39,39,39,38,36,34,34,33,33,33,33,33,32,32,31,
06059     31,31,30,30,30,29,29,29,29,28,28,28,28,28,27,27,26,26,26,26,26,
06060     25,25,25,25,24,24,22,22,21,21,21,21,20
06061   };
06062   const int n3c3w2_l[] = {
06063     150, // Capacity
06064     200, // Number of items
06065     // Size of items (sorted)
06066     100,100,99,99,99,99,99,98,98,98,98,97,97,97,97,97,96,96,96,95,
06067     95,94,94,94,93,93,92,91,91,90,90,89,89,89,89,89,88,87,85,85,85,
06068     85,85,84,83,83,83,82,82,81,81,80,80,80,80,79,79,79,79,78,78,76,
06069     75,75,74,74,74,74,74,73,73,73,72,71,70,70,69,69,69,69,68,67,67,
06070     67,67,66,66,66,65,64,64,64,63,63,63,63,62,62,61,61,60,60,60,60,
06071     60,60,58,58,57,56,56,56,56,56,56,55,55,55,54,54,53,51,51,51,51,
06072     51,50,50,50,49,48,48,47,46,46,46,45,45,45,45,45,44,44,43,42,41,
06073     41,41,40,40,40,39,39,39,39,38,38,37,37,37,37,36,35,35,35,34,34,
06074     34,33,33,32,30,30,30,30,30,29,29,28,28,28,27,26,26,26,25,25,25,
06075     25,24,24,24,24,23,23,23,23,23,22,21
06076   };
06077   const int n3c3w2_m[] = {
06078     150, // Capacity
06079     200, // Number of items
06080     // Size of items (sorted)
06081     100,100,100,99,99,99,99,98,98,97,97,97,96,96,96,96,96,96,95,95,
06082     94,93,93,93,93,92,92,92,91,91,91,91,91,91,91,90,89,89,89,88,86,
06083     86,86,85,85,85,85,84,84,83,83,82,82,82,82,80,80,80,80,80,79,79,
06084     79,78,77,77,77,74,74,73,73,73,73,73,73,72,71,71,70,70,69,69,69,
06085     69,69,68,68,68,67,66,65,65,65,64,64,64,63,62,61,61,61,61,61,60,
06086     60,60,59,58,57,57,57,57,56,56,56,56,56,55,55,55,54,54,54,54,54,
06087     53,53,52,52,52,51,50,50,50,50,49,49,49,48,47,47,46,46,45,45,45,
06088     44,44,44,44,44,43,42,42,41,38,38,38,38,38,37,37,37,35,35,35,35,
06089     35,33,32,32,32,32,31,31,31,31,30,30,29,29,29,29,28,27,26,26,25,
06090     25,25,25,25,25,24,24,23,23,21,20,20
06091   };
06092   const int n3c3w2_n[] = {
06093     150, // Capacity
06094     200, // Number of items
06095     // Size of items (sorted)
06096     100,100,100,99,98,98,97,97,97,96,94,94,93,93,92,91,90,90,89,89,
06097     89,89,89,88,88,88,87,87,87,87,86,86,86,86,85,85,83,83,83,82,82,
06098     82,82,81,80,80,80,80,78,77,77,76,76,74,73,73,73,73,72,72,72,71,
06099     71,71,70,70,70,69,69,69,68,68,68,68,67,67,66,66,66,65,65,65,65,
06100     64,64,64,64,63,62,60,59,58,58,58,57,57,57,57,57,57,56,55,55,53,
06101     52,52,52,51,50,50,49,48,48,48,48,48,48,48,47,46,46,46,46,45,45,
06102     45,45,44,44,44,44,43,43,43,42,42,42,42,41,40,40,39,39,39,39,38,
06103     38,38,38,38,38,36,36,35,34,34,33,33,33,33,33,33,32,32,32,32,32,
06104     31,31,31,31,31,30,30,30,30,29,28,27,27,27,26,26,25,25,25,24,24,
06105     23,23,23,22,22,21,21,20,20,20,20,20
06106   };
06107   const int n3c3w2_o[] = {
06108     150, // Capacity
06109     200, // Number of items
06110     // Size of items (sorted)
06111     100,100,100,100,99,98,98,97,97,97,97,97,97,96,96,95,94,93,93,
06112     92,91,91,91,90,90,90,90,89,89,89,89,88,88,88,88,87,87,86,86,86,
06113     85,85,85,85,85,84,84,84,84,83,82,82,82,82,82,81,81,81,81,80,79,
06114     79,79,79,78,78,78,78,77,76,76,75,75,74,74,73,71,71,70,70,70,70,
06115     69,69,68,68,68,67,67,67,66,65,65,65,65,63,63,62,61,61,61,61,59,
06116     59,59,59,59,58,58,58,57,57,57,56,56,56,55,55,55,54,54,54,54,53,
06117     53,53,53,53,52,52,51,51,50,50,50,49,48,47,46,45,45,44,43,42,42,
06118     42,41,41,41,41,40,40,39,39,38,37,36,36,35,34,34,34,34,34,34,33,
06119     33,32,31,31,30,30,29,29,29,29,29,28,28,27,26,25,25,25,24,24,24,
06120     23,23,22,22,22,21,21,21,20,20,20,20,20
06121   };
06122   const int n3c3w2_p[] = {
06123     150, // Capacity
06124     200, // Number of items
06125     // Size of items (sorted)
06126     100,99,99,99,99,99,98,98,98,98,96,96,96,96,95,95,94,93,93,92,
06127     92,92,92,91,91,91,91,90,90,90,89,89,87,87,87,86,85,84,84,84,83,
06128     82,82,82,81,81,80,80,79,79,79,78,78,78,76,76,76,76,75,75,75,73,
06129     73,73,72,72,71,71,71,71,70,70,70,69,69,68,68,68,68,67,67,67,67,
06130     67,67,67,66,66,66,65,65,64,64,64,63,63,63,62,62,62,62,61,61,60,
06131     59,59,59,58,57,57,56,55,55,55,55,55,53,52,52,51,51,51,51,51,50,
06132     50,50,50,49,49,49,48,47,47,46,46,45,44,44,44,44,43,43,41,41,41,
06133     40,40,38,38,37,37,37,37,36,36,36,36,36,35,34,34,34,34,33,33,33,
06134     32,32,32,31,31,31,30,30,29,27,27,27,27,26,26,25,25,25,25,25,24,
06135     24,24,23,23,23,22,22,22,20,20,20,20
06136   };
06137   const int n3c3w2_q[] = {
06138     150, // Capacity
06139     200, // Number of items
06140     // Size of items (sorted)
06141     100,99,99,99,98,98,98,98,98,97,97,96,96,95,94,94,94,93,93,93,
06142     92,92,91,91,91,91,90,90,89,88,88,88,87,87,87,86,86,86,85,85,84,
06143     84,83,82,80,80,80,79,79,79,79,78,78,77,77,77,76,74,74,73,73,73,
06144     72,71,71,71,70,70,70,70,68,68,68,67,67,67,67,66,66,65,64,64,63,
06145     63,61,61,60,60,60,60,59,59,58,58,58,58,57,57,57,56,56,55,54,51,
06146     51,50,49,48,48,48,47,45,45,45,44,44,44,44,43,43,43,43,43,43,42,
06147     42,42,42,41,41,40,39,39,39,39,38,38,38,38,38,38,38,38,37,37,37,
06148     36,36,35,35,35,35,34,34,34,34,34,33,33,33,33,32,32,31,31,31,30,
06149     30,29,28,28,28,27,25,25,24,24,24,24,24,23,23,23,23,23,22,22,22,
06150     22,22,21,21,21,21,21,21,21,20,20,20
06151   };
06152   const int n3c3w2_r[] = {
06153     150, // Capacity
06154     200, // Number of items
06155     // Size of items (sorted)
06156     100,100,99,99,99,97,96,96,96,95,95,95,95,95,94,94,94,94,93,93,
06157     93,92,92,91,90,89,89,89,88,88,87,87,87,87,86,85,85,84,84,83,83,
06158     83,82,82,81,81,81,80,80,80,80,80,79,78,78,77,77,76,76,75,74,74,
06159     73,73,73,72,71,71,71,70,70,70,69,68,68,68,67,67,67,66,65,65,65,
06160     64,64,63,62,62,62,61,61,61,60,60,60,59,58,58,58,58,58,58,57,57,
06161     57,57,56,56,55,54,53,53,53,53,52,52,52,51,51,50,50,50,49,49,49,
06162     48,46,46,46,46,46,46,44,43,43,43,42,42,42,41,41,40,40,40,39,39,
06163     39,38,38,38,37,37,37,36,36,36,36,35,35,35,35,33,33,33,33,33,32,
06164     32,32,32,32,31,31,30,30,29,29,29,29,29,29,29,29,28,28,28,28,27,
06165     26,26,26,25,24,24,24,23,22,21,21,21
06166   };
06167   const int n3c3w2_s[] = {
06168     150, // Capacity
06169     200, // Number of items
06170     // Size of items (sorted)
06171     100,98,98,98,98,97,97,97,96,96,95,95,95,94,94,94,93,92,91,91,
06172     91,90,89,89,88,88,87,87,87,87,87,86,86,86,86,85,85,85,84,84,84,
06173     83,83,82,81,80,80,80,80,80,79,78,78,78,78,77,77,77,77,77,77,77,
06174     76,76,76,74,74,74,74,74,73,73,73,72,71,71,71,69,69,69,69,69,68,
06175     68,67,67,67,66,66,66,65,65,65,65,64,64,64,62,62,62,62,62,61,61,
06176     61,61,59,59,59,57,57,57,56,55,55,54,52,52,52,51,51,50,50,50,50,
06177     49,49,48,48,47,46,46,45,45,45,44,44,44,43,42,41,41,41,40,39,39,
06178     38,37,37,37,37,37,36,36,35,35,35,34,34,34,33,33,33,32,31,31,31,
06179     31,30,30,30,29,29,29,28,28,28,28,27,27,27,27,26,26,25,25,24,24,
06180     24,23,23,23,22,22,22,22,21,21,20,20
06181   };
06182   const int n3c3w2_t[] = {
06183     150, // Capacity
06184     200, // Number of items
06185     // Size of items (sorted)
06186     100,100,99,99,99,99,99,98,97,97,96,95,95,95,94,94,94,93,92,92,
06187     92,91,91,90,90,90,88,88,87,85,85,84,84,84,84,84,84,84,84,84,83,
06188     83,82,82,82,82,82,82,81,81,80,80,79,79,78,78,78,78,78,78,77,77,
06189     77,76,76,75,74,74,74,74,73,73,72,71,70,69,69,69,67,67,66,65,64,
06190     64,62,62,62,61,61,61,60,60,60,60,59,59,58,57,57,56,56,56,56,56,
06191     56,55,55,55,55,54,53,53,53,53,52,52,51,51,49,49,49,49,49,49,49,
06192     48,47,47,47,46,46,45,44,44,44,44,43,43,42,42,42,42,41,39,39,38,
06193     37,37,37,36,36,36,36,35,35,33,33,33,33,33,32,32,32,31,31,31,31,
06194     30,30,30,30,30,30,29,29,29,29,28,28,28,28,26,25,25,25,24,24,24,
06195     23,23,23,23,23,22,22,21,21,21,21,20
06196   };
06197   const int n3c3w4_a[] = {
06198     150, // Capacity
06199     200, // Number of items
06200     // Size of items (sorted)
06201     100,100,100,100,100,100,99,99,99,99,98,98,98,98,98,98,97,97,96,
06202     96,96,96,96,95,95,95,94,94,93,93,93,92,92,92,91,90,90,89,89,89,
06203     89,89,89,89,89,89,88,88,87,86,86,86,85,85,85,85,84,84,83,83,82,
06204     82,82,81,80,80,80,80,79,79,78,78,78,78,77,76,76,76,75,74,73,73,
06205     73,73,73,72,72,72,71,68,68,68,68,68,67,66,66,65,65,65,65,65,65,
06206     64,64,63,63,62,62,62,62,60,59,59,59,58,58,58,56,56,56,55,55,55,
06207     54,54,54,54,53,53,53,52,52,52,51,51,51,51,51,50,50,50,50,50,49,
06208     49,49,49,48,48,48,48,47,46,46,45,45,45,45,44,43,43,43,43,42,42,
06209     41,41,41,40,40,40,39,39,39,39,39,38,38,38,37,37,37,36,35,35,34,
06210     34,34,34,33,33,33,33,32,32,31,30,30,30
06211   };
06212   const int n3c3w4_b[] = {
06213     150, // Capacity
06214     200, // Number of items
06215     // Size of items (sorted)
06216     99,99,98,98,97,97,97,96,96,96,96,95,95,95,94,94,93,93,92,92,91,
06217     91,91,91,91,90,89,89,89,88,88,87,87,87,86,86,86,86,86,86,86,84,
06218     84,83,82,82,82,82,81,81,81,81,80,80,80,79,79,79,79,78,78,78,78,
06219     77,77,77,77,77,76,76,75,75,75,75,74,74,74,73,72,72,72,72,72,72,
06220     72,71,71,70,70,70,69,69,69,69,69,68,68,68,68,67,67,67,67,67,67,
06221     65,65,64,63,63,62,62,62,62,62,61,61,61,60,60,59,58,57,57,56,55,
06222     55,55,55,53,53,52,52,52,52,51,51,51,51,50,50,50,49,49,49,48,48,
06223     48,48,47,47,46,45,45,45,44,44,44,44,44,43,43,43,43,42,42,42,42,
06224     42,42,41,40,40,39,38,38,38,37,37,36,36,36,36,36,35,35,35,34,34,
06225     33,33,33,32,32,32,31,31,31,31,30
06226   };
06227   const int n3c3w4_c[] = {
06228     150, // Capacity
06229     200, // Number of items
06230     // Size of items (sorted)
06231     100,99,98,98,98,97,97,97,97,97,97,96,96,96,96,96,95,95,95,95,
06232     95,95,94,94,94,94,94,94,93,93,92,92,92,92,91,91,90,89,89,89,89,
06233     88,88,88,88,87,87,87,87,86,85,84,84,83,83,83,83,82,82,82,82,81,
06234     80,79,79,79,79,77,77,77,76,76,74,74,74,73,73,73,73,72,72,72,71,
06235     71,71,71,71,71,71,70,69,69,69,69,68,68,67,67,66,65,65,64,63,63,
06236     63,63,62,62,62,62,60,60,59,59,59,59,59,58,58,58,58,58,58,57,57,
06237     56,56,56,56,55,55,54,53,53,53,52,52,52,52,51,51,50,50,50,49,49,
06238     48,48,48,48,47,47,46,46,46,46,46,45,45,44,43,43,43,43,42,41,41,
06239     39,38,38,38,38,38,37,37,37,37,37,37,36,36,36,36,35,35,35,35,34,
06240     34,34,34,34,33,33,33,32,32,31,31,30
06241   };
06242   const int n3c3w4_d[] = {
06243     150, // Capacity
06244     200, // Number of items
06245     // Size of items (sorted)
06246     100,100,100,100,100,100,99,98,98,98,97,96,96,96,96,95,95,95,94,
06247     94,94,94,94,93,92,92,92,92,91,91,91,90,90,90,90,88,87,87,86,86,
06248     86,86,85,85,85,83,83,82,82,82,82,81,81,81,80,80,79,79,79,79,79,
06249     78,78,78,78,78,78,77,76,75,75,75,75,75,75,74,74,73,73,73,73,72,
06250     72,72,71,70,70,69,68,68,68,67,66,65,65,65,65,64,64,63,63,63,63,
06251     63,62,61,61,60,60,60,59,59,59,59,58,58,56,56,56,56,56,56,55,55,
06252     55,55,55,54,54,54,53,53,53,52,52,52,51,51,51,51,50,50,50,49,48,
06253     48,48,48,48,48,48,48,47,47,47,47,47,46,46,46,45,45,45,45,44,43,
06254     43,43,42,42,42,41,40,38,37,37,37,37,36,36,36,36,35,34,34,34,33,
06255     33,33,33,33,32,32,32,32,32,32,30,30,30
06256   };
06257   const int n3c3w4_e[] = {
06258     150, // Capacity
06259     200, // Number of items
06260     // Size of items (sorted)
06261     100,100,99,99,98,98,97,96,96,95,94,94,93,93,93,93,93,92,92,91,
06262     90,90,90,90,89,89,89,88,88,88,88,87,87,87,87,86,86,85,85,85,84,
06263     84,83,83,83,82,81,81,80,80,80,79,79,78,78,78,77,77,77,77,76,76,
06264     75,75,75,75,74,74,74,74,73,73,73,72,71,71,71,71,70,70,69,68,68,
06265     68,68,68,68,68,67,67,67,66,66,66,65,64,64,64,64,63,63,63,63,62,
06266     62,61,61,61,60,60,58,58,58,58,58,57,57,56,56,56,56,56,56,55,55,
06267     55,54,54,54,53,53,52,52,52,52,51,51,51,50,50,50,49,49,49,48,48,
06268     47,47,47,47,46,46,46,46,46,45,44,44,44,44,44,43,43,42,42,42,42,
06269     41,41,41,39,39,39,39,39,39,38,38,37,37,37,37,36,35,35,34,34,34,
06270     34,34,33,33,33,33,32,32,31,30,30,30
06271   };
06272   const int n3c3w4_f[] = {
06273     150, // Capacity
06274     200, // Number of items
06275     // Size of items (sorted)
06276     100,100,99,99,99,98,98,98,98,98,97,97,97,97,96,96,95,94,94,93,
06277     93,93,92,92,92,91,90,90,87,87,87,86,86,86,86,85,85,84,83,83,83,
06278     82,82,81,81,80,80,80,80,80,80,80,79,79,79,79,79,79,78,78,78,76,
06279     75,75,74,73,73,72,71,71,71,71,71,70,69,69,69,68,68,67,67,67,66,
06280     66,66,66,66,66,66,66,65,65,65,63,63,63,63,62,62,62,62,61,61,60,
06281     60,60,60,60,60,58,58,58,58,58,58,57,56,56,56,56,55,55,54,54,54,
06282     53,53,53,52,52,51,51,51,49,49,49,48,48,48,48,48,48,47,46,46,46,
06283     46,45,45,44,44,44,43,43,42,42,42,42,41,41,41,40,40,40,40,39,39,
06284     39,39,39,39,39,38,38,38,38,37,36,36,36,36,36,36,35,35,35,35,34,
06285     34,33,33,32,31,31,31,31,30,30,30,30
06286   };
06287   const int n3c3w4_g[] = {
06288     150, // Capacity
06289     200, // Number of items
06290     // Size of items (sorted)
06291     100,100,100,100,100,99,99,98,98,98,98,98,98,98,97,97,97,97,97,
06292     96,95,94,94,94,93,93,92,92,92,91,91,91,91,91,90,90,90,89,89,89,
06293     89,89,88,88,88,88,88,87,87,87,87,86,86,86,86,85,85,84,84,84,84,
06294     84,84,83,83,83,83,82,82,81,81,81,80,80,80,80,79,78,77,77,77,76,
06295     76,76,76,76,76,76,75,75,75,75,74,74,74,74,74,72,72,71,71,71,70,
06296     70,69,68,68,68,68,68,67,67,66,66,65,65,65,64,63,63,62,62,61,61,
06297     61,60,60,60,60,60,60,59,59,59,58,58,58,58,57,57,56,56,55,55,55,
06298     55,54,54,54,54,54,54,52,52,51,50,50,49,49,49,48,47,47,47,47,46,
06299     46,46,45,44,44,43,43,42,42,40,40,39,38,38,38,38,37,37,36,36,35,
06300     35,35,35,35,35,34,34,32,31,31,31,31,30
06301   };
06302   const int n3c3w4_h[] = {
06303     150, // Capacity
06304     200, // Number of items
06305     // Size of items (sorted)
06306     100,99,99,99,97,97,96,95,95,94,94,94,94,93,92,92,92,92,92,92,
06307     92,91,91,91,91,90,90,89,89,89,89,88,87,87,86,86,86,85,85,85,84,
06308     84,84,83,83,83,82,82,82,82,81,81,81,81,79,79,77,77,76,76,76,76,
06309     75,75,74,74,74,74,73,72,71,71,70,70,68,68,67,67,67,66,66,66,65,
06310     65,64,63,63,63,62,62,62,62,62,61,61,61,61,60,60,60,60,60,60,60,
06311     58,58,57,57,57,56,56,56,56,56,55,55,55,55,54,54,53,53,53,53,53,
06312     52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,49,49,49,48,48,48,
06313     48,48,47,47,47,47,46,46,45,45,45,44,44,44,43,43,43,42,42,42,41,
06314     40,40,39,39,39,39,38,38,37,37,37,37,37,36,36,35,35,35,35,35,34,
06315     34,34,34,33,33,33,32,31,31,30,30,30
06316   };
06317   const int n3c3w4_i[] = {
06318     150, // Capacity
06319     200, // Number of items
06320     // Size of items (sorted)
06321     100,100,100,99,99,97,97,97,96,96,96,96,96,95,95,95,95,94,94,93,
06322     93,93,93,92,92,92,92,92,91,91,91,90,90,90,90,89,89,89,89,89,88,
06323     88,88,88,88,88,87,87,86,86,85,85,85,85,85,84,84,84,83,83,83,82,
06324     81,81,81,80,79,79,79,79,79,79,78,78,78,78,78,77,77,76,76,75,75,
06325     75,75,74,74,74,73,72,72,72,72,71,71,71,70,70,70,70,69,69,69,69,
06326     69,68,67,67,67,67,66,66,66,65,65,65,64,63,63,63,63,62,62,62,61,
06327     61,61,61,60,60,59,59,58,58,58,58,56,56,55,55,55,53,53,52,52,52,
06328     52,51,51,50,49,48,48,48,48,47,46,46,46,46,45,45,45,44,44,43,43,
06329     42,42,41,41,40,40,40,40,39,39,38,38,38,38,37,37,37,36,36,36,35,
06330     35,35,34,34,33,32,32,32,32,31,31,30
06331   };
06332   const int n3c3w4_j[] = {
06333     150, // Capacity
06334     200, // Number of items
06335     // Size of items (sorted)
06336     100,100,99,98,97,97,97,96,96,96,95,95,95,95,94,94,94,94,94,94,
06337     93,93,93,93,93,93,92,91,91,91,90,90,90,89,89,89,87,87,86,86,85,
06338     85,85,85,85,84,84,83,83,83,83,82,82,82,82,81,81,81,81,81,81,81,
06339     80,80,78,78,78,78,77,77,77,76,76,75,75,75,75,74,74,74,74,73,73,
06340     73,71,71,71,71,70,70,69,69,68,68,67,67,67,66,66,66,65,64,63,63,
06341     63,62,61,61,61,61,61,61,60,60,60,60,58,58,58,58,57,57,57,57,56,
06342     56,56,56,56,56,55,54,53,53,53,53,52,52,52,52,51,51,50,50,49,49,
06343     49,48,48,48,48,48,48,47,47,46,46,46,46,46,44,44,44,43,43,43,42,
06344     42,42,41,41,39,39,39,38,37,37,37,36,36,36,34,32,32,32,32,32,31,
06345     31,31,31,31,31,31,31,31,31,30,30,30
06346   };
06347   const int n3c3w4_k[] = {
06348     150, // Capacity
06349     200, // Number of items
06350     // Size of items (sorted)
06351     100,100,100,99,99,99,99,98,98,98,98,97,97,97,96,96,96,96,96,95,
06352     95,95,94,94,94,92,92,92,92,92,92,91,91,90,90,90,90,90,90,89,89,
06353     88,88,88,87,87,86,86,85,85,85,84,84,84,84,83,82,82,81,81,79,79,
06354     78,77,77,77,77,77,76,76,75,75,74,74,74,73,73,73,73,73,73,72,71,
06355     70,70,70,70,70,69,69,69,69,68,68,67,67,67,66,66,65,65,64,64,63,
06356     63,63,62,62,62,62,62,60,60,60,60,59,59,59,58,58,58,58,58,58,57,
06357     57,57,56,56,56,56,55,55,55,54,54,54,53,53,53,53,53,53,52,51,50,
06358     49,49,49,49,49,48,48,48,47,47,47,47,47,47,46,45,45,45,44,44,43,
06359     43,43,42,42,41,41,41,41,40,39,39,39,38,38,38,37,37,37,36,36,36,
06360     35,35,35,34,33,33,33,33,32,31,31,30
06361   };
06362   const int n3c3w4_l[] = {
06363     150, // Capacity
06364     200, // Number of items
06365     // Size of items (sorted)
06366     100,100,99,99,99,98,98,98,97,97,97,97,96,96,96,96,96,95,95,95,
06367     95,94,94,93,93,92,92,91,91,91,90,90,90,90,89,89,89,88,88,88,87,
06368     86,86,86,86,85,85,85,84,84,84,84,83,83,83,83,83,82,82,82,82,82,
06369     81,81,81,81,80,80,80,80,79,79,78,78,77,77,77,76,75,75,74,74,74,
06370     73,73,73,72,72,71,71,71,71,70,70,69,68,67,65,65,64,64,64,63,63,
06371     63,62,62,62,62,60,60,60,60,59,59,59,58,58,58,58,57,56,56,56,56,
06372     55,55,54,54,54,53,53,53,53,53,53,52,52,52,52,52,50,50,50,50,50,
06373     50,49,49,48,48,48,47,47,46,45,45,45,44,44,44,44,44,43,43,43,43,
06374     43,42,42,42,42,41,41,40,40,40,39,39,38,37,36,36,36,36,35,35,34,
06375     34,33,33,32,32,32,31,31,31,30,30,30
06376   };
06377   const int n3c3w4_m[] = {
06378     150, // Capacity
06379     200, // Number of items
06380     // Size of items (sorted)
06381     100,100,100,99,99,98,98,98,98,97,96,95,94,94,94,94,93,93,93,93,
06382     93,92,92,92,91,90,90,90,90,90,90,89,89,88,88,87,87,86,86,86,86,
06383     86,85,85,85,85,84,84,83,83,83,82,82,82,82,82,81,81,80,80,79,79,
06384     79,79,79,79,78,78,78,77,77,76,76,76,76,75,75,75,74,74,74,74,74,
06385     73,73,73,73,72,72,71,69,69,69,69,68,68,68,67,67,66,65,65,65,63,
06386     63,63,62,61,61,61,61,60,60,59,59,59,59,58,58,58,58,58,56,56,56,
06387     55,55,54,54,54,53,53,53,53,53,52,52,52,52,51,51,51,51,51,50,50,
06388     49,49,49,48,48,47,46,46,46,46,45,45,45,44,44,44,42,42,42,41,41,
06389     39,39,38,38,38,38,38,37,37,37,37,37,37,37,36,36,36,36,35,35,35,
06390     34,34,34,33,32,31,30,30,30,30,30,30
06391   };
06392   const int n3c3w4_n[] = {
06393     150, // Capacity
06394     200, // Number of items
06395     // Size of items (sorted)
06396     100,100,100,100,100,99,99,98,98,97,97,97,97,96,95,95,93,93,93,
06397     93,92,91,91,90,90,89,89,89,88,88,88,87,87,87,86,86,86,86,86,85,
06398     85,85,84,84,84,84,84,84,83,83,83,82,82,82,81,81,81,80,80,79,79,
06399     79,78,78,78,78,78,77,77,76,75,75,75,75,75,75,74,74,74,74,74,72,
06400     71,71,71,71,71,71,70,69,69,69,68,67,66,65,65,65,64,64,63,63,62,
06401     62,62,61,60,59,59,59,59,58,58,58,57,57,57,57,56,56,56,56,55,54,
06402     54,53,52,52,51,50,49,49,49,49,48,48,48,48,48,47,47,47,46,46,46,
06403     46,46,45,45,45,45,44,44,44,44,44,44,43,43,43,42,42,42,41,41,41,
06404     41,40,40,40,40,40,40,39,39,38,38,37,37,36,36,35,34,34,34,34,34,
06405     33,33,33,33,33,33,32,32,32,32,31,30,30
06406   };
06407   const int n3c3w4_o[] = {
06408     150, // Capacity
06409     200, // Number of items
06410     // Size of items (sorted)
06411     100,100,100,100,100,99,98,98,98,98,97,97,97,96,96,96,96,96,96,
06412     95,94,94,93,92,92,92,91,91,91,91,90,90,90,89,89,89,89,89,87,87,
06413     87,86,86,86,86,86,85,85,85,83,83,82,82,81,81,81,80,80,79,79,78,
06414     78,78,78,77,77,77,77,76,76,76,75,75,75,75,73,73,73,72,72,71,71,
06415     70,70,70,69,69,68,68,67,67,67,67,66,65,64,64,64,64,63,63,63,63,
06416     62,62,61,61,61,61,60,60,60,60,59,59,59,59,59,58,58,58,58,57,57,
06417     57,57,56,56,55,55,55,55,54,54,53,53,53,51,51,51,50,50,50,50,50,
06418     49,49,48,47,47,47,47,47,46,45,45,44,44,43,42,42,41,41,41,40,40,
06419     40,40,39,39,37,37,37,37,37,36,36,36,35,35,35,35,35,34,34,33,33,
06420     33,33,32,31,31,31,31,31,31,31,30,30,30
06421   };
06422   const int n3c3w4_p[] = {
06423     150, // Capacity
06424     200, // Number of items
06425     // Size of items (sorted)
06426     100,100,100,99,99,97,97,97,96,95,95,95,94,94,94,93,93,93,92,92,
06427     92,92,92,92,91,91,91,91,90,90,89,88,88,86,85,85,83,83,83,82,82,
06428     81,81,80,80,80,79,79,79,77,77,77,77,77,77,77,77,77,76,76,76,75,
06429     75,74,74,74,74,74,74,73,73,72,72,72,71,71,70,70,70,68,68,68,67,
06430     67,67,67,67,66,66,66,66,66,65,65,65,65,64,64,64,64,63,63,62,62,
06431     62,62,62,62,61,61,61,60,60,60,60,60,59,59,58,58,58,58,57,57,57,
06432     56,56,56,55,54,54,54,54,54,53,53,53,53,52,52,51,51,50,50,50,50,
06433     50,49,49,49,48,48,48,47,47,46,46,46,45,45,45,44,44,44,43,43,42,
06434     41,41,40,39,38,38,38,38,37,37,37,36,36,35,35,35,34,34,34,34,33,
06435     33,33,33,33,32,32,31,30,30,30,30,30
06436   };
06437   const int n3c3w4_q[] = {
06438     150, // Capacity
06439     200, // Number of items
06440     // Size of items (sorted)
06441     100,100,99,99,99,99,98,98,98,98,98,96,96,96,95,95,95,95,95,94,
06442     94,94,92,92,92,91,91,91,90,89,89,88,88,86,86,85,85,85,84,83,83,
06443     82,82,81,81,81,81,80,80,79,79,79,79,79,79,79,78,78,78,78,78,77,
06444     77,77,77,77,77,77,76,75,75,75,74,73,73,73,73,72,72,72,71,71,71,
06445     70,70,70,68,68,67,67,66,66,66,66,66,66,65,65,65,65,65,64,63,63,
06446     63,63,63,62,62,62,62,62,62,61,61,61,61,61,60,60,59,59,57,56,56,
06447     56,56,56,55,55,55,54,53,53,52,52,52,51,50,50,50,50,50,49,49,48,
06448     48,48,47,47,46,46,46,46,45,44,44,44,44,44,43,43,43,42,42,41,41,
06449     41,41,41,41,41,40,40,40,40,39,38,38,38,38,38,38,37,37,36,36,35,
06450     35,34,34,33,33,33,33,33,32,32,32,30
06451   };
06452   const int n3c3w4_r[] = {
06453     150, // Capacity
06454     200, // Number of items
06455     // Size of items (sorted)
06456     100,100,100,100,100,99,99,98,98,98,98,98,98,97,97,97,96,95,95,
06457     94,93,92,92,92,92,91,91,91,91,91,90,90,90,90,90,89,89,88,88,88,
06458     87,86,85,85,85,85,84,83,83,83,81,80,80,80,79,79,79,79,78,78,78,
06459     78,78,78,77,77,77,77,76,76,76,76,76,75,75,75,74,73,73,73,73,73,
06460     73,72,72,71,71,70,69,69,68,67,67,67,67,66,66,65,65,65,64,62,62,
06461     61,61,61,61,61,61,60,59,59,59,59,59,58,58,58,58,57,57,57,57,57,
06462     57,56,56,56,55,55,55,54,54,54,54,54,54,53,53,53,52,51,50,50,50,
06463     49,49,49,48,48,47,47,46,46,45,45,45,44,44,44,43,42,42,42,41,41,
06464     41,40,40,39,39,39,38,38,37,37,36,36,35,34,33,33,33,33,33,33,32,
06465     32,32,32,32,31,31,31,31,31,30,30,30,30
06466   };
06467   const int n3c3w4_s[] = {
06468     150, // Capacity
06469     200, // Number of items
06470     // Size of items (sorted)
06471     98,98,98,97,97,97,96,96,96,94,94,94,93,93,93,93,92,90,90,89,88,
06472     87,87,87,86,86,86,86,86,85,85,85,84,84,83,83,82,82,81,81,80,80,
06473     80,80,78,78,78,77,77,77,77,77,77,76,76,75,75,75,74,74,74,73,73,
06474     73,72,72,72,71,71,71,71,71,71,71,71,71,70,69,69,69,68,68,68,68,
06475     67,67,66,66,66,66,66,66,65,64,64,64,64,63,63,63,63,62,62,62,62,
06476     61,61,61,60,60,60,59,58,58,58,57,57,56,56,55,55,55,54,54,54,53,
06477     53,53,53,53,53,52,52,52,52,51,51,50,50,50,50,50,50,49,49,48,48,
06478     47,47,47,47,47,46,46,45,45,44,43,43,43,42,42,41,41,41,41,40,40,
06479     39,39,39,38,38,38,37,37,37,37,36,36,36,35,34,33,33,33,33,33,32,
06480     32,32,32,32,31,31,31,31,30,30,30
06481   };
06482   const int n3c3w4_t[] = {
06483     150, // Capacity
06484     200, // Number of items
06485     // Size of items (sorted)
06486     100,100,99,99,99,98,98,98,98,98,97,97,96,96,96,96,94,93,93,92,
06487     92,90,90,89,89,89,88,88,88,88,88,88,87,87,87,87,86,86,85,85,84,
06488     83,82,82,81,81,80,80,80,80,80,80,79,79,79,78,78,77,77,76,76,76,
06489     75,75,75,75,75,74,74,74,74,73,72,72,72,71,71,71,71,71,70,70,69,
06490     69,69,69,68,67,66,66,66,65,65,65,64,62,61,61,61,61,61,61,60,60,
06491     60,59,59,59,59,58,58,58,57,57,56,56,56,56,54,54,54,54,53,53,53,
06492     53,53,53,52,52,52,51,51,51,50,49,49,49,48,48,47,47,47,47,46,46,
06493     46,46,45,45,45,44,43,43,43,43,42,42,41,41,41,41,41,40,40,40,40,
06494     40,39,39,38,38,37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,34,
06495     34,34,34,34,34,33,33,32,31,31,30,30
06496   };
06497   const int n4c1w1_a[] = {
06498     100, // Capacity
06499     500, // Number of items
06500     // Size of items (sorted)
06501     100,99,99,99,99,98,98,98,98,97,97,97,97,97,97,97,96,96,96,96,
06502     96,96,96,95,95,95,95,95,94,94,94,94,93,93,93,92,92,92,91,91,91,
06503     91,90,90,90,89,89,89,89,89,88,88,88,88,87,87,87,87,87,87,86,86,
06504     86,86,86,86,85,85,85,84,84,83,83,83,83,83,83,82,82,82,82,81,81,
06505     81,81,80,80,80,80,80,79,79,79,78,78,78,78,78,78,77,77,77,76,76,
06506     76,76,76,75,75,75,75,75,75,74,74,74,74,73,73,73,73,73,73,73,72,
06507     72,72,72,71,71,71,71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,
06508     68,68,67,67,67,67,67,66,66,66,65,65,65,64,64,64,64,63,63,63,63,
06509     63,63,62,62,62,62,62,62,62,61,61,61,60,60,60,60,60,60,59,59,59,
06510     58,58,58,58,58,58,57,57,57,57,57,56,56,56,56,56,55,55,54,54,54,
06511     54,54,54,54,53,53,53,53,53,52,52,52,51,51,51,51,50,50,50,50,50,
06512     49,49,49,48,48,48,48,48,48,47,47,47,46,46,46,46,46,46,45,45,45,
06513     45,44,44,44,44,43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,42,
06514     42,41,41,41,41,41,40,40,40,40,39,39,39,39,38,38,38,38,38,38,37,
06515     37,37,37,37,37,37,37,36,36,36,36,36,36,35,35,35,35,35,35,34,34,
06516     34,34,33,33,33,33,33,32,32,32,32,32,31,31,31,31,31,31,31,31,31,
06517     30,30,30,30,29,29,29,29,29,28,28,28,28,28,28,28,27,27,27,27,27,
06518     27,27,27,26,26,26,26,26,26,26,25,25,25,25,24,24,24,24,24,24,24,
06519     23,23,23,23,23,22,22,22,22,22,22,21,21,21,21,20,20,20,20,20,20,
06520     19,19,19,19,19,19,19,19,18,18,18,18,18,17,17,17,17,17,17,17,16,
06521     16,15,15,15,15,15,15,15,15,14,14,14,14,13,13,13,13,13,13,13,13,
06522     13,12,12,12,11,11,11,11,11,11,11,11,11,10,10,10,10,10,10,10,10,
06523     9,9,9,9,9,8,8,8,7,7,7,7,7,7,6,6,5,5,5,4,4,4,4,4,4,3,3,3,2,2,2,
06524     2,2,1,1,1,1,1,1
06525   };
06526   const int n4c1w1_b[] = {
06527     100, // Capacity
06528     500, // Number of items
06529     // Size of items (sorted)
06530     100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,98,98,
06531     98,97,97,97,97,97,97,96,96,96,95,94,94,93,93,93,93,93,93,93,92,
06532     92,92,92,92,92,91,91,91,91,91,91,91,90,90,90,90,90,90,90,90,90,
06533     90,90,89,89,89,88,88,88,87,87,86,86,86,86,85,85,85,85,85,84,84,
06534     84,84,84,84,83,83,83,82,82,82,82,82,81,81,80,80,80,80,80,80,79,
06535     79,79,79,78,78,78,78,77,77,77,77,77,77,77,77,77,76,76,76,76,76,
06536     75,75,75,75,75,75,74,74,74,73,73,73,73,72,72,72,72,72,72,72,71,
06537     71,71,70,70,70,70,70,69,69,69,68,68,68,68,67,67,67,67,67,66,66,
06538     66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,63,
06539     63,63,62,62,62,62,62,62,62,62,62,62,61,61,61,61,61,61,60,60,60,
06540     60,60,60,60,60,60,59,59,59,59,59,59,59,59,58,58,57,57,57,56,56,
06541     56,56,56,55,55,55,55,55,54,54,54,54,54,53,53,52,52,52,52,51,51,
06542     51,51,50,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,47,47,47,
06543     47,47,47,47,46,46,46,46,46,45,45,45,44,44,44,44,44,44,44,44,44,
06544     43,43,43,43,43,43,43,42,42,42,41,41,41,41,41,41,41,41,40,40,40,
06545     40,40,40,39,39,39,39,39,38,38,38,38,37,37,37,37,37,37,37,36,36,
06546     36,36,36,36,36,36,35,35,35,35,35,35,35,35,34,34,33,33,33,32,32,
06547     32,32,32,31,31,31,30,30,30,30,30,30,30,30,30,29,29,28,28,28,28,
06548     27,27,26,26,26,26,26,26,26,26,26,26,26,25,25,25,25,25,24,24,24,
06549     24,23,23,23,22,22,22,22,22,22,21,21,21,21,20,20,20,20,20,19,19,
06550     19,19,19,19,18,18,18,18,18,17,17,17,16,16,16,16,16,16,15,15,15,
06551     15,15,15,15,14,14,14,14,13,13,12,12,12,12,12,12,12,11,11,11,11,
06552     11,11,11,10,10,9,9,9,9,8,8,8,8,7,7,7,7,7,6,5,5,5,4,4,4,4,3,3,
06553     3,3,3,3,3,3,2,2,2,1,1,1
06554   };
06555   const int n4c1w1_c[] = {
06556     100, // Capacity
06557     500, // Number of items
06558     // Size of items (sorted)
06559     100,100,100,99,99,99,98,98,98,98,98,98,98,98,97,97,97,97,97,97,
06560     97,97,97,97,97,96,96,96,96,96,95,95,95,95,95,95,94,93,93,93,92,
06561     92,92,92,92,92,92,92,91,91,91,90,90,89,89,89,88,88,87,87,87,87,
06562     87,87,87,86,86,86,85,85,84,84,84,83,83,83,83,83,82,82,82,82,82,
06563     82,82,81,81,81,81,81,80,80,80,80,80,79,79,79,79,79,79,78,78,77,
06564     77,77,77,77,77,76,75,75,75,74,74,74,74,73,73,73,73,73,73,73,72,
06565     72,71,71,71,71,71,71,71,70,70,70,70,70,69,68,68,68,68,68,67,67,
06566     67,66,66,66,66,65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,
06567     64,64,64,63,63,63,63,63,62,62,61,61,61,60,60,60,60,59,59,59,59,
06568     58,58,58,58,57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,55,
06569     55,55,55,54,54,53,53,53,53,52,52,52,52,51,51,51,51,51,51,50,50,
06570     50,50,50,50,50,49,49,49,49,49,49,49,48,48,47,47,46,46,46,45,45,
06571     45,45,44,44,44,44,43,43,43,43,43,42,42,42,42,42,42,42,42,42,42,
06572     41,41,41,41,40,40,40,40,39,39,39,39,39,38,38,38,38,38,38,38,38,
06573     37,37,37,37,37,37,37,37,37,36,36,36,36,36,35,35,35,35,35,35,35,
06574     34,34,34,34,34,33,33,33,33,33,33,33,33,32,32,32,32,31,31,31,31,
06575     31,31,31,31,30,30,30,30,30,29,29,29,29,28,28,28,28,27,27,26,26,
06576     26,26,25,25,25,25,25,24,24,24,24,24,24,23,23,23,23,23,23,22,22,
06577     22,22,22,21,21,21,21,20,20,20,20,20,19,19,19,19,19,19,19,19,19,
06578     19,18,18,18,18,17,17,17,17,17,17,17,17,17,17,16,16,16,16,16,16,
06579     15,15,15,15,15,15,15,15,15,14,14,14,14,13,13,13,13,13,12,12,12,
06580     12,11,11,11,11,10,10,10,10,10,9,9,9,9,9,9,9,9,9,9,8,8,8,8,8,7,
06581     7,7,7,7,7,7,7,6,6,6,6,5,5,5,5,5,5,4,4,4,4,4,4,4,3,3,3,3,3,2,2,
06582     2,2,1
06583   };
06584   const int n4c1w1_d[] = {
06585     100, // Capacity
06586     500, // Number of items
06587     // Size of items (sorted)
06588     100,100,100,100,100,100,99,99,99,99,99,98,98,97,97,97,97,97,97,
06589     97,96,96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,93,93,93,93,
06590     93,93,93,92,92,92,92,92,92,91,91,91,91,90,90,90,90,89,89,89,89,
06591     89,89,89,89,88,88,88,88,88,88,88,88,88,88,87,87,87,87,86,86,86,
06592     86,85,85,85,85,84,84,84,84,84,84,84,83,83,83,83,83,83,83,82,81,
06593     81,81,81,81,81,81,80,80,80,79,79,79,79,78,78,78,78,77,77,77,77,
06594     76,76,76,76,76,75,74,74,74,74,74,73,73,72,72,72,72,71,71,70,70,
06595     70,70,69,69,69,69,69,68,68,68,68,68,68,68,68,67,67,67,67,67,66,
06596     66,65,65,65,64,64,63,63,63,63,63,63,63,63,63,63,62,62,61,61,61,
06597     60,60,60,60,59,59,59,58,58,58,57,57,56,56,56,56,56,56,56,55,55,
06598     55,55,54,54,54,54,54,53,53,53,53,52,52,52,51,51,51,51,51,51,51,
06599     51,51,51,50,50,50,50,50,50,50,50,50,49,49,49,49,48,48,47,46,46,
06600     46,46,46,46,46,45,45,45,44,44,44,44,43,43,43,43,43,43,42,42,42,
06601     42,42,42,42,42,42,42,42,41,41,41,41,41,40,40,40,40,39,39,39,39,
06602     39,39,38,38,38,38,37,37,37,37,37,37,37,36,36,35,35,35,35,34,34,
06603     33,33,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,32,32,32,31,
06604     31,31,31,31,30,30,30,30,30,30,29,29,29,29,28,28,28,27,27,27,27,
06605     26,26,26,26,26,26,25,25,25,25,25,25,24,24,24,24,24,23,23,23,23,
06606     22,22,22,22,22,22,21,21,21,21,21,21,21,21,20,20,20,20,20,19,19,
06607     19,19,19,19,19,19,18,18,17,17,17,17,17,16,16,16,16,16,16,15,15,
06608     15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,12,12,12,12,12,12,
06609     12,11,11,11,11,11,11,10,10,10,10,10,9,9,9,9,9,8,8,7,7,7,7,7,7,
06610     7,7,6,6,6,6,5,5,5,5,5,4,4,4,4,4,4,4,4,3,3,3,3,2,2,2,2,2,2,2,1,
06611     1,1,1,1,1
06612   };
06613   const int n4c1w1_e[] = {
06614     100, // Capacity
06615     500, // Number of items
06616     // Size of items (sorted)
06617     100,100,100,99,99,99,98,98,98,98,98,98,97,97,97,97,97,97,97,96,
06618     96,96,96,96,96,96,96,95,95,95,95,95,95,94,94,94,94,93,93,93,93,
06619     93,92,92,92,92,90,90,90,90,90,90,90,89,89,89,89,89,89,88,88,88,
06620     88,88,88,88,88,87,87,86,86,86,86,86,85,85,85,85,84,84,84,83,83,
06621     83,83,82,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,79,79,79,
06622     79,78,78,78,78,78,78,78,78,78,78,78,78,77,77,77,77,77,77,76,76,
06623     76,76,76,76,75,75,75,74,74,74,74,74,74,73,73,73,73,73,73,72,72,
06624     72,72,72,72,72,71,71,71,71,71,71,70,70,70,70,70,70,70,70,69,69,
06625     69,68,68,68,68,68,68,68,67,67,67,67,67,67,66,66,66,66,66,66,65,
06626     65,65,64,64,64,63,63,63,63,63,63,63,63,63,63,63,62,62,62,62,61,
06627     60,60,60,60,60,60,59,59,59,58,58,58,58,58,57,57,57,57,57,57,56,
06628     56,56,56,56,55,55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,53,
06629     53,52,52,52,52,52,52,52,51,51,51,51,51,51,51,51,51,50,50,50,50,
06630     50,50,50,49,49,49,49,48,48,48,48,48,48,47,47,47,47,47,46,46,46,
06631     46,46,45,45,45,45,44,44,44,43,43,43,43,43,42,42,42,41,41,41,40,
06632     40,40,40,39,39,39,39,39,38,38,38,38,38,38,37,37,36,36,36,36,35,
06633     35,34,34,34,34,33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,
06634     30,30,30,30,30,30,30,29,29,29,29,28,28,28,28,28,28,27,27,27,26,
06635     26,25,25,25,24,24,24,24,24,24,23,23,23,23,23,23,23,22,22,22,22,
06636     21,21,21,21,21,20,20,20,20,19,19,19,19,18,18,18,18,17,17,17,17,
06637     17,17,16,16,16,16,16,16,16,16,16,16,15,15,15,14,14,14,14,14,13,
06638     13,13,13,12,12,12,12,12,12,12,11,11,11,11,10,10,10,10,9,9,9,9,
06639     8,8,8,7,7,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,4,4,4,3,3,2,2,2,2,
06640     2,1,1,1,1,1,1
06641   };
06642   const int n4c1w1_f[] = {
06643     100, // Capacity
06644     500, // Number of items
06645     // Size of items (sorted)
06646     100,100,100,100,100,99,99,98,98,98,98,98,97,97,97,97,97,97,96,
06647     96,96,96,95,95,95,95,95,94,94,93,93,93,93,93,93,92,92,92,92,92,
06648     92,91,91,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,89,89,89,
06649     88,88,88,87,87,87,87,87,87,87,86,86,86,86,86,86,86,86,85,85,84,
06650     84,84,84,84,84,84,84,83,83,83,83,83,83,82,82,81,81,81,81,81,81,
06651     80,79,79,79,79,79,79,78,78,78,78,77,77,77,77,77,77,76,76,76,76,
06652     76,75,75,75,75,75,74,74,74,74,73,73,73,73,72,72,71,71,71,71,71,
06653     71,71,71,71,71,70,70,70,70,70,70,70,69,69,69,68,68,68,68,68,67,
06654     67,66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,65,64,64,64,64,
06655     64,63,63,63,63,63,63,63,62,62,62,61,61,61,61,61,61,61,60,60,60,
06656     60,60,60,59,59,59,59,59,59,59,59,58,58,58,58,57,57,57,57,57,57,
06657     57,57,56,56,56,56,56,55,55,55,55,55,53,53,53,53,52,52,52,51,51,
06658     51,51,51,51,50,50,50,50,50,49,49,49,49,49,49,49,49,49,48,48,48,
06659     47,47,47,47,47,47,47,47,46,46,46,46,46,45,45,45,45,45,45,44,44,
06660     44,43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,41,40,40,40,40,
06661     40,40,39,39,39,39,39,38,38,38,38,38,37,37,37,37,37,37,37,37,37,
06662     37,36,36,36,36,36,36,36,36,36,35,34,34,33,33,33,33,32,32,32,32,
06663     32,32,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,29,29,
06664     29,29,28,28,28,28,28,28,28,27,27,27,27,27,26,26,26,26,26,26,26,
06665     25,25,25,25,24,24,24,24,24,24,24,24,24,23,23,23,23,23,23,22,22,
06666     22,21,21,21,21,20,20,20,20,20,20,19,19,19,19,18,18,17,17,17,17,
06667     17,17,17,17,16,15,15,15,14,14,13,13,13,12,12,12,12,11,11,11,11,
06668     11,10,10,10,10,10,9,9,8,8,8,7,7,7,7,7,6,6,6,6,5,5,5,5,4,4,4,3,
06669     3,3,2,2,2,2,2,2,1,1,1,1
06670   };
06671   const int n4c1w1_g[] = {
06672     100, // Capacity
06673     500, // Number of items
06674     // Size of items (sorted)
06675     100,99,99,99,99,98,98,98,97,97,97,97,97,97,96,96,96,96,96,96,
06676     96,95,95,95,95,95,94,94,94,94,94,94,94,93,93,93,92,92,92,91,91,
06677     91,90,90,90,90,90,90,89,89,89,89,89,89,89,89,88,88,88,88,88,88,
06678     88,88,88,88,88,87,87,87,87,87,86,86,86,86,86,85,85,85,85,85,85,
06679     85,85,85,84,84,84,84,83,83,83,82,82,82,81,81,81,81,80,80,80,80,
06680     80,80,80,80,80,79,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,
06681     78,77,77,77,77,76,76,76,75,75,75,75,74,74,74,74,74,74,73,73,73,
06682     73,72,72,72,72,71,70,70,70,70,69,69,69,69,68,68,68,68,68,68,68,
06683     67,67,67,67,67,67,67,67,67,67,66,66,66,66,66,66,66,65,65,64,64,
06684     64,64,63,62,62,62,62,61,61,61,60,60,60,60,60,60,59,59,59,59,58,
06685     58,58,58,58,58,58,58,58,57,57,57,57,57,57,56,56,56,56,55,55,55,
06686     54,54,54,54,53,53,53,53,53,52,52,52,52,51,51,51,51,51,50,50,50,
06687     50,49,49,49,49,49,49,48,48,48,48,48,48,48,48,47,47,47,47,46,46,
06688     46,46,46,45,45,45,45,44,44,44,44,44,44,44,44,44,44,43,43,43,43,
06689     43,43,43,42,42,42,42,42,41,41,41,40,40,40,39,39,39,39,39,39,38,
06690     38,38,38,38,38,38,38,37,37,37,37,36,36,36,36,36,35,35,35,34,34,
06691     34,33,33,33,33,33,33,32,31,31,31,31,31,30,30,30,30,30,30,30,29,
06692     29,28,28,28,28,28,28,28,27,27,27,27,27,27,26,26,26,26,26,26,26,
06693     26,26,26,26,26,25,25,24,24,24,23,23,21,21,21,21,21,21,20,20,20,
06694     20,20,19,19,19,19,19,18,18,18,18,18,18,18,17,17,17,17,17,17,17,
06695     17,17,17,16,16,16,16,16,16,15,15,15,15,15,14,14,14,14,14,13,13,
06696     13,12,12,12,12,12,12,12,12,11,11,11,11,11,10,10,9,9,9,9,9,9,9,
06697     9,8,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,4,4,4,4,4,3,3,2,2,2,2,2,
06698     2,1,1,1,1,1
06699   };
06700   const int n4c1w1_h[] = {
06701     100, // Capacity
06702     500, // Number of items
06703     // Size of items (sorted)
06704     100,100,99,99,99,99,98,98,98,97,97,97,97,96,96,96,96,96,96,96,
06705     95,95,95,94,94,94,93,93,92,92,92,92,92,92,92,92,92,91,91,91,91,
06706     91,90,90,90,90,90,90,89,89,89,89,89,89,88,88,88,88,88,88,88,88,
06707     88,88,87,87,86,86,86,86,85,85,85,84,84,84,84,83,83,83,83,83,82,
06708     82,82,82,82,82,82,81,81,81,80,80,80,80,79,79,79,79,79,79,78,78,
06709     78,77,77,77,76,76,76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,
06710     74,74,74,74,74,74,74,73,73,73,73,72,72,72,72,72,72,72,72,71,71,
06711     70,70,69,69,69,69,69,69,69,68,68,68,68,67,67,67,67,67,67,66,66,
06712     66,66,66,66,66,66,66,66,65,65,63,63,63,63,63,63,63,63,63,62,62,
06713     62,62,62,62,62,62,61,61,61,60,60,60,60,60,60,60,59,59,59,59,59,
06714     59,59,58,58,58,58,58,58,57,57,57,56,56,56,56,55,55,55,54,54,53,
06715     53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,
06716     50,50,50,49,48,48,48,48,48,48,47,47,47,47,47,47,46,46,46,46,46,
06717     46,45,45,44,44,43,43,43,42,42,42,42,42,41,41,41,41,40,40,40,40,
06718     40,40,39,39,39,39,39,38,38,38,38,38,37,37,37,37,36,36,36,36,36,
06719     36,36,36,36,35,35,35,34,34,34,34,34,33,33,33,33,32,32,32,32,32,
06720     32,32,32,32,32,32,31,31,31,31,30,30,30,30,30,30,29,29,29,29,29,
06721     29,29,28,28,28,28,28,28,27,27,27,26,26,26,26,26,26,26,26,25,25,
06722     25,25,24,24,23,23,23,23,23,22,22,22,22,21,21,21,21,21,21,21,21,
06723     20,20,20,20,20,20,20,20,19,19,19,19,19,18,18,18,18,17,17,17,17,
06724     17,16,16,16,16,16,15,15,14,14,14,14,14,14,14,14,14,14,14,13,13,
06725     12,12,12,12,12,12,12,11,11,11,11,10,10,10,10,10,10,9,9,9,8,8,
06726     8,8,8,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,5,5,5,5,5,5,4,4,4,3,3,3,3,
06727     2,2,2,1,1,1,1
06728   };
06729   const int n4c1w1_i[] = {
06730     100, // Capacity
06731     500, // Number of items
06732     // Size of items (sorted)
06733     100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,98,
06734     98,98,97,97,97,97,97,96,96,95,95,95,95,94,94,93,93,93,93,92,92,
06735     92,92,92,91,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,88,88,
06736     88,88,88,88,88,87,87,87,87,87,87,86,86,86,86,86,86,86,85,85,85,
06737     85,85,84,84,84,84,84,83,83,82,82,82,82,82,82,82,81,81,81,81,81,
06738     81,80,80,80,80,80,79,78,78,78,78,77,77,77,77,77,76,76,76,76,76,
06739     75,75,75,75,75,75,75,74,74,74,74,74,74,73,73,73,73,73,73,73,72,
06740     72,72,72,70,70,70,69,69,69,69,69,68,68,68,68,68,68,67,67,66,66,
06741     66,65,65,65,65,65,64,64,64,63,63,63,63,63,63,63,63,63,62,62,62,
06742     62,62,61,61,60,60,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,
06743     58,57,57,56,56,56,56,55,55,55,55,55,55,54,54,54,54,54,53,53,53,
06744     53,53,53,53,53,52,52,52,52,51,51,51,51,51,50,50,50,50,50,50,50,
06745     50,50,50,50,50,49,49,49,49,49,48,48,48,48,48,48,48,48,48,47,47,
06746     47,47,47,47,46,46,46,46,45,45,45,45,44,44,44,44,44,43,43,43,43,
06747     42,42,42,42,41,41,41,41,41,41,41,41,41,41,41,41,41,40,40,40,40,
06748     40,40,39,39,39,39,39,39,39,39,39,38,38,38,38,38,38,37,37,37,37,
06749     37,37,37,37,36,36,36,35,35,35,35,34,34,34,34,34,34,34,34,33,33,
06750     33,32,32,32,32,32,32,32,32,32,32,32,32,31,31,31,31,31,31,31,29,
06751     29,29,29,28,28,28,28,28,28,28,27,27,27,27,26,26,25,25,25,25,24,
06752     24,23,23,23,23,23,23,23,22,22,21,21,20,20,20,20,20,19,19,19,19,
06753     18,18,18,18,18,18,17,17,17,17,16,16,15,15,15,14,14,14,14,14,14,
06754     14,14,14,13,13,13,13,13,12,12,12,11,11,11,11,11,10,10,10,9,9,
06755     9,9,9,9,8,7,7,7,7,7,6,6,6,6,6,6,5,5,5,5,4,4,4,4,3,3,2,2,2,2,2,
06756     2,2,2,1,1,1,1,1,1
06757   };
06758   const int n4c1w1_j[] = {
06759     100, // Capacity
06760     500, // Number of items
06761     // Size of items (sorted)
06762     100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,97,97,97,97,
06763     97,97,97,96,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,94,
06764     93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,92,92,92,91,
06765     91,91,91,90,90,90,90,90,90,90,89,88,88,88,88,88,87,87,87,87,87,
06766     87,86,86,86,86,85,85,85,85,84,84,84,84,84,83,83,83,83,83,83,83,
06767     82,82,82,82,82,81,81,81,81,81,81,80,80,80,80,80,80,79,79,79,78,
06768     78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,76,76,76,76,76,76,
06769     75,75,75,75,75,75,74,74,74,74,73,73,73,73,72,72,72,72,71,71,71,
06770     71,71,71,70,70,70,70,70,69,69,69,69,69,69,68,68,67,67,67,67,67,
06771     66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,64,
06772     64,63,63,63,63,63,63,63,63,63,63,63,62,62,62,62,61,61,61,60,60,
06773     60,60,60,60,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,58,58,
06774     57,57,57,57,57,57,56,56,56,55,55,55,55,55,55,55,54,54,54,54,54,
06775     53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,51,50,49,49,48,48,
06776     48,48,48,47,47,46,46,46,45,45,45,45,45,45,45,45,44,44,44,44,44,
06777     43,43,43,43,43,42,42,42,41,41,40,39,39,39,39,39,39,38,38,38,37,
06778     37,37,36,36,36,36,36,36,36,35,35,34,34,34,33,33,33,33,33,33,33,
06779     33,33,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,29,29,29,29,
06780     28,28,28,27,27,27,27,27,27,26,26,26,25,25,25,25,24,24,24,24,24,
06781     24,24,24,23,23,23,23,23,23,23,22,22,22,22,22,22,22,21,21,20,20,
06782     20,20,20,19,19,19,19,18,18,18,18,18,18,18,17,16,16,16,16,16,15,
06783     15,14,14,14,14,14,14,13,13,13,13,13,13,13,12,11,10,10,10,9,8,
06784     8,8,8,8,8,8,7,7,7,6,6,6,6,5,5,5,5,5,5,5,5,5,5,4,4,3,3,3,3,3,3,
06785     3,3,3,3,2,2,2,1,1
06786   };
06787   const int n4c1w1_k[] = {
06788     100, // Capacity
06789     500, // Number of items
06790     // Size of items (sorted)
06791     100,100,100,100,99,99,99,99,98,98,98,97,97,97,97,97,97,96,96,
06792     96,95,95,94,94,94,94,94,93,93,93,93,93,93,92,92,92,92,91,91,91,
06793     90,90,90,90,90,90,89,89,89,89,89,88,88,87,87,87,86,86,86,86,86,
06794     85,85,85,85,85,85,85,84,84,84,84,83,83,83,83,83,83,82,82,81,81,
06795     81,81,81,80,80,80,80,80,80,80,80,79,79,79,79,78,78,78,78,78,78,
06796     78,78,77,77,77,77,76,76,76,76,75,75,75,75,74,74,74,74,74,74,74,
06797     74,73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,71,71,70,70,70,
06798     70,69,69,69,69,69,69,69,68,68,68,68,68,68,68,67,67,67,67,67,66,
06799     66,66,66,66,66,65,65,65,64,64,64,64,64,64,63,63,63,63,62,62,62,
06800     61,61,61,61,61,61,60,60,60,60,60,60,60,60,59,59,58,58,58,58,58,
06801     58,58,58,58,58,57,57,57,56,56,56,55,55,55,55,55,55,54,54,54,54,
06802     54,53,53,53,53,53,53,53,52,52,52,52,52,51,51,51,50,50,50,50,50,
06803     50,49,49,49,49,49,49,49,49,49,49,49,49,48,48,47,47,46,46,46,46,
06804     46,46,46,46,46,46,46,45,45,45,44,44,44,43,43,43,43,43,42,42,42,
06805     42,42,42,41,41,41,40,40,40,40,40,40,40,39,39,39,39,39,39,38,38,
06806     37,37,37,37,37,37,36,36,36,36,36,35,35,35,35,35,35,35,35,35,34,
06807     34,34,33,33,33,33,33,32,32,32,32,32,31,31,31,30,30,30,30,30,30,
06808     30,29,29,29,29,29,29,28,28,28,28,28,28,28,28,28,27,27,27,27,27,
06809     26,26,26,26,26,25,25,25,24,24,23,23,23,22,22,22,22,22,22,22,22,
06810     22,22,21,21,21,21,20,20,20,19,19,19,19,19,18,18,18,17,17,17,17,
06811     17,17,17,17,17,16,16,16,16,16,15,15,15,15,14,14,14,14,13,13,13,
06812     12,12,12,12,12,11,11,10,10,10,10,10,10,10,8,8,8,8,8,8,8,7,7,7,
06813     6,6,6,6,6,6,5,5,5,5,5,5,5,5,4,4,4,4,4,3,3,3,3,3,3,2,2,2,2,2,1,
06814     1,1,1,1,1,1
06815   };
06816   const int n4c1w1_l[] = {
06817     100, // Capacity
06818     500, // Number of items
06819     // Size of items (sorted)
06820     100,100,100,100,100,99,99,99,99,99,99,99,98,97,97,97,96,96,96,
06821     96,96,96,96,96,95,95,95,95,94,94,94,94,94,94,93,93,93,93,92,91,
06822     91,91,91,91,90,90,89,89,89,89,88,88,88,88,87,87,87,87,87,87,87,
06823     86,86,86,86,86,85,85,85,85,85,85,85,85,85,85,85,85,84,84,84,84,
06824     84,83,83,82,82,82,82,82,81,81,81,81,81,80,80,80,79,79,79,79,79,
06825     79,79,78,78,78,78,78,78,77,77,77,77,77,77,76,76,76,76,76,76,76,
06826     75,75,75,75,75,74,74,74,74,74,74,74,74,74,73,73,73,73,73,72,72,
06827     72,72,72,71,71,71,71,71,71,70,70,70,69,69,69,69,69,69,68,68,68,
06828     68,68,68,68,68,67,67,67,67,66,66,66,66,66,66,66,65,65,65,65,65,
06829     64,64,64,64,64,63,63,63,62,62,62,62,62,62,62,62,61,61,61,61,60,
06830     60,60,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,56,56,56,
06831     56,56,56,56,55,55,55,55,54,54,54,54,53,53,53,53,52,52,52,52,52,
06832     52,51,51,51,51,51,51,50,50,49,49,49,49,49,48,48,48,48,48,47,47,
06833     47,47,47,46,46,46,45,45,44,44,44,44,44,44,43,43,43,43,42,42,42,
06834     42,42,42,42,42,41,41,41,41,41,40,40,40,39,39,39,38,38,38,38,38,
06835     38,37,37,37,37,36,36,36,36,36,36,36,36,35,35,35,35,35,35,34,34,
06836     34,34,34,34,34,34,34,33,33,33,32,31,31,31,31,31,31,30,30,30,30,
06837     30,29,29,29,29,29,29,29,28,28,28,27,27,27,27,26,26,26,26,26,26,
06838     25,25,25,25,25,25,24,24,24,24,24,24,23,23,23,23,23,23,22,22,22,
06839     22,21,21,21,21,21,21,21,21,19,18,18,18,18,18,18,18,17,17,17,17,
06840     17,17,17,17,17,16,16,16,16,15,15,15,15,15,15,15,15,15,14,14,14,
06841     13,13,13,13,12,12,12,12,12,11,11,10,10,10,10,10,10,10,9,9,9,9,
06842     9,8,8,7,7,7,7,7,7,6,6,6,6,5,5,5,5,5,4,4,4,4,4,4,3,3,3,3,3,3,3,
06843     2,2,2,2,1,1,1,1
06844   };
06845   const int n4c1w1_m[] = {
06846     100, // Capacity
06847     500, // Number of items
06848     // Size of items (sorted)
06849     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,97,
06850     97,97,96,96,95,95,95,94,94,94,94,94,94,94,93,93,93,93,93,93,93,
06851     92,92,92,92,91,91,91,90,90,90,90,90,90,89,89,89,89,89,88,88,88,
06852     88,88,88,87,87,87,87,87,86,86,86,86,86,86,85,84,84,84,83,83,83,
06853     83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,81,81,81,80,80,79,
06854     79,79,79,79,78,78,78,78,78,78,78,77,77,77,76,76,76,76,75,75,75,
06855     74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,72,72,72,71,71,70,
06856     70,70,70,70,70,69,69,69,69,68,68,68,67,67,67,67,67,66,66,66,66,
06857     66,64,64,64,64,63,63,63,63,63,63,63,62,62,62,62,61,61,60,60,60,
06858     60,60,60,60,60,60,60,59,59,58,58,58,58,58,58,57,57,57,57,56,56,
06859     56,56,56,56,54,53,53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,
06860     50,50,50,49,49,49,49,49,49,49,49,49,49,48,48,47,47,46,46,46,46,
06861     46,46,46,45,45,45,45,45,45,45,44,44,44,44,43,43,42,42,42,42,42,
06862     42,42,42,41,41,41,41,41,41,41,41,41,40,40,40,39,39,39,39,38,38,
06863     38,38,38,38,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,
06864     35,35,35,34,34,34,34,34,33,33,33,33,33,33,32,32,32,32,32,32,32,
06865     32,31,31,31,30,30,30,30,30,30,30,29,29,29,29,29,28,28,28,28,28,
06866     28,28,28,27,27,27,26,26,26,26,26,26,26,26,26,25,25,25,25,25,25,
06867     25,25,24,24,24,24,24,23,23,23,23,23,23,23,22,22,22,22,21,21,21,
06868     20,20,20,20,19,19,19,19,18,18,18,18,18,18,17,17,17,17,17,17,17,
06869     17,16,16,16,16,16,15,15,15,15,15,15,15,14,14,14,14,14,14,13,13,
06870     13,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,10,10,10,9,9,
06871     9,9,8,8,8,8,7,7,7,7,7,7,6,6,6,6,5,5,5,5,5,4,4,4,4,4,4,4,4,3,3,
06872     3,3,3,2,2,2,2,1,1,1
06873   };
06874   const int n4c1w1_n[] = {
06875     100, // Capacity
06876     500, // Number of items
06877     // Size of items (sorted)
06878     100,100,100,100,100,100,100,99,99,99,98,98,98,98,98,98,97,97,
06879     97,97,97,97,97,96,96,96,96,95,95,95,95,94,94,94,94,94,94,94,94,
06880     94,93,93,93,93,92,92,92,92,91,91,91,90,90,90,89,89,89,89,89,89,
06881     89,88,88,87,87,87,87,87,86,86,86,86,86,85,85,84,84,84,84,84,83,
06882     83,83,83,83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,80,80,80,
06883     80,79,79,79,79,79,78,78,78,78,77,77,76,76,76,76,76,76,75,75,75,
06884     75,75,75,75,75,75,75,74,74,73,73,73,73,73,73,72,72,72,72,72,71,
06885     71,71,71,70,70,70,70,69,69,69,68,68,68,68,68,68,68,68,68,67,67,
06886     67,67,66,66,66,66,66,66,66,66,66,65,64,64,64,64,64,64,64,64,63,
06887     63,63,63,63,63,63,62,62,62,62,62,62,62,62,61,61,61,61,61,61,61,
06888     60,59,59,59,59,58,58,58,58,57,57,57,57,57,56,55,55,55,55,55,55,
06889     54,54,54,54,54,54,54,53,53,53,53,53,53,53,52,52,52,51,51,51,51,
06890     51,51,51,50,50,50,50,50,50,49,49,49,49,49,49,49,48,48,48,47,47,
06891     46,46,45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,43,43,42,42,
06892     42,42,42,41,41,41,41,41,41,40,40,40,40,40,39,39,39,39,38,38,38,
06893     37,37,37,37,36,36,36,36,35,35,35,35,35,34,34,34,34,34,34,34,34,
06894     34,33,33,33,33,33,33,33,32,32,32,31,31,31,31,30,30,30,30,29,29,
06895     29,29,28,28,28,28,28,28,28,27,27,27,26,26,26,26,25,25,25,25,24,
06896     24,24,24,23,23,23,23,23,23,22,22,22,22,22,21,21,21,21,21,20,20,
06897     20,19,19,19,19,19,19,19,18,18,18,18,18,18,18,17,17,17,17,17,16,
06898     15,15,15,15,15,15,15,14,14,14,14,14,13,13,13,13,13,13,13,12,12,
06899     12,12,12,12,12,11,11,11,10,10,10,10,10,10,10,10,9,9,9,9,9,8,8,
06900     8,7,7,7,7,7,7,7,6,6,5,5,5,5,5,4,4,4,4,4,3,3,3,3,3,2,2,2,2,2,2,
06901     2,2,1,1,1,1,1,1
06902   };
06903   const int n4c1w1_o[] = {
06904     100, // Capacity
06905     500, // Number of items
06906     // Size of items (sorted)
06907     100,100,100,99,99,99,99,99,99,98,98,98,98,98,98,98,98,97,97,97,
06908     97,97,97,96,96,96,96,95,95,95,95,94,94,94,94,93,93,93,93,93,92,
06909     92,92,92,91,91,91,90,90,90,90,90,90,90,90,90,90,90,89,89,89,88,
06910     88,88,88,87,87,87,87,87,87,87,87,87,86,86,86,86,86,86,86,85,85,
06911     85,85,85,85,84,84,84,83,83,83,83,83,82,82,82,82,82,82,82,81,81,
06912     81,81,81,81,81,81,81,81,80,80,80,80,79,79,79,79,79,79,79,78,78,
06913     78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,74,74,
06914     74,74,73,73,73,73,73,72,72,72,72,72,71,71,71,71,69,69,69,69,69,
06915     69,68,68,67,67,67,67,67,66,66,66,66,65,65,65,65,65,64,64,63,62,
06916     62,62,62,61,61,61,61,60,60,60,60,60,60,60,60,59,59,59,59,59,59,
06917     59,59,58,58,58,58,57,57,57,57,57,57,57,57,56,55,55,55,55,54,53,
06918     53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,51,50,50,
06919     50,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,47,47,47,47,47,
06920     47,47,46,46,46,46,45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,
06921     43,43,43,42,42,42,42,42,42,41,41,41,41,40,40,40,40,39,39,38,38,
06922     37,37,37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,34,34,34,34,
06923     34,34,33,33,33,33,33,32,32,32,31,31,31,31,31,31,30,29,29,29,29,
06924     29,28,28,28,28,28,28,27,27,26,26,26,26,26,26,25,25,25,25,25,24,
06925     24,24,24,24,23,23,23,23,22,22,22,21,21,21,21,21,21,20,20,20,20,
06926     20,19,19,19,18,18,18,18,17,17,16,16,16,16,16,16,16,15,15,15,15,
06927     15,15,15,15,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,12,
06928     12,12,12,12,12,11,11,11,11,10,10,9,9,9,9,8,8,8,8,8,8,7,7,7,7,
06929     7,7,7,6,6,6,6,6,6,6,5,5,4,4,4,4,4,4,3,3,3,3,3,3,3,2,2,2,1,1,1,
06930     1,1,1,1
06931   };
06932   const int n4c1w1_p[] = {
06933     100, // Capacity
06934     500, // Number of items
06935     // Size of items (sorted)
06936     100,100,100,100,100,100,99,99,99,99,98,98,97,97,97,97,97,97,97,
06937     96,96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,
06938     93,92,92,92,91,91,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,
06939     89,89,89,89,89,88,88,88,88,88,88,88,87,87,87,87,86,86,86,86,86,
06940     85,85,85,85,85,84,84,84,84,84,83,83,83,83,83,83,82,82,82,82,81,
06941     81,81,81,81,81,81,80,80,80,80,80,80,79,78,78,78,78,78,77,77,77,
06942     77,77,77,77,76,76,76,76,76,76,76,76,75,75,75,75,75,75,74,74,74,
06943     74,73,73,73,73,72,72,72,72,72,72,72,71,71,71,71,71,71,70,70,70,
06944     70,70,70,70,69,69,69,69,69,68,68,68,68,68,67,66,66,66,65,65,65,
06945     65,65,65,65,64,64,63,63,63,63,63,62,62,62,62,62,62,61,61,61,61,
06946     61,60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,59,59,59,58,58,
06947     58,58,58,57,57,57,57,57,56,56,56,56,56,56,56,56,56,56,55,55,55,
06948     55,54,54,54,54,54,52,52,52,52,52,51,51,51,51,50,50,50,50,49,49,
06949     49,49,49,49,49,48,48,48,47,47,47,47,47,46,46,46,46,46,46,45,45,
06950     45,45,44,44,44,44,43,43,43,43,42,42,41,41,41,41,41,40,40,40,39,
06951     39,39,39,38,38,38,38,37,37,37,37,37,36,36,36,35,35,34,34,34,33,
06952     33,33,32,32,32,32,32,32,32,31,30,30,30,30,30,30,30,30,30,29,29,
06953     29,29,29,29,29,29,28,28,28,28,28,28,27,27,27,27,27,26,26,26,26,
06954     26,25,25,25,25,24,24,24,24,24,23,23,23,23,23,22,22,22,22,21,21,
06955     21,21,21,20,20,20,20,20,20,20,20,19,19,19,19,19,18,18,17,17,16,
06956     16,16,16,16,15,15,15,15,15,15,15,14,14,14,14,14,13,13,13,12,12,
06957     12,12,12,12,11,11,11,11,11,11,10,10,10,10,9,9,9,9,9,9,9,8,8,8,
06958     8,8,8,8,7,7,7,6,6,6,6,6,6,6,6,6,6,5,5,4,4,4,3,3,3,3,2,2,2,2,1,
06959     1,1,1,1,1,1
06960   };
06961   const int n4c1w1_q[] = {
06962     100, // Capacity
06963     500, // Number of items
06964     // Size of items (sorted)
06965     100,100,100,99,99,99,99,98,98,98,98,97,97,97,97,96,96,96,96,96,
06966     96,96,96,96,95,95,95,94,94,94,94,94,94,94,93,93,93,93,92,92,92,
06967     91,91,91,90,90,90,89,89,89,89,89,89,89,88,88,88,88,87,87,87,87,
06968     87,86,86,86,86,86,86,86,86,86,85,85,85,85,84,84,84,84,84,84,84,
06969     83,83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,
06970     80,79,79,79,79,78,78,78,78,78,77,77,77,77,77,77,77,77,77,77,77,
06971     76,76,76,75,75,75,75,75,75,74,74,74,73,73,73,73,73,73,73,72,72,
06972     72,72,72,72,71,71,71,71,71,70,70,70,70,70,69,69,69,69,69,68,68,
06973     68,68,68,68,68,68,67,67,67,67,67,67,67,67,66,66,66,66,66,66,66,
06974     66,66,65,65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,63,63,62,
06975     62,62,62,62,62,62,61,61,61,61,61,61,61,61,61,60,60,60,60,60,60,
06976     59,59,59,59,59,58,57,57,57,57,56,56,56,56,56,56,56,56,56,55,55,
06977     55,54,54,54,54,53,53,53,53,53,53,53,53,52,52,51,51,51,51,51,51,
06978     51,51,50,50,50,50,50,50,49,49,49,49,49,48,48,48,48,47,47,47,47,
06979     46,46,45,45,45,44,44,43,43,43,42,42,42,41,41,41,41,41,41,41,40,
06980     40,39,39,39,39,39,39,39,38,38,37,37,37,36,36,36,36,36,36,36,36,
06981     36,35,35,35,35,34,34,34,34,34,34,34,33,33,32,32,32,32,32,32,32,
06982     32,31,31,30,30,30,30,29,29,28,28,28,28,28,28,28,28,27,27,27,27,
06983     27,26,26,26,26,25,25,25,25,25,25,25,24,24,24,24,24,23,23,23,22,
06984     21,21,21,21,20,20,20,20,20,20,19,19,19,19,18,18,18,18,18,18,17,
06985     17,17,16,16,16,16,16,15,15,15,15,15,14,14,14,14,13,13,13,13,13,
06986     13,13,13,13,12,12,12,12,11,11,11,10,10,10,9,9,8,8,7,7,7,6,6,6,
06987     6,6,5,5,5,5,5,5,4,4,4,4,4,4,4,4,4,4,4,3,3,3,3,3,3,2,2,2,2,1,1,
06988     1,1,1,1,1
06989   };
06990   const int n4c1w1_r[] = {
06991     100, // Capacity
06992     500, // Number of items
06993     // Size of items (sorted)
06994     100,100,100,100,100,99,99,98,98,98,98,98,98,97,97,97,96,96,96,
06995     96,96,95,95,95,95,95,95,95,94,94,94,94,94,93,93,93,92,92,92,92,
06996     92,92,92,91,91,91,90,90,90,90,90,89,89,89,89,89,89,88,88,88,88,
06997     88,88,87,87,87,86,86,86,86,85,85,84,84,84,84,84,84,84,84,83,83,
06998     83,83,83,83,82,82,81,81,81,81,80,80,80,80,80,80,80,79,79,79,78,
06999     78,78,78,78,78,77,77,76,76,76,76,76,75,75,75,75,75,75,75,74,74,
07000     74,74,74,73,73,73,73,73,73,72,71,71,71,71,71,71,70,70,70,70,70,
07001     70,69,69,69,69,69,68,68,68,68,68,67,67,67,67,67,67,67,67,67,66,
07002     66,65,65,65,65,65,64,64,64,64,63,63,63,63,62,62,62,62,62,62,61,
07003     61,61,61,61,61,61,60,60,60,60,60,60,59,59,59,59,59,59,59,59,59,
07004     58,58,58,58,58,57,57,57,56,56,56,56,56,56,56,56,55,55,55,55,55,
07005     54,54,54,54,53,53,53,53,53,52,52,52,51,51,51,51,50,50,50,49,49,
07006     49,48,48,48,48,48,47,47,47,47,46,46,46,46,46,46,45,45,45,45,45,
07007     45,45,45,45,44,44,44,44,44,43,43,43,43,43,43,43,43,42,42,42,42,
07008     42,42,42,42,41,41,40,40,40,40,40,40,39,39,39,39,39,39,38,38,38,
07009     38,38,38,38,37,37,37,37,37,37,37,36,36,35,35,35,35,35,35,34,34,
07010     34,34,34,34,34,33,33,33,33,33,33,33,33,33,33,32,32,32,32,32,31,
07011     31,31,31,31,30,30,30,29,29,29,29,28,28,28,28,28,28,28,28,27,27,
07012     27,27,26,26,26,26,25,25,25,25,25,25,25,25,25,24,24,24,23,22,21,
07013     21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,19,19,19,19,19,19,
07014     18,18,18,18,18,18,17,17,17,17,17,17,16,16,16,16,15,15,15,15,15,
07015     15,14,14,14,14,14,14,14,14,13,13,12,12,12,12,12,11,11,11,11,10,
07016     10,9,9,9,9,9,8,8,8,8,8,8,7,7,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,
07017     4,4,4,4,4,3,3,3,2,1
07018   };
07019   const int n4c1w1_s[] = {
07020     100, // Capacity
07021     500, // Number of items
07022     // Size of items (sorted)
07023     100,99,99,99,99,99,99,99,99,99,99,98,98,98,98,98,98,98,98,98,
07024     97,96,96,96,96,96,96,96,95,95,95,95,95,95,95,94,94,93,92,92,92,
07025     92,91,91,91,91,91,91,90,90,90,90,90,89,89,88,88,88,88,88,88,88,
07026     88,87,87,87,87,87,86,86,86,86,85,85,85,85,85,85,85,85,85,84,84,
07027     84,84,83,83,83,83,83,82,82,82,82,82,82,82,82,82,81,81,81,81,81,
07028     81,81,80,80,80,80,80,79,79,79,79,79,78,78,78,78,78,78,78,78,78,
07029     78,77,77,77,77,77,77,77,77,76,76,76,76,75,75,75,75,74,74,74,74,
07030     73,73,73,73,73,73,72,71,71,71,70,70,70,69,69,69,69,69,69,68,68,
07031     68,68,68,68,68,68,67,67,66,66,66,66,66,66,66,66,66,66,66,65,65,
07032     65,65,65,65,65,64,64,64,64,64,63,63,63,63,63,62,62,62,62,62,62,
07033     61,61,61,61,61,61,61,60,60,60,60,60,60,60,59,59,59,59,59,59,59,
07034     58,58,57,57,57,57,55,54,54,54,54,53,53,53,53,52,52,52,51,51,50,
07035     50,50,50,49,49,48,48,48,48,47,47,47,46,46,46,46,46,46,45,45,44,
07036     44,44,44,44,44,44,44,44,44,43,43,43,43,43,43,42,42,42,42,41,41,
07037     41,41,41,41,40,40,40,40,39,39,39,39,39,39,39,39,39,39,38,38,38,
07038     38,38,38,37,37,37,36,36,36,36,36,35,35,35,35,35,35,35,35,34,34,
07039     34,34,34,33,33,33,32,32,32,32,32,31,31,31,31,31,30,30,30,29,29,
07040     29,29,29,29,28,28,27,27,27,27,27,27,27,27,26,26,26,26,26,25,25,
07041     25,24,24,24,24,23,23,23,23,23,23,23,22,22,22,22,22,21,21,21,21,
07042     21,21,20,20,20,20,20,20,19,19,19,19,19,19,19,18,18,18,17,17,17,
07043     17,17,17,17,17,17,17,17,16,16,16,16,16,16,16,15,15,15,14,14,14,
07044     14,14,14,13,13,13,13,13,13,12,11,11,11,11,10,10,10,10,9,9,9,9,
07045     8,8,8,8,8,7,7,7,6,6,6,6,6,6,5,5,4,4,4,3,3,3,3,3,3,3,3,3,2,2,2,
07046     2,2,2,1,1,1,1
07047   };
07048   const int n4c1w1_t[] = {
07049     100, // Capacity
07050     500, // Number of items
07051     // Size of items (sorted)
07052     100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,98,98,98,98,
07053     98,97,97,97,97,97,97,97,97,96,96,96,95,95,95,94,94,94,93,93,93,
07054     93,93,92,92,92,92,91,91,91,91,90,90,90,90,90,90,90,89,89,88,88,
07055     88,88,88,87,87,87,87,87,86,86,86,86,86,86,86,86,86,86,86,85,85,
07056     84,84,84,84,84,84,83,83,83,82,82,82,82,82,82,81,81,81,81,81,81,
07057     81,81,80,80,80,80,80,80,79,79,79,79,79,79,79,78,78,78,77,76,76,
07058     76,76,76,75,75,75,75,75,74,74,74,74,73,73,73,73,73,72,72,72,72,
07059     71,71,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,69,69,69,68,
07060     68,68,68,68,67,67,67,67,67,66,65,65,65,65,65,65,64,64,63,63,63,
07061     62,62,62,61,61,61,61,60,60,60,60,60,59,59,59,59,59,58,58,58,58,
07062     58,58,58,58,57,57,57,57,57,57,56,56,56,56,55,55,55,54,54,54,54,
07063     54,54,54,54,54,53,53,53,53,52,52,52,52,52,51,51,51,51,51,51,51,
07064     50,50,50,50,50,50,50,50,50,50,49,49,49,49,49,49,48,48,48,48,47,
07065     47,47,46,46,46,46,46,46,46,46,46,46,45,45,45,45,45,44,44,44,43,
07066     43,43,43,43,43,42,42,42,42,42,41,40,40,40,40,40,40,39,39,39,38,
07067     38,38,38,38,38,38,38,37,37,37,37,37,36,35,35,35,35,34,34,34,34,
07068     34,34,33,33,33,33,32,31,31,31,30,30,30,30,29,29,29,29,29,29,28,
07069     28,28,28,27,27,27,27,27,27,27,27,26,26,26,26,26,26,26,25,25,25,
07070     25,25,24,24,24,24,23,23,23,23,23,23,22,22,21,21,21,21,21,20,20,
07071     20,20,20,20,19,19,18,18,18,18,17,17,17,17,16,16,16,15,15,15,14,
07072     14,14,14,13,13,12,12,12,12,12,12,12,12,12,12,12,11,11,11,11,11,
07073     11,10,10,10,10,9,9,9,9,9,9,9,9,9,9,9,9,8,8,8,8,7,7,7,6,6,6,6,
07074     5,5,5,5,5,5,5,4,4,4,3,3,3,3,3,3,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,
07075     1,1
07076   };
07077   const int n4c1w2_a[] = {
07078     100, // Capacity
07079     500, // Number of items
07080     // Size of items (sorted)
07081     100,100,100,100,99,99,99,99,98,98,98,98,98,97,97,97,97,97,97,
07082     97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,95,95,95,95,94,94,
07083     94,94,94,94,94,93,93,93,93,92,92,92,92,92,91,91,91,91,91,91,91,
07084     90,90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,88,88,88,88,
07085     88,88,88,88,88,88,88,88,87,87,87,87,87,86,86,86,86,86,86,86,86,
07086     86,85,85,85,85,85,85,85,84,84,84,84,84,84,84,83,83,83,83,83,83,
07087     82,82,82,82,82,81,81,81,80,80,80,80,80,80,80,80,80,80,79,79,79,
07088     79,78,78,78,78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,75,
07089     74,74,73,73,73,72,72,72,72,72,72,72,71,71,71,71,71,71,71,71,71,
07090     71,71,70,70,70,70,70,70,70,70,70,70,69,69,69,69,68,68,68,68,68,
07091     68,67,67,67,67,67,66,66,66,66,66,65,65,65,65,64,64,64,63,63,63,
07092     63,63,62,62,62,62,62,62,62,62,62,61,61,61,61,61,61,61,61,61,61,
07093     60,60,60,60,60,59,59,58,57,57,57,57,57,57,57,57,56,56,56,56,56,
07094     55,55,55,55,55,55,55,54,54,54,54,54,54,53,53,53,53,53,52,52,52,
07095     52,52,51,51,51,51,51,51,50,50,50,50,50,49,49,49,49,49,49,48,48,
07096     48,48,48,48,48,48,48,48,48,47,47,47,47,47,47,47,47,47,47,47,46,
07097     46,46,46,46,46,45,45,45,45,45,44,44,44,44,44,43,43,43,43,42,42,
07098     42,42,42,42,41,41,41,41,40,40,40,40,40,40,40,39,39,39,38,38,38,
07099     38,38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,37,37,37,
07100     36,36,36,36,36,36,36,35,35,35,35,35,35,35,34,34,33,33,33,33,33,
07101     33,32,32,32,32,32,32,32,31,31,31,31,31,31,31,31,31,31,30,29,29,
07102     29,29,29,29,29,29,28,28,28,28,28,27,27,27,27,27,27,27,27,27,26,
07103     26,26,26,26,26,26,25,25,25,24,24,24,24,24,24,23,23,23,22,22,22,
07104     22,22,22,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,20
07105   };
07106   const int n4c1w2_b[] = {
07107     100, // Capacity
07108     500, // Number of items
07109     // Size of items (sorted)
07110     100,100,100,100,100,100,100,100,100,100,100,99,99,99,98,98,98,
07111     98,97,97,97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,94,
07112     94,94,94,93,93,93,93,93,92,92,92,92,92,92,91,91,91,91,91,91,91,
07113     90,90,90,90,90,90,90,90,90,90,90,89,89,89,89,88,88,88,88,88,87,
07114     87,87,87,87,87,87,87,86,86,86,86,85,85,85,85,85,85,84,84,84,84,
07115     83,83,83,83,82,82,82,82,82,82,82,81,81,81,80,80,80,80,80,80,80,
07116     80,80,80,80,79,79,79,79,79,79,79,79,78,78,78,78,78,77,77,77,77,
07117     77,77,77,77,77,76,76,76,76,76,76,75,75,75,75,75,74,74,74,74,74,
07118     74,74,74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,72,72,72,
07119     72,72,72,71,71,71,71,71,71,71,70,70,70,70,70,69,69,69,69,69,69,
07120     68,68,68,68,68,68,67,67,67,67,67,67,67,67,67,67,66,66,66,66,66,
07121     65,65,65,65,65,65,64,64,64,64,63,63,63,63,63,62,62,62,62,62,62,
07122     62,61,61,61,61,61,61,61,60,60,60,60,60,60,59,59,59,59,59,59,59,
07123     59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,57,56,56,56,56,56,
07124     56,56,56,55,55,55,55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,
07125     53,52,52,52,52,52,51,51,51,51,51,51,51,51,50,50,50,50,50,50,49,
07126     49,48,48,48,48,48,48,47,47,47,47,47,47,47,47,47,46,46,46,46,46,
07127     46,46,46,45,45,45,44,44,44,44,43,43,43,43,43,43,43,43,42,42,42,
07128     42,42,41,41,41,41,41,40,40,40,40,40,40,39,39,39,39,39,39,39,39,
07129     39,38,38,37,37,37,37,36,36,36,36,36,35,35,35,35,35,35,35,35,34,
07130     34,34,34,33,33,33,33,33,33,33,32,32,32,32,32,31,31,31,31,31,31,
07131     30,30,30,30,30,30,30,30,30,29,29,29,28,28,28,28,28,28,28,28,28,
07132     28,28,27,27,27,27,27,26,26,26,25,25,25,25,25,25,25,25,25,25,24,
07133     24,24,24,24,24,23,23,23,23,23,23,22,22,22,21,20,20,20,20,20,20
07134   };
07135   const int n4c1w2_c[] = {
07136     100, // Capacity
07137     500, // Number of items
07138     // Size of items (sorted)
07139     100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,98,98,98,
07140     97,97,97,96,96,96,96,95,95,95,95,94,94,93,93,93,93,93,93,93,93,
07141     93,92,92,92,92,92,91,91,91,91,91,91,91,90,90,90,90,90,89,89,89,
07142     89,89,89,89,89,88,88,88,87,87,86,86,86,86,86,86,86,86,86,86,85,
07143     85,85,85,85,85,85,85,85,84,84,83,83,83,83,83,82,82,82,82,82,82,
07144     82,81,81,80,80,80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,
07145     79,79,78,78,78,78,78,78,78,78,78,78,78,78,78,77,77,77,77,77,77,
07146     77,76,76,76,76,76,76,76,76,76,76,76,75,75,75,75,75,75,74,74,74,
07147     74,74,74,74,74,74,73,73,73,73,73,72,72,72,71,71,71,71,71,70,70,
07148     70,70,70,70,69,68,68,67,67,67,67,67,67,66,66,66,66,66,66,66,66,
07149     66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,
07150     62,62,62,62,62,61,61,61,60,60,60,60,60,60,60,59,59,59,59,59,59,
07151     59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,57,57,56,56,56,56,
07152     56,56,55,55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,53,53,52,
07153     52,52,52,52,52,52,52,52,52,52,52,52,52,51,51,51,51,50,50,50,50,
07154     50,50,49,49,49,49,49,49,49,49,49,49,48,48,47,47,47,47,47,47,47,
07155     46,46,46,46,46,46,46,45,45,45,45,44,44,44,44,44,44,43,43,43,43,
07156     42,42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,40,40,40,40,40,
07157     40,40,39,39,39,39,39,39,38,38,38,38,37,37,37,37,37,37,37,37,37,
07158     36,36,36,36,36,36,36,36,36,36,35,35,35,35,35,35,35,34,34,34,34,
07159     34,34,34,33,33,33,33,33,32,32,32,31,31,31,31,31,31,31,31,31,31,
07160     31,30,30,30,30,30,30,30,30,30,30,29,29,29,29,29,29,28,28,28,28,
07161     28,28,27,27,27,27,27,27,27,27,26,26,26,26,25,25,25,24,24,24,24,
07162     24,24,23,23,23,23,23,23,22,22,22,21,21,21,21,20,20,20,20
07163   };
07164   const int n4c1w2_d[] = {
07165     100, // Capacity
07166     500, // Number of items
07167     // Size of items (sorted)
07168     100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,98,98,98,98,
07169     98,97,97,97,97,97,97,96,96,96,96,96,96,95,95,95,95,95,95,94,94,
07170     94,94,94,94,94,94,93,93,93,92,92,92,92,92,92,92,91,91,91,91,91,
07171     91,91,90,90,90,90,90,89,89,89,89,89,88,88,88,88,87,87,87,87,87,
07172     86,86,86,86,86,86,86,86,85,85,85,85,85,85,84,84,84,84,84,84,84,
07173     84,84,84,83,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,82,81,
07174     81,81,81,81,80,80,80,80,80,79,79,79,79,79,79,79,79,79,79,78,78,
07175     78,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,75,75,
07176     75,75,75,75,74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,71,
07177     71,70,70,70,70,69,69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,
07178     67,67,67,67,66,66,66,66,66,65,65,65,65,65,65,65,65,65,65,64,64,
07179     64,64,64,64,64,63,63,63,63,63,63,63,63,62,62,62,62,62,62,62,61,
07180     61,61,61,61,61,61,61,61,61,60,60,60,60,60,60,59,59,59,59,59,59,
07181     59,59,59,58,58,58,58,58,58,58,58,57,57,57,57,57,57,57,57,56,56,
07182     56,56,55,55,55,55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,53,
07183     52,52,52,52,51,51,51,51,50,50,49,49,49,49,49,49,49,49,49,48,48,
07184     48,48,47,47,47,47,47,47,47,47,47,47,46,46,46,46,45,45,45,45,45,
07185     45,44,44,43,43,43,43,43,43,43,43,42,42,41,41,41,41,41,40,40,40,
07186     40,40,40,39,39,39,39,38,38,38,37,37,37,37,37,37,37,36,36,36,36,
07187     36,36,36,36,36,36,36,36,35,35,35,34,34,34,34,34,33,33,32,32,32,
07188     32,32,32,32,31,31,31,30,30,30,30,29,29,29,29,29,29,29,29,29,28,
07189     28,28,28,28,28,28,28,28,28,27,27,27,27,27,27,26,26,26,26,26,26,
07190     26,26,26,25,25,25,25,25,24,24,24,24,24,23,23,23,22,22,22,22,22,
07191     22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,20,20,20,20
07192   };
07193   const int n4c1w2_e[] = {
07194     100, // Capacity
07195     500, // Number of items
07196     // Size of items (sorted)
07197     100,100,100,100,100,99,99,99,99,99,99,98,98,98,98,98,98,98,98,
07198     98,98,97,97,97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,
07199     95,95,95,94,94,94,94,93,93,93,93,93,92,92,92,92,92,92,91,91,91,
07200     91,91,91,90,90,90,90,90,90,90,90,90,89,89,89,88,88,88,88,87,87,
07201     87,87,87,87,86,86,86,86,85,85,85,85,85,85,84,84,84,83,83,83,83,
07202     82,82,82,82,82,82,82,81,81,81,81,81,81,81,81,81,81,81,81,81,81,
07203     81,81,81,80,80,80,80,79,79,79,78,78,78,78,77,77,77,77,76,76,76,
07204     76,75,75,75,75,75,74,74,74,74,74,74,74,74,73,73,73,73,73,73,72,
07205     72,72,72,72,71,71,71,71,70,70,70,70,70,69,69,69,69,69,69,68,68,
07206     68,68,68,68,68,68,68,68,68,67,67,67,67,67,66,66,66,66,65,65,65,
07207     65,65,65,64,64,64,64,64,64,64,64,64,64,64,64,64,64,63,63,63,63,
07208     63,62,62,62,62,61,61,61,61,61,61,61,61,61,60,60,59,59,59,59,59,
07209     58,58,58,58,58,58,57,57,57,57,57,56,56,56,56,55,55,55,55,55,55,
07210     55,54,54,54,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,52,
07211     52,51,51,51,51,51,51,50,50,50,50,50,50,50,49,49,48,48,48,48,48,
07212     48,47,47,47,47,47,47,47,46,46,46,46,46,46,46,45,45,45,45,45,45,
07213     45,45,45,45,44,43,43,43,43,43,43,43,43,42,42,42,42,42,42,42,41,
07214     41,41,41,41,41,41,41,40,40,40,40,40,40,40,40,40,39,39,39,39,39,
07215     39,39,39,38,38,38,37,37,37,37,37,37,37,37,37,36,36,36,36,36,36,
07216     35,35,35,35,35,35,35,35,35,34,33,33,33,33,33,33,33,33,33,33,32,
07217     32,32,32,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,29,
07218     29,28,28,28,28,27,27,27,27,27,27,27,27,26,26,26,26,26,25,25,25,
07219     25,25,25,25,25,25,24,24,24,24,24,24,23,23,23,23,23,23,23,23,22,
07220     22,22,22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,20,20
07221   };
07222   const int n4c1w2_f[] = {
07223     100, // Capacity
07224     500, // Number of items
07225     // Size of items (sorted)
07226     100,100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,
07227     98,98,97,97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,94,
07228     94,94,94,93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,92,
07229     91,91,91,91,91,91,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,
07230     88,88,88,87,87,87,87,87,86,86,86,86,86,86,86,86,85,85,85,85,85,
07231     85,84,84,84,84,84,84,84,84,83,83,83,82,82,82,82,82,82,81,81,80,
07232     80,80,80,79,79,79,79,79,79,79,79,79,79,78,78,78,78,77,77,76,76,
07233     76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,74,74,74,
07234     74,73,73,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,
07235     70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,68,68,68,68,68,67,
07236     67,67,67,67,66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,
07237     64,64,64,64,64,64,64,63,63,63,63,63,63,62,62,62,62,62,61,61,61,
07238     61,61,61,60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,59,59,58,
07239     58,58,57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,
07240     55,55,55,54,54,54,54,53,53,53,53,53,53,52,52,52,52,51,51,51,51,
07241     51,51,51,51,51,51,50,50,50,50,50,49,49,49,48,48,48,48,48,48,47,
07242     47,47,47,47,46,46,46,46,46,45,45,45,45,44,44,44,44,43,43,43,43,
07243     43,43,43,43,43,43,42,42,42,42,42,42,42,42,42,41,41,41,41,41,41,
07244     41,40,40,40,40,40,40,40,40,39,39,39,39,39,38,38,38,38,38,38,38,
07245     38,37,37,37,37,37,37,37,37,37,36,36,36,35,35,35,35,35,35,34,34,
07246     33,33,33,33,33,33,33,33,33,32,32,32,32,32,31,31,31,31,31,31,31,
07247     31,31,31,31,31,31,30,30,30,30,30,30,30,29,29,29,28,28,28,28,28,
07248     28,27,27,27,26,26,26,26,26,25,25,25,25,24,24,24,24,24,23,23,23,
07249     23,23,22,22,22,22,21,21,21,20,20,20,20,20,20,20,20,20,20,20
07250   };
07251   const int n4c1w2_g[] = {
07252     100, // Capacity
07253     500, // Number of items
07254     // Size of items (sorted)
07255     100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,98,98,97,
07256     97,97,97,97,97,96,96,96,96,96,95,95,95,95,95,95,95,95,95,94,94,
07257     94,94,94,94,94,93,93,93,93,93,93,92,92,92,92,92,92,91,91,91,90,
07258     90,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,88,87,87,87,86,
07259     86,86,86,85,85,85,85,85,85,84,84,84,83,83,82,82,82,82,82,82,82,
07260     82,81,81,81,81,81,81,81,81,80,80,80,80,80,80,80,80,80,80,80,79,
07261     79,79,79,79,78,78,78,78,78,78,77,77,76,76,76,76,76,76,76,75,75,
07262     75,75,75,75,75,75,74,74,74,74,74,74,74,73,73,73,73,73,73,72,72,
07263     72,72,72,72,72,72,71,71,71,71,70,70,70,70,70,70,70,69,69,69,68,
07264     68,68,68,67,67,67,67,66,66,66,66,66,66,66,66,66,65,65,65,65,65,
07265     65,65,64,64,64,64,64,63,63,63,63,62,62,62,62,62,62,61,61,61,61,
07266     61,61,60,60,60,59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,57,
07267     57,57,56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,55,54,54,54,
07268     54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,50,50,
07269     50,50,50,50,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,48,48,
07270     48,47,47,46,46,46,46,45,45,45,45,45,45,45,45,45,45,44,44,44,44,
07271     44,44,44,43,43,43,43,43,43,42,42,42,42,42,42,42,42,41,41,41,41,
07272     41,41,41,41,41,40,40,40,40,40,40,40,40,39,39,39,39,38,38,38,38,
07273     38,38,37,37,37,37,37,37,37,37,36,36,36,36,36,36,36,35,35,35,35,
07274     35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,34,34,33,33,33,
07275     33,33,33,33,33,33,33,32,32,32,31,31,31,31,31,31,30,30,30,30,30,
07276     30,30,29,29,29,29,29,29,29,29,28,28,28,28,28,28,27,27,27,26,26,
07277     26,26,26,26,26,25,25,25,25,25,25,24,24,24,24,24,23,23,23,22,22,
07278     22,22,22,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20
07279   };
07280   const int n4c1w2_h[] = {
07281     100, // Capacity
07282     500, // Number of items
07283     // Size of items (sorted)
07284     100,100,100,100,100,99,99,99,98,98,98,97,97,97,97,97,97,96,96,
07285     96,96,96,96,95,95,95,95,95,95,95,95,95,95,94,94,94,94,94,94,94,
07286     94,94,93,93,93,93,92,92,92,92,92,92,91,91,91,91,91,90,90,90,90,
07287     90,89,89,89,89,89,88,88,88,88,88,87,87,87,87,86,86,86,86,85,85,
07288     85,85,85,85,84,84,84,84,84,84,83,83,83,83,83,83,83,83,82,82,82,
07289     82,82,82,82,82,81,81,81,80,80,80,80,80,80,80,79,79,79,79,78,78,
07290     78,77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,75,
07291     75,75,75,75,74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,71,
07292     71,71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,68,
07293     68,68,68,68,68,68,68,68,68,67,67,67,67,67,67,67,67,66,66,66,66,
07294     66,66,66,65,65,65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,63,
07295     63,63,62,62,62,62,62,62,61,61,61,61,61,60,60,60,60,60,60,59,59,
07296     59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,58,58,57,57,56,
07297     56,56,56,56,56,56,56,56,55,55,55,55,55,55,54,54,53,53,53,53,53,
07298     53,52,52,52,52,52,52,51,51,51,51,51,51,51,50,50,50,50,49,49,49,
07299     49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,48,48,48,47,47,47,
07300     46,46,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,44,
07301     44,44,43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,41,41,41,41,
07302     41,40,40,39,39,39,39,39,39,39,38,38,38,38,38,38,37,37,37,37,37,
07303     37,37,36,36,36,36,35,35,35,35,35,34,34,34,34,33,33,33,33,33,33,
07304     33,33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,30,30,30,30,30,
07305     30,30,30,30,30,29,29,29,29,29,29,28,28,28,27,27,27,27,27,27,26,
07306     26,26,26,26,26,26,26,26,25,25,25,25,25,24,24,24,23,23,23,23,23,
07307     22,22,22,22,22,22,22,21,21,21,20,20,20,20,20,20,20,20,20
07308   };
07309   const int n4c1w2_i[] = {
07310     100, // Capacity
07311     500, // Number of items
07312     // Size of items (sorted)
07313     100,100,100,100,100,99,99,99,98,98,98,98,97,97,97,97,96,96,96,
07314     96,96,96,96,96,96,95,95,95,95,95,94,94,94,94,94,94,94,93,93,93,
07315     93,93,92,92,92,92,92,92,92,91,91,91,91,91,90,90,90,90,89,89,89,
07316     89,89,89,89,89,89,89,89,89,89,89,88,88,87,87,87,87,87,86,86,86,
07317     86,86,86,86,86,86,85,85,85,85,85,84,84,84,84,84,83,83,83,83,82,
07318     82,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,80,80,79,79,79,
07319     79,79,79,79,79,79,79,78,78,78,78,77,77,77,77,77,76,76,76,76,76,
07320     75,75,75,75,75,75,75,75,75,75,75,74,74,74,74,73,73,73,73,73,73,
07321     73,72,72,72,72,72,72,72,71,71,71,71,71,71,71,71,70,70,70,70,69,
07322     69,69,69,69,69,69,68,68,68,68,67,67,67,66,66,66,66,66,66,65,65,
07323     64,64,64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,62,62,62,62,
07324     61,61,61,61,61,61,60,60,60,60,59,59,59,59,59,59,59,58,58,58,58,
07325     57,57,57,57,57,56,56,56,56,56,56,56,56,56,55,55,55,55,55,55,54,
07326     54,54,54,54,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,
07327     50,50,50,50,49,49,49,49,49,49,48,48,48,48,48,47,47,46,46,46,46,
07328     46,46,46,45,45,45,45,45,45,45,45,45,44,44,44,43,43,43,43,43,43,
07329     43,43,43,43,42,42,42,42,41,41,41,41,40,39,39,39,39,39,39,39,39,
07330     39,38,38,38,38,37,37,37,37,37,37,37,37,37,37,36,36,36,36,35,35,
07331     35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,
07332     33,33,33,33,33,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,31,
07333     31,31,31,31,31,30,30,30,30,30,29,29,29,28,28,28,28,28,28,27,27,
07334     27,27,27,27,26,26,26,26,26,26,26,25,25,25,25,25,25,25,25,25,25,
07335     25,25,25,24,24,24,24,24,24,24,24,24,24,23,23,23,23,23,23,23,23,
07336     22,22,22,22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,20
07337   };
07338   const int n4c1w2_j[] = {
07339     100, // Capacity
07340     500, // Number of items
07341     // Size of items (sorted)
07342     100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,98,97,97,97,
07343     97,97,97,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,95,
07344     95,94,94,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,92,91,
07345     91,91,91,91,91,91,90,90,90,90,90,90,89,88,88,88,88,88,88,88,87,
07346     87,87,87,87,87,87,86,86,86,86,86,85,85,85,85,84,84,84,84,84,83,
07347     83,83,83,83,82,82,82,82,82,82,82,82,82,82,82,82,81,81,81,81,81,
07348     80,80,80,80,80,79,79,79,79,79,79,79,79,79,79,79,78,78,78,78,77,
07349     77,77,77,77,77,77,76,76,76,76,76,76,75,75,75,75,74,74,74,74,74,
07350     73,73,73,73,73,73,73,73,72,72,72,71,71,71,71,71,71,71,71,70,70,
07351     70,70,69,69,69,69,68,68,68,68,68,68,68,67,67,67,67,67,66,66,66,
07352     66,66,65,65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,64,64,
07353     64,63,63,63,62,62,62,62,62,62,62,61,61,61,60,60,60,60,60,59,59,
07354     59,59,59,59,58,58,58,58,57,57,57,57,57,56,56,56,56,56,56,56,55,
07355     54,54,54,54,54,54,54,54,54,54,53,53,53,53,53,53,53,52,52,52,52,
07356     52,51,51,51,51,51,51,51,50,50,50,50,50,50,49,49,49,49,48,48,48,
07357     47,47,47,46,46,46,46,46,46,46,46,45,45,45,45,45,45,44,43,43,43,
07358     43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,41,41,41,41,41,40,
07359     40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,39,39,39,38,38,
07360     38,38,38,38,38,37,37,37,37,37,36,36,36,36,36,36,35,35,35,35,35,
07361     34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,32,32,31,31,31,
07362     31,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,29,
07363     29,29,29,29,29,28,28,28,28,28,28,28,28,28,28,27,27,27,27,26,26,
07364     26,26,26,25,25,25,25,25,25,25,25,25,24,24,24,24,24,24,23,23,22,
07365     22,22,22,22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,20
07366   };
07367   const int n4c1w2_k[] = {
07368     100, // Capacity
07369     500, // Number of items
07370     // Size of items (sorted)
07371     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,97,97,
07372     97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,94,
07373     93,93,93,93,93,92,92,92,92,92,92,91,91,91,91,90,90,90,90,90,90,
07374     89,89,89,89,89,89,89,89,88,88,88,88,88,88,88,88,88,88,87,87,87,
07375     87,87,87,86,86,86,86,86,86,86,85,85,84,84,84,84,84,84,84,84,83,
07376     83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,80,
07377     80,80,79,79,79,79,79,78,78,78,78,78,78,77,77,77,77,77,77,77,77,
07378     76,76,76,76,75,75,75,75,75,75,75,75,74,74,74,74,74,74,73,73,73,
07379     73,73,73,73,73,73,72,72,72,71,71,71,71,71,71,71,71,70,70,70,70,
07380     70,70,69,69,69,69,69,69,69,69,68,68,68,68,68,67,67,67,67,67,67,
07381     67,67,67,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,
07382     63,63,63,63,63,63,62,62,61,61,61,61,61,61,61,60,60,60,60,60,60,
07383     59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,
07384     56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,53,53,53,52,
07385     52,52,52,52,52,51,51,51,51,51,51,51,51,51,51,50,50,50,49,49,48,
07386     48,48,48,47,47,47,47,47,47,46,46,46,45,45,45,45,45,45,45,45,45,
07387     44,44,44,44,44,44,44,43,43,43,43,43,43,43,43,43,42,42,42,42,41,
07388     41,41,41,41,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,38,
07389     37,37,37,36,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,35,35,
07390     34,34,34,34,34,33,33,33,33,33,33,33,33,33,33,33,33,33,32,32,32,
07391     32,32,32,32,32,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30,30,
07392     29,29,29,29,29,29,29,29,29,29,29,28,28,28,28,27,27,27,26,26,25,
07393     25,25,25,25,25,25,25,25,25,24,24,24,24,24,24,24,24,24,24,24,23,
07394     23,23,23,22,22,22,22,22,22,22,22,22,21,21,21,21,20,20,20,20
07395   };
07396   const int n4c1w2_l[] = {
07397     100, // Capacity
07398     500, // Number of items
07399     // Size of items (sorted)
07400     100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,98,
07401     98,98,98,98,98,97,97,97,97,97,97,97,96,96,96,96,96,96,95,95,95,
07402     95,95,95,95,95,94,94,94,93,93,93,92,92,92,91,91,91,91,91,91,90,
07403     90,90,90,89,89,89,89,89,89,89,89,88,88,88,88,88,88,88,88,88,88,
07404     87,87,87,86,86,86,86,86,86,86,85,85,85,85,85,85,85,84,84,84,84,
07405     84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,82,82,82,82,82,82,
07406     81,81,81,81,81,81,81,80,80,80,79,79,78,78,78,78,78,78,78,78,78,
07407     77,77,77,77,77,77,77,77,77,76,76,76,75,75,74,74,74,74,74,74,73,
07408     73,73,73,73,73,72,72,72,72,71,71,71,71,71,71,71,70,70,70,70,69,
07409     69,69,69,69,69,69,69,68,68,68,68,68,68,68,68,67,67,67,66,66,66,
07410     66,65,65,65,65,65,65,65,65,64,64,64,64,64,63,63,63,63,63,63,62,
07411     62,62,62,62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,60,60,
07412     60,60,60,59,59,59,59,58,58,58,58,58,58,58,58,57,57,57,57,57,57,
07413     57,57,57,57,56,56,56,56,56,56,56,56,56,56,56,56,55,55,55,54,54,
07414     54,53,53,53,53,53,53,52,52,52,52,52,52,52,52,51,51,51,51,51,51,
07415     50,50,50,50,50,50,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,
07416     47,47,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,44,
07417     43,43,43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,41,41,40,40,
07418     40,39,39,39,39,39,39,39,39,39,38,38,38,38,38,38,38,38,38,37,37,
07419     37,36,36,36,36,36,35,35,35,35,35,35,34,34,34,34,34,33,33,33,33,
07420     33,33,33,33,32,32,31,31,31,31,30,30,30,30,30,29,29,29,29,29,29,
07421     29,28,28,28,28,28,27,27,27,27,27,27,27,27,26,26,26,26,26,26,25,
07422     25,25,25,25,25,25,24,24,24,24,24,24,23,23,23,23,23,23,23,22,22,
07423     22,22,22,22,22,22,22,21,21,21,21,21,21,21,21,20,20,20,20,20,20
07424   };
07425   const int n4c1w2_m[] = {
07426     100, // Capacity
07427     500, // Number of items
07428     // Size of items (sorted)
07429     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,
07430     98,98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,97,97,96,96,96,
07431     96,95,95,95,95,95,95,95,95,94,94,94,94,94,94,94,93,93,92,92,92,
07432     92,92,91,91,91,91,91,91,91,90,90,90,90,89,89,89,89,88,88,88,88,
07433     88,87,87,87,87,86,86,86,86,85,85,85,85,85,84,84,84,83,83,83,83,
07434     83,83,83,82,82,82,82,82,82,81,81,81,81,81,81,81,81,81,80,80,80,
07435     80,80,79,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,78,
07436     78,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,75,74,
07437     74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,72,72,72,72,71,71,
07438     71,71,71,70,70,70,70,70,69,69,69,69,69,69,69,68,68,68,68,68,68,
07439     68,68,68,68,68,68,67,67,67,67,67,66,66,66,66,66,66,66,66,65,65,
07440     65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,63,
07441     62,62,62,62,62,62,62,61,61,61,61,61,61,61,61,61,60,60,60,60,60,
07442     59,59,59,59,59,59,59,59,58,58,58,58,57,57,57,57,56,56,56,56,56,
07443     56,55,55,55,54,54,53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,
07444     51,51,51,51,50,50,50,50,50,50,49,49,49,49,48,48,48,48,48,48,47,
07445     47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,46,46,46,46,45,45,
07446     45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,43,43,43,43,42,42,
07447     42,42,42,42,42,42,41,41,41,40,40,40,40,40,39,39,39,39,38,38,38,
07448     37,37,37,37,37,36,36,36,36,36,36,35,35,35,35,35,35,35,34,34,34,
07449     33,33,33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,
07450     30,30,30,30,30,30,30,30,30,30,29,29,29,29,28,28,28,28,28,28,28,
07451     28,28,27,27,27,27,27,27,26,26,25,25,25,25,24,24,24,24,24,24,24,
07452     23,23,23,22,22,22,22,22,22,22,21,21,21,21,21,21,20,20,20,20
07453   };
07454   const int n4c1w2_n[] = {
07455     100, // Capacity
07456     500, // Number of items
07457     // Size of items (sorted)
07458     100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,98,98,
07459     98,98,98,98,98,97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,
07460     95,95,95,94,94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,92,92,
07461     92,92,92,92,92,92,91,91,91,91,91,91,91,90,90,90,90,90,90,90,90,
07462     89,89,89,89,89,89,89,89,89,88,88,88,88,88,88,88,87,87,87,87,87,
07463     87,86,86,86,86,85,85,85,85,85,85,85,85,85,84,84,84,84,84,83,83,
07464     83,83,82,81,81,81,81,81,80,80,80,80,79,79,79,79,79,79,79,78,78,
07465     78,78,78,77,77,77,77,76,76,76,76,76,76,75,75,75,75,74,74,73,73,
07466     73,73,73,72,72,72,72,72,72,71,71,71,71,71,70,70,70,70,70,70,69,
07467     69,69,69,69,68,68,68,68,68,68,68,67,67,67,66,66,66,66,66,66,66,
07468     66,65,65,64,64,63,63,63,63,63,63,63,63,63,63,63,62,62,62,62,61,
07469     61,61,61,61,61,61,60,60,60,60,59,59,59,59,59,58,58,58,58,58,57,
07470     57,57,57,57,57,56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,
07471     54,54,54,54,54,54,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,
07472     52,52,52,52,51,51,51,51,51,51,51,50,50,50,50,50,50,50,50,49,49,
07473     49,49,49,49,49,49,48,48,48,48,47,47,46,46,46,45,45,45,45,44,44,
07474     44,44,44,44,44,44,44,44,44,43,43,43,42,42,42,42,42,42,42,41,41,
07475     41,41,41,41,41,41,40,40,40,40,40,40,40,40,39,39,39,39,39,39,38,
07476     38,38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,36,36,36,36,36,
07477     35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,33,33,32,
07478     32,32,32,32,32,32,32,31,31,31,31,31,31,31,31,30,30,30,30,30,30,
07479     30,30,30,30,29,29,29,29,29,29,29,28,28,28,28,27,27,27,26,26,26,
07480     26,26,26,26,25,25,25,25,25,24,24,24,24,24,23,23,23,23,23,22,22,
07481     22,22,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,20,20
07482   };
07483   const int n4c1w2_o[] = {
07484     100, // Capacity
07485     500, // Number of items
07486     // Size of items (sorted)
07487     100,100,100,100,100,100,100,99,99,99,99,99,99,98,98,98,98,98,
07488     98,97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,95,95,95,
07489     95,94,94,94,94,93,93,93,93,93,92,92,91,91,91,91,91,91,91,90,90,
07490     90,89,89,89,89,89,89,89,88,88,88,88,88,88,88,88,88,88,87,87,87,
07491     87,87,86,86,86,86,86,86,86,86,86,86,86,86,85,85,85,85,85,85,84,
07492     84,84,84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,83,82,82,82,
07493     82,81,81,81,81,81,81,81,81,81,81,80,80,80,80,80,80,79,79,79,78,
07494     78,78,78,78,78,77,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,
07495     75,75,75,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,72,72,72,
07496     71,71,71,71,71,71,71,71,71,69,69,68,68,68,68,68,68,68,68,68,67,
07497     67,66,66,66,65,65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,63,
07498     63,63,62,62,62,62,62,62,62,61,61,61,61,61,61,61,61,60,60,60,60,
07499     60,60,60,60,60,59,59,59,59,58,58,58,58,58,58,57,57,57,57,57,57,
07500     56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,
07501     53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,51,51,51,51,51,50,
07502     50,50,50,50,50,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,47,
07503     47,47,47,47,47,47,47,46,46,46,46,46,46,45,45,45,45,45,45,45,44,
07504     44,44,44,44,44,44,43,43,43,42,42,42,42,42,42,42,41,40,40,40,40,
07505     40,40,39,39,39,39,39,39,38,38,38,38,38,37,37,37,37,37,36,36,36,
07506     36,36,36,35,35,35,35,34,34,34,34,33,33,33,32,32,32,32,32,32,32,
07507     32,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,29,29,
07508     29,29,29,29,29,29,29,29,29,29,28,28,28,28,28,28,27,27,27,27,27,
07509     27,27,26,26,26,26,26,25,25,25,25,25,25,25,25,24,24,24,24,24,23,
07510     23,23,23,22,22,22,22,21,21,21,21,21,21,21,21,20,20,20,20,20
07511   };
07512   const int n4c1w2_p[] = {
07513     100, // Capacity
07514     500, // Number of items
07515     // Size of items (sorted)
07516     100,100,100,100,99,99,99,99,98,98,98,98,98,98,98,98,98,98,97,
07517     97,97,97,96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,94,94,94,
07518     94,94,94,94,93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,91,
07519     91,91,91,90,90,90,90,89,89,89,89,89,89,88,88,88,87,87,87,87,86,
07520     86,86,86,85,85,84,84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,
07521     83,83,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,80,80,80,80,
07522     80,79,79,79,79,79,78,78,78,77,77,77,77,77,77,77,76,76,76,76,76,
07523     75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,73,73,73,73,72,72,
07524     72,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,70,70,70,70,70,
07525     70,70,69,69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,67,67,67,
07526     67,67,67,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,63,63,
07527     63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,61,61,61,61,61,60,
07528     60,60,60,60,60,59,59,59,59,59,58,58,58,58,58,58,57,57,57,57,57,
07529     57,57,57,57,56,56,56,56,56,56,55,55,54,54,54,54,54,54,54,54,54,
07530     54,54,54,53,53,53,53,53,53,52,52,52,52,51,51,51,51,51,51,50,50,
07531     50,50,49,49,49,48,48,48,48,48,48,48,48,48,48,47,47,47,47,47,46,
07532     46,46,46,46,46,46,46,45,45,45,45,45,45,45,45,44,44,44,43,43,43,
07533     43,43,43,43,42,42,42,42,42,42,42,41,41,41,41,41,41,41,40,40,40,
07534     40,40,40,39,39,39,39,39,39,39,39,39,38,38,38,38,38,38,37,37,37,
07535     37,37,37,37,37,37,37,36,36,36,36,36,36,36,35,35,34,34,34,34,34,
07536     34,33,33,33,33,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,
07537     30,30,30,30,30,30,29,29,29,29,29,29,28,28,28,28,28,27,27,27,27,
07538     27,27,26,26,26,26,26,25,25,25,25,25,25,25,25,24,24,24,23,23,23,
07539     23,23,23,22,22,21,21,21,21,21,21,20,20,20,20,20,20,20,20
07540   };
07541   const int n4c1w2_q[] = {
07542     100, // Capacity
07543     500, // Number of items
07544     // Size of items (sorted)
07545     100,100,100,100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,
07546     97,97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,95,94,94,94,94,
07547     94,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,92,91,91,91,
07548     91,91,91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,89,89,89,88,
07549     88,88,88,87,87,87,87,87,86,86,86,86,86,86,85,85,85,85,84,84,84,
07550     84,84,84,84,84,83,83,82,82,82,82,82,82,82,81,81,81,81,81,81,81,
07551     80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,78,78,78,78,77,77,
07552     77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,76,75,75,75,75,74,
07553     74,74,74,74,74,74,74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,
07554     71,71,71,71,71,71,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,
07555     69,68,68,68,68,68,67,67,67,66,66,66,66,66,66,66,66,65,65,65,65,
07556     65,65,65,65,64,64,64,63,63,63,62,62,62,62,61,61,61,61,61,61,61,
07557     61,61,60,60,60,60,59,59,59,59,59,59,59,58,58,57,57,57,57,57,57,
07558     57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,54,
07559     54,54,54,54,54,54,54,54,53,53,53,53,53,52,52,52,51,51,51,51,50,
07560     50,50,50,50,50,50,50,50,50,49,49,49,48,48,48,48,48,48,48,48,47,
07561     47,47,46,46,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,
07562     44,44,44,44,44,43,43,42,42,42,42,42,41,41,41,41,41,41,40,40,40,
07563     40,40,40,40,40,39,39,39,39,39,39,39,39,39,38,38,38,37,37,37,37,
07564     37,37,36,36,36,36,36,36,36,35,35,35,35,34,34,34,34,34,34,34,34,
07565     34,34,33,33,33,33,33,32,32,32,31,31,31,31,31,31,31,30,30,30,30,
07566     30,30,29,29,29,29,29,28,28,28,28,28,28,28,27,27,27,27,27,26,26,
07567     26,26,26,26,25,25,25,25,24,24,24,24,24,24,24,23,23,23,23,23,23,
07568     23,22,22,22,22,22,22,22,21,21,21,21,20,20,20,20,20,20,20,20
07569   };
07570   const int n4c1w2_r[] = {
07571     100, // Capacity
07572     500, // Number of items
07573     // Size of items (sorted)
07574     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,
07575     99,99,99,98,98,98,98,98,97,97,97,96,96,96,96,96,96,96,96,96,96,
07576     96,95,95,95,94,94,93,93,93,93,93,93,93,92,92,92,92,92,92,92,91,
07577     91,91,90,90,90,89,89,89,89,89,89,89,89,89,89,89,88,88,88,88,88,
07578     88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,86,86,86,86,86,85,
07579     85,85,84,84,84,84,84,83,83,83,83,83,83,83,83,82,82,82,82,82,82,
07580     81,81,81,80,80,80,80,80,79,79,79,79,78,78,78,78,78,78,78,78,78,
07581     78,78,77,77,77,77,77,77,77,76,76,76,76,75,75,75,75,75,75,75,75,
07582     75,74,74,74,74,74,74,74,74,73,73,73,73,73,73,72,72,72,72,71,71,
07583     71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,68,68,68,
07584     68,68,67,67,67,67,67,67,67,67,67,67,66,66,66,66,65,65,65,65,65,
07585     65,65,64,64,64,64,64,64,64,64,64,63,63,63,63,62,62,62,62,62,61,
07586     61,61,61,60,60,60,60,59,59,59,59,59,58,58,58,58,58,58,58,58,58,
07587     58,58,57,57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,54,54,54,
07588     54,53,53,52,52,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,
07589     49,49,49,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,48,47,47,
07590     46,46,46,46,46,46,46,46,46,46,46,45,45,44,44,44,44,44,44,43,43,
07591     43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,42,42,41,41,41,41,
07592     40,40,40,40,40,40,40,40,39,39,39,39,38,38,38,38,38,38,37,37,37,
07593     37,37,37,36,36,36,36,36,35,35,35,35,35,34,34,34,34,34,34,34,33,
07594     33,33,33,33,33,33,33,32,31,31,31,31,30,30,30,30,30,30,30,29,29,
07595     29,29,29,29,29,29,28,28,28,28,27,27,27,27,27,26,26,26,26,26,26,
07596     25,25,25,25,25,25,25,24,24,24,24,24,24,23,22,22,22,22,22,22,22,
07597     22,22,21,21,21,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20
07598   };
07599   const int n4c1w2_s[] = {
07600     100, // Capacity
07601     500, // Number of items
07602     // Size of items (sorted)
07603     100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,98,98,
07604     98,98,98,98,97,97,97,97,97,97,97,97,96,96,96,95,95,95,95,95,94,
07605     94,94,94,94,93,93,93,93,93,93,93,93,92,92,92,92,91,91,91,91,91,
07606     91,91,91,91,90,90,90,89,89,89,89,89,89,89,89,89,89,89,89,89,89,
07607     88,88,88,88,88,87,87,87,87,87,87,87,86,86,86,85,85,85,85,85,85,
07608     85,85,85,84,84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,82,82,
07609     82,82,82,82,82,81,81,80,80,79,79,79,79,79,79,78,78,78,77,77,77,
07610     77,76,76,76,76,76,75,75,74,74,73,73,73,73,73,73,73,73,73,72,72,
07611     72,72,72,72,72,71,71,71,71,70,70,70,69,69,69,69,69,69,69,69,69,
07612     68,68,68,68,68,68,68,68,68,68,68,67,67,67,67,66,66,66,66,66,65,
07613     65,65,65,65,65,65,65,64,64,64,64,64,63,63,63,63,63,63,63,63,63,
07614     63,63,62,62,62,62,62,62,62,61,61,61,61,61,60,60,59,59,59,59,59,
07615     59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,57,57,57,57,56,
07616     56,56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,54,54,54,53,53,
07617     53,53,52,52,52,52,52,51,51,51,51,51,50,50,50,49,49,49,49,48,47,
07618     47,47,47,47,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,44,
07619     44,44,43,43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,42,41,41,
07620     41,41,41,40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,39,39,
07621     39,38,38,38,38,38,38,38,38,38,38,38,38,37,37,37,37,37,37,36,36,
07622     36,36,36,36,36,36,35,35,35,35,35,35,35,34,34,34,34,33,33,33,33,
07623     33,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,
07624     29,29,29,29,29,29,29,28,28,28,28,28,28,28,28,27,27,27,27,27,27,
07625     26,26,26,26,26,26,26,26,26,25,25,25,25,25,25,25,25,24,24,24,24,
07626     23,23,23,23,23,23,23,22,22,22,22,21,21,21,21,21,20,20,20
07627   };
07628   const int n4c1w2_t[] = {
07629     100, // Capacity
07630     500, // Number of items
07631     // Size of items (sorted)
07632     100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,98,98,98,
07633     98,98,98,98,97,97,96,96,96,96,96,96,96,96,96,96,95,95,95,95,95,
07634     95,95,94,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,92,92,
07635     91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,
07636     89,88,88,87,87,87,87,87,86,86,86,86,85,85,85,84,84,84,84,84,83,
07637     83,83,83,83,83,83,82,82,82,81,80,80,80,80,80,80,80,80,80,80,79,
07638     79,79,79,79,78,78,78,78,78,78,78,77,77,77,76,76,76,76,76,76,76,
07639     76,75,75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,74,74,74,73,
07640     73,73,73,73,73,73,72,72,72,72,72,72,72,72,72,71,71,71,71,71,71,
07641     71,70,70,70,70,70,70,69,69,69,69,69,69,69,68,68,68,67,67,67,67,
07642     67,67,67,67,66,66,66,65,65,65,65,65,65,65,65,65,64,64,64,64,64,
07643     64,63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,61,61,61,61,61,
07644     60,60,60,60,60,60,60,60,59,59,59,59,59,59,59,58,58,58,58,57,57,
07645     57,57,57,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,
07646     54,53,53,53,53,53,53,53,53,52,52,52,52,51,51,51,51,51,51,51,51,
07647     51,50,50,50,50,50,50,50,49,49,49,49,49,49,49,48,48,48,48,47,47,
07648     47,47,47,47,47,46,46,46,46,46,46,46,45,45,45,45,45,45,45,45,45,
07649     45,45,45,44,44,44,44,44,44,44,44,43,43,43,43,43,43,43,43,42,42,
07650     42,42,42,42,41,41,41,41,41,41,40,40,40,40,40,39,39,39,39,39,38,
07651     38,38,38,38,38,37,37,36,36,36,36,36,36,36,36,36,36,35,35,35,34,
07652     34,34,33,33,33,32,32,32,32,32,32,32,32,32,32,31,31,31,31,31,31,
07653     30,30,30,30,29,29,29,29,29,28,28,28,28,27,27,27,26,26,26,26,26,
07654     25,25,25,25,25,25,24,24,24,24,23,23,23,23,22,22,22,22,22,21,21,
07655     21,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,20,20,20
07656   };
07657   const int n4c1w4_a[] = {
07658     100, // Capacity
07659     500, // Number of items
07660     // Size of items (sorted)
07661     100,100,100,100,100,100,99,99,99,99,99,99,98,98,98,98,98,97,97,
07662     97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,
07663     95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,93,93,92,92,92,
07664     92,92,92,91,91,91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,89,
07665     89,89,89,89,88,88,88,88,88,88,88,88,88,88,88,87,87,87,87,87,87,
07666     87,87,87,87,86,86,86,86,86,86,86,86,85,85,85,85,85,85,85,85,85,
07667     84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,83,82,82,82,82,81,
07668     81,81,81,81,81,81,81,80,80,80,80,80,79,79,79,79,79,79,79,78,78,
07669     78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,75,74,
07670     74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,73,73,73,73,73,73,
07671     73,73,73,73,72,72,72,72,72,72,71,71,71,71,70,70,70,70,70,69,69,
07672     69,69,69,69,69,69,69,69,68,68,68,67,67,67,67,67,67,67,67,66,66,
07673     66,66,66,66,65,65,65,65,65,65,65,65,64,64,64,64,64,64,63,63,63,
07674     63,63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,60,60,60,60,60,
07675     60,60,60,60,60,59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,
07676     58,57,57,57,56,56,56,56,56,56,56,56,56,56,55,55,55,55,55,54,54,
07677     54,54,54,54,54,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,51,
07678     51,50,50,50,50,50,50,50,50,50,50,49,49,49,49,48,48,48,48,48,48,
07679     48,48,48,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,46,
07680     46,46,46,46,46,46,45,45,45,45,45,44,44,44,44,44,44,44,44,43,43,
07681     43,43,42,42,42,42,42,42,42,42,42,41,41,41,41,41,40,40,40,40,40,
07682     40,39,39,39,39,39,38,38,38,38,38,38,37,37,37,37,37,36,36,36,36,
07683     36,36,36,36,36,35,35,35,35,35,35,35,35,35,34,34,34,33,33,33,33,
07684     33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30
07685   };
07686   const int n4c1w4_b[] = {
07687     100, // Capacity
07688     500, // Number of items
07689     // Size of items (sorted)
07690     100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,
07691     98,98,98,98,98,98,98,98,98,98,97,97,97,97,97,97,96,96,96,96,96,
07692     96,96,96,96,95,95,95,95,95,95,94,94,93,93,93,93,93,93,92,92,92,
07693     92,92,92,92,91,91,91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,
07694     89,89,89,89,89,89,89,88,88,88,88,88,87,87,87,87,87,87,87,86,86,
07695     86,86,85,85,85,85,85,84,84,83,83,83,83,83,83,82,82,82,82,81,81,
07696     81,81,81,81,81,81,81,81,81,80,80,80,80,79,79,79,79,79,79,79,78,
07697     78,78,78,78,78,78,77,77,77,77,77,77,76,76,76,76,76,76,76,75,75,
07698     75,75,75,75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,73,72,72,
07699     72,72,72,72,71,70,70,70,69,69,69,69,69,69,69,69,69,68,68,68,68,
07700     68,68,68,68,68,68,67,67,67,67,67,66,66,66,66,66,65,65,65,65,65,
07701     65,65,64,64,64,64,64,64,63,63,63,63,63,63,63,62,62,62,62,62,62,
07702     62,62,62,61,61,61,61,61,61,60,60,60,60,60,60,59,59,59,59,59,59,
07703     58,58,58,58,58,58,58,58,58,58,58,58,58,58,57,57,57,57,57,57,57,
07704     57,56,56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,54,53,53,
07705     53,53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,51,51,
07706     51,51,51,51,51,51,51,51,51,51,51,50,50,50,50,50,50,50,49,49,49,
07707     49,49,49,49,49,49,48,48,48,48,48,48,48,48,48,47,47,47,47,47,47,
07708     47,47,47,47,47,46,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,
07709     44,44,44,44,44,43,43,43,43,43,43,43,43,43,43,43,42,42,42,42,42,
07710     42,42,42,42,41,41,41,41,41,41,41,40,40,39,39,39,39,39,39,38,38,
07711     38,38,37,37,37,37,37,37,37,37,37,36,36,36,36,36,35,35,35,35,35,
07712     35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,
07713     33,33,33,33,33,33,32,32,32,32,32,31,31,31,31,30,30,30,30,30
07714   };
07715   const int n4c1w4_c[] = {
07716     100, // Capacity
07717     500, // Number of items
07718     // Size of items (sorted)
07719     100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,98,98,98,98,
07720     97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,95,94,
07721     94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,92,92,92,92,92,92,
07722     92,92,92,91,91,91,91,91,91,90,90,90,90,90,90,90,90,90,90,89,89,
07723     89,89,89,89,89,89,89,89,89,89,88,88,88,88,88,87,87,87,87,87,87,
07724     87,87,86,86,86,86,86,85,85,85,84,84,83,83,83,83,83,82,82,82,82,
07725     82,82,81,81,81,81,80,80,80,80,80,80,80,80,80,80,80,79,79,79,79,
07726     78,78,78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,76,76,76,76,
07727     76,76,75,75,75,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,
07728     73,73,72,72,72,71,71,71,71,71,71,71,71,71,70,70,70,70,70,70,70,
07729     69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,67,67,67,67,67,
07730     67,67,67,67,67,67,67,67,67,67,67,66,66,66,66,66,66,66,66,66,66,
07731     65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,64,64,63,63,63,63,
07732     63,63,62,62,62,62,62,62,62,62,62,62,61,61,61,61,61,61,61,60,60,
07733     60,60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,58,58,58,58,58,
07734     58,58,58,58,57,57,57,56,56,56,55,55,55,55,55,55,55,54,54,54,54,
07735     54,54,53,53,53,53,52,52,52,52,51,51,51,51,51,51,51,51,51,51,50,
07736     50,50,50,50,50,50,50,50,50,50,49,49,49,49,49,49,49,49,48,48,48,
07737     48,48,48,47,47,47,47,47,47,46,46,46,46,46,45,45,45,45,45,44,44,
07738     44,44,44,44,44,44,44,43,43,43,43,43,43,43,43,43,42,42,42,42,42,
07739     41,41,41,41,41,41,41,41,41,40,40,40,39,39,39,39,39,39,38,38,38,
07740     38,38,38,38,38,38,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,
07741     35,35,35,35,34,34,34,34,34,34,33,33,33,33,33,33,33,33,33,33,32,
07742     32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,30
07743   };
07744   const int n4c1w4_d[] = {
07745     100, // Capacity
07746     500, // Number of items
07747     // Size of items (sorted)
07748     100,100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,
07749     99,98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,97,96,96,96,96,
07750     95,95,95,95,95,95,95,94,94,94,93,93,93,93,93,93,93,93,92,92,92,
07751     92,92,92,91,91,91,90,90,90,89,89,89,89,89,89,89,89,89,89,88,88,
07752     88,88,88,87,87,87,87,86,86,86,86,86,86,86,86,86,86,86,85,85,85,
07753     85,85,85,85,85,85,85,85,84,84,84,84,83,83,83,83,83,83,83,82,82,
07754     82,82,82,82,81,80,80,80,80,80,80,80,80,80,79,79,79,79,79,78,78,
07755     78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,76,75,
07756     75,75,75,75,75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,73,73,
07757     73,73,72,72,72,72,71,71,71,71,71,71,71,71,71,70,70,70,70,69,69,
07758     69,69,68,68,68,68,68,68,67,67,67,67,67,66,66,66,66,66,65,65,65,
07759     65,65,65,64,64,64,64,64,64,64,64,64,64,63,63,63,63,63,63,63,62,
07760     62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,61,61,61,61,
07761     61,61,61,61,61,61,60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,
07762     58,58,58,58,58,58,58,58,58,57,57,57,57,57,57,57,56,56,56,56,56,
07763     56,56,55,55,55,55,55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,
07764     53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,51,51,
07765     51,51,51,50,50,50,50,50,49,49,49,49,49,49,49,49,49,48,48,48,48,
07766     47,47,47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,45,45,45,45,
07767     45,45,44,44,44,44,44,44,44,44,43,43,43,43,43,43,42,42,42,42,42,
07768     42,42,41,41,41,41,41,41,41,41,40,40,40,40,40,40,39,39,39,39,39,
07769     38,38,38,38,38,38,38,38,38,38,37,37,37,37,37,37,36,36,36,36,36,
07770     36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,34,34,34,34,34,34,
07771     34,33,33,33,33,33,33,33,32,31,31,31,31,31,30,30,30,30,30,30,30
07772   };
07773   const int n4c1w4_e[] = {
07774     100, // Capacity
07775     500, // Number of items
07776     // Size of items (sorted)
07777     100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,98,98,
07778     98,98,98,98,98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,96,96,
07779     96,96,96,96,96,96,96,96,96,95,95,95,95,94,94,94,94,94,93,93,93,
07780     93,93,93,92,92,92,92,92,92,92,91,91,91,91,91,90,90,90,90,90,90,
07781     90,90,89,89,89,89,89,89,89,89,89,89,88,88,88,88,88,88,87,87,87,
07782     87,87,87,86,86,86,86,85,85,85,85,85,85,85,85,85,85,84,84,84,84,
07783     84,84,84,83,83,83,83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,
07784     81,81,80,80,80,80,80,80,80,80,80,80,80,80,80,80,79,79,79,79,79,
07785     79,78,78,78,78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,76,76,
07786     76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,
07787     74,74,74,73,73,73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,71,
07788     71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,68,68,
07789     68,68,68,68,67,67,67,67,67,67,67,67,67,67,67,67,67,67,66,66,66,
07790     66,66,66,66,66,65,65,65,65,64,64,64,64,63,63,63,63,63,63,63,63,
07791     63,63,62,62,62,62,62,61,61,61,61,61,60,60,60,60,60,60,59,59,59,
07792     59,59,59,59,59,59,59,59,59,59,58,58,58,58,57,57,57,57,57,57,57,
07793     57,57,56,56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,53,53,53,
07794     53,53,53,53,53,52,52,52,52,51,51,51,51,51,51,50,50,49,49,49,49,
07795     49,49,48,48,48,48,48,48,47,47,47,47,47,47,47,46,46,46,46,46,46,
07796     46,45,45,45,45,45,44,44,44,43,43,43,43,43,43,43,43,43,43,42,42,
07797     42,42,42,42,42,42,42,42,41,41,41,41,41,41,40,40,39,39,39,39,39,
07798     39,39,38,38,38,38,38,38,38,38,37,37,36,36,36,36,36,36,35,35,35,
07799     35,35,35,35,35,34,34,34,34,33,33,33,33,33,33,32,32,32,32,32,32,
07800     32,32,32,32,32,32,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30
07801   };
07802   const int n4c1w4_f[] = {
07803     100, // Capacity
07804     500, // Number of items
07805     // Size of items (sorted)
07806     100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,98,97,97,97,97,
07807     97,97,96,96,96,96,96,96,96,94,94,94,94,94,94,93,93,93,93,93,92,
07808     92,92,91,91,91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,88,88,
07809     88,88,88,87,87,87,87,87,87,86,86,86,86,85,85,85,84,84,84,84,84,
07810     84,84,83,83,83,83,83,83,83,83,83,83,82,82,82,82,82,82,81,81,81,
07811     81,81,81,81,81,80,80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,
07812     78,78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,76,76,76,76,76,
07813     76,76,76,76,75,75,75,75,75,75,75,75,75,75,74,74,74,74,74,74,74,
07814     73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,72,72,72,
07815     72,72,72,72,71,71,71,70,70,70,70,69,69,69,69,69,69,69,69,69,69,
07816     69,69,68,68,68,68,68,68,68,68,68,68,68,67,67,66,66,66,66,65,65,
07817     65,65,65,65,65,65,64,64,64,64,64,64,64,64,64,64,64,64,64,63,63,
07818     63,63,63,63,63,63,62,62,62,62,62,61,61,61,61,61,60,60,60,60,60,
07819     60,60,60,60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,59,59,58,
07820     58,58,58,58,58,58,58,58,58,57,57,57,57,57,57,57,57,57,57,57,57,
07821     56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,54,54,54,54,54,
07822     54,54,54,54,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,52,51,
07823     51,51,51,51,51,51,51,51,50,50,50,50,50,50,50,50,50,49,49,49,48,
07824     48,48,48,48,47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,46,45,
07825     45,45,45,44,44,44,44,44,44,44,44,44,44,44,43,43,43,42,42,42,41,
07826     41,41,41,41,40,40,40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,
07827     39,39,38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,36,36,36,36,
07828     36,35,35,35,35,35,35,35,35,34,34,34,34,34,33,33,33,33,32,32,32,
07829     32,32,32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,30
07830   };
07831   const int n4c1w4_g[] = {
07832     100, // Capacity
07833     500, // Number of items
07834     // Size of items (sorted)
07835     100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,98,98,98,
07836     98,98,98,98,97,97,97,97,97,97,97,96,96,96,96,96,96,95,95,95,95,
07837     95,95,95,95,95,94,94,94,94,94,93,93,93,93,93,93,93,93,93,93,92,
07838     92,92,92,92,92,91,91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,
07839     89,89,89,89,89,89,89,89,88,88,88,88,87,87,87,87,87,87,87,86,86,
07840     86,86,86,86,86,86,86,86,85,85,85,85,85,85,84,84,83,83,83,83,83,
07841     82,82,82,82,82,82,82,82,82,82,82,82,82,81,81,81,81,81,81,81,81,
07842     81,80,80,80,80,80,80,79,79,79,79,79,79,79,79,79,78,78,78,78,78,
07843     78,78,78,78,78,77,77,77,77,77,77,77,77,77,77,77,76,76,76,75,75,
07844     75,75,75,75,75,75,75,74,74,74,74,74,74,74,73,73,73,73,73,73,73,
07845     73,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,71,70,70,70,70,
07846     70,70,69,69,69,69,69,68,68,68,68,68,68,68,68,68,68,68,68,67,67,
07847     67,66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,63,
07848     63,63,63,63,63,62,62,62,62,62,62,61,61,61,60,60,60,60,60,60,60,
07849     60,60,60,59,59,59,59,59,59,59,59,59,58,58,58,58,58,58,57,57,57,
07850     56,56,56,56,55,55,55,55,55,55,55,54,54,54,54,54,54,54,54,54,54,
07851     53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,51,51,51,51,51,50,
07852     50,50,50,50,50,49,49,49,49,49,49,49,48,48,48,48,48,48,48,48,47,
07853     47,47,47,47,47,47,47,46,46,46,46,46,46,45,45,45,45,44,44,44,44,
07854     44,44,44,43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,42,42,41,
07855     41,41,41,41,41,41,41,41,41,40,40,40,40,40,39,39,39,39,39,39,39,
07856     39,38,38,38,38,37,37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,
07857     35,35,35,34,34,34,34,33,33,33,33,33,33,32,32,32,32,32,32,32,32,
07858     32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30
07859   };
07860   const int n4c1w4_h[] = {
07861     100, // Capacity
07862     500, // Number of items
07863     // Size of items (sorted)
07864     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,
07865     99,99,99,98,98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,97,97,
07866     96,96,96,96,96,95,95,95,95,95,95,95,95,95,95,95,95,94,94,94,94,
07867     94,94,93,93,93,93,93,92,92,92,92,92,92,91,91,91,91,91,91,91,91,
07868     91,91,91,91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,89,88,88,
07869     88,88,88,87,87,87,87,87,87,87,86,86,86,86,86,86,86,86,85,85,85,
07870     85,84,84,84,84,84,84,84,83,83,83,83,82,82,82,82,82,82,82,82,82,
07871     82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,80,80,80,80,80,79,
07872     79,79,79,79,79,79,78,78,78,78,78,78,78,78,77,77,77,76,76,76,76,
07873     76,76,76,76,76,76,76,76,76,75,75,75,75,74,74,74,74,74,74,73,73,
07874     73,72,72,72,71,71,71,71,71,71,71,70,70,70,70,70,70,70,70,70,69,
07875     69,69,69,69,68,68,68,68,68,68,68,67,67,67,67,67,67,66,66,66,66,
07876     66,66,66,66,66,65,65,65,65,65,65,65,65,65,65,64,64,64,64,64,63,
07877     63,63,63,63,63,62,62,62,62,62,61,61,61,61,61,61,61,61,61,60,60,
07878     60,60,60,59,59,59,59,58,58,58,58,58,58,58,58,58,57,57,57,57,57,
07879     57,56,56,56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,
07880     54,54,54,54,54,53,53,52,52,52,52,52,51,51,51,51,50,50,49,49,49,
07881     49,49,48,48,48,48,48,48,48,47,47,47,47,46,46,46,46,46,46,45,45,
07882     45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,44,44,43,43,43,43,
07883     43,43,43,43,42,42,42,42,42,42,42,42,42,41,41,41,41,41,41,40,40,
07884     40,39,39,39,38,38,38,38,38,38,38,38,38,38,38,37,37,37,37,37,37,
07885     37,37,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,34,34,34,34,
07886     34,34,34,34,34,34,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,
07887     32,31,31,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30
07888   };
07889   const int n4c1w4_i[] = {
07890     100, // Capacity
07891     500, // Number of items
07892     // Size of items (sorted)
07893     100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,98,98,
07894     98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,97,97,96,96,96,96,
07895     96,96,95,95,95,95,95,95,95,95,95,95,94,94,94,94,94,94,94,94,94,
07896     93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,91,
07897     91,91,91,91,91,91,91,90,90,90,90,89,89,89,89,89,89,89,89,88,88,
07898     88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,86,86,86,85,85,85,
07899     85,85,85,84,84,84,84,84,84,84,84,83,83,83,83,82,82,82,82,82,82,
07900     81,81,81,81,81,80,80,80,80,80,80,80,80,80,80,80,80,79,79,79,79,
07901     78,78,78,78,78,78,77,77,77,76,76,76,76,76,76,76,76,75,75,75,75,
07902     75,75,75,75,75,75,75,74,74,74,74,74,74,74,73,73,73,72,72,72,72,
07903     72,71,71,71,71,71,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,
07904     69,69,68,68,68,68,68,68,68,67,67,67,67,67,67,67,66,66,66,66,66,
07905     66,66,66,66,65,65,65,65,64,64,64,64,64,64,64,63,63,63,63,62,62,
07906     62,62,62,62,61,61,61,61,61,61,61,61,61,61,61,60,60,60,60,60,60,
07907     59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,
07908     57,56,56,56,56,56,55,55,55,55,55,55,55,54,54,54,54,53,53,53,53,
07909     53,52,52,52,52,52,52,52,52,52,52,51,51,51,51,51,50,50,50,50,50,
07910     50,49,49,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,46,
07911     46,45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,44,44,44,44,44,
07912     43,43,43,43,43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,40,40,
07913     40,40,40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,39,39,38,
07914     38,38,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,36,36,
07915     35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,34,33,33,33,33,
07916     33,33,32,32,32,32,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30
07917   };
07918   const int n4c1w4_j[] = {
07919     100, // Capacity
07920     500, // Number of items
07921     // Size of items (sorted)
07922     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,
07923     98,98,98,98,98,98,98,97,97,97,97,96,96,96,96,96,96,96,96,96,96,
07924     96,95,95,95,95,95,95,95,94,94,94,94,94,94,94,93,93,93,93,93,93,
07925     93,93,92,92,92,92,92,92,92,92,92,92,92,92,91,91,91,91,91,91,90,
07926     90,90,90,90,90,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,88,
07927     87,87,87,87,87,87,87,87,87,87,86,86,86,86,86,86,85,85,85,85,85,
07928     85,85,85,85,85,85,84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,
07929     82,82,82,82,82,82,82,81,81,81,80,80,80,80,80,80,80,80,80,80,80,
07930     80,79,79,79,79,79,79,79,79,79,78,78,78,78,77,77,77,77,77,77,76,
07931     76,76,76,76,76,76,76,76,75,75,75,75,75,75,74,74,74,74,74,74,73,
07932     73,73,73,73,73,73,73,72,72,72,71,71,71,71,71,71,71,70,70,70,70,
07933     70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,68,68,68,68,68,67,
07934     67,67,66,66,65,65,65,65,65,65,65,65,64,64,64,64,64,63,63,63,63,
07935     63,63,63,62,62,62,62,62,62,62,62,62,62,62,61,61,61,61,61,61,61,
07936     61,61,60,60,60,60,60,60,59,59,59,59,59,59,59,59,59,59,59,59,59,
07937     59,58,58,58,58,57,57,57,57,57,57,57,56,56,56,56,56,56,56,56,55,
07938     55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,52,52,52,52,52,52,
07939     52,51,51,51,51,51,51,51,51,51,50,50,50,50,50,50,49,49,49,48,48,
07940     48,48,48,48,48,48,48,48,48,47,47,47,47,46,46,46,46,46,46,46,45,
07941     45,45,45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,43,43,43,42,
07942     42,42,42,42,42,42,41,41,41,41,40,40,40,40,40,40,39,39,39,39,39,
07943     39,39,38,38,38,38,38,38,38,37,37,37,37,37,37,36,36,36,36,36,36,
07944     35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,34,34,34,34,34,33,
07945     33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30,30
07946   };
07947   const int n4c1w4_k[] = {
07948     100, // Capacity
07949     500, // Number of items
07950     // Size of items (sorted)
07951     100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,98,
07952     98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,96,96,96,96,96,96,
07953     96,96,96,96,95,95,95,95,95,95,95,95,95,94,94,94,93,93,93,93,93,
07954     93,92,92,92,92,92,92,92,91,91,91,91,91,91,91,90,90,90,90,90,89,
07955     89,89,89,89,89,89,89,89,89,88,88,88,88,88,88,88,88,88,88,88,88,
07956     88,88,87,87,87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,85,85,
07957     85,85,84,84,84,84,84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,
07958     83,82,82,82,81,81,81,80,80,80,80,80,79,79,79,79,79,78,78,78,78,
07959     78,78,77,77,77,77,77,77,77,77,77,76,76,76,75,75,75,75,75,75,74,
07960     74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,73,73,73,73,72,72,
07961     72,72,72,72,72,71,71,71,71,71,71,71,71,71,71,70,70,70,70,70,70,
07962     70,70,70,69,69,69,69,69,69,69,69,69,69,69,69,68,68,68,67,67,67,
07963     67,67,67,66,66,66,66,66,66,66,66,65,65,65,65,65,64,64,64,64,64,
07964     64,64,64,64,64,63,63,63,63,63,63,63,63,63,63,62,62,62,62,62,62,
07965     61,61,61,61,60,60,60,60,59,59,59,59,59,59,59,59,59,59,59,59,59,
07966     58,58,58,58,58,58,58,57,57,57,57,57,56,56,56,56,55,55,55,55,55,
07967     55,55,55,55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,53,53,52,
07968     52,52,52,52,51,51,51,51,51,50,50,50,50,50,50,50,50,50,49,49,49,
07969     49,49,49,48,48,48,48,48,48,48,48,47,47,47,46,46,46,46,46,46,46,
07970     46,46,45,45,45,45,45,44,44,44,44,44,44,44,44,44,44,43,43,43,43,
07971     43,43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,40,40,40,40,40,
07972     40,39,39,39,39,39,39,38,38,38,38,38,37,37,37,36,36,36,36,36,36,
07973     35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,33,32,
07974     32,32,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,30
07975   };
07976   const int n4c1w4_l[] = {
07977     100, // Capacity
07978     500, // Number of items
07979     // Size of items (sorted)
07980     100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,
07981     98,98,98,98,98,98,98,98,98,98,98,98,98,98,97,97,97,96,96,96,96,
07982     96,96,96,95,95,95,95,95,95,95,95,95,95,95,94,94,94,94,94,94,94,
07983     94,94,94,94,93,93,93,93,93,92,92,92,91,91,91,91,91,91,91,90,90,
07984     90,90,89,89,89,89,89,89,88,88,88,88,87,87,87,87,87,87,87,86,86,
07985     86,86,86,86,85,85,85,85,85,85,85,85,85,84,84,84,83,83,83,83,83,
07986     83,83,83,83,83,82,82,82,82,82,81,81,81,81,80,80,80,80,80,80,80,
07987     80,80,80,79,79,79,78,78,78,78,78,77,77,77,77,77,77,77,76,76,76,
07988     76,76,76,76,76,76,76,76,76,76,76,75,75,75,75,75,74,74,74,74,74,
07989     73,73,73,73,73,73,72,72,72,72,72,71,71,71,71,71,71,71,71,71,71,
07990     71,71,70,70,70,70,70,70,70,69,69,69,69,69,69,68,68,68,68,68,68,
07991     67,67,67,67,66,66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,65,
07992     64,64,64,64,64,64,64,64,63,63,63,63,62,62,62,62,62,62,62,62,62,
07993     61,61,61,61,61,61,61,61,60,60,60,60,60,60,60,60,60,60,60,60,60,
07994     60,59,59,59,59,59,59,58,58,58,58,57,57,57,57,57,57,57,57,56,56,
07995     56,56,56,56,56,55,55,55,55,54,54,54,54,53,53,53,53,53,52,52,52,
07996     51,51,51,51,51,51,51,51,50,50,50,50,50,49,49,49,49,49,48,48,48,
07997     48,48,48,48,48,48,48,48,47,47,47,47,47,47,47,47,47,46,46,46,46,
07998     46,46,46,46,46,46,45,45,45,45,44,44,44,44,44,44,44,44,44,43,43,
07999     43,43,43,43,43,43,42,42,42,42,42,42,42,42,41,41,41,41,41,41,41,
08000     41,41,40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,38,38,38,38,
08001     38,38,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,35,35,35,35,
08002     35,35,35,35,35,34,34,33,33,33,33,33,33,33,33,32,32,32,32,32,32,
08003     32,32,32,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30
08004   };
08005   const int n4c1w4_m[] = {
08006     100, // Capacity
08007     500, // Number of items
08008     // Size of items (sorted)
08009     100,100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,
08010     98,98,98,97,97,97,97,96,96,96,96,95,95,95,95,95,95,95,95,94,94,
08011     94,94,94,94,94,94,94,94,94,94,94,94,93,93,93,93,93,93,92,92,92,
08012     92,92,92,91,91,91,91,91,91,91,90,90,90,90,90,90,90,90,90,90,90,
08013     90,89,89,89,89,89,88,88,88,88,88,88,88,87,87,87,87,87,87,87,87,
08014     87,87,87,86,86,86,86,86,86,86,86,85,85,85,85,85,85,85,85,85,85,
08015     84,83,83,83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,81,80,80,
08016     80,80,80,80,80,80,80,80,79,79,79,79,79,79,78,78,78,78,78,78,77,
08017     77,77,77,77,77,76,76,76,75,75,75,75,75,74,74,74,74,74,74,73,73,
08018     73,73,73,73,73,73,73,72,72,72,72,72,72,72,72,72,72,71,71,71,71,
08019     71,71,71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,69,68,68,68,
08020     68,68,68,68,68,68,68,68,67,67,67,67,67,67,67,67,67,66,66,66,66,
08021     66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,63,63,63,63,63,63,
08022     62,62,62,62,62,62,62,61,61,61,61,61,61,60,60,60,60,60,60,60,59,
08023     59,59,59,59,59,59,59,58,58,58,58,57,57,57,57,57,57,57,56,56,56,
08024     56,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,
08025     54,54,54,54,54,53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,51,
08026     50,50,50,50,50,50,50,50,50,50,49,49,49,49,49,48,48,48,48,47,47,
08027     47,47,47,47,47,47,47,46,46,46,46,45,45,45,44,44,44,44,44,44,44,
08028     44,44,44,44,43,43,43,43,43,43,43,42,42,42,42,41,41,41,41,41,41,
08029     41,41,40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,38,38,38,
08030     37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,35,35,35,35,34,34,
08031     34,34,34,34,34,34,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,
08032     32,32,32,32,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30
08033   };
08034   const int n4c1w4_n[] = {
08035     100, // Capacity
08036     500, // Number of items
08037     // Size of items (sorted)
08038     100,100,100,100,100,99,99,99,99,99,99,98,98,98,98,97,97,97,96,
08039     96,96,96,96,95,95,95,95,95,95,95,95,95,95,95,95,95,94,94,94,94,
08040     94,94,94,94,93,93,93,93,93,93,92,92,92,92,92,92,91,91,91,91,91,
08041     91,91,91,90,90,90,90,89,89,89,89,89,89,89,89,89,88,88,88,88,88,
08042     88,88,87,87,87,87,87,87,87,87,87,87,86,86,86,86,86,86,86,85,85,
08043     85,85,85,85,85,84,84,84,84,84,84,84,84,83,83,83,83,83,83,83,82,
08044     82,82,82,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,
08045     80,80,80,79,79,79,79,79,79,78,78,78,78,78,78,78,78,77,77,77,77,
08046     77,77,77,77,76,76,75,75,75,75,75,75,75,75,75,74,74,74,74,74,74,
08047     74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,73,73,73,72,72,72,
08048     72,72,72,71,71,71,71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,
08049     69,69,69,69,69,68,68,68,68,68,67,67,67,67,66,66,66,66,66,66,66,
08050     66,66,65,65,65,65,65,65,65,64,64,64,64,64,64,64,63,63,63,63,62,
08051     62,62,62,62,62,62,61,61,61,61,61,61,61,61,60,60,60,60,60,60,60,
08052     60,60,59,59,59,59,58,58,58,58,58,58,58,58,58,58,58,57,57,57,57,
08053     57,57,56,56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,54,54,54,
08054     54,54,54,54,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,51,
08055     51,51,51,51,51,50,50,50,50,50,50,49,49,49,49,49,49,48,48,48,48,
08056     48,48,48,48,47,47,47,47,47,47,46,46,46,46,46,46,46,45,45,45,45,
08057     45,45,45,45,45,45,44,44,44,44,43,43,43,43,43,42,42,42,42,42,42,
08058     41,41,41,41,41,41,41,41,41,41,40,40,40,40,40,40,40,40,40,40,39,
08059     39,39,39,39,38,38,38,37,37,37,36,36,36,36,36,35,35,35,35,35,35,
08060     35,35,35,35,35,34,34,34,34,34,34,33,33,33,33,33,33,32,32,32,32,
08061     32,32,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30
08062   };
08063   const int n4c1w4_o[] = {
08064     100, // Capacity
08065     500, // Number of items
08066     // Size of items (sorted)
08067     100,100,100,100,100,100,100,100,99,99,99,98,98,98,98,98,98,98,
08068     98,98,97,97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,94,
08069     94,94,94,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,91,91,
08070     91,91,91,91,90,90,90,90,90,90,90,90,90,90,90,90,90,89,89,89,89,
08071     89,89,89,89,88,88,88,88,88,88,87,87,87,87,86,85,85,85,85,84,84,
08072     84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,83,83,
08073     82,82,82,82,81,81,81,81,81,81,80,80,80,79,79,79,79,79,79,79,79,
08074     79,78,78,78,78,78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,76,
08075     76,76,76,76,76,75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,73,
08076     72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,70,70,70,70,
08077     69,69,69,69,69,69,68,68,68,68,68,68,68,67,66,66,66,66,66,66,66,
08078     66,66,66,66,65,65,65,64,64,64,64,64,64,64,64,64,64,64,63,63,63,
08079     63,63,63,63,63,62,62,62,62,62,62,62,62,61,61,60,60,60,60,60,59,
08080     59,59,59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,
08081     57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,
08082     54,54,54,54,54,54,54,54,53,53,53,53,53,53,53,52,52,52,52,52,52,
08083     52,51,51,51,51,51,51,51,51,50,50,50,50,50,50,50,50,49,49,49,49,
08084     49,49,48,48,48,48,48,48,47,47,47,47,47,47,47,47,46,46,46,46,46,
08085     46,46,45,45,45,45,45,45,45,45,45,45,45,44,44,44,44,44,43,43,43,
08086     43,43,43,43,43,43,43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,
08087     41,41,41,41,41,41,41,40,40,40,40,40,39,39,39,39,39,39,39,39,39,
08088     38,38,38,38,38,38,38,37,37,37,37,37,37,37,36,36,36,36,36,36,36,
08089     36,36,35,35,35,35,35,35,34,34,34,34,34,34,34,34,33,33,33,33,33,
08090     33,33,33,32,32,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30
08091   };
08092   const int n4c1w4_p[] = {
08093     100, // Capacity
08094     500, // Number of items
08095     // Size of items (sorted)
08096     100,100,100,100,100,100,99,99,99,99,98,98,98,98,98,98,98,98,98,
08097     97,97,97,97,97,97,97,96,96,96,96,95,95,95,95,95,95,95,94,94,94,
08098     94,94,93,93,93,93,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,
08099     91,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,89,89,89,88,88,
08100     88,88,88,88,88,88,88,88,88,88,88,87,87,87,87,87,87,87,87,87,87,
08101     87,86,86,86,86,86,86,86,86,86,86,86,85,85,85,85,84,84,84,84,84,
08102     84,84,84,83,83,83,83,83,83,83,83,83,83,83,83,83,82,82,82,82,82,
08103     82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,80,79,79,79,
08104     79,79,79,79,79,78,78,78,78,78,78,78,78,78,78,77,77,77,77,77,76,
08105     76,76,76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,74,74,74,74,
08106     74,74,74,73,73,72,72,72,72,71,71,71,71,70,70,70,70,70,70,70,70,
08107     70,70,70,69,69,69,68,68,68,68,68,68,68,67,67,67,67,67,67,67,67,
08108     66,66,66,66,65,65,64,64,64,64,64,64,64,64,64,64,63,63,63,63,63,
08109     63,63,63,63,62,62,62,62,62,62,62,62,61,61,61,61,61,61,60,60,60,
08110     60,60,59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,57,57,57,
08111     57,57,57,56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,55,55,55,
08112     55,54,54,54,54,53,53,53,53,53,52,52,52,52,52,52,52,52,52,52,51,
08113     51,51,51,51,51,50,50,50,50,50,49,49,49,49,49,48,48,48,48,48,47,
08114     47,47,47,47,47,47,47,46,46,46,46,46,46,46,46,45,45,45,44,44,44,
08115     44,43,43,43,43,43,43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,
08116     41,40,40,40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,39,39,
08117     39,38,38,38,38,38,38,37,37,37,37,37,37,36,36,36,36,36,35,35,35,
08118     35,35,35,35,35,35,34,34,34,34,34,34,34,34,33,33,33,33,33,33,32,
08119     32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30
08120   };
08121   const int n4c1w4_q[] = {
08122     100, // Capacity
08123     500, // Number of items
08124     // Size of items (sorted)
08125     100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,98,
08126     98,98,98,98,98,97,97,97,97,96,96,96,96,96,96,95,95,95,95,94,94,
08127     94,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,92,91,91,91,
08128     91,91,91,91,90,90,90,90,90,90,90,90,90,90,90,90,90,89,89,89,88,
08129     88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,86,85,85,85,85,85,
08130     84,84,84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,83,82,82,82,
08131     82,82,82,82,82,82,81,81,81,81,81,81,81,81,81,80,80,80,80,80,80,
08132     80,80,80,79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,78,78,78,
08133     77,77,77,76,76,76,76,76,76,75,75,75,74,74,74,74,74,74,74,74,74,
08134     73,73,73,72,72,72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,71,
08135     71,71,70,70,70,70,70,70,69,69,69,69,69,69,68,68,68,68,68,67,67,
08136     67,67,67,67,67,66,66,66,66,66,66,66,65,65,65,65,64,64,64,64,64,
08137     64,64,64,64,64,64,64,64,63,63,63,63,63,63,63,62,62,62,62,62,62,
08138     61,61,61,60,60,60,60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,
08139     59,58,58,58,58,58,57,57,57,57,57,57,57,57,57,57,56,56,56,56,56,
08140     56,56,56,56,56,55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,53,
08141     53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,51,51,
08142     51,50,50,50,50,49,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,
08143     47,47,47,47,47,46,46,46,46,46,46,46,46,46,46,45,45,45,45,45,45,
08144     44,44,44,44,44,44,44,44,44,44,43,43,43,43,43,43,42,42,42,42,42,
08145     42,41,41,41,41,41,41,41,41,41,41,41,41,40,40,40,40,40,40,40,40,
08146     39,39,39,39,39,39,39,39,39,38,38,38,38,38,38,38,38,37,37,37,37,
08147     37,37,37,36,36,36,36,36,35,35,35,35,34,34,34,34,34,34,34,33,33,
08148     33,33,33,33,33,33,33,32,32,32,32,31,31,31,31,31,31,31,31,30,30
08149   };
08150   const int n4c1w4_r[] = {
08151     100, // Capacity
08152     500, // Number of items
08153     // Size of items (sorted)
08154     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,
08155     98,98,98,98,97,97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,96,
08156     96,96,96,96,96,95,95,95,94,94,94,94,94,94,94,94,94,94,93,93,93,
08157     93,93,93,93,92,92,92,92,92,92,92,92,92,92,92,92,92,91,91,91,91,
08158     91,90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,88,88,88,88,
08159     88,88,88,88,88,88,88,88,87,87,87,87,87,87,87,87,87,86,86,86,86,
08160     86,85,85,85,85,85,84,84,84,84,84,83,83,83,83,83,83,83,82,82,82,
08161     82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,80,80,80,80,80,
08162     80,79,79,79,79,79,79,78,78,78,78,78,77,77,77,77,77,76,76,76,76,
08163     76,76,76,76,76,75,75,75,75,75,74,74,74,74,74,74,73,73,73,73,73,
08164     73,73,73,73,72,72,72,72,72,71,71,71,71,70,70,70,70,70,69,69,69,
08165     69,69,69,69,69,69,69,68,68,68,67,67,67,67,66,66,66,66,66,66,66,
08166     65,65,65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,
08167     63,63,63,63,62,62,61,61,61,61,61,61,61,61,60,60,60,60,60,60,59,
08168     59,59,59,59,59,59,59,59,59,58,58,58,58,58,57,57,57,57,57,57,57,
08169     57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,
08170     54,54,53,53,53,53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,
08171     52,52,52,52,52,51,51,51,51,51,51,51,51,51,50,50,50,49,49,49,49,
08172     49,49,49,49,48,48,48,48,47,47,47,47,47,47,47,47,47,47,47,46,46,
08173     46,46,45,45,45,45,45,45,45,45,45,45,45,44,44,44,44,44,44,43,43,
08174     43,43,43,43,43,43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,40,
08175     40,40,40,40,40,40,39,39,39,39,39,38,38,37,37,37,37,37,37,37,37,
08176     36,36,36,36,36,35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,33,
08177     33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30
08178   };
08179   const int n4c1w4_s[] = {
08180     100, // Capacity
08181     500, // Number of items
08182     // Size of items (sorted)
08183     100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,98,98,97,
08184     97,97,97,97,97,96,96,96,96,96,96,95,95,95,95,95,94,94,94,94,94,
08185     94,93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,91,91,91,91,
08186     91,91,91,90,90,90,90,90,90,90,90,90,89,89,89,89,89,88,88,88,88,
08187     88,88,88,88,88,88,87,87,87,87,87,86,86,86,86,86,86,86,86,85,85,
08188     85,85,85,85,85,85,85,85,84,84,84,84,84,84,84,84,84,84,83,83,83,
08189     83,83,82,82,82,82,81,81,81,81,81,81,81,80,80,80,80,80,80,80,80,
08190     80,79,79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,77,77,77,77,
08191     77,76,76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,75,75,75,74,
08192     74,74,74,74,74,74,73,73,73,73,73,73,73,73,73,73,73,72,72,72,72,
08193     72,72,72,72,71,71,71,70,70,70,70,69,69,69,69,69,69,69,69,69,69,
08194     68,68,68,68,67,67,67,67,67,67,67,66,66,66,66,66,66,65,65,65,65,
08195     64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,62,62,62,62,61,61,
08196     61,61,61,61,61,61,60,60,60,60,60,60,59,59,59,59,59,59,59,59,59,
08197     59,58,58,58,58,57,57,57,57,57,57,57,57,57,57,56,56,56,55,55,55,
08198     55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,53,53,53,53,52,52,
08199     52,52,52,52,52,52,51,51,51,51,50,50,50,50,50,50,50,50,49,49,49,
08200     49,49,49,49,49,49,49,48,48,48,48,47,47,47,47,47,47,47,47,46,46,
08201     46,46,46,46,46,46,46,45,45,45,45,44,44,44,44,44,44,44,43,43,43,
08202     43,43,42,42,42,42,42,41,41,41,41,41,41,41,41,41,40,40,40,40,40,
08203     40,40,39,39,39,39,39,39,39,39,39,39,39,39,39,39,38,38,38,38,38,
08204     38,38,38,38,37,37,37,37,37,37,37,37,36,36,36,36,36,36,35,35,35,
08205     35,35,35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,33,33,33,
08206     33,33,33,32,32,32,32,32,31,31,31,31,30,30,30,30,30,30,30
08207   };
08208   const int n4c1w4_t[] = {
08209     100, // Capacity
08210     500, // Number of items
08211     // Size of items (sorted)
08212     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,
08213     98,98,98,98,97,97,97,97,97,97,96,96,96,96,95,95,95,95,95,95,95,
08214     95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,93,92,92,92,92,
08215     92,92,91,91,91,91,91,91,90,90,90,89,89,89,89,89,89,89,89,89,89,
08216     88,88,87,87,87,87,86,86,86,86,86,86,86,86,85,85,85,85,85,85,85,
08217     85,84,84,84,84,84,84,84,84,84,83,83,83,83,82,82,82,82,82,82,82,
08218     82,82,82,81,81,81,80,80,80,80,80,80,80,79,79,79,79,79,79,78,78,
08219     78,78,78,78,78,78,78,78,78,77,77,77,76,76,76,76,76,76,76,76,75,
08220     75,75,75,75,75,74,74,74,73,73,73,73,73,73,72,72,72,72,72,72,72,
08221     72,72,72,72,72,72,72,72,71,71,71,71,70,70,70,70,70,70,70,70,70,
08222     70,70,70,69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,68,68,
08223     68,68,68,67,67,67,67,67,67,67,67,66,66,66,65,65,65,65,65,65,65,
08224     65,65,65,65,64,64,64,64,63,63,63,63,63,63,62,62,62,62,62,61,61,
08225     61,61,61,61,60,60,60,60,60,59,59,59,59,59,59,58,58,58,58,57,57,
08226     57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,54,
08227     54,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,51,50,
08228     50,50,50,50,50,50,50,50,49,49,49,49,49,49,48,48,48,48,48,48,47,
08229     47,47,47,46,46,46,46,46,45,45,45,45,45,45,45,45,44,44,44,44,44,
08230     44,44,44,44,44,44,44,43,43,43,43,43,43,42,42,42,42,42,42,42,42,
08231     42,42,42,42,42,41,41,41,41,41,41,41,40,40,40,40,40,40,40,40,40,
08232     39,39,39,39,39,39,38,38,38,38,38,38,38,38,38,37,37,37,37,37,37,
08233     36,36,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,35,35,35,35,
08234     35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,32,32,32,32,
08235     32,32,32,32,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30,30
08236   };
08237   const int n4c2w1_a[] = {
08238     120, // Capacity
08239     500, // Number of items
08240     // Size of items (sorted)
08241     100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,98,97,96,96,
08242     96,95,95,95,95,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,
08243     92,92,92,92,92,92,91,91,91,91,91,91,90,90,90,90,90,90,90,90,89,
08244     89,88,88,88,88,88,88,87,87,87,87,86,86,86,85,85,85,85,85,84,84,
08245     84,84,83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,81,80,80,80,
08246     80,80,79,79,79,79,78,78,78,78,78,78,78,77,77,76,76,76,76,75,75,
08247     75,75,75,75,74,74,74,73,73,72,72,72,72,72,72,71,71,71,71,71,71,
08248     70,70,69,69,69,68,68,68,68,68,68,68,68,67,66,66,66,66,66,66,65,
08249     65,65,65,65,64,64,64,64,64,64,64,63,63,63,63,63,62,62,61,61,61,
08250     61,61,61,60,60,60,59,59,59,59,59,59,58,58,58,58,58,58,58,57,57,
08251     57,57,57,57,57,57,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,
08252     54,54,54,53,53,53,53,53,53,53,53,53,52,52,52,52,51,51,50,50,50,
08253     50,50,50,50,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,46,46,
08254     46,46,45,45,45,45,45,45,45,45,45,45,45,44,44,44,44,43,43,43,43,
08255     43,43,42,42,42,42,41,41,41,41,41,41,41,40,40,40,39,38,38,38,38,
08256     37,37,37,37,36,36,36,36,36,35,35,35,35,35,35,34,34,34,34,34,33,
08257     33,33,33,33,33,33,33,32,32,32,32,32,32,32,31,30,30,30,30,29,29,
08258     29,29,29,29,29,28,28,28,28,28,28,28,28,27,27,27,26,26,26,26,26,
08259     25,25,25,25,25,24,24,24,24,24,24,24,24,24,24,23,22,22,22,22,22,
08260     21,21,21,21,21,21,20,20,20,20,20,19,19,19,19,19,19,18,18,18,17,
08261     17,17,17,17,16,16,16,15,15,15,15,15,14,14,14,14,14,14,13,13,13,
08262     13,13,13,12,12,12,12,12,12,12,12,12,11,11,11,10,10,10,10,10,10,
08263     10,9,9,9,9,9,8,8,8,8,8,8,7,6,6,6,6,6,6,6,5,5,5,4,4,4,4,4,3,3,
08264     3,3,3,3,2,2,2,1,1,1
08265   };
08266   const int n4c2w1_b[] = {
08267     120, // Capacity
08268     500, // Number of items
08269     // Size of items (sorted)
08270     100,100,100,99,99,99,99,99,98,98,98,98,98,97,97,97,97,96,96,96,
08271     96,95,95,95,95,95,95,95,94,94,94,94,93,93,93,93,93,93,92,92,92,
08272     92,91,91,90,90,90,90,90,90,90,89,89,89,89,88,88,88,88,87,87,87,
08273     86,86,86,86,86,86,86,86,86,85,85,85,85,85,84,84,84,84,84,84,83,
08274     83,83,83,83,83,83,82,82,82,82,82,82,81,81,81,81,80,80,79,79,79,
08275     79,79,79,79,79,78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,77,
08276     76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,74,73,73,73,73,72,
08277     72,72,72,72,71,71,71,71,71,71,70,70,69,69,69,69,69,69,69,69,68,
08278     68,68,68,68,68,67,67,67,67,66,66,65,65,65,65,65,65,65,64,64,64,
08279     63,63,62,62,62,62,62,62,61,61,61,61,61,61,61,61,61,61,61,60,60,
08280     60,60,60,60,60,59,59,59,59,59,59,58,58,58,58,58,58,58,57,57,57,
08281     57,56,56,56,56,56,56,56,56,55,55,55,55,54,54,54,54,53,53,53,53,
08282     53,53,53,52,52,52,52,52,51,51,51,51,51,51,51,50,50,50,49,49,48,
08283     47,47,47,47,47,47,47,47,47,47,46,46,45,45,44,44,44,44,44,43,42,
08284     42,42,42,42,42,41,41,41,40,40,40,40,40,40,40,39,39,39,39,38,38,
08285     38,38,38,38,37,37,36,36,36,36,36,35,35,34,34,34,34,33,33,33,33,
08286     33,33,33,32,32,31,31,31,30,30,29,29,29,29,29,29,28,28,28,28,28,
08287     28,28,27,27,26,26,26,26,26,26,25,25,25,25,24,24,24,24,24,24,24,
08288     24,24,24,23,23,23,23,23,22,22,22,22,22,21,21,21,21,21,20,20,20,
08289     20,20,19,19,18,18,18,18,18,17,17,17,17,17,16,16,16,15,14,14,14,
08290     14,14,14,14,13,13,13,13,13,13,13,13,12,12,12,11,11,11,11,11,10,
08291     10,10,10,10,10,10,9,9,9,9,9,9,9,9,9,9,8,8,8,8,8,7,7,7,7,7,6,6,
08292     6,5,5,5,5,5,4,4,4,4,4,4,4,4,3,3,3,3,3,3,3,2,2,2,2,2,2,2,1,1,1,
08293     1
08294   };
08295   const int n4c2w1_c[] = {
08296     120, // Capacity
08297     500, // Number of items
08298     // Size of items (sorted)
08299     100,100,100,99,99,99,99,98,98,98,98,98,98,98,98,98,98,98,97,97,
08300     97,97,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,95,94,93,93,
08301     93,93,92,92,92,92,92,92,92,91,91,91,91,91,90,90,90,90,90,90,90,
08302     90,90,89,89,88,88,88,88,88,88,87,87,87,86,86,86,86,86,85,85,84,
08303     84,84,83,83,83,83,83,83,82,82,82,82,82,81,81,81,80,80,80,80,80,
08304     80,80,80,80,79,79,79,79,79,79,79,78,77,77,76,76,76,75,75,75,74,
08305     74,74,74,73,73,73,73,73,73,73,73,73,73,73,73,73,72,72,72,72,72,
08306     72,71,71,71,71,71,71,70,70,70,69,69,69,69,69,68,68,67,67,67,67,
08307     67,67,67,67,66,66,66,65,65,65,65,65,64,64,64,64,64,63,63,63,63,
08308     63,62,62,62,62,62,62,62,62,62,61,61,60,60,60,60,60,59,59,58,58,
08309     58,58,58,57,57,57,56,56,56,56,56,56,55,55,55,55,55,54,54,54,54,
08310     53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,51,50,50,50,50,50,
08311     49,49,49,49,49,49,49,49,48,48,48,48,47,47,47,47,47,46,46,46,45,
08312     45,45,45,45,45,44,44,44,44,44,44,44,44,44,43,43,43,43,43,42,42,
08313     42,42,42,41,41,41,41,41,41,40,40,40,39,39,39,39,39,39,39,38,38,
08314     38,37,37,37,37,37,37,37,36,36,36,36,36,36,35,35,35,35,35,35,35,
08315     35,35,34,34,33,33,33,33,33,32,32,32,32,32,31,31,31,31,31,31,31,
08316     30,30,30,30,30,30,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,
08317     27,27,27,26,26,26,26,26,25,25,25,24,24,24,24,24,24,24,23,23,23,
08318     23,23,22,22,22,22,22,21,21,21,21,21,20,20,20,20,20,19,19,19,19,
08319     19,18,18,18,18,17,17,17,16,16,16,16,16,16,15,15,15,14,14,14,14,
08320     14,14,14,14,13,13,13,13,13,12,12,12,12,12,12,11,11,10,9,9,9,9,
08321     9,9,8,8,8,8,8,7,7,7,6,6,6,6,6,5,5,5,5,4,4,4,4,3,3,3,3,2,2,2,2,
08322     2,2,1,1,1,1,1
08323   };
08324   const int n4c2w1_d[] = {
08325     120, // Capacity
08326     500, // Number of items
08327     // Size of items (sorted)
08328     100,100,100,100,99,99,99,99,99,98,98,98,98,97,97,97,97,97,96,
08329     96,96,96,96,96,95,95,95,95,94,94,94,94,94,94,93,93,93,93,93,93,
08330     92,92,92,92,92,91,91,91,91,91,91,91,90,90,90,90,89,89,88,88,88,
08331     87,87,87,86,85,85,85,85,85,85,85,84,84,84,83,83,83,83,82,82,82,
08332     82,82,82,81,81,81,81,80,80,79,79,79,78,78,78,78,78,77,77,77,77,
08333     77,77,77,77,76,76,76,76,76,76,75,75,75,74,74,74,74,73,73,73,73,
08334     73,73,73,72,72,72,72,72,71,71,70,70,70,70,70,70,69,68,68,68,68,
08335     67,67,67,66,66,65,65,65,65,65,64,64,64,64,64,64,64,64,64,64,64,
08336     63,63,63,63,62,62,62,62,61,61,61,60,59,59,59,58,58,58,58,58,58,
08337     57,57,57,57,57,56,56,56,54,54,54,54,54,54,53,53,53,53,53,53,53,
08338     52,52,51,51,51,51,51,51,51,50,50,50,50,49,49,49,48,48,48,48,48,
08339     47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,46,46,46,45,45,45,
08340     45,45,45,45,45,44,44,44,43,43,43,43,43,42,42,42,42,41,41,41,41,
08341     41,41,41,40,40,40,40,40,40,40,40,39,39,39,39,38,38,38,38,38,38,
08342     38,38,38,38,37,37,37,37,36,36,36,36,36,36,35,35,34,34,34,34,33,
08343     33,33,33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,
08344     30,30,30,30,30,30,29,29,29,29,28,28,28,28,28,28,28,28,28,28,27,
08345     27,27,26,26,26,26,26,26,26,26,26,26,26,25,25,25,25,25,25,25,25,
08346     24,24,24,23,23,23,23,23,23,23,23,23,23,23,23,22,22,22,21,21,21,
08347     21,21,21,21,20,20,20,20,20,20,20,20,19,19,18,18,18,18,17,17,17,
08348     17,17,16,16,16,16,16,16,16,16,15,15,15,15,14,14,13,13,13,13,12,
08349     12,12,12,12,12,12,12,12,11,11,11,11,11,10,10,10,10,9,9,9,9,8,
08350     8,8,8,8,8,8,8,8,8,7,7,7,7,7,7,7,6,6,6,5,5,5,4,4,4,4,3,3,3,3,3,
08351     2,2,2,2,2,1,1,1
08352   };
08353   const int n4c2w1_e[] = {
08354     120, // Capacity
08355     500, // Number of items
08356     // Size of items (sorted)
08357     100,100,100,100,99,99,99,99,98,98,98,98,97,97,97,97,97,97,97,
08358     96,96,96,96,96,96,96,96,95,95,95,95,95,94,94,94,94,94,93,93,93,
08359     93,93,93,93,93,92,92,92,92,92,92,91,91,90,90,90,90,90,90,90,90,
08360     90,89,89,89,88,88,88,88,88,88,88,87,87,87,87,86,86,86,85,85,84,
08361     84,84,83,83,83,82,82,82,82,81,81,81,81,81,81,81,81,81,80,80,80,
08362     80,80,80,79,79,79,79,78,78,78,78,77,77,77,77,77,76,76,76,76,76,
08363     76,76,75,75,75,75,75,75,75,74,74,74,73,73,73,73,73,73,73,73,72,
08364     72,72,72,72,72,71,71,71,71,71,70,70,70,70,70,69,69,69,69,69,69,
08365     69,68,68,68,68,68,68,68,68,67,67,67,66,66,66,66,65,65,65,64,64,
08366     64,63,63,62,62,62,62,62,62,62,61,61,61,60,60,60,60,60,59,59,59,
08367     59,59,59,59,58,58,58,58,57,57,57,57,56,56,56,56,56,56,56,56,56,
08368     55,55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,54,54,53,53,53,
08369     53,52,52,52,52,51,51,51,51,51,51,51,50,50,50,50,50,49,49,49,49,
08370     49,49,48,48,48,48,47,47,47,47,47,46,46,45,45,45,44,44,44,44,44,
08371     43,43,43,43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,41,40,40,
08372     40,39,39,39,38,38,38,37,36,36,36,36,36,36,36,35,35,35,35,35,35,
08373     35,35,34,34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,32,31,
08374     31,31,31,31,30,30,30,30,30,30,30,30,29,29,29,29,29,29,29,29,29,
08375     28,27,27,27,27,27,27,27,27,26,25,25,25,24,24,23,23,23,23,23,22,
08376     22,22,21,21,21,21,21,20,20,20,20,19,19,19,19,19,19,18,18,18,18,
08377     18,18,17,17,17,16,16,16,16,16,16,16,16,16,16,15,15,14,14,14,14,
08378     14,13,13,13,13,13,13,12,12,12,12,12,12,12,12,11,11,11,11,11,10,
08379     10,10,10,10,9,9,9,8,8,8,8,8,8,7,7,7,7,7,6,6,6,6,5,5,5,4,4,4,4,
08380     3,3,3,3,3,3,2,2,2,2,1
08381   };
08382   const int n4c2w1_f[] = {
08383     120, // Capacity
08384     500, // Number of items
08385     // Size of items (sorted)
08386     100,99,99,99,99,99,98,98,98,98,98,98,98,98,97,97,96,96,96,96,
08387     95,95,94,94,94,94,94,94,93,93,93,93,93,93,93,93,92,92,92,92,92,
08388     91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,89,89,88,88,88,87,
08389     87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,85,85,85,84,84,84,
08390     84,83,83,83,83,83,83,83,83,82,82,81,81,81,81,81,80,80,80,80,80,
08391     79,79,79,79,79,79,78,77,77,77,76,76,76,76,76,76,75,75,74,74,73,
08392     73,73,73,73,72,72,72,71,71,71,70,70,70,70,70,70,70,70,69,69,69,
08393     69,68,68,68,67,67,67,67,67,66,65,65,65,64,64,64,64,64,64,63,63,
08394     63,63,63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,61,61,61,60,
08395     60,60,60,60,60,60,60,59,59,57,57,57,57,57,56,56,56,56,56,56,55,
08396     55,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,52,52,52,52,
08397     52,52,52,52,51,51,51,51,51,50,50,50,50,50,50,50,50,49,49,49,49,
08398     49,49,49,49,48,48,47,47,47,47,47,46,46,46,46,46,46,46,46,45,45,
08399     45,44,44,44,44,44,43,43,43,43,42,42,42,42,41,41,41,40,40,40,40,
08400     40,39,39,39,39,38,38,38,38,38,37,37,37,37,36,36,36,36,36,35,35,
08401     35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,32,32,32,32,32,
08402     31,31,31,31,31,31,31,30,30,30,29,29,29,29,29,29,28,28,28,27,27,
08403     27,27,27,27,26,26,26,26,26,26,25,25,25,25,24,24,24,24,24,24,23,
08404     23,23,23,23,22,22,22,22,21,21,21,21,21,21,20,20,20,20,19,19,19,
08405     19,18,18,18,17,17,17,17,16,16,16,16,16,15,15,15,14,14,14,14,14,
08406     13,13,13,13,13,13,13,12,12,12,12,11,11,11,10,10,10,10,10,10,10,
08407     10,9,9,9,8,8,8,8,8,7,7,7,7,7,7,7,7,7,7,7,7,6,6,6,6,6,6,5,5,5,
08408     5,5,5,5,4,4,4,4,4,3,3,3,3,3,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1
08409   };
08410   const int n4c2w1_g[] = {
08411     120, // Capacity
08412     500, // Number of items
08413     // Size of items (sorted)
08414     100,100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,
08415     99,99,99,99,98,98,98,98,97,97,97,97,96,96,96,96,96,96,96,96,96,
08416     96,96,95,95,95,94,94,94,94,94,94,94,93,93,93,93,92,92,92,92,92,
08417     92,91,91,91,91,91,90,90,90,89,89,89,89,89,89,88,88,88,88,88,88,
08418     87,87,86,86,86,86,86,85,85,85,84,84,84,84,84,83,83,83,83,83,83,
08419     82,82,82,82,82,82,81,81,81,81,81,80,80,80,79,79,79,79,79,78,78,
08420     78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,75,75,74,74,74,74,
08421     74,73,73,73,73,73,73,72,72,72,72,71,71,71,71,71,70,70,70,70,70,
08422     70,70,69,69,69,69,69,68,68,68,67,67,67,66,66,65,64,64,64,63,63,
08423     63,63,63,62,62,62,62,61,60,60,60,60,59,59,59,59,59,58,58,58,58,
08424     58,57,57,57,57,57,56,56,55,55,55,55,55,54,54,54,53,53,53,53,53,
08425     52,52,52,52,52,51,51,51,51,51,50,50,50,50,49,49,49,49,49,49,48,
08426     48,48,48,47,47,47,47,47,47,47,47,47,46,46,46,46,46,46,46,45,45,
08427     45,45,45,44,44,44,44,44,44,43,43,43,43,42,41,41,41,41,40,40,40,
08428     40,40,39,39,39,38,38,38,38,38,38,38,38,38,37,37,37,37,37,36,36,
08429     36,36,36,36,36,36,36,35,35,35,35,35,34,34,34,34,34,33,33,33,33,
08430     33,33,33,33,32,32,32,32,32,31,31,31,30,30,30,30,30,30,29,29,29,
08431     29,29,29,29,29,29,29,29,28,27,27,27,27,27,27,26,26,26,26,26,26,
08432     26,26,26,25,25,25,25,24,24,24,24,24,24,24,23,22,22,22,22,22,21,
08433     21,21,20,20,20,19,19,19,19,19,19,18,18,18,17,17,17,17,17,17,17,
08434     17,17,17,16,16,16,16,16,15,15,15,14,14,14,14,14,13,13,13,13,13,
08435     13,12,12,12,12,12,11,11,11,11,10,10,10,10,10,10,10,10,9,9,9,9,
08436     9,9,9,9,8,8,8,8,8,8,8,7,7,7,7,6,6,6,5,5,5,4,4,4,4,3,3,3,2,2,2,
08437     2,2,2,2,1,1,1,1,1,1
08438   };
08439   const int n4c2w1_h[] = {
08440     120, // Capacity
08441     500, // Number of items
08442     // Size of items (sorted)
08443     100,100,100,100,99,99,99,99,99,98,98,98,98,98,97,97,97,97,97,
08444     96,96,96,96,96,96,96,96,96,96,96,95,95,94,94,94,94,94,93,93,93,
08445     93,93,93,92,92,92,91,91,91,91,90,90,90,89,89,89,89,89,88,88,88,
08446     88,87,87,87,87,86,86,86,86,85,85,85,85,85,85,84,84,84,84,84,84,
08447     84,84,83,83,83,82,82,82,82,81,81,81,81,81,81,81,80,80,80,80,80,
08448     80,80,79,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,78,
08449     77,77,77,77,77,77,77,77,76,76,76,76,76,74,74,74,74,74,73,73,73,
08450     73,73,73,72,72,72,71,71,71,71,70,70,70,70,70,70,70,69,69,69,69,
08451     69,69,68,68,68,68,68,67,67,67,67,67,66,66,66,65,65,65,65,64,64,
08452     64,64,63,63,63,63,63,63,63,63,63,63,62,62,62,62,62,62,61,61,61,
08453     61,61,61,60,60,60,60,60,60,60,60,59,58,58,58,58,57,57,56,56,56,
08454     56,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,53,53,52,52,52,
08455     52,52,52,52,52,52,51,51,51,51,50,50,50,50,50,49,49,48,48,48,47,
08456     47,46,46,46,46,46,46,46,45,45,44,43,43,43,43,42,42,42,42,42,42,
08457     41,41,41,41,40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,
08458     38,37,37,37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,35,34,34,
08459     34,34,34,34,33,33,33,33,32,32,32,32,32,32,32,32,31,31,31,31,30,
08460     30,30,30,30,30,29,29,29,29,29,28,28,28,28,28,27,27,27,27,26,26,
08461     26,26,26,26,26,26,26,25,25,25,24,24,24,24,24,23,23,23,23,23,23,
08462     23,22,22,22,22,21,21,21,20,20,20,19,19,19,19,19,19,18,18,18,18,
08463     18,18,18,17,17,17,17,17,17,16,16,16,16,16,15,15,15,15,14,14,14,
08464     13,13,12,12,12,12,12,12,12,11,11,11,11,11,11,10,10,10,9,9,9,9,
08465     9,8,8,8,8,7,7,7,6,6,6,6,6,6,6,6,6,5,5,5,5,5,5,4,4,3,3,3,3,2,2,
08466     2,2,2,1,1,1,1,1
08467   };
08468   const int n4c2w1_i[] = {
08469     120, // Capacity
08470     500, // Number of items
08471     // Size of items (sorted)
08472     100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,99,98,98,98,
08473     98,98,98,98,97,97,97,96,96,96,96,96,96,96,96,95,95,95,95,94,94,
08474     94,94,94,93,92,92,92,92,91,91,91,91,91,91,90,90,90,90,90,89,89,
08475     89,89,89,88,88,88,88,88,87,87,87,86,86,86,86,85,85,85,85,84,84,
08476     84,84,84,84,83,83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,
08477     81,81,80,80,80,80,79,79,79,79,78,78,78,77,77,77,76,76,75,75,74,
08478     74,74,74,74,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,71,70,
08479     70,70,70,70,70,70,70,69,69,69,69,68,68,67,67,67,67,67,67,67,66,
08480     66,66,65,65,65,65,64,64,64,64,64,64,64,64,64,64,63,63,63,63,63,
08481     63,63,62,62,62,62,62,61,61,61,61,61,60,60,60,59,59,58,58,58,58,
08482     58,58,57,57,57,57,56,56,56,56,55,55,55,55,55,55,54,54,54,54,53,
08483     53,53,52,52,52,52,52,51,51,51,51,51,50,50,50,50,50,50,50,50,50,
08484     49,49,49,48,48,48,47,47,47,47,47,47,46,46,46,46,46,45,45,45,45,
08485     44,44,44,43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,41,41,41,
08486     41,41,41,40,40,40,40,40,40,40,39,39,39,39,39,38,38,38,38,37,37,
08487     37,37,37,36,36,36,36,36,36,36,36,35,35,34,34,34,34,34,34,34,34,
08488     33,33,33,33,33,32,32,31,31,31,31,31,31,30,29,29,29,28,28,28,28,
08489     28,28,28,27,27,27,27,26,26,26,26,26,26,26,26,25,25,25,25,25,25,
08490     24,24,24,24,24,24,24,24,24,23,23,23,22,22,22,21,21,21,21,21,21,
08491     20,20,20,20,20,20,19,19,19,19,18,18,18,18,18,18,18,18,18,18,17,
08492     17,17,17,17,16,16,16,16,16,15,15,15,15,15,14,14,14,14,14,13,13,
08493     13,13,13,12,12,12,12,11,11,11,11,11,11,10,10,10,10,10,9,9,9,8,
08494     7,7,7,7,7,7,7,7,7,6,6,6,5,5,5,5,5,5,5,5,5,4,4,3,3,3,3,3,2,2,2,
08495     2,2,2,2,2,2,1,1
08496   };
08497   const int n4c2w1_j[] = {
08498     120, // Capacity
08499     500, // Number of items
08500     // Size of items (sorted)
08501     100,100,100,100,99,99,98,98,98,98,97,97,97,97,97,97,96,96,96,
08502     96,95,95,94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,92,92,
08503     92,92,91,91,91,90,90,89,89,89,89,89,89,89,89,88,88,88,87,87,87,
08504     87,86,86,86,86,85,85,85,85,85,84,84,83,83,83,82,82,82,82,82,82,
08505     81,81,81,81,81,81,81,81,80,80,80,80,80,80,80,79,79,79,79,78,78,
08506     78,78,78,78,78,78,77,77,76,76,76,76,76,76,75,75,75,75,75,75,75,
08507     75,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,72,72,72,72,
08508     71,71,70,70,70,69,69,69,69,69,68,68,67,67,67,67,66,66,66,66,66,
08509     66,66,65,65,65,65,65,65,64,64,64,64,63,63,62,62,61,61,61,60,60,
08510     60,59,59,59,59,59,58,58,58,58,58,58,58,58,58,57,57,57,57,57,57,
08511     56,56,55,55,55,55,55,55,54,54,54,53,53,53,52,52,52,52,52,51,51,
08512     51,51,51,51,51,51,50,50,50,49,49,49,49,49,49,48,48,48,48,48,48,
08513     47,47,47,47,47,47,46,45,45,45,45,45,44,44,44,44,44,44,43,43,43,
08514     42,42,42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,40,40,40,39,
08515     39,39,39,39,39,39,39,38,38,37,37,37,37,37,37,36,36,36,36,36,36,
08516     36,36,36,36,35,35,35,35,34,34,33,33,33,33,33,33,32,32,32,32,32,
08517     31,30,30,30,30,30,30,30,30,30,29,29,29,29,29,29,29,29,28,28,28,
08518     28,27,27,27,27,26,26,26,25,25,25,25,25,24,24,24,24,24,23,23,23,
08519     22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,20,20,19,19,19,19,
08520     18,18,18,18,18,17,17,17,17,17,17,16,16,16,16,15,15,15,15,14,14,
08521     14,14,13,13,13,13,13,13,12,12,12,12,12,12,11,11,11,11,10,10,10,
08522     10,9,9,9,9,9,9,9,9,9,9,8,8,8,8,8,8,8,8,8,8,8,8,7,7,7,7,7,6,6,
08523     6,6,6,5,5,5,5,5,4,4,4,3,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1
08524   };
08525   const int n4c2w1_k[] = {
08526     120, // Capacity
08527     500, // Number of items
08528     // Size of items (sorted)
08529     100,100,100,100,100,100,100,99,99,98,98,98,97,97,97,97,97,96,
08530     96,96,96,95,95,95,95,95,95,95,95,94,94,94,94,94,93,93,93,93,93,
08531     92,92,92,92,92,91,91,91,91,91,90,90,90,89,89,88,88,88,88,88,88,
08532     88,88,88,87,87,86,86,86,86,86,85,85,85,85,85,85,85,85,85,84,84,
08533     84,84,83,83,83,83,83,83,82,82,82,82,82,81,81,81,81,80,80,80,80,
08534     80,79,79,79,79,79,79,78,78,78,78,78,77,77,77,77,77,77,76,76,76,
08535     76,76,76,75,75,75,75,75,74,74,74,74,74,74,73,73,73,73,72,72,71,
08536     71,71,71,70,70,70,70,69,69,69,69,68,68,68,67,67,66,66,66,66,66,
08537     66,66,66,65,65,65,64,64,64,64,64,64,64,64,64,64,64,63,63,63,62,
08538     62,62,62,62,61,61,61,61,61,60,60,60,60,60,59,59,59,59,59,58,58,
08539     57,57,57,57,56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,54,
08540     54,54,54,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,
08541     50,50,50,50,50,50,50,49,49,49,49,48,48,48,48,48,48,48,48,47,47,
08542     46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,44,
08543     44,43,43,43,42,42,42,42,41,41,41,40,40,40,40,39,39,39,39,39,39,
08544     39,39,38,37,37,37,37,37,36,36,36,36,36,35,35,35,35,34,34,34,34,
08545     33,33,33,32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,
08546     29,29,29,28,28,28,28,28,28,28,27,27,27,27,27,27,27,27,26,26,26,
08547     26,26,26,26,26,25,25,25,25,25,25,24,24,24,24,24,23,23,22,22,22,
08548     22,22,22,22,21,21,21,21,20,20,20,20,20,20,20,19,19,19,19,19,19,
08549     19,18,18,18,18,18,17,17,16,16,16,16,16,15,15,15,14,14,13,13,12,
08550     12,12,12,12,11,11,11,11,11,11,11,11,11,11,10,10,10,10,10,10,10,
08551     10,9,9,9,8,8,8,8,7,6,6,6,6,6,6,6,6,5,5,5,5,4,4,4,4,3,3,3,3,3,
08552     3,3,2,2,2,2,1,1,1,1,1
08553   };
08554   const int n4c2w1_l[] = {
08555     120, // Capacity
08556     500, // Number of items
08557     // Size of items (sorted)
08558     100,100,100,99,99,99,99,99,99,99,98,98,98,97,97,96,96,95,95,95,
08559     95,95,95,95,95,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,
08560     92,92,91,91,90,90,90,89,89,89,89,88,88,88,87,87,87,87,87,87,87,
08561     86,86,86,86,86,86,85,85,85,85,85,85,85,85,85,84,84,84,84,84,84,
08562     84,84,84,83,83,83,83,83,83,83,82,82,82,81,81,81,81,80,80,80,80,
08563     79,79,79,79,78,78,78,78,78,77,77,77,77,76,76,76,76,75,75,75,75,
08564     74,74,74,73,73,73,73,73,72,72,71,71,71,71,71,71,70,70,70,70,70,
08565     70,70,70,69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,67,67,
08566     67,66,66,66,65,65,64,64,64,64,64,63,63,63,62,62,62,62,62,62,62,
08567     62,62,61,61,61,61,61,60,60,60,60,60,59,59,59,59,59,59,58,58,58,
08568     58,58,58,57,57,57,57,57,56,56,56,56,56,56,56,56,55,55,55,55,55,
08569     55,55,55,54,54,54,54,54,54,54,53,53,53,52,52,52,52,52,51,51,50,
08570     50,50,50,49,49,49,49,49,49,49,48,48,48,48,48,48,47,47,47,47,47,
08571     46,46,46,46,46,46,46,45,45,45,44,44,44,43,43,42,42,42,42,41,41,
08572     41,41,41,40,40,40,40,40,40,40,40,39,39,39,39,39,39,38,38,38,38,
08573     38,38,37,37,37,37,37,36,36,36,36,35,35,35,35,34,34,34,34,33,33,
08574     33,32,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,
08575     30,29,29,29,29,29,29,29,29,28,28,28,27,27,27,26,26,26,26,26,25,
08576     25,25,25,24,24,24,24,24,24,24,23,23,23,23,22,22,22,22,22,22,21,
08577     21,21,21,21,21,21,21,20,20,20,20,20,20,20,19,19,19,19,18,18,18,
08578     18,18,18,17,17,17,17,17,16,16,16,16,16,15,14,13,13,13,13,12,12,
08579     12,12,12,11,11,10,10,10,10,9,9,9,9,9,9,8,8,8,8,7,7,7,7,6,6,5,
08580     5,5,4,4,4,4,4,4,4,4,4,4,3,3,3,3,3,3,3,2,2,2,2,2,2,1,1,1,1,1,1,
08581     1,1,1
08582   };
08583   const int n4c2w1_m[] = {
08584     120, // Capacity
08585     500, // Number of items
08586     // Size of items (sorted)
08587     100,100,100,100,100,100,100,99,99,99,99,99,99,98,98,98,97,97,
08588     97,97,96,96,96,96,96,96,96,95,95,95,95,94,94,94,94,93,93,93,93,
08589     93,93,93,93,93,93,93,92,92,91,91,91,91,90,90,90,90,89,89,89,89,
08590     89,89,89,89,89,88,88,88,88,87,87,87,87,86,86,86,86,86,86,86,86,
08591     86,85,85,85,85,85,85,84,84,84,83,83,83,83,82,82,82,82,82,82,81,
08592     81,81,81,80,80,80,80,80,80,79,79,79,78,78,78,78,77,77,77,77,77,
08593     77,77,76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,74,74,73,73,
08594     73,72,72,72,72,72,72,72,71,71,71,71,71,71,70,70,70,70,69,69,68,
08595     68,68,68,68,68,68,68,67,67,67,67,67,67,66,66,66,66,66,66,66,66,
08596     65,65,65,65,65,64,64,64,64,63,63,63,63,62,62,62,61,61,61,60,60,
08597     60,60,60,60,60,60,60,60,60,60,59,59,59,59,59,58,58,58,57,57,57,
08598     57,57,57,57,56,56,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,
08599     53,53,53,52,52,52,52,52,51,51,51,51,51,51,51,51,50,50,50,50,50,
08600     49,49,49,49,49,49,49,49,48,48,48,48,48,48,47,47,47,46,46,46,45,
08601     45,45,45,44,44,44,44,44,44,44,43,43,43,42,42,42,41,41,41,41,40,
08602     40,39,39,39,39,38,38,38,38,38,38,37,37,37,37,36,36,36,36,36,36,
08603     35,35,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,32,32,31,31,
08604     31,30,30,30,30,30,30,29,29,29,28,28,28,28,28,28,28,28,27,27,27,
08605     27,26,26,26,26,26,26,26,26,26,26,25,25,25,25,25,24,24,24,23,23,
08606     23,23,22,22,22,21,21,21,21,20,20,20,20,20,20,20,20,20,19,19,19,
08607     19,18,18,18,18,18,17,17,17,17,17,17,17,16,16,16,15,15,15,15,15,
08608     14,14,14,14,14,14,14,13,13,13,13,13,13,12,12,12,12,11,11,11,11,
08609     10,10,10,10,10,9,9,9,9,9,9,8,8,8,8,8,8,8,7,7,7,7,7,6,6,6,5,5,
08610     5,5,5,5,5,4,3,3,2,2,1,1,1
08611   };
08612   const int n4c2w1_n[] = {
08613     120, // Capacity
08614     500, // Number of items
08615     // Size of items (sorted)
08616     100,100,100,100,99,99,99,99,99,98,98,98,98,98,97,97,96,96,96,
08617     96,95,95,95,94,94,94,94,94,93,93,93,93,93,93,92,92,92,91,91,91,
08618     91,91,91,91,90,90,90,89,89,88,88,88,88,88,88,88,88,87,87,87,87,
08619     87,87,87,87,87,86,86,86,86,86,86,86,85,85,84,84,84,84,83,83,83,
08620     83,83,82,82,82,82,82,81,81,81,81,80,80,80,80,80,80,79,79,79,79,
08621     78,78,78,78,78,78,78,77,77,76,76,75,75,75,75,75,75,75,75,75,74,
08622     74,74,74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,71,70,70,69,
08623     69,69,69,69,69,69,68,68,68,68,67,67,67,67,67,67,66,66,66,66,66,
08624     66,65,65,65,65,65,64,64,64,64,64,64,64,64,64,63,63,63,63,63,63,
08625     63,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,59,59,59,59,59,
08626     59,58,58,58,58,58,57,57,57,57,56,56,56,56,56,56,56,55,55,55,54,
08627     54,54,54,53,53,52,52,52,52,52,52,52,51,51,51,51,51,50,50,50,50,
08628     50,50,50,49,49,49,49,48,48,48,48,48,48,48,48,48,47,47,47,47,47,
08629     47,47,47,47,46,46,46,46,46,46,45,45,45,45,44,44,44,44,44,44,43,
08630     43,43,43,42,42,42,41,41,41,41,41,40,40,40,40,40,40,39,39,39,39,
08631     39,39,39,38,38,38,38,38,38,37,37,37,37,37,36,36,36,35,35,35,35,
08632     34,34,34,33,33,33,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30,
08633     30,30,30,29,29,29,29,29,28,28,27,27,27,27,27,27,26,26,25,25,25,
08634     25,25,25,25,25,24,24,24,24,24,24,24,24,24,23,23,22,22,22,22,21,
08635     21,21,21,21,20,20,20,20,20,19,19,19,19,18,18,18,18,18,17,17,17,
08636     17,17,17,16,16,16,16,16,16,15,15,15,15,15,14,14,14,14,14,13,13,
08637     13,13,13,13,12,12,12,12,11,11,11,11,11,11,11,10,10,10,10,10,10,
08638     9,9,9,9,9,9,9,8,8,8,8,7,7,7,7,6,6,6,5,5,5,5,5,4,4,4,4,3,3,3,3,
08639     2,2,2,2,2,1,1,1,1
08640   };
08641   const int n4c2w1_o[] = {
08642     120, // Capacity
08643     500, // Number of items
08644     // Size of items (sorted)
08645     100,100,100,100,100,100,99,99,99,99,98,98,98,98,98,97,97,97,97,
08646     96,96,96,96,96,96,96,96,95,95,95,95,94,94,93,93,93,93,93,93,93,
08647     92,92,92,92,92,92,91,91,91,91,90,90,90,90,90,89,89,89,89,89,88,
08648     88,88,88,87,87,87,87,86,86,85,85,85,85,84,84,84,84,83,83,83,82,
08649     82,82,82,81,81,81,81,81,81,81,81,81,81,81,81,81,80,80,80,79,79,
08650     79,79,79,79,79,79,79,78,78,78,78,77,77,77,77,77,77,76,76,76,76,
08651     76,76,76,75,75,74,74,74,74,74,74,74,74,73,73,73,73,72,72,72,72,
08652     72,72,72,72,71,71,71,71,71,71,71,71,71,71,70,70,70,70,70,70,70,
08653     69,69,69,69,69,68,67,67,66,66,65,65,65,65,65,65,65,64,64,63,63,
08654     63,63,63,63,63,63,63,63,63,62,62,62,61,61,61,61,61,61,60,60,60,
08655     60,59,59,59,59,59,59,58,58,58,58,58,57,57,57,56,56,56,56,56,56,
08656     56,56,55,55,55,55,55,54,54,54,54,54,53,53,53,53,53,53,53,52,51,
08657     51,50,50,50,50,49,49,49,48,48,47,47,47,47,47,47,47,47,47,47,47,
08658     47,46,46,46,46,46,45,45,45,45,44,44,44,44,44,43,43,43,43,42,42,
08659     42,42,42,42,42,42,41,41,41,40,40,39,39,39,39,39,38,38,38,38,38,
08660     37,37,37,37,37,36,36,36,36,36,36,35,35,35,35,35,35,34,34,34,34,
08661     34,34,33,33,33,33,33,32,32,32,32,31,31,31,31,30,30,30,30,30,29,
08662     29,29,29,29,29,29,29,29,28,28,28,28,28,27,27,27,27,27,27,26,26,
08663     26,26,26,25,25,25,25,25,25,25,25,24,24,24,24,24,24,24,23,22,22,
08664     22,22,21,21,21,21,21,21,20,19,19,19,19,19,18,18,18,18,18,17,17,
08665     17,17,17,17,16,16,16,16,15,15,15,15,14,14,14,14,14,13,13,13,13,
08666     13,12,12,12,12,12,12,12,11,11,11,11,11,10,10,10,10,9,9,9,9,8,
08667     8,8,7,7,6,6,6,6,5,5,5,5,4,4,4,4,4,4,4,4,4,4,4,3,3,3,3,3,2,2,2,
08668     1,1,1,1,1,1,1,1
08669   };
08670   const int n4c2w1_p[] = {
08671     120, // Capacity
08672     500, // Number of items
08673     // Size of items (sorted)
08674     100,100,100,100,100,100,100,99,99,99,99,99,99,98,98,98,97,97,
08675     97,96,96,96,96,96,96,96,95,95,95,95,95,94,94,93,93,93,92,92,92,
08676     92,92,92,92,91,91,90,90,90,90,90,90,90,89,89,89,89,89,88,88,88,
08677     87,87,87,87,87,86,85,85,85,85,85,85,85,85,84,84,84,84,84,84,84,
08678     84,83,83,83,83,83,82,82,82,82,82,82,81,81,81,81,81,81,81,80,80,
08679     80,79,79,78,78,78,78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,
08680     76,75,75,75,74,74,74,74,74,74,74,74,73,73,72,72,72,71,71,71,70,
08681     70,70,70,70,70,70,70,69,69,69,69,69,69,68,68,68,68,68,68,68,68,
08682     68,68,67,67,67,67,66,66,66,66,66,66,66,65,65,65,65,65,64,64,64,
08683     64,64,64,64,63,63,63,63,63,62,62,62,62,61,61,61,61,60,60,60,60,
08684     59,59,59,59,59,58,58,58,57,57,57,57,56,56,55,55,55,55,55,55,54,
08685     54,54,54,54,53,53,53,53,53,53,53,53,53,53,53,53,53,53,52,52,52,
08686     51,51,51,51,51,51,51,50,50,50,50,50,50,49,49,49,49,49,48,48,48,
08687     48,48,48,48,47,47,47,47,47,47,47,47,46,46,46,46,46,45,45,45,45,
08688     44,44,44,44,44,44,44,43,43,43,43,42,42,42,42,42,41,41,41,41,41,
08689     40,40,40,39,39,38,38,38,38,38,38,37,37,37,37,36,36,36,35,35,35,
08690     35,35,35,35,34,34,34,34,34,33,33,33,32,32,32,32,31,31,31,31,31,
08691     30,30,30,30,29,29,29,29,29,29,28,28,28,27,27,26,26,26,26,26,26,
08692     26,26,26,26,25,25,24,24,24,24,24,24,23,23,23,23,23,23,23,23,22,
08693     22,22,21,21,21,20,20,20,19,19,19,19,19,19,18,18,17,17,16,16,16,
08694     16,16,16,15,15,15,15,15,15,14,14,14,14,14,14,14,14,13,13,13,13,
08695     13,13,13,13,13,13,12,12,12,12,11,11,11,11,11,11,11,11,10,9,9,
08696     9,9,8,8,8,8,8,8,7,7,7,7,6,6,6,6,6,5,5,5,5,5,4,4,3,3,3,3,3,3,2,
08697     2,2,2,2,2,2,2,1,1,1
08698   };
08699   const int n4c2w1_q[] = {
08700     120, // Capacity
08701     500, // Number of items
08702     // Size of items (sorted)
08703     100,100,100,100,100,100,100,99,99,99,98,98,98,98,98,98,98,98,
08704     97,97,97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,95,95,
08705     95,94,94,94,94,94,94,94,93,93,93,92,91,91,91,91,90,90,89,89,89,
08706     89,89,89,89,89,88,88,88,88,88,88,87,87,87,87,86,86,86,86,85,85,
08707     85,85,85,85,85,84,84,84,84,84,84,84,84,84,83,83,83,83,82,82,81,
08708     81,81,80,80,80,79,79,79,78,78,77,77,77,77,77,76,76,76,75,75,75,
08709     75,75,75,74,74,74,74,73,73,73,73,73,73,73,73,72,72,72,72,72,72,
08710     72,72,72,72,71,71,71,71,71,71,71,70,70,69,69,69,69,69,68,68,68,
08711     67,67,67,66,66,66,66,66,65,65,65,65,65,65,64,64,64,64,63,63,63,
08712     63,62,62,62,61,61,61,61,61,61,61,61,61,60,60,60,60,60,60,59,59,
08713     59,59,59,59,59,58,58,58,58,58,57,56,56,56,56,55,55,55,55,55,55,
08714     55,54,53,53,53,53,53,52,52,52,52,52,52,52,52,52,52,51,51,51,51,
08715     51,51,51,50,50,49,49,49,48,48,48,48,48,48,48,48,47,47,47,46,46,
08716     46,46,46,45,45,45,45,44,44,44,44,44,44,44,44,44,43,43,43,43,42,
08717     42,42,41,41,41,41,41,40,40,40,40,40,39,39,39,39,39,39,39,39,38,
08718     38,38,37,37,37,37,36,36,36,36,35,35,35,34,34,34,34,34,34,34,33,
08719     33,33,33,33,33,33,32,32,32,32,31,31,31,31,30,30,30,30,29,29,29,
08720     29,29,29,28,28,28,28,28,28,27,27,27,27,27,26,26,25,25,25,25,24,
08721     24,24,23,23,23,23,23,23,23,23,22,22,22,22,22,22,21,21,21,21,20,
08722     20,20,20,20,19,19,19,19,19,19,19,19,19,19,18,18,18,18,17,17,17,
08723     17,17,17,17,16,16,16,15,15,15,14,14,14,13,12,12,12,12,11,11,11,
08724     10,10,10,10,10,10,10,9,9,9,9,9,9,9,9,9,8,8,8,8,8,7,7,7,7,7,7,
08725     7,7,7,7,6,6,5,5,5,5,5,5,4,4,4,4,4,3,3,3,3,3,2,2,2,2,2,1,1,1,1,
08726     1,1,1,1
08727   };
08728   const int n4c2w1_r[] = {
08729     120, // Capacity
08730     500, // Number of items
08731     // Size of items (sorted)
08732     100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,
08733     98,97,97,97,97,97,97,97,96,96,96,96,96,96,95,95,95,95,95,94,93,
08734     93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,90,
08735     90,89,89,89,89,89,89,89,88,88,87,87,87,87,87,87,86,86,86,86,86,
08736     86,86,86,86,86,86,85,85,85,83,83,83,83,83,82,82,82,82,82,82,81,
08737     80,80,80,80,79,79,79,78,78,78,78,78,78,77,77,77,77,77,76,76,76,
08738     76,76,76,76,76,75,75,75,75,75,75,74,74,74,73,73,73,73,72,72,71,
08739     71,71,71,71,70,70,70,70,70,69,69,69,69,69,69,69,68,68,67,66,66,
08740     65,65,65,65,65,65,64,64,64,64,64,63,63,63,63,63,63,62,62,62,62,
08741     62,61,61,61,61,61,61,61,61,61,61,61,60,60,60,60,60,60,60,59,59,
08742     59,59,59,59,58,58,58,58,58,57,57,57,57,56,56,56,56,56,56,55,55,
08743     55,55,55,54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,51,51,51,
08744     51,51,50,50,49,49,49,49,49,48,48,48,48,48,48,48,48,47,47,47,46,
08745     46,45,45,45,45,45,45,45,45,45,45,45,45,44,43,43,43,43,43,43,43,
08746     42,42,42,42,42,42,42,42,42,41,41,41,41,40,40,40,40,40,40,39,39,
08747     39,39,39,39,39,38,38,38,37,37,37,37,37,37,37,36,36,36,36,36,36,
08748     35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,32,32,32,31,31,31,
08749     31,31,30,30,30,29,29,29,29,29,28,28,28,28,28,27,27,27,27,27,27,
08750     27,26,26,26,26,26,25,25,25,25,25,24,24,24,24,24,24,24,24,23,23,
08751     22,22,22,22,21,21,21,20,20,20,19,19,19,19,19,19,18,18,18,18,17,
08752     17,17,16,16,16,16,16,16,16,15,15,15,15,14,13,13,13,13,12,12,12,
08753     12,12,12,12,12,12,11,11,11,10,10,10,10,10,10,10,9,9,8,8,8,7,7,
08754     7,7,7,7,7,7,7,6,6,6,5,5,5,5,5,5,4,4,4,4,4,4,4,3,3,3,3,3,3,3,2,
08755     1,1,1,1,1,1,1,1
08756   };
08757   const int n4c2w1_s[] = {
08758     120, // Capacity
08759     500, // Number of items
08760     // Size of items (sorted)
08761     100,100,100,99,99,99,98,98,98,98,97,97,97,97,96,96,96,96,96,96,
08762     95,95,95,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,92,91,
08763     91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,88,88,88,88,88,88,
08764     88,88,87,87,87,86,86,86,85,85,85,85,85,85,85,85,85,84,84,84,84,
08765     83,83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,81,80,80,80,80,
08766     80,80,80,79,79,79,79,78,77,77,77,77,77,76,76,76,75,74,74,74,74,
08767     73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,70,70,70,69,69,69,
08768     68,68,68,68,68,68,68,68,68,67,66,66,66,66,66,66,65,65,65,65,65,
08769     65,65,65,65,65,65,65,64,64,63,63,63,63,63,63,63,63,63,62,62,62,
08770     62,62,62,62,62,62,61,61,61,61,61,61,61,61,61,60,60,60,60,59,59,
08771     59,59,58,58,58,57,57,57,57,56,56,56,56,56,56,55,55,54,54,54,54,
08772     53,53,53,53,53,53,52,52,52,52,51,51,51,51,51,50,50,50,50,49,49,
08773     49,49,48,48,48,47,47,47,47,46,46,46,46,46,46,46,46,45,45,45,45,
08774     45,45,45,44,44,44,44,44,43,43,43,43,43,43,43,43,43,42,42,42,42,
08775     42,42,42,42,41,41,41,41,41,41,40,40,40,40,40,40,40,39,39,39,39,
08776     39,39,38,38,37,37,37,36,36,36,36,36,36,35,35,35,35,35,35,35,34,
08777     34,34,34,34,33,33,33,33,33,33,32,32,32,32,32,32,32,31,31,31,31,
08778     31,31,30,30,30,30,30,29,29,29,29,28,28,28,27,27,27,27,26,26,26,
08779     26,26,26,26,25,25,24,24,24,24,24,24,23,23,23,22,22,22,22,21,21,
08780     21,21,21,20,20,19,19,19,19,19,19,19,19,19,18,18,18,18,17,17,17,
08781     17,17,17,17,17,16,16,16,16,15,15,14,14,14,14,13,12,12,12,12,12,
08782     12,11,11,11,11,11,11,11,11,10,10,10,9,9,9,9,9,9,9,9,9,8,8,8,8,
08783     8,8,8,8,8,7,7,7,7,6,6,6,6,6,6,5,5,5,5,5,5,5,5,4,4,4,3,3,3,2,2,
08784     2,1,1,1
08785   };
08786   const int n4c2w1_t[] = {
08787     120, // Capacity
08788     500, // Number of items
08789     // Size of items (sorted)
08790     100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,98,98,
08791     97,97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,95,94,94,94,94,
08792     94,94,94,94,93,93,93,93,92,92,92,92,92,92,91,91,91,91,90,90,90,
08793     90,90,89,89,89,89,89,89,89,89,88,88,88,88,87,87,87,87,86,86,85,
08794     85,85,84,84,84,84,84,84,84,84,83,83,83,83,82,82,82,82,82,81,81,
08795     81,81,81,81,81,81,80,80,80,80,79,79,79,79,79,78,78,78,78,77,77,
08796     77,77,76,76,76,75,75,75,75,75,75,75,74,74,74,74,74,73,73,73,72,
08797     72,72,71,71,71,70,70,70,70,69,69,69,69,69,69,68,68,68,67,67,67,
08798     67,67,67,67,67,67,66,66,66,66,66,66,66,65,65,65,65,64,64,64,64,
08799     64,63,63,63,62,62,62,62,61,61,61,61,61,61,61,60,60,60,59,59,59,
08800     59,59,59,58,58,58,58,58,58,57,57,57,57,57,56,56,56,55,55,55,54,
08801     54,54,53,53,53,53,53,53,52,52,52,52,51,51,51,51,51,50,50,50,50,
08802     50,49,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,46,46,46,46,
08803     46,46,45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,43,43,43,42,
08804     42,42,42,42,42,42,41,41,41,41,41,41,40,40,40,39,39,39,39,38,37,
08805     37,37,37,37,37,37,37,36,36,36,36,36,35,35,34,34,34,34,33,33,33,
08806     33,33,33,33,32,32,32,31,31,31,31,31,31,31,30,30,29,29,29,29,29,
08807     29,27,27,26,26,25,25,25,25,25,25,25,25,24,24,24,24,24,24,24,24,
08808     24,24,23,23,23,23,22,22,22,22,21,21,21,21,21,21,21,21,21,21,20,
08809     20,20,20,19,19,19,19,19,19,18,18,18,18,18,18,18,18,18,17,17,17,
08810     17,17,17,16,16,16,16,15,14,14,14,14,14,14,14,14,13,13,13,13,12,
08811     12,12,12,12,12,12,12,12,11,11,10,10,10,10,9,9,9,9,8,8,8,8,8,8,
08812     7,7,7,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,4,4,4,4,3,3,3,3,3,3,2,2,
08813     2,2,2,2,2,1
08814   };
08815   const int n4c2w2_a[] = {
08816     120, // Capacity
08817     500, // Number of items
08818     // Size of items (sorted)
08819     100,100,100,100,99,99,99,99,99,99,99,99,99,99,98,97,97,97,97,
08820     97,97,97,96,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,
08821     95,94,94,94,94,94,94,94,94,94,93,93,93,93,92,92,92,92,92,92,92,
08822     92,92,91,91,91,91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,89,
08823     89,88,88,88,88,88,88,87,87,87,87,87,86,86,86,86,86,86,86,85,85,
08824     85,85,85,85,85,84,84,84,84,84,84,84,83,83,82,82,82,82,82,81,81,
08825     81,81,81,80,80,80,80,80,80,80,79,79,79,79,79,79,78,78,78,78,78,
08826     78,78,77,77,77,77,76,76,76,76,75,75,75,75,75,75,75,75,75,75,74,
08827     73,73,73,73,73,73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,71,
08828     71,71,70,69,69,69,69,69,69,69,69,68,68,68,68,68,67,67,67,67,67,
08829     67,67,67,67,67,66,66,66,66,65,65,65,65,65,65,65,65,64,64,64,63,
08830     63,63,62,62,62,62,62,62,62,62,62,62,61,61,61,61,61,60,60,60,60,
08831     60,59,59,59,59,59,59,59,59,58,58,58,58,58,58,57,57,57,57,57,57,
08832     57,57,57,56,56,56,56,56,56,55,54,54,54,54,54,53,53,53,53,53,52,
08833     52,52,52,52,52,52,52,52,51,51,50,50,50,50,50,50,50,50,50,49,49,
08834     49,49,49,49,48,48,48,48,48,48,48,48,47,47,47,46,46,46,46,46,46,
08835     46,45,45,45,45,45,45,45,45,45,45,44,44,44,44,44,44,43,43,43,43,
08836     43,43,42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,40,40,39,39,
08837     39,39,39,39,39,38,38,38,38,38,37,37,37,36,36,36,35,35,35,35,35,
08838     35,35,34,34,34,34,34,33,33,33,33,33,33,33,33,33,32,32,32,32,32,
08839     32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,30,29,29,29,29,29,
08840     29,29,29,28,28,28,28,28,28,27,27,27,27,27,27,27,26,26,26,26,26,
08841     26,26,26,25,25,25,25,24,24,24,24,24,24,24,24,24,23,23,23,23,23,
08842     23,23,22,22,22,22,22,21,21,21,21,21,21,21,21,20,20,20,20
08843   };
08844   const int n4c2w2_b[] = {
08845     120, // Capacity
08846     500, // Number of items
08847     // Size of items (sorted)
08848     100,100,100,100,100,100,99,99,99,99,99,99,98,98,98,98,98,98,98,
08849     97,97,97,97,97,97,97,97,97,97,97,97,97,97,96,96,96,95,95,95,95,
08850     95,94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,93,93,92,
08851     92,92,92,92,91,91,91,91,91,91,90,90,90,90,89,89,89,89,89,89,89,
08852     89,88,88,88,88,88,87,86,86,86,86,86,86,85,85,85,84,84,84,84,84,
08853     84,83,83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,81,81,
08854     81,81,80,80,79,79,79,79,79,79,79,79,78,78,78,78,78,77,77,77,77,
08855     77,77,77,76,76,76,76,76,76,76,76,76,75,75,75,74,74,74,74,74,74,
08856     74,74,74,73,73,73,73,72,72,72,72,72,72,72,71,70,70,70,70,70,69,
08857     69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,67,67,67,67,67,
08858     67,67,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,63,63,
08859     63,63,63,63,63,63,62,62,62,62,62,61,61,61,61,61,61,60,60,60,60,
08860     60,59,59,59,59,59,59,59,58,58,57,57,57,56,56,56,56,56,56,56,55,
08861     55,55,55,55,55,55,55,54,54,54,54,54,53,53,53,53,53,53,53,53,52,
08862     52,52,52,52,52,52,51,51,51,51,51,51,51,50,50,50,50,50,50,50,50,
08863     50,50,49,49,49,49,49,49,48,48,48,48,48,48,48,48,47,47,47,47,47,
08864     47,47,47,47,47,46,46,46,46,45,45,45,44,44,44,43,43,42,42,42,42,
08865     42,41,41,41,41,41,41,41,41,41,41,40,40,40,39,39,39,39,39,38,38,
08866     38,38,37,37,37,37,37,37,37,37,37,37,36,36,36,36,36,36,35,35,35,
08867     35,35,35,35,34,34,34,34,34,33,33,33,33,33,33,33,33,33,32,32,32,
08868     32,31,31,31,31,31,31,31,30,30,30,30,30,30,29,29,29,28,28,28,28,
08869     28,28,28,28,28,27,27,27,27,27,27,27,26,26,26,26,26,26,25,25,25,
08870     25,25,25,25,25,25,25,25,24,24,24,24,24,24,24,24,23,23,23,23,23,
08871     23,23,23,22,22,22,22,22,22,21,21,21,21,20,20,20,20,20,20
08872   };
08873   const int n4c2w2_c[] = {
08874     120, // Capacity
08875     500, // Number of items
08876     // Size of items (sorted)
08877     100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,98,98,98,97,
08878     97,97,97,97,97,96,96,96,95,95,95,95,95,95,95,95,94,94,94,94,94,
08879     94,93,93,93,93,93,93,93,92,92,92,92,92,92,92,91,91,91,91,91,91,
08880     90,90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,88,88,88,88,
08881     88,88,88,87,87,87,86,86,86,86,86,85,85,85,85,85,84,84,84,84,84,
08882     84,83,83,83,83,83,83,83,82,82,82,82,81,81,81,81,81,81,81,80,80,
08883     80,80,78,78,78,78,78,78,78,78,78,78,77,77,77,76,76,76,76,76,76,
08884     76,75,75,75,75,74,74,74,74,74,74,74,73,73,73,73,73,73,73,73,72,
08885     72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,70,69,69,69,
08886     69,69,68,68,67,67,67,67,67,66,66,66,66,66,66,66,65,65,65,65,65,
08887     65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,64,63,63,63,63,
08888     62,62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,60,60,59,59,
08889     59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,57,57,57,57,57,
08890     56,56,56,56,56,56,56,56,55,55,55,54,54,53,53,53,53,53,53,53,52,
08891     52,52,52,52,51,51,51,50,50,50,50,49,49,49,49,49,49,49,49,48,48,
08892     48,48,48,48,48,47,47,47,47,47,47,47,46,46,46,45,45,45,45,45,45,
08893     45,45,44,44,44,44,44,44,43,43,43,43,43,43,43,43,43,42,42,42,42,
08894     42,42,42,42,41,41,41,41,41,41,41,41,41,40,40,40,40,40,39,39,39,
08895     39,39,38,38,38,38,38,37,37,37,37,37,36,36,36,35,35,35,35,35,35,
08896     35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,32,
08897     32,32,32,31,31,31,31,31,31,31,31,30,30,30,30,30,30,29,29,29,29,
08898     29,29,29,29,28,28,28,28,28,27,27,27,27,27,27,27,26,26,26,26,26,
08899     26,25,25,25,25,25,24,24,24,24,24,24,24,23,23,23,23,23,23,23,23,
08900     23,22,22,22,22,21,21,21,21,21,21,21,21,21,20,20,20,20,20
08901   };
08902   const int n4c2w2_d[] = {
08903     120, // Capacity
08904     500, // Number of items
08905     // Size of items (sorted)
08906     100,99,99,99,99,99,99,99,98,98,98,98,98,98,98,97,97,97,97,97,
08907     97,97,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,94,94,
08908     94,94,94,93,93,93,93,93,92,92,92,92,91,91,91,91,91,90,90,90,90,
08909     90,90,90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,88,88,88,88,
08910     88,88,87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,84,84,84,84,
08911     84,84,84,83,83,83,83,83,83,83,83,83,83,83,82,82,82,82,82,82,82,
08912     82,81,81,81,81,81,81,81,80,80,80,80,80,79,79,79,79,79,79,78,78,
08913     78,78,78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,76,76,75,75,
08914     75,75,75,75,74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,73,72,
08915     72,72,72,72,71,71,71,71,71,71,71,71,70,70,70,70,70,70,70,69,69,
08916     69,68,68,68,68,68,68,67,67,67,67,67,66,66,65,65,65,65,65,64,64,
08917     64,63,63,63,63,62,62,62,62,62,62,61,61,61,61,61,61,60,60,60,60,
08918     60,60,60,59,59,59,59,59,59,59,58,58,58,58,58,57,57,57,57,57,57,
08919     57,56,56,56,55,55,55,55,55,54,54,54,54,54,54,54,54,54,54,53,53,
08920     53,53,53,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,50,50,
08921     50,49,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,47,47,
08922     46,45,45,45,45,45,45,45,45,44,44,44,43,43,43,43,43,43,42,42,42,
08923     42,42,42,42,42,42,41,41,41,41,41,40,40,40,40,40,39,39,39,39,39,
08924     39,39,39,39,39,38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,36,
08925     36,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,35,35,34,34,34,
08926     34,34,33,33,33,33,33,33,33,33,33,32,32,32,32,32,32,32,31,31,31,
08927     31,31,31,31,30,30,30,30,29,29,28,28,28,28,28,28,28,27,27,27,27,
08928     26,26,26,26,26,25,25,25,25,25,24,24,24,24,24,24,24,23,22,22,22,
08929     22,22,22,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20
08930   };
08931   const int n4c2w2_e[] = {
08932     120, // Capacity
08933     500, // Number of items
08934     // Size of items (sorted)
08935     100,100,100,100,100,100,100,99,99,98,98,98,98,98,98,98,97,97,
08936     97,96,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,95,94,
08937     94,94,94,94,93,93,93,93,93,93,93,93,93,92,92,92,92,92,91,91,91,
08938     91,91,91,91,91,91,91,90,90,90,90,89,89,88,88,88,88,88,88,87,87,
08939     87,87,87,86,86,86,86,85,85,85,84,84,84,84,84,84,83,83,83,83,83,
08940     83,83,83,82,82,82,82,82,81,81,81,81,81,80,80,80,80,80,80,79,79,
08941     79,79,79,79,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,76,76,
08942     76,76,75,75,75,75,75,75,75,75,74,74,74,74,73,73,73,73,73,73,73,
08943     73,72,72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,70,70,
08944     70,70,70,69,69,69,68,68,68,68,68,68,67,67,67,67,67,67,67,67,67,
08945     66,66,66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,
08946     64,63,63,63,63,63,62,62,62,62,62,62,62,62,62,61,61,61,61,61,61,
08947     61,61,61,61,61,61,60,60,60,60,59,59,59,59,59,59,59,58,58,58,58,
08948     58,57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,55,55,54,54,
08949     54,54,54,54,54,54,53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,
08950     52,52,51,51,51,51,51,51,51,51,50,50,50,50,50,50,50,50,49,49,49,
08951     49,49,49,49,49,49,48,48,48,47,47,47,47,47,47,47,46,46,46,46,46,
08952     46,45,45,45,45,45,44,44,44,44,44,44,44,43,43,42,42,42,42,41,41,
08953     40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,38,38,37,37,36,36,
08954     36,36,36,36,35,35,35,35,35,35,35,35,35,35,35,35,34,34,34,34,34,
08955     34,34,34,34,34,34,33,33,33,33,33,33,32,32,32,32,32,32,31,31,31,
08956     31,30,30,30,30,30,30,29,29,28,28,27,27,27,27,27,27,27,26,26,26,
08957     26,26,25,25,25,25,25,25,25,25,25,25,24,24,24,24,24,24,24,23,23,
08958     23,23,23,23,23,23,23,22,22,22,22,21,21,21,21,20,20,20,20,20
08959   };
08960   const int n4c2w2_f[] = {
08961     120, // Capacity
08962     500, // Number of items
08963     // Size of items (sorted)
08964     100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,
08965     99,99,99,98,98,98,98,98,98,97,97,97,97,97,96,95,95,95,95,95,94,
08966     94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,93,92,92,92,92,92,
08967     91,91,91,91,91,91,91,91,91,91,90,90,90,90,90,90,90,90,90,90,89,
08968     89,89,89,89,89,89,88,88,88,88,87,87,87,87,87,86,86,86,86,86,86,
08969     86,86,86,86,85,85,85,85,85,85,84,84,84,84,84,83,83,83,83,83,83,
08970     83,83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,
08971     79,79,79,79,79,79,79,78,78,78,78,78,78,78,77,77,77,77,77,77,77,
08972     76,76,76,76,76,76,75,75,75,75,75,75,75,75,75,74,74,74,74,74,74,
08973     74,74,74,74,73,73,73,73,72,72,72,72,72,72,72,72,72,72,71,71,71,
08974     71,70,70,70,70,70,70,70,69,69,69,69,69,69,68,68,68,68,68,68,68,
08975     68,68,68,67,67,67,67,67,66,66,66,66,66,65,65,65,65,65,64,64,64,
08976     64,63,63,63,63,63,63,62,62,62,62,62,62,62,62,62,61,61,61,61,61,
08977     61,60,59,58,58,58,58,57,57,57,57,57,56,56,56,56,56,56,56,56,56,
08978     56,55,55,55,54,54,54,54,53,53,53,53,52,52,52,52,52,51,51,51,51,
08979     51,51,50,50,50,50,50,50,50,50,50,50,49,49,48,48,48,48,48,48,48,
08980     47,47,46,46,46,46,46,46,46,46,45,45,45,45,45,45,44,44,43,43,43,
08981     43,42,42,42,42,42,42,42,41,41,41,41,41,41,40,40,40,39,39,38,38,
08982     38,38,37,37,37,37,37,37,37,37,37,37,37,37,37,36,36,36,36,36,36,
08983     36,36,36,35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,
08984     33,33,33,32,32,32,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30,
08985     30,29,29,29,29,29,28,28,28,28,28,28,28,28,28,27,27,27,27,27,26,
08986     26,26,26,25,25,25,25,25,25,25,25,24,24,24,23,23,23,23,23,23,23,
08987     23,23,22,22,22,22,22,22,22,22,22,21,21,21,21,21,20,20,20,20
08988   };
08989   const int n4c2w2_g[] = {
08990     120, // Capacity
08991     500, // Number of items
08992     // Size of items (sorted)
08993     100,100,100,100,100,100,100,100,100,100,99,99,99,99,98,98,98,
08994     98,98,98,97,97,97,97,97,97,96,96,96,96,96,95,95,95,95,95,95,95,
08995     95,95,95,95,94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,92,
08996     92,92,91,91,91,91,90,90,90,90,90,90,90,89,89,89,89,89,89,88,88,
08997     88,88,88,88,88,87,87,87,87,86,86,86,86,85,85,85,85,85,85,85,84,
08998     84,84,84,84,84,83,83,83,83,83,82,82,82,81,81,81,81,80,80,80,80,
08999     79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,77,77,77,77,77,76,
09000     76,76,76,75,75,75,75,75,75,75,75,74,74,74,74,74,74,73,73,73,72,
09001     72,72,72,72,72,71,71,71,71,71,71,70,70,70,70,70,69,69,69,69,69,
09002     69,69,69,69,69,68,68,68,68,68,68,68,68,68,68,68,68,68,67,67,67,
09003     67,66,66,66,65,65,65,65,65,65,65,65,65,64,64,64,64,64,64,63,63,
09004     63,63,63,63,63,63,63,63,63,62,62,62,62,62,61,61,61,60,60,60,60,
09005     60,60,59,59,59,59,59,59,59,59,59,59,58,58,58,57,57,57,57,57,57,
09006     57,57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,54,54,54,54,
09007     54,54,54,54,54,53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,51,
09008     51,51,51,50,50,50,50,50,50,50,50,50,49,49,49,48,48,48,48,47,47,
09009     47,47,47,47,47,47,47,46,46,46,46,45,45,45,45,45,45,44,44,44,43,
09010     43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,41,40,40,40,40,40,
09011     39,39,39,39,39,38,38,37,37,37,37,37,36,36,36,36,35,35,35,35,35,
09012     35,35,35,35,34,34,34,34,34,33,33,33,33,33,33,33,32,32,32,32,32,
09013     31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,29,29,29,29,28,
09014     28,28,28,28,27,27,27,27,27,27,27,27,27,26,26,26,26,26,26,25,25,
09015     25,24,24,24,24,23,23,23,23,23,23,22,22,22,22,22,22,22,22,21,21,
09016     21,21,21,21,21,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20
09017   };
09018   const int n4c2w2_h[] = {
09019     120, // Capacity
09020     500, // Number of items
09021     // Size of items (sorted)
09022     100,99,99,99,99,99,99,99,98,98,98,98,98,98,97,97,97,97,96,96,
09023     96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,94,94,94,94,93,93,
09024     93,93,93,93,93,92,92,92,92,92,92,92,92,92,91,91,91,91,91,91,90,
09025     90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,88,88,88,88,87,87,
09026     86,86,86,86,86,86,86,86,86,85,85,85,85,85,85,85,85,85,85,85,84,
09027     84,84,84,84,83,83,83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,
09028     81,80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,78,78,78,78,
09029     77,77,77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,
09030     75,75,74,74,74,73,73,73,73,72,72,72,72,71,71,71,71,71,71,71,71,
09031     70,70,70,70,70,69,69,69,69,69,68,68,68,68,68,68,68,67,67,67,67,
09032     67,66,66,66,66,66,66,65,65,65,65,65,64,64,64,64,64,64,63,63,62,
09033     62,62,62,62,61,61,61,60,60,60,60,60,60,60,60,60,60,60,59,59,59,
09034     59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,
09035     56,56,56,56,56,56,56,55,55,55,55,55,54,54,54,54,54,53,53,53,53,
09036     53,53,53,52,52,52,52,52,51,51,51,51,51,51,51,51,49,49,49,49,49,
09037     48,48,48,48,47,47,47,47,47,47,47,47,47,47,47,47,47,46,46,46,46,
09038     46,46,46,45,45,45,45,45,45,45,45,44,44,43,43,43,43,43,43,43,43,
09039     42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,38,38,38,38,38,38,
09040     38,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,35,35,35,35,
09041     35,34,34,34,34,34,34,34,34,33,33,33,33,33,33,33,32,32,32,32,32,
09042     32,31,31,31,31,31,31,30,30,30,30,30,30,29,29,29,29,29,28,28,28,
09043     27,27,27,27,27,27,27,26,26,26,26,26,25,25,25,25,25,25,25,25,25,
09044     25,25,24,24,24,23,23,23,23,23,23,23,23,22,22,22,22,22,22,22,22,
09045     21,21,21,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20
09046   };
09047   const int n4c2w2_i[] = {
09048     120, // Capacity
09049     500, // Number of items
09050     // Size of items (sorted)
09051     100,100,100,100,99,99,99,99,99,99,98,98,98,98,97,97,97,97,97,
09052     97,97,96,96,96,96,96,95,95,95,95,95,95,95,95,95,95,95,94,94,94,
09053     94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,92,92,92,92,
09054     92,92,91,91,91,91,91,91,90,90,90,90,90,90,90,90,90,90,89,89,89,
09055     88,88,88,88,87,87,87,87,87,87,87,87,87,87,87,86,86,86,85,85,85,
09056     85,85,85,85,84,84,84,84,83,83,83,83,83,82,82,82,82,82,82,82,82,
09057     82,81,81,81,81,81,81,81,80,80,80,80,80,79,79,79,79,79,79,79,78,
09058     78,78,77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,76,75,75,75,
09059     75,75,75,75,74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,72,
09060     72,72,72,72,72,71,71,71,71,71,70,70,70,70,70,70,70,70,70,70,69,
09061     69,68,68,68,68,68,68,68,67,67,67,67,67,66,66,66,66,65,65,65,65,
09062     65,65,65,65,65,65,65,64,64,64,64,64,63,63,63,62,62,62,62,62,61,
09063     61,61,61,61,60,60,60,60,60,59,59,59,59,59,59,59,58,58,58,58,58,
09064     58,58,58,58,57,57,57,57,57,57,57,57,56,56,55,55,55,54,54,54,53,
09065     53,53,53,53,53,53,52,51,51,50,50,50,50,49,49,49,49,49,49,49,49,
09066     48,48,48,48,48,48,48,48,48,48,48,47,47,47,47,47,47,47,46,46,46,
09067     46,46,46,45,45,45,45,45,45,44,44,44,44,44,43,43,43,43,43,43,43,
09068     43,43,43,43,43,43,42,42,42,42,42,42,42,41,41,41,41,41,41,41,40,
09069     40,40,40,40,40,39,39,39,39,39,38,38,38,38,37,37,37,37,37,37,36,
09070     35,35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,33,33,32,32,
09071     32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,29,29,29,29,
09072     29,29,29,29,29,29,28,28,28,28,28,28,27,27,27,27,27,26,26,26,26,
09073     25,25,25,25,25,25,25,25,25,24,24,24,24,24,24,23,23,23,23,23,23,
09074     22,22,22,22,22,22,22,22,21,21,21,20,20,20,20,20,20,20,20
09075   };
09076   const int n4c2w2_j[] = {
09077     120, // Capacity
09078     500, // Number of items
09079     // Size of items (sorted)
09080     100,100,100,99,99,99,99,98,98,98,98,98,98,98,98,98,98,98,97,97,
09081     97,97,97,97,97,97,96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,
09082     94,94,93,93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,91,91,
09083     91,91,91,91,91,91,91,90,90,90,90,89,89,89,89,88,88,88,88,87,87,
09084     87,87,87,87,87,87,86,86,86,86,86,85,85,85,85,85,85,85,84,84,84,
09085     84,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,82,81,81,81,81,
09086     81,81,81,81,80,80,80,79,79,79,79,79,79,78,78,78,78,78,78,78,77,
09087     77,77,77,76,76,76,75,75,75,75,75,75,75,74,74,74,74,73,73,73,72,
09088     72,72,72,72,71,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,69,
09089     69,69,69,68,68,68,68,68,68,68,68,67,67,67,67,67,67,67,67,67,67,
09090     66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,65,65,65,65,65,64,
09091     64,64,64,64,64,64,63,63,63,63,62,62,61,61,61,61,61,61,61,61,61,
09092     61,61,59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,57,57,57,
09093     57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,54,54,54,
09094     54,54,54,53,53,53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,
09095     52,51,51,51,51,51,51,51,51,51,51,51,51,50,50,50,50,50,49,49,49,
09096     49,49,49,48,48,48,47,47,47,47,47,46,45,45,45,45,45,45,44,44,43,
09097     43,43,43,43,42,42,42,42,42,42,42,42,41,41,41,41,41,41,41,41,40,
09098     40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,38,38,38,38,
09099     37,37,37,36,35,35,35,35,35,35,35,35,35,35,35,35,34,34,34,34,34,
09100     34,34,33,33,33,33,33,32,32,32,32,32,32,32,32,32,31,31,31,31,30,
09101     30,30,30,29,29,29,28,28,28,28,28,28,28,28,27,27,27,27,27,27,27,
09102     26,26,26,25,25,25,24,24,24,24,24,24,24,23,23,23,23,23,23,23,23,
09103     23,23,22,22,22,22,22,22,21,21,21,20,20,20,20,20,20,20
09104   };
09105   const int n4c2w2_k[] = {
09106     120, // Capacity
09107     500, // Number of items
09108     // Size of items (sorted)
09109     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,
09110     98,98,98,98,98,97,97,97,97,97,97,96,96,96,96,96,96,96,96,96,96,
09111     95,95,95,95,95,94,94,94,94,94,94,94,94,93,93,93,93,92,92,92,92,
09112     92,92,92,91,91,91,91,91,91,91,91,91,90,89,89,89,89,89,89,88,88,
09113     88,88,88,88,87,87,87,87,87,87,86,86,86,86,86,86,85,85,85,85,85,
09114     84,84,84,84,83,83,83,83,83,83,83,83,82,82,82,82,82,82,82,81,81,
09115     81,81,81,80,80,80,80,80,80,80,79,79,79,79,79,78,78,78,78,77,77,
09116     77,77,77,77,77,77,77,77,76,76,76,75,75,75,75,75,75,75,74,74,74,
09117     74,74,74,74,74,73,73,73,73,72,72,72,72,72,71,71,71,71,71,71,71,
09118     71,71,70,70,70,70,70,70,69,69,69,69,69,68,68,68,68,68,68,67,67,
09119     67,67,67,66,66,66,66,66,66,66,65,65,65,65,65,65,65,65,65,65,65,
09120     65,64,64,64,64,64,64,64,63,63,63,63,62,62,62,62,62,62,62,62,61,
09121     61,61,61,60,60,60,60,60,60,60,59,59,59,59,59,58,58,58,58,58,57,
09122     56,56,56,56,55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,54,54,
09123     54,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,51,51,
09124     51,51,51,51,51,50,50,50,50,50,49,49,49,48,48,48,48,48,47,47,47,
09125     47,46,46,46,46,46,45,44,44,44,44,44,44,44,44,44,44,44,44,44,43,
09126     43,43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,41,40,40,40,40,
09127     39,39,39,39,39,39,39,38,38,38,38,38,38,38,38,38,37,37,37,37,37,
09128     37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,35,35,34,34,34,34,
09129     34,34,34,34,33,33,33,33,33,32,32,32,32,32,32,32,31,31,31,31,31,
09130     31,31,31,31,30,30,30,30,30,30,30,29,29,29,29,29,29,29,29,28,28,
09131     28,28,28,28,28,28,27,27,27,27,27,27,26,26,26,25,25,25,25,24,24,
09132     23,23,23,23,23,23,23,23,22,22,22,22,21,21,21,21,20,20,20,20
09133   };
09134   const int n4c2w2_l[] = {
09135     120, // Capacity
09136     500, // Number of items
09137     // Size of items (sorted)
09138     100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,98,98,
09139     98,98,98,98,98,97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,96,
09140     95,95,95,95,95,94,94,94,94,93,93,93,93,93,92,92,92,92,92,91,91,
09141     91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,88,88,
09142     88,87,87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,85,85,85,85,
09143     85,85,85,85,85,84,84,84,84,84,84,84,84,84,84,84,84,83,83,83,83,
09144     83,82,82,82,82,81,81,81,81,81,80,79,79,79,79,79,79,79,79,79,78,
09145     78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,
09146     75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,
09147     73,73,73,73,72,72,72,72,72,72,72,71,71,71,71,71,71,71,71,70,70,
09148     69,69,69,69,69,68,68,68,67,67,67,67,67,66,66,66,66,66,65,65,65,
09149     65,65,65,65,64,64,64,64,64,64,64,63,63,63,63,63,63,63,62,62,62,
09150     61,61,61,61,61,60,60,60,60,60,60,59,59,59,59,59,59,59,59,59,58,
09151     58,58,58,58,57,57,57,57,57,57,56,56,56,55,55,55,55,55,54,54,54,
09152     54,54,53,53,53,53,53,53,53,53,53,53,53,52,52,52,52,51,51,50,50,
09153     50,50,50,50,50,50,50,49,49,49,48,48,48,48,48,48,47,47,47,47,47,
09154     47,47,47,46,46,45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,
09155     43,43,43,43,43,43,42,42,42,42,42,41,41,40,40,40,40,40,39,39,39,
09156     39,39,39,39,39,39,39,38,38,38,38,37,37,37,37,37,37,37,36,36,36,
09157     36,36,35,35,35,35,35,35,34,34,34,34,34,33,33,33,33,33,33,33,32,
09158     32,32,32,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,
09159     30,29,29,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,27,27,27,
09160     27,27,27,26,26,26,26,26,26,25,25,25,25,25,24,24,24,24,24,24,24,
09161     24,24,23,23,23,23,22,22,22,22,22,21,21,21,21,21,20,20,20
09162   };
09163   const int n4c2w2_m[] = {
09164     120, // Capacity
09165     500, // Number of items
09166     // Size of items (sorted)
09167     100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,98,
09168     98,98,98,97,97,97,97,97,97,97,96,96,96,96,96,95,95,95,94,94,94,
09169     94,93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,
09170     91,91,91,91,90,90,90,90,90,90,89,88,88,88,88,87,87,87,87,87,87,
09171     87,87,86,86,86,86,86,86,86,86,86,85,85,85,85,84,84,84,84,84,83,
09172     83,83,83,83,83,82,82,82,82,82,82,82,82,82,82,82,81,81,81,81,81,
09173     81,81,81,80,80,80,80,79,79,79,79,78,78,78,78,78,78,78,77,77,77,
09174     77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,75,75,75,75,75,
09175     75,75,75,75,75,75,75,74,74,74,74,74,74,74,73,73,73,73,73,72,72,
09176     72,72,71,71,71,71,71,71,71,71,70,70,70,70,70,69,69,69,69,69,69,
09177     69,69,69,69,68,68,68,68,67,67,67,67,67,66,65,65,65,64,64,63,63,
09178     63,63,63,63,63,62,62,62,62,62,62,62,62,62,61,61,61,61,60,60,60,
09179     60,60,60,60,59,59,59,59,59,58,58,57,57,57,57,57,57,57,57,57,56,
09180     56,56,56,56,56,55,55,55,55,55,54,54,54,54,54,54,54,54,54,53,53,
09181     53,53,53,52,52,52,52,52,52,52,52,52,52,52,51,51,51,51,51,51,50,
09182     50,50,50,50,49,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,48,
09183     48,47,47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,45,45,45,45,
09184     45,44,44,44,44,44,44,44,44,43,43,43,43,43,43,43,42,42,42,42,41,
09185     41,41,41,41,41,41,41,40,40,40,40,40,39,39,39,39,39,38,38,37,37,
09186     37,37,37,37,37,36,36,36,35,35,35,35,35,35,35,34,34,34,34,34,34,
09187     34,34,33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,
09188     30,30,30,29,29,28,28,28,28,28,28,27,27,27,26,26,25,25,25,25,25,
09189     25,25,25,24,24,24,24,24,23,23,23,23,22,22,22,22,22,22,22,21,21,
09190     21,21,21,21,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20
09191   };
09192   const int n4c2w2_n[] = {
09193     120, // Capacity
09194     500, // Number of items
09195     // Size of items (sorted)
09196     100,100,100,100,100,100,99,99,99,99,99,99,98,98,98,98,98,98,98,
09197     98,97,97,97,97,97,97,96,96,96,96,95,95,95,95,95,95,95,95,95,94,
09198     94,94,94,94,94,93,93,93,93,93,93,93,93,93,93,92,92,91,91,91,91,
09199     90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,89,89,89,88,88,88,
09200     88,88,88,88,87,87,87,87,87,87,87,86,86,86,86,86,86,84,84,84,84,
09201     84,84,84,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,
09202     80,80,80,80,80,80,80,80,80,80,80,79,79,79,79,79,79,78,78,78,78,
09203     78,78,78,78,77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,75,75,
09204     75,75,75,75,75,74,74,74,74,74,74,73,73,72,72,72,72,71,71,71,71,
09205     71,70,70,70,70,70,70,70,70,69,69,68,68,68,68,68,68,67,67,67,67,
09206     67,67,67,66,66,66,66,66,66,66,65,64,64,64,64,64,64,64,64,64,64,
09207     64,63,63,63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,61,61,61,
09208     61,61,60,60,60,60,60,59,59,59,59,59,59,58,58,58,58,58,57,57,57,
09209     57,57,57,57,56,56,56,56,56,56,56,56,56,56,56,56,56,55,55,55,55,
09210     55,55,55,54,54,54,54,53,52,52,52,52,52,52,52,52,51,51,51,51,51,
09211     51,51,51,51,51,50,50,50,50,50,49,49,49,49,49,49,49,48,48,48,48,
09212     48,48,48,48,48,47,47,47,47,46,46,46,46,46,46,46,46,46,46,46,45,
09213     45,45,45,44,44,44,44,44,44,44,43,43,43,43,42,42,42,42,42,41,41,
09214     41,41,41,41,41,40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,37,
09215     37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,36,36,35,35,
09216     35,35,35,35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,33,33,33,
09217     33,33,33,33,33,33,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30,
09218     30,29,29,29,29,29,29,29,28,28,28,27,27,27,27,27,27,26,26,26,25,
09219     25,24,24,24,23,23,22,22,22,22,21,21,21,21,20,20,20,20,20
09220   };
09221   const int n4c2w2_o[] = {
09222     120, // Capacity
09223     500, // Number of items
09224     // Size of items (sorted)
09225     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,
09226     98,98,98,97,97,97,97,97,97,96,96,96,96,96,95,95,95,95,95,95,94,
09227     94,94,94,94,94,94,94,93,93,93,93,93,92,92,92,92,92,91,91,91,91,
09228     90,90,90,90,90,89,89,89,89,89,89,88,88,88,88,87,87,87,86,86,86,
09229     86,86,86,86,86,85,85,85,85,85,85,84,84,84,84,84,83,83,83,83,83,
09230     83,83,83,83,82,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,
09231     80,80,79,79,79,79,79,78,78,78,78,78,78,78,77,77,77,77,77,77,76,
09232     76,76,76,76,75,75,75,75,75,75,75,75,75,74,74,74,74,73,73,73,73,
09233     73,73,73,72,72,72,72,72,72,72,72,72,71,71,70,70,70,70,70,70,70,
09234     70,70,70,69,69,69,69,69,69,68,68,68,68,67,67,67,67,67,67,66,66,
09235     66,66,66,66,66,66,66,65,65,65,65,65,65,65,65,65,65,65,64,64,64,
09236     64,64,63,63,63,63,62,62,62,62,62,62,61,61,61,61,60,60,60,60,60,
09237     60,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,58,57,57,57,57,
09238     57,56,56,56,56,56,56,55,55,55,55,54,54,54,54,54,54,53,53,53,53,
09239     52,52,52,52,52,51,51,51,51,51,51,51,51,50,50,50,50,49,49,49,49,
09240     49,48,48,48,48,48,48,48,48,47,47,47,47,47,46,46,45,45,45,44,44,
09241     44,44,44,44,43,43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,42,
09242     41,41,41,41,41,41,41,41,41,40,40,40,40,40,40,39,39,39,38,38,38,
09243     38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,37,36,36,36,36,36,
09244     35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,34,34,33,33,33,33,
09245     33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,31,31,31,31,31,30,
09246     30,30,30,30,30,30,30,30,29,29,29,29,28,28,28,28,28,28,27,27,27,
09247     27,27,27,26,26,26,26,26,25,25,25,25,25,25,25,25,25,25,25,24,24,
09248     23,23,23,23,23,23,22,22,22,22,22,21,21,21,21,21,21,21,21,20
09249   };
09250   const int n4c2w2_p[] = {
09251     120, // Capacity
09252     500, // Number of items
09253     // Size of items (sorted)
09254     100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,98,98,
09255     98,98,97,97,97,97,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,
09256     94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,92,
09257     92,92,92,92,92,92,92,92,92,91,91,91,91,90,90,90,90,90,89,89,89,
09258     89,89,89,89,88,88,88,88,88,88,88,88,88,88,88,87,87,87,87,87,86,
09259     86,86,86,86,86,85,85,85,85,85,85,85,85,84,84,84,83,83,83,83,83,
09260     83,83,83,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,80,80,80,
09261     79,79,79,79,79,79,79,79,79,78,78,78,78,78,78,77,77,76,76,76,76,
09262     75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,72,72,72,72,72,72,
09263     72,72,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,69,69,69,69,
09264     69,68,68,68,68,68,68,67,67,67,67,67,67,67,67,67,67,66,66,66,66,
09265     66,66,65,65,65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,63,63,
09266     62,62,62,62,61,61,61,61,61,61,60,60,60,60,60,60,59,59,59,59,59,
09267     59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,56,56,56,56,56,56,
09268     55,55,55,55,54,54,54,54,54,54,53,53,53,53,53,53,53,53,53,53,53,
09269     52,52,51,51,51,51,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
09270     49,49,48,48,48,48,48,48,48,47,47,46,46,46,45,45,45,45,45,44,44,
09271     44,43,43,43,43,43,42,42,42,42,42,41,41,40,40,40,40,40,40,40,40,
09272     39,39,39,39,39,39,39,39,39,39,38,38,38,38,37,37,37,37,37,36,36,
09273     36,36,36,35,35,35,35,35,35,35,35,35,35,35,35,35,34,34,34,34,34,
09274     34,33,33,33,33,32,32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,
09275     29,29,29,29,28,28,28,28,27,27,27,27,27,27,27,27,26,26,26,25,25,
09276     25,25,25,24,24,24,24,24,24,24,24,23,23,23,23,23,23,23,23,22,22,
09277     22,22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,20,20,20
09278   };
09279   const int n4c2w2_q[] = {
09280     120, // Capacity
09281     500, // Number of items
09282     // Size of items (sorted)
09283     100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,98,
09284     98,97,97,97,97,97,97,97,97,97,97,97,97,96,96,96,96,96,95,95,95,
09285     95,95,94,94,94,94,94,94,94,94,93,93,93,93,92,92,92,92,92,92,92,
09286     91,91,91,91,91,91,91,91,90,90,90,90,90,90,90,90,90,89,89,89,89,
09287     89,89,89,89,88,88,87,87,87,87,86,86,86,86,86,85,85,85,85,85,84,
09288     84,84,84,84,84,83,83,83,82,82,82,82,82,81,81,81,81,81,81,81,80,
09289     80,80,79,79,79,79,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,
09290     78,78,77,77,77,77,77,77,77,77,76,76,76,76,76,76,75,75,75,75,74,
09291     74,74,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,71,71,71,
09292     70,70,70,70,70,70,70,69,69,69,69,68,68,68,67,67,67,67,67,67,66,
09293     66,66,66,66,66,65,65,65,65,65,64,64,64,64,64,64,64,63,63,63,63,
09294     63,62,62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,60,60,60,
09295     59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,57,57,56,56,
09296     56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,53,53,53,53,53,53,
09297     53,52,52,52,52,52,52,52,51,51,51,51,51,51,51,51,50,50,50,50,50,
09298     50,50,50,49,49,49,49,49,49,49,48,48,48,48,47,47,47,47,47,47,46,
09299     46,46,46,46,46,46,45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,
09300     44,43,43,43,43,43,43,43,43,43,42,42,42,42,41,41,41,41,41,41,41,
09301     41,40,40,40,40,40,40,40,40,39,39,39,39,38,38,38,38,37,37,37,37,
09302     37,36,36,36,36,35,35,35,34,34,34,34,34,34,34,34,33,33,33,33,33,
09303     33,33,33,33,33,33,33,32,32,32,32,32,32,31,31,31,30,30,30,29,29,
09304     29,29,29,29,28,28,28,28,28,28,27,27,27,27,27,27,27,27,27,26,26,
09305     26,26,26,26,25,25,25,25,25,25,24,24,24,23,23,23,23,23,23,23,23,
09306     23,23,22,22,22,22,22,22,22,21,21,21,21,21,21,20,20,20,20
09307   };
09308   const int n4c2w2_r[] = {
09309     120, // Capacity
09310     500, // Number of items
09311     // Size of items (sorted)
09312     100,100,100,100,99,99,99,99,98,98,98,98,98,98,98,98,97,97,97,
09313     97,97,97,97,97,97,97,96,96,95,95,95,95,95,95,95,94,94,94,94,94,
09314     94,94,94,94,94,93,93,92,92,92,92,92,91,91,91,90,90,90,90,90,90,
09315     89,89,89,89,89,89,89,89,89,89,89,88,88,87,87,86,86,86,86,86,86,
09316     86,86,86,86,85,85,85,84,84,84,84,84,84,84,84,84,84,84,84,84,83,
09317     83,83,83,83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,81,81,81,
09318     81,81,81,81,81,81,80,80,80,80,80,80,79,79,79,79,79,79,79,78,78,
09319     78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,76,76,75,75,75,74,
09320     74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,72,71,71,71,71,
09321     71,71,70,70,70,70,70,69,69,69,69,69,68,68,68,68,67,67,66,66,66,
09322     66,66,66,66,66,66,65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,
09323     64,64,64,64,63,63,63,63,63,63,63,62,62,62,62,62,62,62,62,62,61,
09324     61,61,60,60,60,60,60,59,59,59,59,58,58,58,58,58,58,58,58,57,57,
09325     57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,
09326     54,54,54,54,53,53,53,53,53,53,53,52,52,52,52,52,51,51,51,51,51,
09327     51,51,51,51,51,50,50,49,49,49,49,48,48,48,48,48,48,48,47,47,47,
09328     47,47,47,47,46,46,46,46,46,46,46,46,45,44,44,44,44,44,44,44,43,
09329     43,43,43,43,42,42,41,41,41,41,41,40,40,40,40,40,40,40,39,39,39,
09330     39,39,39,39,38,38,38,38,38,38,37,37,37,37,37,37,37,37,36,36,36,
09331     36,36,36,36,36,36,36,36,36,35,35,34,34,34,34,34,33,33,33,33,32,
09332     32,32,32,31,31,31,31,31,31,31,30,30,30,29,29,29,29,29,29,29,29,
09333     29,28,28,28,28,28,27,27,27,27,27,27,26,26,26,26,25,25,25,25,25,
09334     25,25,25,24,24,24,24,24,24,24,24,24,24,23,23,23,23,23,22,22,22,
09335     22,22,21,21,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20
09336   };
09337   const int n4c2w2_s[] = {
09338     120, // Capacity
09339     500, // Number of items
09340     // Size of items (sorted)
09341     100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,97,97,97,97,
09342     97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,96,96,95,95,95,94,
09343     94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,92,92,92,92,
09344     91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,
09345     89,89,89,88,88,88,88,88,87,87,87,87,87,87,87,86,86,86,85,85,85,
09346     85,85,84,84,84,84,83,83,83,83,83,82,82,81,81,81,81,81,81,80,80,
09347     80,80,80,80,80,79,79,79,79,78,78,78,78,78,78,78,78,78,77,77,77,
09348     77,77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,75,75,
09349     75,75,75,74,74,74,74,74,74,74,74,74,74,74,73,73,73,72,72,72,72,
09350     72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,71,70,70,70,70,70,
09351     70,70,70,69,69,69,69,69,68,68,68,68,68,68,68,68,68,68,67,67,66,
09352     66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,63,63,
09353     63,63,63,63,63,63,62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,
09354     60,60,60,60,60,59,59,59,59,59,59,59,58,58,58,57,57,57,57,57,57,
09355     57,56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,54,54,53,53,
09356     52,52,52,52,52,51,51,51,51,51,50,50,50,50,50,50,50,49,49,49,49,
09357     49,48,48,48,48,47,47,47,47,47,47,46,46,46,45,45,45,45,45,45,45,
09358     45,45,44,44,44,44,44,43,43,43,43,43,43,43,43,42,42,41,41,41,41,
09359     41,41,41,41,41,40,40,39,39,39,39,38,38,38,38,38,38,37,37,37,37,
09360     37,37,37,36,36,36,36,36,36,36,36,36,36,36,35,35,35,35,35,35,34,
09361     34,34,34,34,34,33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,30,
09362     30,30,29,29,29,29,28,28,28,27,27,27,27,26,26,26,26,26,26,26,26,
09363     25,25,24,24,24,24,24,24,24,24,24,23,23,23,23,23,23,23,23,23,23,
09364     23,22,22,22,22,22,21,21,21,21,21,21,20,20,20,20,20,20,20
09365   };
09366   const int n4c2w2_t[] = {
09367     120, // Capacity
09368     500, // Number of items
09369     // Size of items (sorted)
09370     100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,99,98,98,98,
09371     98,98,98,98,98,98,98,98,97,97,97,97,97,97,97,97,96,96,96,96,96,
09372     96,95,95,95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,92,92,
09373     92,92,92,92,91,91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,88,
09374     88,88,87,87,87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,85,85,
09375     85,85,85,84,84,84,84,83,83,83,83,83,83,82,82,82,82,82,82,82,82,
09376     82,82,82,82,81,81,81,81,81,81,81,81,81,80,80,80,80,80,80,80,80,
09377     80,80,79,79,79,78,78,78,78,77,77,77,77,77,76,76,76,76,75,75,75,
09378     75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,74,73,73,73,72,72,
09379     72,72,72,72,71,70,70,70,70,69,69,69,69,68,68,68,68,68,68,68,67,
09380     67,67,66,66,66,66,66,66,66,65,65,65,65,65,65,65,65,65,64,64,64,
09381     64,64,64,63,63,62,62,62,62,62,61,61,61,61,60,60,60,60,60,60,60,
09382     59,59,59,59,59,59,58,58,58,58,57,57,57,56,56,56,56,56,56,56,55,
09383     55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,53,53,52,52,52,52,
09384     52,52,52,52,51,51,51,51,51,51,51,50,50,50,50,49,49,48,48,48,48,
09385     48,48,48,48,48,48,47,47,47,47,47,47,46,46,46,46,46,46,46,46,45,
09386     45,45,45,45,45,45,44,44,44,44,44,44,43,43,43,42,42,42,42,42,41,
09387     41,41,41,41,40,40,40,40,40,39,39,39,38,38,38,38,38,37,37,37,37,
09388     37,37,37,36,36,36,36,36,36,35,35,35,35,35,34,34,34,34,34,34,34,
09389     34,34,34,33,33,33,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,
09390     32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,30,29,29,29,29,29,
09391     29,29,28,28,28,28,28,28,28,28,27,27,27,27,27,27,27,27,27,27,26,
09392     26,26,26,26,26,26,26,25,25,25,25,25,25,25,24,24,23,23,23,23,23,
09393     23,23,23,22,22,22,22,22,22,22,21,21,21,21,21,21,20,20,20
09394   };
09395   const int n4c2w4_a[] = {
09396     120, // Capacity
09397     500, // Number of items
09398     // Size of items (sorted)
09399     100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,98,
09400     98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,97,97,96,96,96,96,
09401     96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,95,95,95,95,95,94,
09402     94,94,94,94,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,91,90,
09403     90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,88,88,88,88,88,88,
09404     88,87,87,87,87,87,87,87,87,87,87,87,87,86,86,85,85,85,85,85,85,
09405     84,84,84,84,84,83,83,83,83,83,83,82,82,82,81,81,81,81,81,81,81,
09406     81,80,80,79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,78,78,78,
09407     77,77,77,77,76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,75,75,
09408     75,74,74,74,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,72,
09409     72,72,71,71,71,71,71,71,71,71,71,70,70,70,70,70,69,69,69,69,68,
09410     68,68,68,68,68,68,68,68,68,68,68,68,67,67,67,67,67,66,66,66,66,
09411     66,66,66,66,66,65,65,65,65,65,65,65,65,64,64,63,63,63,63,63,63,
09412     63,63,63,62,62,62,62,62,61,61,61,61,61,60,60,60,60,60,59,59,59,
09413     59,59,59,59,59,58,58,58,58,58,58,57,57,57,57,57,57,57,56,56,56,
09414     56,56,55,55,55,55,55,54,54,54,54,54,54,54,54,53,53,53,53,52,52,
09415     52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,50,50,50,50,50,
09416     50,49,49,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,47,
09417     47,47,47,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,44,43,
09418     43,43,43,43,43,43,43,43,42,42,41,41,41,41,40,40,40,40,40,40,40,
09419     40,40,40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,38,38,
09420     37,37,37,37,37,37,37,36,36,36,36,36,36,35,35,35,35,35,35,35,35,
09421     35,35,35,35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,
09422     33,33,33,33,33,32,32,32,32,32,32,31,31,31,31,30,30,30,30,30
09423   };
09424   const int n4c2w4_b[] = {
09425     120, // Capacity
09426     500, // Number of items
09427     // Size of items (sorted)
09428     100,100,100,100,99,99,99,99,98,98,98,98,98,98,97,97,97,97,97,
09429     97,96,96,95,95,95,95,95,95,95,95,94,94,94,94,94,94,94,94,94,94,
09430     94,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,92,92,91,91,
09431     91,91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,88,
09432     88,88,87,87,87,87,86,86,86,86,85,85,85,84,84,84,84,83,83,83,83,
09433     82,82,82,82,82,82,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,
09434     80,80,80,80,79,79,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,
09435     77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,76,75,75,
09436     75,75,75,75,74,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,
09437     72,72,72,72,72,72,72,72,72,72,72,71,71,71,71,71,71,70,70,70,70,
09438     70,70,70,69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,68,68,
09439     67,67,67,67,67,67,66,66,66,65,65,65,65,64,64,63,63,63,63,63,63,
09440     63,62,62,62,62,62,61,61,61,61,61,61,61,61,60,60,60,60,60,60,60,
09441     59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,58,58,57,57,57,
09442     57,57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,54,54,
09443     54,54,54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,
09444     51,51,51,51,51,51,50,50,50,50,50,50,50,50,50,49,49,49,49,49,49,
09445     49,49,49,49,49,49,48,48,48,48,48,48,48,47,47,47,47,47,47,46,46,
09446     46,46,46,46,46,45,45,45,45,45,45,45,45,44,44,44,44,44,44,43,43,
09447     43,43,43,43,43,42,42,42,42,42,42,42,42,42,41,41,41,41,41,41,41,
09448     41,40,40,40,40,40,40,40,40,39,39,38,38,38,38,38,38,38,37,37,37,
09449     37,37,37,36,36,36,36,36,36,35,35,35,35,35,35,35,35,34,34,34,34,
09450     34,34,34,33,33,33,33,32,32,32,32,32,32,32,32,32,32,32,32,32,32,
09451     31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30,30
09452   };
09453   const int n4c2w4_c[] = {
09454     120, // Capacity
09455     500, // Number of items
09456     // Size of items (sorted)
09457     100,100,100,100,100,100,99,99,99,98,98,97,97,97,97,97,96,96,95,
09458     95,95,95,95,95,95,95,95,95,94,94,94,94,94,93,93,93,93,93,92,92,
09459     92,92,92,92,92,92,92,92,91,91,91,91,90,90,90,90,89,89,89,89,89,
09460     89,89,88,88,88,88,88,88,88,88,88,88,88,88,87,87,87,86,86,86,86,
09461     86,86,86,86,86,86,86,86,86,85,85,85,85,84,84,84,84,84,84,84,83,
09462     83,83,83,83,83,83,83,83,83,82,82,82,82,82,82,81,81,81,81,81,81,
09463     80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,79,78,78,78,78,
09464     78,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,76,76,
09465     76,76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,75,75,75,75,75,
09466     75,75,74,74,74,74,74,74,74,73,73,73,73,73,73,73,73,73,73,72,72,
09467     72,72,72,72,72,71,71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,
09468     69,69,69,69,69,69,69,68,68,68,68,68,68,68,68,67,67,67,67,66,66,
09469     66,66,66,65,65,65,65,64,64,64,64,64,64,63,63,63,63,63,63,63,63,
09470     62,62,62,62,62,62,62,62,62,62,62,61,61,61,61,61,60,60,60,60,60,
09471     59,59,59,59,59,58,58,58,58,58,58,57,57,57,57,57,57,57,57,57,56,
09472     56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,55,54,54,54,54,54,
09473     54,53,53,53,53,53,52,52,52,52,52,52,52,52,52,52,52,52,52,51,51,
09474     51,50,50,50,50,50,50,50,49,49,49,49,49,49,49,49,48,48,48,48,48,
09475     48,48,48,48,48,48,47,47,47,47,46,46,46,46,46,46,45,45,45,45,45,
09476     45,45,45,45,45,44,44,44,44,44,44,44,43,43,43,43,43,43,42,42,42,
09477     42,41,41,41,41,41,41,41,40,40,40,40,40,40,39,39,39,39,39,39,39,
09478     38,38,38,38,38,38,38,38,37,37,37,37,37,36,36,36,36,36,35,35,35,
09479     34,34,34,34,34,34,34,34,33,33,33,33,32,32,32,32,32,32,32,31,31,
09480     31,31,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30
09481   };
09482   const int n4c2w4_d[] = {
09483     120, // Capacity
09484     500, // Number of items
09485     // Size of items (sorted)
09486     100,100,99,99,99,99,99,99,98,98,98,98,98,98,98,98,98,98,97,97,
09487     97,97,97,97,96,96,96,96,96,96,96,95,95,94,94,94,94,94,94,94,93,
09488     93,93,93,92,92,92,92,92,92,91,91,91,91,91,91,91,91,90,90,90,90,
09489     90,90,90,89,89,89,89,89,89,89,89,89,89,89,89,89,88,88,88,88,87,
09490     87,87,87,87,87,87,87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,
09491     85,85,85,85,85,84,84,84,84,84,83,83,83,83,83,82,82,82,82,82,82,
09492     82,82,82,82,82,82,82,82,81,81,81,81,81,81,81,81,81,81,80,80,80,
09493     80,80,80,80,80,80,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,
09494     77,77,77,77,77,77,77,77,77,77,77,77,77,76,76,76,76,75,75,75,75,
09495     75,74,74,74,74,74,74,73,73,73,73,73,73,73,73,73,72,72,72,72,72,
09496     72,72,72,72,71,71,71,71,71,71,71,71,70,70,70,70,70,70,70,69,69,
09497     69,69,68,68,68,68,68,67,67,67,67,67,67,67,66,66,66,66,66,66,65,
09498     65,65,65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,
09499     63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,61,61,60,60,60,60,
09500     60,60,60,60,60,60,59,59,59,59,59,59,58,58,58,58,58,57,57,57,57,
09501     57,57,57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,54,54,54,
09502     54,54,54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,
09503     51,51,51,51,50,50,49,49,49,49,49,49,49,48,48,48,48,48,48,48,47,
09504     47,47,47,47,47,47,47,46,46,46,46,46,46,45,45,45,45,44,44,44,44,
09505     44,44,44,44,44,43,43,43,43,43,43,43,42,42,42,42,42,42,42,42,42,
09506     41,41,41,41,41,41,41,41,41,41,41,41,40,40,40,40,39,39,39,39,39,
09507     39,39,39,38,38,38,38,38,37,37,37,37,37,37,36,36,36,36,36,36,36,
09508     35,35,35,35,34,34,34,34,34,34,34,34,33,33,33,33,33,33,33,33,32,
09509     32,32,32,32,31,31,31,31,31,31,31,31,31,31,31,30,30,30
09510   };
09511   const int n4c2w4_e[] = {
09512     120, // Capacity
09513     500, // Number of items
09514     // Size of items (sorted)
09515     100,100,100,99,99,99,99,99,99,99,99,99,99,98,98,98,98,98,98,98,
09516     98,98,98,98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,97,96,96,
09517     96,96,96,96,96,95,95,95,95,95,94,94,94,93,93,93,93,93,93,92,92,
09518     92,92,92,92,92,91,91,91,91,91,91,90,90,90,90,89,89,89,89,89,89,
09519     89,89,88,88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,86,86,85,
09520     85,85,85,85,85,84,84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,
09521     83,83,82,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,
09522     80,80,79,79,79,79,79,79,78,78,78,78,78,78,78,78,77,77,77,77,77,
09523     77,77,76,76,76,76,76,76,76,76,76,76,75,75,75,75,75,75,74,74,74,
09524     74,74,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,70,69,69,69,
09525     69,69,69,69,68,68,68,68,67,67,67,67,67,67,67,67,67,66,66,66,66,
09526     66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,65,64,64,64,64,63,
09527     63,63,63,63,62,62,62,62,62,62,62,62,62,61,61,61,61,61,60,60,60,
09528     60,60,60,60,60,60,60,59,59,59,59,59,59,58,58,58,58,58,57,57,57,
09529     57,57,57,57,57,57,56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,
09530     55,55,55,54,54,54,54,54,54,54,54,54,54,54,53,53,53,53,53,53,53,
09531     53,53,52,52,52,52,52,52,52,52,52,52,51,51,51,51,51,51,51,51,50,
09532     50,50,50,50,50,50,50,49,49,49,49,49,49,48,48,47,47,47,47,46,46,
09533     46,46,46,46,46,46,46,46,46,45,45,45,45,45,45,45,45,45,44,44,44,
09534     44,44,43,43,43,43,43,42,42,42,42,42,42,42,41,41,41,41,40,40,40,
09535     40,40,40,40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,38,
09536     38,37,37,37,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,
09537     35,35,35,34,34,34,34,34,34,34,34,34,34,34,33,33,33,32,32,32,32,
09538     32,32,32,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30
09539   };
09540   const int n4c2w4_f[] = {
09541     120, // Capacity
09542     500, // Number of items
09543     // Size of items (sorted)
09544     100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,98,98,98,
09545     98,98,98,98,98,98,97,97,97,97,97,97,97,97,96,96,96,96,96,96,95,
09546     95,95,95,95,95,95,95,94,94,94,94,94,94,94,94,93,93,93,93,93,93,
09547     93,92,92,92,92,92,92,92,91,91,91,91,91,90,90,90,90,90,90,90,89,
09548     89,89,89,89,88,88,88,88,88,88,88,88,88,88,88,87,87,87,87,87,87,
09549     86,86,86,86,86,85,85,85,85,85,85,85,85,85,84,84,84,84,84,84,83,
09550     83,83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,81,81,81,
09551     81,81,81,81,81,81,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,
09552     80,80,79,79,79,79,79,79,79,79,78,78,78,78,78,78,77,77,77,76,76,
09553     76,76,75,75,75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,73,72,
09554     72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,71,71,70,70,70,70,
09555     70,70,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,67,67,67,67,
09556     67,67,67,67,66,66,66,66,66,66,66,66,65,65,65,65,65,65,64,64,64,
09557     64,64,63,63,63,63,63,63,63,63,62,62,62,62,62,62,61,61,61,61,61,
09558     61,61,61,61,61,61,60,60,60,59,59,59,59,59,59,59,59,59,58,58,58,
09559     58,58,58,58,58,57,57,57,57,57,56,56,56,56,56,56,56,56,56,55,55,
09560     55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,53,
09561     53,52,52,52,52,52,52,52,52,52,52,52,51,51,51,51,51,50,50,50,50,
09562     50,50,50,50,50,50,49,49,48,48,48,48,48,48,48,47,47,47,46,46,46,
09563     46,46,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,43,
09564     43,43,43,43,43,43,43,42,42,42,41,41,41,41,41,41,41,40,40,40,40,
09565     40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,39,38,38,38,38,
09566     38,37,37,37,37,36,36,36,36,35,35,35,35,35,34,34,34,33,33,33,33,
09567     33,33,33,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30
09568   };
09569   const int n4c2w4_g[] = {
09570     120, // Capacity
09571     500, // Number of items
09572     // Size of items (sorted)
09573     100,100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,
09574     99,99,99,99,98,98,98,97,97,97,97,97,97,97,97,97,97,96,96,96,96,
09575     96,96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,94,94,93,93,93,
09576     93,92,92,92,92,92,91,91,91,91,91,91,91,91,91,91,91,91,90,90,90,
09577     90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,89,89,89,88,88,
09578     88,88,88,87,87,87,87,87,86,86,86,86,85,85,85,85,85,85,85,85,85,
09579     84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,83,83,83,82,82,82,
09580     82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,79,79,79,79,79,79,
09581     79,78,78,78,78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,76,
09582     76,75,75,75,75,74,74,74,74,74,74,74,73,73,73,73,72,72,72,72,72,
09583     72,71,71,71,71,71,71,71,71,70,70,70,70,70,70,70,69,69,69,69,69,
09584     69,69,69,68,68,68,68,68,68,67,67,67,67,67,67,66,66,66,66,66,66,
09585     65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,63,63,62,
09586     62,62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,60,60,60,60,
09587     59,59,59,59,59,59,59,58,58,58,58,57,57,57,57,56,56,56,56,56,55,
09588     55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,52,
09589     52,52,52,52,52,52,51,51,51,51,51,51,51,50,50,50,50,50,50,50,49,
09590     49,49,49,49,48,48,48,48,48,48,48,47,47,47,47,47,47,46,46,46,46,
09591     45,45,45,45,44,44,44,44,44,43,43,43,43,43,43,42,42,42,42,42,42,
09592     42,42,42,42,42,41,41,41,41,41,41,41,41,41,40,40,40,40,40,40,40,
09593     39,39,39,39,39,38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,
09594     37,36,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,35,34,34,34,
09595     34,34,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,33,33,33,33,
09596     33,33,32,32,32,32,32,32,32,31,31,31,31,31,30,30,30,30,30,30,30
09597   };
09598   const int n4c2w4_h[] = {
09599     120, // Capacity
09600     500, // Number of items
09601     // Size of items (sorted)
09602     100,100,100,100,100,100,99,99,99,98,98,98,98,98,98,98,97,97,97,
09603     97,97,97,97,97,97,97,97,97,97,97,96,96,96,96,96,95,95,95,95,95,
09604     94,94,94,94,94,94,94,93,93,93,92,92,92,92,92,91,91,91,91,91,90,
09605     90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,88,88,88,88,88,
09606     88,88,88,88,87,87,86,86,86,86,86,86,86,86,85,85,85,85,85,85,85,
09607     85,85,84,84,84,84,84,84,84,84,83,83,83,83,83,83,82,82,82,81,81,
09608     81,81,81,81,81,81,80,80,80,80,80,80,79,79,79,79,79,79,79,79,78,
09609     78,78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,
09610     76,76,76,75,75,75,75,75,75,75,75,75,75,75,75,75,74,74,74,74,74,
09611     74,74,73,73,73,73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,71,
09612     71,71,71,71,71,71,71,71,70,70,70,70,70,70,70,69,69,69,69,69,69,
09613     69,69,69,68,68,68,68,68,68,68,68,68,67,67,67,67,67,67,67,66,66,
09614     66,66,66,66,66,66,65,65,65,65,65,65,65,65,65,64,64,64,64,64,64,
09615     64,64,63,63,63,63,62,62,62,62,62,62,62,62,61,61,61,61,61,61,61,
09616     60,60,60,60,60,60,59,59,59,58,58,58,58,58,58,58,58,58,57,57,57,
09617     57,57,57,57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,
09618     54,54,54,53,53,53,53,53,52,52,52,52,52,52,52,52,51,51,51,51,51,
09619     51,51,51,51,51,50,50,50,50,50,50,50,50,50,50,49,49,49,49,49,49,
09620     49,49,49,49,48,48,48,48,48,48,47,47,47,47,47,47,47,47,47,47,46,
09621     46,46,46,46,45,45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,43,
09622     42,42,42,42,41,41,41,41,41,41,41,41,41,41,40,40,40,40,40,40,39,
09623     39,39,39,39,39,38,38,38,38,38,38,38,37,37,37,36,36,36,36,36,36,
09624     35,35,35,35,35,35,34,34,34,34,34,33,33,33,33,33,33,32,32,32,32,
09625     32,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30
09626   };
09627   const int n4c2w4_i[] = {
09628     120, // Capacity
09629     500, // Number of items
09630     // Size of items (sorted)
09631     100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,
09632     98,98,98,98,98,97,97,97,97,97,97,97,97,97,97,97,97,96,96,96,96,
09633     96,96,95,95,95,95,95,95,95,95,95,94,94,94,93,93,93,93,93,93,93,
09634     93,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,91,90,90,90,90,
09635     89,89,89,89,89,89,89,89,89,88,88,88,88,87,87,87,87,87,86,86,86,
09636     86,86,86,86,86,86,86,85,85,85,85,85,85,84,84,84,84,84,84,83,83,
09637     83,83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,80,80,80,80,80,
09638     80,80,80,80,80,80,79,79,79,79,79,79,79,78,78,78,78,78,77,77,77,
09639     77,77,77,76,76,76,76,76,75,75,75,75,74,74,74,74,74,74,74,74,74,
09640     74,73,73,73,73,73,72,72,72,72,71,71,71,71,71,71,71,71,70,70,70,
09641     70,70,70,70,70,69,69,69,68,68,68,68,68,68,68,68,67,67,67,67,67,
09642     67,67,66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,
09643     64,63,63,63,63,63,63,63,62,62,62,62,62,62,62,62,62,62,62,62,61,
09644     61,61,61,61,61,61,61,61,61,60,60,60,60,60,60,60,60,60,60,59,59,
09645     59,59,59,59,58,58,58,58,58,58,58,58,58,58,58,58,58,57,57,57,57,
09646     57,57,57,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,54,54,
09647     54,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,51,51,51,
09648     51,50,50,50,50,49,49,49,49,49,49,49,49,48,48,48,48,47,47,47,47,
09649     47,47,47,47,47,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,44,
09650     44,43,43,43,43,43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,41,
09651     41,41,41,41,41,40,40,40,40,40,40,39,39,39,39,39,39,39,39,38,38,
09652     38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,37,37,36,36,36,36,
09653     35,35,35,35,35,35,34,34,34,34,33,33,33,33,33,33,33,33,32,32,32,
09654     32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30
09655   };
09656   const int n4c2w4_j[] = {
09657     120, // Capacity
09658     500, // Number of items
09659     // Size of items (sorted)
09660     100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,98,98,
09661     97,97,97,97,97,97,97,97,97,97,97,97,96,96,96,96,96,96,95,95,95,
09662     95,95,94,94,94,94,94,94,94,94,94,94,94,94,94,93,93,93,93,93,93,
09663     93,93,93,93,92,92,92,92,92,92,92,91,91,91,91,91,91,91,91,91,90,
09664     90,90,90,90,90,90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,
09665     88,88,88,88,88,88,88,88,88,87,87,87,86,86,86,86,86,85,85,85,84,
09666     84,83,83,83,83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,81,81,
09667     80,80,80,80,80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,79,
09668     79,79,78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,
09669     76,76,76,75,75,75,75,75,75,75,74,74,74,74,73,73,72,72,72,72,72,
09670     72,71,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,69,69,69,69,
09671     69,69,69,68,68,68,68,68,68,68,68,67,67,67,67,67,67,67,66,66,66,
09672     66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,64,64,64,64,64,
09673     64,64,63,63,63,63,63,63,63,63,62,62,62,62,62,62,62,62,62,61,61,
09674     61,61,61,61,61,61,60,60,60,60,59,59,59,59,59,58,58,58,58,57,57,
09675     57,57,57,57,57,57,57,56,56,56,56,56,56,56,56,56,56,56,56,56,55,
09676     55,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,53,53,53,
09677     53,53,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,50,50,50,49,
09678     49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,47,47,46,46,46,
09679     46,46,46,46,46,45,45,45,44,44,44,44,44,44,44,44,44,44,43,43,43,
09680     43,43,42,42,42,42,42,42,42,42,41,41,41,41,41,41,41,41,41,41,40,
09681     40,40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,38,38,
09682     38,37,37,37,37,36,36,36,36,35,35,35,35,35,34,34,34,34,34,34,34,
09683     33,33,33,32,32,32,32,32,32,31,31,31,31,30,30,30,30,30,30
09684   };
09685   const int n4c2w4_k[] = {
09686     120, // Capacity
09687     500, // Number of items
09688     // Size of items (sorted)
09689     100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,99,98,98,98,
09690     98,97,97,97,97,97,97,97,96,96,96,96,96,96,95,95,95,95,95,95,95,
09691     95,95,95,94,94,94,94,94,94,94,94,94,93,93,93,93,92,92,92,92,92,
09692     92,92,92,91,91,91,90,90,90,90,90,90,90,90,90,89,89,89,89,89,89,
09693     89,88,88,88,88,88,88,88,88,88,87,87,87,87,87,87,87,87,87,86,86,
09694     86,86,86,85,85,85,85,85,85,85,84,84,84,84,84,84,84,83,83,83,83,
09695     83,83,82,82,82,82,82,82,82,82,82,82,82,81,81,81,81,81,81,81,81,
09696     80,80,80,80,80,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,78,
09697     78,78,77,77,77,77,77,77,76,76,76,76,76,75,75,75,75,75,75,74,74,
09698     74,74,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,72,72,
09699     72,72,72,71,71,71,70,70,70,70,70,70,69,69,69,69,69,69,68,68,68,
09700     68,68,68,68,67,67,67,67,67,67,67,66,66,66,66,66,66,66,65,65,65,
09701     65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,62,62,62,62,62,61,
09702     61,61,60,60,60,60,60,60,59,59,59,59,59,59,58,58,58,58,58,58,58,
09703     58,57,57,57,57,57,57,57,57,57,57,56,56,56,56,56,56,55,55,55,55,
09704     55,55,55,54,54,54,54,54,54,54,54,54,54,54,54,53,53,53,53,53,53,
09705     53,53,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,50,50,50,
09706     50,50,49,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,47,47,47,
09707     47,46,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,43,43,
09708     43,42,42,42,42,42,42,42,42,41,41,41,41,41,40,40,40,40,40,40,40,
09709     40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,38,38,38,38,38,38,
09710     38,38,38,38,38,38,37,36,36,36,36,36,36,36,36,36,36,36,36,36,36,
09711     35,35,35,35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,33,33,32,
09712     32,32,32,32,32,32,32,31,31,30,30,30,30,30,30,30,30,30,30
09713   };
09714   const int n4c2w4_l[] = {
09715     120, // Capacity
09716     500, // Number of items
09717     // Size of items (sorted)
09718     100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,
09719     99,99,99,98,98,98,98,98,98,98,98,98,98,98,98,98,98,97,97,97,97,
09720     97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,95,94,94,94,
09721     94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,
09722     92,91,91,91,91,91,91,91,91,90,90,90,90,90,90,90,89,89,89,88,88,
09723     88,88,88,88,88,88,87,87,87,87,87,87,87,87,87,86,86,86,86,86,85,
09724     85,85,85,85,84,84,84,84,83,83,83,83,83,83,83,82,82,82,81,81,81,
09725     81,81,81,81,80,80,80,80,80,80,79,79,79,79,79,79,79,79,78,78,78,
09726     78,78,78,78,78,77,77,77,77,77,76,76,76,76,75,75,75,75,75,75,75,
09727     74,74,74,74,74,74,74,74,74,74,73,73,73,73,72,72,72,72,72,72,72,
09728     72,72,71,71,71,71,71,71,71,71,71,70,70,70,70,69,69,69,69,69,69,
09729     69,69,68,68,68,68,68,68,68,68,68,68,68,68,68,68,67,67,67,67,67,
09730     67,67,67,67,66,66,66,66,66,66,66,66,66,66,65,65,65,65,65,65,64,
09731     64,64,64,64,64,63,63,63,63,63,62,62,62,62,61,61,61,61,60,60,60,
09732     60,60,59,59,59,59,59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,
09733     58,58,57,57,56,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,
09734     54,54,54,54,54,53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,
09735     51,51,51,51,51,50,50,49,49,49,49,49,49,49,49,48,48,48,48,48,48,
09736     47,47,47,47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,45,45,45,
09737     45,44,44,44,44,44,44,44,43,43,43,43,42,42,42,42,42,42,42,41,41,
09738     41,41,41,41,41,41,41,40,40,40,40,40,40,40,40,40,39,39,39,39,39,
09739     39,39,39,39,38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,37,
09740     36,36,36,36,36,36,36,35,35,35,35,34,34,34,34,34,34,33,33,33,33,
09741     33,33,33,33,33,33,33,33,32,31,31,31,31,31,30,30,30,30,30,30,30
09742   };
09743   const int n4c2w4_m[] = {
09744     120, // Capacity
09745     500, // Number of items
09746     // Size of items (sorted)
09747     100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,
09748     98,98,98,98,97,97,97,97,97,97,97,97,96,96,96,96,96,95,95,95,95,
09749     95,94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,92,92,92,92,
09750     91,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,89,89,89,89,89,
09751     89,89,89,89,88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,86,86,
09752     86,86,86,85,85,85,85,85,85,85,85,84,84,84,84,84,84,84,84,84,84,
09753     84,84,83,83,83,83,83,83,82,82,82,81,81,81,81,81,81,81,80,80,80,
09754     80,80,80,79,79,79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,78,
09755     78,78,78,78,77,77,77,77,76,76,76,76,76,76,75,75,75,75,75,75,75,
09756     75,75,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,72,72,
09757     71,71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,69,
09758     68,68,68,68,68,68,68,67,67,67,67,67,67,67,67,67,67,66,66,66,66,
09759     65,65,65,64,64,64,64,64,63,63,63,63,63,63,62,62,62,62,62,62,62,
09760     62,61,61,61,61,60,60,60,60,60,60,60,60,59,59,59,59,59,59,59,58,
09761     58,58,58,58,57,57,57,57,57,57,57,57,57,56,56,56,56,56,56,56,55,
09762     55,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,53,53,53,
09763     53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,
09764     50,50,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,46,46,46,
09765     46,46,46,45,45,45,45,45,45,44,44,44,44,44,44,44,44,44,44,44,43,
09766     43,43,43,43,43,43,43,43,43,42,42,42,42,42,42,41,41,41,41,40,40,
09767     40,39,39,39,39,39,39,39,39,38,38,38,38,38,38,38,38,37,37,37,37,
09768     37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,36,35,35,35,35,
09769     35,34,34,34,34,34,34,34,34,33,33,33,33,33,33,33,33,33,33,33,32,
09770     32,32,32,32,32,32,32,32,31,31,31,31,30,30,30,30,30,30,30,30
09771   };
09772   const int n4c2w4_n[] = {
09773     120, // Capacity
09774     500, // Number of items
09775     // Size of items (sorted)
09776     100,100,100,100,100,100,100,99,99,99,99,99,98,98,97,97,97,97,
09777     97,97,97,96,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,
09778     95,95,94,94,94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,
09779     92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,91,91,91,91,91,91,
09780     91,90,90,90,90,90,89,89,89,89,89,89,89,89,89,89,88,88,88,87,87,
09781     87,87,86,86,86,86,85,85,85,85,84,84,84,84,84,84,84,84,84,84,84,
09782     84,84,84,84,83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,81,81,
09783     81,81,81,81,81,80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,
09784     79,79,78,78,78,78,78,78,78,78,78,77,77,77,77,76,76,76,76,76,76,
09785     76,75,75,75,75,75,75,74,74,74,74,74,74,74,74,73,73,73,73,73,73,
09786     72,72,72,72,72,72,72,72,72,72,71,71,71,71,70,70,70,69,69,69,69,
09787     69,69,69,69,69,69,69,69,68,68,68,68,68,68,67,67,67,67,67,67,67,
09788     67,67,67,67,66,66,66,66,66,66,65,65,65,65,64,64,64,64,64,64,64,
09789     64,63,63,63,63,63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,61,
09790     61,60,60,60,60,60,60,60,60,60,60,60,60,60,59,59,59,59,58,58,58,
09791     58,58,58,57,57,57,57,57,57,57,57,57,57,56,56,56,55,55,55,55,55,
09792     55,55,55,55,55,55,54,54,54,54,54,53,53,53,53,53,53,53,52,52,52,
09793     52,52,52,51,51,51,51,51,50,50,50,50,50,50,50,50,50,49,49,49,49,
09794     49,49,49,49,49,48,48,48,47,47,47,47,47,47,47,46,46,46,46,46,46,
09795     46,46,45,45,45,45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,
09796     44,43,43,43,43,42,42,42,41,41,41,41,41,41,41,41,41,41,41,40,40,
09797     40,40,40,40,39,39,39,39,39,39,39,39,39,39,38,38,38,38,38,37,37,
09798     37,37,37,36,36,36,36,36,36,36,35,35,34,34,34,34,34,33,33,33,33,
09799     33,33,32,32,32,32,32,32,32,31,31,31,31,31,31,31,31,31,30,30
09800   };
09801   const int n4c2w4_o[] = {
09802     120, // Capacity
09803     500, // Number of items
09804     // Size of items (sorted)
09805     100,100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,98,98,98,
09806     98,97,97,97,97,97,96,96,96,96,95,95,95,95,95,95,95,95,94,94,94,
09807     94,94,94,94,94,93,93,93,93,93,92,92,92,92,92,92,92,92,92,92,92,
09808     92,91,91,91,91,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,89,
09809     89,88,88,88,88,88,88,88,88,88,88,88,87,87,87,87,87,87,86,86,86,
09810     86,86,86,86,86,86,86,86,86,86,85,85,85,85,85,85,85,84,84,84,84,
09811     84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,82,82,82,82,82,82,
09812     82,81,81,81,81,81,81,81,80,80,80,80,80,80,79,79,79,79,79,79,79,
09813     78,78,78,78,78,78,78,78,78,77,77,77,77,76,76,76,76,76,76,76,75,
09814     75,75,75,75,75,75,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,
09815     72,72,72,71,71,71,71,71,71,71,71,71,71,71,71,70,70,70,70,70,70,
09816     70,70,69,69,69,69,69,69,68,68,68,67,67,67,67,66,66,66,66,66,66,
09817     66,66,65,65,65,65,64,64,64,63,63,63,62,62,62,62,62,62,62,61,61,
09818     61,61,61,61,61,60,60,60,60,59,59,59,59,58,58,58,58,58,58,58,58,
09819     58,58,58,57,57,57,57,57,57,57,57,57,57,56,56,56,56,56,56,56,56,
09820     56,55,55,55,55,55,55,55,54,54,54,54,54,54,54,54,54,54,54,54,53,
09821     53,53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,
09822     50,50,50,50,50,49,49,49,49,49,48,48,47,47,47,47,47,47,47,47,47,
09823     47,46,46,46,46,46,46,45,45,45,45,45,45,44,44,44,44,44,44,44,44,
09824     43,43,43,43,43,43,43,43,43,42,42,42,42,42,42,42,41,41,41,41,41,
09825     41,41,41,41,41,40,40,40,40,39,39,39,39,39,39,39,39,39,39,38,38,
09826     38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,36,36,36,36,35,
09827     35,35,35,35,34,34,34,34,34,34,34,34,34,34,33,33,33,33,33,32,32,
09828     32,32,32,32,32,32,31,31,31,31,31,31,31,31,30,30,30,30,30
09829   };
09830   const int n4c2w4_p[] = {
09831     120, // Capacity
09832     500, // Number of items
09833     // Size of items (sorted)
09834     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,
09835     98,98,98,98,97,97,97,97,97,97,97,97,97,97,97,96,96,96,96,96,95,
09836     95,95,95,95,95,95,95,95,95,94,94,94,94,94,94,94,94,94,94,94,93,
09837     93,93,93,93,93,93,92,92,92,92,91,91,91,91,91,91,91,91,91,91,91,
09838     90,90,90,90,90,90,89,89,89,89,89,89,89,89,89,88,88,88,88,88,88,
09839     88,88,88,87,87,87,87,87,87,87,87,87,87,86,86,86,86,86,85,85,85,
09840     85,85,85,85,85,84,84,84,84,84,84,84,83,83,83,83,83,83,82,82,82,
09841     82,82,82,82,82,82,82,81,81,81,81,81,81,81,81,81,81,81,80,80,80,
09842     80,80,79,79,79,79,79,79,79,78,78,78,78,78,78,78,77,77,77,77,77,
09843     76,76,75,75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,73,73,73,
09844     73,73,73,73,72,72,72,72,72,72,72,72,72,72,72,71,71,71,70,70,70,
09845     70,70,70,70,70,70,70,69,69,69,69,68,68,68,68,67,67,66,66,66,66,
09846     66,66,66,66,66,66,66,66,66,65,65,65,64,64,64,64,64,63,63,63,63,
09847     63,63,63,63,63,63,62,62,62,62,62,62,62,62,62,61,61,61,61,61,61,
09848     60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,58,58,58,58,58,58,
09849     57,57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,
09850     54,54,54,54,54,54,54,54,54,54,54,54,53,53,53,53,52,52,52,52,52,
09851     51,51,51,51,51,51,51,50,50,50,50,50,50,50,50,50,50,50,50,49,49,
09852     49,49,49,49,48,48,48,48,48,48,48,48,48,47,47,47,47,47,47,46,46,
09853     46,46,46,46,46,46,46,46,46,45,45,45,44,44,44,44,44,43,43,43,43,
09854     43,43,42,42,42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,40,39,
09855     39,39,39,39,39,39,38,38,38,38,38,38,37,37,37,37,37,37,36,36,36,
09856     36,36,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,33,33,
09857     33,32,32,32,32,32,32,32,32,32,32,32,32,31,31,31,31,30,30,30
09858   };
09859   const int n4c2w4_q[] = {
09860     120, // Capacity
09861     500, // Number of items
09862     // Size of items (sorted)
09863     100,100,100,99,99,99,99,99,98,98,98,98,98,98,97,97,97,97,97,96,
09864     96,96,96,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,94,94,
09865     94,94,94,94,93,93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,91,
09866     91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,
09867     88,88,87,87,87,86,86,86,86,86,86,86,85,85,85,85,85,84,84,84,84,
09868     84,84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,
09869     83,83,82,82,82,82,82,82,82,82,82,82,82,82,82,82,81,81,81,81,81,
09870     81,81,81,81,81,80,80,80,80,80,80,80,80,80,80,80,79,79,79,79,79,
09871     79,79,79,79,78,78,78,78,77,77,77,77,77,76,76,76,76,75,75,75,75,
09872     75,75,75,75,75,74,73,73,73,73,73,73,73,73,73,72,72,72,72,71,71,
09873     71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,69,69,68,68,68,68,
09874     67,67,67,67,67,67,67,67,67,66,66,66,66,65,65,65,65,65,65,65,64,
09875     64,64,64,64,64,63,63,63,63,63,63,63,63,63,63,63,63,63,63,62,62,
09876     62,62,62,62,62,62,62,61,61,61,61,61,60,60,60,60,60,60,60,60,60,
09877     60,60,60,59,59,59,59,59,59,59,59,59,59,59,58,58,58,58,58,57,57,
09878     57,57,57,57,57,56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,54,
09879     53,53,53,53,53,53,53,53,53,53,52,52,52,52,51,51,51,51,51,51,51,
09880     51,50,50,50,50,50,50,50,50,50,50,49,49,49,49,49,49,49,48,48,48,
09881     47,47,47,47,46,46,46,46,46,46,45,45,45,45,45,44,44,43,43,43,43,
09882     43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,40,
09883     40,40,40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,38,38,38,37,
09884     37,37,37,37,37,36,36,36,36,36,36,36,35,35,35,35,35,35,34,34,34,
09885     34,34,33,33,33,33,32,32,32,32,32,32,32,32,32,32,32,31,31,31,31,
09886     31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30,30,30
09887   };
09888   const int n4c2w4_r[] = {
09889     120, // Capacity
09890     500, // Number of items
09891     // Size of items (sorted)
09892     100,100,100,100,99,99,99,99,98,98,98,98,98,98,98,98,98,97,97,
09893     97,97,97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,96,95,95,95,
09894     95,95,95,95,95,95,95,95,95,94,94,94,94,93,93,93,93,93,93,93,92,
09895     92,92,92,92,91,91,91,91,91,91,91,91,91,90,90,90,90,90,90,90,89,
09896     89,89,89,88,88,88,88,88,87,87,87,87,87,86,86,86,86,86,86,86,85,
09897     85,85,85,84,84,84,84,84,84,84,83,83,83,83,83,83,83,83,83,83,83,
09898     83,83,82,82,82,82,82,82,81,81,81,81,81,81,81,81,81,81,80,80,80,
09899     80,80,80,79,79,79,79,79,79,79,78,78,78,78,78,77,77,77,77,77,77,
09900     77,77,77,76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,
09901     74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,71,71,71,71,71,71,
09902     71,71,71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,
09903     69,68,68,68,68,67,67,67,67,67,67,67,67,66,66,66,66,66,66,66,66,
09904     66,65,65,65,65,65,65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,
09905     64,64,63,63,63,63,63,63,63,63,63,63,62,62,62,62,62,62,62,62,61,
09906     61,61,61,61,61,60,60,60,60,60,59,59,59,59,58,58,58,58,58,58,57,
09907     57,57,57,57,57,57,57,56,56,56,56,56,56,56,55,55,55,55,54,54,54,
09908     54,54,54,54,54,54,54,54,54,53,53,53,53,52,52,52,52,52,52,52,52,
09909     51,51,51,51,51,51,50,50,50,50,50,50,49,49,49,49,49,49,49,48,48,
09910     47,47,47,47,46,46,46,46,46,46,46,45,45,45,45,45,45,45,45,44,44,
09911     44,44,44,44,44,44,43,43,43,43,43,43,43,43,43,43,43,42,42,42,42,
09912     42,42,41,41,41,41,41,40,40,40,39,39,39,39,39,39,39,39,39,39,38,
09913     38,38,38,38,38,38,38,37,37,37,37,37,37,36,36,36,36,36,36,36,36,
09914     36,36,36,35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,33,33,
09915     33,33,33,33,33,32,32,32,32,32,32,32,32,32,31,31,31,30,30
09916   };
09917   const int n4c2w4_s[] = {
09918     120, // Capacity
09919     500, // Number of items
09920     // Size of items (sorted)
09921     100,100,100,100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,
09922     98,98,97,97,97,97,96,96,96,95,95,95,95,95,95,95,95,95,95,95,94,
09923     94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,93,93,93,93,93,
09924     92,92,92,92,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,89,89,
09925     89,88,88,88,87,87,87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,
09926     85,85,85,85,85,85,85,85,85,85,85,84,84,84,84,84,83,83,83,83,83,
09927     83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,80,80,80,80,
09928     79,79,79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,78,77,77,77,
09929     77,76,76,76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,75,75,75,
09930     74,74,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,72,71,
09931     71,71,71,71,71,71,71,71,71,71,71,71,70,70,70,70,70,70,70,70,70,
09932     69,69,69,69,69,69,68,68,68,68,68,68,68,68,67,67,67,66,66,66,66,
09933     65,65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,
09934     63,62,62,62,62,62,62,62,61,61,61,61,61,61,61,61,60,60,60,60,60,
09935     60,59,59,59,59,59,59,59,59,58,58,58,58,58,58,57,57,57,57,57,57,
09936     57,57,56,56,56,56,56,56,56,55,55,55,55,55,55,55,54,54,54,54,54,
09937     53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,51,51,51,50,50,50,
09938     50,50,50,50,50,50,50,50,50,50,50,50,49,49,49,49,49,49,49,49,48,
09939     48,48,48,48,48,48,48,47,47,47,47,47,47,46,46,46,46,46,45,45,45,
09940     45,45,44,44,44,44,44,44,43,43,43,43,43,43,43,43,42,42,42,42,42,
09941     42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,40,40,40,40,40,40,
09942     40,40,39,39,39,39,39,38,37,37,37,37,37,37,36,36,36,36,36,36,36,
09943     36,35,35,35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,33,32,32,
09944     32,32,32,32,32,32,32,32,31,31,31,31,30,30,30,30,30,30,30,30
09945   };
09946   const int n4c2w4_t[] = {
09947     120, // Capacity
09948     500, // Number of items
09949     // Size of items (sorted)
09950     100,100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,97,97,
09951     96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,94,94,94,94,94,94,
09952     94,94,94,93,93,93,93,93,92,92,92,92,92,92,91,91,91,91,91,91,91,
09953     91,91,91,91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,89,
09954     88,88,88,88,88,88,88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,
09955     85,85,85,85,85,85,84,84,84,83,83,83,83,83,83,83,82,82,82,82,82,
09956     82,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,79,79,79,
09957     79,79,79,79,78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,77,77,
09958     77,77,76,76,76,76,76,75,75,75,75,75,75,74,74,74,74,74,74,74,74,
09959     73,73,73,73,73,73,73,73,73,72,72,72,72,72,72,72,71,71,71,71,71,
09960     71,71,71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,
09961     68,68,68,68,68,68,67,67,67,67,67,67,67,67,67,66,66,66,65,65,65,
09962     65,65,65,64,64,64,64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,
09963     63,63,62,62,62,62,62,62,62,61,61,61,60,60,60,60,59,59,59,59,59,
09964     59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,56,56,56,56,
09965     56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,54,53,53,53,53,53,
09966     53,53,53,52,52,52,52,52,52,52,51,51,51,51,51,51,51,50,50,50,50,
09967     50,49,49,49,49,49,49,48,48,48,48,48,48,48,48,47,47,47,47,46,46,
09968     46,46,46,46,46,46,46,46,45,45,45,45,45,45,45,45,45,44,44,44,44,
09969     44,43,43,43,43,43,43,43,42,42,42,42,42,42,42,41,41,41,41,41,41,
09970     40,40,40,40,40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,
09971     37,37,37,37,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,
09972     35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,
09973     31,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30
09974   };
09975   const int n4c3w1_a[] = {
09976     150, // Capacity
09977     500, // Number of items
09978     // Size of items (sorted)
09979     100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,97,97,97,96,
09980     96,96,96,96,96,96,96,95,95,95,95,94,94,94,93,93,93,93,93,92,92,
09981     92,92,92,91,91,91,91,91,90,90,89,89,89,89,89,89,88,88,88,88,86,
09982     86,85,85,85,84,84,84,84,83,83,83,83,83,83,83,82,82,81,81,81,81,
09983     81,81,81,81,81,81,80,80,80,80,79,79,79,79,79,79,79,78,78,78,78,
09984     78,78,78,77,77,77,77,77,77,76,75,75,74,74,74,74,74,74,74,73,73,
09985     73,72,72,72,72,72,72,72,72,72,71,70,70,69,69,68,68,68,68,68,67,
09986     66,66,66,65,65,65,65,65,65,65,65,65,64,64,64,64,64,64,64,64,63,
09987     63,63,62,62,62,62,62,62,61,61,61,60,60,60,60,60,60,60,59,59,59,
09988     59,59,59,59,59,59,59,59,58,58,58,57,57,57,57,56,56,56,56,56,56,
09989     56,55,55,55,54,54,54,54,54,54,54,54,54,53,53,53,52,52,52,52,51,
09990     51,51,51,50,50,50,49,49,49,48,48,48,48,48,48,48,48,48,48,48,48,
09991     47,47,47,47,47,46,46,46,46,45,45,45,45,45,45,45,45,44,44,44,44,
09992     44,43,43,43,43,43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,41,
09993     41,41,40,40,40,40,39,39,39,39,39,38,38,38,37,37,37,37,37,37,36,
09994     36,36,36,36,35,35,35,35,34,34,34,34,34,34,34,34,33,33,33,33,33,
09995     32,32,32,32,32,32,32,31,31,31,31,30,30,30,30,30,30,30,30,30,30,
09996     29,29,29,28,28,28,28,28,28,27,27,27,27,26,26,26,25,25,25,25,25,
09997     25,25,24,24,24,24,24,24,23,23,23,23,23,22,22,22,22,22,22,21,21,
09998     21,21,21,21,21,21,21,20,20,20,20,20,19,19,19,19,19,19,19,19,18,
09999     18,18,18,18,18,18,18,18,17,17,16,16,16,15,15,15,15,15,14,14,14,
10000     14,14,14,14,13,13,13,13,12,12,12,11,11,11,11,11,10,10,10,10,10,
10001     9,9,9,9,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,5,5,4,4,4,3,3,3,3,
10002     3,2,2,2,2,1,1,1,1
10003   };
10004   const int n4c3w1_b[] = {
10005     150, // Capacity
10006     500, // Number of items
10007     // Size of items (sorted)
10008     100,100,100,100,100,100,100,100,100,100,100,100,100,99,99,99,
10009     99,99,99,99,98,98,98,97,97,97,97,96,96,96,95,95,95,95,95,95,94,
10010     93,93,93,92,92,92,92,92,91,91,91,91,91,91,90,89,89,88,87,87,87,
10011     87,87,86,86,86,86,86,85,85,85,85,84,84,84,84,84,84,83,83,83,82,
10012     82,82,82,82,81,81,81,81,81,80,80,80,80,80,80,80,80,80,79,79,79,
10013     79,78,78,78,77,77,77,76,76,76,75,75,75,75,75,75,74,74,73,73,73,
10014     73,72,72,72,72,72,71,71,70,69,69,69,69,69,68,68,68,68,68,68,68,
10015     68,68,67,67,67,66,65,65,65,65,65,65,64,64,64,64,64,63,63,63,63,
10016     62,62,61,61,61,61,61,60,60,60,60,60,60,60,60,60,59,59,59,59,59,
10017     59,59,58,58,58,58,58,58,58,58,57,57,57,57,56,56,56,56,55,55,55,
10018     55,55,55,55,54,54,54,54,54,54,53,53,53,53,53,52,52,52,52,52,52,
10019     52,52,52,52,51,51,51,51,51,51,51,51,50,50,50,50,50,50,50,49,49,
10020     49,49,49,49,49,48,48,48,48,48,48,47,47,47,47,47,47,46,46,46,45,
10021     45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,43,43,43,43,43,43,
10022     42,42,42,42,42,41,41,41,40,40,40,40,39,39,39,39,39,39,38,38,38,
10023     38,37,37,37,36,36,36,36,36,36,35,35,35,35,35,34,34,34,34,34,33,
10024     33,33,33,33,33,32,32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,
10025     30,30,29,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,27,27,27,
10026     26,26,26,26,26,25,25,25,25,24,24,24,24,24,23,23,23,23,23,23,23,
10027     22,22,22,22,22,22,22,22,22,22,22,21,21,21,21,20,20,20,20,19,19,
10028     18,18,18,18,18,18,17,17,17,17,17,17,16,16,16,16,16,15,15,15,15,
10029     15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13,13,12,12,12,11,
10030     10,10,9,9,9,9,9,9,9,8,7,7,7,6,6,6,6,5,5,5,5,5,5,4,4,4,3,3,3,3,
10031     3,3,3,3,3,2,2,2,1,1,1,1,1
10032   };
10033   const int n4c3w1_c[] = {
10034     150, // Capacity
10035     500, // Number of items
10036     // Size of items (sorted)
10037     100,100,99,99,99,99,99,99,99,98,98,98,98,98,97,97,96,96,96,96,
10038     96,96,96,95,95,95,94,94,94,94,94,93,93,93,93,93,93,92,92,92,92,
10039     92,92,91,91,91,91,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,
10040     88,88,88,87,87,87,87,86,86,86,86,86,86,85,84,84,83,83,83,83,83,
10041     82,82,81,81,81,80,80,79,79,78,78,78,78,78,78,78,77,77,77,77,77,
10042     77,77,76,76,76,75,75,75,75,75,75,75,75,74,74,74,74,74,74,74,73,
10043     73,73,73,72,72,72,72,71,71,71,71,71,71,71,70,70,70,70,70,69,69,
10044     69,69,69,68,68,68,68,68,68,67,67,66,66,66,66,66,66,66,66,65,65,
10045     65,65,64,64,64,64,64,63,63,63,63,63,63,62,62,62,62,62,62,62,61,
10046     61,61,61,60,60,60,59,59,59,59,59,59,59,58,58,58,58,58,58,57,57,
10047     57,57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,54,53,53,53,53,
10048     53,53,53,53,53,53,52,52,52,52,51,51,51,51,51,50,50,50,50,49,49,
10049     49,49,49,48,48,48,48,48,48,48,48,47,47,47,47,46,46,46,45,45,45,
10050     45,45,45,45,45,45,44,44,44,44,44,44,44,43,43,43,42,42,42,42,42,
10051     42,42,41,40,40,40,39,39,39,39,39,38,38,38,38,38,37,37,37,37,37,
10052     37,37,37,37,37,36,36,36,36,36,36,36,36,36,35,35,34,34,34,34,34,
10053     33,33,33,33,33,32,32,32,32,32,32,32,32,31,31,31,31,31,30,30,30,
10054     30,29,29,29,29,29,28,27,27,27,27,27,27,27,26,25,25,25,25,25,25,
10055     25,24,24,24,24,24,24,23,23,23,22,22,22,22,22,22,21,21,21,21,21,
10056     20,20,19,19,19,19,19,19,19,19,19,19,19,19,19,18,18,18,17,17,17,
10057     16,16,15,15,15,15,15,15,15,15,14,14,14,14,14,14,14,13,13,13,13,
10058     13,13,13,12,12,12,12,12,12,12,11,11,11,11,11,10,10,10,10,9,9,
10059     8,8,8,8,7,7,7,6,6,6,6,5,5,5,5,5,5,5,4,4,4,4,4,3,3,3,3,3,3,3,2,
10060     2,2,2,2,2,1,1,1
10061   };
10062   const int n4c3w1_d[] = {
10063     150, // Capacity
10064     500, // Number of items
10065     // Size of items (sorted)
10066     100,100,100,99,99,99,99,99,99,99,98,98,98,98,97,97,97,96,96,96,
10067     96,96,96,95,95,94,94,93,93,93,93,93,93,93,92,92,92,92,92,91,91,
10068     91,91,91,91,90,90,90,90,90,90,89,88,87,87,86,86,86,86,86,85,85,
10069     85,85,85,85,84,84,84,84,83,83,83,83,83,82,82,82,81,81,80,80,80,
10070     79,79,79,78,78,78,77,77,77,77,77,77,77,76,76,76,76,75,75,74,74,
10071     73,73,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,70,70,70,70,
10072     70,69,69,69,69,69,69,69,69,68,68,68,67,67,67,67,67,66,66,66,66,
10073     66,66,66,65,65,65,65,65,65,65,65,65,64,64,64,64,63,63,63,63,63,
10074     62,62,62,61,61,60,60,60,60,60,59,59,58,58,58,58,58,57,57,57,57,
10075     57,57,57,57,56,56,56,56,56,55,55,55,55,55,55,55,55,54,54,54,54,
10076     54,54,54,54,54,53,53,53,52,52,52,52,51,51,50,50,50,50,49,49,49,
10077     49,48,48,48,48,48,48,48,48,48,47,47,47,46,46,46,46,46,45,45,45,
10078     45,45,45,45,45,44,44,44,44,44,44,43,43,43,43,43,43,42,42,42,42,
10079     41,41,41,41,41,40,40,40,40,39,39,39,39,39,38,38,38,38,38,38,38,
10080     37,37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,34,34,34,34,34,
10081     34,33,33,32,32,32,32,31,31,31,30,30,30,30,30,30,30,30,30,30,30,
10082     30,30,29,29,29,29,29,29,28,28,28,28,28,28,28,27,27,27,27,27,27,
10083     27,26,26,26,26,26,26,26,25,25,25,25,25,25,25,25,25,24,24,24,24,
10084     24,23,23,23,23,23,23,22,22,21,21,21,21,21,21,20,20,20,20,20,20,
10085     20,19,19,19,19,18,18,17,17,17,17,17,17,17,17,16,16,16,15,15,15,
10086     15,14,14,14,14,14,14,14,13,13,13,13,12,12,12,12,12,12,11,11,11,
10087     11,11,11,11,11,11,11,10,10,10,10,10,10,9,9,9,9,9,9,8,8,8,8,8,
10088     8,7,7,7,7,7,6,6,6,6,5,5,5,5,5,5,4,4,4,4,4,4,4,3,3,2,2,2,2,2,2,
10089     2,2,2,1,1
10090   };
10091   const int n4c3w1_e[] = {
10092     150, // Capacity
10093     500, // Number of items
10094     // Size of items (sorted)
10095     100,100,100,99,99,98,98,98,98,97,97,97,97,96,96,96,96,96,96,96,
10096     96,95,95,95,95,95,95,95,94,94,93,93,93,93,92,92,92,91,91,91,90,
10097     90,90,90,89,89,89,89,88,88,88,88,88,88,87,87,87,87,87,86,86,86,
10098     86,86,86,86,86,86,86,86,86,85,85,85,85,85,85,84,84,84,84,84,84,
10099     84,84,84,83,83,83,83,83,82,82,82,82,82,82,81,81,81,81,80,80,80,
10100     80,80,80,79,79,79,79,79,79,79,78,78,77,77,77,77,77,77,76,76,76,
10101     75,75,75,75,75,75,74,74,74,74,73,73,73,73,73,73,73,73,73,73,72,
10102     72,72,72,71,71,71,70,70,69,69,69,69,69,69,68,68,68,68,68,68,68,
10103     67,67,67,67,66,66,66,66,66,65,65,65,65,65,65,65,65,65,64,64,64,
10104     64,63,63,63,63,62,62,62,62,62,62,61,60,60,60,60,60,60,59,59,59,
10105     59,59,58,58,58,57,57,57,57,57,56,56,56,56,55,55,55,55,55,55,55,
10106     54,54,54,54,54,53,53,52,52,51,51,51,51,50,50,50,50,50,50,50,49,
10107     49,49,49,48,48,48,48,48,48,47,47,46,46,46,46,46,45,45,45,44,44,
10108     44,44,43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,41,41,41,40,
10109     40,40,40,40,39,39,39,39,38,38,38,37,37,37,37,37,37,36,36,36,35,
10110     35,35,34,34,34,34,34,34,34,33,33,33,33,33,33,33,33,32,32,32,32,
10111     31,31,31,31,31,31,30,30,30,30,30,30,30,29,29,29,29,28,28,28,27,
10112     27,27,27,26,26,26,26,26,26,26,25,25,25,24,24,23,23,23,23,23,23,
10113     23,23,22,22,22,21,21,21,21,21,21,20,20,20,19,19,19,19,19,19,19,
10114     19,19,18,18,18,18,17,17,17,16,16,16,16,16,16,15,15,15,15,15,14,
10115     14,14,14,14,13,13,13,13,13,12,12,12,12,12,12,12,12,12,11,11,11,
10116     11,11,11,11,11,10,10,10,9,9,9,9,9,8,8,8,8,8,8,7,7,7,7,7,7,6,6,
10117     6,6,6,6,5,5,5,5,5,4,4,4,4,4,4,4,4,4,3,3,3,3,2,2,2,2,2,1,1,1,1,
10118     1,1
10119   };
10120   const int n4c3w1_f[] = {
10121     150, // Capacity
10122     500, // Number of items
10123     // Size of items (sorted)
10124     100,100,100,100,100,99,99,99,98,98,97,97,97,97,96,96,96,96,95,
10125     95,95,95,94,94,94,94,94,94,94,93,93,92,92,92,92,92,91,91,91,91,
10126     91,91,90,90,90,90,89,89,89,89,89,89,88,88,88,88,88,88,87,87,87,
10127     87,86,86,86,86,86,86,86,85,85,85,85,84,84,84,84,84,83,83,83,83,
10128     83,83,83,83,83,83,83,83,82,82,82,82,81,81,81,80,80,80,80,79,79,
10129     79,78,78,78,78,78,78,77,77,77,77,77,77,76,76,76,76,76,75,75,75,
10130     75,74,74,74,73,73,73,73,73,73,73,73,73,72,72,71,71,71,71,71,71,
10131     71,70,70,70,70,69,69,69,68,68,68,67,67,67,67,67,67,67,67,67,66,
10132     66,66,66,66,66,66,66,65,64,64,64,64,64,64,63,63,62,62,61,61,61,
10133     60,60,59,59,59,59,59,59,58,58,58,58,57,57,57,57,56,56,56,56,56,
10134     56,55,55,55,54,54,54,54,54,54,54,54,53,53,53,52,52,52,52,51,51,
10135     51,51,51,51,50,50,50,50,50,50,49,49,49,49,48,48,48,48,47,47,47,
10136     47,47,46,46,46,46,46,46,45,45,45,45,45,45,44,44,44,44,43,43,43,
10137     43,42,42,42,42,42,42,42,42,42,41,41,40,40,40,40,40,39,39,39,39,
10138     38,38,38,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,35,35,
10139     35,35,34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,31,31,31,
10140     31,30,30,30,30,30,30,30,30,30,30,29,29,29,29,29,28,28,28,28,28,
10141     27,27,27,26,26,26,26,26,25,25,25,25,25,25,25,25,25,24,24,24,24,
10142     24,24,24,24,24,24,24,24,24,23,23,23,23,23,22,22,22,22,22,22,22,
10143     22,21,21,21,21,21,21,20,20,20,20,20,20,20,20,19,19,19,19,18,18,
10144     18,18,18,18,18,18,17,17,17,17,17,16,16,15,14,14,14,14,14,14,14,
10145     13,13,13,13,12,11,11,9,9,9,9,9,9,9,9,8,8,8,8,8,7,7,7,7,7,6,6,
10146     6,5,5,5,5,5,5,5,5,5,4,4,4,4,3,3,3,3,3,3,3,2,2,2,2,2,2,2,2,2,1,
10147     1,1,1
10148   };
10149   const int n4c3w1_g[] = {
10150     150, // Capacity
10151     500, // Number of items
10152     // Size of items (sorted)
10153     100,100,100,100,100,99,99,99,98,98,98,98,98,97,97,97,97,96,96,
10154     96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,94,94,94,93,93,93,
10155     93,93,93,93,93,93,92,92,92,92,92,92,91,91,91,91,91,91,90,90,90,
10156     89,89,89,88,87,87,87,87,87,86,86,86,86,86,85,85,85,84,84,84,84,
10157     83,83,83,83,83,83,83,82,82,82,82,81,81,81,81,81,81,81,80,80,80,
10158     80,80,80,80,80,79,79,79,79,79,79,78,78,78,78,78,78,77,77,77,77,
10159     77,76,76,76,75,75,75,75,75,75,75,74,74,73,73,73,72,72,72,72,72,
10160     71,71,71,71,71,71,71,71,70,70,70,69,69,69,69,68,68,68,68,68,68,
10161     67,67,67,67,67,66,66,65,65,65,65,65,65,65,64,64,64,64,64,64,63,
10162     63,63,63,63,63,62,62,61,61,61,61,61,61,61,60,60,60,60,59,59,59,
10163     58,58,57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,
10164     55,54,54,53,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,51,51,
10165     50,50,49,49,49,49,49,49,49,49,48,48,48,48,48,48,48,48,47,47,47,
10166     47,47,47,47,47,47,47,47,46,46,46,46,45,45,45,45,45,44,44,44,44,
10167     44,44,43,43,43,42,42,42,42,41,41,41,41,41,41,40,39,39,39,39,38,
10168     38,38,38,38,38,38,38,38,37,37,37,37,37,37,36,36,36,36,36,36,35,
10169     34,34,33,33,33,33,33,33,32,32,32,32,31,30,30,29,29,29,29,29,28,
10170     28,28,28,27,27,27,27,27,26,26,26,26,26,26,26,26,26,26,25,25,25,
10171     25,25,25,25,24,24,24,24,24,23,23,23,23,23,23,23,22,22,22,21,21,
10172     21,21,21,21,21,21,21,20,20,20,20,20,20,19,19,19,18,18,18,18,18,
10173     18,17,17,17,16,16,16,16,15,15,15,15,14,14,14,14,13,13,13,13,12,
10174     12,12,12,12,11,11,11,11,10,10,9,9,9,9,9,8,8,8,8,8,7,7,7,7,7,7,
10175     6,6,6,6,5,5,5,5,5,5,5,4,4,4,4,4,4,4,4,4,3,3,3,3,2,2,2,2,1,1,1,
10176     1,1,1,1
10177   };
10178   const int n4c3w1_h[] = {
10179     150, // Capacity
10180     500, // Number of items
10181     // Size of items (sorted)
10182     100,100,100,100,100,99,98,98,97,97,97,97,97,97,97,97,97,97,96,
10183     96,96,96,95,95,95,95,95,94,94,94,94,94,94,94,94,93,93,93,93,92,
10184     92,92,92,92,92,91,91,91,91,90,90,90,90,90,90,90,90,89,89,89,89,
10185     89,88,88,88,88,88,88,87,87,87,87,87,87,87,87,87,87,87,86,86,86,
10186     86,86,86,86,86,86,85,85,85,85,85,85,84,84,84,83,83,83,82,82,82,
10187     82,82,81,81,81,81,81,81,80,80,79,79,79,79,79,79,79,79,79,78,78,
10188     78,78,78,77,77,77,76,76,76,76,75,75,75,75,74,74,74,74,74,73,73,
10189     73,73,73,72,72,72,71,70,70,70,70,70,70,70,69,69,69,69,69,68,68,
10190     68,68,68,68,68,68,67,67,67,67,67,67,67,66,66,66,66,66,66,66,65,
10191     65,65,65,65,65,64,64,63,63,63,63,63,63,62,62,62,62,62,61,61,61,
10192     61,60,60,60,60,60,60,59,59,59,59,59,59,58,58,58,58,57,57,57,57,
10193     56,56,55,55,55,55,54,54,54,54,54,54,53,53,53,53,53,53,53,53,52,
10194     52,52,52,51,51,50,50,50,50,50,49,49,49,49,48,47,47,47,47,47,47,
10195     47,47,47,47,46,46,46,46,46,45,45,44,44,43,43,42,42,42,41,41,41,
10196     41,41,40,40,40,40,40,40,40,40,40,40,40,39,39,39,39,39,38,38,38,
10197     38,37,37,37,37,36,36,36,35,35,35,35,35,35,34,34,34,33,33,33,33,
10198     33,33,32,32,32,32,32,32,32,32,32,32,32,31,31,30,30,30,30,30,29,
10199     29,28,28,28,27,27,27,27,27,26,26,26,26,26,26,25,25,25,25,25,24,
10200     24,24,23,23,23,23,23,23,22,22,22,22,22,22,21,21,21,21,21,21,20,
10201     20,20,20,19,19,19,19,18,18,18,18,18,17,17,16,16,16,16,16,16,16,
10202     16,15,15,15,15,15,15,15,15,15,14,14,14,14,14,13,13,13,13,12,12,
10203     12,12,12,12,11,11,11,11,11,11,10,10,9,9,9,9,9,8,8,8,8,8,8,7,7,
10204     7,7,7,7,7,7,7,6,6,6,6,6,6,5,5,5,5,5,4,4,4,3,3,3,3,3,3,3,2,2,2,
10205     2,2,1,1,1
10206   };
10207   const int n4c3w1_i[] = {
10208     150, // Capacity
10209     500, // Number of items
10210     // Size of items (sorted)
10211     100,100,100,100,99,99,99,99,99,99,99,99,98,97,97,96,96,96,96,
10212     96,96,95,95,94,94,94,94,93,93,93,92,92,92,92,92,91,91,90,90,90,
10213     90,90,90,89,89,89,89,89,88,88,88,88,88,87,87,87,87,86,86,86,86,
10214     86,86,85,85,85,85,85,85,85,84,84,84,83,83,83,82,82,82,82,81,81,
10215     81,81,81,81,81,81,80,80,80,80,80,80,80,79,79,79,79,79,79,78,78,
10216     78,78,78,78,78,78,77,77,77,77,77,77,77,77,77,76,76,75,75,75,75,
10217     74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,72,71,71,71,71,
10218     71,71,70,70,70,70,70,70,69,69,69,68,68,68,68,67,67,67,67,67,67,
10219     67,66,66,66,66,66,66,66,66,66,65,65,65,65,65,65,64,64,64,64,64,
10220     64,63,63,63,63,63,62,62,62,62,62,61,61,61,61,61,60,60,60,60,60,
10221     60,60,59,59,58,58,58,58,58,58,57,57,57,56,56,56,56,56,55,55,55,
10222     55,55,55,54,54,54,54,53,53,53,53,53,53,52,52,52,52,51,51,50,50,
10223     50,50,49,48,48,48,48,48,48,47,47,47,47,47,47,47,47,46,46,46,46,
10224     46,46,46,45,45,44,44,44,44,43,43,43,42,42,42,41,41,41,41,41,41,
10225     41,40,40,40,40,40,40,39,39,38,38,38,38,38,38,37,37,37,37,37,37,
10226     37,37,37,37,36,36,35,35,35,35,35,35,35,34,34,33,33,33,33,33,32,
10227     32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,30,29,29,29,29,
10228     29,29,29,29,29,28,28,27,27,27,27,27,27,26,26,26,26,26,26,26,26,
10229     26,25,25,25,25,25,25,24,24,24,24,24,24,24,24,23,23,23,23,22,22,
10230     22,22,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,19,19,19,19,
10231     19,18,18,18,18,18,17,17,16,16,16,16,16,16,16,15,15,15,15,14,14,
10232     14,14,14,13,13,13,13,12,12,12,12,12,12,12,12,11,11,11,11,11,11,
10233     10,10,10,10,10,9,8,8,8,8,8,8,8,7,6,6,6,5,5,5,5,5,5,4,4,4,4,4,
10234     4,3,3,3,2,2,2,1,1,1,1,1
10235   };
10236   const int n4c3w1_j[] = {
10237     150, // Capacity
10238     500, // Number of items
10239     // Size of items (sorted)
10240     100,100,100,100,100,100,100,99,99,99,99,98,98,98,98,98,98,97,
10241     97,96,96,95,95,95,95,95,95,95,95,94,93,93,93,92,92,92,92,92,92,
10242     92,91,91,91,91,91,91,90,89,89,89,89,88,88,88,88,87,87,87,87,87,
10243     87,87,87,87,86,86,86,86,86,86,85,85,85,85,85,84,84,84,84,84,83,
10244     83,82,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,80,
10245     80,79,79,79,79,79,78,78,78,78,78,77,77,77,77,77,77,76,76,76,76,
10246     76,76,75,75,75,75,75,75,74,73,73,73,73,73,73,72,72,72,72,72,72,
10247     71,71,71,71,71,71,71,70,70,69,69,69,68,68,68,68,68,68,68,68,67,
10248     67,67,67,67,66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,64,
10249     63,63,62,62,62,62,62,62,61,61,61,61,61,61,60,60,59,59,59,59,59,
10250     59,59,59,58,58,58,58,58,58,58,58,58,57,57,56,56,56,56,56,55,55,
10251     55,55,55,55,55,55,54,54,53,53,53,53,53,53,52,52,52,52,52,52,52,
10252     51,51,51,51,51,51,50,50,50,50,50,49,49,49,49,49,49,48,48,48,48,
10253     48,47,47,47,47,47,47,47,46,46,46,46,46,46,45,45,45,45,45,44,44,
10254     44,44,44,44,43,43,42,42,42,42,42,42,42,41,41,41,41,40,40,40,40,
10255     40,40,40,40,39,39,39,39,39,39,38,38,38,38,37,37,37,37,37,36,36,
10256     36,36,36,36,35,35,35,35,35,35,34,34,34,34,34,33,33,33,33,33,32,
10257     32,32,31,30,30,30,30,30,30,29,29,29,28,28,28,28,27,27,26,26,25,
10258     25,25,25,24,24,24,24,23,23,23,23,23,23,23,22,22,22,22,22,22,21,
10259     21,21,20,20,20,20,20,19,19,19,19,19,18,18,18,17,17,17,17,17,17,
10260     17,17,16,16,16,16,16,16,15,15,14,14,14,14,14,14,14,13,13,13,13,
10261     13,12,12,12,11,11,10,10,10,10,10,10,9,9,9,9,9,9,8,8,8,8,8,8,8,
10262     8,7,7,7,7,7,7,7,6,6,5,5,5,4,4,4,4,4,3,3,3,3,3,2,2,2,2,2,2,2,2,
10263     2,2,2,1,1,1
10264   };
10265   const int n4c3w1_k[] = {
10266     150, // Capacity
10267     500, // Number of items
10268     // Size of items (sorted)
10269     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,
10270     98,97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,94,94,94,94,
10271     94,94,93,93,92,92,91,91,91,91,91,90,90,90,90,89,89,89,89,89,89,
10272     88,88,88,87,87,86,86,85,85,85,85,84,84,84,84,84,83,83,83,83,83,
10273     82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,80,80,79,79,79,79,
10274     79,78,78,78,78,78,78,78,77,77,77,77,77,77,76,76,76,76,76,76,76,
10275     75,75,75,75,74,74,74,74,74,74,73,73,73,72,72,72,72,72,72,72,71,
10276     71,70,70,70,70,70,70,69,69,69,69,68,68,68,68,68,67,67,67,67,67,
10277     67,67,66,66,66,66,66,66,66,65,65,65,64,64,64,64,63,63,63,63,63,
10278     63,63,63,62,62,62,62,60,59,59,59,59,59,59,59,59,58,58,58,58,56,
10279     56,56,56,55,55,55,54,53,53,53,53,52,52,52,52,52,52,51,51,51,51,
10280     51,51,51,50,50,50,49,49,49,48,48,48,48,48,48,48,47,47,47,47,47,
10281     47,47,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,43,43,43,
10282     43,43,42,42,42,42,42,42,41,41,41,41,41,41,41,41,40,40,40,40,40,
10283     40,40,40,39,39,39,39,39,38,38,37,37,37,37,36,36,36,36,36,36,36,
10284     35,35,35,35,35,35,35,35,35,34,34,34,34,33,33,33,33,33,33,32,32,
10285     32,32,31,31,31,31,31,30,30,30,29,29,29,29,29,29,29,28,28,28,28,
10286     28,27,27,27,26,26,26,26,26,26,25,25,25,25,25,24,24,24,24,23,23,
10287     23,23,23,23,23,23,22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,
10288     20,19,19,19,19,19,18,18,18,18,18,18,18,18,18,18,18,17,17,17,17,
10289     17,17,16,16,15,15,14,14,14,14,14,14,14,14,13,13,13,13,13,13,12,
10290     12,12,12,11,11,11,10,10,10,10,9,9,9,9,9,9,9,8,8,8,8,7,7,7,7,7,
10291     7,7,7,6,6,6,6,6,5,5,5,4,4,4,4,3,3,3,3,3,3,3,3,2,2,2,2,2,2,2,2,
10292     1,1,1,1,1
10293   };
10294   const int n4c3w1_l[] = {
10295     150, // Capacity
10296     500, // Number of items
10297     // Size of items (sorted)
10298     100,100,100,100,100,99,99,99,98,98,98,98,98,98,97,97,97,97,97,
10299     97,97,97,97,96,96,95,95,94,94,94,94,93,93,93,93,93,93,92,92,92,
10300     92,92,92,91,91,91,91,91,90,89,89,88,88,88,88,88,87,87,87,87,86,
10301     85,85,85,85,84,84,84,83,83,83,83,82,81,81,81,81,81,81,81,80,80,
10302     79,79,79,79,79,79,79,79,78,78,78,78,78,78,77,77,77,77,77,77,77,
10303     76,76,76,76,76,75,75,75,74,74,74,74,74,74,74,74,73,73,73,73,72,
10304     72,72,72,72,72,71,71,71,71,70,70,70,70,70,69,69,69,69,68,68,68,
10305     68,67,67,67,67,67,66,66,66,66,66,66,65,65,65,65,65,64,64,64,64,
10306     64,64,64,63,63,63,63,63,63,63,62,62,61,61,61,60,60,60,60,59,59,
10307     59,59,59,58,58,58,58,57,57,57,57,57,57,57,57,56,56,56,56,56,55,
10308     55,55,54,54,54,53,53,53,52,52,52,52,52,52,52,51,51,51,50,50,50,
10309     50,50,50,50,49,49,49,49,49,48,48,48,48,48,48,48,48,48,47,47,47,
10310     47,47,47,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,44,
10311     44,44,43,43,43,43,43,43,43,43,43,43,42,42,42,42,42,42,42,41,41,
10312     41,41,40,40,40,40,39,39,39,39,39,38,38,38,38,38,38,37,37,37,36,
10313     36,36,36,36,35,35,35,35,35,35,35,35,34,34,34,33,32,32,32,32,32,
10314     32,32,32,32,32,32,32,31,31,31,31,31,31,30,30,30,30,30,29,29,29,
10315     29,28,28,28,28,28,28,28,28,27,27,27,27,26,26,26,26,26,26,26,26,
10316     26,26,25,25,25,25,25,25,25,24,24,24,23,23,23,23,23,23,23,23,23,
10317     22,22,22,22,22,21,21,21,21,21,21,21,21,20,20,20,19,19,18,18,18,
10318     17,17,17,17,16,16,16,15,15,14,14,14,14,14,14,13,13,13,13,13,13,
10319     13,12,12,11,11,11,11,11,11,11,11,11,10,10,10,10,10,10,9,9,9,8,
10320     8,8,8,8,8,7,7,7,7,7,7,7,6,6,6,5,5,5,5,4,4,4,4,4,4,4,4,4,3,3,3,
10321     3,2,2,2,2,1,1,1
10322   };
10323   const int n4c3w1_m[] = {
10324     150, // Capacity
10325     500, // Number of items
10326     // Size of items (sorted)
10327     100,100,100,100,99,99,99,98,98,98,98,98,98,98,97,97,97,96,96,
10328     96,96,96,95,95,95,95,95,94,94,93,93,93,93,92,92,92,92,91,90,90,
10329     89,89,89,89,89,89,88,88,87,87,87,87,87,87,87,87,87,86,86,86,85,
10330     85,85,85,85,85,84,84,84,84,84,84,84,84,84,83,83,83,82,82,82,82,
10331     82,81,81,81,81,81,81,81,80,80,80,80,80,80,79,79,79,78,78,77,77,
10332     77,76,76,76,76,76,76,76,75,75,75,75,75,75,75,75,74,74,74,74,74,
10333     74,74,74,74,73,73,73,73,73,73,73,73,73,72,72,72,72,71,71,71,71,
10334     71,71,71,71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,
10335     68,68,68,68,68,68,67,67,67,67,67,67,67,66,66,66,66,66,66,65,65,
10336     65,64,64,64,64,64,63,62,62,62,62,61,61,60,60,60,60,60,60,59,59,
10337     59,59,59,58,58,58,58,58,57,57,56,56,56,55,55,55,55,54,54,54,54,
10338     54,54,54,54,54,54,53,53,53,53,53,52,51,51,51,51,51,50,50,50,50,
10339     50,50,49,49,49,49,49,49,49,48,48,48,47,47,47,47,47,46,46,45,45,
10340     45,45,45,45,45,45,44,44,44,44,43,43,43,43,43,42,42,42,42,42,42,
10341     42,41,41,41,41,41,41,41,41,41,40,40,40,40,39,39,39,38,38,38,38,
10342     37,37,37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,35,34,34,34,
10343     34,34,33,33,33,33,32,32,32,32,32,32,32,32,32,31,31,31,31,31,31,
10344     29,29,29,29,29,29,29,28,28,27,27,27,27,27,27,26,26,26,26,25,25,
10345     25,25,25,24,24,24,24,24,23,23,23,22,22,22,21,21,21,21,20,20,20,
10346     20,20,18,18,18,18,18,18,18,17,17,17,17,17,17,17,17,17,16,16,16,
10347     16,15,15,15,15,15,15,15,15,15,14,14,14,14,14,14,14,13,13,13,13,
10348     13,13,13,12,12,12,12,12,12,11,11,11,11,11,11,11,10,10,10,10,10,
10349     10,10,10,10,9,8,8,8,8,8,7,7,7,7,6,6,6,6,5,5,5,4,4,4,4,4,3,3,3,
10350     3,2,2,2,2,2,2,1,1,1,1
10351   };
10352   const int n4c3w1_n[] = {
10353     150, // Capacity
10354     500, // Number of items
10355     // Size of items (sorted)
10356     100,100,100,100,99,99,99,99,98,98,98,98,98,98,98,98,98,97,97,
10357     97,97,97,97,97,97,96,96,96,96,96,95,95,95,95,95,95,95,94,94,94,
10358     94,94,94,94,94,93,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,
10359     91,91,91,90,90,90,89,89,89,89,89,89,89,89,89,89,89,88,88,88,88,
10360     87,86,86,86,86,85,85,84,84,84,84,84,84,83,83,83,83,83,83,83,82,
10361     82,81,81,81,81,81,81,81,81,80,80,80,80,80,80,80,79,79,79,79,79,
10362     79,79,78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,75,75,75,
10363     75,74,74,74,74,73,73,73,73,72,72,72,71,71,71,71,71,71,71,71,71,
10364     71,71,70,70,70,69,69,69,69,69,69,69,68,68,67,67,67,67,67,67,67,
10365     67,67,66,66,66,65,65,65,65,64,64,64,64,64,64,64,64,64,63,63,63,
10366     63,63,63,63,62,62,61,61,61,60,60,60,60,59,59,59,59,59,59,59,58,
10367     58,58,58,58,58,58,58,58,57,57,57,57,57,57,57,56,56,56,55,55,54,
10368     54,54,54,54,54,53,53,53,52,52,52,52,52,51,51,51,51,51,51,51,51,
10369     51,51,50,50,50,50,50,49,49,49,48,48,48,47,46,46,46,46,45,45,45,
10370     45,44,44,44,44,44,43,43,43,43,43,43,42,41,41,41,41,41,41,41,40,
10371     40,40,40,39,39,39,39,38,38,38,38,38,38,37,37,37,37,37,37,35,35,
10372     35,34,34,34,33,33,33,33,32,32,32,32,32,32,32,32,31,31,31,31,31,
10373     30,30,30,30,30,30,30,30,29,29,29,29,29,29,28,28,28,27,27,27,26,
10374     26,26,26,26,26,26,26,26,25,25,25,25,25,25,24,24,24,23,23,23,23,
10375     23,23,22,22,22,21,21,21,20,20,19,19,19,19,19,19,18,18,18,18,18,
10376     18,18,17,17,17,17,17,16,15,15,15,15,14,14,14,14,14,14,13,13,13,
10377     13,13,12,12,11,11,11,10,10,10,10,10,9,9,9,9,9,8,8,8,8,8,7,7,7,
10378     7,7,7,7,6,6,6,5,5,5,5,5,5,4,4,4,4,3,3,3,3,3,3,3,3,3,2,2,2,2,2,
10379     2,2,1,1,1
10380   };
10381   const int n4c3w1_o[] = {
10382     150, // Capacity
10383     500, // Number of items
10384     // Size of items (sorted)
10385     100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,98,98,
10386     98,97,97,97,97,97,97,96,96,95,95,95,95,95,95,95,95,94,94,94,94,
10387     94,94,93,92,92,92,92,91,91,91,91,91,91,91,91,91,90,90,90,90,90,
10388     90,90,89,89,89,89,89,89,89,88,88,88,88,87,87,87,87,87,87,86,86,
10389     86,86,85,84,84,84,84,83,83,83,82,82,82,82,82,82,82,82,82,82,82,
10390     81,81,81,81,81,81,81,81,80,80,80,80,80,80,79,79,78,78,77,77,77,
10391     77,77,76,76,76,75,75,75,75,75,74,74,74,74,74,73,73,72,72,72,72,
10392     71,71,70,70,70,70,70,70,69,69,69,69,68,68,68,68,67,67,67,67,66,
10393     66,66,66,66,66,65,65,65,65,64,64,64,64,64,64,64,64,64,64,63,63,
10394     63,63,63,62,62,62,62,62,62,61,61,61,60,60,60,60,60,60,59,59,59,
10395     58,58,58,58,58,57,57,57,57,57,57,56,56,56,56,56,56,56,56,56,55,
10396     55,55,55,55,54,54,54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,
10397     52,52,51,51,51,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,
10398     46,46,46,46,46,46,46,46,45,45,45,45,44,44,44,44,43,43,42,42,42,
10399     42,42,42,42,42,42,41,41,41,41,41,41,41,40,40,40,39,39,38,38,38,
10400     38,38,38,38,38,37,37,36,36,36,35,35,35,34,34,34,33,33,33,33,33,
10401     32,32,32,32,32,32,31,31,31,31,31,31,31,31,31,30,30,30,30,30,29,
10402     29,28,28,28,28,27,27,27,27,27,27,26,26,26,26,25,25,25,25,25,25,
10403     25,25,25,24,24,24,24,24,23,23,23,23,23,23,23,23,22,22,22,22,22,
10404     22,22,21,21,21,21,20,20,20,20,20,19,19,18,18,18,18,18,18,17,17,
10405     17,17,17,17,16,16,16,16,16,15,15,15,14,14,14,13,13,13,13,13,13,
10406     13,12,12,12,12,12,11,10,10,10,10,10,10,10,9,9,9,9,9,9,8,8,8,8,
10407     8,7,7,7,7,7,7,7,6,6,6,5,5,5,5,5,5,5,4,4,4,4,4,4,3,3,3,2,2,2,2,
10408     2,2,2,1,1,1,1,1
10409   };
10410   const int n4c3w1_p[] = {
10411     150, // Capacity
10412     500, // Number of items
10413     // Size of items (sorted)
10414     100,100,100,99,99,99,98,98,98,98,97,97,97,97,97,97,97,97,96,96,
10415     96,96,96,96,95,95,95,95,94,94,94,94,94,94,94,94,94,93,93,93,93,
10416     93,93,93,93,92,91,91,91,91,90,90,89,89,89,89,89,89,88,88,87,86,
10417     86,86,86,86,85,85,85,85,85,85,85,84,84,84,84,84,84,84,83,83,82,
10418     82,82,82,82,81,80,80,79,79,79,79,79,79,79,79,79,78,78,78,78,78,
10419     78,77,77,77,77,77,76,76,76,76,76,76,75,75,75,75,74,74,74,74,74,
10420     74,74,74,74,74,74,74,74,74,73,73,73,73,72,72,72,72,72,72,72,72,
10421     72,72,72,71,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,69,69,
10422     69,68,68,68,68,68,68,67,67,67,66,66,66,66,65,65,65,65,65,65,65,
10423     64,64,64,64,63,63,63,63,63,63,62,62,62,61,61,61,61,61,60,60,59,
10424     59,59,59,59,59,59,58,58,58,58,58,57,57,56,56,56,56,54,54,54,54,
10425     54,54,53,53,53,53,53,53,52,52,52,52,52,52,52,51,51,51,51,51,50,
10426     50,50,50,49,49,48,48,48,48,48,48,48,47,47,47,46,46,46,46,46,46,
10427     46,46,45,45,45,45,45,44,44,44,44,44,44,44,44,44,44,43,43,43,43,
10428     43,43,42,42,41,41,41,41,41,41,41,40,40,40,40,39,39,38,38,38,38,
10429     37,37,37,37,36,36,36,36,36,35,35,35,35,35,35,34,34,34,34,34,33,
10430     33,33,33,32,32,32,32,32,31,31,31,30,29,29,29,29,29,29,28,28,28,
10431     28,28,27,27,27,27,26,26,26,26,26,26,26,26,25,25,25,25,24,24,24,
10432     24,24,23,23,23,23,23,23,22,22,22,22,22,22,21,21,21,20,20,20,20,
10433     20,19,19,18,18,18,17,17,17,17,17,16,16,16,16,16,16,16,16,16,15,
10434     14,14,14,14,14,14,14,13,13,13,13,13,12,12,12,12,12,12,12,11,11,
10435     11,11,11,11,11,10,10,10,10,10,10,10,10,9,9,9,9,9,8,8,8,8,8,7,
10436     7,6,6,6,6,5,5,5,5,5,4,4,4,4,4,4,4,4,3,3,3,3,2,2,2,2,2,2,2,2,1,
10437     1,1,1,1,1
10438   };
10439   const int n4c3w1_q[] = {
10440     150, // Capacity
10441     500, // Number of items
10442     // Size of items (sorted)
10443     100,100,100,100,100,99,98,98,98,98,97,97,97,97,97,96,96,96,96,
10444     96,96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,
10445     93,92,92,92,92,92,92,92,91,91,90,90,90,90,90,89,89,89,89,89,89,
10446     89,88,87,87,87,87,87,86,86,86,86,86,86,86,85,85,85,85,85,85,84,
10447     84,84,84,84,84,84,83,83,83,83,83,83,83,83,83,82,82,81,81,81,81,
10448     81,80,80,80,80,79,79,79,79,78,78,78,78,78,78,77,77,77,77,77,76,
10449     76,76,76,76,76,76,76,76,75,75,74,74,74,74,73,73,73,72,72,72,72,
10450     72,72,71,71,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,69,68,
10451     68,68,68,68,67,67,67,67,67,67,67,67,67,66,66,66,66,66,66,66,66,
10452     66,66,66,66,65,65,65,65,65,64,64,64,64,64,64,64,64,64,64,63,63,
10453     62,62,62,62,62,62,61,61,61,61,60,60,60,60,60,59,59,59,58,58,58,
10454     58,58,58,58,58,57,57,57,56,56,56,56,56,56,56,56,56,55,55,55,54,
10455     54,54,54,53,53,53,53,53,53,53,53,52,52,51,51,51,51,51,51,51,50,
10456     50,50,50,49,49,49,49,48,48,48,48,48,47,47,46,46,46,46,45,45,44,
10457     44,44,44,43,43,43,43,43,42,42,42,42,42,42,42,42,41,41,41,41,41,
10458     41,41,40,40,40,40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,
10459     39,38,38,38,38,38,37,37,37,37,36,36,36,36,36,36,36,36,36,35,35,
10460     35,34,34,34,34,33,33,33,32,32,32,31,31,31,31,31,30,30,29,29,29,
10461     28,28,28,28,28,28,27,27,27,26,26,26,26,26,26,26,26,25,25,25,25,
10462     25,25,25,24,23,23,23,23,23,22,22,21,21,20,20,20,20,20,20,19,18,
10463     18,18,18,17,17,17,17,16,16,16,15,15,15,15,15,15,15,15,15,14,14,
10464     14,14,14,14,13,13,13,13,13,13,12,12,12,12,12,12,12,12,11,11,11,
10465     10,10,10,10,10,10,10,9,9,9,9,9,8,8,8,8,8,8,7,7,7,7,6,6,5,5,4,
10466     4,4,3,2,2,2,2,2,2,1,1,1,1
10467   };
10468   const int n4c3w1_r[] = {
10469     150, // Capacity
10470     500, // Number of items
10471     // Size of items (sorted)
10472     100,100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,98,97,
10473     97,96,96,96,96,95,95,95,95,95,95,95,95,95,95,94,94,94,94,93,93,
10474     93,93,92,92,92,92,92,92,91,91,91,91,90,90,90,90,90,90,89,89,89,
10475     89,88,88,88,88,87,87,87,87,87,87,86,86,85,85,84,84,83,83,83,83,
10476     83,83,82,82,82,82,81,81,81,81,80,80,80,80,80,80,80,80,79,79,79,
10477     79,79,79,79,79,79,79,78,78,78,78,77,77,77,76,76,76,76,75,75,75,
10478     75,75,75,74,74,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,71,
10479     71,71,71,70,70,70,70,70,70,70,69,69,69,68,68,68,68,67,67,67,67,
10480     67,67,67,67,67,66,66,66,66,65,65,65,65,65,64,64,64,64,63,63,63,
10481     63,62,62,62,62,62,61,61,61,61,61,61,61,61,61,61,61,61,60,60,60,
10482     60,60,59,59,59,58,58,58,58,58,58,58,58,57,57,57,57,56,56,55,55,
10483     55,55,55,54,54,54,54,53,53,53,53,53,52,52,52,52,52,52,51,51,51,
10484     51,51,51,51,51,50,49,48,48,48,48,48,48,47,47,47,46,46,46,46,45,
10485     45,45,45,45,45,44,44,43,43,43,42,42,42,42,42,41,41,41,40,40,40,
10486     40,40,40,40,40,40,40,39,39,39,39,38,38,38,38,38,38,38,38,37,37,
10487     37,37,36,36,36,36,36,34,34,34,34,33,33,33,33,33,32,32,32,32,32,
10488     32,31,31,31,31,31,31,31,31,30,30,30,30,29,29,29,29,29,29,29,29,
10489     29,28,28,28,28,28,28,28,28,28,28,28,28,27,27,27,27,26,26,26,26,
10490     26,25,25,25,25,25,24,24,24,24,24,24,23,23,23,23,23,22,22,22,22,
10491     22,22,21,21,21,20,20,19,19,19,19,19,19,19,19,18,18,18,18,17,17,
10492     17,17,17,17,16,16,16,16,15,15,14,14,14,14,13,13,13,13,13,13,13,
10493     12,12,12,12,11,11,11,11,11,11,11,11,11,11,10,10,10,9,9,9,9,9,
10494     9,8,8,8,8,7,7,7,7,6,6,6,6,6,6,6,6,5,5,5,5,5,4,4,4,4,4,4,4,4,4,
10495     3,3,3,2,2,2,1,1,1
10496   };
10497   const int n4c3w1_s[] = {
10498     150, // Capacity
10499     500, // Number of items
10500     // Size of items (sorted)
10501     100,100,99,99,99,99,99,98,98,98,98,98,98,97,97,97,97,96,96,96,
10502     96,96,96,95,95,95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,
10503     93,92,92,92,92,91,91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,
10504     89,89,88,88,87,87,87,86,86,86,86,86,86,85,85,85,85,85,85,85,84,
10505     84,84,84,83,83,83,82,82,82,82,81,81,80,80,80,80,80,80,79,79,78,
10506     78,78,78,78,78,78,78,78,78,77,77,77,77,77,76,76,76,76,76,76,75,
10507     75,75,74,74,74,74,74,74,73,73,73,73,72,72,71,71,71,71,70,70,70,
10508     70,70,70,70,69,69,69,68,68,68,68,68,67,67,67,66,66,66,66,66,66,
10509     66,66,66,66,65,65,65,64,64,64,63,63,63,63,62,62,62,62,62,61,61,
10510     61,61,61,61,60,60,60,60,59,59,59,59,58,58,58,58,58,58,58,58,57,
10511     57,57,57,57,57,57,57,56,56,55,55,55,55,55,55,54,54,54,54,54,54,
10512     54,54,53,53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,51,51,50,
10513     50,50,50,50,50,50,50,49,49,49,49,49,49,49,49,49,48,48,48,48,48,
10514     47,47,47,47,47,46,46,46,46,46,45,45,45,45,45,45,45,45,44,44,43,
10515     43,43,43,42,42,42,41,40,40,39,39,39,39,39,38,38,38,38,37,37,37,
10516     37,36,36,36,36,36,35,35,35,34,34,34,34,34,33,33,33,33,33,33,33,
10517     32,32,32,32,32,32,32,32,31,31,31,30,30,30,30,30,29,29,29,29,29,
10518     29,29,29,29,29,28,28,27,27,27,27,27,26,26,26,26,26,26,25,25,25,
10519     25,25,25,25,25,24,24,24,24,24,24,24,24,23,23,23,23,23,22,22,22,
10520     22,22,22,21,21,21,21,21,21,20,20,20,20,20,19,19,19,18,18,18,18,
10521     18,18,17,17,17,16,15,15,15,15,14,14,14,14,13,13,13,13,13,13,12,
10522     12,12,12,12,12,11,11,11,11,11,11,11,11,10,10,10,10,10,10,10,10,
10523     9,9,9,9,9,8,8,8,7,7,7,7,6,5,5,5,5,4,4,4,4,4,4,4,3,3,3,3,3,3,2,
10524     2,2,2,2,1,1,1,1
10525   };
10526   const int n4c3w1_t[] = {
10527     150, // Capacity
10528     500, // Number of items
10529     // Size of items (sorted)
10530     100,100,100,99,99,98,98,98,97,97,97,97,96,96,96,96,96,96,95,95,
10531     95,95,95,95,94,94,94,94,94,94,93,93,93,92,92,92,92,92,91,91,91,
10532     91,91,90,90,90,90,90,90,89,89,89,89,89,89,88,88,88,88,88,88,88,
10533     88,88,88,87,87,86,86,86,86,85,85,85,85,85,85,84,84,84,84,83,83,
10534     82,82,82,82,82,82,81,81,81,81,80,80,80,80,79,79,79,79,79,79,79,
10535     79,79,79,79,78,78,78,78,78,78,77,77,76,76,76,76,76,76,76,76,76,
10536     75,75,75,75,75,74,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,
10537     73,72,72,72,72,72,72,72,71,71,70,70,70,70,70,70,70,70,70,70,70,
10538     70,70,69,69,69,69,69,69,68,68,68,68,68,68,67,67,67,67,67,66,66,
10539     66,66,65,65,65,65,65,65,65,64,63,63,63,62,62,62,62,61,61,61,61,
10540     60,60,60,60,59,59,59,59,59,59,58,58,58,58,58,57,57,57,57,57,56,
10541     56,56,56,56,55,55,55,55,55,54,54,54,54,54,53,53,53,53,53,53,53,
10542     53,52,51,51,51,50,50,50,50,50,50,50,50,50,49,49,49,49,49,49,49,
10543     48,48,48,48,47,47,47,46,46,46,46,46,45,45,45,44,44,44,44,44,43,
10544     43,43,43,43,43,43,43,42,42,42,41,41,41,41,41,40,40,40,40,40,40,
10545     40,40,40,39,39,39,38,38,38,37,37,37,37,37,37,37,37,37,37,37,36,
10546     36,36,36,36,35,35,35,34,34,34,34,33,33,33,33,32,32,32,32,31,31,
10547     31,31,31,31,31,31,31,31,30,30,30,29,29,29,29,29,28,28,28,28,28,
10548     27,27,27,27,27,26,26,26,26,26,26,25,25,25,24,24,24,24,24,24,23,
10549     23,23,23,23,22,22,22,22,22,22,21,21,21,21,20,20,20,20,19,19,19,
10550     18,18,18,18,17,17,17,17,17,16,16,16,16,16,16,15,15,15,14,14,14,
10551     14,14,13,13,13,13,13,13,12,12,12,12,12,12,12,12,11,11,11,11,11,
10552     11,11,10,9,9,9,9,9,9,9,9,8,8,8,8,7,7,7,7,7,7,6,6,6,6,5,4,4,3,
10553     3,3,3,3,3,3,3,2,2,2
10554   };
10555   const int n4c3w2_a[] = {
10556     150, // Capacity
10557     500, // Number of items
10558     // Size of items (sorted)
10559     100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,97,97,97,97,
10560     97,97,96,96,96,96,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,
10561     95,93,93,93,93,93,93,93,93,92,92,92,92,91,91,91,91,91,91,91,91,
10562     90,90,90,90,90,90,90,90,89,89,89,89,89,89,89,88,88,88,88,88,88,
10563     88,88,88,87,87,87,87,87,87,87,87,87,87,86,86,86,86,86,86,85,85,
10564     85,85,85,85,85,84,84,84,84,84,84,83,83,83,83,83,83,82,82,82,82,
10565     81,81,81,81,81,81,81,81,81,81,81,81,80,80,79,79,79,78,78,78,78,
10566     78,77,77,77,77,76,76,76,76,76,76,76,75,75,75,75,75,75,75,74,74,
10567     74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,
10568     71,71,71,71,71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,68,68,
10569     68,68,68,68,67,67,67,67,67,67,67,67,67,67,66,66,66,66,65,65,65,
10570     64,64,64,64,64,64,64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,
10571     62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,60,59,59,59,59,
10572     59,59,58,58,58,58,58,57,57,57,57,57,56,56,56,56,56,56,56,56,56,
10573     55,54,54,54,54,54,53,53,53,53,52,52,52,52,52,52,52,52,51,51,51,
10574     51,51,51,50,50,50,50,50,50,49,49,49,49,49,49,49,49,48,47,47,47,
10575     47,47,47,47,47,47,47,46,46,46,46,46,45,45,45,45,45,45,44,44,44,
10576     44,44,43,42,42,42,42,42,42,42,42,41,41,41,41,41,41,40,40,40,40,
10577     40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,38,37,37,37,37,
10578     37,37,37,37,37,37,36,36,36,36,36,35,35,35,35,35,34,34,34,34,34,
10579     34,34,33,33,33,33,33,33,33,32,32,32,32,32,31,31,31,31,31,31,30,
10580     30,30,30,29,29,29,29,29,28,28,28,28,28,27,27,27,27,27,26,26,26,
10581     25,25,25,25,25,25,24,24,24,24,24,24,24,24,23,23,23,23,23,23,23,
10582     23,22,22,22,22,22,22,22,21,21,21,21,21,21,21,21,21,20,20
10583   };
10584   const int n4c3w2_b[] = {
10585     150, // Capacity
10586     500, // Number of items
10587     // Size of items (sorted)
10588     100,100,100,100,100,100,100,99,99,99,99,98,98,98,98,98,97,97,
10589     97,97,97,97,96,96,96,96,96,95,95,95,95,95,95,94,94,94,94,94,94,
10590     94,94,93,93,93,93,93,92,92,92,92,92,92,92,91,91,91,91,91,91,91,
10591     91,90,90,89,89,89,89,89,89,89,89,89,89,89,88,88,88,88,88,87,87,
10592     87,86,86,86,86,86,86,86,85,85,85,85,85,85,84,84,84,84,83,83,83,
10593     83,83,83,83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,81,80,80,
10594     80,80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,78,78,78,78,78,
10595     78,78,78,77,77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,76,75,
10596     75,75,74,74,74,74,74,73,73,73,73,73,73,73,73,73,72,72,72,72,72,
10597     72,72,72,71,71,71,71,71,71,71,71,71,70,70,70,70,70,69,69,69,69,
10598     69,68,68,68,68,68,68,68,68,68,68,68,67,67,67,67,67,67,67,67,66,
10599     66,66,66,66,66,65,65,65,65,65,64,64,64,63,63,63,63,63,63,63,62,
10600     62,62,62,62,62,62,61,61,61,61,61,61,60,60,60,60,59,59,59,58,58,
10601     58,58,58,57,57,57,56,56,56,56,55,55,55,55,55,55,55,54,54,54,54,
10602     54,54,54,54,54,54,53,53,53,53,52,52,52,52,52,52,52,51,51,51,51,
10603     50,50,50,50,50,49,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,
10604     47,47,47,47,47,47,47,46,46,46,45,45,45,45,45,45,44,44,44,44,44,
10605     43,43,43,43,43,43,42,42,42,42,41,41,41,41,41,41,40,40,40,40,40,
10606     40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,37,37,37,37,37,
10607     37,36,36,36,36,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,35,
10608     34,34,34,34,33,33,33,33,33,33,32,32,32,32,32,32,32,32,32,32,31,
10609     31,31,31,31,31,30,30,30,30,30,30,30,30,29,29,29,29,29,29,28,28,
10610     28,28,28,28,28,28,26,26,26,26,26,26,26,25,25,25,24,24,24,24,23,
10611     23,23,23,22,22,22,22,22,22,21,21,21,21,21,20,20,20,20,20,20
10612   };
10613   const int n4c3w2_c[] = {
10614     150, // Capacity
10615     500, // Number of items
10616     // Size of items (sorted)
10617     100,100,100,100,99,99,99,99,99,99,99,99,99,99,98,98,98,97,97,
10618     97,97,97,97,97,96,96,96,96,96,95,95,95,94,94,94,94,94,93,93,93,
10619     93,93,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,91,91,91,91,
10620     90,90,90,90,90,89,89,89,89,89,88,88,88,88,88,88,88,88,88,87,87,
10621     87,87,87,87,87,87,87,86,86,86,86,86,86,86,85,85,85,85,84,84,84,
10622     83,83,83,83,83,83,83,82,82,82,82,82,82,82,81,81,81,81,80,80,80,
10623     80,79,79,79,79,79,79,79,78,78,78,78,78,77,77,77,77,77,77,77,77,
10624     77,76,76,76,76,76,76,75,75,75,75,75,75,74,74,74,74,74,74,73,73,
10625     73,73,72,72,72,72,72,71,71,71,71,71,71,71,71,70,70,70,70,70,70,
10626     70,70,70,70,70,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,68,
10627     68,68,68,68,68,67,67,67,67,66,66,66,65,65,64,64,64,64,64,64,63,
10628     63,63,63,63,63,63,63,62,62,62,62,62,62,62,61,61,61,60,60,60,60,
10629     60,60,60,60,60,60,59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,
10630     58,58,57,57,57,57,57,57,56,56,56,56,56,56,56,56,56,56,55,55,55,
10631     55,54,54,54,54,54,54,54,54,54,54,53,53,53,53,53,52,52,52,52,52,
10632     52,52,51,51,51,51,51,51,50,50,50,50,50,49,49,49,49,49,48,48,48,
10633     47,47,47,47,47,47,47,46,46,46,46,46,46,46,45,45,45,45,45,45,44,
10634     44,44,44,44,44,44,43,42,42,42,42,42,41,41,41,41,40,40,40,40,40,
10635     39,39,39,39,39,39,39,39,39,38,38,38,38,37,37,37,36,36,36,36,36,
10636     36,35,35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,32,
10637     32,32,32,32,32,32,31,31,31,31,31,31,31,31,30,30,29,29,29,29,29,
10638     29,28,28,28,28,28,28,27,27,27,27,27,27,26,26,26,26,26,26,26,26,
10639     26,26,26,25,25,25,25,25,24,24,24,24,24,24,24,23,23,23,23,23,22,
10640     22,22,22,22,22,22,21,21,21,21,21,21,21,21,20,20,20,20,20
10641   };
10642   const int n4c3w2_d[] = {
10643     150, // Capacity
10644     500, // Number of items
10645     // Size of items (sorted)
10646     100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,98,97,97,97,
10647     97,97,97,97,96,96,96,95,95,95,95,95,95,95,94,94,94,94,94,94,93,
10648     93,93,93,93,93,93,93,93,92,92,92,92,91,91,91,91,91,90,90,90,90,
10649     90,90,90,89,89,89,89,89,89,89,88,88,88,88,88,88,88,87,87,87,87,
10650     87,87,87,87,86,86,86,86,86,85,85,85,85,84,84,84,84,84,83,83,83,
10651     83,83,82,82,81,81,80,80,80,80,80,80,80,80,80,79,79,79,79,79,79,
10652     79,79,78,78,78,78,78,78,78,78,78,78,78,78,77,77,77,77,77,77,77,
10653     77,77,77,76,76,76,76,76,76,75,75,75,75,74,74,74,74,74,74,74,73,
10654     73,73,73,73,73,72,72,72,71,71,71,71,71,71,71,70,70,70,70,70,69,
10655     69,69,69,69,69,69,69,69,68,68,68,67,67,67,67,67,66,66,66,66,66,
10656     65,65,65,65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,63,63,63,
10657     63,63,63,62,62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,60,
10658     60,60,60,60,59,59,59,59,59,59,59,59,59,59,59,59,59,58,58,58,58,
10659     58,58,57,57,57,57,57,56,56,56,56,56,56,55,55,54,54,54,54,54,54,
10660     54,54,54,54,54,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,
10661     52,52,51,51,51,51,51,50,50,50,50,50,50,49,49,49,49,49,49,48,48,
10662     48,47,47,47,47,47,47,47,46,46,46,46,46,46,45,45,45,45,45,45,45,
10663     45,44,43,43,43,43,43,43,42,42,42,42,41,41,41,40,40,40,40,40,40,
10664     40,40,40,39,39,39,39,39,39,39,39,39,39,38,38,38,38,38,38,38,37,
10665     37,37,37,37,37,37,36,36,36,36,35,35,35,35,35,35,34,34,34,34,34,
10666     34,34,34,34,34,34,34,34,33,33,33,32,32,32,32,32,32,31,31,30,30,
10667     30,30,30,30,30,29,29,29,29,29,29,29,29,29,28,28,28,28,28,27,27,
10668     27,27,27,27,27,27,26,26,26,26,25,25,25,24,24,24,23,22,22,22,22,
10669     22,22,22,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20
10670   };
10671   const int n4c3w2_e[] = {
10672     150, // Capacity
10673     500, // Number of items
10674     // Size of items (sorted)
10675     100,100,100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,98,
10676     98,97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,96,96,95,95,95,
10677     95,94,94,94,94,94,94,93,93,93,93,93,92,92,92,92,91,91,91,91,91,
10678     91,90,90,90,90,90,90,90,90,90,90,90,89,89,89,89,89,89,88,88,88,
10679     88,87,87,87,87,87,86,86,85,85,85,85,85,85,85,84,84,84,84,84,84,
10680     83,83,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,82,82,82,82,
10681     82,81,81,81,81,80,80,80,80,80,79,79,79,79,79,79,79,79,78,78,78,
10682     78,78,77,77,77,77,77,77,76,76,76,76,76,75,75,75,75,74,74,74,74,
10683     74,74,74,74,74,74,73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,
10684     71,71,71,70,70,70,69,69,69,69,69,69,69,69,69,69,69,69,68,68,68,
10685     68,68,68,68,68,68,67,67,66,66,66,66,66,65,65,64,64,64,64,64,63,
10686     63,63,63,62,62,62,62,61,61,61,61,61,60,60,60,60,60,59,59,59,59,
10687     59,59,58,58,58,58,58,58,58,57,57,57,57,57,57,56,56,56,56,56,56,
10688     56,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,53,53,52,52,
10689     52,52,51,51,50,50,50,49,49,49,49,49,49,49,49,48,48,48,48,48,48,
10690     48,48,47,47,47,47,47,46,46,46,46,46,46,46,46,45,45,45,45,45,45,
10691     45,45,45,44,44,44,44,44,44,43,43,43,43,43,43,43,43,43,43,43,42,
10692     42,42,42,42,42,41,41,41,41,41,40,40,40,40,40,40,39,39,39,39,39,
10693     38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,36,36,35,35,35,
10694     35,35,35,35,34,34,34,34,33,33,33,33,32,32,32,32,32,32,32,32,32,
10695     32,32,32,32,32,32,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,
10696     30,30,30,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,28,28,28,
10697     27,27,27,27,27,26,26,26,26,26,25,25,24,24,24,24,24,23,23,23,23,
10698     23,23,23,23,22,22,22,22,22,22,22,22,22,21,21,20,20,20,20,20
10699   };
10700   const int n4c3w2_f[] = {
10701     150, // Capacity
10702     500, // Number of items
10703     // Size of items (sorted)
10704     100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,
10705     99,98,98,98,98,98,97,97,97,97,97,97,97,97,97,96,96,96,96,95,95,
10706     95,95,95,95,95,95,95,95,95,95,94,94,94,94,94,94,94,94,94,94,93,
10707     93,93,93,93,92,92,92,91,91,91,91,91,91,91,90,90,90,90,90,90,90,
10708     90,90,89,89,89,89,89,89,89,88,88,88,88,88,87,87,87,87,87,87,87,
10709     86,86,86,86,85,85,85,85,85,85,85,84,84,84,84,84,84,84,84,84,83,
10710     83,83,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,
10711     81,81,80,80,80,80,80,79,79,79,79,79,79,79,79,79,78,78,78,78,78,
10712     78,78,77,77,77,76,76,76,76,76,76,75,75,75,75,75,75,74,74,74,74,
10713     74,73,73,73,73,73,73,73,73,73,73,72,72,72,72,72,72,72,72,72,72,
10714     71,71,71,71,71,70,70,70,69,69,69,69,68,68,68,68,68,68,68,68,67,
10715     67,67,67,67,67,67,67,66,66,66,66,66,65,65,65,65,64,64,64,64,64,
10716     63,63,63,63,63,63,63,62,62,62,62,62,61,61,61,61,61,61,61,60,60,
10717     60,60,60,59,59,59,59,59,59,59,59,58,58,58,58,58,58,57,57,57,57,
10718     57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,54,54,
10719     54,54,53,53,52,52,52,52,52,52,52,51,51,51,51,51,50,50,49,49,49,
10720     49,49,49,48,48,48,48,48,48,48,48,48,48,47,47,47,47,47,47,47,46,
10721     46,46,46,46,46,46,45,45,45,45,45,45,45,45,44,44,44,44,44,44,43,
10722     43,43,43,43,43,43,42,42,42,42,42,42,42,41,41,41,41,41,41,41,40,
10723     40,40,39,39,39,38,38,38,38,38,38,38,37,37,37,37,37,37,37,36,35,
10724     35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,
10725     31,31,31,31,31,30,30,30,30,30,30,30,29,29,29,29,29,29,28,28,28,
10726     28,28,28,28,27,27,27,27,27,27,27,26,26,26,26,26,26,25,25,24,24,
10727     24,24,24,24,23,22,22,22,22,22,22,22,22,21,21,21,21,20,20,20,20
10728   };
10729   const int n4c3w2_g[] = {
10730     150, // Capacity
10731     500, // Number of items
10732     // Size of items (sorted)
10733     100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,98,98,
10734     97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,95,95,94,94,94,
10735     94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,92,92,91,91,91,91,
10736     91,91,91,91,90,90,89,89,88,88,88,88,88,88,87,87,87,87,86,86,86,
10737     86,86,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,84,84,84,84,
10738     84,83,83,83,83,82,82,82,82,81,81,81,81,81,80,80,80,80,80,79,79,
10739     79,79,79,79,79,79,78,78,78,78,78,77,77,77,77,77,77,77,76,76,76,
10740     76,76,76,76,75,75,75,75,75,75,75,75,75,74,74,74,74,74,74,74,74,
10741     74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,71,70,
10742     70,70,70,70,70,70,70,69,69,69,69,69,68,68,68,68,68,68,67,67,67,
10743     67,67,67,67,66,66,66,66,66,66,65,65,65,65,65,65,64,64,64,63,63,
10744     63,63,62,62,62,62,61,61,61,61,61,61,61,61,61,60,60,60,59,59,59,
10745     59,59,58,58,58,58,58,57,57,57,57,57,57,57,57,57,56,56,56,56,56,
10746     56,56,56,56,56,56,56,55,55,55,54,54,54,54,54,54,54,53,53,53,53,
10747     53,53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,51,51,51,51,50,
10748     50,50,50,50,49,49,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,
10749     48,47,47,47,47,47,47,46,46,46,46,45,45,45,45,45,45,45,45,44,44,
10750     44,44,44,43,43,43,43,42,42,42,42,41,41,41,40,40,40,40,39,39,39,
10751     39,39,39,38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,36,36,36,
10752     36,36,36,36,36,35,35,35,35,35,35,34,34,34,34,34,33,33,33,33,33,
10753     33,33,33,33,33,33,32,32,32,32,32,32,32,32,31,31,31,31,31,31,31,
10754     31,30,30,30,30,30,30,29,29,29,29,29,28,28,28,28,27,27,27,27,27,
10755     27,27,27,27,27,27,26,26,26,26,26,25,24,24,24,24,24,24,24,23,23,
10756     23,23,23,22,22,22,22,22,22,22,21,21,21,21,21,21,21,20,20
10757   };
10758   const int n4c3w2_h[] = {
10759     150, // Capacity
10760     500, // Number of items
10761     // Size of items (sorted)
10762     100,100,100,100,100,100,100,100,99,99,99,99,98,98,98,98,98,98,
10763     97,97,97,96,96,96,96,96,96,95,95,95,94,94,94,94,94,94,94,93,93,
10764     93,93,93,93,92,92,92,92,91,91,91,91,91,91,91,91,91,90,90,90,90,
10765     89,89,89,89,89,89,89,88,88,88,88,88,88,88,88,87,87,87,87,87,86,
10766     86,86,86,86,86,85,85,85,85,85,85,84,84,84,84,84,84,84,83,83,83,
10767     83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,81,81,81,80,
10768     80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,78,78,78,78,78,
10769     77,77,77,77,77,77,76,76,76,75,75,75,75,75,74,74,74,74,74,74,74,
10770     74,73,73,73,73,73,73,73,72,72,72,72,72,72,71,71,71,71,71,71,71,
10771     71,71,70,70,70,70,70,70,70,69,69,69,68,68,68,68,68,68,68,67,67,
10772     67,67,67,67,67,66,66,66,66,66,66,66,66,65,65,65,65,65,65,65,64,
10773     64,64,64,64,64,64,64,64,64,63,63,63,63,62,62,62,62,61,61,61,61,
10774     60,60,60,60,60,60,60,60,60,60,59,59,59,59,59,58,58,58,58,58,58,
10775     58,58,58,58,57,57,57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,
10776     54,54,54,53,53,52,52,52,52,52,52,52,52,51,51,51,51,51,50,50,50,
10777     50,50,49,49,49,49,49,49,49,48,48,48,48,48,48,48,48,47,47,47,47,
10778     47,47,46,46,46,46,46,46,45,45,45,45,45,45,45,45,45,45,45,44,44,
10779     44,44,43,43,43,43,43,43,42,41,41,41,41,41,41,41,41,40,40,40,40,
10780     40,40,40,40,40,40,40,39,39,39,38,38,38,37,37,37,37,37,37,37,36,
10781     36,36,36,35,35,35,35,35,35,35,34,34,34,34,34,34,34,33,33,33,33,
10782     33,33,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,30,29,29,29,
10783     29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,28,28,28,27,27,27,
10784     27,27,26,26,26,26,26,26,25,25,25,25,25,25,25,25,25,24,24,24,23,
10785     23,23,23,23,23,23,22,22,22,22,22,22,21,21,21,21,21,20,20,20
10786   };
10787   const int n4c3w2_i[] = {
10788     150, // Capacity
10789     500, // Number of items
10790     // Size of items (sorted)
10791     100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,
10792     98,98,98,98,97,97,97,97,97,96,96,96,96,95,95,95,95,95,94,94,94,
10793     94,94,93,93,93,93,92,92,92,92,92,92,92,92,91,91,91,91,91,91,90,
10794     90,90,90,90,89,89,89,89,89,89,88,88,88,87,87,87,87,87,87,87,86,
10795     86,86,86,85,85,85,85,84,84,84,84,83,83,83,83,83,83,83,83,83,82,
10796     82,82,82,81,81,81,81,81,81,81,80,80,80,80,80,80,80,80,80,79,79,
10797     79,79,79,79,79,79,79,78,78,78,77,77,77,77,77,76,76,76,76,76,75,
10798     75,75,75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,
10799     72,72,71,71,71,71,71,71,71,70,70,70,70,69,69,69,69,69,69,68,68,
10800     68,68,68,68,68,68,68,67,67,67,67,67,67,66,66,66,66,66,66,65,65,
10801     65,65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,63,63,63,63,62,
10802     62,62,62,62,62,61,61,61,61,61,61,60,60,60,60,60,60,60,60,60,60,
10803     59,59,59,59,59,58,58,58,58,58,58,57,57,57,57,57,56,56,56,56,56,
10804     56,56,56,56,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,
10805     52,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,50,50,49,49,
10806     49,49,49,48,48,48,48,48,48,48,47,47,47,47,46,46,46,46,46,46,46,
10807     45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,44,44,44,44,43,
10808     43,43,43,43,42,42,42,42,42,42,42,42,42,42,42,41,41,41,40,40,40,
10809     39,38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,36,36,36,36,
10810     36,36,35,35,35,34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,
10811     32,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30,30,29,
10812     29,29,29,29,29,29,28,28,28,28,28,28,27,27,27,27,27,27,27,27,26,
10813     26,26,26,26,26,26,26,25,25,25,25,25,25,25,24,24,24,24,24,24,24,
10814     24,24,24,23,23,23,23,22,22,21,21,21,21,21,21,21,21,20,20,20
10815   };
10816   const int n4c3w2_j[] = {
10817     150, // Capacity
10818     500, // Number of items
10819     // Size of items (sorted)
10820     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,
10821     98,98,98,98,98,98,98,98,98,97,97,97,97,97,96,96,96,96,96,95,95,
10822     95,95,95,94,94,94,94,93,93,93,93,93,92,92,92,92,91,91,91,91,91,
10823     91,91,90,90,90,90,90,90,90,90,90,90,89,89,89,89,88,88,88,88,88,
10824     88,88,88,88,87,87,87,87,86,86,86,86,86,86,86,86,85,85,84,84,84,
10825     84,84,84,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,82,82,81,
10826     81,81,81,80,80,80,80,80,80,79,79,78,78,78,78,78,78,78,78,78,78,
10827     78,77,77,77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,75,75,75,
10828     75,75,74,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,72,72,72,
10829     72,71,71,71,71,70,70,70,70,70,70,70,69,69,69,69,69,68,68,68,67,
10830     67,67,67,67,67,67,67,66,66,66,66,66,66,66,65,65,65,65,65,64,64,
10831     63,63,63,63,62,62,62,62,62,62,62,62,62,61,61,61,61,60,60,60,60,
10832     60,60,60,60,60,60,60,59,59,59,59,59,58,58,58,58,58,58,58,58,58,
10833     57,57,57,56,56,56,56,56,56,56,56,55,55,55,55,54,54,54,54,54,53,
10834     53,53,52,52,52,52,52,52,52,52,52,52,52,52,51,51,51,51,51,50,50,
10835     50,50,50,50,50,50,49,49,49,49,49,49,49,49,49,49,49,48,48,48,48,
10836     48,48,48,48,48,48,48,48,47,47,47,47,47,46,46,46,46,46,46,46,45,
10837     45,45,45,45,44,44,44,44,44,44,44,44,44,43,43,43,43,43,43,43,42,
10838     42,42,42,42,42,42,41,41,40,40,40,40,40,40,40,39,39,39,39,39,39,
10839     38,38,38,38,38,38,37,37,37,37,37,36,36,36,36,36,35,35,35,35,35,
10840     35,34,34,33,33,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,31,
10841     31,31,31,30,30,30,30,30,30,29,29,29,29,29,29,29,28,28,28,27,27,
10842     27,27,27,27,27,26,26,26,26,26,26,26,25,25,25,25,24,24,24,24,23,
10843     23,23,23,23,23,23,23,22,22,22,22,22,22,22,21,21,21,21,21,20
10844   };
10845   const int n4c3w2_k[] = {
10846     150, // Capacity
10847     500, // Number of items
10848     // Size of items (sorted)
10849     100,100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,98,98,
10850     98,98,98,98,97,97,97,97,97,96,96,96,96,96,96,96,96,96,95,95,95,
10851     95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,
10852     92,92,92,92,92,92,92,92,92,91,91,91,91,91,91,91,91,91,90,90,90,
10853     90,90,89,89,89,89,89,88,88,88,88,88,88,88,88,88,87,87,87,87,87,
10854     87,86,86,85,85,85,85,84,84,84,84,84,84,84,83,83,83,83,83,82,82,
10855     82,82,82,82,82,81,81,81,81,80,80,80,79,79,79,79,79,78,78,78,78,
10856     78,78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,76,
10857     75,75,75,75,75,75,75,75,74,74,74,73,73,73,73,73,73,73,72,72,72,
10858     72,72,72,72,72,72,71,71,71,71,71,70,70,70,70,70,69,69,69,69,69,
10859     68,68,68,68,68,68,67,67,67,67,67,66,66,66,66,66,65,65,65,65,65,
10860     65,65,65,65,65,65,64,64,64,64,64,64,64,63,63,63,63,63,63,63,63,
10861     63,63,63,62,62,62,61,61,61,61,61,61,61,61,60,60,60,59,59,58,58,
10862     58,58,58,57,57,57,57,57,57,57,57,56,56,56,56,56,56,55,55,55,55,
10863     54,54,54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,52,52,51,51,
10864     51,51,51,50,50,50,50,50,49,49,49,49,48,48,48,48,48,47,47,46,46,
10865     46,46,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,43,43,43,43,
10866     43,43,43,42,42,42,42,41,41,41,41,41,41,41,41,41,41,40,40,40,40,
10867     40,40,40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,38,38,37,37,
10868     37,37,37,37,37,36,35,35,35,35,35,35,35,35,35,34,34,34,34,34,34,
10869     33,33,33,33,33,32,32,32,32,32,32,32,32,31,31,31,30,30,30,30,29,
10870     29,29,29,29,29,29,28,28,28,28,28,27,27,27,27,27,27,26,26,26,26,
10871     25,25,25,25,25,25,25,25,24,24,24,24,24,24,24,24,24,24,24,24,24,
10872     23,23,23,22,22,22,22,21,21,21,21,21,20,20,20,20,20,20,20,20
10873   };
10874   const int n4c3w2_l[] = {
10875     150, // Capacity
10876     500, // Number of items
10877     // Size of items (sorted)
10878     100,100,100,100,100,100,100,99,99,99,99,99,99,98,98,98,98,98,
10879     98,98,98,97,97,97,97,97,97,97,97,96,96,96,95,95,94,94,94,94,94,
10880     94,94,93,93,93,93,93,93,93,93,92,92,92,92,92,92,92,92,91,91,91,
10881     91,91,91,91,91,90,90,90,90,90,90,90,89,89,89,89,89,89,88,88,88,
10882     88,88,88,88,88,87,87,87,87,86,86,86,86,86,86,86,86,86,85,85,85,
10883     85,85,85,85,84,84,84,84,84,84,84,84,83,83,83,83,83,83,83,83,83,
10884     82,82,81,81,81,81,81,81,81,80,80,80,80,80,79,79,79,79,79,79,79,
10885     79,79,79,78,78,78,78,78,78,78,77,77,76,76,76,76,75,75,75,75,75,
10886     75,75,74,74,74,74,74,74,73,73,73,73,73,72,72,72,72,72,72,72,71,
10887     71,71,71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,69,
10888     68,68,68,68,68,68,67,67,67,66,66,66,66,66,66,65,65,65,65,65,64,
10889     64,64,64,64,64,63,63,63,63,63,63,62,62,62,62,62,62,62,61,61,61,
10890     61,61,60,60,60,60,60,60,59,59,59,59,59,59,59,59,58,58,58,58,58,
10891     57,57,57,57,57,56,56,56,56,56,56,56,56,56,56,55,55,55,55,55,55,
10892     55,54,54,53,53,53,53,52,52,52,51,51,51,50,50,50,50,50,49,49,49,
10893     49,48,48,48,48,48,48,48,48,47,47,47,47,47,47,46,46,46,45,45,45,
10894     45,45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,42,42,42,42,42,
10895     42,42,42,41,41,41,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,
10896     38,38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,36,36,36,
10897     36,35,35,35,35,35,35,35,35,34,34,34,34,33,33,33,33,33,33,33,33,
10898     33,33,33,33,32,32,32,32,32,32,32,32,31,31,30,30,30,29,29,29,28,
10899     28,28,28,28,28,28,27,27,27,26,26,26,26,26,25,25,25,25,25,25,25,
10900     25,25,25,25,25,24,24,24,24,24,24,24,24,24,24,23,23,23,23,23,23,
10901     23,23,23,23,22,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20
10902   };
10903   const int n4c3w2_m[] = {
10904     150, // Capacity
10905     500, // Number of items
10906     // Size of items (sorted)
10907     100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,98,98,
10908     98,98,98,98,97,97,97,97,97,97,97,97,96,96,96,96,95,95,95,94,94,
10909     94,94,93,93,93,93,93,93,93,93,92,92,92,91,91,91,91,91,91,91,91,
10910     91,91,91,90,90,90,90,90,89,89,89,88,88,88,88,88,88,87,87,87,87,
10911     87,87,87,86,86,86,85,85,85,85,85,85,84,84,84,84,84,84,84,83,83,
10912     83,83,83,83,82,82,82,82,82,82,81,81,81,81,81,80,80,80,80,80,80,
10913     79,79,79,79,79,79,79,78,78,78,78,78,78,77,77,77,77,77,77,77,77,
10914     77,76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,74,73,
10915     73,73,73,73,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,70,70,
10916     70,70,70,69,69,69,69,69,68,68,68,68,67,67,67,67,67,66,66,66,66,
10917     66,66,65,65,65,65,65,64,64,64,64,64,63,63,63,63,63,62,62,62,62,
10918     62,62,62,62,62,62,61,61,61,61,61,61,61,60,60,60,60,60,60,59,59,
10919     59,59,59,59,59,58,58,58,58,57,57,57,57,57,57,56,56,56,56,56,56,
10920     56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,54,54,54,53,53,
10921     53,53,53,53,53,53,53,52,52,52,52,51,51,50,50,50,50,50,50,50,50,
10922     50,50,49,49,49,49,48,48,48,48,48,48,48,48,48,47,46,46,46,46,46,
10923     45,45,45,45,45,44,44,44,44,44,43,43,43,43,42,42,42,42,42,41,41,
10924     41,41,41,41,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,39,39,
10925     39,38,38,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,35,35,35,
10926     35,34,34,34,33,33,33,33,33,33,33,33,33,33,32,32,32,32,32,32,31,
10927     31,31,31,31,31,30,30,30,30,30,29,29,29,29,29,29,29,28,28,28,28,
10928     28,27,27,27,27,26,26,26,26,26,26,25,25,25,25,25,25,25,25,25,24,
10929     24,24,24,24,24,24,24,23,23,23,23,23,23,23,23,22,22,22,22,22,21,
10930     21,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,20,20
10931   };
10932   const int n4c3w2_n[] = {
10933     150, // Capacity
10934     500, // Number of items
10935     // Size of items (sorted)
10936     100,100,100,100,100,99,99,99,99,98,98,98,98,98,98,97,97,97,97,
10937     97,97,97,97,96,96,96,96,96,96,96,95,95,95,95,94,94,94,94,94,94,
10938     94,94,94,94,93,93,93,92,92,92,92,91,91,91,91,91,91,91,91,91,91,
10939     90,90,90,90,90,90,89,89,89,88,88,88,88,87,87,87,87,87,87,87,86,
10940     86,86,86,86,85,85,85,84,84,84,84,84,83,83,83,83,83,83,83,83,83,
10941     83,82,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,79,79,
10942     79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,77,77,77,76,76,76,
10943     76,76,76,76,76,75,75,75,75,75,74,74,74,74,73,73,73,73,73,73,73,
10944     73,73,72,72,72,72,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,
10945     70,70,70,70,70,69,69,69,68,68,68,68,68,67,67,67,67,66,66,66,65,
10946     65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,63,63,63,63,62,62,
10947     62,62,62,62,62,61,61,61,61,60,60,60,60,60,59,59,59,59,59,59,59,
10948     59,59,59,59,59,59,58,58,58,58,58,57,57,57,57,57,57,56,56,56,56,
10949     56,56,56,56,55,55,55,55,55,54,54,54,54,54,54,54,54,54,54,54,53,
10950     53,53,53,53,53,53,52,52,51,51,51,51,51,51,51,51,50,50,50,50,50,
10951     49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,47,47,46,46,
10952     46,46,46,45,45,45,45,45,44,44,44,44,44,44,43,43,43,43,43,43,42,
10953     42,42,42,42,42,42,41,41,41,40,40,40,40,39,39,39,39,39,39,39,39,
10954     38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,36,36,36,35,35,35,
10955     35,35,34,34,34,34,33,33,33,33,33,33,33,33,33,33,33,33,33,32,32,
10956     32,32,32,32,32,32,32,31,31,31,31,31,31,31,31,31,31,31,30,30,30,
10957     30,30,29,29,29,29,29,28,28,27,27,27,27,26,26,26,26,26,25,25,25,
10958     25,25,25,24,24,24,24,24,24,24,23,23,23,23,23,23,22,22,22,22,22,
10959     22,21,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20
10960   };
10961   const int n4c3w2_o[] = {
10962     150, // Capacity
10963     500, // Number of items
10964     // Size of items (sorted)
10965     100,100,100,100,100,100,100,100,100,100,100,100,100,99,99,99,
10966     99,99,98,98,98,97,97,97,97,96,96,96,96,96,96,96,96,96,95,95,95,
10967     95,95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,93,93,93,93,93,
10968     92,92,92,92,92,92,91,91,91,91,91,90,90,90,90,90,90,89,89,89,89,
10969     89,89,89,88,87,87,87,87,87,86,86,86,86,86,86,86,86,85,85,85,85,
10970     85,85,85,85,85,85,84,84,84,84,84,84,83,83,83,82,82,82,82,82,82,
10971     81,81,81,81,81,81,81,81,81,81,80,80,80,79,79,79,79,79,78,78,78,
10972     78,78,78,78,77,77,77,77,77,77,77,77,77,77,76,76,76,76,76,76,76,
10973     75,75,75,74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,72,72,72,
10974     72,72,71,71,71,71,71,70,70,70,70,70,70,70,70,70,70,70,70,70,70,
10975     69,69,69,69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,68,68,
10976     68,68,68,67,67,67,67,67,67,67,66,66,66,66,65,65,65,65,65,65,64,
10977     64,64,63,63,63,63,63,63,63,62,62,62,62,62,62,62,61,61,61,61,61,
10978     61,61,61,60,60,60,60,59,59,59,59,59,58,58,58,58,58,57,57,57,57,
10979     57,57,57,57,57,56,56,56,56,56,56,55,55,55,55,54,54,54,54,54,54,
10980     54,54,53,53,53,53,53,52,52,52,52,52,52,52,52,52,51,51,51,51,51,
10981     51,51,51,51,51,51,51,51,51,51,50,50,50,50,50,49,49,49,49,49,49,
10982     49,49,48,48,48,48,48,48,48,47,47,47,47,47,47,47,47,47,45,45,45,
10983     44,44,44,44,44,44,44,43,43,43,43,43,42,42,42,42,42,42,41,41,41,
10984     41,41,41,41,40,40,40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,
10985     38,37,37,37,37,37,37,37,36,36,36,35,35,35,35,35,34,34,34,34,34,
10986     33,33,32,32,32,32,32,32,32,31,31,31,31,31,30,30,30,30,30,30,29,
10987     29,29,28,28,28,28,28,27,27,27,26,26,26,26,26,25,24,24,24,23,23,
10988     22,22,22,22,22,22,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20,
10989     20
10990   };
10991   const int n4c3w2_p[] = {
10992     150, // Capacity
10993     500, // Number of items
10994     // Size of items (sorted)
10995     100,100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,
10996     99,99,98,98,98,98,98,98,97,97,97,97,97,97,96,96,96,96,96,95,95,
10997     95,95,95,95,94,94,94,94,94,93,93,93,93,93,93,92,92,92,92,92,91,
10998     91,91,91,91,91,90,90,90,90,90,90,90,90,90,89,89,89,89,89,88,88,
10999     88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,86,85,85,85,85,85,
11000     85,85,85,85,85,84,84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,
11001     83,83,83,82,82,82,81,81,81,80,80,80,80,80,80,80,79,79,79,79,78,
11002     78,78,78,78,78,78,78,77,77,77,77,77,77,77,76,76,76,75,75,74,74,
11003     74,74,74,74,74,74,74,73,73,73,73,73,73,72,72,72,72,71,71,71,71,
11004     71,71,70,70,70,70,70,70,70,69,69,68,68,68,68,68,68,67,67,67,67,
11005     67,67,67,66,66,66,66,65,65,65,65,65,64,64,64,64,64,64,64,63,63,
11006     63,63,63,63,63,63,62,62,62,62,62,62,62,62,61,61,61,60,60,60,60,
11007     60,60,60,60,60,59,59,59,59,59,59,59,59,59,58,58,58,58,58,57,57,
11008     57,57,57,56,56,56,56,56,56,56,55,55,55,55,55,54,54,54,54,54,53,
11009     53,53,53,53,53,53,52,52,52,52,52,51,51,51,51,51,50,50,50,50,50,
11010     49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,47,47,47,47,47,47,
11011     46,46,46,46,46,46,45,45,45,45,45,44,44,44,44,44,44,43,43,43,43,
11012     43,43,43,42,42,42,42,42,42,42,42,42,42,42,42,41,41,41,41,41,41,
11013     41,41,40,40,39,39,39,39,39,39,39,39,39,39,38,38,38,37,37,37,37,
11014     37,37,37,37,37,37,37,37,36,36,36,36,35,34,34,34,34,34,34,34,34,
11015     34,33,33,33,33,33,33,33,32,32,32,32,32,31,31,31,30,30,30,29,29,
11016     29,29,29,29,29,29,29,28,28,28,28,28,28,27,27,27,27,27,27,27,27,
11017     26,26,25,25,25,25,25,25,25,25,24,24,24,24,24,24,24,24,23,23,23,
11018     23,22,22,22,22,22,22,22,22,22,22,21,21,21,21,21,21,20,20,20,20
11019   };
11020   const int n4c3w2_q[] = {
11021     150, // Capacity
11022     500, // Number of items
11023     // Size of items (sorted)
11024     100,100,100,100,100,100,100,100,99,99,99,98,98,98,98,98,98,98,
11025     98,98,98,97,97,97,97,97,97,97,97,96,96,96,96,96,95,95,95,95,94,
11026     94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,93,93,93,93,92,92,
11027     92,92,92,92,92,92,92,91,91,91,90,90,90,90,90,90,89,89,89,89,89,
11028     89,88,88,88,88,88,88,88,88,88,88,87,87,87,87,87,86,86,86,86,86,
11029     86,86,86,86,85,85,85,85,85,85,85,84,84,84,84,84,84,84,84,84,84,
11030     83,83,83,82,82,82,82,81,81,81,81,81,81,81,80,80,80,80,79,79,79,
11031     79,79,79,79,78,78,78,78,77,77,77,77,76,76,76,76,76,75,75,75,75,
11032     74,74,73,73,73,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,71,
11033     71,71,70,70,70,70,70,70,70,69,69,69,69,69,68,68,68,68,68,67,67,
11034     67,67,66,66,65,65,65,65,65,64,64,64,64,64,64,64,64,64,64,64,63,
11035     63,63,63,63,63,63,62,62,62,62,62,62,62,62,61,61,61,61,60,60,60,
11036     60,60,60,59,59,59,58,58,58,57,57,57,57,56,56,56,56,56,56,55,55,
11037     55,55,54,54,54,54,54,54,54,54,54,54,54,53,53,53,53,53,53,52,52,
11038     52,52,52,52,51,51,51,51,51,51,51,51,50,50,49,49,49,49,49,49,49,
11039     48,48,48,48,48,48,48,48,48,48,47,47,46,46,46,46,46,46,46,45,45,
11040     45,45,45,45,45,45,44,44,44,44,44,44,43,43,43,43,42,42,42,42,42,
11041     41,41,41,41,40,40,40,40,39,39,39,38,38,38,38,38,37,37,37,36,36,
11042     36,36,36,35,35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,
11043     33,33,32,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,
11044     30,30,30,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,28,27,27,
11045     27,27,27,26,26,26,26,26,26,26,26,25,25,25,25,25,25,25,25,25,25,
11046     25,24,24,24,24,24,24,24,24,24,24,23,23,23,23,22,22,22,22,22,22,
11047     22,22,22,22,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,20
11048   };
11049   const int n4c3w2_r[] = {
11050     150, // Capacity
11051     500, // Number of items
11052     // Size of items (sorted)
11053     100,100,100,100,100,100,99,99,99,98,98,98,98,98,97,97,97,97,96,
11054     96,96,95,95,95,95,95,95,95,95,94,94,94,94,94,93,93,92,92,92,92,
11055     92,92,91,91,91,91,91,91,90,90,90,90,90,90,90,89,89,89,89,89,89,
11056     89,89,88,88,88,87,87,87,87,87,86,86,86,86,86,86,86,86,86,86,85,
11057     85,85,85,85,85,85,84,84,84,84,84,84,84,83,83,83,83,83,83,83,83,
11058     83,83,83,82,82,82,82,82,82,82,82,82,82,82,82,81,81,81,81,80,80,
11059     80,80,80,80,79,79,78,78,78,77,77,77,77,77,77,76,76,76,76,76,75,
11060     75,75,74,74,73,73,73,73,73,73,73,72,72,72,72,72,72,72,72,72,72,
11061     72,71,71,71,71,71,70,70,70,70,70,69,69,68,68,68,68,67,67,67,67,
11062     67,67,67,67,66,66,66,66,66,66,66,66,66,66,66,65,65,65,65,65,64,
11063     64,64,64,64,64,64,64,64,64,63,63,63,63,62,62,61,61,61,61,61,61,
11064     61,61,61,61,61,60,60,60,60,60,60,60,60,59,59,59,59,59,59,59,59,
11065     59,59,58,58,58,58,57,57,57,57,57,57,57,56,56,56,55,55,55,55,55,
11066     55,55,54,54,54,54,54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,
11067     52,52,52,51,51,51,51,51,51,51,50,50,50,49,49,49,49,49,48,48,48,
11068     48,48,48,47,47,47,47,47,47,46,46,46,46,46,46,46,45,45,45,45,44,
11069     44,44,44,44,43,43,43,43,43,43,42,42,42,42,42,42,42,41,41,41,41,
11070     41,40,40,40,40,40,40,39,39,39,39,39,39,38,38,38,38,37,37,37,37,
11071     37,36,36,35,35,35,35,35,34,34,34,34,34,34,34,34,33,33,33,33,33,
11072     33,33,33,33,32,32,32,32,32,32,32,31,31,31,31,31,31,31,30,30,30,
11073     30,30,30,30,30,30,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,
11074     28,28,27,27,27,27,27,27,27,27,27,26,26,26,25,25,25,25,25,24,24,
11075     24,24,24,24,24,24,23,23,23,23,23,23,23,23,23,23,23,22,22,22,22,
11076     22,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,20,20
11077   };
11078   const int n4c3w2_s[] = {
11079     150, // Capacity
11080     500, // Number of items
11081     // Size of items (sorted)
11082     100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,98,97,
11083     97,97,97,97,97,97,97,97,96,96,96,96,96,96,95,95,95,95,95,95,94,
11084     94,94,94,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,91,91,
11085     91,91,90,90,90,89,89,89,89,89,89,89,89,89,88,88,88,88,88,87,87,
11086     87,87,87,87,87,86,86,86,86,86,86,86,85,85,85,85,85,85,85,84,83,
11087     83,83,83,83,83,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,
11088     80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,78,78,78,78,78,78,
11089     78,78,77,77,76,76,76,76,75,75,75,75,74,74,74,74,73,73,73,73,73,
11090     73,72,72,72,72,72,71,71,71,70,70,70,69,69,69,69,68,68,68,68,68,
11091     67,67,67,67,67,67,67,66,66,66,66,66,66,66,66,66,66,65,65,65,65,
11092     65,65,65,64,64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,63,62,
11093     62,62,62,62,62,61,61,61,60,60,60,60,60,60,60,59,59,59,59,59,59,
11094     58,58,58,57,57,57,57,57,57,56,56,56,56,55,55,55,55,55,55,54,54,
11095     54,53,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,51,51,51,
11096     51,51,51,51,50,50,50,50,50,50,50,50,49,49,49,49,49,49,49,48,48,
11097     48,48,48,48,48,47,47,47,46,46,46,45,45,45,45,45,45,44,44,44,43,
11098     43,43,43,43,43,43,42,42,42,42,42,42,41,41,41,41,41,41,41,41,40,
11099     40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,38,37,37,37,
11100     37,37,37,37,36,36,36,36,36,36,36,36,36,36,36,35,35,35,35,35,35,
11101     35,35,34,34,34,34,34,34,33,33,33,32,32,32,32,32,32,31,31,31,31,
11102     31,31,31,31,31,31,30,30,30,30,30,29,29,29,29,29,28,28,28,28,28,
11103     28,27,27,27,27,27,27,27,26,26,26,26,26,26,26,25,25,25,25,24,24,
11104     24,24,24,24,24,24,24,24,24,23,23,23,23,23,23,23,23,23,23,22,22,
11105     22,22,22,22,22,21,21,21,21,21,21,20,20,20,20,20,20,20,20
11106   };
11107   const int n4c3w2_t[] = {
11108     150, // Capacity
11109     500, // Number of items
11110     // Size of items (sorted)
11111     100,100,100,100,100,99,99,99,99,99,99,98,98,98,97,97,97,97,97,
11112     97,97,97,96,96,96,96,96,95,95,95,95,95,95,95,94,94,94,93,93,93,
11113     93,93,93,93,92,92,92,92,91,91,91,91,91,90,89,89,89,89,89,89,88,
11114     88,88,88,87,87,87,87,87,86,86,86,86,85,85,85,85,85,85,85,85,84,
11115     84,84,84,84,84,84,84,83,83,83,83,83,83,82,82,82,82,82,81,81,81,
11116     81,81,81,80,80,80,80,80,79,79,79,79,78,78,78,78,78,78,78,77,77,
11117     77,77,77,77,77,77,77,77,77,77,77,77,76,76,76,76,76,75,75,75,75,
11118     75,75,75,75,75,75,74,74,73,73,73,73,73,73,72,72,72,72,71,71,71,
11119     71,71,71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,68,68,68,68,
11120     67,67,67,67,67,67,67,67,66,66,66,65,65,65,65,64,64,64,64,64,64,
11121     64,63,63,63,63,62,62,62,61,61,61,61,61,61,61,61,60,60,59,59,59,
11122     59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,57,57,57,57,57,57,
11123     57,56,56,56,56,56,56,56,56,56,56,56,55,55,55,55,55,54,54,54,54,
11124     54,54,54,54,53,53,53,53,53,53,52,52,52,52,52,52,51,51,51,51,51,
11125     51,51,50,50,50,50,50,50,50,50,49,49,49,49,49,49,49,49,49,49,49,
11126     48,48,48,48,48,48,48,48,48,48,48,47,47,47,47,47,47,47,47,46,46,
11127     46,46,46,46,46,45,45,45,45,44,44,44,44,44,43,43,43,43,43,43,43,
11128     43,42,42,42,42,42,42,41,41,41,41,41,40,40,40,40,40,40,40,40,39,
11129     39,39,39,39,39,39,38,38,38,38,37,37,37,37,37,37,37,37,37,37,36,
11130     36,36,36,36,36,36,35,35,35,35,34,34,34,34,33,33,33,33,33,33,32,
11131     32,32,31,31,31,31,31,31,31,31,30,29,29,29,29,28,28,28,28,28,28,
11132     28,28,28,28,27,27,27,27,27,27,27,27,27,26,26,26,26,26,26,26,26,
11133     25,25,25,25,25,24,24,24,24,24,24,24,24,24,23,23,23,22,22,22,22,
11134     22,22,21,21,21,21,21,21,21,21,20,20,20,20,20,20,20,20,20
11135   };
11136   const int n4c3w4_a[] = {
11137     150, // Capacity
11138     500, // Number of items
11139     // Size of items (sorted)
11140     100,100,100,100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,
11141     98,98,98,98,97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,95,95,
11142     95,95,95,94,94,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,
11143     92,92,92,91,91,91,91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,
11144     89,88,88,88,88,88,88,87,87,87,87,87,87,87,87,87,86,86,86,86,86,
11145     86,85,85,85,85,85,85,85,85,85,85,85,84,84,84,84,84,84,84,84,83,
11146     83,83,83,83,83,83,82,82,82,81,81,81,81,81,81,80,80,80,80,80,80,
11147     80,80,79,79,79,79,78,78,78,78,78,78,78,77,77,77,77,77,77,77,76,
11148     76,76,76,76,76,76,76,76,76,75,75,75,75,75,75,75,75,74,74,73,73,
11149     73,73,73,73,73,73,73,72,72,72,72,72,72,72,72,72,72,72,72,72,71,
11150     71,71,71,71,70,70,70,70,70,70,70,70,70,70,70,69,69,69,69,69,69,
11151     68,68,68,67,67,67,67,67,66,66,66,66,66,65,65,65,65,65,65,65,65,
11152     65,64,64,64,64,64,64,64,63,63,63,63,63,63,63,62,62,62,62,62,62,
11153     62,61,61,61,61,61,60,60,60,60,60,59,59,59,59,58,58,58,58,58,58,
11154     58,58,58,57,57,57,57,57,57,57,57,57,56,56,56,56,56,56,56,56,56,
11155     55,55,55,55,55,55,55,55,55,54,54,54,54,53,53,53,53,53,53,53,53,
11156     53,53,53,53,52,52,52,52,52,52,52,52,52,52,52,52,51,51,51,51,51,
11157     51,50,50,50,49,49,49,49,48,48,48,48,48,48,48,48,48,48,48,48,48,
11158     47,47,47,46,46,46,46,46,46,45,45,45,45,45,45,44,44,44,44,44,44,
11159     43,43,43,43,43,43,43,43,43,43,43,43,42,42,41,41,41,41,40,40,40,
11160     40,40,40,40,40,40,40,40,40,39,39,39,39,39,38,38,38,38,38,38,38,
11161     38,38,38,37,37,37,37,37,37,36,36,36,36,36,36,36,36,35,35,35,35,
11162     35,35,34,34,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,31,31,
11163     31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30
11164   };
11165   const int n4c3w4_b[] = {
11166     150, // Capacity
11167     500, // Number of items
11168     // Size of items (sorted)
11169     100,100,100,100,99,99,99,99,99,98,98,98,98,98,98,98,98,98,98,
11170     98,97,97,97,97,97,97,97,97,97,97,96,96,95,95,95,95,95,94,94,94,
11171     94,94,94,94,94,93,93,93,93,93,93,93,92,92,92,92,92,92,91,91,91,
11172     91,91,91,91,91,91,91,90,90,90,90,90,90,89,89,89,89,89,89,89,89,
11173     89,88,88,88,88,88,88,88,87,87,87,87,87,87,86,86,86,86,86,85,85,
11174     85,85,85,85,85,85,85,84,84,84,84,84,84,84,84,83,83,83,82,82,82,
11175     82,82,81,81,81,81,81,81,81,80,80,80,80,80,80,80,79,79,79,79,79,
11176     79,78,78,78,78,78,78,77,77,77,77,77,77,77,77,76,76,76,76,76,75,
11177     75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,74,74,73,73,73,73,
11178     73,73,73,73,73,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,70,
11179     70,70,70,70,69,69,69,69,69,68,68,68,67,67,67,67,67,67,67,67,67,
11180     67,67,66,66,66,66,66,65,65,65,65,65,64,64,64,64,64,63,63,63,63,
11181     63,63,63,62,62,62,62,62,62,62,62,61,61,61,61,60,60,60,60,60,60,
11182     60,60,60,60,60,59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,
11183     56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,55,54,54,54,54,54,
11184     54,53,53,53,53,53,53,53,52,52,52,52,52,51,51,51,51,51,51,51,51,
11185     51,51,51,51,50,50,50,50,50,49,49,49,49,49,49,49,48,48,48,48,48,
11186     48,47,47,47,47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,45,45,
11187     45,45,45,45,45,45,44,44,44,44,44,43,43,43,43,43,43,43,43,43,43,
11188     43,43,43,43,42,42,42,42,42,42,42,42,42,42,42,42,42,41,41,41,41,
11189     41,41,41,41,41,40,40,40,40,40,40,40,40,40,39,39,39,39,39,38,38,
11190     38,38,38,37,37,37,37,37,37,36,36,36,36,36,36,36,35,35,35,35,35,
11191     35,35,35,35,34,34,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,
11192     32,32,32,32,32,31,31,31,31,31,31,31,31,30,30,30,30,30,30
11193   };
11194   const int n4c3w4_c[] = {
11195     150, // Capacity
11196     500, // Number of items
11197     // Size of items (sorted)
11198     100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,
11199     99,99,99,99,99,99,98,98,98,98,97,97,97,97,97,97,96,96,96,96,96,
11200     96,96,96,96,95,95,95,95,95,95,95,95,94,94,94,94,94,94,93,93,93,
11201     93,93,93,93,93,92,92,92,92,92,92,91,91,91,91,91,91,91,91,90,90,
11202     90,90,90,89,89,89,89,89,89,88,88,88,88,88,88,87,87,86,86,86,86,
11203     86,86,85,85,85,85,85,85,85,85,84,84,84,83,83,83,83,83,83,83,83,
11204     83,83,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,80,
11205     80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,79,79,79,78,78,
11206     78,77,77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,75,75,75,75,
11207     74,74,74,74,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,
11208     72,72,72,71,71,71,71,71,70,70,70,70,70,70,70,70,69,69,69,69,68,
11209     68,68,68,68,68,68,67,67,67,67,66,66,66,66,66,66,66,66,65,65,65,
11210     65,65,65,65,65,64,64,64,64,64,64,64,64,64,64,63,63,63,63,63,63,
11211     62,62,62,62,62,62,62,62,61,61,61,61,61,60,59,59,59,59,58,58,58,
11212     58,58,58,58,58,58,57,57,57,57,57,57,57,56,56,56,56,56,56,56,56,
11213     56,56,56,55,55,55,55,55,55,55,54,54,54,54,54,53,53,53,53,53,52,
11214     52,52,52,52,52,52,52,51,51,51,51,51,51,51,51,50,50,50,50,50,50,
11215     50,50,50,50,50,49,49,49,49,49,49,49,48,48,48,48,48,47,47,47,47,
11216     47,47,47,47,47,46,46,45,45,44,44,44,44,44,44,44,44,44,44,44,44,
11217     43,43,43,43,43,43,43,43,43,43,42,42,42,42,42,41,41,41,41,41,41,
11218     41,41,41,40,40,40,40,39,39,39,39,39,38,38,38,38,38,38,38,38,38,
11219     38,38,38,37,37,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,
11220     36,35,35,35,35,35,35,35,35,34,34,34,34,34,33,33,33,33,33,33,33,
11221     33,33,33,32,32,32,32,32,32,32,32,32,31,31,31,30,30,30,30,30,30
11222   };
11223   const int n4c3w4_d[] = {
11224     150, // Capacity
11225     500, // Number of items
11226     // Size of items (sorted)
11227     100,99,99,99,99,99,98,98,98,98,98,98,97,97,97,97,97,97,97,97,
11228     96,96,96,96,96,96,96,95,95,95,95,95,94,94,94,94,94,94,94,94,94,
11229     93,93,93,93,92,92,92,92,92,92,92,92,92,92,91,91,91,91,91,91,91,
11230     90,90,90,90,89,89,89,89,89,88,88,88,88,88,88,88,88,87,87,87,87,
11231     87,87,86,86,86,86,86,86,85,85,85,84,84,84,84,84,84,84,84,84,84,
11232     84,84,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,82,82,81,81,
11233     81,81,81,81,81,81,81,81,81,80,80,80,80,80,80,80,80,80,79,79,79,
11234     79,78,78,78,78,78,77,77,77,77,77,77,76,76,76,76,76,76,76,76,76,
11235     76,75,75,75,75,75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,74,
11236     74,74,73,73,73,73,72,72,72,72,71,71,71,71,70,70,70,70,70,70,70,
11237     69,69,69,69,69,69,69,69,69,69,69,69,68,68,68,68,68,68,68,68,68,
11238     68,68,68,67,67,67,67,67,66,66,66,66,66,66,66,66,66,66,66,65,65,
11239     65,65,65,65,64,64,64,64,64,64,64,64,63,63,63,63,63,63,63,62,62,
11240     62,62,62,62,62,61,61,61,61,61,61,61,61,60,60,60,60,60,60,59,59,
11241     59,59,59,58,58,58,58,58,58,58,58,58,58,58,58,58,57,57,57,57,57,
11242     56,56,56,56,55,55,55,55,55,54,54,54,54,54,54,54,53,53,53,53,53,
11243     53,53,52,52,52,52,52,52,52,52,51,51,51,51,51,51,50,50,50,50,50,
11244     50,50,50,49,49,49,49,49,48,48,48,48,48,48,47,47,47,47,47,47,47,
11245     46,46,46,46,45,45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,
11246     44,44,43,43,43,43,43,43,43,43,42,42,42,41,41,41,41,41,41,41,40,
11247     40,40,40,40,40,40,40,39,39,39,39,39,39,38,38,38,38,38,38,38,37,
11248     37,37,37,37,37,36,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,
11249     35,35,34,34,34,34,34,34,34,34,34,33,33,33,33,33,33,32,32,32,32,
11250     32,32,32,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30
11251   };
11252   const int n4c3w4_e[] = {
11253     150, // Capacity
11254     500, // Number of items
11255     // Size of items (sorted)
11256     100,100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,98,98,
11257     98,98,98,98,98,97,97,97,97,97,97,97,97,96,96,96,96,96,95,95,95,
11258     95,95,95,94,94,94,94,94,94,94,94,94,94,94,93,93,93,92,92,92,92,
11259     92,92,92,92,92,92,92,92,92,91,91,91,91,91,91,91,91,91,90,90,90,
11260     90,90,89,89,88,88,88,88,88,88,87,87,87,87,87,87,87,86,86,86,86,
11261     86,85,85,85,85,85,85,85,84,84,83,83,83,83,83,83,83,83,82,82,82,
11262     82,82,82,82,82,82,82,81,81,81,81,81,81,80,80,80,80,80,80,80,80,
11263     80,80,80,79,79,79,79,79,79,78,78,78,78,78,78,78,77,77,76,76,76,
11264     76,76,76,76,76,76,75,75,75,75,75,75,75,75,75,75,75,74,74,74,74,
11265     74,74,74,74,74,74,73,73,73,73,73,73,73,73,73,72,72,72,72,72,72,
11266     72,71,71,71,71,71,71,71,70,70,70,70,70,70,70,70,70,70,69,69,69,
11267     68,68,68,67,67,67,67,67,67,67,67,67,66,66,66,66,65,65,65,65,65,
11268     65,65,64,64,64,64,64,64,64,63,63,63,63,63,63,63,63,63,62,62,62,
11269     62,62,62,61,61,61,61,61,61,61,61,61,61,60,60,60,60,60,60,59,59,
11270     59,59,59,59,58,58,58,58,58,58,58,58,57,57,57,57,57,57,57,57,57,
11271     56,56,56,56,56,56,55,55,55,55,55,55,54,54,54,54,54,54,54,54,54,
11272     54,54,53,53,53,53,53,52,52,52,52,52,51,51,51,51,51,51,51,51,51,
11273     50,50,50,50,50,50,50,50,50,50,49,49,49,49,49,48,48,48,48,48,48,
11274     48,48,47,47,47,47,47,47,47,46,46,46,46,46,46,46,46,46,46,46,45,
11275     45,45,45,45,45,45,45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,
11276     43,42,42,42,42,42,41,41,41,41,40,40,40,40,40,39,39,39,39,39,39,
11277     39,39,39,39,39,38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,36,
11278     36,36,36,35,35,35,35,35,35,35,35,35,35,34,34,34,34,34,34,34,34,
11279     33,33,33,33,33,32,32,32,32,32,32,31,31,31,31,31,30,30,30,30
11280   };
11281   const int n4c3w4_f[] = {
11282     150, // Capacity
11283     500, // Number of items
11284     // Size of items (sorted)
11285     100,100,99,99,99,99,98,98,98,98,98,98,98,97,97,97,97,97,97,97,
11286     97,96,96,96,96,96,96,96,95,95,95,95,95,95,95,95,95,95,94,94,94,
11287     94,94,94,94,94,94,94,94,94,94,94,94,94,94,93,93,93,93,92,92,92,
11288     92,92,92,92,92,92,92,92,91,91,91,91,91,91,91,91,90,90,90,90,90,
11289     89,89,89,89,89,89,89,89,89,89,89,89,88,88,88,88,88,88,87,87,87,
11290     87,87,87,87,86,86,86,86,86,86,86,85,85,85,85,85,85,85,84,84,84,
11291     84,84,84,84,84,83,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,
11292     82,82,82,82,82,82,82,81,81,81,81,81,81,81,81,80,80,80,80,80,79,
11293     79,79,79,79,79,79,79,78,78,78,78,78,78,78,78,78,77,77,77,77,77,
11294     77,76,76,76,76,76,75,75,75,75,75,75,74,74,74,74,74,74,74,74,74,
11295     73,73,73,73,73,73,73,73,73,72,72,72,72,72,72,72,72,71,71,71,71,
11296     71,71,70,70,70,69,69,69,69,69,69,69,69,68,68,68,68,68,68,68,68,
11297     67,67,67,66,66,66,66,66,65,65,65,65,65,64,64,63,63,63,63,63,63,
11298     63,63,62,62,62,62,62,61,61,61,61,61,61,61,61,61,60,60,60,60,60,
11299     60,60,59,59,59,59,59,59,58,58,58,58,57,57,57,57,57,57,56,56,56,
11300     56,56,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,54,54,54,
11301     53,53,53,53,53,52,52,52,52,52,52,50,50,50,50,50,50,50,50,50,50,
11302     50,49,49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,47,47,47,47,
11303     47,47,46,46,46,45,45,45,45,45,44,44,44,44,44,44,44,44,43,43,43,
11304     43,43,43,42,42,42,42,42,42,42,41,41,41,41,41,41,41,41,41,41,40,
11305     40,40,40,40,40,40,38,38,38,38,38,38,38,38,37,37,37,37,37,37,37,
11306     37,36,36,36,36,36,36,36,35,35,35,35,35,35,35,35,35,35,35,35,34,
11307     34,34,34,34,34,34,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,
11308     31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30,30
11309   };
11310   const int n4c3w4_g[] = {
11311     150, // Capacity
11312     500, // Number of items
11313     // Size of items (sorted)
11314     100,100,100,100,100,100,100,100,100,100,100,99,99,99,99,99,98,
11315     98,98,98,98,97,97,97,97,97,97,97,96,96,96,96,96,96,96,95,95,95,
11316     95,95,94,94,94,94,94,93,93,93,93,93,93,93,93,93,93,93,93,92,92,
11317     92,92,92,92,92,92,92,92,92,92,91,91,91,91,91,91,90,90,90,90,89,
11318     89,89,89,89,89,89,88,88,88,88,88,88,87,87,87,87,87,86,86,86,86,
11319     86,86,86,86,86,86,86,85,85,85,85,85,85,85,84,84,84,84,84,84,84,
11320     84,84,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,
11321     81,81,81,81,81,81,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,
11322     79,79,78,78,77,77,77,77,77,77,76,76,76,75,75,75,75,75,75,75,75,
11323     75,74,74,74,74,74,74,74,74,74,74,74,74,73,73,73,73,73,72,72,72,
11324     72,72,72,72,72,72,72,71,71,71,71,71,71,71,70,70,70,70,70,70,70,
11325     69,69,69,69,69,69,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,
11326     67,67,67,67,67,67,67,67,67,66,66,66,66,66,66,66,66,66,66,66,66,
11327     66,66,65,65,65,65,65,65,65,64,64,64,63,63,63,63,63,63,63,62,62,
11328     62,62,62,61,61,61,61,61,60,60,60,60,60,60,60,60,60,60,60,60,59,
11329     59,59,59,59,59,59,59,59,59,58,58,58,58,58,58,58,57,57,57,57,57,
11330     57,56,56,56,56,56,56,56,56,55,55,55,55,55,55,55,55,54,54,54,54,
11331     54,54,54,54,53,53,53,53,53,52,52,52,52,52,51,51,51,51,51,51,50,
11332     50,50,49,49,49,49,49,49,49,48,48,48,48,47,47,47,47,47,47,46,46,
11333     46,46,46,46,46,46,46,45,45,45,45,45,45,44,44,44,44,43,43,43,43,
11334     43,42,42,42,42,42,42,42,41,41,41,41,41,40,40,40,40,39,39,39,39,
11335     39,39,39,39,38,38,38,38,38,38,38,38,38,37,37,37,37,36,36,36,36,
11336     36,36,36,36,36,35,35,35,35,34,34,34,34,33,33,33,33,33,33,33,33,
11337     32,32,32,32,32,32,32,31,31,31,31,31,31,31,31,31,30,30,30,30,30
11338   };
11339   const int n4c3w4_h[] = {
11340     150, // Capacity
11341     500, // Number of items
11342     // Size of items (sorted)
11343     100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,98,98,98,
11344     98,98,98,98,98,97,97,97,97,96,96,96,96,96,96,96,96,96,96,96,96,
11345     95,95,95,95,95,95,94,94,94,94,94,94,94,94,93,93,93,93,93,93,93,
11346     93,92,92,92,92,92,91,91,91,91,91,91,91,91,91,91,90,90,90,90,89,
11347     89,88,88,88,88,88,88,88,88,88,87,87,87,87,87,87,87,87,87,87,87,
11348     86,86,86,86,86,86,85,85,85,85,85,85,85,84,84,84,84,83,83,83,83,
11349     83,83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,82,82,81,81,81,
11350     81,81,81,81,81,80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,79,
11351     79,79,79,78,78,78,78,78,78,78,77,77,77,76,76,76,76,76,76,76,75,
11352     75,75,75,75,74,74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,
11353     72,71,71,71,71,71,70,70,70,70,70,70,70,70,70,69,69,69,69,69,69,
11354     69,68,68,68,68,68,68,68,68,68,68,67,67,67,67,67,67,66,66,66,66,
11355     66,66,66,65,65,65,65,65,65,65,65,64,64,64,64,64,64,63,63,63,63,
11356     63,63,63,62,62,62,62,62,61,61,61,61,61,61,60,60,60,60,60,60,60,
11357     60,59,59,59,59,59,59,59,58,58,58,58,58,58,58,58,58,58,57,57,57,
11358     57,57,57,57,57,57,56,56,56,56,56,56,55,55,55,55,55,55,55,55,54,
11359     54,54,54,54,54,54,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,
11360     52,51,51,51,51,51,51,51,51,50,50,50,49,49,49,49,49,49,49,49,49,
11361     49,49,48,48,48,48,47,47,46,46,46,46,46,45,45,45,45,45,45,45,44,
11362     44,44,44,44,44,43,43,43,43,43,43,42,42,42,42,42,42,42,41,41,41,
11363     41,41,41,40,40,40,40,40,40,39,39,39,39,39,39,39,38,38,38,38,38,
11364     38,38,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,35,35,35,35,
11365     35,35,34,34,34,34,34,34,33,33,33,33,33,32,32,32,32,32,32,31,31,
11366     31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30
11367   };
11368   const int n4c3w4_i[] = {
11369     150, // Capacity
11370     500, // Number of items
11371     // Size of items (sorted)
11372     100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,99,
11373     99,99,99,98,98,98,98,98,98,97,97,97,97,97,97,97,97,97,96,96,96,
11374     96,96,96,96,96,96,95,95,95,95,95,95,95,95,95,94,94,94,94,94,94,
11375     94,94,94,94,94,94,93,93,93,93,93,93,92,92,92,92,92,92,92,92,92,
11376     91,91,91,91,91,91,91,91,90,90,90,90,90,89,89,89,89,89,89,89,88,
11377     88,88,88,88,88,88,87,87,87,87,87,87,87,87,86,86,86,86,86,85,85,
11378     85,85,85,85,85,84,84,84,84,84,84,84,84,84,84,83,83,83,83,83,83,
11379     83,83,83,83,83,83,83,82,82,82,82,82,82,82,82,81,81,81,81,80,80,
11380     80,80,80,80,80,80,80,80,79,79,79,79,79,79,79,78,78,78,78,78,77,
11381     77,77,77,76,76,76,76,76,75,75,75,75,74,74,74,74,74,73,73,73,73,
11382     73,73,73,73,72,72,72,72,72,72,72,71,71,71,71,71,71,71,71,70,70,
11383     70,70,70,70,70,70,70,70,69,69,69,69,69,69,69,68,68,68,68,68,68,
11384     67,67,67,67,67,67,67,67,66,66,66,66,66,66,66,65,65,65,64,64,64,
11385     64,64,63,63,63,63,63,63,63,63,62,62,62,62,62,62,61,61,61,61,61,
11386     61,61,61,61,61,60,60,60,60,60,60,60,60,59,59,59,58,58,58,58,58,
11387     57,57,57,57,56,56,56,56,56,55,55,55,55,55,55,55,55,55,54,54,54,
11388     54,54,54,54,54,54,54,54,54,53,53,53,53,53,53,53,52,52,52,52,52,
11389     52,52,52,52,52,52,52,52,51,51,51,51,50,50,50,50,50,49,49,49,49,
11390     49,49,49,49,48,48,48,48,48,48,48,48,47,47,47,47,47,47,47,47,46,
11391     46,46,46,45,45,45,45,45,45,44,44,44,43,43,43,43,43,42,42,42,42,
11392     42,41,41,41,41,41,41,40,40,39,39,39,39,39,39,39,39,39,39,38,38,
11393     38,38,38,38,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,35,
11394     35,35,34,34,34,34,34,34,34,33,33,33,33,33,33,33,33,33,32,32,32,
11395     32,32,32,32,32,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30
11396   };
11397   const int n4c3w4_j[] = {
11398     150, // Capacity
11399     500, // Number of items
11400     // Size of items (sorted)
11401     100,100,100,100,100,100,99,99,99,98,98,98,98,98,98,98,98,97,97,
11402     97,97,97,97,97,97,97,96,96,96,96,95,95,95,95,95,94,94,94,94,94,
11403     93,93,93,93,92,92,92,92,92,92,92,92,91,91,91,90,90,90,90,90,90,
11404     90,90,90,89,89,89,89,89,89,89,89,89,89,89,89,88,88,88,88,88,87,
11405     87,87,87,87,87,86,86,86,86,86,86,85,85,85,85,85,84,84,84,84,84,
11406     84,83,83,83,83,82,82,82,82,82,81,81,81,81,81,80,80,80,80,80,80,
11407     80,79,79,79,79,79,79,78,78,78,78,78,78,78,77,77,77,77,77,77,77,
11408     77,77,76,76,76,76,76,76,76,75,75,75,75,75,75,75,74,74,74,74,74,
11409     74,74,74,74,73,73,73,73,73,73,73,72,72,72,72,72,72,72,72,72,71,
11410     71,71,71,71,71,71,71,71,71,71,70,70,70,70,70,70,69,69,69,69,69,
11411     69,69,69,69,69,69,68,68,68,68,67,67,67,67,67,67,66,66,66,66,66,
11412     66,66,66,66,66,65,65,65,65,65,65,65,65,64,64,64,64,64,63,63,63,
11413     63,63,63,63,63,63,63,63,62,62,62,62,62,62,62,62,62,61,61,61,61,
11414     60,60,60,60,60,59,59,59,59,59,59,59,59,58,58,58,58,58,57,57,57,
11415     57,57,57,57,57,56,56,56,56,56,56,56,56,56,55,55,55,54,54,54,54,
11416     54,53,53,53,53,53,53,53,53,52,52,52,52,52,52,52,52,52,52,51,51,
11417     51,51,51,51,51,51,51,50,50,50,50,50,50,50,50,50,50,50,49,49,49,
11418     49,49,49,49,49,49,49,49,49,48,48,48,48,48,48,48,48,48,47,47,47,
11419     47,47,47,47,47,46,46,46,46,46,45,45,45,45,45,45,45,44,44,44,44,
11420     44,44,44,44,44,43,43,43,43,43,42,42,42,42,42,41,41,41,40,40,40,
11421     40,40,40,40,40,40,40,40,40,39,39,39,39,39,39,39,39,39,38,38,38,
11422     38,38,38,38,38,38,38,37,37,37,37,37,37,37,37,37,37,36,36,36,36,
11423     35,35,35,35,35,35,35,35,35,35,34,34,34,34,34,33,33,33,33,33,33,
11424     32,32,32,32,32,32,32,31,31,31,31,30,30,30,30,30,30,30,30
11425   };
11426   const int n4c3w4_k[] = {
11427     150, // Capacity
11428     500, // Number of items
11429     // Size of items (sorted)
11430     100,100,100,100,100,100,100,100,99,99,99,99,99,99,99,99,99,99,
11431     98,97,97,97,97,97,97,97,97,96,96,96,96,96,96,96,96,96,96,96,95,
11432     95,95,95,95,95,94,94,94,94,94,94,94,94,93,93,93,93,92,92,92,92,
11433     92,92,92,92,92,91,90,90,90,89,89,88,88,88,88,88,88,88,88,88,88,
11434     88,87,87,87,86,86,86,86,86,86,86,85,85,85,85,85,85,85,85,85,85,
11435     84,84,84,84,84,84,83,83,83,83,83,82,82,82,81,81,81,81,81,81,80,