Problem p02720 (C++) — buggy submission, verdict: Runtime Error

#include <bits/stdc++.h>
using namespace std;
#define QOEINDIEDIS freesteed
#define rep(i, a, n) for (int i = a; i < n; i++)
#define pb push_back
#define fill(x, c) memset(x, c, sizeof(x))
#define fi first
#define se second
#define sz(A) (int)(A.size())
#define all(x) (x).begin(), (x).end()
#define caset                                                                  \\
  int ___T;                                                                    \\
  cin >> ___T;                                                                 \\
  for (int cs = 1; cs <= ___T; cs++)
#define get(c, x) (lower_bound(c.begin(), c.end(), x) - c.begin())
typedef long long ll;
typedef pair<int, int> PII;
typedef vector<int> VI;
const ll mod = 1e9 + 7;
const int Max = 1e6 + 10;
ll powmod(ll a, ll b) {
  ll res = 1;
  a %= mod;
  assert(b >= 0);
  for (; b; b >>= 1) {
    if (b & 1)
      res = res * a % mod;
    a = a * a % mod;
  }
  return res;
}

void solve() {
  int n;
  cin >> n;
  queue<string> q;
  rep(i, 1, 10) { q.push(to_string(i)); }
  int cnt = 0;
  while (1) {
    int m = q.size();
    for (int i = 0; i < m; i++) {
      string s = q.front();
      q.pop();
      if (++cnt == n) {
        cout << s;
        return;
      }
      if (s.back() == '0')
        q.push(s + '0'), q.push(s + '1');
      else if (s.back() == '9')
        q.push(s + '8'), q.push(s + '9');
      else
        q.push(s + (char)(s.back() - 1)), q.push(s + s.back()),
            q.push(s + (char)(s.back() + 1));
    }
  }
}
int main() {
  ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  // caset{
  solve();
  //}
  return 0;
}


Error: WA

Fixed submission:

#include <bits/stdc++.h>
using namespace std;
#define QOEINDIEDIS freesteed
#define rep(i, a, n) for (int i = a; i < n; i++)
#define pb push_back
#define fill(x, c) memset(x, c, sizeof(x))
#define fi first
#define se second
#define sz(A) (int)(A.size())
#define all(x) (x).begin(), (x).end()
#define caset                                                                  \\
  int ___T;                                                                    \\
  cin >> ___T;                                                                 \\
  for (int cs = 1; cs <= ___T; cs++)
#define get(c, x) (lower_bound(c.begin(), c.end(), x) - c.begin())
typedef long long ll;
typedef pair<int, int> PII;
typedef vector<int> VI;
const ll mod = 1e9 + 7;
const int Max = 1e6 + 10;
ll powmod(ll a, ll b) {
  ll res = 1;
  a %= mod;
  assert(b >= 0);
  for (; b; b >>= 1) {
    if (b & 1)
      res = res * a % mod;
    a = a * a % mod;
  }
  return res;
}
VI a = {
    1,         2,         3,         4,         5,         6,         7,
    8,         9,         10,        11,        12,        21,        22,
    23,        32,        33,        34,        43,        44,        45,
    54,        55,        56,        65,        66,        67,        76,
    77,        78,        87,        88,        89,        98,        99,
    100,       101,       110,       111,       112,       121,       122,
    123,       210,       211,       212,       221,       222,       223,
    232,       233,       234,       321,       322,       323,       332,
    333,       334,       343,       344,       345,       432,       433,
    434,       443,       444,       445,       454,       455,       456,
    543,       544,       545,       554,       555,       556,       565,
    566,       567,       654,       655,       656,       665,       666,
    667,       676,       677,       678,       765,       766,       767,
    776,       777,       778,       787,       788,       789,       876,
    877,       878,       887,       888,       889,       898,       899,
    987,       988,       989,       998,       999,       1000,      1001,
    1010,      1011,      1012,      1100,      1101,      1110,      1111,
    1112,      1121,      1122,      1123,      1210,      1211,      1212,
    1221,      1222,      1223,      1232,      1233,      1234,      2100,
    2101,      2110,      2111,      2112,      2121,      2122,      2123,
    2210,      2211,      2212,      2221,      2222,      2223,      2232,
    2233,      2234,      2321,      2322,      2323,      2332,      2333,
    2334,      2343,      2344,      2345,      3210,      3211,      3212,
    3221,      3222,      3223,      3232,      3233,      3234,      3321,
    3322,      3323,      3332,      3333,      3334,      3343,      3344,
    3345,      3432,      3433,      3434,      3443,      3444,      3445,
    3454,      3455,      3456,      4321,      4322,      4323,      4332,
    4333,      4334,      4343,      4344,      4345,      4432,      4433,
    4434,      4443,      4444,      4445,      4454,      4455,      4456,
    4543,      4544,      4545,      4554,      4555,      4556,      4565,
    4566,      4567,      5432,      5433,      5434,      5443,      5444,
    5445,      5454,      5455,      5456,      5543,      5544,      5545,
    5554,      5555,      5556,      5565,      5566,      5567,      5654,
    5655,      5656,      5665,      5666,      5667,      5676,      5677,
    5678,      6543,      6544,      6545,      6554,      6555,      6556,
    6565,      6566,      6567,      6654,      6655,      6656,      6665,
    6666,      6667,      6676,      6677,      6678,      6765,      6766,
    6767,      6776,      6777,      6778,      6787,      6788,      6789,
    7654,      7655,      7656,      7665,      7666,      7667,      7676,
    7677,      7678,      7765,      7766,      7767,      7776,      7777,
    7778,      7787,      7788,      7789,      7876,      7877,      7878,
    7887,      7888,      7889,      7898,      7899,      8765,      8766,
    8767,      8776,      8777,      8778,      8787,      8788,      8789,
    8876,      8877,      8878,      8887,      8888,      8889,      8898,
    8899,      8987,      8988,      8989,      8998,      8999,      9876,
    9877,      9878,      9887,      9888,      9889,      9898,      9899,
    9987,      9988,      9989,      9998,      9999,      10000,     10001,
    10010,     10011,     10012,     10100,     10101,     10110,     10111,
    10112,     10121,     10122,     10123,     11000,     11001,     11010,
    11011,     11012,     11100,     11101,     11110,     11111,     11112,
    11121,     11122,     11123,     11210,     11211,     11212,     11221,
    11222,     11223,     11232,     11233,     11234,     12100,     12101,
    12110,     12111,     12112,     12121,     12122,     12123,     12210,
    12211,     12212,     12221,     12222,     12223,     12232,     12233,
    12234,     12321,     12322,     12323,     12332,     12333,     12334,
    12343,     12344,     12345,     21000,     21001,     21010,     21011,
    21012,     21100,     21101,     21110,     21111,     21112,     21121,
    21122,     21123,     21210,     21211,     21212,     21221,     21222,
    21223,     21232,     21233,     21234,     22100,     22101,     22110,
    22111,     22112,     22121,     22122,     22123,     22210,     22211,
    22212,     22221,     22222,     22223,     22232,     22233,     22234,
    22321,     22322,     22323,     22332,     22333,     22334,     22343,
    22344,     22345,     23210,     23211,     23212,     23221,     23222,
    23223,     23232,     23233,     23234,     23321,     23322,     23323,
    23332,     23333,     23334,     23343,     23344,     23345,     23432,
    23433,     23434,     23443,     23444,     23445,     23454,     23455,
    23456,     32100,     32101,     32110,     32111,     32112,     32121,
    32122,     32123,     32210,     32211,     32212,     32221,     32222,
    32223,     32232,     32233,     32234,     32321,     32322,     32323,
    32332,     32333,     32334,     32343,     32344,     32345,     33210,
    33211,     33212,     33221,     33222,     33223,     33232,     33233,
    33234,     33321,     33322,     33323,     33332,     33333,     33334,
    33343,     33344,     33345,     33432,     33433,     33434,     33443,
    33444,     33445,     33454,     33455,     33456,     34321,     34322,
    34323,     34332,     34333,     34334,     34343,     34344,     34345,
    34432,     34433,     34434,     34443,     34444,     34445,     34454,
    34455,     34456,     34543,     34544,     34545,     34554,     34555,
    34556,     34565,     34566,     34567,     43210,     43211,     43212,
    43221,     43222,     43223,     43232,     43233,     43234,     43321,
    43322,     43323,     43332,     43333,     43334,     43343,     43344,
    43345,     43432,     43433,     43434,     43443,     43444,     43445,
    43454,     43455,     43456,     44321,     44322,     44323,     44332,
    44333,     44334,     44343,     44344,     44345,     44432,     44433,
    44434,     44443,     44444,     44445,     44454,     44455,     44456,
    44543,     44544,     44545,     44554,     44555,     44556,     44565,
    44566,     44567,     45432,     45433,     45434,     45443,     45444,
    45445,     45454,     45455,     45456,     45543,     45544,     45545,
    45554,     45555,     45556,     45565,     45566,     45567,     45654,
    45655,     45656,     45665,     45666,     45667,     45676,     45677,
    45678,     54321,     54322,     54323,     54332,     54333,     54334,
    54343,     54344,     54345,     54432,     54433,     54434,     54443,
    54444,     54445,     54454,     54455,     54456,     54543,     54544,
    54545,     54554,     54555,     54556,     54565,     54566,     54567,
    55432,     55433,     55434,     55443,     55444,     55445,     55454,
    55455,     55456,     55543,     55544,     55545,     55554,     55555,
    55556,     55565,     55566,     55567,     55654,     55655,     55656,
    55665,     55666,     55667,     55676,     55677,     55678,     56543,
    56544,     56545,     56554,     56555,     56556,     56565,     56566,
    56567,     56654,     56655,     56656,     56665,     56666,     56667,
    56676,     56677,     56678,     56765,     56766,     56767,     56776,
    56777,     56778,     56787,     56788,     56789,     65432,     65433,
    65434,     65443,     65444,     65445,     65454,     65455,     65456,
    65543,     65544,     65545,     65554,     65555,     65556,     65565,
    65566,     65567,     65654,     65655,     65656,     65665,     65666,
    65667,     65676,     65677,     65678,     66543,     66544,     66545,
    66554,     66555,     66556,     66565,     66566,     66567,     66654,
    66655,     66656,     66665,     66666,     66667,     66676,     66677,
    66678,     66765,     66766,     66767,     66776,     66777,     66778,
    66787,     66788,     66789,     67654,     67655,     67656,     67665,
    67666,     67667,     67676,     67677,     67678,     67765,     67766,
    67767,     67776,     67777,     67778,     67787,     67788,     67789,
    67876,     67877,     67878,     67887,     67888,     67889,     67898,
    67899,     76543,     76544,     76545,     76554,     76555,     76556,
    76565,     76566,     76567,     76654,     76655,     76656,     76665,
    76666,     76667,     76676,     76677,     76678,     76765,     76766,
    76767,     76776,     76777,     76778,     76787,     76788,     76789,
    77654,     77655,     77656,     77665,     77666,     77667,     77676,
    77677,     77678,     77765,     77766,     77767,     77776,     77777,
    77778,     77787,     77788,     77789,     77876,     77877,     77878,
    77887,     77888,     77889,     77898,     77899,     78765,     78766,
    78767,     78776,     78777,     78778,     78787,     78788,     78789,
    78876,     78877,     78878,     78887,     78888,     78889,     78898,
    78899,     78987,     78988,     78989,     78998,     78999,     87654,
    87655,     87656,     87665,     87666,     87667,     87676,     87677,
    87678,     87765,     87766,     87767,     87776,     87777,     87778,
    87787,     87788,     87789,     87876,     87877,     87878,     87887,
    87888,     87889,     87898,     87899,     88765,     88766,     88767,
    88776,     88777,     88778,     88787,     88788,     88789,     88876,
    88877,     88878,     88887,     88888,     88889,     88898,     88899,
    88987,     88988,     88989,     88998,     88999,     89876,     89877,
    89878,     89887,     89888,     89889,     89898,     89899,     89987,
    89988,     89989,     89998,     89999,     98765,     98766,     98767,
    98776,     98777,     98778,     98787,     98788,     98789,     98876,
    98877,     98878,     98887,     98888,     98889,     98898,     98899,
    98987,     98988,     98989,     98998,     98999,     99876,     99877,
    99878,     99887,     99888,     99889,     99898,     99899,     99987,
    99988,     99989,     99998,     99999,     100000,    100001,    100010,
    100011,    100012,    100100,    100101,    100110,    100111,    100112,
    100121,    100122,    100123,    101000,    101001,    101010,    101011,
    101012,    101100,    101101,    101110,    101111,    101112,    101121,
    101122,    101123,    101210,    101211,    101212,    101221,    101222,
    101223,    101232,    101233,    101234,    110000,    110001,    110010,
    110011,    110012,    110100,    110101,    110110,    110111,    110112,
    110121,    110122,    110123,    111000,    111001,    111010,    111011,
    111012,    111100,    111101,    111110,    111111,    111112,    111121,
    111122,    111123,    111210,    111211,    111212,    111221,    111222,
    111223,    111232,    111233,    111234,    112100,    112101,    112110,
    112111,    112112,    112121,    112122,    112123,    112210,    112211,
    112212,    112221,    112222,    112223,    112232,    112233,    112234,
    112321,    112322,    112323,    112332,    112333,    112334,    112343,
    112344,    112345,    121000,    121001,    121010,    121011,    121012,
    121100,    121101,    121110,    121111,    121112,    121121,    121122,
    121123,    121210,    121211,    121212,    121221,    121222,    121223,
    121232,    121233,    121234,    122100,    122101,    122110,    122111,
    122112,    122121,    122122,    122123,    122210,    122211,    122212,
    122221,    122222,    122223,    122232,    122233,    122234,    122321,
    122322,    122323,    122332,    122333,    122334,    122343,    122344,
    122345,    123210,    123211,    123212,    123221,    123222,    123223,
    123232,    123233,    123234,    123321,    123322,    123323,    123332,
    123333,    123334,    123343,    123344,    123345,    123432,    123433,
    123434,    123443,    123444,    123445,    123454,    123455,    123456,
    210000,    210001,    210010,    210011,    210012,    210100,    210101,
    210110,    210111,    210112,    210121,    210122,    210123,    211000,
    211001,    211010,    211011,    211012,    211100,    211101,    211110,
    211111,    211112,    211121,    211122,    211123,    211210,    211211,
    211212,    211221,    211222,    211223,    211232,    211233,    211234,
    212100,    212101,    212110,    212111,    212112,    212121,    212122,
    212123,    212210,    212211,    212212,    212221,    212222,    212223,
    212232,    212233,    212234,    212321,    212322,    212323,    212332,
    212333,    212334,    212343,    212344,    212345,    221000,    221001,
    221010,    221011,    221012,    221100,    221101,    221110,    221111,
    221112,    221121,    221122,    221123,    221210,    221211,    221212,
    221221,    221222,    221223,    221232,    221233,    221234,    222100,
    222101,    222110,    222111,    222112,    222121,    222122,    222123,
    222210,    222211,    222212,    222221,    222222,    222223,    222232,
    222233,    222234,    222321,    222322,    222323,    222332,    222333,
    222334,    222343,    222344,    222345,    223210,    223211,    223212,
    223221,    223222,    223223,    223232,    223233,    223234,    223321,
    223322,    223323,    223332,    223333,    223334,    223343,    223344,
    223345,    223432,    223433,    223434,    223443,    223444,    223445,
    223454,    223455,    223456,    232100,    232101,    232110,    232111,
    232112,    232121,    232122,    232123,    232210,    232211,    232212,
    232221,    232222,    232223,    232232,    232233,    232234,    232321,
    232322,    232323,    232332,    232333,    232334,    232343,    232344,
    232345,    233210,    233211,    233212,    233221,    233222,    233223,
    233232,    233233,    233234,    233321,    233322,    233323,    233332,
    233333,    233334,    233343,    233344,    233345,    233432,    233433,
    233434,    233443,    233444,    233445,    233454,    233455,    233456,
    234321,    234322,    234323,    234332,    234333,    234334,    234343,
    234344,    234345,    234432,    234433,    234434,    234443,    234444,
    234445,    234454,    234455,    234456,    234543,    234544,    234545,
    234554,    234555,    234556,    234565,    234566,    234567,    321000,
    321001,    321010,    321011,    321012,    321100,    321101,    321110,
    321111,    321112,    321121,    321122,    321123,    321210,    321211,
    321212,    321221,    321222,    321223,    321232,    321233,    321234,
    322100,    322101,    322110,    322111,    322112,    322121,    322122,
    322123,    322210,    322211,    322212,    322221,    322222,    322223,
    322232,    322233,    322234,    322321,    322322,    322323,    322332,
    322333,    322334,    322343,    322344,    322345,    323210,    323211,
    323212,    323221,    323222,    323223,    323232,    323233,    323234,
    323321,    323322,    323323,    323332,    323333,    323334,    323343,
    323344,    323345,    323432,    323433,    323434,    323443,    323444,
    323445,    323454,    323455,    323456,    332100,    332101,    332110,
    332111,    332112,    332121,    332122,    332123,    332210,    332211,
    332212,    332221,    332222,    332223,    332232,    332233,    332234,
    332321,    332322,    332323,    332332,    332333,    332334,    332343,
    332344,    332345,    333210,    333211,    333212,    333221,    333222,
    333223,    333232,    333233,    333234,    333321,    333322,    333323,
    333332,    333333,    333334,    333343,    333344,    333345,    333432,
    333433,    333434,    333443,    333444,    333445,    333454,    333455,
    333456,    334321,    334322,    334323,    334332,    334333,    334334,
    334343,    334344,    334345,    334432,    334433,    334434,    334443,
    334444,    334445,    334454,    334455,    334456,    334543,    334544,
    334545,    334554,    334555,    334556,    334565,    334566,    334567,
    343210,    343211,    343212,    343221,    343222,    343223,    343232,
    343233,    343234,    343321,    343322,    343323,    343332,    343333,
    343334,    343343,    343344,    343345,    343432,    343433,    343434,
    343443,    343444,    343445,    343454,    343455,    343456,    344321,
    344322,    344323,    344332,    344333,    344334,    344343,    344344,
    344345,    344432,    344433,    344434,    344443,    344444,    344445,
    344454,    344455,    344456,    344543,    344544,    344545,    344554,
    344555,    344556,    344565,    344566,    344567,    345432,    345433,
    345434,    345443,    345444,    345445,    345454,    345455,    345456,
    345543,    345544,    345545,    345554,    345555,    345556,    345565,
    345566,    345567,    345654,    345655,    345656,    345665,    345666,
    345667,    345676,    345677,    345678,    432100,    432101,    432110,
    432111,    432112,    432121,    432122,    432123,    432210,    432211,
    432212,    432221,    432222,    432223,    432232,    432233,    432234,
    432321,    432322,    432323,    432332,    432333,    432334,    432343,
    432344,    432345,    433210,    433211,    433212,    433221,    433222,
    433223,    433232,    433233,    433234,    433321,    433322,    433323,
    433332,    433333,    433334,    433343,    433344,    433345,    433432,
    433433,    433434,    433443,    433444,    433445,    433454,    433455,
    433456,    434321,    434322,    434323,    434332,    434333,    434334,
    434343,    434344,    434345,    434432,    434433,    434434,    434443,
    434444,    434445,    434454,    434455,    434456,    434543,    434544,
    434545,    434554,    434555,    434556,    434565,    434566,    434567,
    443210,    443211,    443212,    443221,    443222,    443223,    443232,
    443233,    443234,    443321,    443322,    443323,    443332,    443333,
    443334,    443343,    443344,    443345,    443432,    443433,    443434,
    443443,    443444,    443445,    443454,    443455,    443456,    444321,
    444322,    444323,    444332,    444333,    444334,    444343,    444344,
    444345,    444432,    444433,    444434,    444443,    444444,    444445,
    444454,    444455,    444456,    444543,    444544,    444545,    444554,
    444555,    444556,    444565,    444566,    444567,    445432,    445433,
    445434,    445443,    445444,    445445,    445454,    445455,    445456,
    445543,    445544,    445545,    445554,    445555,    445556,    445565,
    445566,    445567,    445654,    445655,    445656,    445665,    445666,
    445667,    445676,    445677,    445678,    454321,    454322,    454323,
    454332,    454333,    454334,    454343,    454344,    454345,    454432,
    454433,    454434,    454443,    454444,    454445,    454454,    454455,
    454456,    454543,    454544,    454545,    454554,    454555,    454556,
    454565,    454566,    454567,    455432,    455433,    455434,    455443,
    455444,    455445,    455454,    455455,    455456,    455543,    455544,
    455545,    455554,    455555,    455556,    455565,    455566,    455567,
    455654,    455655,    455656,    455665,    455666,    455667,    455676,
    455677,    455678,    456543,    456544,    456545,    456554,    456555,
    456556,    456565,    456566,    456567,    456654,    456655,    456656,
    456665,    456666,    456667,    456676,    456677,    456678,    456765,
    456766,    456767,    456776,    456777,    456778,    456787,    456788,
    456789,    543210,    543211,    543212,    543221,    543222,    543223,
    543232,    543233,    543234,    543321,    543322,    543323,    543332,
    543333,    543334,    543343,    543344,    543345,    543432,    543433,
    543434,    543443,    543444,    543445,    543454,    543455,    543456,
    544321,    544322,    544323,    544332,    544333,    544334,    544343,
    544344,    544345,    544432,    544433,    544434,    544443,    544444,
    544445,    544454,    544455,    544456,    544543,    544544,    544545,
    544554,    544555,    544556,    544565,    544566,    544567,    545432,
    545433,    545434,    545443,    545444,    545445,    545454,    545455,
    545456,    545543,    545544,    545545,    545554,    545555,    545556,
    545565,    545566,    545567,    545654,    545655,    545656,    545665,
    545666,    545667,    545676,    545677,    545678,    554321,    554322,
    554323,    554332,    554333,    554334,    554343,    554344,    554345,
    554432,    554433,    554434,    554443,    554444,    554445,    554454,
    554455,    554456,    554543,    554544,    554545,    554554,    554555,
    554556,    554565,    554566,    554567,    555432,    555433,    555434,
    555443,    555444,    555445,    555454,    555455,    555456,    555543,
    555544,    555545,    555554,    555555,    555556,    555565,    555566,
    555567,    555654,    555655,    555656,    555665,    555666,    555667,
    555676,    555677,    555678,    556543,    556544,    556545,    556554,
    556555,    556556,    556565,    556566,    556567,    556654,    556655,
    556656,    556665,    556666,    556667,    556676,    556677,    556678,
    556765,    556766,    556767,    556776,    556777,    556778,    556787,
    556788,    556789,    565432,    565433,    565434,    565443,    565444,
    565445,    565454,    565455,    565456,    565543,    565544,    565545,
    565554,    565555,    565556,    565565,    565566,    565567,    565654,
    565655,    565656,    565665,    565666,    565667,    565676,    565677,
    565678,    566543,    566544,    566545,    566554,    566555,    566556,
    566565,    566566,    566567,    566654,    566655,    566656,    566665,
    566666,    566667,    566676,    566677,    566678,    566765,    566766,
    566767,    566776,    566777,    566778,    566787,    566788,    566789,
    567654,    567655,    567656,    567665,    567666,    567667,    567676,
    567677,    567678,    567765,    567766,    567767,    567776,    567777,
    567778,    567787,    567788,    567789,    567876,    567877,    567878,
    567887,    567888,    567889,    567898,    567899,    654321,    654322,
    654323,    654332,    654333,    654334,    654343,    654344,    654345,
    654432,    654433,    654434,    654443,    654444,    654445,    654454,
    654455,    654456,    654543,    654544,    654545,    654554,    654555,
    654556,    654565,    654566,    654567,    655432,    655433,    655434,
    655443,    655444,    655445,    655454,    655455,    655456,    655543,
    655544,    655545,    655554,    655555,    655556,    655565,    655566,
    655567,    655654,    655655,    655656,    655665,    655666,    655667,
    655676,    655677,    655678,    656543,    656544,    656545,    656554,
    656555,    656556,    656565,    656566,    656567,    656654,    656655,
    656656,    656665,    656666,    656667,    656676,    656677,    656678,
    656765,    656766,    656767,    656776,    656777,    656778,    656787,
    656788,    656789,    665432,    665433,    665434,    665443,    665444,
    665445,    665454,    665455,    665456,    665543,    665544,    665545,
    665554,    665555,    665556,    665565,    665566,    665567,    665654,
    665655,    665656,    665665,    665666,    665667,    665676,    665677,
    665678,    666543,    666544,    666545,    666554,    666555,    666556,
    666565,    666566,    666567,    666654,    666655,    666656,    666665,
    666666,    666667,    666676,    666677,    666678,    666765,    666766,
    666767,    666776,    666777,    666778,    666787,    666788,    666789,
    667654,    667655,    667656,    667665,    667666,    667667,    667676,
    667677,    667678,    667765,    667766,    667767,    667776,    667777,
    667778,    667787,    667788,    667789,    667876,    667877,    667878,
    667887,    667888,    667889,    667898,    667899,    676543,    676544,
    676545,    676554,    676555,    676556,    676565,    676566,    676567,
    676654,    676655,    676656,    676665,    676666,    676667,    676676,
    676677,    676678,    676765,    676766,    676767,    676776,    676777,
    676778,    676787,    676788,    676789,    677654,    677655,    677656,
    677665,    677666,    677667,    677676,    677677,    677678,    677765,
    677766,    677767,    677776,    677777,    677778,    677787,    677788,
    677789,    677876,    677877,    677878,    677887,    677888,    677889,
    677898,    677899,    678765,    678766,    678767,    678776,    678777,
    678778,    678787,    678788,    678789,    678876,    678877,    678878,
    678887,    678888,    678889,    678898,    678899,    678987,    678988,
    678989,    678998,    678999,    765432,    765433,    765434,    765443,
    765444,    765445,    765454,    765455,    765456,    765543,    765544,
    765545,    765554,    765555,    765556,    765565,    765566,    765567,
    765654,    765655,    765656,    765665,    765666,    765667,    765676,
    765677,    765678,    766543,    766544,    766545,    766554,    766555,
    766556,    766565,    766566,    766567,    766654,    766655,    766656,
    766665,    766666,    766667,    766676,    766677,    766678,    766765,
    766766,    766767,    766776,    766777,    766778,    766787,    766788,
    766789,    767654,    767655,    767656,    767665,    767666,    767667,
    767676,    767677,    767678,    767765,    767766,    767767,    767776,
    767777,    767778,    767787,    767788,    767789,    767876,    767877,
    767878,    767887,    767888,    767889,    767898,    767899,    776543,
    776544,    776545,    776554,    776555,    776556,    776565,    776566,
    776567,    776654,    776655,    776656,    776665,    776666,    776667,
    776676,    776677,    776678,    776765,    776766,    776767,    776776,
    776777,    776778,    776787,    776788,    776789,    777654,    777655,
    777656,    777665,    777666,    777667,    777676,    777677,    777678,
    777765,    777766,    777767,    777776,    777777,    777778,    777787,
    777788,    777789,    777876,    777877,    777878,    777887,    777888,
    777889,    777898,    777899,    778765,    778766,    778767,    778776,
    778777,    778778,    778787,    778788,    778789,    778876,    778877,
    778878,    778887,    778888,    778889,    778898,    778899,    778987,
    778988,    778989,    778998,    778999,    787654,    787655,    787656,
    787665,    787666,    787667,    787676,    787677,    787678,    787765,
    787766,    787767,    787776,    787777,    787778,    787787,    787788,
    787789,    787876,    787877,    787878,    787887,    787888,    787889,
    787898,    787899,    788765,    788766,    788767,    788776,    788777,
    788778,    788787,    788788,    788789,    788876,    788877,    788878,
    788887,    788888,    788889,    788898,    788899,    788987,    788988,
    788989,    788998,    788999,    789876,    789877,    789878,    789887,
    789888,    789889,    789898,    789899,    789987,    789988,    789989,
    789998,    789999,    876543,    876544,    876545,    876554,    876555,
    876556,    876565,    876566,    876567,    876654,    876655,    876656,
    876665,    876666,    876667,    876676,    876677,    876678,    876765,
    876766,    876767,    876776,    876777,    876778,    876787,    876788,
    876789,    877654,    877655,    877656,    877665,    877666,    877667,
    877676,    877677,    877678,    877765,    877766,    877767,    877776,
    877777,    877778,    877787,    877788,    877789,    877876,    877877,
    877878,    877887,    877888,    877889,    877898,    877899,    878765,
    878766,    878767,    878776,    878777,    878778,    878787,    878788,
    878789,    878876,    878877,    878878,    878887,    878888,    878889,
    878898,    878899,    878987,    878988,    878989,    878998,    878999,
    887654,    887655,    887656,    887665,    887666,    887667,    887676,
    887677,    887678,    887765,    887766,    887767,    887776,    887777,
    887778,    887787,    887788,    887789,    887876,    887877,    887878,
    887887,    887888,    887889,    887898,    887899,    888765,    888766,
    888767,    888776,    888777,    888778,    888787,    888788,    888789,
    888876,    888877,    888878,    888887,    888888,    888889,    888898,
    888899,    888987,    888988,    888989,    888998,    888999,    889876,
    889877,    889878,    889887,    889888,    889889,    889898,    889899,
    889987,    889988,    889989,    889998,    889999,    898765,    898766,
    898767,    898776,    898777,    898778,    898787,    898788,    898789,
    898876,    898877,    898878,    898887,    898888,    898889,    898898,
    898899,    898987,    898988,    898989,    898998,    898999,    899876,
    899877,    899878,    899887,    899888,    899889,    899898,    899899,
    899987,    899988,    899989,    899998,    899999,    987654,    987655,
    987656,    987665,    987666,    987667,    987676,    987677,    987678,
    987765,    987766,    987767,    987776,    987777,    987778,    987787,
    987788,    987789,    987876,    987877,    987878,    987887,    987888,
    987889,    987898,    987899,    988765,    988766,    988767,    988776,
    988777,    988778,    988787,    988788,    988789,    988876,    988877,
    988878,    988887,    988888,    988889,    988898,    988899,    988987,
    988988,    988989,    988998,    988999,    989876,    989877,    989878,
    989887,    989888,    989889,    989898,    989899,    989987,    989988,
    989989,    989998,    989999,    998765,    998766,    998767,    998776,
    998777,    998778,    998787,    998788,    998789,    998876,    998877,
    998878,    998887,    998888,    998889,    998898,    998899,    998987,
    998988,    998989,    998998,    998999,    999876,    999877,    999878,
    999887,    999888,    999889,    999898,    999899,    999987,    999988,
    999989,    999998,    999999,    1000000,   1000001,   1000010,   1000011,
    1000012,   1000100,   1000101,   1000110,   1000111,   1000112,   1000121,
    1000122,   1000123,   1001000,   1001001,   1001010,   1001011,   1001012,
    1001100,   1001101,   1001110,   1001111,   1001112,   1001121,   1001122,
    1001123,   1001210,   1001211,   1001212,   1001221,   1001222,   1001223,
    1001232,   1001233,   1001234,   1010000,   1010001,   1010010,   1010011,
    1010012,   1010100,   1010101,   1010110,   1010111,   1010112,   1010121,
    1010122,   1010123,   1011000,   1011001,   1011010,   1011011,   1011012,
    1011100,   1011101,   1011110,   1011111,   1011112,   1011121,   1011122,
    1011123,   1011210,   1011211,   1011212,   1011221,   1011222,   1011223,
    1011232,   1011233,   1011234,   1012100,   1012101,   1012110,   1012111,
    1012112,   1012121,   1012122,   1012123,   1012210,   1012211,   1012212,
    1012221,   1012222,   1012223,   1012232,   1012233,   1012234,   1012321,
    1012322,   1012323,   1012332,   1012333,   1012334,   1012343,   1012344,
    1012345,   1100000,   1100001,   1100010,   1100011,   1100012,   1100100,
    1100101,   1100110,   1100111,   1100112,   1100121,   1100122,   1100123,
    1101000,   1101001,   1101010,   1101011,   1101012,   1101100,   1101101,
    1101110,   1101111,   1101112,   1101121,   1101122,   1101123,   1101210,
    1101211,   1101212,   1101221,   1101222,   1101223,   1101232,   1101233,
    1101234,   1110000,   1110001,   1110010,   1110011,   1110012,   1110100,
    1110101,   1110110,   1110111,   1110112,   1110121,   1110122,   1110123,
    1111000,   1111001,   1111010,   1111011,   1111012,   1111100,   1111101,
    1111110,   1111111,   1111112,   1111121,   1111122,   1111123,   1111210,
    1111211,   1111212,   1111221,   1111222,   1111223,   1111232,   1111233,
    1111234,   1112100,   1112101,   1112110,   1112111,   1112112,   1112121,
    1112122,   1112123,   1112210,   1112211,   1112212,   1112221,   1112222,
    1112223,   1112232,   1112233,   1112234,   1112321,   1112322,   1112323,
    1112332,   1112333,   1112334,   1112343,   1112344,   1112345,   1121000,
    1121001,   1121010,   1121011,   1121012,   1121100,   1121101,   1121110,
    1121111,   1121112,   1121121,   1121122,   1121123,   1121210,   1121211,
    1121212,   1121221,   1121222,   1121223,   1121232,   1121233,   1121234,
    1122100,   1122101,   1122110,   1122111,   1122112,   1122121,   1122122,
    1122123,   1122210,   1122211,   1122212,   1122221,   1122222,   1122223,
    1122232,   1122233,   1122234,   1122321,   1122322,   1122323,   1122332,
    1122333,   1122334,   1122343,   1122344,   1122345,   1123210,   1123211,
    1123212,   1123221,   1123222,   1123223,   1123232,   1123233,   1123234,
    1123321,   1123322,   1123323,   1123332,   1123333,   1123334,   1123343,
    1123344,   1123345,   1123432,   1123433,   1123434,   1123443,   1123444,
    1123445,   1123454,   1123455,   1123456,   1210000,   1210001,   1210010,
    1210011,   1210012,   1210100,   1210101,   1210110,   1210111,   1210112,
    1210121,   1210122,   1210123,   1211000,   1211001,   1211010,   1211011,
    1211012,   1211100,   1211101,   1211110,   1211111,   1211112,   1211121,
    1211122,   1211123,   1211210,   1211211,   1211212,   1211221,   1211222,
    1211223,   1211232,   1211233,   1211234,   1212100,   1212101,   1212110,
    1212111,   1212112,   1212121,   1212122,   1212123,   1212210,   1212211,
    1212212,   1212221,   1212222,   1212223,   1212232,   1212233,   1212234,
    1212321,   1212322,   1212323,   1212332,   1212333,   1212334,   1212343,
    1212344,   1212345,   1221000,   1221001,   1221010,   1221011,   1221012,
    1221100,   1221101,   1221110,   1221111,   1221112,   1221121,   1221122,
    1221123,   1221210,   1221211,   1221212,   1221221,   1221222,   1221223,
    1221232,   1221233,   1221234,   1222100,   1222101,   1222110,   1222111,
    1222112,   1222121,   1222122,   1222123,   1222210,   1222211,   1222212,
    1222221,   1222222,   1222223,   1222232,   1222233,   1222234,   1222321,
    1222322,   1222323,   1222332,   1222333,   1222334,   1222343,   1222344,
    1222345,   1223210,   1223211,   1223212,   1223221,   1223222,   1223223,
    1223232,   1223233,   1223234,   1223321,   1223322,   1223323,   1223332,
    1223333,   1223334,   1223343,   1223344,   1223345,   1223432,   1223433,
    1223434,   1223443,   1223444,   1223445,   1223454,   1223455,   1223456,
    1232100,   1232101,   1232110,   1232111,   1232112,   1232121,   1232122,
    1232123,   1232210,   1232211,   1232212,   1232221,   1232222,   1232223,
    1232232,   1232233,   1232234,   1232321,   1232322,   1232323,   1232332,
    1232333,   1232334,   1232343,   1232344,   1232345,   1233210,   1233211,
    1233212,   1233221,   1233222,   1233223,   1233232,   1233233,   1233234,
    1233321,   1233322,   1233323,   1233332,   1233333,   1233334,   1233343,
    1233344,   1233345,   1233432,   1233433,   1233434,   1233443,   1233444,
    1233445,   1233454,   1233455,   1233456,   1234321,   1234322,   1234323,
    1234332,   1234333,   1234334,   1234343,   1234344,   1234345,   1234432,
    1234433,   1234434,   1234443,   1234444,   1234445,   1234454,   1234455,
    1234456,   1234543,   1234544,   1234545,   1234554,   1234555,   1234556,
    1234565,   1234566,   1234567,   2100000,   2100001,   2100010,   2100011,
    2100012,   2100100,   2100101,   2100110,   2100111,   2100112,   2100121,
    2100122,   2100123,   2101000,   2101001,   2101010,   2101011,   2101012,
    2101100,   2101101,   2101110,   2101111,   2101112,   2101121,   2101122,
    2101123,   2101210,   2101211,   2101212,   2101221,   2101222,   2101223,
    2101232,   2101233,   2101234,   2110000,   2110001,   2110010,   2110011,
    2110012,   2110100,   2110101,   2110110,   2110111,   2110112,   2110121,
    2110122,   2110123,   2111000,   2111001,   2111010,   2111011,   2111012,
    2111100,   2111101,   2111110,   2111111,   2111112,   2111121,   2111122,
    2111123,   2111210,   2111211,   2111212,   2111221,   2111222,   2111223,
    2111232,   2111233,   2111234,   2112100,   2112101,   2112110,   2112111,
    2112112,   2112121,   2112122,   2112123,   2112210,   2112211,   2112212,
    2112221,   2112222,   2112223,   2112232,   2112233,   2112234,   2112321,
    2112322,   2112323,   2112332,   2112333,   2112334,   2112343,   2112344,
    2112345,   2121000,   2121001,   2121010,   2121011,   2121012,   2121100,
    2121101,   2121110,   2121111,   2121112,   2121121,   2121122,   2121123,
    2121210,   2121211,   2121212,   2121221,   2121222,   2121223,   2121232,
    2121233,   2121234,   2122100,   2122101,   2122110,   2122111,   2122112,
    2122121,   2122122,   2122123,   2122210,   2122211,   2122212,   2122221,
    2122222,   2122223,   2122232,   2122233,   2122234,   2122321,   2122322,
    2122323,   2122332,   2122333,   2122334,   2122343,   2122344,   2122345,
    2123210,   2123211,   2123212,   2123221,   2123222,   2123223,   2123232,
    2123233,   2123234,   2123321,   2123322,   2123323,   2123332,   2123333,
    2123334,   2123343,   2123344,   2123345,   2123432,   2123433,   2123434,
    2123443,   2123444,   2123445,   2123454,   2123455,   2123456,   2210000,
    2210001,   2210010,   2210011,   2210012,   2210100,   2210101,   2210110,
    2210111,   2210112,   2210121,   2210122,   2210123,   2211000,   2211001,
    2211010,   2211011,   2211012,   2211100,   2211101,   2211110,   2211111,
    2211112,   2211121,   2211122,   2211123,   2211210,   2211211,   2211212,
    2211221,   2211222,   2211223,   2211232,   2211233,   2211234,   2212100,
    2212101,   2212110,   2212111,   2212112,   2212121,   2212122,   2212123,
    2212210,   2212211,   2212212,   2212221,   2212222,   2212223,   2212232,
    2212233,   2212234,   2212321,   2212322,   2212323,   2212332,   2212333,
    2212334,   2212343,   2212344,   2212345,   2221000,   2221001,   2221010,
    2221011,   2221012,   2221100,   2221101,   2221110,   2221111,   2221112,
    2221121,   2221122,   2221123,   2221210,   2221211,   2221212,   2221221,
    2221222,   2221223,   2221232,   2221233,   2221234,   2222100,   2222101,
    2222110,   2222111,   2222112,   2222121,   2222122,   2222123,   2222210,
    2222211,   2222212,   2222221,   2222222,   2222223,   2222232,   2222233,
    2222234,   2222321,   2222322,   2222323,   2222332,   2222333,   2222334,
    2222343,   2222344,   2222345,   2223210,   2223211,   2223212,   2223221,
    2223222,   2223223,   2223232,   2223233,   2223234,   2223321,   2223322,
    2223323,   2223332,   2223333,   2223334,   2223343,   2223344,   2223345,
    2223432,   2223433,   2223434,   2223443,   2223444,   2223445,   2223454,
    2223455,   2223456,   2232100,   2232101,   2232110,   2232111,   2232112,
    2232121,   2232122,   2232123,   2232210,   2232211,   2232212,   2232221,
    2232222,   2232223,   2232232,   2232233,   2232234,   2232321,   2232322,
    2232323,   2232332,   2232333,   2232334,   2232343,   2232344,   2232345,
    2233210,   2233211,   2233212,   2233221,   2233222,   2233223,   2233232,
    2233233,   2233234,   2233321,   2233322,   2233323,   2233332,   2233333,
    2233334,   2233343,   2233344,   2233345,   2233432,   2233433,   2233434,
    2233443,   2233444,   2233445,   2233454,   2233455,   2233456,   2234321,
    2234322,   2234323,   2234332,   2234333,   2234334,   2234343,   2234344,
    2234345,   2234432,   2234433,   2234434,   2234443,   2234444,   2234445,
    2234454,   2234455,   2234456,   2234543,   2234544,   2234545,   2234554,
    2234555,   2234556,   2234565,   2234566,   2234567,   2321000,   2321001,
    2321010,   2321011,   2321012,   2321100,   2321101,   2321110,   2321111,
    2321112,   2321121,   2321122,   2321123,   2321210,   2321211,   2321212,
    2321221,   2321222,   2321223,   2321232,   2321233,   2321234,   2322100,
    2322101,   2322110,   2322111,   2322112,   2322121,   2322122,   2322123,
    2322210,   2322211,   2322212,   2322221,   2322222,   2322223,   2322232,
    2322233,   2322234,   2322321,   2322322,   2322323,   2322332,   2322333,
    2322334,   2322343,   2322344,   2322345,   2323210,   2323211,   2323212,
    2323221,   2323222,   2323223,   2323232,   2323233,   2323234,   2323321,
    2323322,   2323323,   2323332,   2323333,   2323334,   2323343,   2323344,
    2323345,   2323432,   2323433,   2323434,   2323443,   2323444,   2323445,
    2323454,   2323455,   2323456,   2332100,   2332101,   2332110,   2332111,
    2332112,   2332121,   2332122,   2332123,   2332210,   2332211,   2332212,
    2332221,   2332222,   2332223,   2332232,   2332233,   2332234,   2332321,
    2332322,   2332323,   2332332,   2332333,   2332334,   2332343,   2332344,
    2332345,   2333210,   2333211,   2333212,   2333221,   2333222,   2333223,
    2333232,   2333233,   2333234,   2333321,   2333322,   2333323,   2333332,
    2333333,   2333334,   2333343,   2333344,   2333345,   2333432,   2333433,
    2333434,   2333443,   2333444,   2333445,   2333454,   2333455,   2333456,
    2334321,   2334322,   2334323,   2334332,   2334333,   2334334,   2334343,
    2334344,   2334345,   2334432,   2334433,   2334434,   2334443,   2334444,
    2334445,   2334454,   2334455,   2334456,   2334543,   2334544,   2334545,
    2334554,   2334555,   2334556,   2334565,   2334566,   2334567,   2343210,
    2343211,   2343212,   2343221,   2343222,   2343223,   2343232,   2343233,
    2343234,   2343321,   2343322,   2343323,   2343332,   2343333,   2343334,
    2343343,   2343344,   2343345,   2343432,   2343433,   2343434,   2343443,
    2343444,   2343445,   2343454,   2343455,   2343456,   2344321,   2344322,
    2344323,   2344332,   2344333,   2344334,   2344343,   2344344,   2344345,
    2344432,   2344433,   2344434,   2344443,   2344444,   2344445,   2344454,
    2344455,   2344456,   2344543,   2344544,   2344545,   2344554,   2344555,
    2344556,   2344565,   2344566,   2344567,   2345432,   2345433,   2345434,
    2345443,   2345444,   2345445,   2345454,   2345455,   2345456,   2345543,
    2345544,   2345545,   2345554,   2345555,   2345556,   2345565,   2345566,
    2345567,   2345654,   2345655,   2345656,   2345665,   2345666,   2345667,
    2345676,   2345677,   2345678,   3210000,   3210001,   3210010,   3210011,
    3210012,   3210100,   3210101,   3210110,   3210111,   3210112,   3210121,
    3210122,   3210123,   3211000,   3211001,   3211010,   3211011,   3211012,
    3211100,   3211101,   3211110,   3211111,   3211112,   3211121,   3211122,
    3211123,   3211210,   3211211,   3211212,   3211221,   3211222,   3211223,
    3211232,   3211233,   3211234,   3212100,   3212101,   3212110,   3212111,
    3212112,   3212121,   3212122,   3212123,   3212210,   3212211,   3212212,
    3212221,   3212222,   3212223,   3212232,   3212233,   3212234,   3212321,
    3212322,   3212323,   3212332,   3212333,   3212334,   3212343,   3212344,
    3212345,   3221000,   3221001,   3221010,   3221011,   3221012,   3221100,
    3221101,   3221110,   3221111,   3221112,   3221121,   3221122,   3221123,
    3221210,   3221211,   3221212,   3221221,   3221222,   3221223,   3221232,
    3221233,   3221234,   3222100,   3222101,   3222110,   3222111,   3222112,
    3222121,   3222122,   3222123,   3222210,   3222211,   3222212,   3222221,
    3222222,   3222223,   3222232,   3222233,   3222234,   3222321,   3222322,
    3222323,   3222332,   3222333,   3222334,   3222343,   3222344,   3222345,
    3223210,   3223211,   3223212,   3223221,   3223222,   3223223,   3223232,
    3223233,   3223234,   3223321,   3223322,   3223323,   3223332,   3223333,
    3223334,   3223343,   3223344,   3223345,   3223432,   3223433,   3223434,
    3223443,   3223444,   3223445,   3223454,   3223455,   3223456,   3232100,
    3232101,   3232110,   3232111,   3232112,   3232121,   3232122,   3232123,
    3232210,   3232211,   3232212,   3232221,   3232222,   3232223,   3232232,
    3232233,   3232234,   3232321,   3232322,   3232323,   3232332,   3232333,
    3232334,   3232343,   3232344,   3232345,   3233210,   3233211,   3233212,
    3233221,   3233222,   3233223,   3233232,   3233233,   3233234,   3233321,
    3233322,   3233323,   3233332,   3233333,   3233334,   3233343,   3233344,
    3233345,   3233432,   3233433,   3233434,   3233443,   3233444,   3233445,
    3233454,   3233455,   3233456,   3234321,   3234322,   3234323,   3234332,
    3234333,   3234334,   3234343,   3234344,   3234345,   3234432,   3234433,
    3234434,   3234443,   3234444,   3234445,   3234454,   3234455,   3234456,
    3234543,   3234544,   3234545,   3234554,   3234555,   3234556,   3234565,
    3234566,   3234567,   3321000,   3321001,   3321010,   3321011,   3321012,
    3321100,   3321101,   3321110,   3321111,   3321112,   3321121,   3321122,
    3321123,   3321210,   3321211,   3321212,   3321221,   3321222,   3321223,
    3321232,   3321233,   3321234,   3322100,   3322101,   3322110,   3322111,
    3322112,   3322121,   3322122,   3322123,   3322210,   3322211,   3322212,
    3322221,   3322222,   3322223,   3322232,   3322233,   3322234,   3322321,
    3322322,   3322323,   3322332,   3322333,   3322334,   3322343,   3322344,
    3322345,   3323210,   3323211,   3323212,   3323221,   3323222,   3323223,
    3323232,   3323233,   3323234,   3323321,   3323322,   3323323,   3323332,
    3323333,   3323334,   3323343,   3323344,   3323345,   3323432,   3323433,
    3323434,   3323443,   3323444,   3323445,   3323454,   3323455,   3323456,
    3332100,   3332101,   3332110,   3332111,   3332112,   3332121,   3332122,
    3332123,   3332210,   3332211,   3332212,   3332221,   3332222,   3332223,
    3332232,   3332233,   3332234,   3332321,   3332322,   3332323,   3332332,
    3332333,   3332334,   3332343,   3332344,   3332345,   3333210,   3333211,
    3333212,   3333221,   3333222,   3333223,   3333232,   3333233,   3333234,
    3333321,   3333322,   3333323,   3333332,   3333333,   3333334,   3333343,
    3333344,   3333345,   3333432,   3333433,   3333434,   3333443,   3333444,
    3333445,   3333454,   3333455,   3333456,   3334321,   3334322,   3334323,
    3334332,   3334333,   3334334,   3334343,   3334344,   3334345,   3334432,
    3334433,   3334434,   3334443,   3334444,   3334445,   3334454,   3334455,
    3334456,   3334543,   3334544,   3334545,   3334554,   3334555,   3334556,
    3334565,   3334566,   3334567,   3343210,   3343211,   3343212,   3343221,
    3343222,   3343223,   3343232,   3343233,   3343234,   3343321,   3343322,
    3343323,   3343332,   3343333,   3343334,   3343343,   3343344,   3343345,
    3343432,   3343433,   3343434,   3343443,   3343444,   3343445,   3343454,
    3343455,   3343456,   3344321,   3344322,   3344323,   3344332,   3344333,
    3344334,   3344343,   3344344,   3344345,   3344432,   3344433,   3344434,
    3344443,   3344444,   3344445,   3344454,   3344455,   3344456,   3344543,
    3344544,   3344545,   3344554,   3344555,   3344556,   3344565,   3344566,
    3344567,   3345432,   3345433,   3345434,   3345443,   3345444,   3345445,
    3345454,   3345455,   3345456,   3345543,   3345544,   3345545,   3345554,
    3345555,   3345556,   3345565,   3345566,   3345567,   3345654,   3345655,
    3345656,   3345665,   3345666,   3345667,   3345676,   3345677,   3345678,
    3432100,   3432101,   3432110,   3432111,   3432112,   3432121,   3432122,
    3432123,   3432210,   3432211,   3432212,   3432221,   3432222,   3432223,
    3432232,   3432233,   3432234,   3432321,   3432322,   3432323,   3432332,
    3432333,   3432334,   3432343,   3432344,   3432345,   3433210,   3433211,
    3433212,   3433221,   3433222,   3433223,   3433232,   3433233,   3433234,
    3433321,   3433322,   3433323,   3433332,   3433333,   3433334,   3433343,
    3433344,   3433345,   3433432,   3433433,   3433434,   3433443,   3433444,
    3433445,   3433454,   3433455,   3433456,   3434321,   3434322,   3434323,
    3434332,   3434333,   3434334,   3434343,   3434344,   3434345,   3434432,
    3434433,   3434434,   3434443,   3434444,   3434445,   3434454,   3434455,
    3434456,   3434543,   3434544,   3434545,   3434554,   3434555,   3434556,
    3434565,   3434566,   3434567,   3443210,   3443211,   3443212,   3443221,
    3443222,   3443223,   3443232,   3443233,   3443234,   3443321,   3443322,
    3443323,   3443332,   3443333,   3443334,   3443343,   3443344,   3443345,
    3443432,   3443433,   3443434,   3443443,   3443444,   3443445,   3443454,
    3443455,   3443456,   3444321,   3444322,   3444323,   3444332,   3444333,
    3444334,   3444343,   3444344,   3444345,   3444432,   3444433,   3444434,
    3444443,   3444444,   3444445,   3444454,   3444455,   3444456,   3444543,
    3444544,   3444545,   3444554,   3444555,   3444556,   3444565,   3444566,
    3444567,   3445432,   3445433,   3445434,   3445443,   3445444,   3445445,
    3445454,   3445455,   3445456,   3445543,   3445544,   3445545,   3445554,
    3445555,   3445556,   3445565,   3445566,   3445567,   3445654,   3445655,
    3445656,   3445665,   3445666,   3445667,   3445676,   3445677,   3445678,
    3454321,   3454322,   3454323,   3454332,   3454333,   3454334,   3454343,
    3454344,   3454345,   3454432,   3454433,   3454434,   3454443,   3454444,
    3454445,   3454454,   3454455,   3454456,   3454543,   3454544,   3454545,
    3454554,   3454555,   3454556,   3454565,   3454566,   3454567,   3455432,
    3455433,   3455434,   3455443,   3455444,   3455445,   3455454,   3455455,
    3455456,   3455543,   3455544,   3455545,   3455554,   3455555,   3455556,
    3455565,   3455566,   3455567,   3455654,   3455655,   3455656,   3455665,
    3455666,   3455667,   3455676,   3455677,   3455678,   3456543,   3456544,
    3456545,   3456554,   3456555,   3456556,   3456565,   3456566,   3456567,
    3456654,   3456655,   3456656,   3456665,   3456666,   3456667,   3456676,
    3456677,   3456678,   3456765,   3456766,   3456767,   3456776,   3456777,
    3456778,   3456787,   3456788,   3456789,   4321000,   4321001,   4321010,
    4321011,   4321012,   4321100,   4321101,   4321110,   4321111,   4321112,
    4321121,   4321122,   4321123,   4321210,   4321211,   4321212,   4321221,
    4321222,   4321223,   4321232,   4321233,   4321234,   4322100,   4322101,
    4322110,   4322111,   4322112,   4322121,   4322122,   4322123,   4322210,
    4322211,   4322212,   4322221,   4322222,   4322223,   4322232,   4322233,
    4322234,   4322321,   4322322,   4322323,   4322332,   4322333,   4322334,
    4322343,   4322344,   4322345,   4323210,   4323211,   4323212,   4323221,
    4323222,   4323223,   4323232,   4323233,   4323234,   4323321,   4323322,
    4323323,   4323332,   4323333,   4323334,   4323343,   4323344,   4323345,
    4323432,   4323433,   4323434,   4323443,   4323444,   4323445,   4323454,
    4323455,   4323456,   4332100,   4332101,   4332110,   4332111,   4332112,
    4332121,   4332122,   4332123,   4332210,   4332211,   4332212,   4332221,
    4332222,   4332223,   4332232,   4332233,   4332234,   4332321,   4332322,
    4332323,   4332332,   4332333,   4332334,   4332343,   4332344,   4332345,
    4333210,   4333211,   4333212,   4333221,   4333222,   4333223,   4333232,
    4333233,   4333234,   4333321,   4333322,   4333323,   4333332,   4333333,
    4333334,   4333343,   4333344,   4333345,   4333432,   4333433,   4333434,
    4333443,   4333444,   4333445,   4333454,   4333455,   4333456,   4334321,
    4334322,   4334323,   4334332,   4334333,   4334334,   4334343,   4334344,
    4334345,   4334432,   4334433,   4334434,   4334443,   4334444,   4334445,
    4334454,   4334455,   4334456,   4334543,   4334544,   4334545,   4334554,
    4334555,   4334556,   4334565,   4334566,   4334567,   4343210,   4343211,
    4343212,   4343221,   4343222,   4343223,   4343232,   4343233,   4343234,
    4343321,   4343322,   4343323,   4343332,   4343333,   4343334,   4343343,
    4343344,   4343345,   4343432,   4343433,   4343434,   4343443,   4343444,
    4343445,   4343454,   4343455,   4343456,   4344321,   4344322,   4344323,
    4344332,   4344333,   4344334,   4344343,   4344344,   4344345,   4344432,
    4344433,   4344434,   4344443,   4344444,   4344445,   4344454,   4344455,
    4344456,   4344543,   4344544,   4344545,   4344554,   4344555,   4344556,
    4344565,   4344566,   4344567,   4345432,   4345433,   4345434,   4345443,
    4345444,   4345445,   4345454,   4345455,   4345456,   4345543,   4345544,
    4345545,   4345554,   4345555,   4345556,   4345565,   4345566,   4345567,
    4345654,   4345655,   4345656,   4345665,   4345666,   4345667,   4345676,
    4345677,   4345678,   4432100,   4432101,   4432110,   4432111,   4432112,
    4432121,   4432122,   4432123,   4432210,   4432211,   4432212,   4432221,
    4432222,   4432223,   4432232,   4432233,   4432234,   4432321,   4432322,
    4432323,   4432332,   4432333,   4432334,   4432343,   4432344,   4432345,
    4433210,   4433211,   4433212,   4433221,   4433222,   4433223,   4433232,
    4433233,   4433234,   4433321,   4433322,   4433323,   4433332,   4433333,
    4433334,   4433343,   4433344,   4433345,   4433432,   4433433,   4433434,
    4433443,   4433444,   4433445,   4433454,   4433455,   4433456,   4434321,
    4434322,   4434323,   4434332,   4434333,   4434334,   4434343,   4434344,
    4434345,   4434432,   4434433,   4434434,   4434443,   4434444,   4434445,
    4434454,   4434455,   4434456,   4434543,   4434544,   4434545,   4434554,
    4434555,   4434556,   4434565,   4434566,   4434567,   4443210,   4443211,
    4443212,   4443221,   4443222,   4443223,   4443232,   4443233,   4443234,
    4443321,   4443322,   4443323,   4443332,   4443333,   4443334,   4443343,
    4443344,   4443345,   4443432,   4443433,   4443434,   4443443,   4443444,
    4443445,   4443454,   4443455,   4443456,   4444321,   4444322,   4444323,
    4444332,   4444333,   4444334,   4444343,   4444344,   4444345,   4444432,
    4444433,   4444434,   4444443,   4444444,   4444445,   4444454,   4444455,
    4444456,   4444543,   4444544,   4444545,   4444554,   4444555,   4444556,
    4444565,   4444566,   4444567,   4445432,   4445433,   4445434,   4445443,
    4445444,   4445445,   4445454,   4445455,   4445456,   4445543,   4445544,
    4445545,   4445554,   4445555,   4445556,   4445565,   4445566,   4445567,
    4445654,   4445655,   4445656,   4445665,   4445666,   4445667,   4445676,
    4445677,   4445678,   4454321,   4454322,   4454323,   4454332,   4454333,
    4454334,   4454343,   4454344,   4454345,   4454432,   4454433,   4454434,
    4454443,   4454444,   4454445,   4454454,   4454455,   4454456,   4454543,
    4454544,   4454545,   4454554,   4454555,   4454556,   4454565,   4454566,
    4454567,   4455432,   4455433,   4455434,   4455443,   4455444,   4455445,
    4455454,   4455455,   4455456,   4455543,   4455544,   4455545,   4455554,
    4455555,   4455556,   4455565,   4455566,   4455567,   4455654,   4455655,
    4455656,   4455665,   4455666,   4455667,   4455676,   4455677,   4455678,
    4456543,   4456544,   4456545,   4456554,   4456555,   4456556,   4456565,
    4456566,   4456567,   4456654,   4456655,   4456656,   4456665,   4456666,
    4456667,   4456676,   4456677,   4456678,   4456765,   4456766,   4456767,
    4456776,   4456777,   4456778,   4456787,   4456788,   4456789,   4543210,
    4543211,   4543212,   4543221,   4543222,   4543223,   4543232,   4543233,
    4543234,   4543321,   4543322,   4543323,   4543332,   4543333,   4543334,
    4543343,   4543344,   4543345,   4543432,   4543433,   4543434,   4543443,
    4543444,   4543445,   4543454,   4543455,   4543456,   4544321,   4544322,
    4544323,   4544332,   4544333,   4544334,   4544343,   4544344,   4544345,
    4544432,   4544433,   4544434,   4544443,   4544444,   4544445,   4544454,
    4544455,   4544456,   4544543,   4544544,   4544545,   4544554,   4544555,
    4544556,   4544565,   4544566,   4544567,   4545432,   4545433,   4545434,
    4545443,   4545444,   4545445,   4545454,   4545455,   4545456,   4545543,
    4545544,   4545545,   4545554,   4545555,   4545556,   4545565,   4545566,
    4545567,   4545654,   4545655,   4545656,   4545665,   4545666,   4545667,
    4545676,   4545677,   4545678,   4554321,   4554322,   4554323,   4554332,
    4554333,   4554334,   4554343,   4554344,   4554345,   4554432,   4554433,
    4554434,   4554443,   4554444,   4554445,   4554454,   4554455,   4554456,
    4554543,   4554544,   4554545,   4554554,   4554555,   4554556,   4554565,
    4554566,   4554567,   4555432,   4555433,   4555434,   4555443,   4555444,
    4555445,   4555454,   4555455,   4555456,   4555543,   4555544,   4555545,
    4555554,   4555555,   4555556,   4555565,   4555566,   4555567,   4555654,
    4555655,   4555656,   4555665,   4555666,   4555667,   4555676,   4555677,
    4555678,   4556543,   4556544,   4556545,   4556554,   4556555,   4556556,
    4556565,   4556566,   4556567,   4556654,   4556655,   4556656,   4556665,
    4556666,   4556667,   4556676,   4556677,   4556678,   4556765,   4556766,
    4556767,   4556776,   4556777,   4556778,   4556787,   4556788,   4556789,
    4565432,   4565433,   4565434,   4565443,   4565444,   4565445,   4565454,
    4565455,   4565456,   4565543,   4565544,   4565545,   4565554,   4565555,
    4565556,   4565565,   4565566,   4565567,   4565654,   4565655,   4565656,
    4565665,   4565666,   4565667,   4565676,   4565677,   4565678,   4566543,
    4566544,   4566545,   4566554,   4566555,   4566556,   4566565,   4566566,
    4566567,   4566654,   4566655,   4566656,   4566665,   4566666,   4566667,
    4566676,   4566677,   4566678,   4566765,   4566766,   4566767,   4566776,
    4566777,   4566778,   4566787,   4566788,   4566789,   4567654,   4567655,
    4567656,   4567665,   4567666,   4567667,   4567676,   4567677,   4567678,
    4567765,   4567766,   4567767,   4567776,   4567777,   4567778,   4567787,
    4567788,   4567789,   4567876,   4567877,   4567878,   4567887,   4567888,
    4567889,   4567898,   4567899,   5432100,   5432101,   5432110,   5432111,
    5432112,   5432121,   5432122,   5432123,   5432210,   5432211,   5432212,
    5432221,   5432222,   5432223,   5432232,   5432233,   5432234,   5432321,
    5432322,   5432323,   5432332,   5432333,   5432334,   5432343,   5432344,
    5432345,   5433210,   5433211,   5433212,   5433221,   5433222,   5433223,
    5433232,   5433233,   5433234,   5433321,   5433322,   5433323,   5433332,
    5433333,   5433334,   5433343,   5433344,   5433345,   5433432,   5433433,
    5433434,   5433443,   5433444,   5433445,   5433454,   5433455,   5433456,
    5434321,   5434322,   5434323,   5434332,   5434333,   5434334,   5434343,
    5434344,   5434345,   5434432,   5434433,   5434434,   5434443,   5434444,
    5434445,   5434454,   5434455,   5434456,   5434543,   5434544,   5434545,
    5434554,   5434555,   5434556,   5434565,   5434566,   5434567,   5443210,
    5443211,   5443212,   5443221,   5443222,   5443223,   5443232,   5443233,
    5443234,   5443321,   5443322,   5443323,   5443332,   5443333,   5443334,
    5443343,   5443344,   5443345,   5443432,   5443433,   5443434,   5443443,
    5443444,   5443445,   5443454,   5443455,   5443456,   5444321,   5444322,
    5444323,   5444332,   5444333,   5444334,   5444343,   5444344,   5444345,
    5444432,   5444433,   5444434,   5444443,   5444444,   5444445,   5444454,
    5444455,   5444456,   5444543,   5444544,   5444545,   5444554,   5444555,
    5444556,   5444565,   5444566,   5444567,   5445432,   5445433,   5445434,
    5445443,   5445444,   5445445,   5445454,   5445455,   5445456,   5445543,
    5445544,   5445545,   5445554,   5445555,   5445556,   5445565,   5445566,
    5445567,   5445654,   5445655,   5445656,   5445665,   5445666,   5445667,
    5445676,   5445677,   5445678,   5454321,   5454322,   5454323,   5454332,
    5454333,   5454334,   5454343,   5454344,   5454345,   5454432,   5454433,
    5454434,   5454443,   5454444,   5454445,   5454454,   5454455,   5454456,
    5454543,   5454544,   5454545,   5454554,   5454555,   5454556,   5454565,
    5454566,   5454567,   5455432,   5455433,   5455434,   5455443,   5455444,
    5455445,   5455454,   5455455,   5455456,   5455543,   5455544,   5455545,
    5455554,   5455555,   5455556,   5455565,   5455566,   5455567,   5455654,
    5455655,   5455656,   5455665,   5455666,   5455667,   5455676,   5455677,
    5455678,   5456543,   5456544,   5456545,   5456554,   5456555,   5456556,
    5456565,   5456566,   5456567,   5456654,   5456655,   5456656,   5456665,
    5456666,   5456667,   5456676,   5456677,   5456678,   5456765,   5456766,
    5456767,   5456776,   5456777,   5456778,   5456787,   5456788,   5456789,
    5543210,   5543211,   5543212,   5543221,   5543222,   5543223,   5543232,
    5543233,   5543234,   5543321,   5543322,   5543323,   5543332,   5543333,
    5543334,   5543343,   5543344,   5543345,   5543432,   5543433,   5543434,
    5543443,   5543444,   5543445,   5543454,   5543455,   5543456,   5544321,
    5544322,   5544323,   5544332,   5544333,   5544334,   5544343,   5544344,
    5544345,   5544432,   5544433,   5544434,   5544443,   5544444,   5544445,
    5544454,   5544455,   5544456,   5544543,   5544544,   5544545,   5544554,
    5544555,   5544556,   5544565,   5544566,   5544567,   5545432,   5545433,
    5545434,   5545443,   5545444,   5545445,   5545454,   5545455,   5545456,
    5545543,   5545544,   5545545,   5545554,   5545555,   5545556,   5545565,
    5545566,   5545567,   5545654,   5545655,   5545656,   5545665,   5545666,
    5545667,   5545676,   5545677,   5545678,   5554321,   5554322,   5554323,
    5554332,   5554333,   5554334,   5554343,   5554344,   5554345,   5554432,
    5554433,   5554434,   5554443,   5554444,   5554445,   5554454,   5554455,
    5554456,   5554543,   5554544,   5554545,   5554554,   5554555,   5554556,
    5554565,   5554566,   5554567,   5555432,   5555433,   5555434,   5555443,
    5555444,   5555445,   5555454,   5555455,   5555456,   5555543,   5555544,
    5555545,   5555554,   5555555,   5555556,   5555565,   5555566,   5555567,
    5555654,   5555655,   5555656,   5555665,   5555666,   5555667,   5555676,
    5555677,   5555678,   5556543,   5556544,   5556545,   5556554,   5556555,
    5556556,   5556565,   5556566,   5556567,   5556654,   5556655,   5556656,
    5556665,   5556666,   5556667,   5556676,   5556677,   5556678,   5556765,
    5556766,   5556767,   5556776,   5556777,   5556778,   5556787,   5556788,
    5556789,   5565432,   5565433,   5565434,   5565443,   5565444,   5565445,
    5565454,   5565455,   5565456,   5565543,   5565544,   5565545,   5565554,
    5565555,   5565556,   5565565,   5565566,   5565567,   5565654,   5565655,
    5565656,   5565665,   5565666,   5565667,   5565676,   5565677,   5565678,
    5566543,   5566544,   5566545,   5566554,   5566555,   5566556,   5566565,
    5566566,   5566567,   5566654,   5566655,   5566656,   5566665,   5566666,
    5566667,   5566676,   5566677,   5566678,   5566765,   5566766,   5566767,
    5566776,   5566777,   5566778,   5566787,   5566788,   5566789,   5567654,
    5567655,   5567656,   5567665,   5567666,   5567667,   5567676,   5567677,
    5567678,   5567765,   5567766,   5567767,   5567776,   5567777,   5567778,
    5567787,   5567788,   5567789,   5567876,   5567877,   5567878,   5567887,
    5567888,   5567889,   5567898,   5567899,   5654321,   5654322,   5654323,
    5654332,   5654333,   5654334,   5654343,   5654344,   5654345,   5654432,
    5654433,   5654434,   5654443,   5654444,   5654445,   5654454,   5654455,
    5654456,   5654543,   5654544,   5654545,   5654554,   5654555,   5654556,
    5654565,   5654566,   5654567,   5655432,   5655433,   5655434,   5655443,
    5655444,   5655445,   5655454,   5655455,   5655456,   5655543,   5655544,
    5655545,   5655554,   5655555,   5655556,   5655565,   5655566,   5655567,
    5655654,   5655655,   5655656,   5655665,   5655666,   5655667,   5655676,
    5655677,   5655678,   5656543,   5656544,   5656545,   5656554,   5656555,
    5656556,   5656565,   5656566,   5656567,   5656654,   5656655,   5656656,
    5656665,   5656666,   5656667,   5656676,   5656677,   5656678,   5656765,
    5656766,   5656767,   5656776,   5656777,   5656778,   5656787,   5656788,
    5656789,   5665432,   5665433,   5665434,   5665443,   5665444,   5665445,
    5665454,   5665455,   5665456,   5665543,   5665544,   5665545,   5665554,
    5665555,   5665556,   5665565,   5665566,   5665567,   5665654,   5665655,
    5665656,   5665665,   5665666,   5665667,   5665676,   5665677,   5665678,
    5666543,   5666544,   5666545,   5666554,   5666555,   5666556,   5666565,
    5666566,   5666567,   5666654,   5666655,   5666656,   5666665,   5666666,
    5666667,   5666676,   5666677,   5666678,   5666765,   5666766,   5666767,
    5666776,   5666777,   5666778,   5666787,   5666788,   5666789,   5667654,
    5667655,   5667656,   5667665,   5667666,   5667667,   5667676,   5667677,
    5667678,   5667765,   5667766,   5667767,   5667776,   5667777,   5667778,
    5667787,   5667788,   5667789,   5667876,   5667877,   5667878,   5667887,
    5667888,   5667889,   5667898,   5667899,   5676543,   5676544,   5676545,
    5676554,   5676555,   5676556,   5676565,   5676566,   5676567,   5676654,
    5676655,   5676656,   5676665,   5676666,   5676667,   5676676,   5676677,
    5676678,   5676765,   5676766,   5676767,   5676776,   5676777,   5676778,
    5676787,   5676788,   5676789,   5677654,   5677655,   5677656,   5677665,
    5677666,   5677667,   5677676,   5677677,   5677678,   5677765,   5677766,
    5677767,   5677776,   5677777,   5677778,   5677787,   5677788,   5677789,
    5677876,   5677877,   5677878,   5677887,   5677888,   5677889,   5677898,
    5677899,   5678765,   5678766,   5678767,   5678776,   5678777,   5678778,
    5678787,   5678788,   5678789,   5678876,   5678877,   5678878,   5678887,
    5678888,   5678889,   5678898,   5678899,   5678987,   5678988,   5678989,
    5678998,   5678999,   6543210,   6543211,   6543212,   6543221,   6543222,
    6543223,   6543232,   6543233,   6543234,   6543321,   6543322,   6543323,
    6543332,   6543333,   6543334,   6543343,   6543344,   6543345,   6543432,
    6543433,   6543434,   6543443,   6543444,   6543445,   6543454,   6543455,
    6543456,   6544321,   6544322,   6544323,   6544332,   6544333,   6544334,
    6544343,   6544344,   6544345,   6544432,   6544433,   6544434,   6544443,
    6544444,   6544445,   6544454,   6544455,   6544456,   6544543,   6544544,
    6544545,   6544554,   6544555,   6544556,   6544565,   6544566,   6544567,
    6545432,   6545433,   6545434,   6545443,   6545444,   6545445,   6545454,
    6545455,   6545456,   6545543,   6545544,   6545545,   6545554,   6545555,
    6545556,   6545565,   6545566,   6545567,   6545654,   6545655,   6545656,
    6545665,   6545666,   6545667,   6545676,   6545677,   6545678,   6554321,
    6554322,   6554323,   6554332,   6554333,   6554334,   6554343,   6554344,
    6554345,   6554432,   6554433,   6554434,   6554443,   6554444,   6554445,
    6554454,   6554455,   6554456,   6554543,   6554544,   6554545,   6554554,
    6554555,   6554556,   6554565,   6554566,   6554567,   6555432,   6555433,
    6555434,   6555443,   6555444,   6555445,   6555454,   6555455,   6555456,
    6555543,   6555544,   6555545,   6555554,   6555555,   6555556,   6555565,
    6555566,   6555567,   6555654,   6555655,   6555656,   6555665,   6555666,
    6555667,   6555676,   6555677,   6555678,   6556543,   6556544,   6556545,
    6556554,   6556555,   6556556,   6556565,   6556566,   6556567,   6556654,
    6556655,   6556656,   6556665,   6556666,   6556667,   6556676,   6556677,
    6556678,   6556765,   6556766,   6556767,   6556776,   6556777,   6556778,
    6556787,   6556788,   6556789,   6565432,   6565433,   6565434,   6565443,
    6565444,   6565445,   6565454,   6565455,   6565456,   6565543,   6565544,
    6565545,   6565554,   6565555,   6565556,   6565565,   6565566,   6565567,
    6565654,   6565655,   6565656,   6565665,   6565666,   6565667,   6565676,
    6565677,   6565678,   6566543,   6566544,   6566545,   6566554,   6566555,
    6566556,   6566565,   6566566,   6566567,   6566654,   6566655,   6566656,
    6566665,   6566666,   6566667,   6566676,   6566677,   6566678,   6566765,
    6566766,   6566767,   6566776,   6566777,   6566778,   6566787,   6566788,
    6566789,   6567654,   6567655,   6567656,   6567665,   6567666,   6567667,
    6567676,   6567677,   6567678,   6567765,   6567766,   6567767,   6567776,
    6567777,   6567778,   6567787,   6567788,   6567789,   6567876,   6567877,
    6567878,   6567887,   6567888,   6567889,   6567898,   6567899,   6654321,
    6654322,   6654323,   6654332,   6654333,   6654334,   6654343,   6654344,
    6654345,   6654432,   6654433,   6654434,   6654443,   6654444,   6654445,
    6654454,   6654455,   6654456,   6654543,   6654544,   6654545,   6654554,
    6654555,   6654556,   6654565,   6654566,   6654567,   6655432,   6655433,
    6655434,   6655443,   6655444,   6655445,   6655454,   6655455,   6655456,
    6655543,   6655544,   6655545,   6655554,   6655555,   6655556,   6655565,
    6655566,   6655567,   6655654,   6655655,   6655656,   6655665,   6655666,
    6655667,   6655676,   6655677,   6655678,   6656543,   6656544,   6656545,
    6656554,   6656555,   6656556,   6656565,   6656566,   6656567,   6656654,
    6656655,   6656656,   6656665,   6656666,   6656667,   6656676,   6656677,
    6656678,   6656765,   6656766,   6656767,   6656776,   6656777,   6656778,
    6656787,   6656788,   6656789,   6665432,   6665433,   6665434,   6665443,
    6665444,   6665445,   6665454,   6665455,   6665456,   6665543,   6665544,
    6665545,   6665554,   6665555,   6665556,   6665565,   6665566,   6665567,
    6665654,   6665655,   6665656,   6665665,   6665666,   6665667,   6665676,
    6665677,   6665678,   6666543,   6666544,   6666545,   6666554,   6666555,
    6666556,   6666565,   6666566,   6666567,   6666654,   6666655,   6666656,
    6666665,   6666666,   6666667,   6666676,   6666677,   6666678,   6666765,
    6666766,   6666767,   6666776,   6666777,   6666778,   6666787,   6666788,
    6666789,   6667654,   6667655,   6667656,   6667665,   6667666,   6667667,
    6667676,   6667677,   6667678,   6667765,   6667766,   6667767,   6667776,
    6667777,   6667778,   6667787,   6667788,   6667789,   6667876,   6667877,
    6667878,   6667887,   6667888,   6667889,   6667898,   6667899,   6676543,
    6676544,   6676545,   6676554,   6676555,   6676556,   6676565,   6676566,
    6676567,   6676654,   6676655,   6676656,   6676665,   6676666,   6676667,
    6676676,   6676677,   6676678,   6676765,   6676766,   6676767,   6676776,
    6676777,   6676778,   6676787,   6676788,   6676789,   6677654,   6677655,
    6677656,   6677665,   6677666,   6677667,   6677676,   6677677,   6677678,
    6677765,   6677766,   6677767,   6677776,   6677777,   6677778,   6677787,
    6677788,   6677789,   6677876,   6677877,   6677878,   6677887,   6677888,
    6677889,   6677898,   6677899,   6678765,   6678766,   6678767,   6678776,
    6678777,   6678778,   6678787,   6678788,   6678789,   6678876,   6678877,
    6678878,   6678887,   6678888,   6678889,   6678898,   6678899,   6678987,
    6678988,   6678989,   6678998,   6678999,   6765432,   6765433,   6765434,
    6765443,   6765444,   6765445,   6765454,   6765455,   6765456,   6765543,
    6765544,   6765545,   6765554,   6765555,   6765556,   6765565,   6765566,
    6765567,   6765654,   6765655,   6765656,   6765665,   6765666,   6765667,
    6765676,   6765677,   6765678,   6766543,   6766544,   6766545,   6766554,
    6766555,   6766556,   6766565,   6766566,   6766567,   6766654,   6766655,
    6766656,   6766665,   6766666,   6766667,   6766676,   6766677,   6766678,
    6766765,   6766766,   6766767,   6766776,   6766777,   6766778,   6766787,
    6766788,   6766789,   6767654,   6767655,   6767656,   6767665,   6767666,
    6767667,   6767676,   6767677,   6767678,   6767765,   6767766,   6767767,
    6767776,   6767777,   6767778,   6767787,   6767788,   6767789,   6767876,
    6767877,   6767878,   6767887,   6767888,   6767889,   6767898,   6767899,
    6776543,   6776544,   6776545,   6776554,   6776555,   6776556,   6776565,
    6776566,   6776567,   6776654,   6776655,   6776656,   6776665,   6776666,
    6776667,   6776676,   6776677,   6776678,   6776765,   6776766,   6776767,
    6776776,   6776777,   6776778,   6776787,   6776788,   6776789,   6777654,
    6777655,   6777656,   6777665,   6777666,   6777667,   6777676,   6777677,
    6777678,   6777765,   6777766,   6777767,   6777776,   6777777,   6777778,
    6777787,   6777788,   6777789,   6777876,   6777877,   6777878,   6777887,
    6777888,   6777889,   6777898,   6777899,   6778765,   6778766,   6778767,
    6778776,   6778777,   6778778,   6778787,   6778788,   6778789,   6778876,
    6778877,   6778878,   6778887,   6778888,   6778889,   6778898,   6778899,
    6778987,   6778988,   6778989,   6778998,   6778999,   6787654,   6787655,
    6787656,   6787665,   6787666,   6787667,   6787676,   6787677,   6787678,
    6787765,   6787766,   6787767,   6787776,   6787777,   6787778,   6787787,
    6787788,   6787789,   6787876,   6787877,   6787878,   6787887,   6787888,
    6787889,   6787898,   6787899,   6788765,   6788766,   6788767,   6788776,
    6788777,   6788778,   6788787,   6788788,   6788789,   6788876,   6788877,
    6788878,   6788887,   6788888,   6788889,   6788898,   6788899,   6788987,
    6788988,   6788989,   6788998,   6788999,   6789876,   6789877,   6789878,
    6789887,   6789888,   6789889,   6789898,   6789899,   6789987,   6789988,
    6789989,   6789998,   6789999,   7654321,   7654322,   7654323,   7654332,
    7654333,   7654334,   7654343,   7654344,   7654345,   7654432,   7654433,
    7654434,   7654443,   7654444,   7654445,   7654454,   7654455,   7654456,
    7654543,   7654544,   7654545,   7654554,   7654555,   7654556,   7654565,
    7654566,   7654567,   7655432,   7655433,   7655434,   7655443,   7655444,
    7655445,   7655454,   7655455,   7655456,   7655543,   7655544,   7655545,
    7655554,   7655555,   7655556,   7655565,   7655566,   7655567,   7655654,
    7655655,   7655656,   7655665,   7655666,   7655667,   7655676,   7655677,
    7655678,   7656543,   7656544,   7656545,   7656554,   7656555,   7656556,
    7656565,   7656566,   7656567,   7656654,   7656655,   7656656,   7656665,
    7656666,   7656667,   7656676,   7656677,   7656678,   7656765,   7656766,
    7656767,   7656776,   7656777,   7656778,   7656787,   7656788,   7656789,
    7665432,   7665433,   7665434,   7665443,   7665444,   7665445,   7665454,
    7665455,   7665456,   7665543,   7665544,   7665545,   7665554,   7665555,
    7665556,   7665565,   7665566,   7665567,   7665654,   7665655,   7665656,
    7665665,   7665666,   7665667,   7665676,   7665677,   7665678,   7666543,
    7666544,   7666545,   7666554,   7666555,   7666556,   7666565,   7666566,
    7666567,   7666654,   7666655,   7666656,   7666665,   7666666,   7666667,
    7666676,   7666677,   7666678,   7666765,   7666766,   7666767,   7666776,
    7666777,   7666778,   7666787,   7666788,   7666789,   7667654,   7667655,
    7667656,   7667665,   7667666,   7667667,   7667676,   7667677,   7667678,
    7667765,   7667766,   7667767,   7667776,   7667777,   7667778,   7667787,
    7667788,   7667789,   7667876,   7667877,   7667878,   7667887,   7667888,
    7667889,   7667898,   7667899,   7676543,   7676544,   7676545,   7676554,
    7676555,   7676556,   7676565,   7676566,   7676567,   7676654,   7676655,
    7676656,   7676665,   7676666,   7676667,   7676676,   7676677,   7676678,
    7676765,   7676766,   7676767,   7676776,   7676777,   7676778,   7676787,
    7676788,   7676789,   7677654,   7677655,   7677656,   7677665,   7677666,
    7677667,   7677676,   7677677,   7677678,   7677765,   7677766,   7677767,
    7677776,   7677777,   7677778,   7677787,   7677788,   7677789,   7677876,
    7677877,   7677878,   7677887,   7677888,   7677889,   7677898,   7677899,
    7678765,   7678766,   7678767,   7678776,   7678777,   7678778,   7678787,
    7678788,   7678789,   7678876,   7678877,   7678878,   7678887,   7678888,
    7678889,   7678898,   7678899,   7678987,   7678988,   7678989,   7678998,
    7678999,   7765432,   7765433,   7765434,   7765443,   7765444,   7765445,
    7765454,   7765455,   7765456,   7765543,   7765544,   7765545,   7765554,
    7765555,   7765556,   7765565,   7765566,   7765567,   7765654,   7765655,
    7765656,   7765665,   7765666,   7765667,   7765676,   7765677,   7765678,
    7766543,   7766544,   7766545,   7766554,   7766555,   7766556,   7766565,
    7766566,   7766567,   7766654,   7766655,   7766656,   7766665,   7766666,
    7766667,   7766676,   7766677,   7766678,   7766765,   7766766,   7766767,
    7766776,   7766777,   7766778,   7766787,   7766788,   7766789,   7767654,
    7767655,   7767656,   7767665,   7767666,   7767667,   7767676,   7767677,
    7767678,   7767765,   7767766,   7767767,   7767776,   7767777,   7767778,
    7767787,   7767788,   7767789,   7767876,   7767877,   7767878,   7767887,
    7767888,   7767889,   7767898,   7767899,   7776543,   7776544,   7776545,
    7776554,   7776555,   7776556,   7776565,   7776566,   7776567,   7776654,
    7776655,   7776656,   7776665,   7776666,   7776667,   7776676,   7776677,
    7776678,   7776765,   7776766,   7776767,   7776776,   7776777,   7776778,
    7776787,   7776788,   7776789,   7777654,   7777655,   7777656,   7777665,
    7777666,   7777667,   7777676,   7777677,   7777678,   7777765,   7777766,
    7777767,   7777776,   7777777,   7777778,   7777787,   7777788,   7777789,
    7777876,   7777877,   7777878,   7777887,   7777888,   7777889,   7777898,
    7777899,   7778765,   7778766,   7778767,   7778776,   7778777,   7778778,
    7778787,   7778788,   7778789,   7778876,   7778877,   7778878,   7778887,
    7778888,   7778889,   7778898,   7778899,   7778987,   7778988,   7778989,
    7778998,   7778999,   7787654,   7787655,   7787656,   7787665,   7787666,
    7787667,   7787676,   7787677,   7787678,   7787765,   7787766,   7787767,
    7787776,   7787777,   7787778,   7787787,   7787788,   7787789,   7787876,
    7787877,   7787878,   7787887,   7787888,   7787889,   7787898,   7787899,
    7788765,   7788766,   7788767,   7788776,   7788777,   7788778,   7788787,
    7788788,   7788789,   7788876,   7788877,   7788878,   7788887,   7788888,
    7788889,   7788898,   7788899,   7788987,   7788988,   7788989,   7788998,
    7788999,   7789876,   7789877,   7789878,   7789887,   7789888,   7789889,
    7789898,   7789899,   7789987,   7789988,   7789989,   7789998,   7789999,
    7876543,   7876544,   7876545,   7876554,   7876555,   7876556,   7876565,
    7876566,   7876567,   7876654,   7876655,   7876656,   7876665,   7876666,
    7876667,   7876676,   7876677,   7876678,   7876765,   7876766,   7876767,
    7876776,   7876777,   7876778,   7876787,   7876788,   7876789,   7877654,
    7877655,   7877656,   7877665,   7877666,   7877667,   7877676,   7877677,
    7877678,   7877765,   7877766,   7877767,   7877776,   7877777,   7877778,
    7877787,   7877788,   7877789,   7877876,   7877877,   7877878,   7877887,
    7877888,   7877889,   7877898,   7877899,   7878765,   7878766,   7878767,
    7878776,   7878777,   7878778,   7878787,   7878788,   7878789,   7878876,
    7878877,   7878878,   7878887,   7878888,   7878889,   7878898,   7878899,
    7878987,   7878988,   7878989,   7878998,   7878999,   7887654,   7887655,
    7887656,   7887665,   7887666,   7887667,   7887676,   7887677,   7887678,
    7887765,   7887766,   7887767,   7887776,   7887777,   7887778,   7887787,
    7887788,   7887789,   7887876,   7887877,   7887878,   7887887,   7887888,
    7887889,   7887898,   7887899,   7888765,   7888766,   7888767,   7888776,
    7888777,   7888778,   7888787,   7888788,   7888789,   7888876,   7888877,
    7888878,   7888887,   7888888,   7888889,   7888898,   7888899,   7888987,
    7888988,   7888989,   7888998,   7888999,   7889876,   7889877,   7889878,
    7889887,   7889888,   7889889,   7889898,   7889899,   7889987,   7889988,
    7889989,   7889998,   7889999,   7898765,   7898766,   7898767,   7898776,
    7898777,   7898778,   7898787,   7898788,   7898789,   7898876,   7898877,
    7898878,   7898887,   7898888,   7898889,   7898898,   7898899,   7898987,
    7898988,   7898989,   7898998,   7898999,   7899876,   7899877,   7899878,
    7899887,   7899888,   7899889,   7899898,   7899899,   7899987,   7899988,
    7899989,   7899998,   7899999,   8765432,   8765433,   8765434,   8765443,
    8765444,   8765445,   8765454,   8765455,   8765456,   8765543,   8765544,
    8765545,   8765554,   8765555,   8765556,   8765565,   8765566,   8765567,
    8765654,   8765655,   8765656,   8765665,   8765666,   8765667,   8765676,
    8765677,   8765678,   8766543,   8766544,   8766545,   8766554,   8766555,
    8766556,   8766565,   8766566,   8766567,   8766654,   8766655,   8766656,
    8766665,   8766666,   8766667,   8766676,   8766677,   8766678,   8766765,
    8766766,   8766767,   8766776,   8766777,   8766778,   8766787,   8766788,
    8766789,   8767654,   8767655,   8767656,   8767665,   8767666,   8767667,
    8767676,   8767677,   8767678,   8767765,   8767766,   8767767,   8767776,
    8767777,   8767778,   8767787,   8767788,   8767789,   8767876,   8767877,
    8767878,   8767887,   8767888,   8767889,   8767898,   8767899,   8776543,
    8776544,   8776545,   8776554,   8776555,   8776556,   8776565,   8776566,
    8776567,   8776654,   8776655,   8776656,   8776665,   8776666,   8776667,
    8776676,   8776677,   8776678,   8776765,   8776766,   8776767,   8776776,
    8776777,   8776778,   8776787,   8776788,   8776789,   8777654,   8777655,
    8777656,   8777665,   8777666,   8777667,   8777676,   8777677,   8777678,
    8777765,   8777766,   8777767,   8777776,   8777777,   8777778,   8777787,
    8777788,   8777789,   8777876,   8777877,   8777878,   8777887,   8777888,
    8777889,   8777898,   8777899,   8778765,   8778766,   8778767,   8778776,
    8778777,   8778778,   8778787,   8778788,   8778789,   8778876,   8778877,
    8778878,   8778887,   8778888,   8778889,   8778898,   8778899,   8778987,
    8778988,   8778989,   8778998,   8778999,   8787654,   8787655,   8787656,
    8787665,   8787666,   8787667,   8787676,   8787677,   8787678,   8787765,
    8787766,   8787767,   8787776,   8787777,   8787778,   8787787,   8787788,
    8787789,   8787876,   8787877,   8787878,   8787887,   8787888,   8787889,
    8787898,   8787899,   8788765,   8788766,   8788767,   8788776,   8788777,
    8788778,   8788787,   8788788,   8788789,   8788876,   8788877,   8788878,
    8788887,   8788888,   8788889,   8788898,   8788899,   8788987,   8788988,
    8788989,   8788998,   8788999,   8789876,   8789877,   8789878,   8789887,
    8789888,   8789889,   8789898,   8789899,   8789987,   8789988,   8789989,
    8789998,   8789999,   8876543,   8876544,   8876545,   8876554,   8876555,
    8876556,   8876565,   8876566,   8876567,   8876654,   8876655,   8876656,
    8876665,   8876666,   8876667,   8876676,   8876677,   8876678,   8876765,
    8876766,   8876767,   8876776,   8876777,   8876778,   8876787,   8876788,
    8876789,   8877654,   8877655,   8877656,   8877665,   8877666,   8877667,
    8877676,   8877677,   8877678,   8877765,   8877766,   8877767,   8877776,
    8877777,   8877778,   8877787,   8877788,   8877789,   8877876,   8877877,
    8877878,   8877887,   8877888,   8877889,   8877898,   8877899,   8878765,
    8878766,   8878767,   8878776,   8878777,   8878778,   8878787,   8878788,
    8878789,   8878876,   8878877,   8878878,   8878887,   8878888,   8878889,
    8878898,   8878899,   8878987,   8878988,   8878989,   8878998,   8878999,
    8887654,   8887655,   8887656,   8887665,   8887666,   8887667,   8887676,
    8887677,   8887678,   8887765,   8887766,   8887767,   8887776,   8887777,
    8887778,   8887787,   8887788,   8887789,   8887876,   8887877,   8887878,
    8887887,   8887888,   8887889,   8887898,   8887899,   8888765,   8888766,
    8888767,   8888776,   8888777,   8888778,   8888787,   8888788,   8888789,
    8888876,   8888877,   8888878,   8888887,   8888888,   8888889,   8888898,
    8888899,   8888987,   8888988,   8888989,   8888998,   8888999,   8889876,
    8889877,   8889878,   8889887,   8889888,   8889889,   8889898,   8889899,
    8889987,   8889988,   8889989,   8889998,   8889999,   8898765,   8898766,
    8898767,   8898776,   8898777,   8898778,   8898787,   8898788,   8898789,
    8898876,   8898877,   8898878,   8898887,   8898888,   8898889,   8898898,
    8898899,   8898987,   8898988,   8898989,   8898998,   8898999,   8899876,
    8899877,   8899878,   8899887,   8899888,   8899889,   8899898,   8899899,
    8899987,   8899988,   8899989,   8899998,   8899999,   8987654,   8987655,
    8987656,   8987665,   8987666,   8987667,   8987676,   8987677,   8987678,
    8987765,   8987766,   8987767,   8987776,   8987777,   8987778,   8987787,
    8987788,   8987789,   8987876,   8987877,   8987878,   8987887,   8987888,
    8987889,   8987898,   8987899,   8988765,   8988766,   8988767,   8988776,
    8988777,   8988778,   8988787,   8988788,   8988789,   8988876,   8988877,
    8988878,   8988887,   8988888,   8988889,   8988898,   8988899,   8988987,
    8988988,   8988989,   8988998,   8988999,   8989876,   8989877,   8989878,
    8989887,   8989888,   8989889,   8989898,   8989899,   8989987,   8989988,
    8989989,   8989998,   8989999,   8998765,   8998766,   8998767,   8998776,
    8998777,   8998778,   8998787,   8998788,   8998789,   8998876,   8998877,
    8998878,   8998887,   8998888,   8998889,   8998898,   8998899,   8998987,
    8998988,   8998989,   8998998,   8998999,   8999876,   8999877,   8999878,
    8999887,   8999888,   8999889,   8999898,   8999899,   8999987,   8999988,
    8999989,   8999998,   8999999,   9876543,   9876544,   9876545,   9876554,
    9876555,   9876556,   9876565,   9876566,   9876567,   9876654,   9876655,
    9876656,   9876665,   9876666,   9876667,   9876676,   9876677,   9876678,
    9876765,   9876766,   9876767,   9876776,   9876777,   9876778,   9876787,
    9876788,   9876789,   9877654,   9877655,   9877656,   9877665,   9877666,
    9877667,   9877676,   9877677,   9877678,   9877765,   9877766,   9877767,
    9877776,   9877777,   9877778,   9877787,   9877788,   9877789,   9877876,
    9877877,   9877878,   9877887,   9877888,   9877889,   9877898,   9877899,
    9878765,   9878766,   9878767,   9878776,   9878777,   9878778,   9878787,
    9878788,   9878789,   9878876,   9878877,   9878878,   9878887,   9878888,
    9878889,   9878898,   9878899,   9878987,   9878988,   9878989,   9878998,
    9878999,   9887654,   9887655,   9887656,   9887665,   9887666,   9887667,
    9887676,   9887677,   9887678,   9887765,   9887766,   9887767,   9887776,
    9887777,   9887778,   9887787,   9887788,   9887789,   9887876,   9887877,
    9887878,   9887887,   9887888,   9887889,   9887898,   9887899,   9888765,
    9888766,   9888767,   9888776,   9888777,   9888778,   9888787,   9888788,
    9888789,   9888876,   9888877,   9888878,   9888887,   9888888,   9888889,
    9888898,   9888899,   9888987,   9888988,   9888989,   9888998,   9888999,
    9889876,   9889877,   9889878,   9889887,   9889888,   9889889,   9889898,
    9889899,   9889987,   9889988,   9889989,   9889998,   9889999,   9898765,
    9898766,   9898767,   9898776,   9898777,   9898778,   9898787,   9898788,
    9898789,   9898876,   9898877,   9898878,   9898887,   9898888,   9898889,
    9898898,   9898899,   9898987,   9898988,   9898989,   9898998,   9898999,
    9899876,   9899877,   9899878,   9899887,   9899888,   9899889,   9899898,
    9899899,   9899987,   9899988,   9899989,   9899998,   9899999,   9987654,
    9987655,   9987656,   9987665,   9987666,   9987667,   9987676,   9987677,
    9987678,   9987765,   9987766,   9987767,   9987776,   9987777,   9987778,
    9987787,   9987788,   9987789,   9987876,   9987877,   9987878,   9987887,
    9987888,   9987889,   9987898,   9987899,   9988765,   9988766,   9988767,
    9988776,   9988777,   9988778,   9988787,   9988788,   9988789,   9988876,
    9988877,   9988878,   9988887,   9988888,   9988889,   9988898,   9988899,
    9988987,   9988988,   9988989,   9988998,   9988999,   9989876,   9989877,
    9989878,   9989887,   9989888,   9989889,   9989898,   9989899,   9989987,
    9989988,   9989989,   9989998,   9989999,   9998765,   9998766,   9998767,
    9998776,   9998777,   9998778,   9998787,   9998788,   9998789,   9998876,
    9998877,   9998878,   9998887,   9998888,   9998889,   9998898,   9998899,
    9998987,   9998988,   9998989,   9998998,   9998999,   9999876,   9999877,
    9999878,   9999887,   9999888,   9999889,   9999898,   9999899,   9999987,
    9999988,   9999989,   9999998,   9999999,   10000000,  10000001,  10000010,
    10000011,  10000012,  10000100,  10000101,  10000110,  10000111,  10000112,
    10000121,  10000122,  10000123,  10001000,  10001001,  10001010,  10001011,
    10001012,  10001100,  10001101,  10001110,  10001111,  10001112,  10001121,
    10001122,  10001123,  10001210,  10001211,  10001212,  10001221,  10001222,
    10001223,  10001232,  10001233,  10001234,  10010000,  10010001,  10010010,
    10010011,  10010012,  10010100,  10010101,  10010110,  10010111,  10010112,
    10010121,  10010122,  10010123,  10011000,  10011001,  10011010,  10011011,
    10011012,  10011100,  10011101,  10011110,  10011111,  10011112,  10011121,
    10011122,  10011123,  10011210,  10011211,  10011212,  10011221,  10011222,
    10011223,  10011232,  10011233,  10011234,  10012100,  10012101,  10012110,
    10012111,  10012112,  10012121,  10012122,  10012123,  10012210,  10012211,
    10012212,  10012221,  10012222,  10012223,  10012232,  10012233,  10012234,
    10012321,  10012322,  10012323,  10012332,  10012333,  10012334,  10012343,
    10012344,  10012345,  10100000,  10100001,  10100010,  10100011,  10100012,
    10100100,  10100101,  10100110,  10100111,  10100112,  10100121,  10100122,
    10100123,  10101000,  10101001,  10101010,  10101011,  10101012,  10101100,
    10101101,  10101110,  10101111,  10101112,  10101121,  10101122,  10101123,
    10101210,  10101211,  10101212,  10101221,  10101222,  10101223,  10101232,
    10101233,  10101234,  10110000,  10110001,  10110010,  10110011,  10110012,
    10110100,  10110101,  10110110,  10110111,  10110112,  10110121,  10110122,
    10110123,  10111000,  10111001,  10111010,  10111011,  10111012,  10111100,
    10111101,  10111110,  10111111,  10111112,  10111121,  10111122,  10111123,
    10111210,  10111211,  10111212,  10111221,  10111222,  10111223,  10111232,
    10111233,  10111234,  10112100,  10112101,  10112110,  10112111,  10112112,
    10112121,  10112122,  10112123,  10112210,  10112211,  10112212,  10112221,
    10112222,  10112223,  10112232,  10112233,  10112234,  10112321,  10112322,
    10112323,  10112332,  10112333,  10112334,  10112343,  10112344,  10112345,
    10121000,  10121001,  10121010,  10121011,  10121012,  10121100,  10121101,
    10121110,  10121111,  10121112,  10121121,  10121122,  10121123,  10121210,
    10121211,  10121212,  10121221,  10121222,  10121223,  10121232,  10121233,
    10121234,  10122100,  10122101,  10122110,  10122111,  10122112,  10122121,
    10122122,  10122123,  10122210,  10122211,  10122212,  10122221,  10122222,
    10122223,  10122232,  10122233,  10122234,  10122321,  10122322,  10122323,
    10122332,  10122333,  10122334,  10122343,  10122344,  10122345,  10123210,
    10123211,  10123212,  10123221,  10123222,  10123223,  10123232,  10123233,
    10123234,  10123321,  10123322,  10123323,  10123332,  10123333,  10123334,
    10123343,  10123344,  10123345,  10123432,  10123433,  10123434,  10123443,
    10123444,  10123445,  10123454,  10123455,  10123456,  11000000,  11000001,
    11000010,  11000011,  11000012,  11000100,  11000101,  11000110,  11000111,
    11000112,  11000121,  11000122,  11000123,  11001000,  11001001,  11001010,
    11001011,  11001012,  11001100,  11001101,  11001110,  11001111,  11001112,
    11001121,  11001122,  11001123,  11001210,  11001211,  11001212,  11001221,
    11001222,  11001223,  11001232,  11001233,  11001234,  11010000,  11010001,
    11010010,  11010011,  11010012,  11010100,  11010101,  11010110,  11010111,
    11010112,  11010121,  11010122,  11010123,  11011000,  11011001,  11011010,
    11011011,  11011012,  11011100,  11011101,  11011110,  11011111,  11011112,
    11011121,  11011122,  11011123,  11011210,  11011211,  11011212,  11011221,
    11011222,  11011223,  11011232,  11011233,  11011234,  11012100,  11012101,
    11012110,  11012111,  11012112,  11012121,  11012122,  11012123,  11012210,
    11012211,  11012212,  11012221,  11012222,  11012223,  11012232,  11012233,
    11012234,  11012321,  11012322,  11012323,  11012332,  11012333,  11012334,
    11012343,  11012344,  11012345,  11100000,  11100001,  11100010,  11100011,
    11100012,  11100100,  11100101,  11100110,  11100111,  11100112,  11100121,
    11100122,  11100123,  11101000,  11101001,  11101010,  11101011,  11101012,
    11101100,  11101101,  11101110,  11101111,  11101112,  11101121,  11101122,
    11101123,  11101210,  11101211,  11101212,  11101221,  11101222,  11101223,
    11101232,  11101233,  11101234,  11110000,  11110001,  11110010,  11110011,
    11110012,  11110100,  11110101,  11110110,  11110111,  11110112,  11110121,
    11110122,  11110123,  11111000,  11111001,  11111010,  11111011,  11111012,
    11111100,  11111101,  11111110,  11111111,  11111112,  11111121,  11111122,
    11111123,  11111210,  11111211,  11111212,  11111221,  11111222,  11111223,
    11111232,  11111233,  11111234,  11112100,  11112101,  11112110,  11112111,
    11112112,  11112121,  11112122,  11112123,  11112210,  11112211,  11112212,
    11112221,  11112222,  11112223,  11112232,  11112233,  11112234,  11112321,
    11112322,  11112323,  11112332,  11112333,  11112334,  11112343,  11112344,
    11112345,  11121000,  11121001,  11121010,  11121011,  11121012,  11121100,
    11121101,  11121110,  11121111,  11121112,  11121121,  11121122,  11121123,
    11121210,  11121211,  11121212,  11121221,  11121222,  11121223,  11121232,
    11121233,  11121234,  11122100,  11122101,  11122110,  11122111,  11122112,
    11122121,  11122122,  11122123,  11122210,  11122211,  11122212,  11122221,
    11122222,  11122223,  11122232,  11122233,  11122234,  11122321,  11122322,
    11122323,  11122332,  11122333,  11122334,  11122343,  11122344,  11122345,
    11123210,  11123211,  11123212,  11123221,  11123222,  11123223,  11123232,
    11123233,  11123234,  11123321,  11123322,  11123323,  11123332,  11123333,
    11123334,  11123343,  11123344,  11123345,  11123432,  11123433,  11123434,
    11123443,  11123444,  11123445,  11123454,  11123455,  11123456,  11210000,
    11210001,  11210010,  11210011,  11210012,  11210100,  11210101,  11210110,
    11210111,  11210112,  11210121,  11210122,  11210123,  11211000,  11211001,
    11211010,  11211011,  11211012,  11211100,  11211101,  11211110,  11211111,
    11211112,  11211121,  11211122,  11211123,  11211210,  11211211,  11211212,
    11211221,  11211222,  11211223,  11211232,  11211233,  11211234,  11212100,
    11212101,  11212110,  11212111,  11212112,  11212121,  11212122,  11212123,
    11212210,  11212211,  11212212,  11212221,  11212222,  11212223,  11212232,
    11212233,  11212234,  11212321,  11212322,  11212323,  11212332,  11212333,
    11212334,  11212343,  11212344,  11212345,  11221000,  11221001,  11221010,
    11221011,  11221012,  11221100,  11221101,  11221110,  11221111,  11221112,
    11221121,  11221122,  11221123,  11221210,  11221211,  11221212,  11221221,
    11221222,  11221223,  11221232,  11221233,  11221234,  11222100,  11222101,
    11222110,  11222111,  11222112,  11222121,  11222122,  11222123,  11222210,
    11222211,  11222212,  11222221,  11222222,  11222223,  11222232,  11222233,
    11222234,  11222321,  11222322,  11222323,  11222332,  11222333,  11222334,
    11222343,  11222344,  11222345,  11223210,  11223211,  11223212,  11223221,
    11223222,  11223223,  11223232,  11223233,  11223234,  11223321,  11223322,
    11223323,  11223332,  11223333,  11223334,  11223343,  11223344,  11223345,
    11223432,  11223433,  11223434,  11223443,  11223444,  11223445,  11223454,
    11223455,  11223456,  11232100,  11232101,  11232110,  11232111,  11232112,
    11232121,  11232122,  11232123,  11232210,  11232211,  11232212,  11232221,
    11232222,  11232223,  11232232,  11232233,  11232234,  11232321,  11232322,
    11232323,  11232332,  11232333,  11232334,  11232343,  11232344,  11232345,
    11233210,  11233211,  11233212,  11233221,  11233222,  11233223,  11233232,
    11233233,  11233234,  11233321,  11233322,  11233323,  11233332,  11233333,
    11233334,  11233343,  11233344,  11233345,  11233432,  11233433,  11233434,
    11233443,  11233444,  11233445,  11233454,  11233455,  11233456,  11234321,
    11234322,  11234323,  11234332,  11234333,  11234334,  11234343,  11234344,
    11234345,  11234432,  11234433,  11234434,  11234443,  11234444,  11234445,
    11234454,  11234455,  11234456,  11234543,  11234544,  11234545,  11234554,
    11234555,  11234556,  11234565,  11234566,  11234567,  12100000,  12100001,
    12100010,  12100011,  12100012,  12100100,  12100101,  12100110,  12100111,
    12100112,  12100121,  12100122,  12100123,  12101000,  12101001,  12101010,
    12101011,  12101012,  12101100,  12101101,  12101110,  12101111,  12101112,
    12101121,  12101122,  12101123,  12101210,  12101211,  12101212,  12101221,
    12101222,  12101223,  12101232,  12101233,  12101234,  12110000,  12110001,
    12110010,  12110011,  12110012,  12110100,  12110101,  12110110,  12110111,
    12110112,  12110121,  12110122,  12110123,  12111000,  12111001,  12111010,
    12111011,  12111012,  12111100,  12111101,  12111110,  12111111,  12111112,
    12111121,  12111122,  12111123,  12111210,  12111211,  12111212,  12111221,
    12111222,  12111223,  12111232,  12111233,  12111234,  12112100,  12112101,
    12112110,  12112111,  12112112,  12112121,  12112122,  12112123,  12112210,
    12112211,  12112212,  12112221,  12112222,  12112223,  12112232,  12112233,
    12112234,  12112321,  12112322,  12112323,  12112332,  12112333,  12112334,
    12112343,  12112344,  12112345,  12121000,  12121001,  12121010,  12121011,
    12121012,  12121100,  12121101,  12121110,  12121111,  12121112,  12121121,
    12121122,  12121123,  12121210,  12121211,  12121212,  12121221,  12121222,
    12121223,  12121232,  12121233,  12121234,  12122100,  12122101,  12122110,
    12122111,  12122112,  12122121,  12122122,  12122123,  12122210,  12122211,
    12122212,  12122221,  12122222,  12122223,  12122232,  12122233,  12122234,
    12122321,  12122322,  12122323,  12122332,  12122333,  12122334,  12122343,
    12122344,  12122345,  12123210,  12123211,  12123212,  12123221,  12123222,
    12123223,  12123232,  12123233,  12123234,  12123321,  12123322,  12123323,
    12123332,  12123333,  12123334,  12123343,  12123344,  12123345,  12123432,
    12123433,  12123434,  12123443,  12123444,  12123445,  12123454,  12123455,
    12123456,  12210000,  12210001,  12210010,  12210011,  12210012,  12210100,
    12210101,  12210110,  12210111,  12210112,  12210121,  12210122,  12210123,
    12211000,  12211001,  12211010,  12211011,  12211012,  12211100,  12211101,
    12211110,  12211111,  12211112,  12211121,  12211122,  12211123,  12211210,
    12211211,  12211212,  12211221,  12211222,  12211223,  12211232,  12211233,
    12211234,  12212100,  12212101,  12212110,  12212111,  12212112,  12212121,
    12212122,  12212123,  12212210,  12212211,  12212212,  12212221,  12212222,
    12212223,  12212232,  12212233,  12212234,  12212321,  12212322,  12212323,
    12212332,  12212333,  12212334,  12212343,  12212344,  12212345,  12221000,
    12221001,  12221010,  12221011,  12221012,  12221100,  12221101,  12221110,
    12221111,  12221112,  12221121,  12221122,  12221123,  12221210,  12221211,
    12221212,  12221221,  12221222,  12221223,  12221232,  12221233,  12221234,
    12222100,  12222101,  12222110,  12222111,  12222112,  12222121,  12222122,
    12222123,  12222210,  12222211,  12222212,  12222221,  12222222,  12222223,
    12222232,  12222233,  12222234,  12222321,  12222322,  12222323,  12222332,
    12222333,  12222334,  12222343,  12222344,  12222345,  12223210,  12223211,
    12223212,  12223221,  12223222,  12223223,  12223232,  12223233,  12223234,
    12223321,  12223322,  12223323,  12223332,  12223333,  12223334,  12223343,
    12223344,  12223345,  12223432,  12223433,  12223434,  12223443,  12223444,
    12223445,  12223454,  12223455,  12223456,  12232100,  12232101,  12232110,
    12232111,  12232112,  12232121,  12232122,  12232123,  12232210,  12232211,
    12232212,  12232221,  12232222,  12232223,  12232232,  12232233,  12232234,
    12232321,  12232322,  12232323,  12232332,  12232333,  12232334,  12232343,
    12232344,  12232345,  12233210,  12233211,  12233212,  12233221,  12233222,
    12233223,  12233232,  12233233,  12233234,  12233321,  12233322,  12233323,
    12233332,  12233333,  12233334,  12233343,  12233344,  12233345,  12233432,
    12233433,  12233434,  12233443,  12233444,  12233445,  12233454,  12233455,
    12233456,  12234321,  12234322,  12234323,  12234332,  12234333,  12234334,
    12234343,  12234344,  12234345,  12234432,  12234433,  12234434,  12234443,
    12234444,  12234445,  12234454,  12234455,  12234456,  12234543,  12234544,
    12234545,  12234554,  12234555,  12234556,  12234565,  12234566,  12234567,
    12321000,  12321001,  12321010,  12321011,  12321012,  12321100,  12321101,
    12321110,  12321111,  12321112,  12321121,  12321122,  12321123,  12321210,
    12321211,  12321212,  12321221,  12321222,  12321223,  12321232,  12321233,
    12321234,  12322100,  12322101,  12322110,  12322111,  12322112,  12322121,
    12322122,  12322123,  12322210,  12322211,  12322212,  12322221,  12322222,
    12322223,  12322232,  12322233,  12322234,  12322321,  12322322,  12322323,
    12322332,  12322333,  12322334,  12322343,  12322344,  12322345,  12323210,
    12323211,  12323212,  12323221,  12323222,  12323223,  12323232,  12323233,
    12323234,  12323321,  12323322,  12323323,  12323332,  12323333,  12323334,
    12323343,  12323344,  12323345,  12323432,  12323433,  12323434,  12323443,
    12323444,  12323445,  12323454,  12323455,  12323456,  12332100,  12332101,
    12332110,  12332111,  12332112,  12332121,  12332122,  12332123,  12332210,
    12332211,  12332212,  12332221,  12332222,  12332223,  12332232,  12332233,
    12332234,  12332321,  12332322,  12332323,  12332332,  12332333,  12332334,
    12332343,  12332344,  12332345,  12333210,  12333211,  12333212,  12333221,
    12333222,  12333223,  12333232,  12333233,  12333234,  12333321,  12333322,
    12333323,  12333332,  12333333,  12333334,  12333343,  12333344,  12333345,
    12333432,  12333433,  12333434,  12333443,  12333444,  12333445,  12333454,
    12333455,  12333456,  12334321,  12334322,  12334323,  12334332,  12334333,
    12334334,  12334343,  12334344,  12334345,  12334432,  12334433,  12334434,
    12334443,  12334444,  12334445,  12334454,  12334455,  12334456,  12334543,
    12334544,  12334545,  12334554,  12334555,  12334556,  12334565,  12334566,
    12334567,  12343210,  12343211,  12343212,  12343221,  12343222,  12343223,
    12343232,  12343233,  12343234,  12343321,  12343322,  12343323,  12343332,
    12343333,  12343334,  12343343,  12343344,  12343345,  12343432,  12343433,
    12343434,  12343443,  12343444,  12343445,  12343454,  12343455,  12343456,
    12344321,  12344322,  12344323,  12344332,  12344333,  12344334,  12344343,
    12344344,  12344345,  12344432,  12344433,  12344434,  12344443,  12344444,
    12344445,  12344454,  12344455,  12344456,  12344543,  12344544,  12344545,
    12344554,  12344555,  12344556,  12344565,  12344566,  12344567,  12345432,
    12345433,  12345434,  12345443,  12345444,  12345445,  12345454,  12345455,
    12345456,  12345543,  12345544,  12345545,  12345554,  12345555,  12345556,
    12345565,  12345566,  12345567,  12345654,  12345655,  12345656,  12345665,
    12345666,  12345667,  12345676,  12345677,  12345678,  21000000,  21000001,
    21000010,  21000011,  21000012,  21000100,  21000101,  21000110,  21000111,
    21000112,  21000121,  21000122,  21000123,  21001000,  21001001,  21001010,
    21001011,  21001012,  21001100,  21001101,  21001110,  21001111,  21001112,
    21001121,  21001122,  21001123,  21001210,  21001211,  21001212,  21001221,
    21001222,  21001223,  21001232,  21001233,  21001234,  21010000,  21010001,
    21010010,  21010011,  21010012,  21010100,  21010101,  21010110,  21010111,
    21010112,  21010121,  21010122,  21010123,  21011000,  21011001,  21011010,
    21011011,  21011012,  21011100,  21011101,  21011110,  21011111,  21011112,
    21011121,  21011122,  21011123,  21011210,  21011211,  21011212,  21011221,
    21011222,  21011223,  21011232,  21011233,  21011234,  21012100,  21012101,
    21012110,  21012111,  21012112,  21012121,  21012122,  21012123,  21012210,
    21012211,  21012212,  21012221,  21012222,  21012223,  21012232,  21012233,
    21012234,  21012321,  21012322,  21012323,  21012332,  21012333,  21012334,
    21012343,  21012344,  21012345,  21100000,  21100001,  21100010,  21100011,
    21100012,  21100100,  21100101,  21100110,  21100111,  21100112,  21100121,
    21100122,  21100123,  21101000,  21101001,  21101010,  21101011,  21101012,
    21101100,  21101101,  21101110,  21101111,  21101112,  21101121,  21101122,
    21101123,  21101210,  21101211,  21101212,  21101221,  21101222,  21101223,
    21101232,  21101233,  21101234,  21110000,  21110001,  21110010,  21110011,
    21110012,  21110100,  21110101,  21110110,  21110111,  21110112,  21110121,
    21110122,  21110123,  21111000,  21111001,  21111010,  21111011,  21111012,
    21111100,  21111101,  21111110,  21111111,  21111112,  21111121,  21111122,
    21111123,  21111210,  21111211,  21111212,  21111221,  21111222,  21111223,
    21111232,  21111233,  21111234,  21112100,  21112101,  21112110,  21112111,
    21112112,  21112121,  21112122,  21112123,  21112210,  21112211,  21112212,
    21112221,  21112222,  21112223,  21112232,  21112233,  21112234,  21112321,
    21112322,  21112323,  21112332,  21112333,  21112334,  21112343,  21112344,
    21112345,  21121000,  21121001,  21121010,  21121011,  21121012,  21121100,
    21121101,  21121110,  21121111,  21121112,  21121121,  21121122,  21121123,
    21121210,  21121211,  21121212,  21121221,  21121222,  21121223,  21121232,
    21121233,  21121234,  21122100,  21122101,  21122110,  21122111,  21122112,
    21122121,  21122122,  21122123,  21122210,  21122211,  21122212,  21122221,
    21122222,  21122223,  21122232,  21122233,  21122234,  21122321,  21122322,
    21122323,  21122332,  21122333,  21122334,  21122343,  21122344,  21122345,
    21123210,  21123211,  21123212,  21123221,  21123222,  21123223,  21123232,
    21123233,  21123234,  21123321,  21123322,  21123323,  21123332,  21123333,
    21123334,  21123343,  21123344,  21123345,  21123432,  21123433,  21123434,
    21123443,  21123444,  21123445,  21123454,  21123455,  21123456,  21210000,
    21210001,  21210010,  21210011,  21210012,  21210100,  21210101,  21210110,
    21210111,  21210112,  21210121,  21210122,  21210123,  21211000,  21211001,
    21211010,  21211011,  21211012,  21211100,  21211101,  21211110,  21211111,
    21211112,  21211121,  21211122,  21211123,  21211210,  21211211,  21211212,
    21211221,  21211222,  21211223,  21211232,  21211233,  21211234,  21212100,
    21212101,  21212110,  21212111,  21212112,  21212121,  21212122,  21212123,
    21212210,  21212211,  21212212,  21212221,  21212222,  21212223,  21212232,
    21212233,  21212234,  21212321,  21212322,  21212323,  21212332,  21212333,
    21212334,  21212343,  21212344,  21212345,  21221000,  21221001,  21221010,
    21221011,  21221012,  21221100,  21221101,  21221110,  21221111,  21221112,
    21221121,  21221122,  21221123,  21221210,  21221211,  21221212,  21221221,
    21221222,  21221223,  21221232,  21221233,  21221234,  21222100,  21222101,
    21222110,  21222111,  21222112,  21222121,  21222122,  21222123,  21222210,
    21222211,  21222212,  21222221,  21222222,  21222223,  21222232,  21222233,
    21222234,  21222321,  21222322,  21222323,  21222332,  21222333,  21222334,
    21222343,  21222344,  21222345,  21223210,  21223211,  21223212,  21223221,
    21223222,  21223223,  21223232,  21223233,  21223234,  21223321,  21223322,
    21223323,  21223332,  21223333,  21223334,  21223343,  21223344,  21223345,
    21223432,  21223433,  21223434,  21223443,  21223444,  21223445,  21223454,
    21223455,  21223456,  21232100,  21232101,  21232110,  21232111,  21232112,
    21232121,  21232122,  21232123,  21232210,  21232211,  21232212,  21232221,
    21232222,  21232223,  21232232,  21232233,  21232234,  21232321,  21232322,
    21232323,  21232332,  21232333,  21232334,  21232343,  21232344,  21232345,
    21233210,  21233211,  21233212,  21233221,  21233222,  21233223,  21233232,
    21233233,  21233234,  21233321,  21233322,  21233323,  21233332,  21233333,
    21233334,  21233343,  21233344,  21233345,  21233432,  21233433,  21233434,
    21233443,  21233444,  21233445,  21233454,  21233455,  21233456,  21234321,
    21234322,  21234323,  21234332,  21234333,  21234334,  21234343,  21234344,
    21234345,  21234432,  21234433,  21234434,  21234443,  21234444,  21234445,
    21234454,  21234455,  21234456,  21234543,  21234544,  21234545,  21234554,
    21234555,  21234556,  21234565,  21234566,  21234567,  22100000,  22100001,
    22100010,  22100011,  22100012,  22100100,  22100101,  22100110,  22100111,
    22100112,  22100121,  22100122,  22100123,  22101000,  22101001,  22101010,
    22101011,  22101012,  22101100,  22101101,  22101110,  22101111,  22101112,
    22101121,  22101122,  22101123,  22101210,  22101211,  22101212,  22101221,
    22101222,  22101223,  22101232,  22101233,  22101234,  22110000,  22110001,
    22110010,  22110011,  22110012,  22110100,  22110101,  22110110,  22110111,
    22110112,  22110121,  22110122,  22110123,  22111000,  22111001,  22111010,
    22111011,  22111012,  22111100,  22111101,  22111110,  22111111,  22111112,
    22111121,  22111122,  22111123,  22111210,  22111211,  22111212,  22111221,
    22111222,  22111223,  22111232,  22111233,  22111234,  22112100,  22112101,
    22112110,  22112111,  22112112,  22112121,  22112122,  22112123,  22112210,
    22112211,  22112212,  22112221,  22112222,  22112223,  22112232,  22112233,
    22112234,  22112321,  22112322,  22112323,  22112332,  22112333,  22112334,
    22112343,  22112344,  22112345,  22121000,  22121001,  22121010,  22121011,
    22121012,  22121100,  22121101,  22121110,  22121111,  22121112,  22121121,
    22121122,  22121123,  22121210,  22121211,  22121212,  22121221,  22121222,
    22121223,  22121232,  22121233,  22121234,  22122100,  22122101,  22122110,
    22122111,  22122112,  22122121,  22122122,  22122123,  22122210,  22122211,
    22122212,  22122221,  22122222,  22122223,  22122232,  22122233,  22122234,
    22122321,  22122322,  22122323,  22122332,  22122333,  22122334,  22122343,
    22122344,  22122345,  22123210,  22123211,  22123212,  22123221,  22123222,
    22123223,  22123232,  22123233,  22123234,  22123321,  22123322,  22123323,
    22123332,  22123333,  22123334,  22123343,  22123344,  22123345,  22123432,
    22123433,  22123434,  22123443,  22123444,  22123445,  22123454,  22123455,
    22123456,  22210000,  22210001,  22210010,  22210011,  22210012,  22210100,
    22210101,  22210110,  22210111,  22210112,  22210121,  22210122,  22210123,
    22211000,  22211001,  22211010,  22211011,  22211012,  22211100,  22211101,
    22211110,  22211111,  22211112,  22211121,  22211122,  22211123,  22211210,
    22211211,  22211212,  22211221,  22211222,  22211223,  22211232,  22211233,
    22211234,  22212100,  22212101,  22212110,  22212111,  22212112,  22212121,
    22212122,  22212123,  22212210,  22212211,  22212212,  22212221,  22212222,
    22212223,  22212232,  22212233,  22212234,  22212321,  22212322,  22212323,
    22212332,  22212333,  22212334,  22212343,  22212344,  22212345,  22221000,
    22221001,  22221010,  22221011,  22221012,  22221100,  22221101,  22221110,
    22221111,  22221112,  22221121,  22221122,  22221123,  22221210,  22221211,
    22221212,  22221221,  22221222,  22221223,  22221232,  22221233,  22221234,
    22222100,  22222101,  22222110,  22222111,  22222112,  22222121,  22222122,
    22222123,  22222210,  22222211,  22222212,  22222221,  22222222,  22222223,
    22222232,  22222233,  22222234,  22222321,  22222322,  22222323,  22222332,
    22222333,  22222334,  22222343,  22222344,  22222345,  22223210,  22223211,
    22223212,  22223221,  22223222,  22223223,  22223232,  22223233,  22223234,
    22223321,  22223322,  22223323,  22223332,  22223333,  22223334,  22223343,
    22223344,  22223345,  22223432,  22223433,  22223434,  22223443,  22223444,
    22223445,  22223454,  22223455,  22223456,  22232100,  22232101,  22232110,
    22232111,  22232112,  22232121,  22232122,  22232123,  22232210,  22232211,
    22232212,  22232221,  22232222,  22232223,  22232232,  22232233,  22232234,
    22232321,  22232322,  22232323,  22232332,  22232333,  22232334,  22232343,
    22232344,  22232345,  22233210,  22233211,  22233212,  22233221,  22233222,
    22233223,  22233232,  22233233,  22233234,  22233321,  22233322,  22233323,
    22233332,  22233333,  22233334,  22233343,  22233344,  22233345,  22233432,
    22233433,  22233434,  22233443,  22233444,  22233445,  22233454,  22233455,
    22233456,  22234321,  22234322,  22234323,  22234332,  22234333,  22234334,
    22234343,  22234344,  22234345,  22234432,  22234433,  22234434,  22234443,
    22234444,  22234445,  22234454,  22234455,  22234456,  22234543,  22234544,
    22234545,  22234554,  22234555,  22234556,  22234565,  22234566,  22234567,
    22321000,  22321001,  22321010,  22321011,  22321012,  22321100,  22321101,
    22321110,  22321111,  22321112,  22321121,  22321122,  22321123,  22321210,
    22321211,  22321212,  22321221,  22321222,  22321223,  22321232,  22321233,
    22321234,  22322100,  22322101,  22322110,  22322111,  22322112,  22322121,
    22322122,  22322123,  22322210,  22322211,  22322212,  22322221,  22322222,
    22322223,  22322232,  22322233,  22322234,  22322321,  22322322,  22322323,
    22322332,  22322333,  22322334,  22322343,  22322344,  22322345,  22323210,
    22323211,  22323212,  22323221,  22323222,  22323223,  22323232,  22323233,
    22323234,  22323321,  22323322,  22323323,  22323332,  22323333,  22323334,
    22323343,  22323344,  22323345,  22323432,  22323433,  22323434,  22323443,
    22323444,  22323445,  22323454,  22323455,  22323456,  22332100,  22332101,
    22332110,  22332111,  22332112,  22332121,  22332122,  22332123,  22332210,
    22332211,  22332212,  22332221,  22332222,  22332223,  22332232,  22332233,
    22332234,  22332321,  22332322,  22332323,  22332332,  22332333,  22332334,
    22332343,  22332344,  22332345,  22333210,  22333211,  22333212,  22333221,
    22333222,  22333223,  22333232,  22333233,  22333234,  22333321,  22333322,
    22333323,  22333332,  22333333,  22333334,  22333343,  22333344,  22333345,
    22333432,  22333433,  22333434,  22333443,  22333444,  22333445,  22333454,
    22333455,  22333456,  22334321,  22334322,  22334323,  22334332,  22334333,
    22334334,  22334343,  22334344,  22334345,  22334432,  22334433,  22334434,
    22334443,  22334444,  22334445,  22334454,  22334455,  22334456,  22334543,
    22334544,  22334545,  22334554,  22334555,  22334556,  22334565,  22334566,
    22334567,  22343210,  22343211,  22343212,  22343221,  22343222,  22343223,
    22343232,  22343233,  22343234,  22343321,  22343322,  22343323,  22343332,
    22343333,  22343334,  22343343,  22343344,  22343345,  22343432,  22343433,
    22343434,  22343443,  22343444,  22343445,  22343454,  22343455,  22343456,
    22344321,  22344322,  22344323,  22344332,  22344333,  22344334,  22344343,
    22344344,  22344345,  22344432,  22344433,  22344434,  22344443,  22344444,
    22344445,  22344454,  22344455,  22344456,  22344543,  22344544,  22344545,
    22344554,  22344555,  22344556,  22344565,  22344566,  22344567,  22345432,
    22345433,  22345434,  22345443,  22345444,  22345445,  22345454,  22345455,
    22345456,  22345543,  22345544,  22345545,  22345554,  22345555,  22345556,
    22345565,  22345566,  22345567,  22345654,  22345655,  22345656,  22345665,
    22345666,  22345667,  22345676,  22345677,  22345678,  23210000,  23210001,
    23210010,  23210011,  23210012,  23210100,  23210101,  23210110,  23210111,
    23210112,  23210121,  23210122,  23210123,  23211000,  23211001,  23211010,
    23211011,  23211012,  23211100,  23211101,  23211110,  23211111,  23211112,
    23211121,  23211122,  23211123,  23211210,  23211211,  23211212,  23211221,
    23211222,  23211223,  23211232,  23211233,  23211234,  23212100,  23212101,
    23212110,  23212111,  23212112,  23212121,  23212122,  23212123,  23212210,
    23212211,  23212212,  23212221,  23212222,  23212223,  23212232,  23212233,
    23212234,  23212321,  23212322,  23212323,  23212332,  23212333,  23212334,
    23212343,  23212344,  23212345,  23221000,  23221001,  23221010,  23221011,
    23221012,  23221100,  23221101,  23221110,  23221111,  23221112,  23221121,
    23221122,  23221123,  23221210,  23221211,  23221212,  23221221,  23221222,
    23221223,  23221232,  23221233,  23221234,  23222100,  23222101,  23222110,
    23222111,  23222112,  23222121,  23222122,  23222123,  23222210,  23222211,
    23222212,  23222221,  23222222,  23222223,  23222232,  23222233,  23222234,
    23222321,  23222322,  23222323,  23222332,  23222333,  23222334,  23222343,
    23222344,  23222345,  23223210,  23223211,  23223212,  23223221,  23223222,
    23223223,  23223232,  23223233,  23223234,  23223321,  23223322,  23223323,
    23223332,  23223333,  23223334,  23223343,  23223344,  23223345,  23223432,
    23223433,  23223434,  23223443,  23223444,  23223445,  23223454,  23223455,
    23223456,  23232100,  23232101,  23232110,  23232111,  23232112,  23232121,
    23232122,  23232123,  23232210,  23232211,  23232212,  23232221,  23232222,
    23232223,  23232232,  23232233,  23232234,  23232321,  23232322,  23232323,
    23232332,  23232333,  23232334,  23232343,  23232344,  23232345,  23233210,
    23233211,  23233212,  23233221,  23233222,  23233223,  23233232,  23233233,
    23233234,  23233321,  23233322,  23233323,  23233332,  23233333,  23233334,
    23233343,  23233344,  23233345,  23233432,  23233433,  23233434,  23233443,
    23233444,  23233445,  23233454,  23233455,  23233456,  23234321,  23234322,
    23234323,  23234332,  23234333,  23234334,  23234343,  23234344,  23234345,
    23234432,  23234433,  23234434,  23234443,  23234444,  23234445,  23234454,
    23234455,  23234456,  23234543,  23234544,  23234545,  23234554,  23234555,
    23234556,  23234565,  23234566,  23234567,  23321000,  23321001,  23321010,
    23321011,  23321012,  23321100,  23321101,  23321110,  23321111,  23321112,
    23321121,  23321122,  23321123,  23321210,  23321211,  23321212,  23321221,
    23321222,  23321223,  23321232,  23321233,  23321234,  23322100,  23322101,
    23322110,  23322111,  23322112,  23322121,  23322122,  23322123,  23322210,
    23322211,  23322212,  23322221,  23322222,  23322223,  23322232,  23322233,
    23322234,  23322321,  23322322,  23322323,  23322332,  23322333,  23322334,
    23322343,  23322344,  23322345,  23323210,  23323211,  23323212,  23323221,
    23323222,  23323223,  23323232,  23323233,  23323234,  23323321,  23323322,
    23323323,  23323332,  23323333,  23323334,  23323343,  23323344,  23323345,
    23323432,  23323433,  23323434,  23323443,  23323444,  23323445,  23323454,
    23323455,  23323456,  23332100,  23332101,  23332110,  23332111,  23332112,
    23332121,  23332122,  23332123,  23332210,  23332211,  23332212,  23332221,
    23332222,  23332223,  23332232,  23332233,  23332234,  23332321,  23332322,
    23332323,  23332332,  23332333,  23332334,  23332343,  23332344,  23332345,
    23333210,  23333211,  23333212,  23333221,  23333222,  23333223,  23333232,
    23333233,  23333234,  23333321,  23333322,  23333323,  23333332,  23333333,
    23333334,  23333343,  23333344,  23333345,  23333432,  23333433,  23333434,
    23333443,  23333444,  23333445,  23333454,  23333455,  23333456,  23334321,
    23334322,  23334323,  23334332,  23334333,  23334334,  23334343,  23334344,
    23334345,  23334432,  23334433,  23334434,  23334443,  23334444,  23334445,
    23334454,  23334455,  23334456,  23334543,  23334544,  23334545,  23334554,
    23334555,  23334556,  23334565,  23334566,  23334567,  23343210,  23343211,
    23343212,  23343221,  23343222,  23343223,  23343232,  23343233,  23343234,
    23343321,  23343322,  23343323,  23343332,  23343333,  23343334,  23343343,
    23343344,  23343345,  23343432,  23343433,  23343434,  23343443,  23343444,
    23343445,  23343454,  23343455,  23343456,  23344321,  23344322,  23344323,
    23344332,  23344333,  23344334,  23344343,  23344344,  23344345,  23344432,
    23344433,  23344434,  23344443,  23344444,  23344445,  23344454,  23344455,
    23344456,  23344543,  23344544,  23344545,  23344554,  23344555,  23344556,
    23344565,  23344566,  23344567,  23345432,  23345433,  23345434,  23345443,
    23345444,  23345445,  23345454,  23345455,  23345456,  23345543,  23345544,
    23345545,  23345554,  23345555,  23345556,  23345565,  23345566,  23345567,
    23345654,  23345655,  23345656,  23345665,  23345666,  23345667,  23345676,
    23345677,  23345678,  23432100,  23432101,  23432110,  23432111,  23432112,
    23432121,  23432122,  23432123,  23432210,  23432211,  23432212,  23432221,
    23432222,  23432223,  23432232,  23432233,  23432234,  23432321,  23432322,
    23432323,  23432332,  23432333,  23432334,  23432343,  23432344,  23432345,
    23433210,  23433211,  23433212,  23433221,  23433222,  23433223,  23433232,
    23433233,  23433234,  23433321,  23433322,  23433323,  23433332,  23433333,
    23433334,  23433343,  23433344,  23433345,  23433432,  23433433,  23433434,
    23433443,  23433444,  23433445,  23433454,  23433455,  23433456,  23434321,
    23434322,  23434323,  23434332,  23434333,  23434334,  23434343,  23434344,
    23434345,  23434432,  23434433,  23434434,  23434443,  23434444,  23434445,
    23434454,  23434455,  23434456,  23434543,  23434544,  23434545,  23434554,
    23434555,  23434556,  23434565,  23434566,  23434567,  23443210,  23443211,
    23443212,  23443221,  23443222,  23443223,  23443232,  23443233,  23443234,
    23443321,  23443322,  23443323,  23443332,  23443333,  23443334,  23443343,
    23443344,  23443345,  23443432,  23443433,  23443434,  23443443,  23443444,
    23443445,  23443454,  23443455,  23443456,  23444321,  23444322,  23444323,
    23444332,  23444333,  23444334,  23444343,  23444344,  23444345,  23444432,
    23444433,  23444434,  23444443,  23444444,  23444445,  23444454,  23444455,
    23444456,  23444543,  23444544,  23444545,  23444554,  23444555,  23444556,
    23444565,  23444566,  23444567,  23445432,  23445433,  23445434,  23445443,
    23445444,  23445445,  23445454,  23445455,  23445456,  23445543,  23445544,
    23445545,  23445554,  23445555,  23445556,  23445565,  23445566,  23445567,
    23445654,  23445655,  23445656,  23445665,  23445666,  23445667,  23445676,
    23445677,  23445678,  23454321,  23454322,  23454323,  23454332,  23454333,
    23454334,  23454343,  23454344,  23454345,  23454432,  23454433,  23454434,
    23454443,  23454444,  23454445,  23454454,  23454455,  23454456,  23454543,
    23454544,  23454545,  23454554,  23454555,  23454556,  23454565,  23454566,
    23454567,  23455432,  23455433,  23455434,  23455443,  23455444,  23455445,
    23455454,  23455455,  23455456,  23455543,  23455544,  23455545,  23455554,
    23455555,  23455556,  23455565,  23455566,  23455567,  23455654,  23455655,
    23455656,  23455665,  23455666,  23455667,  23455676,  23455677,  23455678,
    23456543,  23456544,  23456545,  23456554,  23456555,  23456556,  23456565,
    23456566,  23456567,  23456654,  23456655,  23456656,  23456665,  23456666,
    23456667,  23456676,  23456677,  23456678,  23456765,  23456766,  23456767,
    23456776,  23456777,  23456778,  23456787,  23456788,  23456789,  32100000,
    32100001,  32100010,  32100011,  32100012,  32100100,  32100101,  32100110,
    32100111,  32100112,  32100121,  32100122,  32100123,  32101000,  32101001,
    32101010,  32101011,  32101012,  32101100,  32101101,  32101110,  32101111,
    32101112,  32101121,  32101122,  32101123,  32101210,  32101211,  32101212,
    32101221,  32101222,  32101223,  32101232,  32101233,  32101234,  32110000,
    32110001,  32110010,  32110011,  32110012,  32110100,  32110101,  32110110,
    32110111,  32110112,  32110121,  32110122,  32110123,  32111000,  32111001,
    32111010,  32111011,  32111012,  32111100,  32111101,  32111110,  32111111,
    32111112,  32111121,  32111122,  32111123,  32111210,  32111211,  32111212,
    32111221,  32111222,  32111223,  32111232,  32111233,  32111234,  32112100,
    32112101,  32112110,  32112111,  32112112,  32112121,  32112122,  32112123,
    32112210,  32112211,  32112212,  32112221,  32112222,  32112223,  32112232,
    32112233,  32112234,  32112321,  32112322,  32112323,  32112332,  32112333,
    32112334,  32112343,  32112344,  32112345,  32121000,  32121001,  32121010,
    32121011,  32121012,  32121100,  32121101,  32121110,  32121111,  32121112,
    32121121,  32121122,  32121123,  32121210,  32121211,  32121212,  32121221,
    32121222,  32121223,  32121232,  32121233,  32121234,  32122100,  32122101,
    32122110,  32122111,  32122112,  32122121,  32122122,  32122123,  32122210,
    32122211,  32122212,  32122221,  32122222,  32122223,  32122232,  32122233,
    32122234,  32122321,  32122322,  32122323,  32122332,  32122333,  32122334,
    32122343,  32122344,  32122345,  32123210,  32123211,  32123212,  32123221,
    32123222,  32123223,  32123232,  32123233,  32123234,  32123321,  32123322,
    32123323,  32123332,  32123333,  32123334,  32123343,  32123344,  32123345,
    32123432,  32123433,  32123434,  32123443,  32123444,  32123445,  32123454,
    32123455,  32123456,  32210000,  32210001,  32210010,  32210011,  32210012,
    32210100,  32210101,  32210110,  32210111,  32210112,  32210121,  32210122,
    32210123,  32211000,  32211001,  32211010,  32211011,  32211012,  32211100,
    32211101,  32211110,  32211111,  32211112,  32211121,  32211122,  32211123,
    32211210,  32211211,  32211212,  32211221,  32211222,  32211223,  32211232,
    32211233,  32211234,  32212100,  32212101,  32212110,  32212111,  32212112,
    32212121,  32212122,  32212123,  32212210,  32212211,  32212212,  32212221,
    32212222,  32212223,  32212232,  32212233,  32212234,  32212321,  32212322,
    32212323,  32212332,  32212333,  32212334,  32212343,  32212344,  32212345,
    32221000,  32221001,  32221010,  32221011,  32221012,  32221100,  32221101,
    32221110,  32221111,  32221112,  32221121,  32221122,  32221123,  32221210,
    32221211,  32221212,  32221221,  32221222,  32221223,  32221232,  32221233,
    32221234,  32222100,  32222101,  32222110,  32222111,  32222112,  32222121,
    32222122,  32222123,  32222210,  32222211,  32222212,  32222221,  32222222,
    32222223,  32222232,  32222233,  32222234,  32222321,  32222322,  32222323,
    32222332,  32222333,  32222334,  32222343,  32222344,  32222345,  32223210,
    32223211,  32223212,  32223221,  32223222,  32223223,  32223232,  32223233,
    32223234,  32223321,  32223322,  32223323,  32223332,  32223333,  32223334,
    32223343,  32223344,  32223345,  32223432,  32223433,  32223434,  32223443,
    32223444,  32223445,  32223454,  32223455,  32223456,  32232100,  32232101,
    32232110,  32232111,  32232112,  32232121,  32232122,  32232123,  32232210,
    32232211,  32232212,  32232221,  32232222,  32232223,  32232232,  32232233,
    32232234,  32232321,  32232322,  32232323,  32232332,  32232333,  32232334,
    32232343,  32232344,  32232345,  32233210,  32233211,  32233212,  32233221,
    32233222,  32233223,  32233232,  32233233,  32233234,  32233321,  32233322,
    32233323,  32233332,  32233333,  32233334,  32233343,  32233344,  32233345,
    32233432,  32233433,  32233434,  32233443,  32233444,  32233445,  32233454,
    32233455,  32233456,  32234321,  32234322,  32234323,  32234332,  32234333,
    32234334,  32234343,  32234344,  32234345,  32234432,  32234433,  32234434,
    32234443,  32234444,  32234445,  32234454,  32234455,  32234456,  32234543,
    32234544,  32234545,  32234554,  32234555,  32234556,  32234565,  32234566,
    32234567,  32321000,  32321001,  32321010,  32321011,  32321012,  32321100,
    32321101,  32321110,  32321111,  32321112,  32321121,  32321122,  32321123,
    32321210,  32321211,  32321212,  32321221,  32321222,  32321223,  32321232,
    32321233,  32321234,  32322100,  32322101,  32322110,  32322111,  32322112,
    32322121,  32322122,  32322123,  32322210,  32322211,  32322212,  32322221,
    32322222,  32322223,  32322232,  32322233,  32322234,  32322321,  32322322,
    32322323,  32322332,  32322333,  32322334,  32322343,  32322344,  32322345,
    32323210,  32323211,  32323212,  32323221,  32323222,  32323223,  32323232,
    32323233,  32323234,  32323321,  32323322,  32323323,  32323332,  32323333,
    32323334,  32323343,  32323344,  32323345,  32323432,  32323433,  32323434,
    32323443,  32323444,  32323445,  32323454,  32323455,  32323456,  32332100,
    32332101,  32332110,  32332111,  32332112,  32332121,  32332122,  32332123,
    32332210,  32332211,  32332212,  32332221,  32332222,  32332223,  32332232,
    32332233,  32332234,  32332321,  32332322,  32332323,  32332332,  32332333,
    32332334,  32332343,  32332344,  32332345,  32333210,  32333211,  32333212,
    32333221,  32333222,  32333223,  32333232,  32333233,  32333234,  32333321,
    32333322,  32333323,  32333332,  32333333,  32333334,  32333343,  32333344,
    32333345,  32333432,  32333433,  32333434,  32333443,  32333444,  32333445,
    32333454,  32333455,  32333456,  32334321,  32334322,  32334323,  32334332,
    32334333,  32334334,  32334343,  32334344,  32334345,  32334432,  32334433,
    32334434,  32334443,  32334444,  32334445,  32334454,  32334455,  32334456,
    32334543,  32334544,  32334545,  32334554,  32334555,  32334556,  32334565,
    32334566,  32334567,  32343210,  32343211,  32343212,  32343221,  32343222,
    32343223,  32343232,  32343233,  32343234,  32343321,  32343322,  32343323,
    32343332,  32343333,  32343334,  32343343,  32343344,  32343345,  32343432,
    32343433,  32343434,  32343443,  32343444,  32343445,  32343454,  32343455,
    32343456,  32344321,  32344322,  32344323,  32344332,  32344333,  32344334,
    32344343,  32344344,  32344345,  32344432,  32344433,  32344434,  32344443,
    32344444,  32344445,  32344454,  32344455,  32344456,  32344543,  32344544,
    32344545,  32344554,  32344555,  32344556,  32344565,  32344566,  32344567,
    32345432,  32345433,  32345434,  32345443,  32345444,  32345445,  32345454,
    32345455,  32345456,  32345543,  32345544,  32345545,  32345554,  32345555,
    32345556,  32345565,  32345566,  32345567,  32345654,  32345655,  32345656,
    32345665,  32345666,  32345667,  32345676,  32345677,  32345678,  33210000,
    33210001,  33210010,  33210011,  33210012,  33210100,  33210101,  33210110,
    33210111,  33210112,  33210121,  33210122,  33210123,  33211000,  33211001,
    33211010,  33211011,  33211012,  33211100,  33211101,  33211110,  33211111,
    33211112,  33211121,  33211122,  33211123,  33211210,  33211211,  33211212,
    33211221,  33211222,  33211223,  33211232,  33211233,  33211234,  33212100,
    33212101,  33212110,  33212111,  33212112,  33212121,  33212122,  33212123,
    33212210,  33212211,  33212212,  33212221,  33212222,  33212223,  33212232,
    33212233,  33212234,  33212321,  33212322,  33212323,  33212332,  33212333,
    33212334,  33212343,  33212344,  33212345,  33221000,  33221001,  33221010,
    33221011,  33221012,  33221100,  33221101,  33221110,  33221111,  33221112,
    33221121,  33221122,  33221123,  33221210,  33221211,  33221212,  33221221,
    33221222,  33221223,  33221232,  33221233,  33221234,  33222100,  33222101,
    33222110,  33222111,  33222112,  33222121,  33222122,  33222123,  33222210,
    33222211,  33222212,  33222221,  33222222,  33222223,  33222232,  33222233,
    33222234,  33222321,  33222322,  33222323,  33222332,  33222333,  33222334,
    33222343,  33222344,  33222345,  33223210,  33223211,  33223212,  33223221,
    33223222,  33223223,  33223232,  33223233,  33223234,  33223321,  33223322,
    33223323,  33223332,  33223333,  33223334,  33223343,  33223344,  33223345,
    33223432,  33223433,  33223434,  33223443,  33223444,  33223445,  33223454,
    33223455,  33223456,  33232100,  33232101,  33232110,  33232111,  33232112,
    33232121,  33232122,  33232123,  33232210,  33232211,  33232212,  33232221,
    33232222,  33232223,  33232232,  33232233,  33232234,  33232321,  33232322,
    33232323,  33232332,  33232333,  33232334,  33232343,  33232344,  33232345,
    33233210,  33233211,  33233212,  33233221,  33233222,  33233223,  33233232,
    33233233,  33233234,  33233321,  33233322,  33233323,  33233332,  33233333,
    33233334,  33233343,  33233344,  33233345,  33233432,  33233433,  33233434,
    33233443,  33233444,  33233445,  33233454,  33233455,  33233456,  33234321,
    33234322,  33234323,  33234332,  33234333,  33234334,  33234343,  33234344,
    33234345,  33234432,  33234433,  33234434,  33234443,  33234444,  33234445,
    33234454,  33234455,  33234456,  33234543,  33234544,  33234545,  33234554,
    33234555,  33234556,  33234565,  33234566,  33234567,  33321000,  33321001,
    33321010,  33321011,  33321012,  33321100,  33321101,  33321110,  33321111,
    33321112,  33321121,  33321122,  33321123,  33321210,  33321211,  33321212,
    33321221,  33321222,  33321223,  33321232,  33321233,  33321234,  33322100,
    33322101,  33322110,  33322111,  33322112,  33322121,  33322122,  33322123,
    33322210,  33322211,  33322212,  33322221,  33322222,  33322223,  33322232,
    33322233,  33322234,  33322321,  33322322,  33322323,  33322332,  33322333,
    33322334,  33322343,  33322344,  33322345,  33323210,  33323211,  33323212,
    33323221,  33323222,  33323223,  33323232,  33323233,  33323234,  33323321,
    33323322,  33323323,  33323332,  33323333,  33323334,  33323343,  33323344,
    33323345,  33323432,  33323433,  33323434,  33323443,  33323444,  33323445,
    33323454,  33323455,  33323456,  33332100,  33332101,  33332110,  33332111,
    33332112,  33332121,  33332122,  33332123,  33332210,  33332211,  33332212,
    33332221,  33332222,  33332223,  33332232,  33332233,  33332234,  33332321,
    33332322,  33332323,  33332332,  33332333,  33332334,  33332343,  33332344,
    33332345,  33333210,  33333211,  33333212,  33333221,  33333222,  33333223,
    33333232,  33333233,  33333234,  33333321,  33333322,  33333323,  33333332,
    33333333,  33333334,  33333343,  33333344,  33333345,  33333432,  33333433,
    33333434,  33333443,  33333444,  33333445,  33333454,  33333455,  33333456,
    33334321,  33334322,  33334323,  33334332,  33334333,  33334334,  33334343,
    33334344,  33334345,  33334432,  33334433,  33334434,  33334443,  33334444,
    33334445,  33334454,  33334455,  33334456,  33334543,  33334544,  33334545,
    33334554,  33334555,  33334556,  33334565,  33334566,  33334567,  33343210,
    33343211,  33343212,  33343221,  33343222,  33343223,  33343232,  33343233,
    33343234,  33343321,  33343322,  33343323,  33343332,  33343333,  33343334,
    33343343,  33343344,  33343345,  33343432,  33343433,  33343434,  33343443,
    33343444,  33343445,  33343454,  33343455,  33343456,  33344321,  33344322,
    33344323,  33344332,  33344333,  33344334,  33344343,  33344344,  33344345,
    33344432,  33344433,  33344434,  33344443,  33344444,  33344445,  33344454,
    33344455,  33344456,  33344543,  33344544,  33344545,  33344554,  33344555,
    33344556,  33344565,  33344566,  33344567,  33345432,  33345433,  33345434,
    33345443,  33345444,  33345445,  33345454,  33345455,  33345456,  33345543,
    33345544,  33345545,  33345554,  33345555,  33345556,  33345565,  33345566,
    33345567,  33345654,  33345655,  33345656,  33345665,  33345666,  33345667,
    33345676,  33345677,  33345678,  33432100,  33432101,  33432110,  33432111,
    33432112,  33432121,  33432122,  33432123,  33432210,  33432211,  33432212,
    33432221,  33432222,  33432223,  33432232,  33432233,  33432234,  33432321,
    33432322,  33432323,  33432332,  33432333,  33432334,  33432343,  33432344,
    33432345,  33433210,  33433211,  33433212,  33433221,  33433222,  33433223,
    33433232,  33433233,  33433234,  33433321,  33433322,  33433323,  33433332,
    33433333,  33433334,  33433343,  33433344,  33433345,  33433432,  33433433,
    33433434,  33433443,  33433444,  33433445,  33433454,  33433455,  33433456,
    33434321,  33434322,  33434323,  33434332,  33434333,  33434334,  33434343,
    33434344,  33434345,  33434432,  33434433,  33434434,  33434443,  33434444,
    33434445,  33434454,  33434455,  33434456,  33434543,  33434544,  33434545,
    33434554,  33434555,  33434556,  33434565,  33434566,  33434567,  33443210,
    33443211,  33443212,  33443221,  33443222,  33443223,  33443232,  33443233,
    33443234,  33443321,  33443322,  33443323,  33443332,  33443333,  33443334,
    33443343,  33443344,  33443345,  33443432,  33443433,  33443434,  33443443,
    33443444,  33443445,  33443454,  33443455,  33443456,  33444321,  33444322,
    33444323,  33444332,  33444333,  33444334,  33444343,  33444344,  33444345,
    33444432,  33444433,  33444434,  33444443,  33444444,  33444445,  33444454,
    33444455,  33444456,  33444543,  33444544,  33444545,  33444554,  33444555,
    33444556,  33444565,  33444566,  33444567,  33445432,  33445433,  33445434,
    33445443,  33445444,  33445445,  33445454,  33445455,  33445456,  33445543,
    33445544,  33445545,  33445554,  33445555,  33445556,  33445565,  33445566,
    33445567,  33445654,  33445655,  33445656,  33445665,  33445666,  33445667,
    33445676,  33445677,  33445678,  33454321,  33454322,  33454323,  33454332,
    33454333,  33454334,  33454343,  33454344,  33454345,  33454432,  33454433,
    33454434,  33454443,  33454444,  33454445,  33454454,  33454455,  33454456,
    33454543,  33454544,  33454545,  33454554,  33454555,  33454556,  33454565,
    33454566,  33454567,  33455432,  33455433,  33455434,  33455443,  33455444,
    33455445,  33455454,  33455455,  33455456,  33455543,  33455544,  33455545,
    33455554,  33455555,  33455556,  33455565,  33455566,  33455567,  33455654,
    33455655,  33455656,  33455665,  33455666,  33455667,  33455676,  33455677,
    33455678,  33456543,  33456544,  33456545,  33456554,  33456555,  33456556,
    33456565,  33456566,  33456567,  33456654,  33456655,  33456656,  33456665,
    33456666,  33456667,  33456676,  33456677,  33456678,  33456765,  33456766,
    33456767,  33456776,  33456777,  33456778,  33456787,  33456788,  33456789,
    34321000,  34321001,  34321010,  34321011,  34321012,  34321100,  34321101,
    34321110,  34321111,  34321112,  34321121,  34321122,  34321123,  34321210,
    34321211,  34321212,  34321221,  34321222,  34321223,  34321232,  34321233,
    34321234,  34322100,  34322101,  34322110,  34322111,  34322112,  34322121,
    34322122,  34322123,  34322210,  34322211,  34322212,  34322221,  34322222,
    34322223,  34322232,  34322233,  34322234,  34322321,  34322322,  34322323,
    34322332,  34322333,  34322334,  34322343,  34322344,  34322345,  34323210,
    34323211,  34323212,  34323221,  34323222,  34323223,  34323232,  34323233,
    34323234,  34323321,  34323322,  34323323,  34323332,  34323333,  34323334,
    34323343,  34323344,  34323345,  34323432,  34323433,  34323434,  34323443,
    34323444,  34323445,  34323454,  34323455,  34323456,  34332100,  34332101,
    34332110,  34332111,  34332112,  34332121,  34332122,  34332123,  34332210,
    34332211,  34332212,  34332221,  34332222,  34332223,  34332232,  34332233,
    34332234,  34332321,  34332322,  34332323,  34332332,  34332333,  34332334,
    34332343,  34332344,  34332345,  34333210,  34333211,  34333212,  34333221,
    34333222,  34333223,  34333232,  34333233,  34333234,  34333321,  34333322,
    34333323,  34333332,  34333333,  34333334,  34333343,  34333344,  34333345,
    34333432,  34333433,  34333434,  34333443,  34333444,  34333445,  34333454,
    34333455,  34333456,  34334321,  34334322,  34334323,  34334332,  34334333,
    34334334,  34334343,  34334344,  34334345,  34334432,  34334433,  34334434,
    34334443,  34334444,  34334445,  34334454,  34334455,  34334456,  34334543,
    34334544,  34334545,  34334554,  34334555,  34334556,  34334565,  34334566,
    34334567,  34343210,  34343211,  34343212,  34343221,  34343222,  34343223,
    34343232,  34343233,  34343234,  34343321,  34343322,  34343323,  34343332,
    34343333,  34343334,  34343343,  34343344,  34343345,  34343432,  34343433,
    34343434,  34343443,  34343444,  34343445,  34343454,  34343455,  34343456,
    34344321,  34344322,  34344323,  34344332,  34344333,  34344334,  34344343,
    34344344,  34344345,  34344432,  34344433,  34344434,  34344443,  34344444,
    34344445,  34344454,  34344455,  34344456,  34344543,  34344544,  34344545,
    34344554,  34344555,  34344556,  34344565,  34344566,  34344567,  34345432,
    34345433,  34345434,  34345443,  34345444,  34345445,  34345454,  34345455,
    34345456,  34345543,  34345544,  34345545,  34345554,  34345555,  34345556,
    34345565,  34345566,  34345567,  34345654,  34345655,  34345656,  34345665,
    34345666,  34345667,  34345676,  34345677,  34345678,  34432100,  34432101,
    34432110,  34432111,  34432112,  34432121,  34432122,  34432123,  34432210,
    34432211,  34432212,  34432221,  34432222,  34432223,  34432232,  34432233,
    34432234,  34432321,  34432322,  34432323,  34432332,  34432333,  34432334,
    34432343,  34432344,  34432345,  34433210,  34433211,  34433212,  34433221,
    34433222,  34433223,  34433232,  34433233,  34433234,  34433321,  34433322,
    34433323,  34433332,  34433333,  34433334,  34433343,  34433344,  34433345,
    34433432,  34433433,  34433434,  34433443,  34433444,  34433445,  34433454,
    34433455,  34433456,  34434321,  34434322,  34434323,  34434332,  34434333,
    34434334,  34434343,  34434344,  34434345,  34434432,  34434433,  34434434,
    34434443,  34434444,  34434445,  34434454,  34434455,  34434456,  34434543,
    34434544,  34434545,  34434554,  34434555,  34434556,  34434565,  34434566,
    34434567,  34443210,  34443211,  34443212,  34443221,  34443222,  34443223,
    34443232,  34443233,  34443234,  34443321,  34443322,  34443323,  34443332,
    34443333,  34443334,  34443343,  34443344,  34443345,  34443432,  34443433,
    34443434,  34443443,  34443444,  34443445,  34443454,  34443455,  34443456,
    34444321,  34444322,  34444323,  34444332,  34444333,  34444334,  34444343,
    34444344,  34444345,  34444432,  34444433,  34444434,  34444443,  34444444,
    34444445,  34444454,  34444455,  34444456,  34444543,  34444544,  34444545,
    34444554,  34444555,  34444556,  34444565,  34444566,  34444567,  34445432,
    34445433,  34445434,  34445443,  34445444,  34445445,  34445454,  34445455,
    34445456,  34445543,  34445544,  34445545,  34445554,  34445555,  34445556,
    34445565,  34445566,  34445567,  34445654,  34445655,  34445656,  34445665,
    34445666,  34445667,  34445676,  34445677,  34445678,  34454321,  34454322,
    34454323,  34454332,  34454333,  34454334,  34454343,  34454344,  34454345,
    34454432,  34454433,  34454434,  34454443,  34454444,  34454445,  34454454,
    34454455,  34454456,  34454543,  34454544,  34454545,  34454554,  34454555,
    34454556,  34454565,  34454566,  34454567,  34455432,  34455433,  34455434,
    34455443,  34455444,  34455445,  34455454,  34455455,  34455456,  34455543,
    34455544,  34455545,  34455554,  34455555,  34455556,  34455565,  34455566,
    34455567,  34455654,  34455655,  34455656,  34455665,  34455666,  34455667,
    34455676,  34455677,  34455678,  34456543,  34456544,  34456545,  34456554,
    34456555,  34456556,  34456565,  34456566,  34456567,  34456654,  34456655,
    34456656,  34456665,  34456666,  34456667,  34456676,  34456677,  34456678,
    34456765,  34456766,  34456767,  34456776,  34456777,  34456778,  34456787,
    34456788,  34456789,  34543210,  34543211,  34543212,  34543221,  34543222,
    34543223,  34543232,  34543233,  34543234,  34543321,  34543322,  34543323,
    34543332,  34543333,  34543334,  34543343,  34543344,  34543345,  34543432,
    34543433,  34543434,  34543443,  34543444,  34543445,  34543454,  34543455,
    34543456,  34544321,  34544322,  34544323,  34544332,  34544333,  34544334,
    34544343,  34544344,  34544345,  34544432,  34544433,  34544434,  34544443,
    34544444,  34544445,  34544454,  34544455,  34544456,  34544543,  34544544,
    34544545,  34544554,  34544555,  34544556,  34544565,  34544566,  34544567,
    34545432,  34545433,  34545434,  34545443,  34545444,  34545445,  34545454,
    34545455,  34545456,  34545543,  34545544,  34545545,  34545554,  34545555,
    34545556,  34545565,  34545566,  34545567,  34545654,  34545655,  34545656,
    34545665,  34545666,  34545667,  34545676,  34545677,  34545678,  34554321,
    34554322,  34554323,  34554332,  34554333,  34554334,  34554343,  34554344,
    34554345,  34554432,  34554433,  34554434,  34554443,  34554444,  34554445,
    34554454,  34554455,  34554456,  34554543,  34554544,  34554545,  34554554,
    34554555,  34554556,  34554565,  34554566,  34554567,  34555432,  34555433,
    34555434,  34555443,  34555444,  34555445,  34555454,  34555455,  34555456,
    34555543,  34555544,  34555545,  34555554,  34555555,  34555556,  34555565,
    34555566,  34555567,  34555654,  34555655,  34555656,  34555665,  34555666,
    34555667,  34555676,  34555677,  34555678,  34556543,  34556544,  34556545,
    34556554,  34556555,  34556556,  34556565,  34556566,  34556567,  34556654,
    34556655,  34556656,  34556665,  34556666,  34556667,  34556676,  34556677,
    34556678,  34556765,  34556766,  34556767,  34556776,  34556777,  34556778,
    34556787,  34556788,  34556789,  34565432,  34565433,  34565434,  34565443,
    34565444,  34565445,  34565454,  34565455,  34565456,  34565543,  34565544,
    34565545,  34565554,  34565555,  34565556,  34565565,  34565566,  34565567,
    34565654,  34565655,  34565656,  34565665,  34565666,  34565667,  34565676,
    34565677,  34565678,  34566543,  34566544,  34566545,  34566554,  34566555,
    34566556,  34566565,  34566566,  34566567,  34566654,  34566655,  34566656,
    34566665,  34566666,  34566667,  34566676,  34566677,  34566678,  34566765,
    34566766,  34566767,  34566776,  34566777,  34566778,  34566787,  34566788,
    34566789,  34567654,  34567655,  34567656,  34567665,  34567666,  34567667,
    34567676,  34567677,  34567678,  34567765,  34567766,  34567767,  34567776,
    34567777,  34567778,  34567787,  34567788,  34567789,  34567876,  34567877,
    34567878,  34567887,  34567888,  34567889,  34567898,  34567899,  43210000,
    43210001,  43210010,  43210011,  43210012,  43210100,  43210101,  43210110,
    43210111,  43210112,  43210121,  43210122,  43210123,  43211000,  43211001,
    43211010,  43211011,  43211012,  43211100,  43211101,  43211110,  43211111,
    43211112,  43211121,  43211122,  43211123,  43211210,  43211211,  43211212,
    43211221,  43211222,  43211223,  43211232,  43211233,  43211234,  43212100,
    43212101,  43212110,  43212111,  43212112,  43212121,  43212122,  43212123,
    43212210,  43212211,  43212212,  43212221,  43212222,  43212223,  43212232,
    43212233,  43212234,  43212321,  43212322,  43212323,  43212332,  43212333,
    43212334,  43212343,  43212344,  43212345,  43221000,  43221001,  43221010,
    43221011,  43221012,  43221100,  43221101,  43221110,  43221111,  43221112,
    43221121,  43221122,  43221123,  43221210,  43221211,  43221212,  43221221,
    43221222,  43221223,  43221232,  43221233,  43221234,  43222100,  43222101,
    43222110,  43222111,  43222112,  43222121,  43222122,  43222123,  43222210,
    43222211,  43222212,  43222221,  43222222,  43222223,  43222232,  43222233,
    43222234,  43222321,  43222322,  43222323,  43222332,  43222333,  43222334,
    43222343,  43222344,  43222345,  43223210,  43223211,  43223212,  43223221,
    43223222,  43223223,  43223232,  43223233,  43223234,  43223321,  43223322,
    43223323,  43223332,  43223333,  43223334,  43223343,  43223344,  43223345,
    43223432,  43223433,  43223434,  43223443,  43223444,  43223445,  43223454,
    43223455,  43223456,  43232100,  43232101,  43232110,  43232111,  43232112,
    43232121,  43232122,  43232123,  43232210,  43232211,  43232212,  43232221,
    43232222,  43232223,  43232232,  43232233,  43232234,  43232321,  43232322,
    43232323,  43232332,  43232333,  43232334,  43232343,  43232344,  43232345,
    43233210,  43233211,  43233212,  43233221,  43233222,  43233223,  43233232,
    43233233,  43233234,  43233321,  43233322,  43233323,  43233332,  43233333,
    43233334,  43233343,  43233344,  43233345,  43233432,  43233433,  43233434,
    43233443,  43233444,  43233445,  43233454,  43233455,  43233456,  43234321,
    43234322,  43234323,  43234332,  43234333,  43234334,  43234343,  43234344,
    43234345,  43234432,  43234433,  43234434,  43234443,  43234444,  43234445,
    43234454,  43234455,  43234456,  43234543,  43234544,  43234545,  43234554,
    43234555,  43234556,  43234565,  43234566,  43234567,  43321000,  43321001,
    43321010,  43321011,  43321012,  43321100,  43321101,  43321110,  43321111,
    43321112,  43321121,  43321122,  43321123,  43321210,  43321211,  43321212,
    43321221,  43321222,  43321223,  43321232,  43321233,  43321234,  43322100,
    43322101,  43322110,  43322111,  43322112,  43322121,  43322122,  43322123,
    43322210,  43322211,  43322212,  43322221,  43322222,  43322223,  43322232,
    43322233,  43322234,  43322321,  43322322,  43322323,  43322332,  43322333,
    43322334,  43322343,  43322344,  43322345,  43323210,  43323211,  43323212,
    43323221,  43323222,  43323223,  43323232,  43323233,  43323234,  43323321,
    43323322,  43323323,  43323332,  43323333,  43323334,  43323343,  43323344,
    43323345,  43323432,  43323433,  43323434,  43323443,  43323444,  43323445,
    43323454,  43323455,  43323456,  43332100,  43332101,  43332110,  43332111,
    43332112,  43332121,  43332122,  43332123,  43332210,  43332211,  43332212,
    43332221,  43332222,  43332223,  43332232,  43332233,  43332234,  43332321,
    43332322,  43332323,  43332332,  43332333,  43332334,  43332343,  43332344,
    43332345,  43333210,  43333211,  43333212,  43333221,  43333222,  43333223,
    43333232,  43333233,  43333234,  43333321,  43333322,  43333323,  43333332,
    43333333,  43333334,  43333343,  43333344,  43333345,  43333432,  43333433,
    43333434,  43333443,  43333444,  43333445,  43333454,  43333455,  43333456,
    43334321,  43334322,  43334323,  43334332,  43334333,  43334334,  43334343,
    43334344,  43334345,  43334432,  43334433,  43334434,  43334443,  43334444,
    43334445,  43334454,  43334455,  43334456,  43334543,  43334544,  43334545,
    43334554,  43334555,  43334556,  43334565,  43334566,  43334567,  43343210,
    43343211,  43343212,  43343221,  43343222,  43343223,  43343232,  43343233,
    43343234,  43343321,  43343322,  43343323,  43343332,  43343333,  43343334,
    43343343,  43343344,  43343345,  43343432,  43343433,  43343434,  43343443,
    43343444,  43343445,  43343454,  43343455,  43343456,  43344321,  43344322,
    43344323,  43344332,  43344333,  43344334,  43344343,  43344344,  43344345,
    43344432,  43344433,  43344434,  43344443,  43344444,  43344445,  43344454,
    43344455,  43344456,  43344543,  43344544,  43344545,  43344554,  43344555,
    43344556,  43344565,  43344566,  43344567,  43345432,  43345433,  43345434,
    43345443,  43345444,  43345445,  43345454,  43345455,  43345456,  43345543,
    43345544,  43345545,  43345554,  43345555,  43345556,  43345565,  43345566,
    43345567,  43345654,  43345655,  43345656,  43345665,  43345666,  43345667,
    43345676,  43345677,  43345678,  43432100,  43432101,  43432110,  43432111,
    43432112,  43432121,  43432122,  43432123,  43432210,  43432211,  43432212,
    43432221,  43432222,  43432223,  43432232,  43432233,  43432234,  43432321,
    43432322,  43432323,  43432332,  43432333,  43432334,  43432343,  43432344,
    43432345,  43433210,  43433211,  43433212,  43433221,  43433222,  43433223,
    43433232,  43433233,  43433234,  43433321,  43433322,  43433323,  43433332,
    43433333,  43433334,  43433343,  43433344,  43433345,  43433432,  43433433,
    43433434,  43433443,  43433444,  43433445,  43433454,  43433455,  43433456,
    43434321,  43434322,  43434323,  43434332,  43434333,  43434334,  43434343,
    43434344,  43434345,  43434432,  43434433,  43434434,  43434443,  43434444,
    43434445,  43434454,  43434455,  43434456,  43434543,  43434544,  43434545,
    43434554,  43434555,  43434556,  43434565,  43434566,  43434567,  43443210,
    43443211,  43443212,  43443221,  43443222,  43443223,  43443232,  43443233,
    43443234,  43443321,  43443322,  43443323,  43443332,  43443333,  43443334,
    43443343,  43443344,  43443345,  43443432,  43443433,  43443434,  43443443,
    43443444,  43443445,  43443454,  43443455,  43443456,  43444321,  43444322,
    43444323,  43444332,  43444333,  43444334,  43444343,  43444344,  43444345,
    43444432,  43444433,  43444434,  43444443,  43444444,  43444445,  43444454,
    43444455,  43444456,  43444543,  43444544,  43444545,  43444554,  43444555,
    43444556,  43444565,  43444566,  43444567,  43445432,  43445433,  43445434,
    43445443,  43445444,  43445445,  43445454,  43445455,  43445456,  43445543,
    43445544,  43445545,  43445554,  43445555,  43445556,  43445565,  43445566,
    43445567,  43445654,  43445655,  43445656,  43445665,  43445666,  43445667,
    43445676,  43445677,  43445678,  43454321,  43454322,  43454323,  43454332,
    43454333,  43454334,  43454343,  43454344,  43454345,  43454432,  43454433,
    43454434,  43454443,  43454444,  43454445,  43454454,  43454455,  43454456,
    43454543,  43454544,  43454545,  43454554,  43454555,  43454556,  43454565,
    43454566,  43454567,  43455432,  43455433,  43455434,  43455443,  43455444,
    43455445,  43455454,  43455455,  43455456,  43455543,  43455544,  43455545,
    43455554,  43455555,  43455556,  43455565,  43455566,  43455567,  43455654,
    43455655,  43455656,  43455665,  43455666,  43455667,  43455676,  43455677,
    43455678,  43456543,  43456544,  43456545,  43456554,  43456555,  43456556,
    43456565,  43456566,  43456567,  43456654,  43456655,  43456656,  43456665,
    43456666,  43456667,  43456676,  43456677,  43456678,  43456765,  43456766,
    43456767,  43456776,  43456777,  43456778,  43456787,  43456788,  43456789,
    44321000,  44321001,  44321010,  44321011,  44321012,  44321100,  44321101,
    44321110,  44321111,  44321112,  44321121,  44321122,  44321123,  44321210,
    44321211,  44321212,  44321221,  44321222,  44321223,  44321232,  44321233,
    44321234,  44322100,  44322101,  44322110,  44322111,  44322112,  44322121,
    44322122,  44322123,  44322210,  44322211,  44322212,  44322221,  44322222,
    44322223,  44322232,  44322233,  44322234,  44322321,  44322322,  44322323,
    44322332,  44322333,  44322334,  44322343,  44322344,  44322345,  44323210,
    44323211,  44323212,  44323221,  44323222,  44323223,  44323232,  44323233,
    44323234,  44323321,  44323322,  44323323,  44323332,  44323333,  44323334,
    44323343,  44323344,  44323345,  44323432,  44323433,  44323434,  44323443,
    44323444,  44323445,  44323454,  44323455,  44323456,  44332100,  44332101,
    44332110,  44332111,  44332112,  44332121,  44332122,  44332123,  44332210,
    44332211,  44332212,  44332221,  44332222,  44332223,  44332232,  44332233,
    44332234,  44332321,  44332322,  44332323,  44332332,  44332333,  44332334,
    44332343,  44332344,  44332345,  44333210,  44333211,  44333212,  44333221,
    44333222,  44333223,  44333232,  44333233,  44333234,  44333321,  44333322,
    44333323,  44333332,  44333333,  44333334,  44333343,  44333344,  44333345,
    44333432,  44333433,  44333434,  44333443,  44333444,  44333445,  44333454,
    44333455,  44333456,  44334321,  44334322,  44334323,  44334332,  44334333,
    44334334,  44334343,  44334344,  44334345,  44334432,  44334433,  44334434,
    44334443,  44334444,  44334445,  44334454,  44334455,  44334456,  44334543,
    44334544,  44334545,  44334554,  44334555,  44334556,  44334565,  44334566,
    44334567,  44343210,  44343211,  44343212,  44343221,  44343222,  44343223,
    44343232,  44343233,  44343234,  44343321,  44343322,  44343323,  44343332,
    44343333,  44343334,  44343343,  44343344,  44343345,  44343432,  44343433,
    44343434,  44343443,  44343444,  44343445,  44343454,  44343455,  44343456,
    44344321,  44344322,  44344323,  44344332,  44344333,  44344334,  44344343,
    44344344,  44344345,  44344432,  44344433,  44344434,  44344443,  44344444,
    44344445,  44344454,  44344455,  44344456,  44344543,  44344544,  44344545,
    44344554,  44344555,  44344556,  44344565,  44344566,  44344567,  44345432,
    44345433,  44345434,  44345443,  44345444,  44345445,  44345454,  44345455,
    44345456,  44345543,  44345544,  44345545,  44345554,  44345555,  44345556,
    44345565,  44345566,  44345567,  44345654,  44345655,  44345656,  44345665,
    44345666,  44345667,  44345676,  44345677,  44345678,  44432100,  44432101,
    44432110,  44432111,  44432112,  44432121,  44432122,  44432123,  44432210,
    44432211,  44432212,  44432221,  44432222,  44432223,  44432232,  44432233,
    44432234,  44432321,  44432322,  44432323,  44432332,  44432333,  44432334,
    44432343,  44432344,  44432345,  44433210,  44433211,  44433212,  44433221,
    44433222,  44433223,  44433232,  44433233,  44433234,  44433321,  44433322,
    44433323,  44433332,  44433333,  44433334,  44433343,  44433344,  44433345,
    44433432,  44433433,  44433434,  44433443,  44433444,  44433445,  44433454,
    44433455,  44433456,  44434321,  44434322,  44434323,  44434332,  44434333,
    44434334,  44434343,  44434344,  44434345,  44434432,  44434433,  44434434,
    44434443,  44434444,  44434445,  44434454,  44434455,  44434456,  44434543,
    44434544,  44434545,  44434554,  44434555,  44434556,  44434565,  44434566,
    44434567,  44443210,  44443211,  44443212,  44443221,  44443222,  44443223,
    44443232,  44443233,  44443234,  44443321,  44443322,  44443323,  44443332,
    44443333,  44443334,  44443343,  44443344,  44443345,  44443432,  44443433,
    44443434,  44443443,  44443444,  44443445,  44443454,  44443455,  44443456,
    44444321,  44444322,  44444323,  44444332,  44444333,  44444334,  44444343,
    44444344,  44444345,  44444432,  44444433,  44444434,  44444443,  44444444,
    44444445,  44444454,  44444455,  44444456,  44444543,  44444544,  44444545,
    44444554,  44444555,  44444556,  44444565,  44444566,  44444567,  44445432,
    44445433,  44445434,  44445443,  44445444,  44445445,  44445454,  44445455,
    44445456,  44445543,  44445544,  44445545,  44445554,  44445555,  44445556,
    44445565,  44445566,  44445567,  44445654,  44445655,  44445656,  44445665,
    44445666,  44445667,  44445676,  44445677,  44445678,  44454321,  44454322,
    44454323,  44454332,  44454333,  44454334,  44454343,  44454344,  44454345,
    44454432,  44454433,  44454434,  44454443,  44454444,  44454445,  44454454,
    44454455,  44454456,  44454543,  44454544,  44454545,  44454554,  44454555,
    44454556,  44454565,  44454566,  44454567,  44455432,  44455433,  44455434,
    44455443,  44455444,  44455445,  44455454,  44455455,  44455456,  44455543,
    44455544,  44455545,  44455554,  44455555,  44455556,  44455565,  44455566,
    44455567,  44455654,  44455655,  44455656,  44455665,  44455666,  44455667,
    44455676,  44455677,  44455678,  44456543,  44456544,  44456545,  44456554,
    44456555,  44456556,  44456565,  44456566,  44456567,  44456654,  44456655,
    44456656,  44456665,  44456666,  44456667,  44456676,  44456677,  44456678,
    44456765,  44456766,  44456767,  44456776,  44456777,  44456778,  44456787,
    44456788,  44456789,  44543210,  44543211,  44543212,  44543221,  44543222,
    44543223,  44543232,  44543233,  44543234,  44543321,  44543322,  44543323,
    44543332,  44543333,  44543334,  44543343,  44543344,  44543345,  44543432,
    44543433,  44543434,  44543443,  44543444,  44543445,  44543454,  44543455,
    44543456,  44544321,  44544322,  44544323,  44544332,  44544333,  44544334,
    44544343,  44544344,  44544345,  44544432,  44544433,  44544434,  44544443,
    44544444,  44544445,  44544454,  44544455,  44544456,  44544543,  44544544,
    44544545,  44544554,  44544555,  44544556,  44544565,  44544566,  44544567,
    44545432,  44545433,  44545434,  44545443,  44545444,  44545445,  44545454,
    44545455,  44545456,  44545543,  44545544,  44545545,  44545554,  44545555,
    44545556,  44545565,  44545566,  44545567,  44545654,  44545655,  44545656,
    44545665,  44545666,  44545667,  44545676,  44545677,  44545678,  44554321,
    44554322,  44554323,  44554332,  44554333,  44554334,  44554343,  44554344,
    44554345,  44554432,  44554433,  44554434,  44554443,  44554444,  44554445,
    44554454,  44554455,  44554456,  44554543,  44554544,  44554545,  44554554,
    44554555,  44554556,  44554565,  44554566,  44554567,  44555432,  44555433,
    44555434,  44555443,  44555444,  44555445,  44555454,  44555455,  44555456,
    44555543,  44555544,  44555545,  44555554,  44555555,  44555556,  44555565,
    44555566,  44555567,  44555654,  44555655,  44555656,  44555665,  44555666,
    44555667,  44555676,  44555677,  44555678,  44556543,  44556544,  44556545,
    44556554,  44556555,  44556556,  44556565,  44556566,  44556567,  44556654,
    44556655,  44556656,  44556665,  44556666,  44556667,  44556676,  44556677,
    44556678,  44556765,  44556766,  44556767,  44556776,  44556777,  44556778,
    44556787,  44556788,  44556789,  44565432,  44565433,  44565434,  44565443,
    44565444,  44565445,  44565454,  44565455,  44565456,  44565543,  44565544,
    44565545,  44565554,  44565555,  44565556,  44565565,  44565566,  44565567,
    44565654,  44565655,  44565656,  44565665,  44565666,  44565667,  44565676,
    44565677,  44565678,  44566543,  44566544,  44566545,  44566554,  44566555,
    44566556,  44566565,  44566566,  44566567,  44566654,  44566655,  44566656,
    44566665,  44566666,  44566667,  44566676,  44566677,  44566678,  44566765,
    44566766,  44566767,  44566776,  44566777,  44566778,  44566787,  44566788,
    44566789,  44567654,  44567655,  44567656,  44567665,  44567666,  44567667,
    44567676,  44567677,  44567678,  44567765,  44567766,  44567767,  44567776,
    44567777,  44567778,  44567787,  44567788,  44567789,  44567876,  44567877,
    44567878,  44567887,  44567888,  44567889,  44567898,  44567899,  45432100,
    45432101,  45432110,  45432111,  45432112,  45432121,  45432122,  45432123,
    45432210,  45432211,  45432212,  45432221,  45432222,  45432223,  45432232,
    45432233,  45432234,  45432321,  45432322,  45432323,  45432332,  45432333,
    45432334,  45432343,  45432344,  45432345,  45433210,  45433211,  45433212,
    45433221,  45433222,  45433223,  45433232,  45433233,  45433234,  45433321,
    45433322,  45433323,  45433332,  45433333,  45433334,  45433343,  45433344,
    45433345,  45433432,  45433433,  45433434,  45433443,  45433444,  45433445,
    45433454,  45433455,  45433456,  45434321,  45434322,  45434323,  45434332,
    45434333,  45434334,  45434343,  45434344,  45434345,  45434432,  45434433,
    45434434,  45434443,  45434444,  45434445,  45434454,  45434455,  45434456,
    45434543,  45434544,  45434545,  45434554,  45434555,  45434556,  45434565,
    45434566,  45434567,  45443210,  45443211,  45443212,  45443221,  45443222,
    45443223,  45443232,  45443233,  45443234,  45443321,  45443322,  45443323,
    45443332,  45443333,  45443334,  45443343,  45443344,  45443345,  45443432,
    45443433,  45443434,  45443443,  45443444,  45443445,  45443454,  45443455,
    45443456,  45444321,  45444322,  45444323,  45444332,  45444333,  45444334,
    45444343,  45444344,  45444345,  45444432,  45444433,  45444434,  45444443,
    45444444,  45444445,  45444454,  45444455,  45444456,  45444543,  45444544,
    45444545,  45444554,  45444555,  45444556,  45444565,  45444566,  45444567,
    45445432,  45445433,  45445434,  45445443,  45445444,  45445445,  45445454,
    45445455,  45445456,  45445543,  45445544,  45445545,  45445554,  45445555,
    45445556,  45445565,  45445566,  45445567,  45445654,  45445655,  45445656,
    45445665,  45445666,  45445667,  45445676,  45445677,  45445678,  45454321,
    45454322,  45454323,  45454332,  45454333,  45454334,  45454343,  45454344,
    45454345,  45454432,  45454433,  45454434,  45454443,  45454444,  45454445,
    45454454,  45454455,  45454456,  45454543,  45454544,  45454545,  45454554,
    45454555,  45454556,  45454565,  45454566,  45454567,  45455432,  45455433,
    45455434,  45455443,  45455444,  45455445,  45455454,  45455455,  45455456,
    45455543,  45455544,  45455545,  45455554,  45455555,  45455556,  45455565,
    45455566,  45455567,  45455654,  45455655,  45455656,  45455665,  45455666,
    45455667,  45455676,  45455677,  45455678,  45456543,  45456544,  45456545,
    45456554,  45456555,  45456556,  45456565,  45456566,  45456567,  45456654,
    45456655,  45456656,  45456665,  45456666,  45456667,  45456676,  45456677,
    45456678,  45456765,  45456766,  45456767,  45456776,  45456777,  45456778,
    45456787,  45456788,  45456789,  45543210,  45543211,  45543212,  45543221,
    45543222,  45543223,  45543232,  45543233,  45543234,  45543321,  45543322,
    45543323,  45543332,  45543333,  45543334,  45543343,  45543344,  45543345,
    45543432,  45543433,  45543434,  45543443,  45543444,  45543445,  45543454,
    45543455,  45543456,  45544321,  45544322,  45544323,  45544332,  45544333,
    45544334,  45544343,  45544344,  45544345,  45544432,  45544433,  45544434,
    45544443,  45544444,  45544445,  45544454,  45544455,  45544456,  45544543,
    45544544,  45544545,  45544554,  45544555,  45544556,  45544565,  45544566,
    45544567,  45545432,  45545433,  45545434,  45545443,  45545444,  45545445,
    45545454,  45545455,  45545456,  45545543,  45545544,  45545545,  45545554,
    45545555,  45545556,  45545565,  45545566,  45545567,  45545654,  45545655,
    45545656,  45545665,  45545666,  45545667,  45545676,  45545677,  45545678,
    45554321,  45554322,  45554323,  45554332,  45554333,  45554334,  45554343,
    45554344,  45554345,  45554432,  45554433,  45554434,  45554443,  45554444,
    45554445,  45554454,  45554455,  45554456,  45554543,  45554544,  45554545,
    45554554,  45554555,  45554556,  45554565,  45554566,  45554567,  45555432,
    45555433,  45555434,  45555443,  45555444,  45555445,  45555454,  45555455,
    45555456,  45555543,  45555544,  45555545,  45555554,  45555555,  45555556,
    45555565,  45555566,  45555567,  45555654,  45555655,  45555656,  45555665,
    45555666,  45555667,  45555676,  45555677,  45555678,  45556543,  45556544,
    45556545,  45556554,  45556555,  45556556,  45556565,  45556566,  45556567,
    45556654,  45556655,  45556656,  45556665,  45556666,  45556667,  45556676,
    45556677,  45556678,  45556765,  45556766,  45556767,  45556776,  45556777,
    45556778,  45556787,  45556788,  45556789,  45565432,  45565433,  45565434,
    45565443,  45565444,  45565445,  45565454,  45565455,  45565456,  45565543,
    45565544,  45565545,  45565554,  45565555,  45565556,  45565565,  45565566,
    45565567,  45565654,  45565655,  45565656,  45565665,  45565666,  45565667,
    45565676,  45565677,  45565678,  45566543,  45566544,  45566545,  45566554,
    45566555,  45566556,  45566565,  45566566,  45566567,  45566654,  45566655,
    45566656,  45566665,  45566666,  45566667,  45566676,  45566677,  45566678,
    45566765,  45566766,  45566767,  45566776,  45566777,  45566778,  45566787,
    45566788,  45566789,  45567654,  45567655,  45567656,  45567665,  45567666,
    45567667,  45567676,  45567677,  45567678,  45567765,  45567766,  45567767,
    45567776,  45567777,  45567778,  45567787,  45567788,  45567789,  45567876,
    45567877,  45567878,  45567887,  45567888,  45567889,  45567898,  45567899,
    45654321,  45654322,  45654323,  45654332,  45654333,  45654334,  45654343,
    45654344,  45654345,  45654432,  45654433,  45654434,  45654443,  45654444,
    45654445,  45654454,  45654455,  45654456,  45654543,  45654544,  45654545,
    45654554,  45654555,  45654556,  45654565,  45654566,  45654567,  45655432,
    45655433,  45655434,  45655443,  45655444,  45655445,  45655454,  45655455,
    45655456,  45655543,  45655544,  45655545,  45655554,  45655555,  45655556,
    45655565,  45655566,  45655567,  45655654,  45655655,  45655656,  45655665,
    45655666,  45655667,  45655676,  45655677,  45655678,  45656543,  45656544,
    45656545,  45656554,  45656555,  45656556,  45656565,  45656566,  45656567,
    45656654,  45656655,  45656656,  45656665,  45656666,  45656667,  45656676,
    45656677,  45656678,  45656765,  45656766,  45656767,  45656776,  45656777,
    45656778,  45656787,  45656788,  45656789,  45665432,  45665433,  45665434,
    45665443,  45665444,  45665445,  45665454,  45665455,  45665456,  45665543,
    45665544,  45665545,  45665554,  45665555,  45665556,  45665565,  45665566,
    45665567,  45665654,  45665655,  45665656,  45665665,  45665666,  45665667,
    45665676,  45665677,  45665678,  45666543,  45666544,  45666545,  45666554,
    45666555,  45666556,  45666565,  45666566,  45666567,  45666654,  45666655,
    45666656,  45666665,  45666666,  45666667,  45666676,  45666677,  45666678,
    45666765,  45666766,  45666767,  45666776,  45666777,  45666778,  45666787,
    45666788,  45666789,  45667654,  45667655,  45667656,  45667665,  45667666,
    45667667,  45667676,  45667677,  45667678,  45667765,  45667766,  45667767,
    45667776,  45667777,  45667778,  45667787,  45667788,  45667789,  45667876,
    45667877,  45667878,  45667887,  45667888,  45667889,  45667898,  45667899,
    45676543,  45676544,  45676545,  45676554,  45676555,  45676556,  45676565,
    45676566,  45676567,  45676654,  45676655,  45676656,  45676665,  45676666,
    45676667,  45676676,  45676677,  45676678,  45676765,  45676766,  45676767,
    45676776,  45676777,  45676778,  45676787,  45676788,  45676789,  45677654,
    45677655,  45677656,  45677665,  45677666,  45677667,  45677676,  45677677,
    45677678,  45677765,  45677766,  45677767,  45677776,  45677777,  45677778,
    45677787,  45677788,  45677789,  45677876,  45677877,  45677878,  45677887,
    45677888,  45677889,  45677898,  45677899,  45678765,  45678766,  45678767,
    45678776,  45678777,  45678778,  45678787,  45678788,  45678789,  45678876,
    45678877,  45678878,  45678887,  45678888,  45678889,  45678898,  45678899,
    45678987,  45678988,  45678989,  45678998,  45678999,  54321000,  54321001,
    54321010,  54321011,  54321012,  54321100,  54321101,  54321110,  54321111,
    54321112,  54321121,  54321122,  54321123,  54321210,  54321211,  54321212,
    54321221,  54321222,  54321223,  54321232,  54321233,  54321234,  54322100,
    54322101,  54322110,  54322111,  54322112,  54322121,  54322122,  54322123,
    54322210,  54322211,  54322212,  54322221,  54322222,  54322223,  54322232,
    54322233,  54322234,  54322321,  54322322,  54322323,  54322332,  54322333,
    54322334,  54322343,  54322344,  54322345,  54323210,  54323211,  54323212,
    54323221,  54323222,  54323223,  54323232,  54323233,  54323234,  54323321,
    54323322,  54323323,  54323332,  54323333,  54323334,  54323343,  54323344,
    54323345,  54323432,  54323433,  54323434,  54323443,  54323444,  54323445,
    54323454,  54323455,  54323456,  54332100,  54332101,  54332110,  54332111,
    54332112,  54332121,  54332122,  54332123,  54332210,  54332211,  54332212,
    54332221,  54332222,  54332223,  54332232,  54332233,  54332234,  54332321,
    54332322,  54332323,  54332332,  54332333,  54332334,  54332343,  54332344,
    54332345,  54333210,  54333211,  54333212,  54333221,  54333222,  54333223,
    54333232,  54333233,  54333234,  54333321,  54333322,  54333323,  54333332,
    54333333,  54333334,  54333343,  54333344,  54333345,  54333432,  54333433,
    54333434,  54333443,  54333444,  54333445,  54333454,  54333455,  54333456,
    54334321,  54334322,  54334323,  54334332,  54334333,  54334334,  54334343,
    54334344,  54334345,  54334432,  54334433,  54334434,  54334443,  54334444,
    54334445,  54334454,  54334455,  54334456,  54334543,  54334544,  54334545,
    54334554,  54334555,  54334556,  54334565,  54334566,  54334567,  54343210,
    54343211,  54343212,  54343221,  54343222,  54343223,  54343232,  54343233,
    54343234,  54343321,  54343322,  54343323,  54343332,  54343333,  54343334,
    54343343,  54343344,  54343345,  54343432,  54343433,  54343434,  54343443,
    54343444,  54343445,  54343454,  54343455,  54343456,  54344321,  54344322,
    54344323,  54344332,  54344333,  54344334,  54344343,  54344344,  54344345,
    54344432,  54344433,  54344434,  54344443,  54344444,  54344445,  54344454,
    54344455,  54344456,  54344543,  54344544,  54344545,  54344554,  54344555,
    54344556,  54344565,  54344566,  54344567,  54345432,  54345433,  54345434,
    54345443,  54345444,  54345445,  54345454,  54345455,  54345456,  54345543,
    54345544,  54345545,  54345554,  54345555,  54345556,  54345565,  54345566,
    54345567,  54345654,  54345655,  54345656,  54345665,  54345666,  54345667,
    54345676,  54345677,  54345678,  54432100,  54432101,  54432110,  54432111,
    54432112,  54432121,  54432122,  54432123,  54432210,  54432211,  54432212,
    54432221,  54432222,  54432223,  54432232,  54432233,  54432234,  54432321,
    54432322,  54432323,  54432332,  54432333,  54432334,  54432343,  54432344,
    54432345,  54433210,  54433211,  54433212,  54433221,  54433222,  54433223,
    54433232,  54433233,  54433234,  54433321,  54433322,  54433323,  54433332,
    54433333,  54433334,  54433343,  54433344,  54433345,  54433432,  54433433,
    54433434,  54433443,  54433444,  54433445,  54433454,  54433455,  54433456,
    54434321,  54434322,  54434323,  54434332,  54434333,  54434334,  54434343,
    54434344,  54434345,  54434432,  54434433,  54434434,  54434443,  54434444,
    54434445,  54434454,  54434455,  54434456,  54434543,  54434544,  54434545,
    54434554,  54434555,  54434556,  54434565,  54434566,  54434567,  54443210,
    54443211,  54443212,  54443221,  54443222,  54443223,  54443232,  54443233,
    54443234,  54443321,  54443322,  54443323,  54443332,  54443333,  54443334,
    54443343,  54443344,  54443345,  54443432,  54443433,  54443434,  54443443,
    54443444,  54443445,  54443454,  54443455,  54443456,  54444321,  54444322,
    54444323,  54444332,  54444333,  54444334,  54444343,  54444344,  54444345,
    54444432,  54444433,  54444434,  54444443,  54444444,  54444445,  54444454,
    54444455,  54444456,  54444543,  54444544,  54444545,  54444554,  54444555,
    54444556,  54444565,  54444566,  54444567,  54445432,  54445433,  54445434,
    54445443,  54445444,  54445445,  54445454,  54445455,  54445456,  54445543,
    54445544,  54445545,  54445554,  54445555,  54445556,  54445565,  54445566,
    54445567,  54445654,  54445655,  54445656,  54445665,  54445666,  54445667,
    54445676,  54445677,  54445678,  54454321,  54454322,  54454323,  54454332,
    54454333,  54454334,  54454343,  54454344,  54454345,  54454432,  54454433,
    54454434,  54454443,  54454444,  54454445,  54454454,  54454455,  54454456,
    54454543,  54454544,  54454545,  54454554,  54454555,  54454556,  54454565,
    54454566,  54454567,  54455432,  54455433,  54455434,  54455443,  54455444,
    54455445,  54455454,  54455455,  54455456,  54455543,  54455544,  54455545,
    54455554,  54455555,  54455556,  54455565,  54455566,  54455567,  54455654,
    54455655,  54455656,  54455665,  54455666,  54455667,  54455676,  54455677,
    54455678,  54456543,  54456544,  54456545,  54456554,  54456555,  54456556,
    54456565,  54456566,  54456567,  54456654,  54456655,  54456656,  54456665,
    54456666,  54456667,  54456676,  54456677,  54456678,  54456765,  54456766,
    54456767,  54456776,  54456777,  54456778,  54456787,  54456788,  54456789,
    54543210,  54543211,  54543212,  54543221,  54543222,  54543223,  54543232,
    54543233,  54543234,  54543321,  54543322,  54543323,  54543332,  54543333,
    54543334,  54543343,  54543344,  54543345,  54543432,  54543433,  54543434,
    54543443,  54543444,  54543445,  54543454,  54543455,  54543456,  54544321,
    54544322,  54544323,  54544332,  54544333,  54544334,  54544343,  54544344,
    54544345,  54544432,  54544433,  54544434,  54544443,  54544444,  54544445,
    54544454,  54544455,  54544456,  54544543,  54544544,  54544545,  54544554,
    54544555,  54544556,  54544565,  54544566,  54544567,  54545432,  54545433,
    54545434,  54545443,  54545444,  54545445,  54545454,  54545455,  54545456,
    54545543,  54545544,  54545545,  54545554,  54545555,  54545556,  54545565,
    54545566,  54545567,  54545654,  54545655,  54545656,  54545665,  54545666,
    54545667,  54545676,  54545677,  54545678,  54554321,  54554322,  54554323,
    54554332,  54554333,  54554334,  54554343,  54554344,  54554345,  54554432,
    54554433,  54554434,  54554443,  54554444,  54554445,  54554454,  54554455,
    54554456,  54554543,  54554544,  54554545,  54554554,  54554555,  54554556,
    54554565,  54554566,  54554567,  54555432,  54555433,  54555434,  54555443,
    54555444,  54555445,  54555454,  54555455,  54555456,  54555543,  54555544,
    54555545,  54555554,  54555555,  54555556,  54555565,  54555566,  54555567,
    54555654,  54555655,  54555656,  54555665,  54555666,  54555667,  54555676,
    54555677,  54555678,  54556543,  54556544,  54556545,  54556554,  54556555,
    54556556,  54556565,  54556566,  54556567,  54556654,  54556655,  54556656,
    54556665,  54556666,  54556667,  54556676,  54556677,  54556678,  54556765,
    54556766,  54556767,  54556776,  54556777,  54556778,  54556787,  54556788,
    54556789,  54565432,  54565433,  54565434,  54565443,  54565444,  54565445,
    54565454,  54565455,  54565456,  54565543,  54565544,  54565545,  54565554,
    54565555,  54565556,  54565565,  54565566,  54565567,  54565654,  54565655,
    54565656,  54565665,  54565666,  54565667,  54565676,  54565677,  54565678,
    54566543,  54566544,  54566545,  54566554,  54566555,  54566556,  54566565,
    54566566,  54566567,  54566654,  54566655,  54566656,  54566665,  54566666,
    54566667,  54566676,  54566677,  54566678,  54566765,  54566766,  54566767,
    54566776,  54566777,  54566778,  54566787,  54566788,  54566789,  54567654,
    54567655,  54567656,  54567665,  54567666,  54567667,  54567676,  54567677,
    54567678,  54567765,  54567766,  54567767,  54567776,  54567777,  54567778,
    54567787,  54567788,  54567789,  54567876,  54567877,  54567878,  54567887,
    54567888,  54567889,  54567898,  54567899,  55432100,  55432101,  55432110,
    55432111,  55432112,  55432121,  55432122,  55432123,  55432210,  55432211,
    55432212,  55432221,  55432222,  55432223,  55432232,  55432233,  55432234,
    55432321,  55432322,  55432323,  55432332,  55432333,  55432334,  55432343,
    55432344,  55432345,  55433210,  55433211,  55433212,  55433221,  55433222,
    55433223,  55433232,  55433233,  55433234,  55433321,  55433322,  55433323,
    55433332,  55433333,  55433334,  55433343,  55433344,  55433345,  55433432,
    55433433,  55433434,  55433443,  55433444,  55433445,  55433454,  55433455,
    55433456,  55434321,  55434322,  55434323,  55434332,  55434333,  55434334,
    55434343,  55434344,  55434345,  55434432,  55434433,  55434434,  55434443,
    55434444,  55434445,  55434454,  55434455,  55434456,  55434543,  55434544,
    55434545,  55434554,  55434555,  55434556,  55434565,  55434566,  55434567,
    55443210,  55443211,  55443212,  55443221,  55443222,  55443223,  55443232,
    55443233,  55443234,  55443321,  55443322,  55443323,  55443332,  55443333,
    55443334,  55443343,  55443344,  55443345,  55443432,  55443433,  55443434,
    55443443,  55443444,  55443445,  55443454,  55443455,  55443456,  55444321,
    55444322,  55444323,  55444332,  55444333,  55444334,  55444343,  55444344,
    55444345,  55444432,  55444433,  55444434,  55444443,  55444444,  55444445,
    55444454,  55444455,  55444456,  55444543,  55444544,  55444545,  55444554,
    55444555,  55444556,  55444565,  55444566,  55444567,  55445432,  55445433,
    55445434,  55445443,  55445444,  55445445,  55445454,  55445455,  55445456,
    55445543,  55445544,  55445545,  55445554,  55445555,  55445556,  55445565,
    55445566,  55445567,  55445654,  55445655,  55445656,  55445665,  55445666,
    55445667,  55445676,  55445677,  55445678,  55454321,  55454322,  55454323,
    55454332,  55454333,  55454334,  55454343,  55454344,  55454345,  55454432,
    55454433,  55454434,  55454443,  55454444,  55454445,  55454454,  55454455,
    55454456,  55454543,  55454544,  55454545,  55454554,  55454555,  55454556,
    55454565,  55454566,  55454567,  55455432,  55455433,  55455434,  55455443,
    55455444,  55455445,  55455454,  55455455,  55455456,  55455543,  55455544,
    55455545,  55455554,  55455555,  55455556,  55455565,  55455566,  55455567,
    55455654,  55455655,  55455656,  55455665,  55455666,  55455667,  55455676,
    55455677,  55455678,  55456543,  55456544,  55456545,  55456554,  55456555,
    55456556,  55456565,  55456566,  55456567,  55456654,  55456655,  55456656,
    55456665,  55456666,  55456667,  55456676,  55456677,  55456678,  55456765,
    55456766,  55456767,  55456776,  55456777,  55456778,  55456787,  55456788,
    55456789,  55543210,  55543211,  55543212,  55543221,  55543222,  55543223,
    55543232,  55543233,  55543234,  55543321,  55543322,  55543323,  55543332,
    55543333,  55543334,  55543343,  55543344,  55543345,  55543432,  55543433,
    55543434,  55543443,  55543444,  55543445,  55543454,  55543455,  55543456,
    55544321,  55544322,  55544323,  55544332,  55544333,  55544334,  55544343,
    55544344,  55544345,  55544432,  55544433,  55544434,  55544443,  55544444,
    55544445,  55544454,  55544455,  55544456,  55544543,  55544544,  55544545,
    55544554,  55544555,  55544556,  55544565,  55544566,  55544567,  55545432,
    55545433,  55545434,  55545443,  55545444,  55545445,  55545454,  55545455,
    55545456,  55545543,  55545544,  55545545,  55545554,  55545555,  55545556,
    55545565,  55545566,  55545567,  55545654,  55545655,  55545656,  55545665,
    55545666,  55545667,  55545676,  55545677,  55545678,  55554321,  55554322,
    55554323,  55554332,  55554333,  55554334,  55554343,  55554344,  55554345,
    55554432,  55554433,  55554434,  55554443,  55554444,  55554445,  55554454,
    55554455,  55554456,  55554543,  55554544,  55554545,  55554554,  55554555,
    55554556,  55554565,  55554566,  55554567,  55555432,  55555433,  55555434,
    55555443,  55555444,  55555445,  55555454,  55555455,  55555456,  55555543,
    55555544,  55555545,  55555554,  55555555,  55555556,  55555565,  55555566,
    55555567,  55555654,  55555655,  55555656,  55555665,  55555666,  55555667,
    55555676,  55555677,  55555678,  55556543,  55556544,  55556545,  55556554,
    55556555,  55556556,  55556565,  55556566,  55556567,  55556654,  55556655,
    55556656,  55556665,  55556666,  55556667,  55556676,  55556677,  55556678,
    55556765,  55556766,  55556767,  55556776,  55556777,  55556778,  55556787,
    55556788,  55556789,  55565432,  55565433,  55565434,  55565443,  55565444,
    55565445,  55565454,  55565455,  55565456,  55565543,  55565544,  55565545,
    55565554,  55565555,  55565556,  55565565,  55565566,  55565567,  55565654,
    55565655,  55565656,  55565665,  55565666,  55565667,  55565676,  55565677,
    55565678,  55566543,  55566544,  55566545,  55566554,  55566555,  55566556,
    55566565,  55566566,  55566567,  55566654,  55566655,  55566656,  55566665,
    55566666,  55566667,  55566676,  55566677,  55566678,  55566765,  55566766,
    55566767,  55566776,  55566777,  55566778,  55566787,  55566788,  55566789,
    55567654,  55567655,  55567656,  55567665,  55567666,  55567667,  55567676,
    55567677,  55567678,  55567765,  55567766,  55567767,  55567776,  55567777,
    55567778,  55567787,  55567788,  55567789,  55567876,  55567877,  55567878,
    55567887,  55567888,  55567889,  55567898,  55567899,  55654321,  55654322,
    55654323,  55654332,  55654333,  55654334,  55654343,  55654344,  55654345,
    55654432,  55654433,  55654434,  55654443,  55654444,  55654445,  55654454,
    55654455,  55654456,  55654543,  55654544,  55654545,  55654554,  55654555,
    55654556,  55654565,  55654566,  55654567,  55655432,  55655433,  55655434,
    55655443,  55655444,  55655445,  55655454,  55655455,  55655456,  55655543,
    55655544,  55655545,  55655554,  55655555,  55655556,  55655565,  55655566,
    55655567,  55655654,  55655655,  55655656,  55655665,  55655666,  55655667,
    55655676,  55655677,  55655678,  55656543,  55656544,  55656545,  55656554,
    55656555,  55656556,  55656565,  55656566,  55656567,  55656654,  55656655,
    55656656,  55656665,  55656666,  55656667,  55656676,  55656677,  55656678,
    55656765,  55656766,  55656767,  55656776,  55656777,  55656778,  55656787,
    55656788,  55656789,  55665432,  55665433,  55665434,  55665443,  55665444,
    55665445,  55665454,  55665455,  55665456,  55665543,  55665544,  55665545,
    55665554,  55665555,  55665556,  55665565,  55665566,  55665567,  55665654,
    55665655,  55665656,  55665665,  55665666,  55665667,  55665676,  55665677,
    55665678,  55666543,  55666544,  55666545,  55666554,  55666555,  55666556,
    55666565,  55666566,  55666567,  55666654,  55666655,  55666656,  55666665,
    55666666,  55666667,  55666676,  55666677,  55666678,  55666765,  55666766,
    55666767,  55666776,  55666777,  55666778,  55666787,  55666788,  55666789,
    55667654,  55667655,  55667656,  55667665,  55667666,  55667667,  55667676,
    55667677,  55667678,  55667765,  55667766,  55667767,  55667776,  55667777,
    55667778,  55667787,  55667788,  55667789,  55667876,  55667877,  55667878,
    55667887,  55667888,  55667889,  55667898,  55667899,  55676543,  55676544,
    55676545,  55676554,  55676555,  55676556,  55676565,  55676566,  55676567,
    55676654,  55676655,  55676656,  55676665,  55676666,  55676667,  55676676,
    55676677,  55676678,  55676765,  55676766,  55676767,  55676776,  55676777,
    55676778,  55676787,  55676788,  55676789,  55677654,  55677655,  55677656,
    55677665,  55677666,  55677667,  55677676,  55677677,  55677678,  55677765,
    55677766,  55677767,  55677776,  55677777,  55677778,  55677787,  55677788,
    55677789,  55677876,  55677877,  55677878,  55677887,  55677888,  55677889,
    55677898,  55677899,  55678765,  55678766,  55678767,  55678776,  55678777,
    55678778,  55678787,  55678788,  55678789,  55678876,  55678877,  55678878,
    55678887,  55678888,  55678889,  55678898,  55678899,  55678987,  55678988,
    55678989,  55678998,  55678999,  56543210,  56543211,  56543212,  56543221,
    56543222,  56543223,  56543232,  56543233,  56543234,  56543321,  56543322,
    56543323,  56543332,  56543333,  56543334,  56543343,  56543344,  56543345,
    56543432,  56543433,  56543434,  56543443,  56543444,  56543445,  56543454,
    56543455,  56543456,  56544321,  56544322,  56544323,  56544332,  56544333,
    56544334,  56544343,  56544344,  56544345,  56544432,  56544433,  56544434,
    56544443,  56544444,  56544445,  56544454,  56544455,  56544456,  56544543,
    56544544,  56544545,  56544554,  56544555,  56544556,  56544565,  56544566,
    56544567,  56545432,  56545433,  56545434,  56545443,  56545444,  56545445,
    56545454,  56545455,  56545456,  56545543,  56545544,  56545545,  56545554,
    56545555,  56545556,  56545565,  56545566,  56545567,  56545654,  56545655,
    56545656,  56545665,  56545666,  56545667,  56545676,  56545677,  56545678,
    56554321,  56554322,  56554323,  56554332,  56554333,  56554334,  56554343,
    56554344,  56554345,  56554432,  56554433,  56554434,  56554443,  56554444,
    56554445,  56554454,  56554455,  56554456,  56554543,  56554544,  56554545,
    56554554,  56554555,  56554556,  56554565,  56554566,  56554567,  56555432,
    56555433,  56555434,  56555443,  56555444,  56555445,  56555454,  56555455,
    56555456,  56555543,  56555544,  56555545,  56555554,  56555555,  56555556,
    56555565,  56555566,  56555567,  56555654,  56555655,  56555656,  56555665,
    56555666,  56555667,  56555676,  56555677,  56555678,  56556543,  56556544,
    56556545,  56556554,  56556555,  56556556,  56556565,  56556566,  56556567,
    56556654,  56556655,  56556656,  56556665,  56556666,  56556667,  56556676,
    56556677,  56556678,  56556765,  56556766,  56556767,  56556776,  56556777,
    56556778,  56556787,  56556788,  56556789,  56565432,  56565433,  56565434,
    56565443,  56565444,  56565445,  56565454,  56565455,  56565456,  56565543,
    56565544,  56565545,  56565554,  56565555,  56565556,  56565565,  56565566,
    56565567,  56565654,  56565655,  56565656,  56565665,  56565666,  56565667,
    56565676,  56565677,  56565678,  56566543,  56566544,  56566545,  56566554,
    56566555,  56566556,  56566565,  56566566,  56566567,  56566654,  56566655,
    56566656,  56566665,  56566666,  56566667,  56566676,  56566677,  56566678,
    56566765,  56566766,  56566767,  56566776,  56566777,  56566778,  56566787,
    56566788,  56566789,  56567654,  56567655,  56567656,  56567665,  56567666,
    56567667,  56567676,  56567677,  56567678,  56567765,  56567766,  56567767,
    56567776,  56567777,  56567778,  56567787,  56567788,  56567789,  56567876,
    56567877,  56567878,  56567887,  56567888,  56567889,  56567898,  56567899,
    56654321,  56654322,  56654323,  56654332,  56654333,  56654334,  56654343,
    56654344,  56654345,  56654432,  56654433,  56654434,  56654443,  56654444,
    56654445,  56654454,  56654455,  56654456,  56654543,  56654544,  56654545,
    56654554,  56654555,  56654556,  56654565,  56654566,  56654567,  56655432,
    56655433,  56655434,  56655443,  56655444,  56655445,  56655454,  56655455,
    56655456,  56655543,  56655544,  56655545,  56655554,  56655555,  56655556,
    56655565,  56655566,  56655567,  56655654,  56655655,  56655656,  56655665,
    56655666,  56655667,  56655676,  56655677,  56655678,  56656543,  56656544,
    56656545,  56656554,  56656555,  56656556,  56656565,  56656566,  56656567,
    56656654,  56656655,  56656656,  56656665,  56656666,  56656667,  56656676,
    56656677,  56656678,  56656765,  56656766,  56656767,  56656776,  56656777,
    56656778,  56656787,  56656788,  56656789,  56665432,  56665433,  56665434,
    56665443,  56665444,  56665445,  56665454,  56665455,  56665456,  56665543,
    56665544,  56665545,  56665554,  56665555,  56665556,  56665565,  56665566,
    56665567,  56665654,  56665655,  56665656,  56665665,  56665666,  56665667,
    56665676,  56665677,  56665678,  56666543,  56666544,  56666545,  56666554,
    56666555,  56666556,  56666565,  56666566,  56666567,  56666654,  56666655,
    56666656,  56666665,  56666666,  56666667,  56666676,  56666677,  56666678,
    56666765,  56666766,  56666767,  56666776,  56666777,  56666778,  56666787,
    56666788,  56666789,  56667654,  56667655,  56667656,  56667665,  56667666,
    56667667,  56667676,  56667677,  56667678,  56667765,  56667766,  56667767,
    56667776,  56667777,  56667778,  56667787,  56667788,  56667789,  56667876,
    56667877,  56667878,  56667887,  56667888,  56667889,  56667898,  56667899,
    56676543,  56676544,  56676545,  56676554,  56676555,  56676556,  56676565,
    56676566,  56676567,  56676654,  56676655,  56676656,  56676665,  56676666,
    56676667,  56676676,  56676677,  56676678,  56676765,  56676766,  56676767,
    56676776,  56676777,  56676778,  56676787,  56676788,  56676789,  56677654,
    56677655,  56677656,  56677665,  56677666,  56677667,  56677676,  56677677,
    56677678,  56677765,  56677766,  56677767,  56677776,  56677777,  56677778,
    56677787,  56677788,  56677789,  56677876,  56677877,  56677878,  56677887,
    56677888,  56677889,  56677898,  56677899,  56678765,  56678766,  56678767,
    56678776,  56678777,  56678778,  56678787,  56678788,  56678789,  56678876,
    56678877,  56678878,  56678887,  56678888,  56678889,  56678898,  56678899,
    56678987,  56678988,  56678989,  56678998,  56678999,  56765432,  56765433,
    56765434,  56765443,  56765444,  56765445,  56765454,  56765455,  56765456,
    56765543,  56765544,  56765545,  56765554,  56765555,  56765556,  56765565,
    56765566,  56765567,  56765654,  56765655,  56765656,  56765665,  56765666,
    56765667,  56765676,  56765677,  56765678,  56766543,  56766544,  56766545,
    56766554,  56766555,  56766556,  56766565,  56766566,  56766567,  56766654,
    56766655,  56766656,  56766665,  56766666,  56766667,  56766676,  56766677,
    56766678,  56766765,  56766766,  56766767,  56766776,  56766777,  56766778,
    56766787,  56766788,  56766789,  56767654,  56767655,  56767656,  56767665,
    56767666,  56767667,  56767676,  56767677,  56767678,  56767765,  56767766,
    56767767,  56767776,  56767777,  56767778,  56767787,  56767788,  56767789,
    56767876,  56767877,  56767878,  56767887,  56767888,  56767889,  56767898,
    56767899,  56776543,  56776544,  56776545,  56776554,  56776555,  56776556,
    56776565,  56776566,  56776567,  56776654,  56776655,  56776656,  56776665,
    56776666,  56776667,  56776676,  56776677,  56776678,  56776765,  56776766,
    56776767,  56776776,  56776777,  56776778,  56776787,  56776788,  56776789,
    56777654,  56777655,  56777656,  56777665,  56777666,  56777667,  56777676,
    56777677,  56777678,  56777765,  56777766,  56777767,  56777776,  56777777,
    56777778,  56777787,  56777788,  56777789,  56777876,  56777877,  56777878,
    56777887,  56777888,  56777889,  56777898,  56777899,  56778765,  56778766,
    56778767,  56778776,  56778777,  56778778,  56778787,  56778788,  56778789,
    56778876,  56778877,  56778878,  56778887,  56778888,  56778889,  56778898,
    56778899,  56778987,  56778988,  56778989,  56778998,  56778999,  56787654,
    56787655,  56787656,  56787665,  56787666,  56787667,  56787676,  56787677,
    56787678,  56787765,  56787766,  56787767,  56787776,  56787777,  56787778,
    56787787,  56787788,  56787789,  56787876,  56787877,  56787878,  56787887,
    56787888,  56787889,  56787898,  56787899,  56788765,  56788766,  56788767,
    56788776,  56788777,  56788778,  56788787,  56788788,  56788789,  56788876,
    56788877,  56788878,  56788887,  56788888,  56788889,  56788898,  56788899,
    56788987,  56788988,  56788989,  56788998,  56788999,  56789876,  56789877,
    56789878,  56789887,  56789888,  56789889,  56789898,  56789899,  56789987,
    56789988,  56789989,  56789998,  56789999,  65432100,  65432101,  65432110,
    65432111,  65432112,  65432121,  65432122,  65432123,  65432210,  65432211,
    65432212,  65432221,  65432222,  65432223,  65432232,  65432233,  65432234,
    65432321,  65432322,  65432323,  65432332,  65432333,  65432334,  65432343,
    65432344,  65432345,  65433210,  65433211,  65433212,  65433221,  65433222,
    65433223,  65433232,  65433233,  65433234,  65433321,  65433322,  65433323,
    65433332,  65433333,  65433334,  65433343,  65433344,  65433345,  65433432,
    65433433,  65433434,  65433443,  65433444,  65433445,  65433454,  65433455,
    65433456,  65434321,  65434322,  65434323,  65434332,  65434333,  65434334,
    65434343,  65434344,  65434345,  65434432,  65434433,  65434434,  65434443,
    65434444,  65434445,  65434454,  65434455,  65434456,  65434543,  65434544,
    65434545,  65434554,  65434555,  65434556,  65434565,  65434566,  65434567,
    65443210,  65443211,  65443212,  65443221,  65443222,  65443223,  65443232,
    65443233,  65443234,  65443321,  65443322,  65443323,  65443332,  65443333,
    65443334,  65443343,  65443344,  65443345,  65443432,  65443433,  65443434,
    65443443,  65443444,  65443445,  65443454,  65443455,  65443456,  65444321,
    65444322,  65444323,  65444332,  65444333,  65444334,  65444343,  65444344,
    65444345,  65444432,  65444433,  65444434,  65444443,  65444444,  65444445,
    65444454,  65444455,  65444456,  65444543,  65444544,  65444545,  65444554,
    65444555,  65444556,  65444565,  65444566,  65444567,  65445432,  65445433,
    65445434,  65445443,  65445444,  65445445,  65445454,  65445455,  65445456,
    65445543,  65445544,  65445545,  65445554,  65445555,  65445556,  65445565,
    65445566,  65445567,  65445654,  65445655,  65445656,  65445665,  65445666,
    65445667,  65445676,  65445677,  65445678,  65454321,  65454322,  65454323,
    65454332,  65454333,  65454334,  65454343,  65454344,  65454345,  65454432,
    65454433,  65454434,  65454443,  65454444,  65454445,  65454454,  65454455,
    65454456,  65454543,  65454544,  65454545,  65454554,  65454555,  65454556,
    65454565,  65454566,  65454567,  65455432,  65455433,  65455434,  65455443,
    65455444,  65455445,  65455454,  65455455,  65455456,  65455543,  65455544,
    65455545,  65455554,  65455555,  65455556,  65455565,  65455566,  65455567,
    65455654,  65455655,  65455656,  65455665,  65455666,  65455667,  65455676,
    65455677,  65455678,  65456543,  65456544,  65456545,  65456554,  65456555,
    65456556,  65456565,  65456566,  65456567,  65456654,  65456655,  65456656,
    65456665,  65456666,  65456667,  65456676,  65456677,  65456678,  65456765,
    65456766,  65456767,  65456776,  65456777,  65456778,  65456787,  65456788,
    65456789,  65543210,  65543211,  65543212,  65543221,  65543222,  65543223,
    65543232,  65543233,  65543234,  65543321,  65543322,  65543323,  65543332,
    65543333,  65543334,  65543343,  65543344,  65543345,  65543432,  65543433,
    65543434,  65543443,  65543444,  65543445,  65543454,  65543455,  65543456,
    65544321,  65544322,  65544323,  65544332,  65544333,  65544334,  65544343,
    65544344,  65544345,  65544432,  65544433,  65544434,  65544443,  65544444,
    65544445,  65544454,  65544455,  65544456,  65544543,  65544544,  65544545,
    65544554,  65544555,  65544556,  65544565,  65544566,  65544567,  65545432,
    65545433,  65545434,  65545443,  65545444,  65545445,  65545454,  65545455,
    65545456,  65545543,  65545544,  65545545,  65545554,  65545555,  65545556,
    65545565,  65545566,  65545567,  65545654,  65545655,  65545656,  65545665,
    65545666,  65545667,  65545676,  65545677,  65545678,  65554321,  65554322,
    65554323,  65554332,  65554333,  65554334,  65554343,  65554344,  65554345,
    65554432,  65554433,  65554434,  65554443,  65554444,  65554445,  65554454,
    65554455,  65554456,  65554543,  65554544,  65554545,  65554554,  65554555,
    65554556,  65554565,  65554566,  65554567,  65555432,  65555433,  65555434,
    65555443,  65555444,  65555445,  65555454,  65555455,  65555456,  65555543,
    65555544,  65555545,  65555554,  65555555,  65555556,  65555565,  65555566,
    65555567,  65555654,  65555655,  65555656,  65555665,  65555666,  65555667,
    65555676,  65555677,  65555678,  65556543,  65556544,  65556545,  65556554,
    65556555,  65556556,  65556565,  65556566,  65556567,  65556654,  65556655,
    65556656,  65556665,  65556666,  65556667,  65556676,  65556677,  65556678,
    65556765,  65556766,  65556767,  65556776,  65556777,  65556778,  65556787,
    65556788,  65556789,  65565432,  65565433,  65565434,  65565443,  65565444,
    65565445,  65565454,  65565455,  65565456,  65565543,  65565544,  65565545,
    65565554,  65565555,  65565556,  65565565,  65565566,  65565567,  65565654,
    65565655,  65565656,  65565665,  65565666,  65565667,  65565676,  65565677,
    65565678,  65566543,  65566544,  65566545,  65566554,  65566555,  65566556,
    65566565,  65566566,  65566567,  65566654,  65566655,  65566656,  65566665,
    65566666,  65566667,  65566676,  65566677,  65566678,  65566765,  65566766,
    65566767,  65566776,  65566777,  65566778,  65566787,  65566788,  65566789,
    65567654,  65567655,  65567656,  65567665,  65567666,  65567667,  65567676,
    65567677,  65567678,  65567765,  65567766,  65567767,  65567776,  65567777,
    65567778,  65567787,  65567788,  65567789,  65567876,  65567877,  65567878,
    65567887,  65567888,  65567889,  65567898,  65567899,  65654321,  65654322,
    65654323,  65654332,  65654333,  65654334,  65654343,  65654344,  65654345,
    65654432,  65654433,  65654434,  65654443,  65654444,  65654445,  65654454,
    65654455,  65654456,  65654543,  65654544,  65654545,  65654554,  65654555,
    65654556,  65654565,  65654566,  65654567,  65655432,  65655433,  65655434,
    65655443,  65655444,  65655445,  65655454,  65655455,  65655456,  65655543,
    65655544,  65655545,  65655554,  65655555,  65655556,  65655565,  65655566,
    65655567,  65655654,  65655655,  65655656,  65655665,  65655666,  65655667,
    65655676,  65655677,  65655678,  65656543,  65656544,  65656545,  65656554,
    65656555,  65656556,  65656565,  65656566,  65656567,  65656654,  65656655,
    65656656,  65656665,  65656666,  65656667,  65656676,  65656677,  65656678,
    65656765,  65656766,  65656767,  65656776,  65656777,  65656778,  65656787,
    65656788,  65656789,  65665432,  65665433,  65665434,  65665443,  65665444,
    65665445,  65665454,  65665455,  65665456,  65665543,  65665544,  65665545,
    65665554,  65665555,  65665556,  65665565,  65665566,  65665567,  65665654,
    65665655,  65665656,  65665665,  65665666,  65665667,  65665676,  65665677,
    65665678,  65666543,  65666544,  65666545,  65666554,  65666555,  65666556,
    65666565,  65666566,  65666567,  65666654,  65666655,  65666656,  65666665,
    65666666,  65666667,  65666676,  65666677,  65666678,  65666765,  65666766,
    65666767,  65666776,  65666777,  65666778,  65666787,  65666788,  65666789,
    65667654,  65667655,  65667656,  65667665,  65667666,  65667667,  65667676,
    65667677,  65667678,  65667765,  65667766,  65667767,  65667776,  65667777,
    65667778,  65667787,  65667788,  65667789,  65667876,  65667877,  65667878,
    65667887,  65667888,  65667889,  65667898,  65667899,  65676543,  65676544,
    65676545,  65676554,  65676555,  65676556,  65676565,  65676566,  65676567,
    65676654,  65676655,  65676656,  65676665,  65676666,  65676667,  65676676,
    65676677,  65676678,  65676765,  65676766,  65676767,  65676776,  65676777,
    65676778,  65676787,  65676788,  65676789,  65677654,  65677655,  65677656,
    65677665,  65677666,  65677667,  65677676,  65677677,  65677678,  65677765,
    65677766,  65677767,  65677776,  65677777,  65677778,  65677787,  65677788,
    65677789,  65677876,  65677877,  65677878,  65677887,  65677888,  65677889,
    65677898,  65677899,  65678765,  65678766,  65678767,  65678776,  65678777,
    65678778,  65678787,  65678788,  65678789,  65678876,  65678877,  65678878,
    65678887,  65678888,  65678889,  65678898,  65678899,  65678987,  65678988,
    65678989,  65678998,  65678999,  66543210,  66543211,  66543212,  66543221,
    66543222,  66543223,  66543232,  66543233,  66543234,  66543321,  66543322,
    66543323,  66543332,  66543333,  66543334,  66543343,  66543344,  66543345,
    66543432,  66543433,  66543434,  66543443,  66543444,  66543445,  66543454,
    66543455,  66543456,  66544321,  66544322,  66544323,  66544332,  66544333,
    66544334,  66544343,  66544344,  66544345,  66544432,  66544433,  66544434,
    66544443,  66544444,  66544445,  66544454,  66544455,  66544456,  66544543,
    66544544,  66544545,  66544554,  66544555,  66544556,  66544565,  66544566,
    66544567,  66545432,  66545433,  66545434,  66545443,  66545444,  66545445,
    66545454,  66545455,  66545456,  66545543,  66545544,  66545545,  66545554,
    66545555,  66545556,  66545565,  66545566,  66545567,  66545654,  66545655,
    66545656,  66545665,  66545666,  66545667,  66545676,  66545677,  66545678,
    66554321,  66554322,  66554323,  66554332,  66554333,  66554334,  66554343,
    66554344,  66554345,  66554432,  66554433,  66554434,  66554443,  66554444,
    66554445,  66554454,  66554455,  66554456,  66554543,  66554544,  66554545,
    66554554,  66554555,  66554556,  66554565,  66554566,  66554567,  66555432,
    66555433,  66555434,  66555443,  66555444,  66555445,  66555454,  66555455,
    66555456,  66555543,  66555544,  66555545,  66555554,  66555555,  66555556,
    66555565,  66555566,  66555567,  66555654,  66555655,  66555656,  66555665,
    66555666,  66555667,  66555676,  66555677,  66555678,  66556543,  66556544,
    66556545,  66556554,  66556555,  66556556,  66556565,  66556566,  66556567,
    66556654,  66556655,  66556656,  66556665,  66556666,  66556667,  66556676,
    66556677,  66556678,  66556765,  66556766,  66556767,  66556776,  66556777,
    66556778,  66556787,  66556788,  66556789,  66565432,  66565433,  66565434,
    66565443,  66565444,  66565445,  66565454,  66565455,  66565456,  66565543,
    66565544,  66565545,  66565554,  66565555,  66565556,  66565565,  66565566,
    66565567,  66565654,  66565655,  66565656,  66565665,  66565666,  66565667,
    66565676,  66565677,  66565678,  66566543,  66566544,  66566545,  66566554,
    66566555,  66566556,  66566565,  66566566,  66566567,  66566654,  66566655,
    66566656,  66566665,  66566666,  66566667,  66566676,  66566677,  66566678,
    66566765,  66566766,  66566767,  66566776,  66566777,  66566778,  66566787,
    66566788,  66566789,  66567654,  66567655,  66567656,  66567665,  66567666,
    66567667,  66567676,  66567677,  66567678,  66567765,  66567766,  66567767,
    66567776,  66567777,  66567778,  66567787,  66567788,  66567789,  66567876,
    66567877,  66567878,  66567887,  66567888,  66567889,  66567898,  66567899,
    66654321,  66654322,  66654323,  66654332,  66654333,  66654334,  66654343,
    66654344,  66654345,  66654432,  66654433,  66654434,  66654443,  66654444,
    66654445,  66654454,  66654455,  66654456,  66654543,  66654544,  66654545,
    66654554,  66654555,  66654556,  66654565,  66654566,  66654567,  66655432,
    66655433,  66655434,  66655443,  66655444,  66655445,  66655454,  66655455,
    66655456,  66655543,  66655544,  66655545,  66655554,  66655555,  66655556,
    66655565,  66655566,  66655567,  66655654,  66655655,  66655656,  66655665,
    66655666,  66655667,  66655676,  66655677,  66655678,  66656543,  66656544,
    66656545,  66656554,  66656555,  66656556,  66656565,  66656566,  66656567,
    66656654,  66656655,  66656656,  66656665,  66656666,  66656667,  66656676,
    66656677,  66656678,  66656765,  66656766,  66656767,  66656776,  66656777,
    66656778,  66656787,  66656788,  66656789,  66665432,  66665433,  66665434,
    66665443,  66665444,  66665445,  66665454,  66665455,  66665456,  66665543,
    66665544,  66665545,  66665554,  66665555,  66665556,  66665565,  66665566,
    66665567,  66665654,  66665655,  66665656,  66665665,  66665666,  66665667,
    66665676,  66665677,  66665678,  66666543,  66666544,  66666545,  66666554,
    66666555,  66666556,  66666565,  66666566,  66666567,  66666654,  66666655,
    66666656,  66666665,  66666666,  66666667,  66666676,  66666677,  66666678,
    66666765,  66666766,  66666767,  66666776,  66666777,  66666778,  66666787,
    66666788,  66666789,  66667654,  66667655,  66667656,  66667665,  66667666,
    66667667,  66667676,  66667677,  66667678,  66667765,  66667766,  66667767,
    66667776,  66667777,  66667778,  66667787,  66667788,  66667789,  66667876,
    66667877,  66667878,  66667887,  66667888,  66667889,  66667898,  66667899,
    66676543,  66676544,  66676545,  66676554,  66676555,  66676556,  66676565,
    66676566,  66676567,  66676654,  66676655,  66676656,  66676665,  66676666,
    66676667,  66676676,  66676677,  66676678,  66676765,  66676766,  66676767,
    66676776,  66676777,  66676778,  66676787,  66676788,  66676789,  66677654,
    66677655,  66677656,  66677665,  66677666,  66677667,  66677676,  66677677,
    66677678,  66677765,  66677766,  66677767,  66677776,  66677777,  66677778,
    66677787,  66677788,  66677789,  66677876,  66677877,  66677878,  66677887,
    66677888,  66677889,  66677898,  66677899,  66678765,  66678766,  66678767,
    66678776,  66678777,  66678778,  66678787,  66678788,  66678789,  66678876,
    66678877,  66678878,  66678887,  66678888,  66678889,  66678898,  66678899,
    66678987,  66678988,  66678989,  66678998,  66678999,  66765432,  66765433,
    66765434,  66765443,  66765444,  66765445,  66765454,  66765455,  66765456,
    66765543,  66765544,  66765545,  66765554,  66765555,  66765556,  66765565,
    66765566,  66765567,  66765654,  66765655,  66765656,  66765665,  66765666,
    66765667,  66765676,  66765677,  66765678,  66766543,  66766544,  66766545,
    66766554,  66766555,  66766556,  66766565,  66766566,  66766567,  66766654,
    66766655,  66766656,  66766665,  66766666,  66766667,  66766676,  66766677,
    66766678,  66766765,  66766766,  66766767,  66766776,  66766777,  66766778,
    66766787,  66766788,  66766789,  66767654,  66767655,  66767656,  66767665,
    66767666,  66767667,  66767676,  66767677,  66767678,  66767765,  66767766,
    66767767,  66767776,  66767777,  66767778,  66767787,  66767788,  66767789,
    66767876,  66767877,  66767878,  66767887,  66767888,  66767889,  66767898,
    66767899,  66776543,  66776544,  66776545,  66776554,  66776555,  66776556,
    66776565,  66776566,  66776567,  66776654,  66776655,  66776656,  66776665,
    66776666,  66776667,  66776676,  66776677,  66776678,  66776765,  66776766,
    66776767,  66776776,  66776777,  66776778,  66776787,  66776788,  66776789,
    66777654,  66777655,  66777656,  66777665,  66777666,  66777667,  66777676,
    66777677,  66777678,  66777765,  66777766,  66777767,  66777776,  66777777,
    66777778,  66777787,  66777788,  66777789,  66777876,  66777877,  66777878,
    66777887,  66777888,  66777889,  66777898,  66777899,  66778765,  66778766,
    66778767,  66778776,  66778777,  66778778,  66778787,  66778788,  66778789,
    66778876,  66778877,  66778878,  66778887,  66778888,  66778889,  66778898,
    66778899,  66778987,  66778988,  66778989,  66778998,  66778999,  66787654,
    66787655,  66787656,  66787665,  66787666,  66787667,  66787676,  66787677,
    66787678,  66787765,  66787766,  66787767,  66787776,  66787777,  66787778,
    66787787,  66787788,  66787789,  66787876,  66787877,  66787878,  66787887,
    66787888,  66787889,  66787898,  66787899,  66788765,  66788766,  66788767,
    66788776,  66788777,  66788778,  66788787,  66788788,  66788789,  66788876,
    66788877,  66788878,  66788887,  66788888,  66788889,  66788898,  66788899,
    66788987,  66788988,  66788989,  66788998,  66788999,  66789876,  66789877,
    66789878,  66789887,  66789888,  66789889,  66789898,  66789899,  66789987,
    66789988,  66789989,  66789998,  66789999,  67654321,  67654322,  67654323,
    67654332,  67654333,  67654334,  67654343,  67654344,  67654345,  67654432,
    67654433,  67654434,  67654443,  67654444,  67654445,  67654454,  67654455,
    67654456,  67654543,  67654544,  67654545,  67654554,  67654555,  67654556,
    67654565,  67654566,  67654567,  67655432,  67655433,  67655434,  67655443,
    67655444,  67655445,  67655454,  67655455,  67655456,  67655543,  67655544,
    67655545,  67655554,  67655555,  67655556,  67655565,  67655566,  67655567,
    67655654,  67655655,  67655656,  67655665,  67655666,  67655667,  67655676,
    67655677,  67655678,  67656543,  67656544,  67656545,  67656554,  67656555,
    67656556,  67656565,  67656566,  67656567,  67656654,  67656655,  67656656,
    67656665,  67656666,  67656667,  67656676,  67656677,  67656678,  67656765,
    67656766,  67656767,  67656776,  67656777,  67656778,  67656787,  67656788,
    67656789,  67665432,  67665433,  67665434,  67665443,  67665444,  67665445,
    67665454,  67665455,  67665456,  67665543,  67665544,  67665545,  67665554,
    67665555,  67665556,  67665565,  67665566,  67665567,  67665654,  67665655,
    67665656,  67665665,  67665666,  67665667,  67665676,  67665677,  67665678,
    67666543,  67666544,  67666545,  67666554,  67666555,  67666556,  67666565,
    67666566,  67666567,  67666654,  67666655,  67666656,  67666665,  67666666,
    67666667,  67666676,  67666677,  67666678,  67666765,  67666766,  67666767,
    67666776,  67666777,  67666778,  67666787,  67666788,  67666789,  67667654,
    67667655,  67667656,  67667665,  67667666,  67667667,  67667676,  67667677,
    67667678,  67667765,  67667766,  67667767,  67667776,  67667777,  67667778,
    67667787,  67667788,  67667789,  67667876,  67667877,  67667878,  67667887,
    67667888,  67667889,  67667898,  67667899,  67676543,  67676544,  67676545,
    67676554,  67676555,  67676556,  67676565,  67676566,  67676567,  67676654,
    67676655,  67676656,  67676665,  67676666,  67676667,  67676676,  67676677,
    67676678,  67676765,  67676766,  67676767,  67676776,  67676777,  67676778,
    67676787,  67676788,  67676789,  67677654,  67677655,  67677656,  67677665,
    67677666,  67677667,  67677676,  67677677,  67677678,  67677765,  67677766,
    67677767,  67677776,  67677777,  67677778,  67677787,  67677788,  67677789,
    67677876,  67677877,  67677878,  67677887,  67677888,  67677889,  67677898,
    67677899,  67678765,  67678766,  67678767,  67678776,  67678777,  67678778,
    67678787,  67678788,  67678789,  67678876,  67678877,  67678878,  67678887,
    67678888,  67678889,  67678898,  67678899,  67678987,  67678988,  67678989,
    67678998,  67678999,  67765432,  67765433,  67765434,  67765443,  67765444,
    67765445,  67765454,  67765455,  67765456,  67765543,  67765544,  67765545,
    67765554,  67765555,  67765556,  67765565,  67765566,  67765567,  67765654,
    67765655,  67765656,  67765665,  67765666,  67765667,  67765676,  67765677,
    67765678,  67766543,  67766544,  67766545,  67766554,  67766555,  67766556,
    67766565,  67766566,  67766567,  67766654,  67766655,  67766656,  67766665,
    67766666,  67766667,  67766676,  67766677,  67766678,  67766765,  67766766,
    67766767,  67766776,  67766777,  67766778,  67766787,  67766788,  67766789,
    67767654,  67767655,  67767656,  67767665,  67767666,  67767667,  67767676,
    67767677,  67767678,  67767765,  67767766,  67767767,  67767776,  67767777,
    67767778,  67767787,  67767788,  67767789,  67767876,  67767877,  67767878,
    67767887,  67767888,  67767889,  67767898,  67767899,  67776543,  67776544,
    67776545,  67776554,  67776555,  67776556,  67776565,  67776566,  67776567,
    67776654,  67776655,  67776656,  67776665,  67776666,  67776667,  67776676,
    67776677,  67776678,  67776765,  67776766,  67776767,  67776776,  67776777,
    67776778,  67776787,  67776788,  67776789,  67777654,  67777655,  67777656,
    67777665,  67777666,  67777667,  67777676,  67777677,  67777678,  67777765,
    67777766,  67777767,  67777776,  67777777,  67777778,  67777787,  67777788,
    67777789,  67777876,  67777877,  67777878,  67777887,  67777888,  67777889,
    67777898,  67777899,  67778765,  67778766,  67778767,  67778776,  67778777,
    67778778,  67778787,  67778788,  67778789,  67778876,  67778877,  67778878,
    67778887,  67778888,  67778889,  67778898,  67778899,  67778987,  67778988,
    67778989,  67778998,  67778999,  67787654,  67787655,  67787656,  67787665,
    67787666,  67787667,  67787676,  67787677,  67787678,  67787765,  67787766,
    67787767,  67787776,  67787777,  67787778,  67787787,  67787788,  67787789,
    67787876,  67787877,  67787878,  67787887,  67787888,  67787889,  67787898,
    67787899,  67788765,  67788766,  67788767,  67788776,  67788777,  67788778,
    67788787,  67788788,  67788789,  67788876,  67788877,  67788878,  67788887,
    67788888,  67788889,  67788898,  67788899,  67788987,  67788988,  67788989,
    67788998,  67788999,  67789876,  67789877,  67789878,  67789887,  67789888,
    67789889,  67789898,  67789899,  67789987,  67789988,  67789989,  67789998,
    67789999,  67876543,  67876544,  67876545,  67876554,  67876555,  67876556,
    67876565,  67876566,  67876567,  67876654,  67876655,  67876656,  67876665,
    67876666,  67876667,  67876676,  67876677,  67876678,  67876765,  67876766,
    67876767,  67876776,  67876777,  67876778,  67876787,  67876788,  67876789,
    67877654,  67877655,  67877656,  67877665,  67877666,  67877667,  67877676,
    67877677,  67877678,  67877765,  67877766,  67877767,  67877776,  67877777,
    67877778,  67877787,  67877788,  67877789,  67877876,  67877877,  67877878,
    67877887,  67877888,  67877889,  67877898,  67877899,  67878765,  67878766,
    67878767,  67878776,  67878777,  67878778,  67878787,  67878788,  67878789,
    67878876,  67878877,  67878878,  67878887,  67878888,  67878889,  67878898,
    67878899,  67878987,  67878988,  67878989,  67878998,  67878999,  67887654,
    67887655,  67887656,  67887665,  67887666,  67887667,  67887676,  67887677,
    67887678,  67887765,  67887766,  67887767,  67887776,  67887777,  67887778,
    67887787,  67887788,  67887789,  67887876,  67887877,  67887878,  67887887,
    67887888,  67887889,  67887898,  67887899,  67888765,  67888766,  67888767,
    67888776,  67888777,  67888778,  67888787,  67888788,  67888789,  67888876,
    67888877,  67888878,  67888887,  67888888,  67888889,  67888898,  67888899,
    67888987,  67888988,  67888989,  67888998,  67888999,  67889876,  67889877,
    67889878,  67889887,  67889888,  67889889,  67889898,  67889899,  67889987,
    67889988,  67889989,  67889998,  67889999,  67898765,  67898766,  67898767,
    67898776,  67898777,  67898778,  67898787,  67898788,  67898789,  67898876,
    67898877,  67898878,  67898887,  67898888,  67898889,  67898898,  67898899,
    67898987,  67898988,  67898989,  67898998,  67898999,  67899876,  67899877,
    67899878,  67899887,  67899888,  67899889,  67899898,  67899899,  67899987,
    67899988,  67899989,  67899998,  67899999,  76543210,  76543211,  76543212,
    76543221,  76543222,  76543223,  76543232,  76543233,  76543234,  76543321,
    76543322,  76543323,  76543332,  76543333,  76543334,  76543343,  76543344,
    76543345,  76543432,  76543433,  76543434,  76543443,  76543444,  76543445,
    76543454,  76543455,  76543456,  76544321,  76544322,  76544323,  76544332,
    76544333,  76544334,  76544343,  76544344,  76544345,  76544432,  76544433,
    76544434,  76544443,  76544444,  76544445,  76544454,  76544455,  76544456,
    76544543,  76544544,  76544545,  76544554,  76544555,  76544556,  76544565,
    76544566,  76544567,  76545432,  76545433,  76545434,  76545443,  76545444,
    76545445,  76545454,  76545455,  76545456,  76545543,  76545544,  76545545,
    76545554,  76545555,  76545556,  76545565,  76545566,  76545567,  76545654,
    76545655,  76545656,  76545665,  76545666,  76545667,  76545676,  76545677,
    76545678,  76554321,  76554322,  76554323,  76554332,  76554333,  76554334,
    76554343,  76554344,  76554345,  76554432,  76554433,  76554434,  76554443,
    76554444,  76554445,  76554454,  76554455,  76554456,  76554543,  76554544,
    76554545,  76554554,  76554555,  76554556,  76554565,  76554566,  76554567,
    76555432,  76555433,  76555434,  76555443,  76555444,  76555445,  76555454,
    76555455,  76555456,  76555543,  76555544,  76555545,  76555554,  76555555,
    76555556,  76555565,  76555566,  76555567,  76555654,  76555655,  76555656,
    76555665,  76555666,  76555667,  76555676,  76555677,  76555678,  76556543,
    76556544,  76556545,  76556554,  76556555,  76556556,  76556565,  76556566,
    76556567,  76556654,  76556655,  76556656,  76556665,  76556666,  76556667,
    76556676,  76556677,  76556678,  76556765,  76556766,  76556767,  76556776,
    76556777,  76556778,  76556787,  76556788,  76556789,  76565432,  76565433,
    76565434,  76565443,  76565444,  76565445,  76565454,  76565455,  76565456,
    76565543,  76565544,  76565545,  76565554,  76565555,  76565556,  76565565,
    76565566,  76565567,  76565654,  76565655,  76565656,  76565665,  76565666,
    76565667,  76565676,  76565677,  76565678,  76566543,  76566544,  76566545,
    76566554,  76566555,  76566556,  76566565,  76566566,  76566567,  76566654,
    76566655,  76566656,  76566665,  76566666,  76566667,  76566676,  76566677,
    76566678,  76566765,  76566766,  76566767,  76566776,  76566777,  76566778,
    76566787,  76566788,  76566789,  76567654,  76567655,  76567656,  76567665,
    76567666,  76567667,  76567676,  76567677,  76567678,  76567765,  76567766,
    76567767,  76567776,  76567777,  76567778,  76567787,  76567788,  76567789,
    76567876,  76567877,  76567878,  76567887,  76567888,  76567889,  76567898,
    76567899,  76654321,  76654322,  76654323,  76654332,  76654333,  76654334,
    76654343,  76654344,  76654345,  76654432,  76654433,  76654434,  76654443,
    76654444,  76654445,  76654454,  76654455,  76654456,  76654543,  76654544,
    76654545,  76654554,  76654555,  76654556,  76654565,  76654566,  76654567,
    76655432,  76655433,  76655434,  76655443,  76655444,  76655445,  76655454,
    76655455,  76655456,  76655543,  76655544,  76655545,  76655554,  76655555,
    76655556,  76655565,  76655566,  76655567,  76655654,  76655655,  76655656,
    76655665,  76655666,  76655667,  76655676,  76655677,  76655678,  76656543,
    76656544,  76656545,  76656554,  76656555,  76656556,  76656565,  76656566,
    76656567,  76656654,  76656655,  76656656,  76656665,  76656666,  76656667,
    76656676,  76656677,  76656678,  76656765,  76656766,  76656767,  76656776,
    76656777,  76656778,  76656787,  76656788,  76656789,  76665432,  76665433,
    76665434,  76665443,  76665444,  76665445,  76665454,  76665455,  76665456,
    76665543,  76665544,  76665545,  76665554,  76665555,  76665556,  76665565,
    76665566,  76665567,  76665654,  76665655,  76665656,  76665665,  76665666,
    76665667,  76665676,  76665677,  76665678,  76666543,  76666544,  76666545,
    76666554,  76666555,  76666556,  76666565,  76666566,  76666567,  76666654,
    76666655,  76666656,  76666665,  76666666,  76666667,  76666676,  76666677,
    76666678,  76666765,  76666766,  76666767,  76666776,  76666777,  76666778,
    76666787,  76666788,  76666789,  76667654,  76667655,  76667656,  76667665,
    76667666,  76667667,  76667676,  76667677,  76667678,  76667765,  76667766,
    76667767,  76667776,  76667777,  76667778,  76667787,  76667788,  76667789,
    76667876,  76667877,  76667878,  76667887,  76667888,  76667889,  76667898,
    76667899,  76676543,  76676544,  76676545,  76676554,  76676555,  76676556,
    76676565,  76676566,  76676567,  76676654,  76676655,  76676656,  76676665,
    76676666,  76676667,  76676676,  76676677,  76676678,  76676765,  76676766,
    76676767,  76676776,  76676777,  76676778,  76676787,  76676788,  76676789,
    76677654,  76677655,  76677656,  76677665,  76677666,  76677667,  76677676,
    76677677,  76677678,  76677765,  76677766,  76677767,  76677776,  76677777,
    76677778,  76677787,  76677788,  76677789,  76677876,  76677877,  76677878,
    76677887,  76677888,  76677889,  76677898,  76677899,  76678765,  76678766,
    76678767,  76678776,  76678777,  76678778,  76678787,  76678788,  76678789,
    76678876,  76678877,  76678878,  76678887,  76678888,  76678889,  76678898,
    76678899,  76678987,  76678988,  76678989,  76678998,  76678999,  76765432,
    76765433,  76765434,  76765443,  76765444,  76765445,  76765454,  76765455,
    76765456,  76765543,  76765544,  76765545,  76765554,  76765555,  76765556,
    76765565,  76765566,  76765567,  76765654,  76765655,  76765656,  76765665,
    76765666,  76765667,  76765676,  76765677,  76765678,  76766543,  76766544,
    76766545,  76766554,  76766555,  76766556,  76766565,  76766566,  76766567,
    76766654,  76766655,  76766656,  76766665,  76766666,  76766667,  76766676,
    76766677,  76766678,  76766765,  76766766,  76766767,  76766776,  76766777,
    76766778,  76766787,  76766788,  76766789,  76767654,  76767655,  76767656,
    76767665,  76767666,  76767667,  76767676,  76767677,  76767678,  76767765,
    76767766,  76767767,  76767776,  76767777,  76767778,  76767787,  76767788,
    76767789,  76767876,  76767877,  76767878,  76767887,  76767888,  76767889,
    76767898,  76767899,  76776543,  76776544,  76776545,  76776554,  76776555,
    76776556,  76776565,  76776566,  76776567,  76776654,  76776655,  76776656,
    76776665,  76776666,  76776667,  76776676,  76776677,  76776678,  76776765,
    76776766,  76776767,  76776776,  76776777,  76776778,  76776787,  76776788,
    76776789,  76777654,  76777655,  76777656,  76777665,  76777666,  76777667,
    76777676,  76777677,  76777678,  76777765,  76777766,  76777767,  76777776,
    76777777,  76777778,  76777787,  76777788,  76777789,  76777876,  76777877,
    76777878,  76777887,  76777888,  76777889,  76777898,  76777899,  76778765,
    76778766,  76778767,  76778776,  76778777,  76778778,  76778787,  76778788,
    76778789,  76778876,  76778877,  76778878,  76778887,  76778888,  76778889,
    76778898,  76778899,  76778987,  76778988,  76778989,  76778998,  76778999,
    76787654,  76787655,  76787656,  76787665,  76787666,  76787667,  76787676,
    76787677,  76787678,  76787765,  76787766,  76787767,  76787776,  76787777,
    76787778,  76787787,  76787788,  76787789,  76787876,  76787877,  76787878,
    76787887,  76787888,  76787889,  76787898,  76787899,  76788765,  76788766,
    76788767,  76788776,  76788777,  76788778,  76788787,  76788788,  76788789,
    76788876,  76788877,  76788878,  76788887,  76788888,  76788889,  76788898,
    76788899,  76788987,  76788988,  76788989,  76788998,  76788999,  76789876,
    76789877,  76789878,  76789887,  76789888,  76789889,  76789898,  76789899,
    76789987,  76789988,  76789989,  76789998,  76789999,  77654321,  77654322,
    77654323,  77654332,  77654333,  77654334,  77654343,  77654344,  77654345,
    77654432,  77654433,  77654434,  77654443,  77654444,  77654445,  77654454,
    77654455,  77654456,  77654543,  77654544,  77654545,  77654554,  77654555,
    77654556,  77654565,  77654566,  77654567,  77655432,  77655433,  77655434,
    77655443,  77655444,  77655445,  77655454,  77655455,  77655456,  77655543,
    77655544,  77655545,  77655554,  77655555,  77655556,  77655565,  77655566,
    77655567,  77655654,  77655655,  77655656,  77655665,  77655666,  77655667,
    77655676,  77655677,  77655678,  77656543,  77656544,  77656545,  77656554,
    77656555,  77656556,  77656565,  77656566,  77656567,  77656654,  77656655,
    77656656,  77656665,  77656666,  77656667,  77656676,  77656677,  77656678,
    77656765,  77656766,  77656767,  77656776,  77656777,  77656778,  77656787,
    77656788,  77656789,  77665432,  77665433,  77665434,  77665443,  77665444,
    77665445,  77665454,  77665455,  77665456,  77665543,  77665544,  77665545,
    77665554,  77665555,  77665556,  77665565,  77665566,  77665567,  77665654,
    77665655,  77665656,  77665665,  77665666,  77665667,  77665676,  77665677,
    77665678,  77666543,  77666544,  77666545,  77666554,  77666555,  77666556,
    77666565,  77666566,  77666567,  77666654,  77666655,  77666656,  77666665,
    77666666,  77666667,  77666676,  77666677,  77666678,  77666765,  77666766,
    77666767,  77666776,  77666777,  77666778,  77666787,  77666788,  77666789,
    77667654,  77667655,  77667656,  77667665,  77667666,  77667667,  77667676,
    77667677,  77667678,  77667765,  77667766,  77667767,  77667776,  77667777,
    77667778,  77667787,  77667788,  77667789,  77667876,  77667877,  77667878,
    77667887,  77667888,  77667889,  77667898,  77667899,  77676543,  77676544,
    77676545,  77676554,  77676555,  77676556,  77676565,  77676566,  77676567,
    77676654,  77676655,  77676656,  77676665,  77676666,  77676667,  77676676,
    77676677,  77676678,  77676765,  77676766,  77676767,  77676776,  77676777,
    77676778,  77676787,  77676788,  77676789,  77677654,  77677655,  77677656,
    77677665,  77677666,  77677667,  77677676,  77677677,  77677678,  77677765,
    77677766,  77677767,  77677776,  77677777,  77677778,  77677787,  77677788,
    77677789,  77677876,  77677877,  77677878,  77677887,  77677888,  77677889,
    77677898,  77677899,  77678765,  77678766,  77678767,  77678776,  77678777,
    77678778,  77678787,  77678788,  77678789,  77678876,  77678877,  77678878,
    77678887,  77678888,  77678889,  77678898,  77678899,  77678987,  77678988,
    77678989,  77678998,  77678999,  77765432,  77765433,  77765434,  77765443,
    77765444,  77765445,  77765454,  77765455,  77765456,  77765543,  77765544,
    77765545,  77765554,  77765555,  77765556,  77765565,  77765566,  77765567,
    77765654,  77765655,  77765656,  77765665,  77765666,  77765667,  77765676,
    77765677,  77765678,  77766543,  77766544,  77766545,  77766554,  77766555,
    77766556,  77766565,  77766566,  77766567,  77766654,  77766655,  77766656,
    77766665,  77766666,  77766667,  77766676,  77766677,  77766678,  77766765,
    77766766,  77766767,  77766776,  77766777,  77766778,  77766787,  77766788,
    77766789,  77767654,  77767655,  77767656,  77767665,  77767666,  77767667,
    77767676,  77767677,  77767678,  77767765,  77767766,  77767767,  77767776,
    77767777,  77767778,  77767787,  77767788,  77767789,  77767876,  77767877,
    77767878,  77767887,  77767888,  77767889,  77767898,  77767899,  77776543,
    77776544,  77776545,  77776554,  77776555,  77776556,  77776565,  77776566,
    77776567,  77776654,  77776655,  77776656,  77776665,  77776666,  77776667,
    77776676,  77776677,  77776678,  77776765,  77776766,  77776767,  77776776,
    77776777,  77776778,  77776787,  77776788,  77776789,  77777654,  77777655,
    77777656,  77777665,  77777666,  77777667,  77777676,  77777677,  77777678,
    77777765,  77777766,  77777767,  77777776,  77777777,  77777778,  77777787,
    77777788,  77777789,  77777876,  77777877,  77777878,  77777887,  77777888,
    77777889,  77777898,  77777899,  77778765,  77778766,  77778767,  77778776,
    77778777,  77778778,  77778787,  77778788,  77778789,  77778876,  77778877,
    77778878,  77778887,  77778888,  77778889,  77778898,  77778899,  77778987,
    77778988,  77778989,  77778998,  77778999,  77787654,  77787655,  77787656,
    77787665,  77787666,  77787667,  77787676,  77787677,  77787678,  77787765,
    77787766,  77787767,  77787776,  77787777,  77787778,  77787787,  77787788,
    77787789,  77787876,  77787877,  77787878,  77787887,  77787888,  77787889,
    77787898,  77787899,  77788765,  77788766,  77788767,  77788776,  77788777,
    77788778,  77788787,  77788788,  77788789,  77788876,  77788877,  77788878,
    77788887,  77788888,  77788889,  77788898,  77788899,  77788987,  77788988,
    77788989,  77788998,  77788999,  77789876,  77789877,  77789878,  77789887,
    77789888,  77789889,  77789898,  77789899,  77789987,  77789988,  77789989,
    77789998,  77789999,  77876543,  77876544,  77876545,  77876554,  77876555,
    77876556,  77876565,  77876566,  77876567,  77876654,  77876655,  77876656,
    77876665,  77876666,  77876667,  77876676,  77876677,  77876678,  77876765,
    77876766,  77876767,  77876776,  77876777,  77876778,  77876787,  77876788,
    77876789,  77877654,  77877655,  77877656,  77877665,  77877666,  77877667,
    77877676,  77877677,  77877678,  77877765,  77877766,  77877767,  77877776,
    77877777,  77877778,  77877787,  77877788,  77877789,  77877876,  77877877,
    77877878,  77877887,  77877888,  77877889,  77877898,  77877899,  77878765,
    77878766,  77878767,  77878776,  77878777,  77878778,  77878787,  77878788,
    77878789,  77878876,  77878877,  77878878,  77878887,  77878888,  77878889,
    77878898,  77878899,  77878987,  77878988,  77878989,  77878998,  77878999,
    77887654,  77887655,  77887656,  77887665,  77887666,  77887667,  77887676,
    77887677,  77887678,  77887765,  77887766,  77887767,  77887776,  77887777,
    77887778,  77887787,  77887788,  77887789,  77887876,  77887877,  77887878,
    77887887,  77887888,  77887889,  77887898,  77887899,  77888765,  77888766,
    77888767,  77888776,  77888777,  77888778,  77888787,  77888788,  77888789,
    77888876,  77888877,  77888878,  77888887,  77888888,  77888889,  77888898,
    77888899,  77888987,  77888988,  77888989,  77888998,  77888999,  77889876,
    77889877,  77889878,  77889887,  77889888,  77889889,  77889898,  77889899,
    77889987,  77889988,  77889989,  77889998,  77889999,  77898765,  77898766,
    77898767,  77898776,  77898777,  77898778,  77898787,  77898788,  77898789,
    77898876,  77898877,  77898878,  77898887,  77898888,  77898889,  77898898,
    77898899,  77898987,  77898988,  77898989,  77898998,  77898999,  77899876,
    77899877,  77899878,  77899887,  77899888,  77899889,  77899898,  77899899,
    77899987,  77899988,  77899989,  77899998,  77899999,  78765432,  78765433,
    78765434,  78765443,  78765444,  78765445,  78765454,  78765455,  78765456,
    78765543,  78765544,  78765545,  78765554,  78765555,  78765556,  78765565,
    78765566,  78765567,  78765654,  78765655,  78765656,  78765665,  78765666,
    78765667,  78765676,  78765677,  78765678,  78766543,  78766544,  78766545,
    78766554,  78766555,  78766556,  78766565,  78766566,  78766567,  78766654,
    78766655,  78766656,  78766665,  78766666,  78766667,  78766676,  78766677,
    78766678,  78766765,  78766766,  78766767,  78766776,  78766777,  78766778,
    78766787,  78766788,  78766789,  78767654,  78767655,  78767656,  78767665,
    78767666,  78767667,  78767676,  78767677,  78767678,  78767765,  78767766,
    78767767,  78767776,  78767777,  78767778,  78767787,  78767788,  78767789,
    78767876,  78767877,  78767878,  78767887,  78767888,  78767889,  78767898,
    78767899,  78776543,  78776544,  78776545,  78776554,  78776555,  78776556,
    78776565,  78776566,  78776567,  78776654,  78776655,  78776656,  78776665,
    78776666,  78776667,  78776676,  78776677,  78776678,  78776765,  78776766,
    78776767,  78776776,  78776777,  78776778,  78776787,  78776788,  78776789,
    78777654,  78777655,  78777656,  78777665,  78777666,  78777667,  78777676,
    78777677,  78777678,  78777765,  78777766,  78777767,  78777776,  78777777,
    78777778,  78777787,  78777788,  78777789,  78777876,  78777877,  78777878,
    78777887,  78777888,  78777889,  78777898,  78777899,  78778765,  78778766,
    78778767,  78778776,  78778777,  78778778,  78778787,  78778788,  78778789,
    78778876,  78778877,  78778878,  78778887,  78778888,  78778889,  78778898,
    78778899,  78778987,  78778988,  78778989,  78778998,  78778999,  78787654,
    78787655,  78787656,  78787665,  78787666,  78787667,  78787676,  78787677,
    78787678,  78787765,  78787766,  78787767,  78787776,  78787777,  78787778,
    78787787,  78787788,  78787789,  78787876,  78787877,  78787878,  78787887,
    78787888,  78787889,  78787898,  78787899,  78788765,  78788766,  78788767,
    78788776,  78788777,  78788778,  78788787,  78788788,  78788789,  78788876,
    78788877,  78788878,  78788887,  78788888,  78788889,  78788898,  78788899,
    78788987,  78788988,  78788989,  78788998,  78788999,  78789876,  78789877,
    78789878,  78789887,  78789888,  78789889,  78789898,  78789899,  78789987,
    78789988,  78789989,  78789998,  78789999,  78876543,  78876544,  78876545,
    78876554,  78876555,  78876556,  78876565,  78876566,  78876567,  78876654,
    78876655,  78876656,  78876665,  78876666,  78876667,  78876676,  78876677,
    78876678,  78876765,  78876766,  78876767,  78876776,  78876777,  78876778,
    78876787,  78876788,  78876789,  78877654,  78877655,  78877656,  78877665,
    78877666,  78877667,  78877676,  78877677,  78877678,  78877765,  78877766,
    78877767,  78877776,  78877777,  78877778,  78877787,  78877788,  78877789,
    78877876,  78877877,  78877878,  78877887,  78877888,  78877889,  78877898,
    78877899,  78878765,  78878766,  78878767,  78878776,  78878777,  78878778,
    78878787,  78878788,  78878789,  78878876,  78878877,  78878878,  78878887,
    78878888,  78878889,  78878898,  78878899,  78878987,  78878988,  78878989,
    78878998,  78878999,  78887654,  78887655,  78887656,  78887665,  78887666,
    78887667,  78887676,  78887677,  78887678,  78887765,  78887766,  78887767,
    78887776,  78887777,  78887778,  78887787,  78887788,  78887789,  78887876,
    78887877,  78887878,  78887887,  78887888,  78887889,  78887898,  78887899,
    78888765,  78888766,  78888767,  78888776,  78888777,  78888778,  78888787,
    78888788,  78888789,  78888876,  78888877,  78888878,  78888887,  78888888,
    78888889,  78888898,  78888899,  78888987,  78888988,  78888989,  78888998,
    78888999,  78889876,  78889877,  78889878,  78889887,  78889888,  78889889,
    78889898,  78889899,  78889987,  78889988,  78889989,  78889998,  78889999,
    78898765,  78898766,  78898767,  78898776,  78898777,  78898778,  78898787,
    78898788,  78898789,  78898876,  78898877,  78898878,  78898887,  78898888,
    78898889,  78898898,  78898899,  78898987,  78898988,  78898989,  78898998,
    78898999,  78899876,  78899877,  78899878,  78899887,  78899888,  78899889,
    78899898,  78899899,  78899987,  78899988,  78899989,  78899998,  78899999,
    78987654,  78987655,  78987656,  78987665,  78987666,  78987667,  78987676,
    78987677,  78987678,  78987765,  78987766,  78987767,  78987776,  78987777,
    78987778,  78987787,  78987788,  78987789,  78987876,  78987877,  78987878,
    78987887,  78987888,  78987889,  78987898,  78987899,  78988765,  78988766,
    78988767,  78988776,  78988777,  78988778,  78988787,  78988788,  78988789,
    78988876,  78988877,  78988878,  78988887,  78988888,  78988889,  78988898,
    78988899,  78988987,  78988988,  78988989,  78988998,  78988999,  78989876,
    78989877,  78989878,  78989887,  78989888,  78989889,  78989898,  78989899,
    78989987,  78989988,  78989989,  78989998,  78989999,  78998765,  78998766,
    78998767,  78998776,  78998777,  78998778,  78998787,  78998788,  78998789,
    78998876,  78998877,  78998878,  78998887,  78998888,  78998889,  78998898,
    78998899,  78998987,  78998988,  78998989,  78998998,  78998999,  78999876,
    78999877,  78999878,  78999887,  78999888,  78999889,  78999898,  78999899,
    78999987,  78999988,  78999989,  78999998,  78999999,  87654321,  87654322,
    87654323,  87654332,  87654333,  87654334,  87654343,  87654344,  87654345,
    87654432,  87654433,  87654434,  87654443,  87654444,  87654445,  87654454,
    87654455,  87654456,  87654543,  87654544,  87654545,  87654554,  87654555,
    87654556,  87654565,  87654566,  87654567,  87655432,  87655433,  87655434,
    87655443,  87655444,  87655445,  87655454,  87655455,  87655456,  87655543,
    87655544,  87655545,  87655554,  87655555,  87655556,  87655565,  87655566,
    87655567,  87655654,  87655655,  87655656,  87655665,  87655666,  87655667,
    87655676,  87655677,  87655678,  87656543,  87656544,  87656545,  87656554,
    87656555,  87656556,  87656565,  87656566,  87656567,  87656654,  87656655,
    87656656,  87656665,  87656666,  87656667,  87656676,  87656677,  87656678,
    87656765,  87656766,  87656767,  87656776,  87656777,  87656778,  87656787,
    87656788,  87656789,  87665432,  87665433,  87665434,  87665443,  87665444,
    87665445,  87665454,  87665455,  87665456,  87665543,  87665544,  87665545,
    87665554,  87665555,  87665556,  87665565,  87665566,  87665567,  87665654,
    87665655,  87665656,  87665665,  87665666,  87665667,  87665676,  87665677,
    87665678,  87666543,  87666544,  87666545,  87666554,  87666555,  87666556,
    87666565,  87666566,  87666567,  87666654,  87666655,  87666656,  87666665,
    87666666,  87666667,  87666676,  87666677,  87666678,  87666765,  87666766,
    87666767,  87666776,  87666777,  87666778,  87666787,  87666788,  87666789,
    87667654,  87667655,  87667656,  87667665,  87667666,  87667667,  87667676,
    87667677,  87667678,  87667765,  87667766,  87667767,  87667776,  87667777,
    87667778,  87667787,  87667788,  87667789,  87667876,  87667877,  87667878,
    87667887,  87667888,  87667889,  87667898,  87667899,  87676543,  87676544,
    87676545,  87676554,  87676555,  87676556,  87676565,  87676566,  87676567,
    87676654,  87676655,  87676656,  87676665,  87676666,  87676667,  87676676,
    87676677,  87676678,  87676765,  87676766,  87676767,  87676776,  87676777,
    87676778,  87676787,  87676788,  87676789,  87677654,  87677655,  87677656,
    87677665,  87677666,  87677667,  87677676,  87677677,  87677678,  87677765,
    87677766,  87677767,  87677776,  87677777,  87677778,  87677787,  87677788,
    87677789,  87677876,  87677877,  87677878,  87677887,  87677888,  87677889,
    87677898,  87677899,  87678765,  87678766,  87678767,  87678776,  87678777,
    87678778,  87678787,  87678788,  87678789,  87678876,  87678877,  87678878,
    87678887,  87678888,  87678889,  87678898,  87678899,  87678987,  87678988,
    87678989,  87678998,  87678999,  87765432,  87765433,  87765434,  87765443,
    87765444,  87765445,  87765454,  87765455,  87765456,  87765543,  87765544,
    87765545,  87765554,  87765555,  87765556,  87765565,  87765566,  87765567,
    87765654,  87765655,  87765656,  87765665,  87765666,  87765667,  87765676,
    87765677,  87765678,  87766543,  87766544,  87766545,  87766554,  87766555,
    87766556,  87766565,  87766566,  87766567,  87766654,  87766655,  87766656,
    87766665,  87766666,  87766667,  87766676,  87766677,  87766678,  87766765,
    87766766,  87766767,  87766776,  87766777,  87766778,  87766787,  87766788,
    87766789,  87767654,  87767655,  87767656,  87767665,  87767666,  87767667,
    87767676,  87767677,  87767678,  87767765,  87767766,  87767767,  87767776,
    87767777,  87767778,  87767787,  87767788,  87767789,  87767876,  87767877,
    87767878,  87767887,  87767888,  87767889,  87767898,  87767899,  87776543,
    87776544,  87776545,  87776554,  87776555,  87776556,  87776565,  87776566,
    87776567,  87776654,  87776655,  87776656,  87776665,  87776666,  87776667,
    87776676,  87776677,  87776678,  87776765,  87776766,  87776767,  87776776,
    87776777,  87776778,  87776787,  87776788,  87776789,  87777654,  87777655,
    87777656,  87777665,  87777666,  87777667,  87777676,  87777677,  87777678,
    87777765,  87777766,  87777767,  87777776,  87777777,  87777778,  87777787,
    87777788,  87777789,  87777876,  87777877,  87777878,  87777887,  87777888,
    87777889,  87777898,  87777899,  87778765,  87778766,  87778767,  87778776,
    87778777,  87778778,  87778787,  87778788,  87778789,  87778876,  87778877,
    87778878,  87778887,  87778888,  87778889,  87778898,  87778899,  87778987,
    87778988,  87778989,  87778998,  87778999,  87787654,  87787655,  87787656,
    87787665,  87787666,  87787667,  87787676,  87787677,  87787678,  87787765,
    87787766,  87787767,  87787776,  87787777,  87787778,  87787787,  87787788,
    87787789,  87787876,  87787877,  87787878,  87787887,  87787888,  87787889,
    87787898,  87787899,  87788765,  87788766,  87788767,  87788776,  87788777,
    87788778,  87788787,  87788788,  87788789,  87788876,  87788877,  87788878,
    87788887,  87788888,  87788889,  87788898,  87788899,  87788987,  87788988,
    87788989,  87788998,  87788999,  87789876,  87789877,  87789878,  87789887,
    87789888,  87789889,  87789898,  87789899,  87789987,  87789988,  87789989,
    87789998,  87789999,  87876543,  87876544,  87876545,  87876554,  87876555,
    87876556,  87876565,  87876566,  87876567,  87876654,  87876655,  87876656,
    87876665,  87876666,  87876667,  87876676,  87876677,  87876678,  87876765,
    87876766,  87876767,  87876776,  87876777,  87876778,  87876787,  87876788,
    87876789,  87877654,  87877655,  87877656,  87877665,  87877666,  87877667,
    87877676,  87877677,  87877678,  87877765,  87877766,  87877767,  87877776,
    87877777,  87877778,  87877787,  87877788,  87877789,  87877876,  87877877,
    87877878,  87877887,  87877888,  87877889,  87877898,  87877899,  87878765,
    87878766,  87878767,  87878776,  87878777,  87878778,  87878787,  87878788,
    87878789,  87878876,  87878877,  87878878,  87878887,  87878888,  87878889,
    87878898,  87878899,  87878987,  87878988,  87878989,  87878998,  87878999,
    87887654,  87887655,  87887656,  87887665,  87887666,  87887667,  87887676,
    87887677,  87887678,  87887765,  87887766,  87887767,  87887776,  87887777,
    87887778,  87887787,  87887788,  87887789,  87887876,  87887877,  87887878,
    87887887,  87887888,  87887889,  87887898,  87887899,  87888765,  87888766,
    87888767,  87888776,  87888777,  87888778,  87888787,  87888788,  87888789,
    87888876,  87888877,  87888878,  87888887,  87888888,  87888889,  87888898,
    87888899,  87888987,  87888988,  87888989,  87888998,  87888999,  87889876,
    87889877,  87889878,  87889887,  87889888,  87889889,  87889898,  87889899,
    87889987,  87889988,  87889989,  87889998,  87889999,  87898765,  87898766,
    87898767,  87898776,  87898777,  87898778,  87898787,  87898788,  87898789,
    87898876,  87898877,  87898878,  87898887,  87898888,  87898889,  87898898,
    87898899,  87898987,  87898988,  87898989,  87898998,  87898999,  87899876,
    87899877,  87899878,  87899887,  87899888,  87899889,  87899898,  87899899,
    87899987,  87899988,  87899989,  87899998,  87899999,  88765432,  88765433,
    88765434,  88765443,  88765444,  88765445,  88765454,  88765455,  88765456,
    88765543,  88765544,  88765545,  88765554,  88765555,  88765556,  88765565,
    88765566,  88765567,  88765654,  88765655,  88765656,  88765665,  88765666,
    88765667,  88765676,  88765677,  88765678,  88766543,  88766544,  88766545,
    88766554,  88766555,  88766556,  88766565,  88766566,  88766567,  88766654,
    88766655,  88766656,  88766665,  88766666,  88766667,  88766676,  88766677,
    88766678,  88766765,  88766766,  88766767,  88766776,  88766777,  88766778,
    88766787,  88766788,  88766789,  88767654,  88767655,  88767656,  88767665,
    88767666,  88767667,  88767676,  88767677,  88767678,  88767765,  88767766,
    88767767,  88767776,  88767777,  88767778,  88767787,  88767788,  88767789,
    88767876,  88767877,  88767878,  88767887,  88767888,  88767889,  88767898,
    88767899,  88776543,  88776544,  88776545,  88776554,  88776555,  88776556,
    88776565,  88776566,  88776567,  88776654,  88776655,  88776656,  88776665,
    88776666,  88776667,  88776676,  88776677,  88776678,  88776765,  88776766,
    88776767,  88776776,  88776777,  88776778,  88776787,  88776788,  88776789,
    88777654,  88777655,  88777656,  88777665,  88777666,  88777667,  88777676,
    88777677,  88777678,  88777765,  88777766,  88777767,  88777776,  88777777,
    88777778,  88777787,  88777788,  88777789,  88777876,  88777877,  88777878,
    88777887,  88777888,  88777889,  88777898,  88777899,  88778765,  88778766,
    88778767,  88778776,  88778777,  88778778,  88778787,  88778788,  88778789,
    88778876,  88778877,  88778878,  88778887,  88778888,  88778889,  88778898,
    88778899,  88778987,  88778988,  88778989,  88778998,  88778999,  88787654,
    88787655,  88787656,  88787665,  88787666,  88787667,  88787676,  88787677,
    88787678,  88787765,  88787766,  88787767,  88787776,  88787777,  88787778,
    88787787,  88787788,  88787789,  88787876,  88787877,  88787878,  88787887,
    88787888,  88787889,  88787898,  88787899,  88788765,  88788766,  88788767,
    88788776,  88788777,  88788778,  88788787,  88788788,  88788789,  88788876,
    88788877,  88788878,  88788887,  88788888,  88788889,  88788898,  88788899,
    88788987,  88788988,  88788989,  88788998,  88788999,  88789876,  88789877,
    88789878,  88789887,  88789888,  88789889,  88789898,  88789899,  88789987,
    88789988,  88789989,  88789998,  88789999,  88876543,  88876544,  88876545,
    88876554,  88876555,  88876556,  88876565,  88876566,  88876567,  88876654,
    88876655,  88876656,  88876665,  88876666,  88876667,  88876676,  88876677,
    88876678,  88876765,  88876766,  88876767,  88876776,  88876777,  88876778,
    88876787,  88876788,  88876789,  88877654,  88877655,  88877656,  88877665,
    88877666,  88877667,  88877676,  88877677,  88877678,  88877765,  88877766,
    88877767,  88877776,  88877777,  88877778,  88877787,  88877788,  88877789,
    88877876,  88877877,  88877878,  88877887,  88877888,  88877889,  88877898,
    88877899,  88878765,  88878766,  88878767,  88878776,  88878777,  88878778,
    88878787,  88878788,  88878789,  88878876,  88878877,  88878878,  88878887,
    88878888,  88878889,  88878898,  88878899,  88878987,  88878988,  88878989,
    88878998,  88878999,  88887654,  88887655,  88887656,  88887665,  88887666,
    88887667,  88887676,  88887677,  88887678,  88887765,  88887766,  88887767,
    88887776,  88887777,  88887778,  88887787,  88887788,  88887789,  88887876,
    88887877,  88887878,  88887887,  88887888,  88887889,  88887898,  88887899,
    88888765,  88888766,  88888767,  88888776,  88888777,  88888778,  88888787,
    88888788,  88888789,  88888876,  88888877,  88888878,  88888887,  88888888,
    88888889,  88888898,  88888899,  88888987,  88888988,  88888989,  88888998,
    88888999,  88889876,  88889877,  88889878,  88889887,  88889888,  88889889,
    88889898,  88889899,  88889987,  88889988,  88889989,  88889998,  88889999,
    88898765,  88898766,  88898767,  88898776,  88898777,  88898778,  88898787,
    88898788,  88898789,  88898876,  88898877,  88898878,  88898887,  88898888,
    88898889,  88898898,  88898899,  88898987,  88898988,  88898989,  88898998,
    88898999,  88899876,  88899877,  88899878,  88899887,  88899888,  88899889,
    88899898,  88899899,  88899987,  88899988,  88899989,  88899998,  88899999,
    88987654,  88987655,  88987656,  88987665,  88987666,  88987667,  88987676,
    88987677,  88987678,  88987765,  88987766,  88987767,  88987776,  88987777,
    88987778,  88987787,  88987788,  88987789,  88987876,  88987877,  88987878,
    88987887,  88987888,  88987889,  88987898,  88987899,  88988765,  88988766,
    88988767,  88988776,  88988777,  88988778,  88988787,  88988788,  88988789,
    88988876,  88988877,  88988878,  88988887,  88988888,  88988889,  88988898,
    88988899,  88988987,  88988988,  88988989,  88988998,  88988999,  88989876,
    88989877,  88989878,  88989887,  88989888,  88989889,  88989898,  88989899,
    88989987,  88989988,  88989989,  88989998,  88989999,  88998765,  88998766,
    88998767,  88998776,  88998777,  88998778,  88998787,  88998788,  88998789,
    88998876,  88998877,  88998878,  88998887,  88998888,  88998889,  88998898,
    88998899,  88998987,  88998988,  88998989,  88998998,  88998999,  88999876,
    88999877,  88999878,  88999887,  88999888,  88999889,  88999898,  88999899,
    88999987,  88999988,  88999989,  88999998,  88999999,  89876543,  89876544,
    89876545,  89876554,  89876555,  89876556,  89876565,  89876566,  89876567,
    89876654,  89876655,  89876656,  89876665,  89876666,  89876667,  89876676,
    89876677,  89876678,  89876765,  89876766,  89876767,  89876776,  89876777,
    89876778,  89876787,  89876788,  89876789,  89877654,  89877655,  89877656,
    89877665,  89877666,  89877667,  89877676,  89877677,  89877678,  89877765,
    89877766,  89877767,  89877776,  89877777,  89877778,  89877787,  89877788,
    89877789,  89877876,  89877877,  89877878,  89877887,  89877888,  89877889,
    89877898,  89877899,  89878765,  89878766,  89878767,  89878776,  89878777,
    89878778,  89878787,  89878788,  89878789,  89878876,  89878877,  89878878,
    89878887,  89878888,  89878889,  89878898,  89878899,  89878987,  89878988,
    89878989,  89878998,  89878999,  89887654,  89887655,  89887656,  89887665,
    89887666,  89887667,  89887676,  89887677,  89887678,  89887765,  89887766,
    89887767,  89887776,  89887777,  89887778,  89887787,  89887788,  89887789,
    89887876,  89887877,  89887878,  89887887,  89887888,  89887889,  89887898,
    89887899,  89888765,  89888766,  89888767,  89888776,  89888777,  89888778,
    89888787,  89888788,  89888789,  89888876,  89888877,  89888878,  89888887,
    89888888,  89888889,  89888898,  89888899,  89888987,  89888988,  89888989,
    89888998,  89888999,  89889876,  89889877,  89889878,  89889887,  89889888,
    89889889,  89889898,  89889899,  89889987,  89889988,  89889989,  89889998,
    89889999,  89898765,  89898766,  89898767,  89898776,  89898777,  89898778,
    89898787,  89898788,  89898789,  89898876,  89898877,  89898878,  89898887,
    89898888,  89898889,  89898898,  89898899,  89898987,  89898988,  89898989,
    89898998,  89898999,  89899876,  89899877,  89899878,  89899887,  89899888,
    89899889,  89899898,  89899899,  89899987,  89899988,  89899989,  89899998,
    89899999,  89987654,  89987655,  89987656,  89987665,  89987666,  89987667,
    89987676,  89987677,  89987678,  89987765,  89987766,  89987767,  89987776,
    89987777,  89987778,  89987787,  89987788,  89987789,  89987876,  89987877,
    89987878,  89987887,  89987888,  89987889,  89987898,  89987899,  89988765,
    89988766,  89988767,  89988776,  89988777,  89988778,  89988787,  89988788,
    89988789,  89988876,  89988877,  89988878,  89988887,  89988888,  89988889,
    89988898,  89988899,  89988987,  89988988,  89988989,  89988998,  89988999,
    89989876,  89989877,  89989878,  89989887,  89989888,  89989889,  89989898,
    89989899,  89989987,  89989988,  89989989,  89989998,  89989999,  89998765,
    89998766,  89998767,  89998776,  89998777,  89998778,  89998787,  89998788,
    89998789,  89998876,  89998877,  89998878,  89998887,  89998888,  89998889,
    89998898,  89998899,  89998987,  89998988,  89998989,  89998998,  89998999,
    89999876,  89999877,  89999878,  89999887,  89999888,  89999889,  89999898,
    89999899,  89999987,  89999988,  89999989,  89999998,  89999999,  98765432,
    98765433,  98765434,  98765443,  98765444,  98765445,  98765454,  98765455,
    98765456,  98765543,  98765544,  98765545,  98765554,  98765555,  98765556,
    98765565,  98765566,  98765567,  98765654,  98765655,  98765656,  98765665,
    98765666,  98765667,  98765676,  98765677,  98765678,  98766543,  98766544,
    98766545,  98766554,  98766555,  98766556,  98766565,  98766566,  98766567,
    98766654,  98766655,  98766656,  98766665,  98766666,  98766667,  98766676,
    98766677,  98766678,  98766765,  98766766,  98766767,  98766776,  98766777,
    98766778,  98766787,  98766788,  98766789,  98767654,  98767655,  98767656,
    98767665,  98767666,  98767667,  98767676,  98767677,  98767678,  98767765,
    98767766,  98767767,  98767776,  98767777,  98767778,  98767787,  98767788,
    98767789,  98767876,  98767877,  98767878,  98767887,  98767888,  98767889,
    98767898,  98767899,  98776543,  98776544,  98776545,  98776554,  98776555,
    98776556,  98776565,  98776566,  98776567,  98776654,  98776655,  98776656,
    98776665,  98776666,  98776667,  98776676,  98776677,  98776678,  98776765,
    98776766,  98776767,  98776776,  98776777,  98776778,  98776787,  98776788,
    98776789,  98777654,  98777655,  98777656,  98777665,  98777666,  98777667,
    98777676,  98777677,  98777678,  98777765,  98777766,  98777767,  98777776,
    98777777,  98777778,  98777787,  98777788,  98777789,  98777876,  98777877,
    98777878,  98777887,  98777888,  98777889,  98777898,  98777899,  98778765,
    98778766,  98778767,  98778776,  98778777,  98778778,  98778787,  98778788,
    98778789,  98778876,  98778877,  98778878,  98778887,  98778888,  98778889,
    98778898,  98778899,  98778987,  98778988,  98778989,  98778998,  98778999,
    98787654,  98787655,  98787656,  98787665,  98787666,  98787667,  98787676,
    98787677,  98787678,  98787765,  98787766,  98787767,  98787776,  98787777,
    98787778,  98787787,  98787788,  98787789,  98787876,  98787877,  98787878,
    98787887,  98787888,  98787889,  98787898,  98787899,  98788765,  98788766,
    98788767,  98788776,  98788777,  98788778,  98788787,  98788788,  98788789,
    98788876,  98788877,  98788878,  98788887,  98788888,  98788889,  98788898,
    98788899,  98788987,  98788988,  98788989,  98788998,  98788999,  98789876,
    98789877,  98789878,  98789887,  98789888,  98789889,  98789898,  98789899,
    98789987,  98789988,  98789989,  98789998,  98789999,  98876543,  98876544,
    98876545,  98876554,  98876555,  98876556,  98876565,  98876566,  98876567,
    98876654,  98876655,  98876656,  98876665,  98876666,  98876667,  98876676,
    98876677,  98876678,  98876765,  98876766,  98876767,  98876776,  98876777,
    98876778,  98876787,  98876788,  98876789,  98877654,  98877655,  98877656,
    98877665,  98877666,  98877667,  98877676,  98877677,  98877678,  98877765,
    98877766,  98877767,  98877776,  98877777,  98877778,  98877787,  98877788,
    98877789,  98877876,  98877877,  98877878,  98877887,  98877888,  98877889,
    98877898,  98877899,  98878765,  98878766,  98878767,  98878776,  98878777,
    98878778,  98878787,  98878788,  98878789,  98878876,  98878877,  98878878,
    98878887,  98878888,  98878889,  98878898,  98878899,  98878987,  98878988,
    98878989,  98878998,  98878999,  98887654,  98887655,  98887656,  98887665,
    98887666,  98887667,  98887676,  98887677,  98887678,  98887765,  98887766,
    98887767,  98887776,  98887777,  98887778,  98887787,  98887788,  98887789,
    98887876,  98887877,  98887878,  98887887,  98887888,  98887889,  98887898,
    98887899,  98888765,  98888766,  98888767,  98888776,  98888777,  98888778,
    98888787,  98888788,  98888789,  98888876,  98888877,  98888878,  98888887,
    98888888,  98888889,  98888898,  98888899,  98888987,  98888988,  98888989,
    98888998,  98888999,  98889876,  98889877,  98889878,  98889887,  98889888,
    98889889,  98889898,  98889899,  98889987,  98889988,  98889989,  98889998,
    98889999,  98898765,  98898766,  98898767,  98898776,  98898777,  98898778,
    98898787,  98898788,  98898789,  98898876,  98898877,  98898878,  98898887,
    98898888,  98898889,  98898898,  98898899,  98898987,  98898988,  98898989,
    98898998,  98898999,  98899876,  98899877,  98899878,  98899887,  98899888,
    98899889,  98899898,  98899899,  98899987,  98899988,  98899989,  98899998,
    98899999,  98987654,  98987655,  98987656,  98987665,  98987666,  98987667,
    98987676,  98987677,  98987678,  98987765,  98987766,  98987767,  98987776,
    98987777,  98987778,  98987787,  98987788,  98987789,  98987876,  98987877,
    98987878,  98987887,  98987888,  98987889,  98987898,  98987899,  98988765,
    98988766,  98988767,  98988776,  98988777,  98988778,  98988787,  98988788,
    98988789,  98988876,  98988877,  98988878,  98988887,  98988888,  98988889,
    98988898,  98988899,  98988987,  98988988,  98988989,  98988998,  98988999,
    98989876,  98989877,  98989878,  98989887,  98989888,  98989889,  98989898,
    98989899,  98989987,  98989988,  98989989,  98989998,  98989999,  98998765,
    98998766,  98998767,  98998776,  98998777,  98998778,  98998787,  98998788,
    98998789,  98998876,  98998877,  98998878,  98998887,  98998888,  98998889,
    98998898,  98998899,  98998987,  98998988,  98998989,  98998998,  98998999,
    98999876,  98999877,  98999878,  98999887,  98999888,  98999889,  98999898,
    98999899,  98999987,  98999988,  98999989,  98999998,  98999999,  99876543,
    99876544,  99876545,  99876554,  99876555,  99876556,  99876565,  99876566,
    99876567,  99876654,  99876655,  99876656,  99876665,  99876666,  99876667,
    99876676,  99876677,  99876678,  99876765,  99876766,  99876767,  99876776,
    99876777,  99876778,  99876787,  99876788,  99876789,  99877654,  99877655,
    99877656,  99877665,  99877666,  99877667,  99877676,  99877677,  99877678,
    99877765,  99877766,  99877767,  99877776,  99877777,  99877778,  99877787,
    99877788,  99877789,  99877876,  99877877,  99877878,  99877887,  99877888,
    99877889,  99877898,  99877899,  99878765,  99878766,  99878767,  99878776,
    99878777,  99878778,  99878787,  99878788,  99878789,  99878876,  99878877,
    99878878,  99878887,  99878888,  99878889,  99878898,  99878899,  99878987,
    99878988,  99878989,  99878998,  99878999,  99887654,  99887655,  99887656,
    99887665,  99887666,  99887667,  99887676,  99887677,  99887678,  99887765,
    99887766,  99887767,  99887776,  99887777,  99887778,  99887787,  99887788,
    99887789,  99887876,  99887877,  99887878,  99887887,  99887888,  99887889,
    99887898,  99887899,  99888765,  99888766,  99888767,  99888776,  99888777,
    99888778,  99888787,  99888788,  99888789,  99888876,  99888877,  99888878,
    99888887,  99888888,  99888889,  99888898,  99888899,  99888987,  99888988,
    99888989,  99888998,  99888999,  99889876,  99889877,  99889878,  99889887,
    99889888,  99889889,  99889898,  99889899,  99889987,  99889988,  99889989,
    99889998,  99889999,  99898765,  99898766,  99898767,  99898776,  99898777,
    99898778,  99898787,  99898788,  99898789,  99898876,  99898877,  99898878,
    99898887,  99898888,  99898889,  99898898,  99898899,  99898987,  99898988,
    99898989,  99898998,  99898999,  99899876,  99899877,  99899878,  99899887,
    99899888,  99899889,  99899898,  99899899,  99899987,  99899988,  99899989,
    99899998,  99899999,  99987654,  99987655,  99987656,  99987665,  99987666,
    99987667,  99987676,  99987677,  99987678,  99987765,  99987766,  99987767,
    99987776,  99987777,  99987778,  99987787,  99987788,  99987789,  99987876,
    99987877,  99987878,  99987887,  99987888,  99987889,  99987898,  99987899,
    99988765,  99988766,  99988767,  99988776,  99988777,  99988778,  99988787,
    99988788,  99988789,  99988876,  99988877,  99988878,  99988887,  99988888,
    99988889,  99988898,  99988899,  99988987,  99988988,  99988989,  99988998,
    99988999,  99989876,  99989877,  99989878,  99989887,  99989888,  99989889,
    99989898,  99989899,  99989987,  99989988,  99989989,  99989998,  99989999,
    99998765,  99998766,  99998767,  99998776,  99998777,  99998778,  99998787,
    99998788,  99998789,  99998876,  99998877,  99998878,  99998887,  99998888,
    99998889,  99998898,  99998899,  99998987,  99998988,  99998989,  99998998,
    99998999,  99999876,  99999877,  99999878,  99999887,  99999888,  99999889,
    99999898,  99999899,  99999987,  99999988,  99999989,  99999998,  99999999,
    100000000, 100000001, 100000010, 100000011, 100000012, 100000100, 100000101,
    100000110, 100000111, 100000112, 100000121, 100000122, 100000123, 100001000,
    100001001, 100001010, 100001011, 100001012, 100001100, 100001101, 100001110,
    100001111, 100001112, 100001121, 100001122, 100001123, 100001210, 100001211,
    100001212, 100001221, 100001222, 100001223, 100001232, 100001233, 100001234,
    100010000, 100010001, 100010010, 100010011, 100010012, 100010100, 100010101,
    100010110, 100010111, 100010112, 100010121, 100010122, 100010123, 100011000,
    100011001, 100011010, 100011011, 100011012, 100011100, 100011101, 100011110,
    100011111, 100011112, 100011121, 100011122, 100011123, 100011210, 100011211,
    100011212, 100011221, 100011222, 100011223, 100011232, 100011233, 100011234,
    100012100, 100012101, 100012110, 100012111, 100012112, 100012121, 100012122,
    100012123, 100012210, 100012211, 100012212, 100012221, 100012222, 100012223,
    100012232, 100012233, 100012234, 100012321, 100012322, 100012323, 100012332,
    100012333, 100012334, 100012343, 100012344, 100012345, 100100000, 100100001,
    100100010, 100100011, 100100012, 100100100, 100100101, 100100110, 100100111,
    100100112, 100100121, 100100122, 100100123, 100101000, 100101001, 100101010,
    100101011, 100101012, 100101100, 100101101, 100101110, 100101111, 100101112,
    100101121, 100101122, 100101123, 100101210, 100101211, 100101212, 100101221,
    100101222, 100101223, 100101232, 100101233, 100101234, 100110000, 100110001,
    100110010, 100110011, 100110012, 100110100, 100110101, 100110110, 100110111,
    100110112, 100110121, 100110122, 100110123, 100111000, 100111001, 100111010,
    100111011, 100111012, 100111100, 100111101, 100111110, 100111111, 100111112,
    100111121, 100111122, 100111123, 100111210, 100111211, 100111212, 100111221,
    100111222, 100111223, 100111232, 100111233, 100111234, 100112100, 100112101,
    100112110, 100112111, 100112112, 100112121, 100112122, 100112123, 100112210,
    100112211, 100112212, 100112221, 100112222, 100112223, 100112232, 100112233,
    100112234, 100112321, 100112322, 100112323, 100112332, 100112333, 100112334,
    100112343, 100112344, 100112345, 100121000, 100121001, 100121010, 100121011,
    100121012, 100121100, 100121101, 100121110, 100121111, 100121112, 100121121,
    100121122, 100121123, 100121210, 100121211, 100121212, 100121221, 100121222,
    100121223, 100121232, 100121233, 100121234, 100122100, 100122101, 100122110,
    100122111, 100122112, 100122121, 100122122, 100122123, 100122210, 100122211,
    100122212, 100122221, 100122222, 100122223, 100122232, 100122233, 100122234,
    100122321, 100122322, 100122323, 100122332, 100122333, 100122334, 100122343,
    100122344, 100122345, 100123210, 100123211, 100123212, 100123221, 100123222,
    100123223, 100123232, 100123233, 100123234, 100123321, 100123322, 100123323,
    100123332, 100123333, 100123334, 100123343, 100123344, 100123345, 100123432,
    100123433, 100123434, 100123443, 100123444, 100123445, 100123454, 100123455,
    100123456, 101000000, 101000001, 101000010, 101000011, 101000012, 101000100,
    101000101, 101000110, 101000111, 101000112, 101000121, 101000122, 101000123,
    101001000, 101001001, 101001010, 101001011, 101001012, 101001100, 101001101,
    101001110, 101001111, 101001112, 101001121, 101001122, 101001123, 101001210,
    101001211, 101001212, 101001221, 101001222, 101001223, 101001232, 101001233,
    101001234, 101010000, 101010001, 101010010, 101010011, 101010012, 101010100,
    101010101, 101010110, 101010111, 101010112, 101010121, 101010122, 101010123,
    101011000, 101011001, 101011010, 101011011, 101011012, 101011100, 101011101,
    101011110, 101011111, 101011112, 101011121, 101011122, 101011123, 101011210,
    101011211, 101011212, 101011221, 101011222, 101011223, 101011232, 101011233,
    101011234, 101012100, 101012101, 101012110, 101012111, 101012112, 101012121,
    101012122, 101012123, 101012210, 101012211, 101012212, 101012221, 101012222,
    101012223, 101012232, 101012233, 101012234, 101012321, 101012322, 101012323,
    101012332, 101012333, 101012334, 101012343, 101012344, 101012345, 101100000,
    101100001, 101100010, 101100011, 101100012, 101100100, 101100101, 101100110,
    101100111, 101100112, 101100121, 101100122, 101100123, 101101000, 101101001,
    101101010, 101101011, 101101012, 101101100, 101101101, 101101110, 101101111,
    101101112, 101101121, 101101122, 101101123, 101101210, 101101211, 101101212,
    101101221, 101101222, 101101223, 101101232, 101101233, 101101234, 101110000,
    101110001, 101110010, 101110011, 101110012, 101110100, 101110101, 101110110,
    101110111, 101110112, 101110121, 101110122, 101110123, 101111000, 101111001,
    101111010, 101111011, 101111012, 101111100, 101111101, 101111110, 101111111,
    101111112, 101111121, 101111122, 101111123, 101111210, 101111211, 101111212,
    101111221, 101111222, 101111223, 101111232, 101111233, 101111234, 101112100,
    101112101, 101112110, 101112111, 101112112, 101112121, 101112122, 101112123,
    101112210, 101112211, 101112212, 101112221, 101112222, 101112223, 101112232,
    101112233, 101112234, 101112321, 101112322, 101112323, 101112332, 101112333,
    101112334, 101112343, 101112344, 101112345, 101121000, 101121001, 101121010,
    101121011, 101121012, 101121100, 101121101, 101121110, 101121111, 101121112,
    101121121, 101121122, 101121123, 101121210, 101121211, 101121212, 101121221,
    101121222, 101121223, 101121232, 101121233, 101121234, 101122100, 101122101,
    101122110, 101122111, 101122112, 101122121, 101122122, 101122123, 101122210,
    101122211, 101122212, 101122221, 101122222, 101122223, 101122232, 101122233,
    101122234, 101122321, 101122322, 101122323, 101122332, 101122333, 101122334,
    101122343, 101122344, 101122345, 101123210, 101123211, 101123212, 101123221,
    101123222, 101123223, 101123232, 101123233, 101123234, 101123321, 101123322,
    101123323, 101123332, 101123333, 101123334, 101123343, 101123344, 101123345,
    101123432, 101123433, 101123434, 101123443, 101123444, 101123445, 101123454,
    101123455, 101123456, 101210000, 101210001, 101210010, 101210011, 101210012,
    101210100, 101210101, 101210110, 101210111, 101210112, 101210121, 101210122,
    101210123, 101211000, 101211001, 101211010, 101211011, 101211012, 101211100,
    101211101, 101211110, 101211111, 101211112, 101211121, 101211122, 101211123,
    101211210, 101211211, 101211212, 101211221, 101211222, 101211223, 101211232,
    101211233, 101211234, 101212100, 101212101, 101212110, 101212111, 101212112,
    101212121, 101212122, 101212123, 101212210, 101212211, 101212212, 101212221,
    101212222, 101212223, 101212232, 101212233, 101212234, 101212321, 101212322,
    101212323, 101212332, 101212333, 101212334, 101212343, 101212344, 101212345,
    101221000, 101221001, 101221010, 101221011, 101221012, 101221100, 101221101,
    101221110, 101221111, 101221112, 101221121, 101221122, 101221123, 101221210,
    101221211, 101221212, 101221221, 101221222, 101221223, 101221232, 101221233,
    101221234, 101222100, 101222101, 101222110, 101222111, 101222112, 101222121,
    101222122, 101222123, 101222210, 101222211, 101222212, 101222221, 101222222,
    101222223, 101222232, 101222233, 101222234, 101222321, 101222322, 101222323,
    101222332, 101222333, 101222334, 101222343, 101222344, 101222345, 101223210,
    101223211, 101223212, 101223221, 101223222, 101223223, 101223232, 101223233,
    101223234, 101223321, 101223322, 101223323, 101223332, 101223333, 101223334,
    101223343, 101223344, 101223345, 101223432, 101223433, 101223434, 101223443,
    101223444, 101223445, 101223454, 101223455, 101223456, 101232100, 101232101,
    101232110, 101232111, 101232112, 101232121, 101232122, 101232123, 101232210,
    101232211, 101232212, 101232221, 101232222, 101232223, 101232232, 101232233,
    101232234, 101232321, 101232322, 101232323, 101232332, 101232333, 101232334,
    101232343, 101232344, 101232345, 101233210, 101233211, 101233212, 101233221,
    101233222, 101233223, 101233232, 101233233, 101233234, 101233321, 101233322,
    101233323, 101233332, 101233333, 101233334, 101233343, 101233344, 101233345,
    101233432, 101233433, 101233434, 101233443, 101233444, 101233445, 101233454,
    101233455, 101233456, 101234321, 101234322, 101234323, 101234332, 101234333,
    101234334, 101234343, 101234344, 101234345, 101234432, 101234433, 101234434,
    101234443, 101234444, 101234445, 101234454, 101234455, 101234456, 101234543,
    101234544, 101234545, 101234554, 101234555, 101234556, 101234565, 101234566,
    101234567, 110000000, 110000001, 110000010, 110000011, 110000012, 110000100,
    110000101, 110000110, 110000111, 110000112, 110000121, 110000122, 110000123,
    110001000, 110001001, 110001010, 110001011, 110001012, 110001100, 110001101,
    110001110, 110001111, 110001112, 110001121, 110001122, 110001123, 110001210,
    110001211, 110001212, 110001221, 110001222, 110001223, 110001232, 110001233,
    110001234, 110010000, 110010001, 110010010, 110010011, 110010012, 110010100,
    110010101, 110010110, 110010111, 110010112, 110010121, 110010122, 110010123,
    110011000, 110011001, 110011010, 110011011, 110011012, 110011100, 110011101,
    110011110, 110011111, 110011112, 110011121, 110011122, 110011123, 110011210,
    110011211, 110011212, 110011221, 110011222, 110011223, 110011232, 110011233,
    110011234, 110012100, 110012101, 110012110, 110012111, 110012112, 110012121,
    110012122, 110012123, 110012210, 110012211, 110012212, 110012221, 110012222,
    110012223, 110012232, 110012233, 110012234, 110012321, 110012322, 110012323,
    110012332, 110012333, 110012334, 110012343, 110012344, 110012345, 110100000,
    110100001, 110100010, 110100011, 110100012, 110100100, 110100101, 110100110,
    110100111, 110100112, 110100121, 110100122, 110100123, 110101000, 110101001,
    110101010, 110101011, 110101012, 110101100, 110101101, 110101110, 110101111,
    110101112, 110101121, 110101122, 110101123, 110101210, 110101211, 110101212,
    110101221, 110101222, 110101223, 110101232, 110101233, 110101234, 110110000,
    110110001, 110110010, 110110011, 110110012, 110110100, 110110101, 110110110,
    110110111, 110110112, 110110121, 110110122, 110110123, 110111000, 110111001,
    110111010, 110111011, 110111012, 110111100, 110111101, 110111110, 110111111,
    110111112, 110111121, 110111122, 110111123, 110111210, 110111211, 110111212,
    110111221, 110111222, 110111223, 110111232, 110111233, 110111234, 110112100,
    110112101, 110112110, 110112111, 110112112, 110112121, 110112122, 110112123,
    110112210, 110112211, 110112212, 110112221, 110112222, 110112223, 110112232,
    110112233, 110112234, 110112321, 110112322, 110112323, 110112332, 110112333,
    110112334, 110112343, 110112344, 110112345, 110121000, 110121001, 110121010,
    110121011, 110121012, 110121100, 110121101, 110121110, 110121111, 110121112,
    110121121, 110121122, 110121123, 110121210, 110121211, 110121212, 110121221,
    110121222, 110121223, 110121232, 110121233, 110121234, 110122100, 110122101,
    110122110, 110122111, 110122112, 110122121, 110122122, 110122123, 110122210,
    110122211, 110122212, 110122221, 110122222, 110122223, 110122232, 110122233,
    110122234, 110122321, 110122322, 110122323, 110122332, 110122333, 110122334,
    110122343, 110122344, 110122345, 110123210, 110123211, 110123212, 110123221,
    110123222, 110123223, 110123232, 110123233, 110123234, 110123321, 110123322,
    110123323, 110123332, 110123333, 110123334, 110123343, 110123344, 110123345,
    110123432, 110123433, 110123434, 110123443, 110123444, 110123445, 110123454,
    110123455, 110123456, 111000000, 111000001, 111000010, 111000011, 111000012,
    111000100, 111000101, 111000110, 111000111, 111000112, 111000121, 111000122,
    111000123, 111001000, 111001001, 111001010, 111001011, 111001012, 111001100,
    111001101, 111001110, 111001111, 111001112, 111001121, 111001122, 111001123,
    111001210, 111001211, 111001212, 111001221, 111001222, 111001223, 111001232,
    111001233, 111001234, 111010000, 111010001, 111010010, 111010011, 111010012,
    111010100, 111010101, 111010110, 111010111, 111010112, 111010121, 111010122,
    111010123, 111011000, 111011001, 111011010, 111011011, 111011012, 111011100,
    111011101, 111011110, 111011111, 111011112, 111011121, 111011122, 111011123,
    111011210, 111011211, 111011212, 111011221, 111011222, 111011223, 111011232,
    111011233, 111011234, 111012100, 111012101, 111012110, 111012111, 111012112,
    111012121, 111012122, 111012123, 111012210, 111012211, 111012212, 111012221,
    111012222, 111012223, 111012232, 111012233, 111012234, 111012321, 111012322,
    111012323, 111012332, 111012333, 111012334, 111012343, 111012344, 111012345,
    111100000, 111100001, 111100010, 111100011, 111100012, 111100100, 111100101,
    111100110, 111100111, 111100112, 111100121, 111100122, 111100123, 111101000,
    111101001, 111101010, 111101011, 111101012, 111101100, 111101101, 111101110,
    111101111, 111101112, 111101121, 111101122, 111101123, 111101210, 111101211,
    111101212, 111101221, 111101222, 111101223, 111101232, 111101233, 111101234,
    111110000, 111110001, 111110010, 111110011, 111110012, 111110100, 111110101,
    111110110, 111110111, 111110112, 111110121, 111110122, 111110123, 111111000,
    111111001, 111111010, 111111011, 111111012, 111111100, 111111101, 111111110,
    111111111, 111111112, 111111121, 111111122, 111111123, 111111210, 111111211,
    111111212, 111111221, 111111222, 111111223, 111111232, 111111233, 111111234,
    111112100, 111112101, 111112110, 111112111, 111112112, 111112121, 111112122,
    111112123, 111112210, 111112211, 111112212, 111112221, 111112222, 111112223,
    111112232, 111112233, 111112234, 111112321, 111112322, 111112323, 111112332,
    111112333, 111112334, 111112343, 111112344, 111112345, 111121000, 111121001,
    111121010, 111121011, 111121012, 111121100, 111121101, 111121110, 111121111,
    111121112, 111121121, 111121122, 111121123, 111121210, 111121211, 111121212,
    111121221, 111121222, 111121223, 111121232, 111121233, 111121234, 111122100,
    111122101, 111122110, 111122111, 111122112, 111122121, 111122122, 111122123,
    111122210, 111122211, 111122212, 111122221, 111122222, 111122223, 111122232,
    111122233, 111122234, 111122321, 111122322, 111122323, 111122332, 111122333,
    111122334, 111122343, 111122344, 111122345, 111123210, 111123211, 111123212,
    111123221, 111123222, 111123223, 111123232, 111123233, 111123234, 111123321,
    111123322, 111123323, 111123332, 111123333, 111123334, 111123343, 111123344,
    111123345, 111123432, 111123433, 111123434, 111123443, 111123444, 111123445,
    111123454, 111123455, 111123456, 111210000, 111210001, 111210010, 111210011,
    111210012, 111210100, 111210101, 111210110, 111210111, 111210112, 111210121,
    111210122, 111210123, 111211000, 111211001, 111211010, 111211011, 111211012,
    111211100, 111211101, 111211110, 111211111, 111211112, 111211121, 111211122,
    111211123, 111211210, 111211211, 111211212, 111211221, 111211222, 111211223,
    111211232, 111211233, 111211234, 111212100, 111212101, 111212110, 111212111,
    111212112, 111212121, 111212122, 111212123, 111212210, 111212211, 111212212,
    111212221, 111212222, 111212223, 111212232, 111212233, 111212234, 111212321,
    111212322, 111212323, 111212332, 111212333, 111212334, 111212343, 111212344,
    111212345, 111221000, 111221001, 111221010, 111221011, 111221012, 111221100,
    111221101, 111221110, 111221111, 111221112, 111221121, 111221122, 111221123,
    111221210, 111221211, 111221212, 111221221, 111221222, 111221223, 111221232,
    111221233, 111221234, 111222100, 111222101, 111222110, 111222111, 111222112,
    111222121, 111222122, 111222123, 111222210, 111222211, 111222212, 111222221,
    111222222, 111222223, 111222232, 111222233, 111222234, 111222321, 111222322,
    111222323, 111222332, 111222333, 111222334, 111222343, 111222344, 111222345,
    111223210, 111223211, 111223212, 111223221, 111223222, 111223223, 111223232,
    111223233, 111223234, 111223321, 111223322, 111223323, 111223332, 111223333,
    111223334, 111223343, 111223344, 111223345, 111223432, 111223433, 111223434,
    111223443, 111223444, 111223445, 111223454, 111223455, 111223456, 111232100,
    111232101, 111232110, 111232111, 111232112, 111232121, 111232122, 111232123,
    111232210, 111232211, 111232212, 111232221, 111232222, 111232223, 111232232,
    111232233, 111232234, 111232321, 111232322, 111232323, 111232332, 111232333,
    111232334, 111232343, 111232344, 111232345, 111233210, 111233211, 111233212,
    111233221, 111233222, 111233223, 111233232, 111233233, 111233234, 111233321,
    111233322, 111233323, 111233332, 111233333, 111233334, 111233343, 111233344,
    111233345, 111233432, 111233433, 111233434, 111233443, 111233444, 111233445,
    111233454, 111233455, 111233456, 111234321, 111234322, 111234323, 111234332,
    111234333, 111234334, 111234343, 111234344, 111234345, 111234432, 111234433,
    111234434, 111234443, 111234444, 111234445, 111234454, 111234455, 111234456,
    111234543, 111234544, 111234545, 111234554, 111234555, 111234556, 111234565,
    111234566, 111234567, 112100000, 112100001, 112100010, 112100011, 112100012,
    112100100, 112100101, 112100110, 112100111, 112100112, 112100121, 112100122,
    112100123, 112101000, 112101001, 112101010, 112101011, 112101012, 112101100,
    112101101, 112101110, 112101111, 112101112, 112101121, 112101122, 112101123,
    112101210, 112101211, 112101212, 112101221, 112101222, 112101223, 112101232,
    112101233, 112101234, 112110000, 112110001, 112110010, 112110011, 112110012,
    112110100, 112110101, 112110110, 112110111, 112110112, 112110121, 112110122,
    112110123, 112111000, 112111001, 112111010, 112111011, 112111012, 112111100,
    112111101, 112111110, 112111111, 112111112, 112111121, 112111122, 112111123,
    112111210, 112111211, 112111212, 112111221, 112111222, 112111223, 112111232,
    112111233, 112111234, 112112100, 112112101, 112112110, 112112111, 112112112,
    112112121, 112112122, 112112123, 112112210, 112112211, 112112212, 112112221,
    112112222, 112112223, 112112232, 112112233, 112112234, 112112321, 112112322,
    112112323, 112112332, 112112333, 112112334, 112112343, 112112344, 112112345,
    112121000, 112121001, 112121010, 112121011, 112121012, 112121100, 112121101,
    112121110, 112121111, 112121112, 112121121, 112121122, 112121123, 112121210,
    112121211, 112121212, 112121221, 112121222, 112121223, 112121232, 112121233,
    112121234, 112122100, 112122101, 112122110, 112122111, 112122112, 112122121,
    112122122, 112122123, 112122210, 112122211, 112122212, 112122221, 112122222,
    112122223, 112122232, 112122233, 112122234, 112122321, 112122322, 112122323,
    112122332, 112122333, 112122334, 112122343, 112122344, 112122345, 112123210,
    112123211, 112123212, 112123221, 112123222, 112123223, 112123232, 112123233,
    112123234, 112123321, 112123322, 112123323, 112123332, 112123333, 112123334,
    112123343, 112123344, 112123345, 112123432, 112123433, 112123434, 112123443,
    112123444, 112123445, 112123454, 112123455, 112123456, 112210000, 112210001,
    112210010, 112210011, 112210012, 112210100, 112210101, 112210110, 112210111,
    112210112, 112210121, 112210122, 112210123, 112211000, 112211001, 112211010,
    112211011, 112211012, 112211100, 112211101, 112211110, 112211111, 112211112,
    112211121, 112211122, 112211123, 112211210, 112211211, 112211212, 112211221,
    112211222, 112211223, 112211232, 112211233, 112211234, 112212100, 112212101,
    112212110, 112212111, 112212112, 112212121, 112212122, 112212123, 112212210,
    112212211, 112212212, 112212221, 112212222, 112212223, 112212232, 112212233,
    112212234, 112212321, 112212322, 112212323, 112212332, 112212333, 112212334,
    112212343, 112212344, 112212345, 112221000, 112221001, 112221010, 112221011,
    112221012, 112221100, 112221101, 112221110, 112221111, 112221112, 112221121,
    112221122, 112221123, 112221210, 112221211, 112221212, 112221221, 112221222,
    112221223, 112221232, 112221233, 112221234, 112222100, 112222101, 112222110,
    112222111, 112222112, 112222121, 112222122, 112222123, 112222210, 112222211,
    112222212, 112222221, 112222222, 112222223, 112222232, 112222233, 112222234,
    112222321, 112222322, 112222323, 112222332, 112222333, 112222334, 112222343,
    112222344, 112222345, 112223210, 112223211, 112223212, 112223221, 112223222,
    112223223, 112223232, 112223233, 112223234, 112223321, 112223322, 112223323,
    112223332, 112223333, 112223334, 112223343, 112223344, 112223345, 112223432,
    112223433, 112223434, 112223443, 112223444, 112223445, 112223454, 112223455,
    112223456, 112232100, 112232101, 112232110, 112232111, 112232112, 112232121,
    112232122, 112232123, 112232210, 112232211, 112232212, 112232221, 112232222,
    112232223, 112232232, 112232233, 112232234, 112232321, 112232322, 112232323,
    112232332, 112232333, 112232334, 112232343, 112232344, 112232345, 112233210,
    112233211, 112233212, 112233221, 112233222, 112233223, 112233232, 112233233,
    112233234, 112233321, 112233322, 112233323, 112233332, 112233333, 112233334,
    112233343, 112233344, 112233345, 112233432, 112233433, 112233434, 112233443,
    112233444, 112233445, 112233454, 112233455, 112233456, 112234321, 112234322,
    112234323, 112234332, 112234333, 112234334, 112234343, 112234344, 112234345,
    112234432, 112234433, 112234434, 112234443, 112234444, 112234445, 112234454,
    112234455, 112234456, 112234543, 112234544, 112234545, 112234554, 112234555,
    112234556, 112234565, 112234566, 112234567, 112321000, 112321001, 112321010,
    112321011, 112321012, 112321100, 112321101, 112321110, 112321111, 112321112,
    112321121, 112321122, 112321123, 112321210, 112321211, 112321212, 112321221,
    112321222, 112321223, 112321232, 112321233, 112321234, 112322100, 112322101,
    112322110, 112322111, 112322112, 112322121, 112322122, 112322123, 112322210,
    112322211, 112322212, 112322221, 112322222, 112322223, 112322232, 112322233,
    112322234, 112322321, 112322322, 112322323, 112322332, 112322333, 112322334,
    112322343, 112322344, 112322345, 112323210, 112323211, 112323212, 112323221,
    112323222, 112323223, 112323232, 112323233, 112323234, 112323321, 112323322,
    112323323, 112323332, 112323333, 112323334, 112323343, 112323344, 112323345,
    112323432, 112323433, 112323434, 112323443, 112323444, 112323445, 112323454,
    112323455, 112323456, 112332100, 112332101, 112332110, 112332111, 112332112,
    112332121, 112332122, 112332123, 112332210, 112332211, 112332212, 112332221,
    112332222, 112332223, 112332232, 112332233, 112332234, 112332321, 112332322,
    112332323, 112332332, 112332333, 112332334, 112332343, 112332344, 112332345,
    112333210, 112333211, 112333212, 112333221, 112333222, 112333223, 112333232,
    112333233, 112333234, 112333321, 112333322, 112333323, 112333332, 112333333,
    112333334, 112333343, 112333344, 112333345, 112333432, 112333433, 112333434,
    112333443, 112333444, 112333445, 112333454, 112333455, 112333456, 112334321,
    112334322, 112334323, 112334332, 112334333, 112334334, 112334343, 112334344,
    112334345, 112334432, 112334433, 112334434, 112334443, 112334444, 112334445,
    112334454, 112334455, 112334456, 112334543, 112334544, 112334545, 112334554,
    112334555, 112334556, 112334565, 112334566, 112334567, 112343210, 112343211,
    112343212, 112343221, 112343222, 112343223, 112343232, 112343233, 112343234,
    112343321, 112343322, 112343323, 112343332, 112343333, 112343334, 112343343,
    112343344, 112343345, 112343432, 112343433, 112343434, 112343443, 112343444,
    112343445, 112343454, 112343455, 112343456, 112344321, 112344322, 112344323,
    112344332, 112344333, 112344334, 112344343, 112344344, 112344345, 112344432,
    112344433, 112344434, 112344443, 112344444, 112344445, 112344454, 112344455,
    112344456, 112344543, 112344544, 112344545, 112344554, 112344555, 112344556,
    112344565, 112344566, 112344567, 112345432, 112345433, 112345434, 112345443,
    112345444, 112345445, 112345454, 112345455, 112345456, 112345543, 112345544,
    112345545, 112345554, 112345555, 112345556, 112345565, 112345566, 112345567,
    112345654, 112345655, 112345656, 112345665, 112345666, 112345667, 112345676,
    112345677, 112345678, 121000000, 121000001, 121000010, 121000011, 121000012,
    121000100, 121000101, 121000110, 121000111, 121000112, 121000121, 121000122,
    121000123, 121001000, 121001001, 121001010, 121001011, 121001012, 121001100,
    121001101, 121001110, 121001111, 121001112, 121001121, 121001122, 121001123,
    121001210, 121001211, 121001212, 121001221, 121001222, 121001223, 121001232,
    121001233, 121001234, 121010000, 121010001, 121010010, 121010011, 121010012,
    121010100, 121010101, 121010110, 121010111, 121010112, 121010121, 121010122,
    121010123, 121011000, 121011001, 121011010, 121011011, 121011012, 121011100,
    121011101, 121011110, 121011111, 121011112, 121011121, 121011122, 121011123,
    121011210, 121011211, 121011212, 121011221, 121011222, 121011223, 121011232,
    121011233, 121011234, 121012100, 121012101, 121012110, 121012111, 121012112,
    121012121, 121012122, 121012123, 121012210, 121012211, 121012212, 121012221,
    121012222, 121012223, 121012232, 121012233, 121012234, 121012321, 121012322,
    121012323, 121012332, 121012333, 121012334, 121012343, 121012344, 121012345,
    121100000, 121100001, 121100010, 121100011, 121100012, 121100100, 121100101,
    121100110, 121100111, 121100112, 121100121, 121100122, 121100123, 121101000,
    121101001, 121101010, 121101011, 121101012, 121101100, 121101101, 121101110,
    121101111, 121101112, 121101121, 121101122, 121101123, 121101210, 121101211,
    121101212, 121101221, 121101222, 121101223, 121101232, 121101233, 121101234,
    121110000, 121110001, 121110010, 121110011, 121110012, 121110100, 121110101,
    121110110, 121110111, 121110112, 121110121, 121110122, 121110123, 121111000,
    121111001, 121111010, 121111011, 121111012, 121111100, 121111101, 121111110,
    121111111, 121111112, 121111121, 121111122, 121111123, 121111210, 121111211,
    121111212, 121111221, 121111222, 121111223, 121111232, 121111233, 121111234,
    121112100, 121112101, 121112110, 121112111, 121112112, 121112121, 121112122,
    121112123, 121112210, 121112211, 121112212, 121112221, 121112222, 121112223,
    121112232, 121112233, 121112234, 121112321, 121112322, 121112323, 121112332,
    121112333, 121112334, 121112343, 121112344, 121112345, 121121000, 121121001,
    121121010, 121121011, 121121012, 121121100, 121121101, 121121110, 121121111,
    121121112, 121121121, 121121122, 121121123, 121121210, 121121211, 121121212,
    121121221, 121121222, 121121223, 121121232, 121121233, 121121234, 121122100,
    121122101, 121122110, 121122111, 121122112, 121122121, 121122122, 121122123,
    121122210, 121122211, 121122212, 121122221, 121122222, 121122223, 121122232,
    121122233, 121122234, 121122321, 121122322, 121122323, 121122332, 121122333,
    121122334, 121122343, 121122344, 121122345, 121123210, 121123211, 121123212,
    121123221, 121123222, 121123223, 121123232, 121123233, 121123234, 121123321,
    121123322, 121123323, 121123332, 121123333, 121123334, 121123343, 121123344,
    121123345, 121123432, 121123433, 121123434, 121123443, 121123444, 121123445,
    121123454, 121123455, 121123456, 121210000, 121210001, 121210010, 121210011,
    121210012, 121210100, 121210101, 121210110, 121210111, 121210112, 121210121,
    121210122, 121210123, 121211000, 121211001, 121211010, 121211011, 121211012,
    121211100, 121211101, 121211110, 121211111, 121211112, 121211121, 121211122,
    121211123, 121211210, 121211211, 121211212, 121211221, 121211222, 121211223,
    121211232, 121211233, 121211234, 121212100, 121212101, 121212110, 121212111,
    121212112, 121212121, 121212122, 121212123, 121212210, 121212211, 121212212,
    121212221, 121212222, 121212223, 121212232, 121212233, 121212234, 121212321,
    121212322, 121212323, 121212332, 121212333, 121212334, 121212343, 121212344,
    121212345, 121221000, 121221001, 121221010, 121221011, 121221012, 121221100,
    121221101, 121221110, 121221111, 121221112, 121221121, 121221122, 121221123,
    121221210, 121221211, 121221212, 121221221, 121221222, 121221223, 121221232,
    121221233, 121221234, 121222100, 121222101, 121222110, 121222111, 121222112,
    121222121, 121222122, 121222123, 121222210, 121222211, 121222212, 121222221,
    121222222, 121222223, 121222232, 121222233, 121222234, 121222321, 121222322,
    121222323, 121222332, 121222333, 121222334, 121222343, 121222344, 121222345,
    121223210, 121223211, 121223212, 121223221, 121223222, 121223223, 121223232,
    121223233, 121223234, 121223321, 121223322, 121223323, 121223332, 121223333,
    121223334, 121223343, 121223344, 121223345, 121223432, 121223433, 121223434,
    121223443, 121223444, 121223445, 121223454, 121223455, 121223456, 121232100,
    121232101, 121232110, 121232111, 121232112, 121232121, 121232122, 121232123,
    121232210, 121232211, 121232212, 121232221, 121232222, 121232223, 121232232,
    121232233, 121232234, 121232321, 121232322, 121232323, 121232332, 121232333,
    121232334, 121232343, 121232344, 121232345, 121233210, 121233211, 121233212,
    121233221, 121233222, 121233223, 121233232, 121233233, 121233234, 121233321,
    121233322, 121233323, 121233332, 121233333, 121233334, 121233343, 121233344,
    121233345, 121233432, 121233433, 121233434, 121233443, 121233444, 121233445,
    121233454, 121233455, 121233456, 121234321, 121234322, 121234323, 121234332,
    121234333, 121234334, 121234343, 121234344, 121234345, 121234432, 121234433,
    121234434, 121234443, 121234444, 121234445, 121234454, 121234455, 121234456,
    121234543, 121234544, 121234545, 121234554, 121234555, 121234556, 121234565,
    121234566, 121234567, 122100000, 122100001, 122100010, 122100011, 122100012,
    122100100, 122100101, 122100110, 122100111, 122100112, 122100121, 122100122,
    122100123, 122101000, 122101001, 122101010, 122101011, 122101012, 122101100,
    122101101, 122101110, 122101111, 122101112, 122101121, 122101122, 122101123,
    122101210, 122101211, 122101212, 122101221, 122101222, 122101223, 122101232,
    122101233, 122101234, 122110000, 122110001, 122110010, 122110011, 122110012,
    122110100, 122110101, 122110110, 122110111, 122110112, 122110121, 122110122,
    122110123, 122111000, 122111001, 122111010, 122111011, 122111012, 122111100,
    122111101, 122111110, 122111111, 122111112, 122111121, 122111122, 122111123,
    122111210, 122111211, 122111212, 122111221, 122111222, 122111223, 122111232,
    122111233, 122111234, 122112100, 122112101, 122112110, 122112111, 122112112,
    122112121, 122112122, 122112123, 122112210, 122112211, 122112212, 122112221,
    122112222, 122112223, 122112232, 122112233, 122112234, 122112321, 122112322,
    122112323, 122112332, 122112333, 122112334, 122112343, 122112344, 122112345,
    122121000, 122121001, 122121010, 122121011, 122121012, 122121100, 122121101,
    122121110, 122121111, 122121112, 122121121, 122121122, 122121123, 122121210,
    122121211, 122121212, 122121221, 122121222, 122121223, 122121232, 122121233,
    122121234, 122122100, 122122101, 122122110, 122122111, 122122112, 122122121,
    122122122, 122122123, 122122210, 122122211, 122122212, 122122221, 122122222,
    122122223, 122122232, 122122233, 122122234, 122122321, 122122322, 122122323,
    122122332, 122122333, 122122334, 122122343, 122122344, 122122345, 122123210,
    122123211, 122123212, 122123221, 122123222, 122123223, 122123232, 122123233,
    122123234, 122123321, 122123322, 122123323, 122123332, 122123333, 122123334,
    122123343, 122123344, 122123345, 122123432, 122123433, 122123434, 122123443,
    122123444, 122123445, 122123454, 122123455, 122123456, 122210000, 122210001,
    122210010, 122210011, 122210012, 122210100, 122210101, 122210110, 122210111,
    122210112, 122210121, 122210122, 122210123, 122211000, 122211001, 122211010,
    122211011, 122211012, 122211100, 122211101, 122211110, 122211111, 122211112,
    122211121, 122211122, 122211123, 122211210, 122211211, 122211212, 122211221,
    122211222, 122211223, 122211232, 122211233, 122211234, 122212100, 122212101,
    122212110, 122212111, 122212112, 122212121, 122212122, 122212123, 122212210,
    122212211, 122212212, 122212221, 122212222, 122212223, 122212232, 122212233,
    122212234, 122212321, 122212322, 122212323, 122212332, 122212333, 122212334,
    122212343, 122212344, 122212345, 122221000, 122221001, 122221010, 122221011,
    122221012, 122221100, 122221101, 122221110, 122221111, 122221112, 122221121,
    122221122, 122221123, 122221210, 122221211, 122221212, 122221221, 122221222,
    122221223, 122221232, 122221233, 122221234, 122222100, 122222101, 122222110,
    122222111, 122222112, 122222121, 122222122, 122222123, 122222210, 122222211,
    122222212, 122222221, 122222222, 122222223, 122222232, 122222233, 122222234,
    122222321, 122222322, 122222323, 122222332, 122222333, 122222334, 122222343,
    122222344, 122222345, 122223210, 122223211, 122223212, 122223221, 122223222,
    122223223, 122223232, 122223233, 122223234, 122223321, 122223322, 122223323,
    122223332, 122223333, 122223334, 122223343, 122223344, 122223345, 122223432,
    122223433, 122223434, 122223443, 122223444, 122223445, 122223454, 122223455,
    122223456, 122232100, 122232101, 122232110, 122232111, 122232112, 122232121,
    122232122, 122232123, 122232210, 122232211, 122232212, 122232221, 122232222,
    122232223, 122232232, 122232233, 122232234, 122232321, 122232322, 122232323,
    122232332, 122232333, 122232334, 122232343, 122232344, 122232345, 122233210,
    122233211, 122233212, 122233221, 122233222, 122233223, 122233232, 122233233,
    122233234, 122233321, 122233322, 122233323, 122233332, 122233333, 122233334,
    122233343, 122233344, 122233345, 122233432, 122233433, 122233434, 122233443,
    122233444, 122233445, 122233454, 122233455, 122233456, 122234321, 122234322,
    122234323, 122234332, 122234333, 122234334, 122234343, 122234344, 122234345,
    122234432, 122234433, 122234434, 122234443, 122234444, 122234445, 122234454,
    122234455, 122234456, 122234543, 122234544, 122234545, 122234554, 122234555,
    122234556, 122234565, 122234566, 122234567, 122321000, 122321001, 122321010,
    122321011, 122321012, 122321100, 122321101, 122321110, 122321111, 122321112,
    122321121, 122321122, 122321123, 122321210, 122321211, 122321212, 122321221,
    122321222, 122321223, 122321232, 122321233, 122321234, 122322100, 122322101,
    122322110, 122322111, 122322112, 122322121, 122322122, 122322123, 122322210,
    122322211, 122322212, 122322221, 122322222, 122322223, 122322232, 122322233,
    122322234, 122322321, 122322322, 122322323, 122322332, 122322333, 122322334,
    122322343, 122322344, 122322345, 122323210, 122323211, 122323212, 122323221,
    122323222, 122323223, 122323232, 122323233, 122323234, 122323321, 122323322,
    122323323, 122323332, 122323333, 122323334, 122323343, 122323344, 122323345,
    122323432, 122323433, 122323434, 122323443, 122323444, 122323445, 122323454,
    122323455, 122323456, 122332100, 122332101, 122332110, 122332111, 122332112,
    122332121, 122332122, 122332123, 122332210, 122332211, 122332212, 122332221,
    122332222, 122332223, 122332232, 122332233, 122332234, 122332321, 122332322,
    122332323, 122332332, 122332333, 122332334, 122332343, 122332344, 122332345,
    122333210, 122333211, 122333212, 122333221, 122333222, 122333223, 122333232,
    122333233, 122333234, 122333321, 122333322, 122333323, 122333332, 122333333,
    122333334, 122333343, 122333344, 122333345, 122333432, 122333433, 122333434,
    122333443, 122333444, 122333445, 122333454, 122333455, 122333456, 122334321,
    122334322, 122334323, 122334332, 122334333, 122334334, 122334343, 122334344,
    122334345, 122334432, 122334433, 122334434, 122334443, 122334444, 122334445,
    122334454, 122334455, 122334456, 122334543, 122334544, 122334545, 122334554,
    122334555, 122334556, 122334565, 122334566, 122334567, 122343210, 122343211,
    122343212, 122343221, 122343222, 122343223, 122343232, 122343233, 122343234,
    122343321, 122343322, 122343323, 122343332, 122343333, 122343334, 122343343,
    122343344, 122343345, 122343432, 122343433, 122343434, 122343443, 122343444,
    122343445, 122343454, 122343455, 122343456, 122344321, 122344322, 122344323,
    122344332, 122344333, 122344334, 122344343, 122344344, 122344345, 122344432,
    122344433, 122344434, 122344443, 122344444, 122344445, 122344454, 122344455,
    122344456, 122344543, 122344544, 122344545, 122344554, 122344555, 122344556,
    122344565, 122344566, 122344567, 122345432, 122345433, 122345434, 122345443,
    122345444, 122345445, 122345454, 122345455, 122345456, 122345543, 122345544,
    122345545, 122345554, 122345555, 122345556, 122345565, 122345566, 122345567,
    122345654, 122345655, 122345656, 122345665, 122345666, 122345667, 122345676,
    122345677, 122345678, 123210000, 123210001, 123210010, 123210011, 123210012,
    123210100, 123210101, 123210110, 123210111, 123210112, 123210121, 123210122,
    123210123, 123211000, 123211001, 123211010, 123211011, 123211012, 123211100,
    123211101, 123211110, 123211111, 123211112, 123211121, 123211122, 123211123,
    123211210, 123211211, 123211212, 123211221, 123211222, 123211223, 123211232,
    123211233, 123211234, 123212100, 123212101, 123212110, 123212111, 123212112,
    123212121, 123212122, 123212123, 123212210, 123212211, 123212212, 123212221,
    123212222, 123212223, 123212232, 123212233, 123212234, 123212321, 123212322,
    123212323, 123212332, 123212333, 123212334, 123212343, 123212344, 123212345,
    123221000, 123221001, 123221010, 123221011, 123221012, 123221100, 123221101,
    123221110, 123221111, 123221112, 123221121, 123221122, 123221123, 123221210,
    123221211, 123221212, 123221221, 123221222, 123221223, 123221232, 123221233,
    123221234, 123222100, 123222101, 123222110, 123222111, 123222112, 123222121,
    123222122, 123222123, 123222210, 123222211, 123222212, 123222221, 123222222,
    123222223, 123222232, 123222233, 123222234, 123222321, 123222322, 123222323,
    123222332, 123222333, 123222334, 123222343, 123222344, 123222345, 123223210,
    123223211, 123223212, 123223221, 123223222, 123223223, 123223232, 123223233,
    123223234, 123223321, 123223322, 123223323, 123223332, 123223333, 123223334,
    123223343, 123223344, 123223345, 123223432, 123223433, 123223434, 123223443,
    123223444, 123223445, 123223454, 123223455, 123223456, 123232100, 123232101,
    123232110, 123232111, 123232112, 123232121, 123232122, 123232123, 123232210,
    123232211, 123232212, 123232221, 123232222, 123232223, 123232232, 123232233,
    123232234, 123232321, 123232322, 123232323, 123232332, 123232333, 123232334,
    123232343, 123232344, 123232345, 123233210, 123233211, 123233212, 123233221,
    123233222, 123233223, 123233232, 123233233, 123233234, 123233321, 123233322,
    123233323, 123233332, 123233333, 123233334, 123233343, 123233344, 123233345,
    123233432, 123233433, 123233434, 123233443, 123233444, 123233445, 123233454,
    123233455, 123233456, 123234321, 123234322, 123234323, 123234332, 123234333,
    123234334, 123234343, 123234344, 123234345, 123234432, 123234433, 123234434,
    123234443, 123234444, 123234445, 123234454, 123234455, 123234456, 123234543,
    123234544, 123234545, 123234554, 123234555, 123234556, 123234565, 123234566,
    123234567, 123321000, 123321001, 123321010, 123321011, 123321012, 123321100,
    123321101, 123321110, 123321111, 123321112, 123321121, 123321122, 123321123,
    123321210, 123321211, 123321212, 123321221, 123321222, 123321223, 123321232,
    123321233, 123321234, 123322100, 123322101, 123322110, 123322111, 123322112,
    123322121, 123322122, 123322123, 123322210, 123322211, 123322212, 123322221,
    123322222, 123322223, 123322232, 123322233, 123322234, 123322321, 123322322,
    123322323, 123322332, 123322333, 123322334, 123322343, 123322344, 123322345,
    123323210, 123323211, 123323212, 123323221, 123323222, 123323223, 123323232,
    123323233, 123323234, 123323321, 123323322, 123323323, 123323332, 123323333,
    123323334, 123323343, 123323344, 123323345, 123323432, 123323433, 123323434,
    123323443, 123323444, 123323445, 123323454, 123323455, 123323456, 123332100,
    123332101, 123332110, 123332111, 123332112, 123332121, 123332122, 123332123,
    123332210, 123332211, 123332212, 123332221, 123332222, 123332223, 123332232,
    123332233, 123332234, 123332321, 123332322, 123332323, 123332332, 123332333,
    123332334, 123332343, 123332344, 123332345, 123333210, 123333211, 123333212,
    123333221, 123333222, 123333223, 123333232, 123333233, 123333234, 123333321,
    123333322, 123333323, 123333332, 123333333, 123333334, 123333343, 123333344,
    123333345, 123333432, 123333433, 123333434, 123333443, 123333444, 123333445,
    123333454, 123333455, 123333456, 123334321, 123334322, 123334323, 123334332,
    123334333, 123334334, 123334343, 123334344, 123334345, 123334432, 123334433,
    123334434, 123334443, 123334444, 123334445, 123334454, 123334455, 123334456,
    123334543, 123334544, 123334545, 123334554, 123334555, 123334556, 123334565,
    123334566, 123334567, 123343210, 123343211, 123343212, 123343221, 123343222,
    123343223, 123343232, 123343233, 123343234, 123343321, 123343322, 123343323,
    123343332, 123343333, 123343334, 123343343, 123343344, 123343345, 123343432,
    123343433, 123343434, 123343443, 123343444, 123343445, 123343454, 123343455,
    123343456, 123344321, 123344322, 123344323, 123344332, 123344333, 123344334,
    123344343, 123344344, 123344345, 123344432, 123344433, 123344434, 123344443,
    123344444, 123344445, 123344454, 123344455, 123344456, 123344543, 123344544,
    123344545, 123344554, 123344555, 123344556, 123344565, 123344566, 123344567,
    123345432, 123345433, 123345434, 123345443, 123345444, 123345445, 123345454,
    123345455, 123345456, 123345543, 123345544, 123345545, 123345554, 123345555,
    123345556, 123345565, 123345566, 123345567, 123345654, 123345655, 123345656,
    123345665, 123345666, 123345667, 123345676, 123345677, 123345678, 123432100,
    123432101, 123432110, 123432111, 123432112, 123432121, 123432122, 123432123,
    123432210, 123432211, 123432212, 123432221, 123432222, 123432223, 123432232,
    123432233, 123432234, 123432321, 123432322, 123432323, 123432332, 123432333,
    123432334, 123432343, 123432344, 123432345, 123433210, 123433211, 123433212,
    123433221, 123433222, 123433223, 123433232, 123433233, 123433234, 123433321,
    123433322, 123433323, 123433332, 123433333, 123433334, 123433343, 123433344,
    123433345, 123433432, 123433433, 123433434, 123433443, 123433444, 123433445,
    123433454, 123433455, 123433456, 123434321, 123434322, 123434323, 123434332,
    123434333, 123434334, 123434343, 123434344, 123434345, 123434432, 123434433,
    123434434, 123434443, 123434444, 123434445, 123434454, 123434455, 123434456,
    123434543, 123434544, 123434545, 123434554, 123434555, 123434556, 123434565,
    123434566, 123434567, 123443210, 123443211, 123443212, 123443221, 123443222,
    123443223, 123443232, 123443233, 123443234, 123443321, 123443322, 123443323,
    123443332, 123443333, 123443334, 123443343, 123443344, 123443345, 123443432,
    123443433, 123443434, 123443443, 123443444, 123443445, 123443454, 123443455,
    123443456, 123444321, 123444322, 123444323, 123444332, 123444333, 123444334,
    123444343, 123444344, 123444345, 123444432, 123444433, 123444434, 123444443,
    123444444, 123444445, 123444454, 123444455, 123444456, 123444543, 123444544,
    123444545, 123444554, 123444555, 123444556, 123444565, 123444566, 123444567,
    123445432, 123445433, 123445434, 123445443, 123445444, 123445445, 123445454,
    123445455, 123445456, 123445543, 123445544, 123445545, 123445554, 123445555,
    123445556, 123445565, 123445566, 123445567, 123445654, 123445655, 123445656,
    123445665, 123445666, 123445667, 123445676, 123445677, 123445678, 123454321,
    123454322, 123454323, 123454332, 123454333, 123454334, 123454343, 123454344,
    123454345, 123454432, 123454433, 123454434, 123454443, 123454444, 123454445,
    123454454, 123454455, 123454456, 123454543, 123454544, 123454545, 123454554,
    123454555, 123454556, 123454565, 123454566, 123454567, 123455432, 123455433,
    123455434, 123455443, 123455444, 123455445, 123455454, 123455455, 123455456,
    123455543, 123455544, 123455545, 123455554, 123455555, 123455556, 123455565,
    123455566, 123455567, 123455654, 123455655, 123455656, 123455665, 123455666,
    123455667, 123455676, 123455677, 123455678, 123456543, 123456544, 123456545,
    123456554, 123456555, 123456556, 123456565, 123456566, 123456567, 123456654,
    123456655, 123456656, 123456665, 123456666, 123456667, 123456676, 123456677,
    123456678, 123456765, 123456766, 123456767, 123456776, 123456777, 123456778,
    123456787, 123456788, 123456789, 210000000, 210000001, 210000010, 210000011,
    210000012, 210000100, 210000101, 210000110, 210000111, 210000112, 210000121,
    210000122, 210000123, 210001000, 210001001, 210001010, 210001011, 210001012,
    210001100, 210001101, 210001110, 210001111, 210001112, 210001121, 210001122,
    210001123, 210001210, 210001211, 210001212, 210001221, 210001222, 210001223,
    210001232, 210001233, 210001234, 210010000, 210010001, 210010010, 210010011,
    210010012, 210010100, 210010101, 210010110, 210010111, 210010112, 210010121,
    210010122, 210010123, 210011000, 210011001, 210011010, 210011011, 210011012,
    210011100, 210011101, 210011110, 210011111, 210011112, 210011121, 210011122,
    210011123, 210011210, 210011211, 210011212, 210011221, 210011222, 210011223,
    210011232, 210011233, 210011234, 210012100, 210012101, 210012110, 210012111,
    210012112, 210012121, 210012122, 210012123, 210012210, 210012211, 210012212,
    210012221, 210012222, 210012223, 210012232, 210012233, 210012234, 210012321,
    210012322, 210012323, 210012332, 210012333, 210012334, 210012343, 210012344,
    210012345, 210100000, 210100001, 210100010, 210100011, 210100012, 210100100,
    210100101, 210100110, 210100111, 210100112, 210100121, 210100122, 210100123,
    210101000, 210101001, 210101010, 210101011, 210101012, 210101100, 210101101,
    210101110, 210101111, 210101112, 210101121, 210101122, 210101123, 210101210,
    210101211, 210101212, 210101221, 210101222, 210101223, 210101232, 210101233,
    210101234, 210110000, 210110001, 210110010, 210110011, 210110012, 210110100,
    210110101, 210110110, 210110111, 210110112, 210110121, 210110122, 210110123,
    210111000, 210111001, 210111010, 210111011, 210111012, 210111100, 210111101,
    210111110, 210111111, 210111112, 210111121, 210111122, 210111123, 210111210,
    210111211, 210111212, 210111221, 210111222, 210111223, 210111232, 210111233,
    210111234, 210112100, 210112101, 210112110, 210112111, 210112112, 210112121,
    210112122, 210112123, 210112210, 210112211, 210112212, 210112221, 210112222,
    210112223, 210112232, 210112233, 210112234, 210112321, 210112322, 210112323,
    210112332, 210112333, 210112334, 210112343, 210112344, 210112345, 210121000,
    210121001, 210121010, 210121011, 210121012, 210121100, 210121101, 210121110,
    210121111, 210121112, 210121121, 210121122, 210121123, 210121210, 210121211,
    210121212, 210121221, 210121222, 210121223, 210121232, 210121233, 210121234,
    210122100, 210122101, 210122110, 210122111, 210122112, 210122121, 210122122,
    210122123, 210122210, 210122211, 210122212, 210122221, 210122222, 210122223,
    210122232, 210122233, 210122234, 210122321, 210122322, 210122323, 210122332,
    210122333, 210122334, 210122343, 210122344, 210122345, 210123210, 210123211,
    210123212, 210123221, 210123222, 210123223, 210123232, 210123233, 210123234,
    210123321, 210123322, 210123323, 210123332, 210123333, 210123334, 210123343,
    210123344, 210123345, 210123432, 210123433, 210123434, 210123443, 210123444,
    210123445, 210123454, 210123455, 210123456, 211000000, 211000001, 211000010,
    211000011, 211000012, 211000100, 211000101, 211000110, 211000111, 211000112,
    211000121, 211000122, 211000123, 211001000, 211001001, 211001010, 211001011,
    211001012, 211001100, 211001101, 211001110, 211001111, 211001112, 211001121,
    211001122, 211001123, 211001210, 211001211, 211001212, 211001221, 211001222,
    211001223, 211001232, 211001233, 211001234, 211010000, 211010001, 211010010,
    211010011, 211010012, 211010100, 211010101, 211010110, 211010111, 211010112,
    211010121, 211010122, 211010123, 211011000, 211011001, 211011010, 211011011,
    211011012, 211011100, 211011101, 211011110, 211011111, 211011112, 211011121,
    211011122, 211011123, 211011210, 211011211, 211011212, 211011221, 211011222,
    211011223, 211011232, 211011233, 211011234, 211012100, 211012101, 211012110,
    211012111, 211012112, 211012121, 211012122, 211012123, 211012210, 211012211,
    211012212, 211012221, 211012222, 211012223, 211012232, 211012233, 211012234,
    211012321, 211012322, 211012323, 211012332, 211012333, 211012334, 211012343,
    211012344, 211012345, 211100000, 211100001, 211100010, 211100011, 211100012,
    211100100, 211100101, 211100110, 211100111, 211100112, 211100121, 211100122,
    211100123, 211101000, 211101001, 211101010, 211101011, 211101012, 211101100,
    211101101, 211101110, 211101111, 211101112, 211101121, 211101122, 211101123,
    211101210, 211101211, 211101212, 211101221, 211101222, 211101223, 211101232,
    211101233, 211101234, 211110000, 211110001, 211110010, 211110011, 211110012,
    211110100, 211110101, 211110110, 211110111, 211110112, 211110121, 211110122,
    211110123, 211111000, 211111001, 211111010, 211111011, 211111012, 211111100,
    211111101, 211111110, 211111111, 211111112, 211111121, 211111122, 211111123,
    211111210, 211111211, 211111212, 211111221, 211111222, 211111223, 211111232,
    211111233, 211111234, 211112100, 211112101, 211112110, 211112111, 211112112,
    211112121, 211112122, 211112123, 211112210, 211112211, 211112212, 211112221,
    211112222, 211112223, 211112232, 211112233, 211112234, 211112321, 211112322,
    211112323, 211112332, 211112333, 211112334, 211112343, 211112344, 211112345,
    211121000, 211121001, 211121010, 211121011, 211121012, 211121100, 211121101,
    211121110, 211121111, 211121112, 211121121, 211121122, 211121123, 211121210,
    211121211, 211121212, 211121221, 211121222, 211121223, 211121232, 211121233,
    211121234, 211122100, 211122101, 211122110, 211122111, 211122112, 211122121,
    211122122, 211122123, 211122210, 211122211, 211122212, 211122221, 211122222,
    211122223, 211122232, 211122233, 211122234, 211122321, 211122322, 211122323,
    211122332, 211122333, 211122334, 211122343, 211122344, 211122345, 211123210,
    211123211, 211123212, 211123221, 211123222, 211123223, 211123232, 211123233,
    211123234, 211123321, 211123322, 211123323, 211123332, 211123333, 211123334,
    211123343, 211123344, 211123345, 211123432, 211123433, 211123434, 211123443,
    211123444, 211123445, 211123454, 211123455, 211123456, 211210000, 211210001,
    211210010, 211210011, 211210012, 211210100, 211210101, 211210110, 211210111,
    211210112, 211210121, 211210122, 211210123, 211211000, 211211001, 211211010,
    211211011, 211211012, 211211100, 211211101, 211211110, 211211111, 211211112,
    211211121, 211211122, 211211123, 211211210, 211211211, 211211212, 211211221,
    211211222, 211211223, 211211232, 211211233, 211211234, 211212100, 211212101,
    211212110, 211212111, 211212112, 211212121, 211212122, 211212123, 211212210,
    211212211, 211212212, 211212221, 211212222, 211212223, 211212232, 211212233,
    211212234, 211212321, 211212322, 211212323, 211212332, 211212333, 211212334,
    211212343, 211212344, 211212345, 211221000, 211221001, 211221010, 211221011,
    211221012, 211221100, 211221101, 211221110, 211221111, 211221112, 211221121,
    211221122, 211221123, 211221210, 211221211, 211221212, 211221221, 211221222,
    211221223, 211221232, 211221233, 211221234, 211222100, 211222101, 211222110,
    211222111, 211222112, 211222121, 211222122, 211222123, 211222210, 211222211,
    211222212, 211222221, 211222222, 211222223, 211222232, 211222233, 211222234,
    211222321, 211222322, 211222323, 211222332, 211222333, 211222334, 211222343,
    211222344, 211222345, 211223210, 211223211, 211223212, 211223221, 211223222,
    211223223, 211223232, 211223233, 211223234, 211223321, 211223322, 211223323,
    211223332, 211223333, 211223334, 211223343, 211223344, 211223345, 211223432,
    211223433, 211223434, 211223443, 211223444, 211223445, 211223454, 211223455,
    211223456, 211232100, 211232101, 211232110, 211232111, 211232112, 211232121,
    211232122, 211232123, 211232210, 211232211, 211232212, 211232221, 211232222,
    211232223, 211232232, 211232233, 211232234, 211232321, 211232322, 211232323,
    211232332, 211232333, 211232334, 211232343, 211232344, 211232345, 211233210,
    211233211, 211233212, 211233221, 211233222, 211233223, 211233232, 211233233,
    211233234, 211233321, 211233322, 211233323, 211233332, 211233333, 211233334,
    211233343, 211233344, 211233345, 211233432, 211233433, 211233434, 211233443,
    211233444, 211233445, 211233454, 211233455, 211233456, 211234321, 211234322,
    211234323, 211234332, 211234333, 211234334, 211234343, 211234344, 211234345,
    211234432, 211234433, 211234434, 211234443, 211234444, 211234445, 211234454,
    211234455, 211234456, 211234543, 211234544, 211234545, 211234554, 211234555,
    211234556, 211234565, 211234566, 211234567, 212100000, 212100001, 212100010,
    212100011, 212100012, 212100100, 212100101, 212100110, 212100111, 212100112,
    212100121, 212100122, 212100123, 212101000, 212101001, 212101010, 212101011,
    212101012, 212101100, 212101101, 212101110, 212101111, 212101112, 212101121,
    212101122, 212101123, 212101210, 212101211, 212101212, 212101221, 212101222,
    212101223, 212101232, 212101233, 212101234, 212110000, 212110001, 212110010,
    212110011, 212110012, 212110100, 212110101, 212110110, 212110111, 212110112,
    212110121, 212110122, 212110123, 212111000, 212111001, 212111010, 212111011,
    212111012, 212111100, 212111101, 212111110, 212111111, 212111112, 212111121,
    212111122, 212111123, 212111210, 212111211, 212111212, 212111221, 212111222,
    212111223, 212111232, 212111233, 212111234, 212112100, 212112101, 212112110,
    212112111, 212112112, 212112121, 212112122, 212112123, 212112210, 212112211,
    212112212, 212112221, 212112222, 212112223, 212112232, 212112233, 212112234,
    212112321, 212112322, 212112323, 212112332, 212112333, 212112334, 212112343,
    212112344, 212112345, 212121000, 212121001, 212121010, 212121011, 212121012,
    212121100, 212121101, 212121110, 212121111, 212121112, 212121121, 212121122,
    212121123, 212121210, 212121211, 212121212, 212121221, 212121222, 212121223,
    212121232, 212121233, 212121234, 212122100, 212122101, 212122110, 212122111,
    212122112, 212122121, 212122122, 212122123, 212122210, 212122211, 212122212,
    212122221, 212122222, 212122223, 212122232, 212122233, 212122234, 212122321,
    212122322, 212122323, 212122332, 212122333, 212122334, 212122343, 212122344,
    212122345, 212123210, 212123211, 212123212, 212123221, 212123222, 212123223,
    212123232, 212123233, 212123234, 212123321, 212123322, 212123323, 212123332,
    212123333, 212123334, 212123343, 212123344, 212123345, 212123432, 212123433,
    212123434, 212123443, 212123444, 212123445, 212123454, 212123455, 212123456,
    212210000, 212210001, 212210010, 212210011, 212210012, 212210100, 212210101,
    212210110, 212210111, 212210112, 212210121, 212210122, 212210123, 212211000,
    212211001, 212211010, 212211011, 212211012, 212211100, 212211101, 212211110,
    212211111, 212211112, 212211121, 212211122, 212211123, 212211210, 212211211,
    212211212, 212211221, 212211222, 212211223, 212211232, 212211233, 212211234,
    212212100, 212212101, 212212110, 212212111, 212212112, 212212121, 212212122,
    212212123, 212212210, 212212211, 212212212, 212212221, 212212222, 212212223,
    212212232, 212212233, 212212234, 212212321, 212212322, 212212323, 212212332,
    212212333, 212212334, 212212343, 212212344, 212212345, 212221000, 212221001,
    212221010, 212221011, 212221012, 212221100, 212221101, 212221110, 212221111,
    212221112, 212221121, 212221122, 212221123, 212221210, 212221211, 212221212,
    212221221, 212221222, 212221223, 212221232, 212221233, 212221234, 212222100,
    212222101, 212222110, 212222111, 212222112, 212222121, 212222122, 212222123,
    212222210, 212222211, 212222212, 212222221, 212222222, 212222223, 212222232,
    212222233, 212222234, 212222321, 212222322, 212222323, 212222332, 212222333,
    212222334, 212222343, 212222344, 212222345, 212223210, 212223211, 212223212,
    212223221, 212223222, 212223223, 212223232, 212223233, 212223234, 212223321,
    212223322, 212223323, 212223332, 212223333, 212223334, 212223343, 212223344,
    212223345, 212223432, 212223433, 212223434, 212223443, 212223444, 212223445,
    212223454, 212223455, 212223456, 212232100, 212232101, 212232110, 212232111,
    212232112, 212232121, 212232122, 212232123, 212232210, 212232211, 212232212,
    212232221, 212232222, 212232223, 212232232, 212232233, 212232234, 212232321,
    212232322, 212232323, 212232332, 212232333, 212232334, 212232343, 212232344,
    212232345, 212233210, 212233211, 212233212, 212233221, 212233222, 212233223,
    212233232, 212233233, 212233234, 212233321, 212233322, 212233323, 212233332,
    212233333, 212233334, 212233343, 212233344, 212233345, 212233432, 212233433,
    212233434, 212233443, 212233444, 212233445, 212233454, 212233455, 212233456,
    212234321, 212234322, 212234323, 212234332, 212234333, 212234334, 212234343,
    212234344, 212234345, 212234432, 212234433, 212234434, 212234443, 212234444,
    212234445, 212234454, 212234455, 212234456, 212234543, 212234544, 212234545,
    212234554, 212234555, 212234556, 212234565, 212234566, 212234567, 212321000,
    212321001, 212321010, 212321011, 212321012, 212321100, 212321101, 212321110,
    212321111, 212321112, 212321121, 212321122, 212321123, 212321210, 212321211,
    212321212, 212321221, 212321222, 212321223, 212321232, 212321233, 212321234,
    212322100, 212322101, 212322110, 212322111, 212322112, 212322121, 212322122,
    212322123, 212322210, 212322211, 212322212, 212322221, 212322222, 212322223,
    212322232, 212322233, 212322234, 212322321, 212322322, 212322323, 212322332,
    212322333, 212322334, 212322343, 212322344, 212322345, 212323210, 212323211,
    212323212, 212323221, 212323222, 212323223, 212323232, 212323233, 212323234,
    212323321, 212323322, 212323323, 212323332, 212323333, 212323334, 212323343,
    212323344, 212323345, 212323432, 212323433, 212323434, 212323443, 212323444,
    212323445, 212323454, 212323455, 212323456, 212332100, 212332101, 212332110,
    212332111, 212332112, 212332121, 212332122, 212332123, 212332210, 212332211,
    212332212, 212332221, 212332222, 212332223, 212332232, 212332233, 212332234,
    212332321, 212332322, 212332323, 212332332, 212332333, 212332334, 212332343,
    212332344, 212332345, 212333210, 212333211, 212333212, 212333221, 212333222,
    212333223, 212333232, 212333233, 212333234, 212333321, 212333322, 212333323,
    212333332, 212333333, 212333334, 212333343, 212333344, 212333345, 212333432,
    212333433, 212333434, 212333443, 212333444, 212333445, 212333454, 212333455,
    212333456, 212334321, 212334322, 212334323, 212334332, 212334333, 212334334,
    212334343, 212334344, 212334345, 212334432, 212334433, 212334434, 212334443,
    212334444, 212334445, 212334454, 212334455, 212334456, 212334543, 212334544,
    212334545, 212334554, 212334555, 212334556, 212334565, 212334566, 212334567,
    212343210, 212343211, 212343212, 212343221, 212343222, 212343223, 212343232,
    212343233, 212343234, 212343321, 212343322, 212343323, 212343332, 212343333,
    212343334, 212343343, 212343344, 212343345, 212343432, 212343433, 212343434,
    212343443, 212343444, 212343445, 212343454, 212343455, 212343456, 212344321,
    212344322, 212344323, 212344332, 212344333, 212344334, 212344343, 212344344,
    212344345, 212344432, 212344433, 212344434, 212344443, 212344444, 212344445,
    212344454, 212344455, 212344456, 212344543, 212344544, 212344545, 212344554,
    212344555, 212344556, 212344565, 212344566, 212344567, 212345432, 212345433,
    212345434, 212345443, 212345444, 212345445, 212345454, 212345455, 212345456,
    212345543, 212345544, 212345545, 212345554, 212345555, 212345556, 212345565,
    212345566, 212345567, 212345654, 212345655, 212345656, 212345665, 212345666,
    212345667, 212345676, 212345677, 212345678, 221000000, 221000001, 221000010,
    221000011, 221000012, 221000100, 221000101, 221000110, 221000111, 221000112,
    221000121, 221000122, 221000123, 221001000, 221001001, 221001010, 221001011,
    221001012, 221001100, 221001101, 221001110, 221001111, 221001112, 221001121,
    221001122, 221001123, 221001210, 221001211, 221001212, 221001221, 221001222,
    221001223, 221001232, 221001233, 221001234, 221010000, 221010001, 221010010,
    221010011, 221010012, 221010100, 221010101, 221010110, 221010111, 221010112,
    221010121, 221010122, 221010123, 221011000, 221011001, 221011010, 221011011,
    221011012, 221011100, 221011101, 221011110, 221011111, 221011112, 221011121,
    221011122, 221011123, 221011210, 221011211, 221011212, 221011221, 221011222,
    221011223, 221011232, 221011233, 221011234, 221012100, 221012101, 221012110,
    221012111, 221012112, 221012121, 221012122, 221012123, 221012210, 221012211,
    221012212, 221012221, 221012222, 221012223, 221012232, 221012233, 221012234,
    221012321, 221012322, 221012323, 221012332, 221012333, 221012334, 221012343,
    221012344, 221012345, 221100000, 221100001, 221100010, 221100011, 221100012,
    221100100, 221100101, 221100110, 221100111, 221100112, 221100121, 221100122,
    221100123, 221101000, 221101001, 221101010, 221101011, 221101012, 221101100,
    221101101, 221101110, 221101111, 221101112, 221101121, 221101122, 221101123,
    221101210, 221101211, 221101212, 221101221, 221101222, 221101223, 221101232,
    221101233, 221101234, 221110000, 221110001, 221110010, 221110011, 221110012,
    221110100, 221110101, 221110110, 221110111, 221110112, 221110121, 221110122,
    221110123, 221111000, 221111001, 221111010, 221111011, 221111012, 221111100,
    221111101, 221111110, 221111111, 221111112, 221111121, 221111122, 221111123,
    221111210, 221111211, 221111212, 221111221, 221111222, 221111223, 221111232,
    221111233, 221111234, 221112100, 221112101, 221112110, 221112111, 221112112,
    221112121, 221112122, 221112123, 221112210, 221112211, 221112212, 221112221,
    221112222, 221112223, 221112232, 221112233, 221112234, 221112321, 221112322,
    221112323, 221112332, 221112333, 221112334, 221112343, 221112344, 221112345,
    221121000, 221121001, 221121010, 221121011, 221121012, 221121100, 221121101,
    221121110, 221121111, 221121112, 221121121, 221121122, 221121123, 221121210,
    221121211, 221121212, 221121221, 221121222, 221121223, 221121232, 221121233,
    221121234, 221122100, 221122101, 221122110, 221122111, 221122112, 221122121,
    221122122, 221122123, 221122210, 221122211, 221122212, 221122221, 221122222,
    221122223, 221122232, 221122233, 221122234, 221122321, 221122322, 221122323,
    221122332, 221122333, 221122334, 221122343, 221122344, 221122345, 221123210,
    221123211, 221123212, 221123221, 221123222, 221123223, 221123232, 221123233,
    221123234, 221123321, 221123322, 221123323, 221123332, 221123333, 221123334,
    221123343, 221123344, 221123345, 221123432, 221123433, 221123434, 221123443,
    221123444, 221123445, 221123454, 221123455, 221123456, 221210000, 221210001,
    221210010, 221210011, 221210012, 221210100, 221210101, 221210110, 221210111,
    221210112, 221210121, 221210122, 221210123, 221211000, 221211001, 221211010,
    221211011, 221211012, 221211100, 221211101, 221211110, 221211111, 221211112,
    221211121, 221211122, 221211123, 221211210, 221211211, 221211212, 221211221,
    221211222, 221211223, 221211232, 221211233, 221211234, 221212100, 221212101,
    221212110, 221212111, 221212112, 221212121, 221212122, 221212123, 221212210,
    221212211, 221212212, 221212221, 221212222, 221212223, 221212232, 221212233,
    221212234, 221212321, 221212322, 221212323, 221212332, 221212333, 221212334,
    221212343, 221212344, 221212345, 221221000, 221221001, 221221010, 221221011,
    221221012, 221221100, 221221101, 221221110, 221221111, 221221112, 221221121,
    221221122, 221221123, 221221210, 221221211, 221221212, 221221221, 221221222,
    221221223, 221221232, 221221233, 221221234, 221222100, 221222101, 221222110,
    221222111, 221222112, 221222121, 221222122, 221222123, 221222210, 221222211,
    221222212, 221222221, 221222222, 221222223, 221222232, 221222233, 221222234,
    221222321, 221222322, 221222323, 221222332, 221222333, 221222334, 221222343,
    221222344, 221222345, 221223210, 221223211, 221223212, 221223221, 221223222,
    221223223, 221223232, 221223233, 221223234, 221223321, 221223322, 221223323,
    221223332, 221223333, 221223334, 221223343, 221223344, 221223345, 221223432,
    221223433, 221223434, 221223443, 221223444, 221223445, 221223454, 221223455,
    221223456, 221232100, 221232101, 221232110, 221232111, 221232112, 221232121,
    221232122, 221232123, 221232210, 221232211, 221232212, 221232221, 221232222,
    221232223, 221232232, 221232233, 221232234, 221232321, 221232322, 221232323,
    221232332, 221232333, 221232334, 221232343, 221232344, 221232345, 221233210,
    221233211, 221233212, 221233221, 221233222, 221233223, 221233232, 221233233,
    221233234, 221233321, 221233322, 221233323, 221233332, 221233333, 221233334,
    221233343, 221233344, 221233345, 221233432, 221233433, 221233434, 221233443,
    221233444, 221233445, 221233454, 221233455, 221233456, 221234321, 221234322,
    221234323, 221234332, 221234333, 221234334, 221234343, 221234344, 221234345,
    221234432, 221234433, 221234434, 221234443, 221234444, 221234445, 221234454,
    221234455, 221234456, 221234543, 221234544, 221234545, 221234554, 221234555,
    221234556, 221234565, 221234566, 221234567, 222100000, 222100001, 222100010,
    222100011, 222100012, 222100100, 222100101, 222100110, 222100111, 222100112,
    222100121, 222100122, 222100123, 222101000, 222101001, 222101010, 222101011,
    222101012, 222101100, 222101101, 222101110, 222101111, 222101112, 222101121,
    222101122, 222101123, 222101210, 222101211, 222101212, 222101221, 222101222,
    222101223, 222101232, 222101233, 222101234, 222110000, 222110001, 222110010,
    222110011, 222110012, 222110100, 222110101, 222110110, 222110111, 222110112,
    222110121, 222110122, 222110123, 222111000, 222111001, 222111010, 222111011,
    222111012, 222111100, 222111101, 222111110, 222111111, 222111112, 222111121,
    222111122, 222111123, 222111210, 222111211, 222111212, 222111221, 222111222,
    222111223, 222111232, 222111233, 222111234, 222112100, 222112101, 222112110,
    222112111, 222112112, 222112121, 222112122, 222112123, 222112210, 222112211,
    222112212, 222112221, 222112222, 222112223, 222112232, 222112233, 222112234,
    222112321, 222112322, 222112323, 222112332, 222112333, 222112334, 222112343,
    222112344, 222112345, 222121000, 222121001, 222121010, 222121011, 222121012,
    222121100, 222121101, 222121110, 222121111, 222121112, 222121121, 222121122,
    222121123, 222121210, 222121211, 222121212, 222121221, 222121222, 222121223,
    222121232, 222121233, 222121234, 222122100, 222122101, 222122110, 222122111,
    222122112, 222122121, 222122122, 222122123, 222122210, 222122211, 222122212,
    222122221, 222122222, 222122223, 222122232, 222122233, 222122234, 222122321,
    222122322, 222122323, 222122332, 222122333, 222122334, 222122343, 222122344,
    222122345, 222123210, 222123211, 222123212, 222123221, 222123222, 222123223,
    222123232, 222123233, 222123234, 222123321, 222123322, 222123323, 222123332,
    222123333, 222123334, 222123343, 222123344, 222123345, 222123432, 222123433,
    222123434, 222123443, 222123444, 222123445, 222123454, 222123455, 222123456,
    222210000, 222210001, 222210010, 222210011, 222210012, 222210100, 222210101,
    222210110, 222210111, 222210112, 222210121, 222210122, 222210123, 222211000,
    222211001, 222211010, 222211011, 222211012, 222211100, 222211101, 222211110,
    222211111, 222211112, 222211121, 222211122, 222211123, 222211210, 222211211,
    222211212, 222211221, 222211222, 222211223, 222211232, 222211233, 222211234,
    222212100, 222212101, 222212110, 222212111, 222212112, 222212121, 222212122,
    222212123, 222212210, 222212211, 222212212, 222212221, 222212222, 222212223,
    222212232, 222212233, 222212234, 222212321, 222212322, 222212323, 222212332,
    222212333, 222212334, 222212343, 222212344, 222212345, 222221000, 222221001,
    222221010, 222221011, 222221012, 222221100, 222221101, 222221110, 222221111,
    222221112, 222221121, 222221122, 222221123, 222221210, 222221211, 222221212,
    222221221, 222221222, 222221223, 222221232, 222221233, 222221234, 222222100,
    222222101, 222222110, 222222111, 222222112, 222222121, 222222122, 222222123,
    222222210, 222222211, 222222212, 222222221, 222222222, 222222223, 222222232,
    222222233, 222222234, 222222321, 222222322, 222222323, 222222332, 222222333,
    222222334, 222222343, 222222344, 222222345, 222223210, 222223211, 222223212,
    222223221, 222223222, 222223223, 222223232, 222223233, 222223234, 222223321,
    222223322, 222223323, 222223332, 222223333, 222223334, 222223343, 222223344,
    222223345, 222223432, 222223433, 222223434, 222223443, 222223444, 222223445,
    222223454, 222223455, 222223456, 222232100, 222232101, 222232110, 222232111,
    222232112, 222232121, 222232122, 222232123, 222232210, 222232211, 222232212,
    222232221, 222232222, 222232223, 222232232, 222232233, 222232234, 222232321,
    222232322, 222232323, 222232332, 222232333, 222232334, 222232343, 222232344,
    222232345, 222233210, 222233211, 222233212, 222233221, 222233222, 222233223,
    222233232, 222233233, 222233234, 222233321, 222233322, 222233323, 222233332,
    222233333, 222233334, 222233343, 222233344, 222233345, 222233432, 222233433,
    222233434, 222233443, 222233444, 222233445, 222233454, 222233455, 222233456,
    222234321, 222234322, 222234323, 222234332, 222234333, 222234334, 222234343,
    222234344, 222234345, 222234432, 222234433, 222234434, 222234443, 222234444,
    222234445, 222234454, 222234455, 222234456, 222234543, 222234544, 222234545,
    222234554, 222234555, 222234556, 222234565, 222234566, 222234567, 222321000,
    222321001, 222321010, 222321011, 222321012, 222321100, 222321101, 222321110,
    222321111, 222321112, 222321121, 222321122, 222321123, 222321210, 222321211,
    222321212, 222321221, 222321222, 222321223, 222321232, 222321233, 222321234,
    222322100, 222322101, 222322110, 222322111, 222322112, 222322121, 222322122,
    222322123, 222322210, 222322211, 222322212, 222322221, 222322222, 222322223,
    222322232, 222322233, 222322234, 222322321, 222322322, 222322323, 222322332,
    222322333, 222322334, 222322343, 222322344, 222322345, 222323210, 222323211,
    222323212, 222323221, 222323222, 222323223, 222323232, 222323233, 222323234,
    222323321, 222323322, 222323323, 222323332, 222323333, 222323334, 222323343,
    222323344, 222323345, 222323432, 222323433, 222323434, 222323443, 222323444,
    222323445, 222323454, 222323455, 222323456, 222332100, 222332101, 222332110,
    222332111, 222332112, 222332121, 222332122, 222332123, 222332210, 222332211,
    222332212, 222332221, 222332222, 222332223, 222332232, 222332233, 222332234,
    222332321, 222332322, 222332323, 222332332, 222332333, 222332334, 222332343,
    222332344, 222332345, 222333210, 222333211, 222333212, 222333221, 222333222,
    222333223, 222333232, 222333233, 222333234, 222333321, 222333322, 222333323,
    222333332, 222333333, 222333334, 222333343, 222333344, 222333345, 222333432,
    222333433, 222333434, 222333443, 222333444, 222333445, 222333454, 222333455,
    222333456, 222334321, 222334322, 222334323, 222334332, 222334333, 222334334,
    222334343, 222334344, 222334345, 222334432, 222334433, 222334434, 222334443,
    222334444, 222334445, 222334454, 222334455, 222334456, 222334543, 222334544,
    222334545, 222334554, 222334555, 222334556, 222334565, 222334566, 222334567,
    222343210, 222343211, 222343212, 222343221, 222343222, 222343223, 222343232,
    222343233, 222343234, 222343321, 222343322, 222343323, 222343332, 222343333,
    222343334, 222343343, 222343344, 222343345, 222343432, 222343433, 222343434,
    222343443, 222343444, 222343445, 222343454, 222343455, 222343456, 222344321,
    222344322, 222344323, 222344332, 222344333, 222344334, 222344343, 222344344,
    222344345, 222344432, 222344433, 222344434, 222344443, 222344444, 222344445,
    222344454, 222344455, 222344456, 222344543, 222344544, 222344545, 222344554,
    222344555, 222344556, 222344565, 222344566, 222344567, 222345432, 222345433,
    222345434, 222345443, 222345444, 222345445, 222345454, 222345455, 222345456,
    222345543, 222345544, 222345545, 222345554, 222345555, 222345556, 222345565,
    222345566, 222345567, 222345654, 222345655, 222345656, 222345665, 222345666,
    222345667, 222345676, 222345677, 222345678, 223210000, 223210001, 223210010,
    223210011, 223210012, 223210100, 223210101, 223210110, 223210111, 223210112,
    223210121, 223210122, 223210123, 223211000, 223211001, 223211010, 223211011,
    223211012, 223211100, 223211101, 223211110, 223211111, 223211112, 223211121,
    223211122, 223211123, 223211210, 223211211, 223211212, 223211221, 223211222,
    223211223, 223211232, 223211233, 223211234, 223212100, 223212101, 223212110,
    223212111, 223212112, 223212121, 223212122, 223212123, 223212210, 223212211,
    223212212, 223212221, 223212222, 223212223, 223212232, 223212233, 223212234,
    223212321, 223212322, 223212323, 223212332, 223212333, 223212334, 223212343,
    223212344, 223212345, 223221000, 223221001, 223221010, 223221011, 223221012,
    223221100, 223221101, 223221110, 223221111, 223221112, 223221121, 223221122,
    223221123, 223221210, 223221211, 223221212, 223221221, 223221222, 223221223,
    223221232, 223221233, 223221234, 223222100, 223222101, 223222110, 223222111,
    223222112, 223222121, 223222122, 223222123, 223222210, 223222211, 223222212,
    223222221, 223222222, 223222223, 223222232, 223222233, 223222234, 223222321,
    223222322, 223222323, 223222332, 223222333, 223222334, 223222343, 223222344,
    223222345, 223223210, 223223211, 223223212, 223223221, 223223222, 223223223,
    223223232, 223223233, 223223234, 223223321, 223223322, 223223323, 223223332,
    223223333, 223223334, 223223343, 223223344, 223223345, 223223432, 223223433,
    223223434, 223223443, 223223444, 223223445, 223223454, 223223455, 223223456,
    223232100, 223232101, 223232110, 223232111, 223232112, 223232121, 223232122,
    223232123, 223232210, 223232211, 223232212, 223232221, 223232222, 223232223,
    223232232, 223232233, 223232234, 223232321, 223232322, 223232323, 223232332,
    223232333, 223232334, 223232343, 223232344, 223232345, 223233210, 223233211,
    223233212, 223233221, 223233222, 223233223, 223233232, 223233233, 223233234,
    223233321, 223233322, 223233323, 223233332, 223233333, 223233334, 223233343,
    223233344, 223233345, 223233432, 223233433, 223233434, 223233443, 223233444,
    223233445, 223233454, 223233455, 223233456, 223234321, 223234322, 223234323,
    223234332, 223234333, 223234334, 223234343, 223234344, 223234345, 223234432,
    223234433, 223234434, 223234443, 223234444, 223234445, 223234454, 223234455,
    223234456, 223234543, 223234544, 223234545, 223234554, 223234555, 223234556,
    223234565, 223234566, 223234567, 223321000, 223321001, 223321010, 223321011,
    223321012, 223321100, 223321101, 223321110, 223321111, 223321112, 223321121,
    223321122, 223321123, 223321210, 223321211, 223321212, 223321221, 223321222,
    223321223, 223321232, 223321233, 223321234, 223322100, 223322101, 223322110,
    223322111, 223322112, 223322121, 223322122, 223322123, 223322210, 223322211,
    223322212, 223322221, 223322222, 223322223, 223322232, 223322233, 223322234,
    223322321, 223322322, 223322323, 223322332, 223322333, 223322334, 223322343,
    223322344, 223322345, 223323210, 223323211, 223323212, 223323221, 223323222,
    223323223, 223323232, 223323233, 223323234, 223323321, 223323322, 223323323,
    223323332, 223323333, 223323334, 223323343, 223323344, 223323345, 223323432,
    223323433, 223323434, 223323443, 223323444, 223323445, 223323454, 223323455,
    223323456, 223332100, 223332101, 223332110, 223332111, 223332112, 223332121,
    223332122, 223332123, 223332210, 223332211, 223332212, 223332221, 223332222,
    223332223, 223332232, 223332233, 223332234, 223332321, 223332322, 223332323,
    223332332, 223332333, 223332334, 223332343, 223332344, 223332345, 223333210,
    223333211, 223333212, 223333221, 223333222, 223333223, 223333232, 223333233,
    223333234, 223333321, 223333322, 223333323, 223333332, 223333333, 223333334,
    223333343, 223333344, 223333345, 223333432, 223333433, 223333434, 223333443,
    223333444, 223333445, 223333454, 223333455, 223333456, 223334321, 223334322,
    223334323, 223334332, 223334333, 223334334, 223334343, 223334344, 223334345,
    223334432, 223334433, 223334434, 223334443, 223334444, 223334445, 223334454,
    223334455, 223334456, 223334543, 223334544, 223334545, 223334554, 223334555,
    223334556, 223334565, 223334566, 223334567, 223343210, 223343211, 223343212,
    223343221, 223343222, 223343223, 223343232, 223343233, 223343234, 223343321,
    223343322, 223343323, 223343332, 223343333, 223343334, 223343343, 223343344,
    223343345, 223343432, 223343433, 223343434, 223343443, 223343444, 223343445,
    223343454, 223343455, 223343456, 223344321, 223344322, 223344323, 223344332,
    223344333, 223344334, 223344343, 223344344, 223344345, 223344432, 223344433,
    223344434, 223344443, 223344444, 223344445, 223344454, 223344455, 223344456,
    223344543, 223344544, 223344545, 223344554, 223344555, 223344556, 223344565,
    223344566, 223344567, 223345432, 223345433, 223345434, 223345443, 223345444,
    223345445, 223345454, 223345455, 223345456, 223345543, 223345544, 223345545,
    223345554, 223345555, 223345556, 223345565, 223345566, 223345567, 223345654,
    223345655, 223345656, 223345665, 223345666, 223345667, 223345676, 223345677,
    223345678, 223432100, 223432101, 223432110, 223432111, 223432112, 223432121,
    223432122, 223432123, 223432210, 223432211, 223432212, 223432221, 223432222,
    223432223, 223432232, 223432233, 223432234, 223432321, 223432322, 223432323,
    223432332, 223432333, 223432334, 223432343, 223432344, 223432345, 223433210,
    223433211, 223433212, 223433221, 223433222, 223433223, 223433232, 223433233,
    223433234, 223433321, 223433322, 223433323, 223433332, 223433333, 223433334,
    223433343, 223433344, 223433345, 223433432, 223433433, 223433434, 223433443,
    223433444, 223433445, 223433454, 223433455, 223433456, 223434321, 223434322,
    223434323, 223434332, 223434333, 223434334, 223434343, 223434344, 223434345,
    223434432, 223434433, 223434434, 223434443, 223434444, 223434445, 223434454,
    223434455, 223434456, 223434543, 223434544, 223434545, 223434554, 223434555,
    223434556, 223434565, 223434566, 223434567, 223443210, 223443211, 223443212,
    223443221, 223443222, 223443223, 223443232, 223443233, 223443234, 223443321,
    223443322, 223443323, 223443332, 223443333, 223443334, 223443343, 223443344,
    223443345, 223443432, 223443433, 223443434, 223443443, 223443444, 223443445,
    223443454, 223443455, 223443456, 223444321, 223444322, 223444323, 223444332,
    223444333, 223444334, 223444343, 223444344, 223444345, 223444432, 223444433,
    223444434, 223444443, 223444444, 223444445, 223444454, 223444455, 223444456,
    223444543, 223444544, 223444545, 223444554, 223444555, 223444556, 223444565,
    223444566, 223444567, 223445432, 223445433, 223445434, 223445443, 223445444,
    223445445, 223445454, 223445455, 223445456, 223445543, 223445544, 223445545,
    223445554, 223445555, 223445556, 223445565, 223445566, 223445567, 223445654,
    223445655, 223445656, 223445665, 223445666, 223445667, 223445676, 223445677,
    223445678, 223454321, 223454322, 223454323, 223454332, 223454333, 223454334,
    223454343, 223454344, 223454345, 223454432, 223454433, 223454434, 223454443,
    223454444, 223454445, 223454454, 223454455, 223454456, 223454543, 223454544,
    223454545, 223454554, 223454555, 223454556, 223454565, 223454566, 223454567,
    223455432, 223455433, 223455434, 223455443, 223455444, 223455445, 223455454,
    223455455, 223455456, 223455543, 223455544, 223455545, 223455554, 223455555,
    223455556, 223455565, 223455566, 223455567, 223455654, 223455655, 223455656,
    223455665, 223455666, 223455667, 223455676, 223455677, 223455678, 223456543,
    223456544, 223456545, 223456554, 223456555, 223456556, 223456565, 223456566,
    223456567, 223456654, 223456655, 223456656, 223456665, 223456666, 223456667,
    223456676, 223456677, 223456678, 223456765, 223456766, 223456767, 223456776,
    223456777, 223456778, 223456787, 223456788, 223456789, 232100000, 232100001,
    232100010, 232100011, 232100012, 232100100, 232100101, 232100110, 232100111,
    232100112, 232100121, 232100122, 232100123, 232101000, 232101001, 232101010,
    232101011, 232101012, 232101100, 232101101, 232101110, 232101111, 232101112,
    232101121, 232101122, 232101123, 232101210, 232101211, 232101212, 232101221,
    232101222, 232101223, 232101232, 232101233, 232101234, 232110000, 232110001,
    232110010, 232110011, 232110012, 232110100, 232110101, 232110110, 232110111,
    232110112, 232110121, 232110122, 232110123, 232111000, 232111001, 232111010,
    232111011, 232111012, 232111100, 232111101, 232111110, 232111111, 232111112,
    232111121, 232111122, 232111123, 232111210, 232111211, 232111212, 232111221,
    232111222, 232111223, 232111232, 232111233, 232111234, 232112100, 232112101,
    232112110, 232112111, 232112112, 232112121, 232112122, 232112123, 232112210,
    232112211, 232112212, 232112221, 232112222, 232112223, 232112232, 232112233,
    232112234, 232112321, 232112322, 232112323, 232112332, 232112333, 232112334,
    232112343, 232112344, 232112345, 232121000, 232121001, 232121010, 232121011,
    232121012, 232121100, 232121101, 232121110, 232121111, 232121112, 232121121,
    232121122, 232121123, 232121210, 232121211, 232121212, 232121221, 232121222,
    232121223, 232121232, 232121233, 232121234, 232122100, 232122101, 232122110,
    232122111, 232122112, 232122121, 232122122, 232122123, 232122210, 232122211,
    232122212, 232122221, 232122222, 232122223, 232122232, 232122233, 232122234,
    232122321, 232122322, 232122323, 232122332, 232122333, 232122334, 232122343,
    232122344, 232122345, 232123210, 232123211, 232123212, 232123221, 232123222,
    232123223, 232123232, 232123233, 232123234, 232123321, 232123322, 232123323,
    232123332, 232123333, 232123334, 232123343, 232123344, 232123345, 232123432,
    232123433, 232123434, 232123443, 232123444, 232123445, 232123454, 232123455,
    232123456, 232210000, 232210001, 232210010, 232210011, 232210012, 232210100,
    232210101, 232210110, 232210111, 232210112, 232210121, 232210122, 232210123,
    232211000, 232211001, 232211010, 232211011, 232211012, 232211100, 232211101,
    232211110, 232211111, 232211112, 232211121, 232211122, 232211123, 232211210,
    232211211, 232211212, 232211221, 232211222, 232211223, 232211232, 232211233,
    232211234, 232212100, 232212101, 232212110, 232212111, 232212112, 232212121,
    232212122, 232212123, 232212210, 232212211, 232212212, 232212221, 232212222,
    232212223, 232212232, 232212233, 232212234, 232212321, 232212322, 232212323,
    232212332, 232212333, 232212334, 232212343, 232212344, 232212345, 232221000,
    232221001, 232221010, 232221011, 232221012, 232221100, 232221101, 232221110,
    232221111, 232221112, 232221121, 232221122, 232221123, 232221210, 232221211,
    232221212, 232221221, 232221222, 232221223, 232221232, 232221233, 232221234,
    232222100, 232222101, 232222110, 232222111, 232222112, 232222121, 232222122,
    232222123, 232222210, 232222211, 232222212, 232222221, 232222222, 232222223,
    232222232, 232222233, 232222234, 232222321, 232222322, 232222323, 232222332,
    232222333, 232222334, 232222343, 232222344, 232222345, 232223210, 232223211,
    232223212, 232223221, 232223222, 232223223, 232223232, 232223233, 232223234,
    232223321, 232223322, 232223323, 232223332, 232223333, 232223334, 232223343,
    232223344, 232223345, 232223432, 232223433, 232223434, 232223443, 232223444,
    232223445, 232223454, 232223455, 232223456, 232232100, 232232101, 232232110,
    232232111, 232232112, 232232121, 232232122, 232232123, 232232210, 232232211,
    232232212, 232232221, 232232222, 232232223, 232232232, 232232233, 232232234,
    232232321, 232232322, 232232323, 232232332, 232232333, 232232334, 232232343,
    232232344, 232232345, 232233210, 232233211, 232233212, 232233221, 232233222,
    232233223, 232233232, 232233233, 232233234, 232233321, 232233322, 232233323,
    232233332, 232233333, 232233334, 232233343, 232233344, 232233345, 232233432,
    232233433, 232233434, 232233443, 232233444, 232233445, 232233454, 232233455,
    232233456, 232234321, 232234322, 232234323, 232234332, 232234333, 232234334,
    232234343, 232234344, 232234345, 232234432, 232234433, 232234434, 232234443,
    232234444, 232234445, 232234454, 232234455, 232234456, 232234543, 232234544,
    232234545, 232234554, 232234555, 232234556, 232234565, 232234566, 232234567,
    232321000, 232321001, 232321010, 232321011, 232321012, 232321100, 232321101,
    232321110, 232321111, 232321112, 232321121, 232321122, 232321123, 232321210,
    232321211, 232321212, 232321221, 232321222, 232321223, 232321232, 232321233,
    232321234, 232322100, 232322101, 232322110, 232322111, 232322112, 232322121,
    232322122, 232322123, 232322210, 232322211, 232322212, 232322221, 232322222,
    232322223, 232322232, 232322233, 232322234, 232322321, 232322322, 232322323,
    232322332, 232322333, 232322334, 232322343, 232322344, 232322345, 232323210,
    232323211, 232323212, 232323221, 232323222, 232323223, 232323232, 232323233,
    232323234, 232323321, 232323322, 232323323, 232323332, 232323333, 232323334,
    232323343, 232323344, 232323345, 232323432, 232323433, 232323434, 232323443,
    232323444, 232323445, 232323454, 232323455, 232323456, 232332100, 232332101,
    232332110, 232332111, 232332112, 232332121, 232332122, 232332123, 232332210,
    232332211, 232332212, 232332221, 232332222, 232332223, 232332232, 232332233,
    232332234, 232332321, 232332322, 232332323, 232332332, 232332333, 232332334,
    232332343, 232332344, 232332345, 232333210, 232333211, 232333212, 232333221,
    232333222, 232333223, 232333232, 232333233, 232333234, 232333321, 232333322,
    232333323, 232333332, 232333333, 232333334, 232333343, 232333344, 232333345,
    232333432, 232333433, 232333434, 232333443, 232333444, 232333445, 232333454,
    232333455, 232333456, 232334321, 232334322, 232334323, 232334332, 232334333,
    232334334, 232334343, 232334344, 232334345, 232334432, 232334433, 232334434,
    232334443, 232334444, 232334445, 232334454, 232334455, 232334456, 232334543,
    232334544, 232334545, 232334554, 232334555, 232334556, 232334565, 232334566,
    232334567, 232343210, 232343211, 232343212, 232343221, 232343222, 232343223,
    232343232, 232343233, 232343234, 232343321, 232343322, 232343323, 232343332,
    232343333, 232343334, 232343343, 232343344, 232343345, 232343432, 232343433,
    232343434, 232343443, 232343444, 232343445, 232343454, 232343455, 232343456,
    232344321, 232344322, 232344323, 232344332, 232344333, 232344334, 232344343,
    232344344, 232344345, 232344432, 232344433, 232344434, 232344443, 232344444,
    232344445, 232344454, 232344455, 232344456, 232344543, 232344544, 232344545,
    232344554, 232344555, 232344556, 232344565, 232344566, 232344567, 232345432,
    232345433, 232345434, 232345443, 232345444, 232345445, 232345454, 232345455,
    232345456, 232345543, 232345544, 232345545, 232345554, 232345555, 232345556,
    232345565, 232345566, 232345567, 232345654, 232345655, 232345656, 232345665,
    232345666, 232345667, 232345676, 232345677, 232345678, 233210000, 233210001,
    233210010, 233210011, 233210012, 233210100, 233210101, 233210110, 233210111,
    233210112, 233210121, 233210122, 233210123, 233211000, 233211001, 233211010,
    233211011, 233211012, 233211100, 233211101, 233211110, 233211111, 233211112,
    233211121, 233211122, 233211123, 233211210, 233211211, 233211212, 233211221,
    233211222, 233211223, 233211232, 233211233, 233211234, 233212100, 233212101,
    233212110, 233212111, 233212112, 233212121, 233212122, 233212123, 233212210,
    233212211, 233212212, 233212221, 233212222, 233212223, 233212232, 233212233,
    233212234, 233212321, 233212322, 233212323, 233212332, 233212333, 233212334,
    233212343, 233212344, 233212345, 233221000, 233221001, 233221010, 233221011,
    233221012, 233221100, 233221101, 233221110, 233221111, 233221112, 233221121,
    233221122, 233221123, 233221210, 233221211, 233221212, 233221221, 233221222,
    233221223, 233221232, 233221233, 233221234, 233222100, 233222101, 233222110,
    233222111, 233222112, 233222121, 233222122, 233222123, 233222210, 233222211,
    233222212, 233222221, 233222222, 233222223, 233222232, 233222233, 233222234,
    233222321, 233222322, 233222323, 233222332, 233222333, 233222334, 233222343,
    233222344, 233222345, 233223210, 233223211, 233223212, 233223221, 233223222,
    233223223, 233223232, 233223233, 233223234, 233223321, 233223322, 233223323,
    233223332, 233223333, 233223334, 233223343, 233223344, 233223345, 233223432,
    233223433, 233223434, 233223443, 233223444, 233223445, 233223454, 233223455,
    233223456, 233232100, 233232101, 233232110, 233232111, 233232112, 233232121,
    233232122, 233232123, 233232210, 233232211, 233232212, 233232221, 233232222,
    233232223, 233232232, 233232233, 233232234, 233232321, 233232322, 233232323,
    233232332, 233232333, 233232334, 233232343, 233232344, 233232345, 233233210,
    233233211, 233233212, 233233221, 233233222, 233233223, 233233232, 233233233,
    233233234, 233233321, 233233322, 233233323, 233233332, 233233333, 233233334,
    233233343, 233233344, 233233345, 233233432, 233233433, 233233434, 233233443,
    233233444, 233233445, 233233454, 233233455, 233233456, 233234321, 233234322,
    233234323, 233234332, 233234333, 233234334, 233234343, 233234344, 233234345,
    233234432, 233234433, 233234434, 233234443, 233234444, 233234445, 233234454,
    233234455, 233234456, 233234543, 233234544, 233234545, 233234554, 233234555,
    233234556, 233234565, 233234566, 233234567, 233321000, 233321001, 233321010,
    233321011, 233321012, 233321100, 233321101, 233321110, 233321111, 233321112,
    233321121, 233321122, 233321123, 233321210, 233321211, 233321212, 233321221,
    233321222, 233321223, 233321232, 233321233, 233321234, 233322100, 233322101,
    233322110, 233322111, 233322112, 233322121, 233322122, 233322123, 233322210,
    233322211, 233322212, 233322221, 233322222, 233322223, 233322232, 233322233,
    233322234, 233322321, 233322322, 233322323, 233322332, 233322333, 233322334,
    233322343, 233322344, 233322345, 233323210, 233323211, 233323212, 233323221,
    233323222, 233323223, 233323232, 233323233, 233323234, 233323321, 233323322,
    233323323, 233323332, 233323333, 233323334, 233323343, 233323344, 233323345,
    233323432, 233323433, 233323434, 233323443, 233323444, 233323445, 233323454,
    233323455, 233323456, 233332100, 233332101, 233332110, 233332111, 233332112,
    233332121, 233332122, 233332123, 233332210, 233332211, 233332212, 233332221,
    233332222, 233332223, 233332232, 233332233, 233332234, 233332321, 233332322,
    233332323, 233332332, 233332333, 233332334, 233332343, 233332344, 233332345,
    233333210, 233333211, 233333212, 233333221, 233333222, 233333223, 233333232,
    233333233, 233333234, 233333321, 233333322, 233333323, 233333332, 233333333,
    233333334, 233333343, 233333344, 233333345, 233333432, 233333433, 233333434,
    233333443, 233333444, 233333445, 233333454, 233333455, 233333456, 233334321,
    233334322, 233334323, 233334332, 233334333, 233334334, 233334343, 233334344,
    233334345, 233334432, 233334433, 233334434, 233334443, 233334444, 233334445,
    233334454, 233334455, 233334456, 233334543, 233334544, 233334545, 233334554,
    233334555, 233334556, 233334565, 233334566, 233334567, 233343210, 233343211,
    233343212, 233343221, 233343222, 233343223, 233343232, 233343233, 233343234,
    233343321, 233343322, 233343323, 233343332, 233343333, 233343334, 233343343,
    233343344, 233343345, 233343432, 233343433, 233343434, 233343443, 233343444,
    233343445, 233343454, 233343455, 233343456, 233344321, 233344322, 233344323,
    233344332, 233344333, 233344334, 233344343, 233344344, 233344345, 233344432,
    233344433, 233344434, 233344443, 233344444, 233344445, 233344454, 233344455,
    233344456, 233344543, 233344544, 233344545, 233344554, 233344555, 233344556,
    233344565, 233344566, 233344567, 233345432, 233345433, 233345434, 233345443,
    233345444, 233345445, 233345454, 233345455, 233345456, 233345543, 233345544,
    233345545, 233345554, 233345555, 233345556, 233345565, 233345566, 233345567,
    233345654, 233345655, 233345656, 233345665, 233345666, 233345667, 233345676,
    233345677, 233345678, 233432100, 233432101, 233432110, 233432111, 233432112,
    233432121, 233432122, 233432123, 233432210, 233432211, 233432212, 233432221,
    233432222, 233432223, 233432232, 233432233, 233432234, 233432321, 233432322,
    233432323, 233432332, 233432333, 233432334, 233432343, 233432344, 233432345,
    233433210, 233433211, 233433212, 233433221, 233433222, 233433223, 233433232,
    233433233, 233433234, 233433321, 233433322, 233433323, 233433332, 233433333,
    233433334, 233433343, 233433344, 233433345, 233433432, 233433433, 233433434,
    233433443, 233433444, 233433445, 233433454, 233433455, 233433456, 233434321,
    233434322, 233434323, 233434332, 233434333, 233434334, 233434343, 233434344,
    233434345, 233434432, 233434433, 233434434, 233434443, 233434444, 233434445,
    233434454, 233434455, 233434456, 233434543, 233434544, 233434545, 233434554,
    233434555, 233434556, 233434565, 233434566, 233434567, 233443210, 233443211,
    233443212, 233443221, 233443222, 233443223, 233443232, 233443233, 233443234,
    233443321, 233443322, 233443323, 233443332, 233443333, 233443334, 233443343,
    233443344, 233443345, 233443432, 233443433, 233443434, 233443443, 233443444,
    233443445, 233443454, 233443455, 233443456, 233444321, 233444322, 233444323,
    233444332, 233444333, 233444334, 233444343, 233444344, 233444345, 233444432,
    233444433, 233444434, 233444443, 233444444, 233444445, 233444454, 233444455,
    233444456, 233444543, 233444544, 233444545, 233444554, 233444555, 233444556,
    233444565, 233444566, 233444567, 233445432, 233445433, 233445434, 233445443,
    233445444, 233445445, 233445454, 233445455, 233445456, 233445543, 233445544,
    233445545, 233445554, 233445555, 233445556, 233445565, 233445566, 233445567,
    233445654, 233445655, 233445656, 233445665, 233445666, 233445667, 233445676,
    233445677, 233445678, 233454321, 233454322, 233454323, 233454332, 233454333,
    233454334, 233454343, 233454344, 233454345, 233454432, 233454433, 233454434,
    233454443, 233454444, 233454445, 233454454, 233454455, 233454456, 233454543,
    233454544, 233454545, 233454554, 233454555, 233454556, 233454565, 233454566,
    233454567, 233455432, 233455433, 233455434, 233455443, 233455444, 233455445,
    233455454, 233455455, 233455456, 233455543, 233455544, 233455545, 233455554,
    233455555, 233455556, 233455565, 233455566, 233455567, 233455654, 233455655,
    233455656, 233455665, 233455666, 233455667, 233455676, 233455677, 233455678,
    233456543, 233456544, 233456545, 233456554, 233456555, 233456556, 233456565,
    233456566, 233456567, 233456654, 233456655, 233456656, 233456665, 233456666,
    233456667, 233456676, 233456677, 233456678, 233456765, 233456766, 233456767,
    233456776, 233456777, 233456778, 233456787, 233456788, 233456789, 234321000,
    234321001, 234321010, 234321011, 234321012, 234321100, 234321101, 234321110,
    234321111, 234321112, 234321121, 234321122, 234321123, 234321210, 234321211,
    234321212, 234321221, 234321222, 234321223, 234321232, 234321233, 234321234,
    234322100, 234322101, 234322110, 234322111, 234322112, 234322121, 234322122,
    234322123, 234322210, 234322211, 234322212, 234322221, 234322222, 234322223,
    234322232, 234322233, 234322234, 234322321, 234322322, 234322323, 234322332,
    234322333, 234322334, 234322343, 234322344, 234322345, 234323210, 234323211,
    234323212, 234323221, 234323222, 234323223, 234323232, 234323233, 234323234,
    234323321, 234323322, 234323323, 234323332, 234323333, 234323334, 234323343,
    234323344, 234323345, 234323432, 234323433, 234323434, 234323443, 234323444,
    234323445, 234323454, 234323455, 234323456, 234332100, 234332101, 234332110,
    234332111, 234332112, 234332121, 234332122, 234332123, 234332210, 234332211,
    234332212, 234332221, 234332222, 234332223, 234332232, 234332233, 234332234,
    234332321, 234332322, 234332323, 234332332, 234332333, 234332334, 234332343,
    234332344, 234332345, 234333210, 234333211, 234333212, 234333221, 234333222,
    234333223, 234333232, 234333233, 234333234, 234333321, 234333322, 234333323,
    234333332, 234333333, 234333334, 234333343, 234333344, 234333345, 234333432,
    234333433, 234333434, 234333443, 234333444, 234333445, 234333454, 234333455,
    234333456, 234334321, 234334322, 234334323, 234334332, 234334333, 234334334,
    234334343, 234334344, 234334345, 234334432, 234334433, 234334434, 234334443,
    234334444, 234334445, 234334454, 234334455, 234334456, 234334543, 234334544,
    234334545, 234334554, 234334555, 234334556, 234334565, 234334566, 234334567,
    234343210, 234343211, 234343212, 234343221, 234343222, 234343223, 234343232,
    234343233, 234343234, 234343321, 234343322, 234343323, 234343332, 234343333,
    234343334, 234343343, 234343344, 234343345, 234343432, 234343433, 234343434,
    234343443, 234343444, 234343445, 234343454, 234343455, 234343456, 234344321,
    234344322, 234344323, 234344332, 234344333, 234344334, 234344343, 234344344,
    234344345, 234344432, 234344433, 234344434, 234344443, 234344444, 234344445,
    234344454, 234344455, 234344456, 234344543, 234344544, 234344545, 234344554,
    234344555, 234344556, 234344565, 234344566, 234344567, 234345432, 234345433,
    234345434, 234345443, 234345444, 234345445, 234345454, 234345455, 234345456,
    234345543, 234345544, 234345545, 234345554, 234345555, 234345556, 234345565,
    234345566, 234345567, 234345654, 234345655, 234345656, 234345665, 234345666,
    234345667, 234345676, 234345677, 234345678, 234432100, 234432101, 234432110,
    234432111, 234432112, 234432121, 234432122, 234432123, 234432210, 234432211,
    234432212, 234432221, 234432222, 234432223, 234432232, 234432233, 234432234,
    234432321, 234432322, 234432323, 234432332, 234432333, 234432334, 234432343,
    234432344, 234432345, 234433210, 234433211, 234433212, 234433221, 234433222,
    234433223, 234433232, 234433233, 234433234, 234433321, 234433322, 234433323,
    234433332, 234433333, 234433334, 234433343, 234433344, 234433345, 234433432,
    234433433, 234433434, 234433443, 234433444, 234433445, 234433454, 234433455,
    234433456, 234434321, 234434322, 234434323, 234434332, 234434333, 234434334,
    234434343, 234434344, 234434345, 234434432, 234434433, 234434434, 234434443,
    234434444, 234434445, 234434454, 234434455, 234434456, 234434543, 234434544,
    234434545, 234434554, 234434555, 234434556, 234434565, 234434566, 234434567,
    234443210, 234443211, 234443212, 234443221, 234443222, 234443223, 234443232,
    234443233, 234443234, 234443321, 234443322, 234443323, 234443332, 234443333,
    234443334, 234443343, 234443344, 234443345, 234443432, 234443433, 234443434,
    234443443, 234443444, 234443445, 234443454, 234443455, 234443456, 234444321,
    234444322, 234444323, 234444332, 234444333, 234444334, 234444343, 234444344,
    234444345, 234444432, 234444433, 234444434, 234444443, 234444444, 234444445,
    234444454, 234444455, 234444456, 234444543, 234444544, 234444545, 234444554,
    234444555, 234444556, 234444565, 234444566, 234444567, 234445432, 234445433,
    234445434, 234445443, 234445444, 234445445, 234445454, 234445455, 234445456,
    234445543, 234445544, 234445545, 234445554, 234445555, 234445556, 234445565,
    234445566, 234445567, 234445654, 234445655, 234445656, 234445665, 234445666,
    234445667, 234445676, 234445677, 234445678, 234454321, 234454322, 234454323,
    234454332, 234454333, 234454334, 234454343, 234454344, 234454345, 234454432,
    234454433, 234454434, 234454443, 234454444, 234454445, 234454454, 234454455,
    234454456, 234454543, 234454544, 234454545, 234454554, 234454555, 234454556,
    234454565, 234454566, 234454567, 234455432, 234455433, 234455434, 234455443,
    234455444, 234455445, 234455454, 234455455, 234455456, 234455543, 234455544,
    234455545, 234455554, 234455555, 234455556, 234455565, 234455566, 234455567,
    234455654, 234455655, 234455656, 234455665, 234455666, 234455667, 234455676,
    234455677, 234455678, 234456543, 234456544, 234456545, 234456554, 234456555,
    234456556, 234456565, 234456566, 234456567, 234456654, 234456655, 234456656,
    234456665, 234456666, 234456667, 234456676, 234456677, 234456678, 234456765,
    234456766, 234456767, 234456776, 234456777, 234456778, 234456787, 234456788,
    234456789, 234543210, 234543211, 234543212, 234543221, 234543222, 234543223,
    234543232, 234543233, 234543234, 234543321, 234543322, 234543323, 234543332,
    234543333, 234543334, 234543343, 234543344, 234543345, 234543432, 234543433,
    234543434, 234543443, 234543444, 234543445, 234543454, 234543455, 234543456,
    234544321, 234544322, 234544323, 234544332, 234544333, 234544334, 234544343,
    234544344, 234544345, 234544432, 234544433, 234544434, 234544443, 234544444,
    234544445, 234544454, 234544455, 234544456, 234544543, 234544544, 234544545,
    234544554, 234544555, 234544556, 234544565, 234544566, 234544567, 234545432,
    234545433, 234545434, 234545443, 234545444, 234545445, 234545454, 234545455,
    234545456, 234545543, 234545544, 234545545, 234545554, 234545555, 234545556,
    234545565, 234545566, 234545567, 234545654, 234545655, 234545656, 234545665,
    234545666, 234545667, 234545676, 234545677, 234545678, 234554321, 234554322,
    234554323, 234554332, 234554333, 234554334, 234554343, 234554344, 234554345,
    234554432, 234554433, 234554434, 234554443, 234554444, 234554445, 234554454,
    234554455, 234554456, 234554543, 234554544, 234554545, 234554554, 234554555,
    234554556, 234554565, 234554566, 234554567, 234555432, 234555433, 234555434,
    234555443, 234555444, 234555445, 234555454, 234555455, 234555456, 234555543,
    234555544, 234555545, 234555554, 234555555, 234555556, 234555565, 234555566,
    234555567, 234555654, 234555655, 234555656, 234555665, 234555666, 234555667,
    234555676, 234555677, 234555678, 234556543, 234556544, 234556545, 234556554,
    234556555, 234556556, 234556565, 234556566, 234556567, 234556654, 234556655,
    234556656, 234556665, 234556666, 234556667, 234556676, 234556677, 234556678,
    234556765, 234556766, 234556767, 234556776, 234556777, 234556778, 234556787,
    234556788, 234556789, 234565432, 234565433, 234565434, 234565443, 234565444,
    234565445, 234565454, 234565455, 234565456, 234565543, 234565544, 234565545,
    234565554, 234565555, 234565556, 234565565, 234565566, 234565567, 234565654,
    234565655, 234565656, 234565665, 234565666, 234565667, 234565676, 234565677,
    234565678, 234566543, 234566544, 234566545, 234566554, 234566555, 234566556,
    234566565, 234566566, 234566567, 234566654, 234566655, 234566656, 234566665,
    234566666, 234566667, 234566676, 234566677, 234566678, 234566765, 234566766,
    234566767, 234566776, 234566777, 234566778, 234566787, 234566788, 234566789,
    234567654, 234567655, 234567656, 234567665, 234567666, 234567667, 234567676,
    234567677, 234567678, 234567765, 234567766, 234567767, 234567776, 234567777,
    234567778, 234567787, 234567788, 234567789, 234567876, 234567877, 234567878,
    234567887, 234567888, 234567889, 234567898, 234567899,
};
void solve() {
  int n;
  cin >> n;
  cout << a[n - 1];
}
int main() {
  ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  // caset{
  solve();
  //}
  return 0;
}