#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int,int>;

long long int aa(int n);

int main() {
  int k, i;

  cin >> k;
  i = (k-1) / 4 * 4;

  long long int j = aa((k-1)/4);

  while (i < k-1) {
    j++;
    int flag = 1;
    long long int j0 = j;
    while (j0/10 > 0) {
      if (abs(j0%10 - (j0/10)%10) > 1) {
        flag = 0;
        break;
      }
      j0 = j0 / 10;
    }
    if (flag) {
      i++;
    }
  }

  cout << j << endl;
}

long long int aa(int n) {
  vector<long long int> s = {
1,5,9,21,33,45,65,77,89,101,121,211,223,321,333,345,443,455,545,565,655,667,765,777,789,887,899,998,1010,1101,1121,1211,1223,2100,2112,2210,2222,2234,2332,2344,3212,3232,3322,3334,3432,3444,3456,4332,4344,4434,4454,4544,4556,5432,5444,5456,5554,5566,5656,5676,6544,6556,6654,6666,6678,6776,6788,7656,7676,7766,7778,7876,7888,8765,8777,8789,8887,8899,8998,9878,9898,9989,10001,10100,10112,11000,11012,11111,11123,11221,11233,12110,12122,12212,12232,12322,12334,21000,21012,21111,21123,21221,21233,22110,22122,22212,22232,22322,22334,23210,23222,23234,23332,23344,23434,23454,32101,32121,32211,32223,32321,32333,32345,33221,33233,33323,33343,33433,33445,34321,34333,34345,34443,34455,34545,34565,43211,43223,43321,43333,43345,43443,43455,44323,44343,44433,44445,44543,44555,44567,45443,45455,45545,45565,45655,45667,54321,54333,54345,54443,54455,54545,54565,55433,55445,55543,55555,55567,55665,55677,56545,56565,56655,56667,56765,56777,56789,65443,65455,65545,65565,65655,65667,66543,66555,66567,66665,66677,66767,66787,67655,67667,67765,67777,67789,67887,67899,76554,76566,76656,76676,76766,76778,77654,77666,77678,77776,77788,77878,77898,78767,78787,78877,78889,78988,87654,87666,87678,87776,87788,87878,87898,88767,88787,88877,88889,88988,89876,89888,89987,89999,98776,98788,98878,98898,98989,99877,99889,99988,100000,100012,100111,100123,101011,101110,101122,101212,101232,110001,110100,110112,111000,111012,111111,111123,111221,111233,112110,112122,112212,112232,112322,112334,121000,121012,121111,121123,121221,121233,122110,122122,122212,122232,122322,122334,123210,123222,123234,123332,123344,123434,123454,210001,210100,210112,211000,211012,211111,211123,211221,211233,212110,212122,212212,212232,212322,212334,221000,221012,221111,221123,221221,221233,222110,222122,222212,222232,222322,222334,223210,223222,223234,223332,223344,223434,223454,232101,232121,232211,232223,232321,232333,232345,233221,233233,233323,233343,233433,233445,234321,234333,234345,234443,234455,234545,234565,321001,321100,321112,321210,321222,321234,322111,322123,322221,322233,322323,322343,323211,323223,323321,323333,323345,323443,323455,332110,332122,332212,332232,332322,332334,333210,333222,333234,333332,333344,333434,333454,334322,334334,334432,334444,334456,334554,334566,343212,343232,343322,343334,343432,343444,343456,344332,344344,344434,344454,344544,344556,345432,345444,345456,345554,345566,345656,345676,432101,432121,432211,432223,432321,432333,432345,433221,433233,433323,433343,433433,433445,434321,434333,434345,434443,434455,434545,434565,443211,443223,443321,443333,443345,443443,443455,444323,444343,444433,444445,444543,444555,444567,445443,445455,445545,445565,445655,445667,454321,454333,454345,454443,454455,454545,454565,455433,455445,455543,455555,455567,455665,455677,456545,456565,456655,456667,456765,456777,456789,543221,543233,543323,543343,543433,543445,544321,544333,544345,544443,544455,544545,544565,545433,545445,545543,545555,545567,545665,545677,554323,554343,554433,554445,554543,554555,554567,555443,555455,555545,555565,555655,555667,556543,556555,556567,556665,556677,556767,556787,565433,565445,565543,565555,565567,565665,565677,566545,566565,566655,566667,566765,566777,566789,567665,567677,567767,567787,567877,567889,654322,654334,654432,654444,654456,654554,654566,655434,655454,655544,655556,655654,655666,655678,656554,656566,656656,656676,656766,656778,665432,665444,665456,665554,665566,665656,665676,666544,666556,666654,666666,666678,666776,666788,667656,667676,667766,667778,667876,667888,676543,676555,676567,676665,676677,676767,676787,677655,677667,677765,677777,677789,677887,677899,678776,678788,678878,678898,678989,765433,765445,765543,765555,765567,765665,765677,766545,766565,766655,766667,766765,766777,766789,767665,767677,767767,767787,767877,767889,776544,776556,776654,776666,776678,776776,776788,777656,777676,777766,777778,777876,777888,778765,778777,778789,778887,778899,778998,787656,787676,787766,787778,787876,787888,788765,788777,788789,788887,788899,788998,789878,789898,789989,876544,876556,876654,876666,876678,876776,876788,877656,877676,877766,877778,877876,877888,878765,878777,878789,878887,878899,878998,887656,887676,887766,887778,887876,887888,888765,888777,888789,888887,888899,888998,889878,889898,889989,898766,898778,898876,898888,898987,898999,899887,899899,899998,987656,987676,987766,987778,987876,987888,988765,988777,988789,988887,988899,988998,989878,989898,989989,998766,998778,998876,998888,998987,998999,999887,999899,999998,1000010,1000101,1000121,1001001,1001100,1001112,1001210,1001222,1001234,1010011,1010110,1010122,1011010,1011101,1011121,1011211,1011223,1012100,1012112,1012210,1012222,1012234,1012332,1012344,1100010,1100101,1100121,1101001,1101100,1101112,1101210,1101222,1101234,1110011,1110110,1110122,1111010,1111101,1111121,1111211,1111223,1112100,1112112,1112210,1112222,1112234,1112332,1112344,1121010,1121101,1121121,1121211,1121223,1122100,1122112,1122210,1122222,1122234,1122332,1122344,1123212,1123232,1123322,1123334,1123432,1123444,1123456,1210011,1210110,1210122,1211010,1211101,1211121,1211211,1211223,1212100,1212112,1212210,1212222,1212234,1212332,1212344,1221010,1221101,1221121,1221211,1221223,1222100,1222112,1222210,1222222,1222234,1222332,1222344,1223212,1223232,1223322,1223334,1223432,1223444,1223456,1232111,1232123,1232221,1232233,1232323,1232343,1233211,1233223,1233321,1233333,1233345,1233443,1233455,1234323,1234343,1234433,1234445,1234543,1234555,1234567,2100011,2100110,2100122,2101010,2101101,2101121,2101211,2101223,2110000,2110012,2110111,2110123,2111011,2111110,2111122,2111212,2111232,2112101,2112121,2112211,2112223,2112321,2112333,2112345,2121011,2121110,2121122,2121212,2121232,2122101,2122121,2122211,2122223,2122321,2122333,2122345,2123221,2123233,2123323,2123343,2123433,2123445,2210000,2210012,2210111,2210123,2211011,2211110,2211122,2211212,2211232,2212101,2212121,2212211,2212223,2212321,2212333,2212345,2221011,2221110,2221122,2221212,2221232,2222101,2222121,2222211,2222223,2222321,2222333,2222345,2223221,2223233,2223323,2223343,2223433,2223445,2232100,2232112,2232210,2232222,2232234,2232332,2232344,2233212,2233232,2233322,2233334,2233432,2233444,2233456,2234332,2234344,2234434,2234454,2234544,2234556,2321000,2321012,2321111,2321123,2321221,2321233,2322110,2322122,2322212,2322232,2322322,2322334,2323210,2323222,2323234,2323332,2323344,2323434,2323454,2332101,2332121,2332211,2332223,2332321,2332333,2332345,2333221,2333233,2333323,2333343,2333433,2333445,2334321,2334333,2334345,2334443,2334455,2334545,2334565,2343211,2343223,2343321,2343333,2343345,2343443,2343455,2344323,2344343,2344433,2344445,2344543,2344555,2344567,2345443,2345455,2345545,2345565,2345655,2345667,3210000,3210012,3210111,3210123,3211011,3211110,3211122,3211212,3211232,3212101,3212121,3212211,3212223,3212321,3212333,3212345,3221011,3221110,3221122,3221212,3221232,3222101,3222121,3222211,3222223,3222321,3222333,3222345,3223221,3223233,3223323,3223343,3223433,3223445,3232100,3232112,3232210,3232222,3232234,3232332,3232344,3233212,3233232,3233322,3233334,3233432,3233444,3233456,3234332,3234344,3234434,3234454,3234544,3234556,3321000,3321012,3321111,3321123,3321221,3321233,3322110,3322122,3322212,3322232,3322322,3322334,3323210,3323222,3323234,3323332,3323344,3323434,3323454,3332101,3332121,3332211,3332223,3332321,3332333,3332345,3333221,3333233,3333323,3333343,3333433,3333445,3334321,3334333,3334345,3334443,3334455,3334545,3334565,3343211,3343223,3343321,3343333,3343345,3343443,3343455,3344323,3344343,3344433,3344445,3344543,3344555,3344567,3345443,3345455,3345545,3345565,3345655,3345667,3432100,3432112,3432210,3432222,3432234,3432332,3432344,3433212,3433232,3433322,3433334,3433432,3433444,3433456,3434332,3434344,3434434,3434454,3434544,3434556,3443210,3443222,3443234,3443332,3443344,3443434,3443454,3444322,3444334,3444432,3444444,3444456,3444554,3444566,3445434,3445454,3445544,3445556,3445654,3445666,3445678,3454332,3454344,3454434,3454454,3454544,3454556,3455432,3455444,3455456,3455554,3455566,3455656,3455676,3456544,3456556,3456654,3456666,3456678,3456776,3456788,4321010,4321101,4321121,4321211,4321223,4322100,4322112,4322210,4322222,4322234,4322332,4322344,4323212,4323232,4323322,4323334,4323432,4323444,4323456,4332111,4332123,4332221,4332233,4332323,4332343,4333211,4333223,4333321,4333333,4333345,4333443,4333455,4334323,4334343,4334433,4334445,4334543,4334555,4334567,4343221,4343233,4343323,4343343,4343433,4343445,4344321,4344333,4344345,4344443,4344455,4344545,4344565,4345433,4345445,4345543,4345555,4345567,4345665,4345677,4432110,4432122,4432212,4432232,4432322,4432334,4433210,4433222,4433234,4433332,4433344,4433434,4433454,4434322,4434334,4434432,4434444,4434456,4434554,4434566,4443212,4443232,4443322,4443334,4443432,4443444,4443456,4444332,4444344,4444434,4444454,4444544,4444556,4445432,4445444,4445456,4445554,4445566,4445656,4445676,4454322,4454334,4454432,4454444,4454456,4454554,4454566,4455434,4455454,4455544,4455556,4455654,4455666,4455678,4456554,4456566,4456656,4456676,4456766,4456778,4543210,4543222,4543234,4543332,4543344,4543434,4543454,4544322,4544334,4544432,4544444,4544456,4544554,4544566,4545434,4545454,4545544,4545556,4545654,4545666,4545678,4554332,4554344,4554434,4554454,4554544,4554556,4555432,4555444,4555456,4555554,4555566,4555656,4555676,4556544,4556556,4556654,4556666,4556678,4556776,4556788,4565434,4565454,4565544,4565556,4565654,4565666,4565678,4566554,4566566,4566656,4566676,4566766,4566778,4567654,4567666,4567678,4567776,4567788,4567878,4567898,5432110,5432122,5432212,5432232,5432322,5432334,5433210,5433222,5433234,5433332,5433344,5433434,5433454,5434322,5434334,5434432,5434444,5434456,5434554,5434566,5443212,5443232,5443322,5443334,5443432,5443444,5443456,5444332,5444344,5444434,5444454,5444544,5444556,5445432,5445444,5445456,5445554,5445566,5445656,5445676,5454322,5454334,5454432,5454444,5454456,5454554,5454566,5455434,5455454,5455544,5455556,5455654,5455666,5455678,5456554,5456566,5456656,5456676,5456766,5456778,5543210,5543222,5543234,5543332,5543344,5543434,5543454,5544322,5544334,5544432,5544444,5544456,5544554,5544566,5545434,5545454,5545544,5545556,5545654,5545666,5545678,5554332,5554344,5554434,5554454,5554544,5554556,5555432,5555444,5555456,5555554,5555566,5555656,5555676,5556544,5556556,5556654,5556666,5556678,5556776,5556788,5565434,5565454,5565544,5565556,5565654,5565666,5565678,5566554,5566566,5566656,5566676,5566766,5566778,5567654,5567666,5567678,5567776,5567788,5567878,5567898,5654323,5654343,5654433,5654445,5654543,5654555,5654567,5655443,5655455,5655545,5655565,5655655,5655667,5656543,5656555,5656567,5656665,5656677,5656767,5656787,5665433,5665445,5665543,5665555,5665567,5665665,5665677,5666545,5666565,5666655,5666667,5666765,5666777,5666789,5667665,5667677,5667767,5667787,5667877,5667889,5676544,5676556,5676654,5676666,5676678,5676776,5676788,5677656,5677676,5677766,5677778,5677876,5677888,5678765,5678777,5678789,5678887,5678899,5678998,6543212,6543232,6543322,6543334,6543432,6543444,6543456,6544332,6544344,6544434,6544454,6544544,6544556,6545432,6545444,6545456,6545554,6545566,6545656,6545676,6554322,6554334,6554432,6554444,6554456,6554554,6554566,6555434,6555454,6555544,6555556,6555654,6555666,6555678,6556554,6556566,6556656,6556676,6556766,6556778,6565432,6565444,6565456,6565554,6565566,6565656,6565676,6566544,6566556,6566654,6566666,6566678,6566776,6566788,6567656,6567676,6567766,6567778,6567876,6567888,6654321,6654333,6654345,6654443,6654455,6654545,6654565,6655433,6655445,6655543,6655555,6655567,6655665,6655677,6656545,6656565,6656655,6656667,6656765,6656777,6656789,6665443,6665455,6665545,6665565,6665655,6665667,6666543,6666555,6666567,6666665,6666677,6666767,6666787,6667655,6667667,6667765,6667777,6667789,6667887,6667899,6676554,6676566,6676656,6676676,6676766,6676778,6677654,6677666,6677678,6677776,6677788,6677878,6677898,6678767,6678787,6678877,6678889,6678988,6765432,6765444,6765456,6765554,6765566,6765656,6765676,6766544,6766556,6766654,6766666,6766678,6766776,6766788,6767656,6767676,6767766,6767778,6767876,6767888,6776543,6776555,6776567,6776665,6776677,6776767,6776787,6777655,6777667,6777765,6777777,6777789,6777887,6777899,6778776,6778788,6778878,6778898,6778989,6787655,6787667,6787765,6787777,6787789,6787887,6787899,6788776,6788788,6788878,6788898,6788989,6789877,6789889,6789988,7654321,7654333,7654345,7654443,7654455,7654545,7654565,7655433,7655445,7655543,7655555,7655567,7655665,7655677,7656545,7656565,7656655,7656667,7656765,7656777,7656789,7665443,7665455,7665545,7665565,7665655,7665667,7666543,7666555,7666567,7666665,7666677,7666767,7666787,7667655,7667667,7667765,7667777,7667789,7667887,7667899,7676554,7676566,7676656,7676676,7676766,7676778,7677654,7677666,7677678,7677776,7677788,7677878,7677898,7678767,7678787,7678877,7678889,7678988,7765432,7765444,7765456,7765554,7765566,7765656,7765676,7766544,7766556,7766654,7766666,7766678,7766776,7766788,7767656,7767676,7767766,7767778,7767876,7767888,7776543,7776555,7776567,7776665,7776677,7776767,7776787,7777655,7777667,7777765,7777777,7777789,7777887,7777899,7778776,7778788,7778878,7778898,7778989,7787655,7787667,7787765,7787777,7787789,7787887,7787899,7788776,7788788,7788878,7788898,7788989,7789877,7789889,7789988,7876543,7876555,7876567,7876665,7876677,7876767,7876787,7877655,7877667,7877765,7877777,7877789,7877887,7877899,7878776,7878788,7878878,7878898,7878989,7887655,7887667,7887765,7887777,7887789,7887887,7887899,7888776,7888788,7888878,7888898,7888989,7889877,7889889,7889988,7898765,7898777,7898789,7898887,7898899,7898998,7899878,7899898,7899989,8765433,8765445,8765543,8765555,8765567,8765665,8765677,8766545,8766565,8766655,8766667,8766765,8766777,8766789,8767665,8767677,8767767,8767787,8767877,8767889,8776544,8776556,8776654,8776666,8776678,8776776,8776788,8777656,8777676,8777766,8777778,8777876,8777888,8778765,8778777,8778789,8778887,8778899,8778998,8787656,8787676,8787766,8787778,8787876,8787888,8788765,8788777,8788789,8788887,8788899,8788998,8789878,8789898,8789989,8876544,8876556,8876654,8876666,8876678,8876776,8876788,8877656,8877676,8877766,8877778,8877876,8877888,8878765,8878777,8878789,8878887,8878899,8878998,8887656,8887676,8887766,8887778,8887876,8887888,8888765,8888777,8888789,8888887,8888899,8888998,8889878,8889898,8889989,8898766,8898778,8898876,8898888,8898987,8898999,8899887,8899899,8899998,8987656,8987676,8987766,8987778,8987876,8987888,8988765,8988777,8988789,8988887,8988899,8988998,8989878,8989898,8989989,8998766,8998778,8998876,8998888,8998987,8998999,8999887,8999899,8999998,9876545,9876565,9876655,9876667,9876765,9876777,9876789,9877665,9877677,9877767,9877787,9877877,9877889,9878766,9878778,9878876,9878888,9878987,9878999,9887665,9887677,9887767,9887787,9887877,9887889,9888766,9888778,9888876,9888888,9888987,9888999,9889887,9889899,9889998,9898767,9898787,9898877,9898889,9898988,9899876,9899888,9899987,9899999,9987665,9987677,9987767,9987787,9987877,9987889,9988766,9988778,9988876,9988888,9988987,9988999,9989887,9989899,9989998,9998767,9998787,9998877,9998889,9998988,9999876,9999888,9999987,9999999,10000011,10000110,10000122,10001010,10001101,10001121,10001211,10001223,10010000,10010012,10010111,10010123,10011011,10011110,10011122,10011212,10011232,10012101,10012121,10012211,10012223,10012321,10012333,10012345,10100011,10100110,10100122,10101010,10101101,10101121,10101211,10101223,10110000,10110012,10110111,10110123,10111011,10111110,10111122,10111212,10111232,10112101,10112121,10112211,10112223,10112321,10112333,10112345,10121011,10121110,10121122,10121212,10121232,10122101,10122121,10122211,10122223,10122321,10122333,10122345,10123221,10123233,10123323,10123343,10123433,10123445,11000000,11000012,11000111,11000123,11001011,11001110,11001122,11001212,11001232,11010001,11010100,11010112,11011000,11011012,11011111,11011123,11011221,11011233,11012110,11012122,11012212,11012232,11012322,11012334,11100000,11100012,11100111,11100123,11101011,11101110,11101122,11101212,11101232,11110001,11110100,11110112,11111000,11111012,11111111,11111123,11111221,11111233,11112110,11112122,11112212,11112232,11112322,11112334,11121000,11121012,11121111,11121123,11121221,11121233,11122110,11122122,11122212,11122232,11122322,11122334,11123210,11123222,11123234,11123332,11123344,11123434,11123454,11210001,11210100,11210112,11211000,11211012,11211111,11211123,11211221,11211233,11212110,11212122,11212212,11212232,11212322,11212334,11221000,11221012,11221111,11221123,11221221,11221233,11222110,11222122,11222212,11222232,11222322,11222334,11223210,11223222,11223234,11223332,11223344,11223434,11223454,11232101,11232121,11232211,11232223,11232321,11232333,11232345,11233221,11233233,11233323,11233343,11233433,11233445,11234321,11234333,11234345,11234443,11234455,11234545,11234565,12100001,12100100,12100112,12101000,12101012,12101111,12101123,12101221,12101233,12110010,12110101,12110121,12111001,12111100,12111112,12111210,12111222,12111234,12112111,12112123,12112221,12112233,12112323,12112343,12121001,12121100,12121112,12121210,12121222,12121234,12122111,12122123,12122221,12122233,12122323,12122343,12123211,12123223,12123321,12123333,12123345,12123443,12123455,12210010,12210101,12210121,12211001,12211100,12211112,12211210,12211222,12211234,12212111,12212123,12212221,12212233,12212323,12212343,12221001,12221100,12221112,12221210,12221222,12221234,12222111,12222123,12222221,12222233,12222323,12222343,12223211,12223223,12223321,12223333,12223345,12223443,12223455,12232110,12232122,12232212,12232232,12232322,12232334,12233210,12233222,12233234,12233332,12233344,12233434,12233454,12234322,12234334,12234432,12234444,12234456,12234554,12234566,12321010,12321101,12321121,12321211,12321223,12322100,12322112,12322210,12322222,12322234,12322332,12322344,12323212,12323232,12323322,12323334,12323432,12323444,12323456,12332111,12332123,12332221,12332233,12332323,12332343,12333211,12333223,12333321,12333333,12333345,12333443,12333455,12334323,12334343,12334433,12334445,12334543,12334555,12334567,12343221,12343233,12343323,12343343,12343433,12343445,12344321,12344333,12344345,12344443,12344455,12344545,12344565,12345433,12345445,12345543,12345555,12345567,12345665,12345677,21000010,21000101,21000121,21001001,21001100,21001112,21001210,21001222,21001234,21010011,21010110,21010122,21011010,21011101,21011121,21011211,21011223,21012100,21012112,21012210,21012222,21012234,21012332,21012344,21100010,21100101,21100121,21101001,21101100,21101112,21101210,21101222,21101234,21110011,21110110,21110122,21111010,21111101,21111121,21111211,21111223,21112100,21112112,21112210,21112222,21112234,21112332,21112344,21121010,21121101,21121121,21121211,21121223,21122100,21122112,21122210,21122222,21122234,21122332,21122344,21123212,21123232,21123322,21123334,21123432,21123444,21123456,21210011,21210110,21210122,21211010,21211101,21211121,21211211,21211223,21212100,21212112,21212210,21212222,21212234,21212332,21212344,21221010,21221101,21221121,21221211,21221223,21222100,21222112,21222210,21222222,21222234,21222332,21222344,21223212,21223232,21223322,21223334,21223432,21223444,21223456,21232111,21232123,21232221,21232233,21232323,21232343,21233211,21233223,21233321,21233333,21233345,21233443,21233455,21234323,21234343,21234433,21234445,21234543,21234555,21234567,22100011,22100110,22100122,22101010,22101101,22101121,22101211,22101223,22110000,22110012,22110111,22110123,22111011,22111110,22111122,22111212,22111232,22112101,22112121,22112211,22112223,22112321,22112333,22112345,22121011,22121110,22121122,22121212,22121232,22122101,22122121,22122211,22122223,22122321,22122333,22122345,22123221,22123233,22123323,22123343,22123433,22123445,22210000,22210012,22210111,22210123,22211011,22211110,22211122,22211212,22211232,22212101,22212121,22212211,22212223,22212321,22212333,22212345,22221011,22221110,22221122,22221212,22221232,22222101,22222121,22222211,22222223,22222321,22222333,22222345,22223221,22223233,22223323,22223343,22223433,22223445,22232100,22232112,22232210,22232222,22232234,22232332,22232344,22233212,22233232,22233322,22233334,22233432,22233444,22233456,22234332,22234344,22234434,22234454,22234544,22234556,22321000,22321012,22321111,22321123,22321221,22321233,22322110,22322122,22322212,22322232,22322322,22322334,22323210,22323222,22323234,22323332,22323344,22323434,22323454,22332101,22332121,22332211,22332223,22332321,22332333,22332345,22333221,22333233,22333323,22333343,22333433,22333445,22334321,22334333,22334345,22334443,22334455,22334545,22334565,22343211,22343223,22343321,22343333,22343345,22343443,22343455,22344323,22344343,22344433,22344445,22344543,22344555,22344567,22345443,22345455,22345545,22345565,22345655,22345667,23210000,23210012,23210111,23210123,23211011,23211110,23211122,23211212,23211232,23212101,23212121,23212211,23212223,23212321,23212333,23212345,23221011,23221110,23221122,23221212,23221232,23222101,23222121,23222211,23222223,23222321,23222333,23222345,23223221,23223233,23223323,23223343,23223433,23223445,23232100,23232112,23232210,23232222,23232234,23232332,23232344,23233212,23233232,23233322,23233334,23233432,23233444,23233456,23234332,23234344,23234434,23234454,23234544,23234556,23321000,23321012,23321111,23321123,23321221,23321233,23322110,23322122,23322212,23322232,23322322,23322334,23323210,23323222,23323234,23323332,23323344,23323434,23323454,23332101,23332121,23332211,23332223,23332321,23332333,23332345,23333221,23333233,23333323,23333343,23333433,23333445,23334321,23334333,23334345,23334443,23334455,23334545,23334565,23343211,23343223,23343321,23343333,23343345,23343443,23343455,23344323,23344343,23344433,23344445,23344543,23344555,23344567,23345443,23345455,23345545,23345565,23345655,23345667,23432100,23432112,23432210,23432222,23432234,23432332,23432344,23433212,23433232,23433322,23433334,23433432,23433444,23433456,23434332,23434344,23434434,23434454,23434544,23434556,23443210,23443222,23443234,23443332,23443344,23443434,23443454,23444322,23444334,23444432,23444444,23444456,23444554,23444566,23445434,23445454,23445544,23445556,23445654,23445666,23445678,23454332,23454344,23454434,23454454,23454544,23454556,23455432,23455444,23455456,23455554,23455566,23455656,23455676,23456544,23456556,23456654,23456666,23456678,23456776,23456788,32100010,32100101,32100121,32101001,32101100,32101112,32101210,32101222,32101234,32110011,32110110,32110122,32111010,32111101,32111121,32111211,32111223,32112100,32112112,32112210,32112222,32112234,32112332,32112344,32121010,32121101,32121121,32121211,32121223,32122100,32122112,32122210,32122222,32122234,32122332,32122344,32123212,32123232,32123322,32123334,32123432,32123444,32123456,32210011,32210110,32210122,32211010,32211101,32211121,32211211,32211223,32212100,32212112,32212210,32212222,32212234,32212332,32212344,32221010,32221101,32221121,32221211,32221223,32222100,32222112,32222210,32222222,32222234,32222332,32222344,32223212,32223232,32223322,32223334,32223432,32223444,32223456,32232111,32232123,32232221,32232233,32232323,32232343,32233211,32233223,32233321,32233333,32233345,32233443,32233455,32234323,32234343,32234433,32234445,32234543,32234555,32234567,32321011,32321110,32321122,32321212,32321232,32322101,32322121,32322211,32322223,32322321,32322333,32322345,32323221,32323233,32323323,32323343,32323433,32323445,32332100,32332112,32332210,32332222,32332234,32332332,32332344,32333212,32333232,32333322,32333334,32333432,32333444,32333456,32334332,32334344,32334434,32334454,32334544,32334556,32343210,32343222,32343234,32343332,32343344,32343434,32343454,32344322,32344334,32344432,32344444,32344456,32344554,32344566,32345434,32345454,32345544,32345556,32345654,32345666,32345678,33210011,33210110,33210122,33211010,33211101,33211121,33211211,33211223,33212100,33212112,33212210,33212222,33212234,33212332,33212344,33221010,33221101,33221121,33221211,33221223,33222100,33222112,33222210,33222222,33222234,33222332,33222344,33223212,33223232,33223322,33223334,33223432,33223444,33223456,33232111,33232123,33232221,33232233,33232323,33232343,33233211,33233223,33233321,33233333,33233345,33233443,33233455,33234323,33234343,33234433,33234445,33234543,33234555,33234567,33321011,33321110,33321122,33321212,33321232,33322101,33322121,33322211,33322223,33322321,33322333,33322345,33323221,33323233,33323323,33323343,33323433,33323445,33332100,33332112,33332210,33332222,33332234,33332332,33332344,33333212,33333232,33333322,33333334,33333432,33333444,33333456,33334332,33334344,33334434,33334454,33334544,33334556,33343210,33343222,33343234,33343332,33343344,33343434,33343454,33344322,33344334,33344432,33344444,33344456,33344554,33344566,33345434,33345454,33345544,33345556,33345654,33345666,33345678,33432111,33432123,33432221,33432233,33432323,33432343,33433211,33433223,33433321,33433333,33433345,33433443,33433455,33434323,33434343,33434433,33434445,33434543,33434555,33434567,33443221,33443233,33443323,33443343,33443433,33443445,33444321,33444333,33444345,33444443,33444455,33444545,33444565,33445433,33445445,33445543,33445555,33445567,33445665,33445677,33454323,33454343,33454433,33454445,33454543,33454555,33454567,33455443,33455455,33455545,33455565,33455655,33455667,33456543,33456555,33456567,33456665,33456677,33456767,33456787,34321001,34321100,34321112,34321210,34321222,34321234,34322111,34322123,34322221,34322233,34322323,34322343,34323211,34323223,34323321,34323333,34323345,34323443,34323455,34332110,34332122,34332212,34332232,34332322,34332334,34333210,34333222,34333234,34333332,34333344,34333434,34333454,34334322,34334334,34334432,34334444,34334456,34334554,34334566,34343212,34343232,34343322,34343334,34343432,34343444,34343456,34344332,34344344,34344434,34344454,34344544,34344556,34345432,34345444,34345456,34345554,34345566,34345656,34345676,34432101,34432121,34432211,34432223,34432321,34432333,34432345,34433221,34433233,34433323,34433343,34433433,34433445,34434321,34434333,34434345,34434443,34434455,34434545,34434565,34443211,34443223,34443321,34443333,34443345,34443443,34443455,34444323,34444343,34444433,34444445,34444543,34444555,34444567,34445443,34445455,34445545,34445565,34445655,34445667,34454321,34454333,34454345,34454443,34454455,34454545,34454565,34455433,34455445,34455543,34455555,34455567,34455665,34455677,34456545,34456565,34456655,34456667,34456765,34456777,34456789,34543221,34543233,34543323,34543343,34543433,34543445,34544321,34544333,34544345,34544443,34544455,34544545,34544565,34545433,34545445,34545543,34545555,34545567,34545665,34545677,34554323,34554343,34554433,34554445,34554543,34554555,34554567,34555443,34555455,34555545,34555565,34555655,34555667,34556543,34556555,34556567,34556665,34556677,34556767,34556787,34565433,34565445,34565543,34565555,34565567,34565665,34565677,34566545,34566565,34566655,34566667,34566765,34566777,34566789,34567665,34567677,34567767,34567787,34567877,34567889,43210001,43210100,43210112,43211000,43211012,43211111,43211123,43211221,43211233,43212110,43212122,43212212,43212232,43212322,43212334,43221000,43221012,43221111,43221123,43221221,43221233,43222110,43222122,43222212,43222232,43222322,43222334,43223210,43223222,43223234,43223332,43223344,43223434,43223454,43232101,43232121,43232211,43232223,43232321,43232333,43232345,43233221,43233233,43233323,43233343,43233433,43233445,43234321,43234333,43234345,43234443,43234455,43234545,43234565,43321001,43321100,43321112,43321210,43321222,43321234,43322111,43322123,43322221,43322233,43322323,43322343,43323211,43323223,43323321,43323333,43323345,43323443,43323455,43332110,43332122,43332212,43332232,43332322,43332334,43333210,43333222,43333234,43333332,43333344,43333434,43333454,43334322,43334334,43334432,43334444,43334456,43334554,43334566,43343212,43343232,43343322,43343334,43343432,43343444,43343456,43344332,43344344,43344434,43344454,43344544,43344556,43345432,43345444,43345456,43345554,43345566,43345656,43345676,43432101,43432121,43432211,43432223,43432321,43432333,43432345,43433221,43433233,43433323,43433343,43433433,43433445,43434321,43434333,43434345,43434443,43434455,43434545,43434565,43443211,43443223,43443321,43443333,43443345,43443443,43443455,43444323,43444343,43444433,43444445,43444543,43444555,43444567,43445443,43445455,43445545,43445565,43445655,43445667,43454321,43454333,43454345,43454443,43454455,43454545,43454565,43455433,43455445,43455543,43455555,43455567,43455665,43455677,43456545,43456565,43456655,43456667,43456765,43456777,43456789,44321011,44321110,44321122,44321212,44321232,44322101,44322121,44322211,44322223,44322321,44322333,44322345,44323221,44323233,44323323,44323343,44323433,44323445,44332100,44332112,44332210,44332222,44332234,44332332,44332344,44333212,44333232,44333322,44333334,44333432,44333444,44333456,44334332,44334344,44334434,44334454,44334544,44334556,44343210,44343222,44343234,44343332,44343344,44343434,44343454,44344322,44344334,44344432,44344444,44344456,44344554,44344566,44345434,44345454,44345544,44345556,44345654,44345666,44345678,44432111,44432123,44432221,44432233,44432323,44432343,44433211,44433223,44433321,44433333,44433345,44433443,44433455,44434323,44434343,44434433,44434445,44434543,44434555,44434567,44443221,44443233,44443323,44443343,44443433,44443445,44444321,44444333,44444345,44444443,44444455,44444545,44444565,44445433,44445445,44445543,44445555,44445567,44445665,44445677,44454323,44454343,44454433,44454445,44454543,44454555,44454567,44455443,44455455,44455545,44455565,44455655,44455667,44456543,44456555,44456567,44456665,44456677,44456767,44456787,44543211,44543223,44543321,44543333,44543345,44543443,44543455,44544323,44544343,44544433,44544445,44544543,44544555,44544567,44545443,44545455,44545545,44545565,44545655,44545667,44554321,44554333,44554345,44554443,44554455,44554545,44554565,44555433,44555445,44555543,44555555,44555567,44555665,44555677,44556545,44556565,44556655,44556667,44556765,44556777,44556789,44565443,44565455,44565545,44565565,44565655,44565667,44566543,44566555,44566567,44566665,44566677,44566767,44566787,44567655,44567667,44567765,44567777,44567789,44567887,44567899,45432111,45432123,45432221,45432233,45432323,45432343,45433211,45433223,45433321,45433333,45433345,45433443,45433455,45434323,45434343,45434433,45434445,45434543,45434555,45434567,45443221,45443233,45443323,45443343,45443433,45443445,45444321,45444333,45444345,45444443,45444455,45444545,45444565,45445433,45445445,45445543,45445555,45445567,45445665,45445677,45454323,45454343,45454433,45454445,45454543,45454555,45454567,45455443,45455455,45455545,45455565,45455655,45455667,45456543,45456555,45456567,45456665,45456677,45456767,45456787,45543211,45543223,45543321,45543333,45543345,45543443,45543455,45544323,45544343,45544433,45544445,45544543,45544555,45544567,45545443,45545455,45545545,45545565,45545655,45545667,45554321,45554333,45554345,45554443,45554455,45554545,45554565,45555433,45555445,45555543,45555555,45555567,45555665,45555677,45556545,45556565,45556655,45556667,45556765,45556777,45556789,45565443,45565455,45565545,45565565,45565655,45565667,45566543,45566555,45566567,45566665,45566677,45566767,45566787,45567655,45567667,45567765,45567777,45567789,45567887,45567899,45654332,45654344,45654434,45654454,45654544,45654556,45655432,45655444,45655456,45655554,45655566,45655656,45655676,45656544,45656556,45656654,45656666,45656678,45656776,45656788,45665434,45665454,45665544,45665556,45665654,45665666,45665678,45666554,45666566,45666656,45666676,45666766,45666778,45667654,45667666,45667678,45667776,45667788,45667878,45667898,45676545,45676565,45676655,45676667,45676765,45676777,45676789,45677665,45677677,45677767,45677787,45677877,45677889,45678766,45678778,45678876,45678888,45678987,45678999,54321011,54321110,54321122,54321212,54321232,54322101,54322121,54322211,54322223,54322321,54322333,54322345,54323221,54323233,54323323,54323343,54323433,54323445,54332100,54332112,54332210,54332222,54332234,54332332,54332344,54333212,54333232,54333322,54333334,54333432,54333444,54333456,54334332,54334344,54334434,54334454,54334544,54334556,54343210,54343222,54343234,54343332,54343344,54343434,54343454,54344322,54344334,54344432,54344444,54344456,54344554,54344566,54345434,54345454,54345544,54345556,54345654,54345666,54345678,54432111,54432123,54432221,54432233,54432323,54432343,54433211,54433223,54433321,54433333,54433345,54433443,54433455,54434323,54434343,54434433,54434445,54434543,54434555,54434567,54443221,54443233,54443323,54443343,54443433,54443445,54444321,54444333,54444345,54444443,54444455,54444545,54444565,54445433,54445445,54445543,54445555,54445567,54445665,54445677,54454323,54454343,54454433,54454445,54454543,54454555,54454567,54455443,54455455,54455545,54455565,54455655,54455667,54456543,54456555,54456567,54456665,54456677,54456767,54456787,54543211,54543223,54543321,54543333,54543345,54543443,54543455,54544323,54544343,54544433,54544445,54544543,54544555,54544567,54545443,54545455,54545545,54545565,54545655,54545667,54554321,54554333,54554345,54554443,54554455,54554545,54554565,54555433,54555445,54555543,54555555,54555567,54555665,54555677,54556545,54556565,54556655,54556667,54556765,54556777,54556789,54565443,54565455,54565545,54565565,54565655,54565667,54566543,54566555,54566567,54566665,54566677,54566767,54566787,54567655,54567667,54567765,54567777,54567789,54567887,54567899,55432111,55432123,55432221,55432233,55432323,55432343,55433211,55433223,55433321,55433333,55433345,55433443,55433455,55434323,55434343,55434433,55434445,55434543,55434555,55434567,55443221,55443233,55443323,55443343,55443433,55443445,55444321,55444333,55444345,55444443,55444455,55444545,55444565,55445433,55445445,55445543,55445555,55445567,55445665,55445677,55454323,55454343,55454433,55454445,55454543,55454555,55454567,55455443,55455455,55455545,55455565,55455655,55455667,55456543,55456555,55456567,55456665,55456677,55456767,55456787,55543211,55543223,55543321,55543333,55543345,55543443,55543455,55544323,55544343,55544433,55544445,55544543,55544555,55544567,55545443,55545455,55545545,55545565,55545655,55545667,55554321,55554333,55554345,55554443,55554455,55554545,55554565,55555433,55555445,55555543,55555555,55555567,55555665,55555677,55556545,55556565,55556655,55556667,55556765,55556777,55556789,55565443,55565455,55565545,55565565,55565655,55565667,55566543,55566555,55566567,55566665,55566677,55566767,55566787,55567655,55567667,55567765,55567777,55567789,55567887,55567899,55654332,55654344,55654434,55654454,55654544,55654556,55655432,55655444,55655456,55655554,55655566,55655656,55655676,55656544,55656556,55656654,55656666,55656678,55656776,55656788,55665434,55665454,55665544,55665556,55665654,55665666,55665678,55666554,55666566,55666656,55666676,55666766,55666778,55667654,55667666,55667678,55667776,55667788,55667878,55667898,55676545,55676565,55676655,55676667,55676765,55676777,55676789,55677665,55677677,55677767,55677787,55677877,55677889,55678766,55678778,55678876,55678888,55678987,55678999,56543221,56543233,56543323,56543343,56543433,56543445,56544321,56544333,56544345,56544443,56544455,56544545,56544565,56545433,56545445,56545543,56545555,56545567,56545665,56545677,56554323,56554343,56554433,56554445,56554543,56554555,56554567,56555443,56555455,56555545,56555565,56555655,56555667,56556543,56556555,56556567,56556665,56556677,56556767,56556787,56565433,56565445,56565543,56565555,56565567,56565665,56565677,56566545,56566565,56566655,56566667,56566765,56566777,56566789,56567665,56567677,56567767,56567787,56567877,56567889,56654322,56654334,56654432,56654444,56654456,56654554,56654566,56655434,56655454,56655544,56655556,56655654,56655666,56655678,56656554,56656566,56656656,56656676,56656766,56656778,56665432,56665444,56665456,56665554,56665566,56665656,56665676,56666544,56666556,56666654,56666666,56666678,56666776,56666788,56667656,56667676,56667766,56667778,56667876,56667888,56676543,56676555,56676567,56676665,56676677,56676767,56676787,56677655,56677667,56677765,56677777,56677789,56677887,56677899,56678776,56678788,56678878,56678898,56678989,56765433,56765445,56765543,56765555,56765567,56765665,56765677,56766545,56766565,56766655,56766667,56766765,56766777,56766789,56767665,56767677,56767767,56767787,56767877,56767889,56776544,56776556,56776654,56776666,56776678,56776776,56776788,56777656,56777676,56777766,56777778,56777876,56777888,56778765,56778777,56778789,56778887,56778899,56778998,56787656,56787676,56787766,56787778,56787876,56787888,56788765,56788777,56788789,56788887,56788899,56788998,56789878,56789898,56789989,65432101,65432121,65432211,65432223,65432321,65432333,65432345,65433221,65433233,65433323,65433343,65433433,65433445,65434321,65434333,65434345,65434443,65434455,65434545,65434565,65443211,65443223,65443321,65443333,65443345,65443443,65443455,65444323,65444343,65444433,65444445,65444543,65444555,65444567,65445443,65445455,65445545,65445565,65445655,65445667,65454321,65454333,65454345,65454443,65454455,65454545,65454565,65455433,65455445,65455543,65455555,65455567,65455665,65455677,65456545,65456565,65456655,65456667,65456765,65456777,65456789,65543221,65543233,65543323,65543343,65543433,65543445,65544321,65544333,65544345,65544443,65544455,65544545,65544565,65545433,65545445,65545543,65545555,65545567,65545665,65545677,65554323,65554343,65554433,65554445,65554543,65554555,65554567,65555443,65555455,65555545,65555565,65555655,65555667,65556543,65556555,65556567,65556665,65556677,65556767,65556787,65565433,65565445,65565543,65565555,65565567,65565665,65565677,65566545,65566565,65566655,65566667,65566765,65566777,65566789,65567665,65567677,65567767,65567787,65567877,65567889,65654322,65654334,65654432,65654444,65654456,65654554,65654566,65655434,65655454,65655544,65655556,65655654,65655666,65655678,65656554,65656566,65656656,65656676,65656766,65656778,65665432,65665444,65665456,65665554,65665566,65665656,65665676,65666544,65666556,65666654,65666666,65666678,65666776,65666788,65667656,65667676,65667766,65667778,65667876,65667888,65676543,65676555,65676567,65676665,65676677,65676767,65676787,65677655,65677667,65677765,65677777,65677789,65677887,65677899,65678776,65678788,65678878,65678898,65678989,66543211,66543223,66543321,66543333,66543345,66543443,66543455,66544323,66544343,66544433,66544445,66544543,66544555,66544567,66545443,66545455,66545545,66545565,66545655,66545667,66554321,66554333,66554345,66554443,66554455,66554545,66554565,66555433,66555445,66555543,66555555,66555567,66555665,66555677,66556545,66556565,66556655,66556667,66556765,66556777,66556789,66565443,66565455,66565545,66565565,66565655,66565667,66566543,66566555,66566567,66566665,66566677,66566767,66566787,66567655,66567667,66567765,66567777,66567789,66567887,66567899,66654332,66654344,66654434,66654454,66654544,66654556,66655432,66655444,66655456,66655554,66655566,66655656,66655676,66656544,66656556,66656654,66656666,66656678,66656776,66656788,66665434,66665454,66665544,66665556,66665654,66665666,66665678,66666554,66666566,66666656,66666676,66666766,66666778,66667654,66667666,66667678,66667776,66667788,66667878,66667898,66676545,66676565,66676655,66676667,66676765,66676777,66676789,66677665,66677677,66677767,66677787,66677877,66677889,66678766,66678778,66678876,66678888,66678987,66678999,66765443,66765455,66765545,66765565,66765655,66765667,66766543,66766555,66766567,66766665,66766677,66766767,66766787,66767655,66767667,66767765,66767777,66767789,66767887,66767899,66776554,66776566,66776656,66776676,66776766,66776778,66777654,66777666,66777678,66777776,66777788,66777878,66777898,66778767,66778787,66778877,66778889,66778988,66787654,66787666,66787678,66787776,66787788,66787878,66787898,66788767,66788787,66788877,66788889,66788988,66789876,66789888,66789987,66789999,67654332,67654344,67654434,67654454,67654544,67654556,67655432,67655444,67655456,67655554,67655566,67655656,67655676,67656544,67656556,67656654,67656666,67656678,67656776,67656788,67665434,67665454,67665544,67665556,67665654,67665666,67665678,67666554,67666566,67666656,67666676,67666766,67666778,67667654,67667666,67667678,67667776,67667788,67667878,67667898,67676545,67676565,67676655,67676667,67676765,67676777,67676789,67677665,67677677,67677767,67677787,67677877,67677889,67678766,67678778,67678876,67678888,67678987,67678999,67765443,67765455,67765545,67765565,67765655,67765667,67766543,67766555,67766567,67766665,67766677,67766767,67766787,67767655,67767667,67767765,67767777,67767789,67767887,67767899,67776554,67776566,67776656,67776676,67776766,67776778,67777654,67777666,67777678,67777776,67777788,67777878,67777898,67778767,67778787,67778877,67778889,67778988,67787654,67787666,67787678,67787776,67787788,67787878,67787898,67788767,67788787,67788877,67788889,67788988,67789876,67789888,67789987,67789999,67876554,67876566,67876656,67876676,67876766,67876778,67877654,67877666,67877678,67877776,67877788,67877878,67877898,67878767,67878787,67878877,67878889,67878988,67887654,67887666,67887678,67887776,67887788,67887878,67887898,67888767,67888787,67888877,67888889,67888988,67889876,67889888,67889987,67889999,67898776,67898788,67898878,67898898,67898989,67899877,67899889,67899988,76543210,76543222,76543234,76543332,76543344,76543434,76543454,76544322,76544334,76544432,76544444,76544456,76544554,76544566,76545434,76545454,76545544,76545556,76545654,76545666,76545678,76554332,76554344,76554434,76554454,76554544,76554556,76555432,76555444,76555456,76555554,76555566,76555656,76555676,76556544,76556556,76556654,76556666,76556678,76556776,76556788,76565434,76565454,76565544,76565556,76565654,76565666,76565678,76566554,76566566,76566656,76566676,76566766,76566778,76567654,76567666,76567678,76567776,76567788,76567878,76567898,76654323,76654343,76654433,76654445,76654543,76654555,76654567,76655443,76655455,76655545,76655565,76655655,76655667,76656543,76656555,76656567,76656665,76656677,76656767,76656787,76665433,76665445,76665543,76665555,76665567,76665665,76665677,76666545,76666565,76666655,76666667,76666765,76666777,76666789,76667665,76667677,76667767,76667787,76667877,76667889,76676544,76676556,76676654,76676666,76676678,76676776,76676788,76677656,76677676,76677766,76677778,76677876,76677888,76678765,76678777,76678789,76678887,76678899,76678998,76765434,76765454,76765544,76765556,76765654,76765666,76765678,76766554,76766566,76766656,76766676,76766766,76766778,76767654,76767666,76767678,76767776,76767788,76767878,76767898,76776545,76776565,76776655,76776667,76776765,76776777,76776789,76777665,76777677,76777767,76777787,76777877,76777889,76778766,76778778,76778876,76778888,76778987,76778999,76787665,76787677,76787767,76787787,76787877,76787889,76788766,76788778,76788876,76788888,76788987,76788999,76789887,76789899,76789998,77654323,77654343,77654433,77654445,77654543,77654555,77654567,77655443,77655455,77655545,77655565,77655655,77655667,77656543,77656555,77656567,77656665,77656677,77656767,77656787,77665433,77665445,77665543,77665555,77665567,77665665,77665677,77666545,77666565,77666655,77666667,77666765,77666777,77666789,77667665,77667677,77667767,77667787,77667877,77667889,77676544,77676556,77676654,77676666,77676678,77676776,77676788,77677656,77677676,77677766,77677778,77677876,77677888,77678765,77678777,77678789,77678887,77678899,77678998,77765434,77765454,77765544,77765556,77765654,77765666,77765678,77766554,77766566,77766656,77766676,77766766,77766778,77767654,77767666,77767678,77767776,77767788,77767878,77767898,77776545,77776565,77776655,77776667,77776765,77776777,77776789,77777665,77777677,77777767,77777787,77777877,77777889,77778766,77778778,77778876,77778888,77778987,77778999,77787665,77787677,77787767,77787787,77787877,77787889,77788766,77788778,77788876,77788888,77788987,77788999,77789887,77789899,77789998,77876545,77876565,77876655,77876667,77876765,77876777,77876789,77877665,77877677,77877767,77877787,77877877,77877889,77878766,77878778,77878876,77878888,77878987,77878999,77887665,77887677,77887767,77887787,77887877,77887889,77888766,77888778,77888876,77888888,77888987,77888999,77889887,77889899,77889998,77898767,77898787,77898877,77898889,77898988,77899876,77899888,77899987,77899999,78765443,78765455,78765545,78765565,78765655,78765667,78766543,78766555,78766567,78766665,78766677,78766767,78766787,78767655,78767667,78767765,78767777,78767789,78767887,78767899,78776554,78776566,78776656,78776676,78776766,78776778,78777654,78777666,78777678,78777776,78777788,78777878,78777898,78778767,78778787,78778877,78778889,78778988,78787654,78787666,78787678,78787776,78787788,78787878,78787898,78788767,78788787,78788877,78788889,78788988,78789876,78789888,78789987,78789999,78876554,78876566,78876656,78876676,78876766,78876778,78877654,78877666,78877678,78877776,78877788,78877878,78877898,78878767,78878787,78878877,78878889,78878988,78887654,78887666,78887678,78887776,78887788,78887878,78887898,78888767,78888787,78888877,78888889,78888988,78889876,78889888,78889987,78889999,78898776,78898788,78898878,78898898,78898989,78899877,78899889,78899988,78987654,78987666,78987678,78987776,78987788,78987878,78987898,78988767,78988787,78988877,78988889,78988988,78989876,78989888,78989987,78989999,78998776,78998788,78998878,78998898,78998989,78999877,78999889,78999988,87654321,87654333,87654345,87654443,87654455,87654545,87654565,87655433,87655445,87655543,87655555,87655567,87655665,87655677,87656545,87656565,87656655,87656667,87656765,87656777,87656789,87665443,87665455,87665545,87665565,87665655,87665667,87666543,87666555,87666567,87666665,87666677,87666767,87666787,87667655,87667667,87667765,87667777,87667789,87667887,87667899,87676554,87676566,87676656,87676676,87676766,87676778,87677654,87677666,87677678,87677776,87677788,87677878,87677898,87678767,87678787,87678877,87678889,87678988,87765432,87765444,87765456,87765554,87765566,87765656,87765676,87766544,87766556,87766654,87766666,87766678,87766776,87766788,87767656,87767676,87767766,87767778,87767876,87767888,87776543,87776555,87776567,87776665,87776677,87776767,87776787,87777655,87777667,87777765,87777777,87777789,87777887,87777899,87778776,87778788,87778878,87778898,87778989,87787655,87787667,87787765,87787777,87787789,87787887,87787899,87788776,87788788,87788878,87788898,87788989,87789877,87789889,87789988,87876543,87876555,87876567,87876665,87876677,87876767,87876787,87877655,87877667,87877765,87877777,87877789,87877887,87877899,87878776,87878788,87878878,87878898,87878989,87887655,87887667,87887765,87887777,87887789,87887887,87887899,87888776,87888788,87888878,87888898,87888989,87889877,87889889,87889988,87898765,87898777,87898789,87898887,87898899,87898998,87899878,87899898,87899989,88765433,88765445,88765543,88765555,88765567,88765665,88765677,88766545,88766565,88766655,88766667,88766765,88766777,88766789,88767665,88767677,88767767,88767787,88767877,88767889,88776544,88776556,88776654,88776666,88776678,88776776,88776788,88777656,88777676,88777766,88777778,88777876,88777888,88778765,88778777,88778789,88778887,88778899,88778998,88787656,88787676,88787766,88787778,88787876,88787888,88788765,88788777,88788789,88788887,88788899,88788998,88789878,88789898,88789989,88876544,88876556,88876654,88876666,88876678,88876776,88876788,88877656,88877676,88877766,88877778,88877876,88877888,88878765,88878777,88878789,88878887,88878899,88878998,88887656,88887676,88887766,88887778,88887876,88887888,88888765,88888777,88888789,88888887,88888899,88888998,88889878,88889898,88889989,88898766,88898778,88898876,88898888,88898987,88898999,88899887,88899899,88899998,88987656,88987676,88987766,88987778,88987876,88987888,88988765,88988777,88988789,88988887,88988899,88988998,88989878,88989898,88989989,88998766,88998778,88998876,88998888,88998987,88998999,88999887,88999899,88999998,89876545,89876565,89876655,89876667,89876765,89876777,89876789,89877665,89877677,89877767,89877787,89877877,89877889,89878766,89878778,89878876,89878888,89878987,89878999,89887665,89887677,89887767,89887787,89887877,89887889,89888766,89888778,89888876,89888888,89888987,89888999,89889887,89889899,89889998,89898767,89898787,89898877,89898889,89898988,89899876,89899888,89899987,89899999,89987665,89987677,89987767,89987787,89987877,89987889,89988766,89988778,89988876,89988888,89988987,89988999,89989887,89989899,89989998,89998767,89998787,89998877,89998889,89998988,89999876,89999888,89999987,89999999,98765443,98765455,98765545,98765565,98765655,98765667,98766543,98766555,98766567,98766665,98766677,98766767,98766787,98767655,98767667,98767765,98767777,98767789,98767887,98767899,98776554,98776566,98776656,98776676,98776766,98776778,98777654,98777666,98777678,98777776,98777788,98777878,98777898,98778767,98778787,98778877,98778889,98778988,98787654,98787666,98787678,98787776,98787788,98787878,98787898,98788767,98788787,98788877,98788889,98788988,98789876,98789888,98789987,98789999,98876554,98876566,98876656,98876676,98876766,98876778,98877654,98877666,98877678,98877776,98877788,98877878,98877898,98878767,98878787,98878877,98878889,98878988,98887654,98887666,98887678,98887776,98887788,98887878,98887898,98888767,98888787,98888877,98888889,98888988,98889876,98889888,98889987,98889999,98898776,98898788,98898878,98898898,98898989,98899877,98899889,98899988,98987654,98987666,98987678,98987776,98987788,98987878,98987898,98988767,98988787,98988877,98988889,98988988,98989876,98989888,98989987,98989999,98998776,98998788,98998878,98998898,98998989,98999877,98999889,98999988,99876543,99876555,99876567,99876665,99876677,99876767,99876787,99877655,99877667,99877765,99877777,99877789,99877887,99877899,99878776,99878788,99878878,99878898,99878989,99887655,99887667,99887765,99887777,99887789,99887887,99887899,99888776,99888788,99888878,99888898,99888989,99889877,99889889,99889988,99898765,99898777,99898789,99898887,99898899,99898998,99899878,99899898,99899989,99987655,99987667,99987765,99987777,99987789,99987887,99987899,99988776,99988788,99988878,99988898,99988989,99989877,99989889,99989988,99998765,99998777,99998789,99998887,99998899,99998998,99999878,99999898,99999989,100000001,100000100,100000112,100001000,100001012,100001111,100001123,100001221,100001233,100010010,100010101,100010121,100011001,100011100,100011112,100011210,100011222,100011234,100012111,100012123,100012221,100012233,100012323,100012343,100100001,100100100,100100112,100101000,100101012,100101111,100101123,100101221,100101233,100110010,100110101,100110121,100111001,100111100,100111112,100111210,100111222,100111234,100112111,100112123,100112221,100112233,100112323,100112343,100121001,100121100,100121112,100121210,100121222,100121234,100122111,100122123,100122221,100122233,100122323,100122343,100123211,100123223,100123321,100123333,100123345,100123443,100123455,101000010,101000101,101000121,101001001,101001100,101001112,101001210,101001222,101001234,101010011,101010110,101010122,101011010,101011101,101011121,101011211,101011223,101012100,101012112,101012210,101012222,101012234,101012332,101012344,101100010,101100101,101100121,101101001,101101100,101101112,101101210,101101222,101101234,101110011,101110110,101110122,101111010,101111101,101111121,101111211,101111223,101112100,101112112,101112210,101112222,101112234,101112332,101112344,101121010,101121101,101121121,101121211,101121223,101122100,101122112,101122210,101122222,101122234,101122332,101122344,101123212,101123232,101123322,101123334,101123432,101123444,101123456,101210011,101210110,101210122,101211010,101211101,101211121,101211211,101211223,101212100,101212112,101212210,101212222,101212234,101212332,101212344,101221010,101221101,101221121,101221211,101221223,101222100,101222112,101222210,101222222,101222234,101222332,101222344,101223212,101223232,101223322,101223334,101223432,101223444,101223456,101232111,101232123,101232221,101232233,101232323,101232343,101233211,101233223,101233321,101233333,101233345,101233443,101233455,101234323,101234343,101234433,101234445,101234543,101234555,101234567,110000011,110000110,110000122,110001010,110001101,110001121,110001211,110001223,110010000,110010012,110010111,110010123,110011011,110011110,110011122,110011212,110011232,110012101,110012121,110012211,110012223,110012321,110012333,110012345,110100011,110100110,110100122,110101010,110101101,110101121,110101211,110101223,110110000,110110012,110110111,110110123,110111011,110111110,110111122,110111212,110111232,110112101,110112121,110112211,110112223,110112321,110112333,110112345,110121011,110121110,110121122,110121212,110121232,110122101,110122121,110122211,110122223,110122321,110122333,110122345,110123221,110123233,110123323,110123343,110123433,110123445,111000000,111000012,111000111,111000123,111001011,111001110,111001122,111001212,111001232,111010001,111010100,111010112,111011000,111011012,111011111,111011123,111011221,111011233,111012110,111012122,111012212,111012232,111012322,111012334,111100000,111100012,111100111,111100123,111101011,111101110,111101122,111101212,111101232,111110001,111110100,111110112,111111000,111111012,111111111,111111123,111111221,111111233,111112110,111112122,111112212,111112232,111112322,111112334,111121000,111121012,111121111,111121123,111121221,111121233,111122110,111122122,111122212,111122232,111122322,111122334,111123210,111123222,111123234,111123332,111123344,111123434,111123454,111210001,111210100,111210112,111211000,111211012,111211111,111211123,111211221,111211233,111212110,111212122,111212212,111212232,111212322,111212334,111221000,111221012,111221111,111221123,111221221,111221233,111222110,111222122,111222212,111222232,111222322,111222334,111223210,111223222,111223234,111223332,111223344,111223434,111223454,111232101,111232121,111232211,111232223,111232321,111232333,111232345,111233221,111233233,111233323,111233343,111233433,111233445,111234321,111234333,111234345,111234443,111234455,111234545,111234565,112100001,112100100,112100112,112101000,112101012,112101111,112101123,112101221,112101233,112110010,112110101,112110121,112111001,112111100,112111112,112111210,112111222,112111234,112112111,112112123,112112221,112112233,112112323,112112343,112121001,112121100,112121112,112121210,112121222,112121234,112122111,112122123,112122221,112122233,112122323,112122343,112123211,112123223,112123321,112123333,112123345,112123443,112123455,112210010,112210101,112210121,112211001,112211100,112211112,112211210,112211222,112211234,112212111,112212123,112212221,112212233,112212323,112212343,112221001,112221100,112221112,112221210,112221222,112221234,112222111,112222123,112222221,112222233,112222323,112222343,112223211,112223223,112223321,112223333,112223345,112223443,112223455,112232110,112232122,112232212,112232232,112232322,112232334,112233210,112233222,112233234,112233332,112233344,112233434,112233454,112234322,112234334,112234432,112234444,112234456,112234554,112234566,112321010,112321101,112321121,112321211,112321223,112322100,112322112,112322210,112322222,112322234,112322332,112322344,112323212,112323232,112323322,112323334,112323432,112323444,112323456,112332111,112332123,112332221,112332233,112332323,112332343,112333211,112333223,112333321,112333333,112333345,112333443,112333455,112334323,112334343,112334433,112334445,112334543,112334555,112334567,112343221,112343233,112343323,112343343,112343433,112343445,112344321,112344333,112344345,112344443,112344455,112344545,112344565,112345433,112345445,112345543,112345555,112345567,112345665,112345677,121000010,121000101,121000121,121001001,121001100,121001112,121001210,121001222,121001234,121010011,121010110,121010122,121011010,121011101,121011121,121011211,121011223,121012100,121012112,121012210,121012222,121012234,121012332,121012344,121100010,121100101,121100121,121101001,121101100,121101112,121101210,121101222,121101234,121110011,121110110,121110122,121111010,121111101,121111121,121111211,121111223,121112100,121112112,121112210,121112222,121112234,121112332,121112344,121121010,121121101,121121121,121121211,121121223,121122100,121122112,121122210,121122222,121122234,121122332,121122344,121123212,121123232,121123322,121123334,121123432,121123444,121123456,121210011,121210110,121210122,121211010,121211101,121211121,121211211,121211223,121212100,121212112,121212210,121212222,121212234,121212332,121212344,121221010,121221101,121221121,121221211,121221223,121222100,121222112,121222210,121222222,121222234,121222332,121222344,121223212,121223232,121223322,121223334,121223432,121223444,121223456,121232111,121232123,121232221,121232233,121232323,121232343,121233211,121233223,121233321,121233333,121233345,121233443,121233455,121234323,121234343,121234433,121234445,121234543,121234555,121234567,122100011,122100110,122100122,122101010,122101101,122101121,122101211,122101223,122110000,122110012,122110111,122110123,122111011,122111110,122111122,122111212,122111232,122112101,122112121,122112211,122112223,122112321,122112333,122112345,122121011,122121110,122121122,122121212,122121232,122122101,122122121,122122211,122122223,122122321,122122333,122122345,122123221,122123233,122123323,122123343,122123433,122123445,122210000,122210012,122210111,122210123,122211011,122211110,122211122,122211212,122211232,122212101,122212121,122212211,122212223,122212321,122212333,122212345,122221011,122221110,122221122,122221212,122221232,122222101,122222121,122222211,122222223,122222321,122222333,122222345,122223221,122223233,122223323,122223343,122223433,122223445,122232100,122232112,122232210,122232222,122232234,122232332,122232344,122233212,122233232,122233322,122233334,122233432,122233444,122233456,122234332,122234344,122234434,122234454,122234544,122234556,122321000,122321012,122321111,122321123,122321221,122321233,122322110,122322122,122322212,122322232,122322322,122322334,122323210,122323222,122323234,122323332,122323344,122323434,122323454,122332101,122332121,122332211,122332223,122332321,122332333,122332345,122333221,122333233,122333323,122333343,122333433,122333445,122334321,122334333,122334345,122334443,122334455,122334545,122334565,122343211,122343223,122343321,122343333,122343345,122343443,122343455,122344323,122344343,122344433,122344445,122344543,122344555,122344567,122345443,122345455,122345545,122345565,122345655,122345667,123210000,123210012,123210111,123210123,123211011,123211110,123211122,123211212,123211232,123212101,123212121,123212211,123212223,123212321,123212333,123212345,123221011,123221110,123221122,123221212,123221232,123222101,123222121,123222211,123222223,123222321,123222333,123222345,123223221,123223233,123223323,123223343,123223433,123223445,123232100,123232112,123232210,123232222,123232234,123232332,123232344,123233212,123233232,123233322,123233334,123233432,123233444,123233456,123234332,123234344,123234434,123234454,123234544,123234556,123321000,123321012,123321111,123321123,123321221,123321233,123322110,123322122,123322212,123322232,123322322,123322334,123323210,123323222,123323234,123323332,123323344,123323434,123323454,123332101,123332121,123332211,123332223,123332321,123332333,123332345,123333221,123333233,123333323,123333343,123333433,123333445,123334321,123334333,123334345,123334443,123334455,123334545,123334565,123343211,123343223,123343321,123343333,123343345,123343443,123343455,123344323,123344343,123344433,123344445,123344543,123344555,123344567,123345443,123345455,123345545,123345565,123345655,123345667,123432100,123432112,123432210,123432222,123432234,123432332,123432344,123433212,123433232,123433322,123433334,123433432,123433444,123433456,123434332,123434344,123434434,123434454,123434544,123434556,123443210,123443222,123443234,123443332,123443344,123443434,123443454,123444322,123444334,123444432,123444444,123444456,123444554,123444566,123445434,123445454,123445544,123445556,123445654,123445666,123445678,123454332,123454344,123454434,123454454,123454544,123454556,123455432,123455444,123455456,123455554,123455566,123455656,123455676,123456544,123456556,123456654,123456666,123456678,123456776,123456788,210000010,210000101,210000121,210001001,210001100,210001112,210001210,210001222,210001234,210010011,210010110,210010122,210011010,210011101,210011121,210011211,210011223,210012100,210012112,210012210,210012222,210012234,210012332,210012344,210100010,210100101,210100121,210101001,210101100,210101112,210101210,210101222,210101234,210110011,210110110,210110122,210111010,210111101,210111121,210111211,210111223,210112100,210112112,210112210,210112222,210112234,210112332,210112344,210121010,210121101,210121121,210121211,210121223,210122100,210122112,210122210,210122222,210122234,210122332,210122344,210123212,210123232,210123322,210123334,210123432,210123444,210123456,211000011,211000110,211000122,211001010,211001101,211001121,211001211,211001223,211010000,211010012,211010111,211010123,211011011,211011110,211011122,211011212,211011232,211012101,211012121,211012211,211012223,211012321,211012333,211012345,211100011,211100110,211100122,211101010,211101101,211101121,211101211,211101223,211110000,211110012,211110111,211110123,211111011,211111110,211111122,211111212,211111232,211112101,211112121,211112211,211112223,211112321,211112333,211112345,211121011,211121110,211121122,211121212,211121232,211122101,211122121,211122211,211122223,211122321,211122333,211122345,211123221,211123233,211123323,211123343,211123433,211123445,211210000,211210012,211210111,211210123,211211011,211211110,211211122,211211212,211211232,211212101,211212121,211212211,211212223,211212321,211212333,211212345,211221011,211221110,211221122,211221212,211221232,211222101,211222121,211222211,211222223,211222321,211222333,211222345,211223221,211223233,211223323,211223343,211223433,211223445,211232100,211232112,211232210,211232222,211232234,211232332,211232344,211233212,211233232,211233322,211233334,211233432,211233444,211233456,211234332,211234344,211234434,211234454,211234544,211234556,212100000,212100012,212100111,212100123,212101011,212101110,212101122,212101212,212101232,212110001,212110100,212110112,212111000,212111012,212111111,212111123,212111221,212111233,212112110,212112122,212112212,212112232,212112322,212112334,212121000,212121012,212121111,212121123,212121221,212121233,212122110,212122122,212122212,212122232,212122322,212122334,212123210,212123222,212123234,212123332,212123344,212123434,212123454,212210001,212210100,212210112,212211000,212211012,212211111,212211123,212211221,212211233,212212110,212212122,212212212,212212232,212212322,212212334,212221000,212221012,212221111,212221123,212221221,212221233,212222110,212222122,212222212,212222232,212222322,212222334,212223210,212223222,212223234,212223332,212223344,212223434,212223454,212232101,212232121,212232211,212232223,212232321,212232333,212232345,212233221,212233233,212233323,212233343,212233433,212233445,212234321,212234333,212234345,212234443,212234455,212234545,212234565,212321001,212321100,212321112,212321210,212321222,212321234,212322111,212322123,212322221,212322233,212322323,212322343,212323211,212323223,212323321,212323333,212323345,212323443,212323455,212332110,212332122,212332212,212332232,212332322,212332334,212333210,212333222,212333234,212333332,212333344,212333434,212333454,212334322,212334334,212334432,212334444,212334456,212334554,212334566,212343212,212343232,212343322,212343334,212343432,212343444,212343456,212344332,212344344,212344434,212344454,212344544,212344556,212345432,212345444,212345456,212345554,212345566,212345656,212345676,221000001,221000100,221000112,221001000,221001012,221001111,221001123,221001221,221001233,221010010,221010101,221010121,221011001,221011100,221011112,221011210,221011222,221011234,221012111,221012123,221012221,221012233,221012323,221012343,221100001,221100100,221100112,221101000,221101012,221101111,221101123,221101221,221101233,221110010,221110101,221110121,221111001,221111100,221111112,221111210,221111222,221111234,221112111,221112123,221112221,221112233,221112323,221112343,221121001,221121100,221121112,221121210,221121222,221121234,221122111,221122123,221122221,221122233,221122323,221122343,221123211,221123223,221123321,221123333,221123345,221123443,221123455,221210010,221210101,221210121,221211001,221211100,221211112,221211210,221211222,221211234,221212111,221212123,221212221,221212233,221212323,221212343,221221001,221221100,221221112,221221210,221221222,221221234,221222111,221222123,221222221,221222233,221222323,221222343,221223211,221223223,221223321,221223333,221223345,221223443,221223455,221232110,221232122,221232212,221232232,221232322,221232334,221233210,221233222,221233234,221233332,221233344,221233434,221233454,221234322,221234334,221234432,221234444,221234456,221234554,221234566,222100010,222100101,222100121,222101001,222101100,222101112,222101210,222101222,222101234,222110011,222110110,222110122,222111010,222111101,222111121,222111211,222111223,222112100,222112112,222112210,222112222,222112234,222112332,222112344,222121010,222121101,222121121,222121211,222121223,222122100,222122112,222122210,222122222,222122234,222122332,222122344,222123212,222123232,222123322,222123334,222123432,222123444,222123456,222210011,222210110,222210122,222211010,222211101,222211121,222211211,222211223,222212100,222212112,222212210,222212222,222212234,222212332,222212344,222221010,222221101,222221121,222221211,222221223,222222100,222222112,222222210,222222222,222222234,222222332,222222344,222223212,222223232,222223322,222223334,222223432,222223444,222223456,222232111,222232123,222232221,222232233,222232323,222232343,222233211,222233223,222233321,222233333,222233345,222233443,222233455,222234323,222234343,222234433,222234445,222234543,222234555,222234567,222321011,222321110,222321122,222321212,222321232,222322101,222322121,222322211,222322223,222322321,222322333,222322345,222323221,222323233,222323323,222323343,222323433,222323445,222332100,222332112,222332210,222332222,222332234,222332332,222332344,222333212,222333232,222333322,222333334,222333432,222333444,222333456,222334332,222334344,222334434,222334454,222334544,222334556,222343210,222343222,222343234,222343332,222343344,222343434,222343454,222344322,222344334,222344432,222344444,222344456,222344554,222344566,222345434,222345454,222345544,222345556,222345654,222345666,222345678,223210011,223210110,223210122,223211010,223211101,223211121,223211211,223211223,223212100,223212112,223212210,223212222,223212234,223212332,223212344,223221010,223221101,223221121,223221211,223221223,223222100,223222112,223222210,223222222,223222234,223222332,223222344,223223212,223223232,223223322,223223334,223223432,223223444,223223456,223232111,223232123,223232221,223232233,223232323,223232343,223233211,223233223,223233321,223233333,223233345,223233443,223233455,223234323,223234343,223234433,223234445,223234543,223234555,223234567,223321011,223321110,223321122,223321212,223321232,223322101,223322121,223322211,223322223,223322321,223322333,223322345,223323221,223323233,223323323,223323343,223323433,223323445,223332100,223332112,223332210,223332222,223332234,223332332,223332344,223333212,223333232,223333322,223333334,223333432,223333444,223333456,223334332,223334344,223334434,223334454,223334544,223334556,223343210,223343222,223343234,223343332,223343344,223343434,223343454,223344322,223344334,223344432,223344444,223344456,223344554,223344566,223345434,223345454,223345544,223345556,223345654,223345666,223345678,223432111,223432123,223432221,223432233,223432323,223432343,223433211,223433223,223433321,223433333,223433345,223433443,223433455,223434323,223434343,223434433,223434445,223434543,223434555,223434567,223443221,223443233,223443323,223443343,223443433,223443445,223444321,223444333,223444345,223444443,223444455,223444545,223444565,223445433,223445445,223445543,223445555,223445567,223445665,223445677,223454323,223454343,223454433,223454445,223454543,223454555,223454567,223455443,223455455,223455545,223455565,223455655,223455667,223456543,223456555,223456567,223456665,223456677,223456767,223456787,232100001,232100100,232100112,232101000,232101012,232101111,232101123,232101221,232101233,232110010,232110101,232110121,232111001,232111100,232111112,232111210,232111222,232111234,232112111,232112123,232112221,232112233,232112323,232112343,232121001,232121100,232121112,232121210,232121222,232121234,232122111,232122123,232122221,232122233,232122323,232122343,232123211,232123223,232123321,232123333,232123345,232123443,232123455,232210010,232210101,232210121,232211001,232211100,232211112,232211210,232211222,232211234,232212111,232212123,232212221,232212233,232212323,232212343,232221001,232221100,232221112,232221210,232221222,232221234,232222111,232222123,232222221,232222233,232222323,232222343,232223211,232223223,232223321,232223333,232223345,232223443,232223455,232232110,232232122,232232212,232232232,232232322,232232334,232233210,232233222,232233234,232233332,232233344,232233434,232233454,232234322,232234334,232234432,232234444,232234456,232234554,232234566,232321010,232321101,232321121,232321211,232321223,232322100,232322112,232322210,232322222,232322234,232322332,232322344,232323212,232323232,232323322,232323334,232323432,232323444,232323456,232332111,232332123,232332221,232332233,232332323,232332343,232333211,232333223,232333321,232333333,232333345,232333443,232333455,232334323,232334343,232334433,232334445,232334543,232334555,232334567,232343221,232343233,232343323,232343343,232343433,232343445,232344321,232344333,232344345,232344443,232344455,232344545,232344565,232345433,232345445,232345543,232345555,232345567,232345665,232345677,233210010,233210101,233210121,233211001,233211100,233211112,233211210,233211222,233211234,233212111,233212123,233212221,233212233,233212323,233212343,233221001,233221100,233221112,233221210,233221222,233221234,233222111,233222123,233222221,233222233,233222323,233222343,233223211,233223223,233223321,233223333,233223345,233223443,233223455,233232110,233232122,233232212,233232232,233232322,233232334,233233210,233233222,233233234,233233332,233233344,233233434,233233454,233234322,233234334,233234432,233234444,233234456,233234554,233234566,233321010,233321101,233321121,233321211,233321223,233322100,233322112,233322210,233322222,233322234,233322332,233322344,233323212,233323232,233323322,233323334,233323432,233323444,233323456,233332111,233332123,233332221,233332233,233332323,233332343,233333211,233333223,233333321,233333333,233333345,233333443,233333455,233334323,233334343,233334433,233334445,233334543,233334555,233334567,233343221,233343233,233343323,233343343,233343433,233343445,233344321,233344333,233344345,233344443,233344455,233344545,233344565,233345433,233345445,233345543,233345555,233345567,233345665,233345677,233432110,233432122,233432212,233432232,233432322,233432334,233433210,233433222,233433234,233433332,233433344,233433434,233433454,233434322,233434334,233434432,233434444,233434456,233434554,233434566,233443212,233443232,233443322,233443334,233443432,233443444,233443456,233444332,233444344,233444434,233444454,233444544,233444556,233445432,233445444,233445456,233445554,233445566,233445656,233445676,233454322,233454334,233454432,233454444,233454456,233454554,233454566,233455434,233455454,233455544,233455556,233455654,233455666,233455678,233456554,233456566,233456656,233456676,233456766,233456778,234321000,234321012,234321111,234321123,234321221,234321233,234322110,234322122,234322212,234322232,234322322,234322334,234323210,234323222,234323234,234323332,234323344,234323434,234323454,234332101,234332121,234332211,234332223,234332321,234332333,234332345,234333221,234333233,234333323,234333343,234333433,234333445,234334321,234334333,234334345,234334443,234334455,234334545,234334565,234343211,234343223,234343321,234343333,234343345,234343443,234343455,234344323,234344343,234344433,234344445,234344543,234344555,234344567,234345443,234345455,234345545,234345565,234345655,234345667,234432100,234432112,234432210,234432222,234432234,234432332,234432344,234433212,234433232,234433322,234433334,234433432,234433444,234433456,234434332,234434344,234434434,234434454,234434544,234434556,234443210,234443222,234443234,234443332,234443344,234443434,234443454,234444322,234444334,234444432,234444444,234444456,234444554,234444566,234445434,234445454,234445544,234445556,234445654,234445666,234445678,234454332,234454344,234454434,234454454,234454544,234454556,234455432,234455444,234455456,234455554,234455566,234455656,234455676,234456544,234456556,234456654,234456666,234456678,234456776,234456788,234543212,234543232,234543322,234543334,234543432,234543444,234543456,234544332,234544344,234544434,234544454,234544544,234544556,234545432,234545444,234545456,234545554,234545566,234545656,234545676,234554322,234554334,234554432,234554444,234554456,234554554,234554566,234555434,234555454,234555544,234555556,234555654,234555666,234555678,234556554,234556566,234556656,234556676,234556766,234556778,234565432,234565444,234565456,234565554,234565566,234565656,234565676,234566544,234566556,234566654,234566666,234566678,234566776,234566788,234567656,234567676,234567766,234567778,234567876,234567888,321000000,321000012,321000111,321000123,321001011,321001110,321001122,321001212,321001232,321010001,321010100,321010112,321011000,321011012,321011111,321011123,321011221,321011233,321012110,321012122,321012212,321012232,321012322,321012334,321100000,321100012,321100111,321100123,321101011,321101110,321101122,321101212,321101232,321110001,321110100,321110112,321111000,321111012,321111111,321111123,321111221,321111233,321112110,321112122,321112212,321112232,321112322,321112334,321121000,321121012,321121111,321121123,321121221,321121233,321122110,321122122,321122212,321122232,321122322,321122334,321123210,321123222,321123234,321123332,321123344,321123434,321123454,321210001,321210100,321210112,321211000,321211012,321211111,321211123,321211221,321211233,321212110,321212122,321212212,321212232,321212322,321212334,321221000,321221012,321221111,321221123,321221221,321221233,321222110,321222122,321222212,321222232,321222322,321222334,321223210,321223222,321223234,321223332,321223344,321223434,321223454,321232101,321232121,321232211,321232223,321232321,321232333,321232345,321233221,321233233,321233323,321233343,321233433,321233445,321234321,321234333,321234345,321234443,321234455,321234545,321234565,322100001,322100100,322100112,322101000,322101012,322101111,322101123,322101221,322101233,322110010,322110101,322110121,322111001,322111100,322111112,322111210,322111222,322111234,322112111,322112123,322112221,322112233,322112323,322112343,322121001,322121100,322121112,322121210,322121222,322121234,322122111,322122123,322122221,322122233,322122323,322122343,322123211,322123223,322123321,322123333,322123345,322123443,322123455,322210010,322210101,322210121,322211001,322211100,322211112,322211210,322211222,322211234,322212111,322212123,322212221,322212233,322212323,322212343,322221001,322221100,322221112,322221210,322221222,322221234,322222111,322222123,322222221,322222233,322222323,322222343,322223211,322223223,322223321,322223333,322223345,322223443,322223455,322232110,322232122,322232212,322232232,322232322,322232334,322233210,322233222,322233234,322233332,322233344,322233434,322233454,322234322,322234334,322234432,322234444,322234456,322234554,322234566,322321010,322321101,322321121,322321211,322321223,322322100,322322112,322322210,322322222,322322234,322322332,322322344,322323212,322323232,322323322,322323334,322323432,322323444,322323456,322332111,322332123,322332221,322332233,322332323,322332343,322333211,322333223,322333321,322333333,322333345,322333443,322333455,322334323,322334343,322334433,322334445,322334543,322334555,322334567,322343221,322343233,322343323,322343343,322343433,322343445,322344321,322344333,322344345,322344443,322344455,322344545,322344565,322345433,322345445,322345543,322345555,322345567,322345665,322345677,323210010,323210101,323210121,323211001,323211100,323211112,323211210,323211222,323211234,323212111,323212123,323212221,323212233,323212323,323212343,323221001,323221100,323221112,323221210,323221222,323221234,323222111,323222123,323222221,323222233,323222323,323222343,323223211,323223223,323223321,323223333,323223345,323223443,323223455,323232110,323232122,323232212,323232232,323232322,323232334,323233210,323233222,323233234,323233332,323233344,323233434,323233454,323234322,323234334,323234432,323234444,323234456,323234554,323234566,323321010,323321101,323321121,323321211,323321223,323322100,323322112,323322210,323322222,323322234,323322332,323322344,323323212,323323232,323323322,323323334,323323432,323323444,323323456,323332111,323332123,323332221,323332233,323332323,323332343,323333211,323333223,323333321,323333333,323333345,323333443,323333455,323334323,323334343,323334433,323334445,323334543,323334555,323334567,323343221,323343233,323343323,323343343,323343433,323343445,323344321,323344333,323344345,323344443,323344455,323344545,323344565,323345433,323345445,323345543,323345555,323345567,323345665,323345677,323432110,323432122,323432212,323432232,323432322,323432334,323433210,323433222,323433234,323433332,323433344,323433434,323433454,323434322,323434334,323434432,323434444,323434456,323434554,323434566,323443212,323443232,323443322,323443334,323443432,323443444,323443456,323444332,323444344,323444434,323444454,323444544,323444556,323445432,323445444,323445456,323445554,323445566,323445656,323445676,323454322,323454334,323454432,323454444,323454456,323454554,323454566,323455434,323455454,323455544,323455556,323455654,323455666,323455678,323456554,323456566,323456656,323456676,323456766,323456778,332100000,332100012,332100111,332100123,332101011,332101110,332101122,332101212,332101232,332110001,332110100,332110112,332111000,332111012,332111111,332111123,332111221,332111233,332112110,332112122,332112212,332112232,332112322,332112334,332121000,332121012,332121111,332121123,332121221,332121233,332122110,332122122,332122212,332122232,332122322,332122334,332123210,332123222,332123234,332123332,332123344,332123434,332123454,332210001,332210100,332210112,332211000,332211012,332211111,332211123,332211221,332211233,332212110,332212122,332212212,332212232,332212322,332212334,332221000,332221012,332221111,332221123,332221221,332221233,332222110,332222122,332222212,332222232,332222322,332222334,332223210,332223222,332223234,332223332,332223344,332223434,332223454,332232101,332232121,332232211,332232223,332232321,332232333,332232345,332233221,332233233,332233323,332233343,332233433,332233445,332234321,332234333,332234345,332234443,332234455,332234545,332234565,332321001,332321100,332321112,332321210,332321222,332321234,332322111,332322123,332322221,332322233,332322323,332322343,332323211,332323223,332323321,332323333,332323345,332323443,332323455,332332110,332332122,332332212,332332232,332332322,332332334,332333210,332333222,332333234,332333332,332333344,332333434,332333454,332334322,332334334,332334432,332334444,332334456,332334554,332334566,332343212,332343232,332343322,332343334,332343432,332343444,332343456,332344332,332344344,332344434,332344454,332344544,332344556,332345432,332345444,332345456,332345554,332345566,332345656,332345676,333210001,333210100,333210112,333211000,333211012,333211111,333211123,333211221,333211233,333212110,333212122,333212212,333212232,333212322,333212334,333221000,333221012,333221111,333221123,333221221,333221233,333222110,333222122,333222212,333222232,333222322,333222334,333223210,333223222,333223234,333223332,333223344,333223434,333223454,333232101,333232121,333232211,333232223,333232321,333232333,333232345,333233221,333233233,333233323,333233343,333233433,333233445,333234321,333234333,333234345,333234443,333234455,333234545,333234565,333321001,333321100,333321112,333321210,333321222,333321234,333322111,333322123,333322221,333322233,333322323,333322343,333323211,333323223,333323321,333323333,333323345,333323443,333323455,333332110,333332122,333332212,333332232,333332322,333332334,333333210,333333222,333333234,333333332,333333344,333333434,333333454,333334322,333334334,333334432,333334444,333334456,333334554,333334566,333343212,333343232,333343322,333343334,333343432,333343444,333343456,333344332,333344344,333344434,333344454,333344544,333344556,333345432,333345444,333345456,333345554,333345566,333345656,333345676,333432101,333432121,333432211,333432223,333432321,333432333,333432345,333433221,333433233,333433323,333433343,333433433,333433445,333434321,333434333,333434345,333434443,333434455,333434545,333434565,333443211,333443223,333443321,333443333,333443345,333443443,333443455,333444323,333444343,333444433,333444445,333444543,333444555,333444567,333445443,333445455,333445545,333445565,333445655,333445667,333454321,333454333,333454345,333454443,333454455,333454545,333454565,333455433,333455445,333455543,333455555,333455567,333455665,333455677,333456545,333456565,333456655,333456667,333456765,333456777,333456789,334321011,334321110,334321122,334321212,334321232,334322101,334322121,334322211,334322223,334322321,334322333,334322345,334323221,334323233,334323323,334323343,334323433,334323445,334332100,334332112,334332210,334332222,334332234,334332332,334332344,334333212,334333232,334333322,334333334,334333432,334333444,334333456,334334332,334334344,334334434,334334454,334334544,334334556,334343210,334343222,334343234,334343332,334343344,334343434,334343454,334344322,334344334,334344432,334344444,334344456,334344554,334344566,334345434,334345454,334345544,334345556,334345654,334345666,334345678,334432111,334432123,334432221,334432233,334432323,334432343,334433211,334433223,334433321,334433333,334433345,334433443,334433455,334434323,334434343,334434433,334434445,334434543,334434555,334434567,334443221,334443233,334443323,334443343,334443433,334443445,334444321,334444333,334444345,334444443,334444455,334444545,334444565,334445433,334445445,334445543,334445555,334445567,334445665,334445677,334454323,334454343,334454433,334454445,334454543,334454555,334454567,334455443,334455455,334455545,334455565,334455655,334455667,334456543,334456555,334456567,334456665,334456677,334456767,334456787,334543211,334543223,334543321,334543333,334543345,334543443,334543455,334544323,334544343,334544433,334544445,334544543,334544555,334544567,334545443,334545455,334545545,334545565,334545655,334545667,334554321,334554333,334554345,334554443,334554455,334554545,334554565,334555433,334555445,334555543,334555555,334555567,334555665,334555677,334556545,334556565,334556655,334556667,334556765,334556777,334556789,334565443,334565455,334565545,334565565,334565655,334565667,334566543,334566555,334566567,334566665,334566677,334566767,334566787,334567655,334567667,334567765,334567777,334567789,334567887,334567899,343210011,343210110,343210122,343211010,343211101,343211121,343211211,343211223,343212100,343212112,343212210,343212222,343212234,343212332,343212344,343221010,343221101,343221121,343221211,343221223,343222100,343222112,343222210,343222222,343222234,343222332,343222344,343223212,343223232,343223322,343223334,343223432,343223444,343223456,343232111,343232123,343232221,343232233,343232323,343232343,343233211,343233223,343233321,343233333,343233345,343233443,343233455,343234323,343234343,343234433,343234445,343234543,343234555,343234567,343321011,343321110,343321122,343321212,343321232,343322101,343322121,343322211,343322223,343322321,343322333,343322345,343323221,343323233,343323323,343323343,343323433,343323445,343332100,343332112,343332210,343332222,343332234,343332332,343332344,343333212,343333232,343333322,343333334,343333432,343333444,343333456,343334332,343334344,343334434,343334454,343334544,343334556,343343210,343343222,343343234,343343332,343343344,343343434,343343454,343344322,343344334,343344432,343344444,343344456,343344554,343344566,343345434,343345454,343345544,343345556,343345654,343345666,343345678,343432111,343432123,343432221,343432233,343432323,343432343,343433211,343433223,343433321,343433333,343433345,343433443,343433455,343434323,343434343,343434433,343434445,343434543,343434555,343434567,343443221,343443233,343443323,343443343,343443433,343443445,343444321,343444333,343444345,343444443,343444455,343444545,343444565,343445433,343445445,343445543,343445555,343445567,343445665,343445677,343454323,343454343,343454433,343454445,343454543,343454555,343454567,343455443,343455455,343455545,343455565,343455655,343455667,343456543,343456555,343456567,343456665,343456677,343456767,343456787,344321001,344321100,344321112,344321210,344321222,344321234,344322111,344322123,344322221,344322233,344322323,344322343,344323211,344323223,344323321,344323333,344323345,344323443,344323455,344332110,344332122,344332212,344332232,344332322,344332334,344333210,344333222,344333234,344333332,344333344,344333434,344333454,344334322,344334334,344334432,344334444,344334456,344334554,344334566,344343212,344343232,344343322,344343334,344343432,344343444,344343456,344344332,344344344,344344434,344344454,344344544,344344556,344345432,344345444,344345456,344345554,344345566,344345656,344345676,344432101,344432121,344432211,344432223,344432321,344432333,344432345,344433221,344433233,344433323,344433343,344433433,344433445,344434321,344434333,344434345,344434443,344434455,344434545,344434565,344443211,344443223,344443321,344443333,344443345,344443443,344443455,344444323,344444343,344444433,344444445,344444543,344444555,344444567,344445443,344445455,344445545,344445565,344445655,344445667,344454321,344454333,344454345,344454443,344454455,344454545,344454565,344455433,344455445,344455543,344455555,344455567,344455665,344455677,344456545,344456565,344456655,344456667,344456765,344456777,344456789,344543221,344543233,344543323,344543343,344543433,344543445,344544321,344544333,344544345,344544443,344544455,344544545,344544565,344545433,344545445,344545543,344545555,344545567,344545665,344545677,344554323,344554343,344554433,344554445,344554543,344554555,344554567,344555443,344555455,344555545,344555565,344555655,344555667,344556543,344556555,344556567,344556665,344556677,344556767,344556787,344565433,344565445,344565543,344565555,344565567,344565665,344565677,344566545,344566565,344566655,344566667,344566765,344566777,344566789,344567665,344567677,344567767,344567787,344567877,344567889,345432101,345432121,345432211,345432223,345432321,345432333,345432345,345433221,345433233,345433323,345433343,345433433,345433445,345434321,345434333,345434345,345434443,345434455,345434545,345434565,345443211,345443223,345443321,345443333,345443345,345443443,345443455,345444323,345444343,345444433,345444445,345444543,345444555,345444567,345445443,345445455,345445545,345445565,345445655,345445667,345454321,345454333,345454345,345454443,345454455,345454545,345454565,345455433,345455445,345455543,345455555,345455567,345455665,345455677,345456545,345456565,345456655,345456667,345456765,345456777,345456789,345543221,345543233,345543323,345543343,345543433,345543445,345544321,345544333,345544345,345544443,345544455,345544545,345544565,345545433,345545445,345545543,345545555,345545567,345545665,345545677,345554323,345554343,345554433,345554445,345554543,345554555,345554567,345555443,345555455,345555545,345555565,345555655,345555667,345556543,345556555,345556567,345556665,345556677,345556767,345556787,345565433,345565445,345565543,345565555,345565567,345565665,345565677,345566545,345566565,345566655,345566667,345566765,345566777,345566789,345567665,345567677,345567767,345567787,345567877,345567889,345654322,345654334,345654432,345654444,345654456,345654554,345654566,345655434,345655454,345655544,345655556,345655654,345655666,345655678,345656554,345656566,345656656,345656676,345656766,345656778,345665432,345665444,345665456,345665554,345665566,345665656,345665676,345666544,345666556,345666654,345666666,345666678,345666776,345666788,345667656,345667676,345667766,345667778,345667876,345667888,345676543,345676555,345676567,345676665,345676677,345676767,345676787,345677655,345677667,345677765,345677777,345677789,345677887,345677899,345678776,345678788,345678878,345678898,345678989,432100001,432100100,432100112,432101000,432101012,432101111,432101123,432101221,432101233,432110010,432110101,432110121,432111001,432111100,432111112,432111210,432111222,432111234,432112111,432112123,432112221,432112233,432112323,432112343,432121001,432121100,432121112,432121210,432121222,432121234,432122111,432122123,432122221,432122233,432122323,432122343,432123211,432123223,432123321,432123333,432123345,432123443,432123455,432210010,432210101,432210121,432211001,432211100,432211112,432211210,432211222,432211234,432212111,432212123,432212221,432212233,432212323,432212343,432221001,432221100,432221112,432221210,432221222,432221234,432222111,432222123,432222221,432222233,432222323,432222343,432223211,432223223,432223321,432223333,432223345,432223443,432223455,432232110,432232122,432232212,432232232,432232322,432232334,432233210,432233222,432233234,432233332,432233344,432233434,432233454,432234322,432234334,432234432,432234444,432234456,432234554,432234566,432321010,432321101,432321121,432321211,432321223,432322100,432322112,432322210,432322222,432322234,432322332,432322344,432323212,432323232,432323322,432323334,432323432,432323444,432323456,432332111,432332123,432332221,432332233,432332323,432332343,432333211,432333223,432333321,432333333,432333345,432333443,432333455,432334323,432334343,432334433,432334445,432334543,432334555,432334567,432343221,432343233,432343323,432343343,432343433,432343445,432344321,432344333,432344345,432344443,432344455,432344545,432344565,432345433,432345445,432345543,432345555,432345567,432345665,432345677,433210010,433210101,433210121,433211001,433211100,433211112,433211210,433211222,433211234,433212111,433212123,433212221,433212233,433212323,433212343,433221001,433221100,433221112,433221210,433221222,433221234,433222111,433222123,433222221,433222233,433222323,433222343,433223211,433223223,433223321,433223333,433223345,433223443,433223455,433232110,433232122,433232212,433232232,433232322,433232334,433233210,433233222,433233234,433233332,433233344,433233434,433233454,433234322,433234334,433234432,433234444,433234456,433234554,433234566,433321010,433321101,433321121,433321211,433321223,433322100,433322112,433322210,433322222,433322234,433322332,433322344,433323212,433323232,433323322,433323334,433323432,433323444,433323456,433332111,433332123,433332221,433332233,433332323,433332343,433333211,433333223,433333321,433333333,433333345,433333443,433333455,433334323,433334343,433334433,433334445,433334543,433334555,433334567,433343221,433343233,433343323,433343343,433343433,433343445,433344321,433344333,433344345,433344443,433344455,433344545,433344565,433345433,433345445,433345543,433345555,433345567,433345665,433345677,433432110,433432122,433432212,433432232,433432322,433432334,433433210,433433222,433433234,433433332,433433344,433433434,433433454,433434322,433434334,433434432,433434444,433434456,433434554,433434566,433443212,433443232,433443322,433443334,433443432,433443444,433443456,433444332,433444344,433444434,433444454,433444544,433444556,433445432,433445444,433445456,433445554,433445566,433445656,433445676,433454322,433454334,433454432,433454444,433454456,433454554,433454566,433455434,433455454,433455544,433455556,433455654,433455666,433455678,433456554,433456566,433456656,433456676,433456766,433456778,434321000,434321012,434321111,434321123,434321221,434321233,434322110,434322122,434322212,434322232,434322322,434322334,434323210,434323222,434323234,434323332,434323344,434323434,434323454,434332101,434332121,434332211,434332223,434332321,434332333,434332345,434333221,434333233,434333323,434333343,434333433,434333445,434334321,434334333,434334345,434334443,434334455,434334545,434334565,434343211,434343223,434343321,434343333,434343345,434343443,434343455,434344323,434344343,434344433,434344445,434344543,434344555,434344567,434345443,434345455,434345545,434345565,434345655,434345667,434432100,434432112,434432210,434432222,434432234,434432332,434432344,434433212,434433232,434433322,434433334,434433432,434433444,434433456,434434332,434434344,434434434,434434454,434434544,434434556,434443210,434443222,434443234,434443332,434443344,434443434,434443454,434444322,434444334,434444432,434444444,434444456,434444554,434444566,434445434,434445454,434445544,434445556,434445654,434445666,434445678,434454332,434454344,434454434,434454454,434454544,434454556,434455432,434455444,434455456,434455554,434455566,434455656,434455676,434456544,434456556,434456654,434456666,434456678,434456776,434456788,434543212,434543232,434543322,434543334,434543432,434543444,434543456,434544332,434544344,434544434,434544454,434544544,434544556,434545432,434545444,434545456,434545554,434545566,434545656,434545676,434554322,434554334,434554432,434554444,434554456,434554554,434554566,434555434,434555454,434555544,434555556,434555654,434555666,434555678,434556554,434556566,434556656,434556676,434556766,434556778,434565432,434565444,434565456,434565554,434565566,434565656,434565676,434566544,434566556,434566654,434566666,434566678,434566776,434566788,434567656,434567676,434567766,434567778,434567876,434567888,443210000,443210012,443210111,443210123,443211011,443211110,443211122,443211212,443211232,443212101,443212121,443212211,443212223,443212321,443212333,443212345,443221011,443221110,443221122,443221212,443221232,443222101,443222121,443222211,443222223,443222321,443222333,443222345,443223221,443223233,443223323,443223343,443223433,443223445,443232100,443232112,443232210,443232222,443232234,443232332,443232344,443233212,443233232,443233322,443233334,443233432,443233444,443233456,443234332,443234344,443234434,443234454,443234544,443234556,443321000,443321012,443321111,443321123,443321221,443321233,443322110,443322122,443322212,443322232,443322322,443322334,443323210,443323222,443323234,443323332,443323344,443323434,443323454,443332101,443332121,443332211,443332223,443332321,443332333,443332345,443333221,443333233,443333323,443333343,443333433,443333445,443334321,443334333,443334345,443334443,443334455,443334545,443334565,443343211,443343223,443343321,443343333,443343345,443343443,443343455,443344323,443344343,443344433,443344445,443344543,443344555,443344567,443345443,443345455,443345545,443345565,443345655,443345667,443432100,443432112,443432210,443432222,443432234,443432332,443432344,443433212,443433232,443433322,443433334,443433432,443433444,443433456,443434332,443434344,443434434,443434454,443434544,443434556,443443210,443443222,443443234,443443332,443443344,443443434,443443454,443444322,443444334,443444432,443444444,443444456,443444554,443444566,443445434,443445454,443445544,443445556,443445654,443445666,443445678,443454332,443454344,443454434,443454454,443454544,443454556,443455432,443455444,443455456,443455554,443455566,443455656,443455676,443456544,443456556,443456654,443456666,443456678,443456776,443456788,444321010,444321101,444321121,444321211,444321223,444322100,444322112,444322210,444322222,444322234,444322332,444322344,444323212,444323232,444323322,444323334,444323432,444323444,444323456,444332111,444332123,444332221,444332233,444332323,444332343,444333211,444333223,444333321,444333333,444333345,444333443,444333455,444334323,444334343,444334433,444334445,444334543,444334555,444334567,444343221,444343233,444343323,444343343,444343433,444343445,444344321,444344333,444344345,444344443,444344455,444344545,444344565,444345433,444345445,444345543,444345555,444345567,444345665,444345677,444432110,444432122,444432212,444432232,444432322,444432334,444433210,444433222,444433234,444433332,444433344,444433434,444433454,444434322,444434334,444434432,444434444,444434456,444434554,444434566,444443212,444443232,444443322,444443334,444443432,444443444,444443456,444444332,444444344,444444434,444444454,444444544,444444556,444445432,444445444,444445456,444445554,444445566,444445656,444445676,444454322,444454334,444454432,444454444,444454456,444454554,444454566,444455434,444455454,444455544,444455556,444455654,444455666,444455678,444456554,444456566,444456656,444456676,444456766,444456778,444543210,444543222,444543234,444543332,444543344,444543434,444543454,444544322,444544334,444544432,444544444,444544456,444544554,444544566,444545434,444545454,444545544,444545556,444545654,444545666,444545678,444554332,444554344,444554434,444554454,444554544,444554556,444555432,444555444,444555456,444555554,444555566,444555656,444555676,444556544,444556556,444556654,444556666,444556678,444556776,444556788,444565434,444565454,444565544,444565556,444565654,444565666,444565678,444566554,444566566,444566656,444566676,444566766,444566778,444567654,444567666,444567678,444567776,444567788,444567878,444567898,445432110,445432122,445432212,445432232,445432322,445432334,445433210,445433222,445433234,445433332,445433344,445433434,445433454,445434322,445434334,445434432,445434444,445434456,445434554,445434566,445443212,445443232,445443322,445443334,445443432,445443444,445443456,445444332,445444344,445444434,445444454,445444544,445444556,445445432,445445444,445445456,445445554,445445566,445445656,445445676,445454322,445454334,445454432,445454444,445454456,445454554,445454566,445455434,445455454,445455544,445455556,445455654,445455666,445455678,445456554,445456566,445456656,445456676,445456766,445456778,445543210,445543222,445543234,445543332,445543344,445543434,445543454,445544322,445544334,445544432,445544444,445544456,445544554,445544566,445545434,445545454,445545544,445545556,445545654,445545666,445545678,445554332,445554344,445554434,445554454,445554544,445554556,445555432,445555444,445555456,445555554,445555566,445555656,445555676,445556544,445556556,445556654,445556666,445556678,445556776,445556788,445565434,445565454,445565544,445565556,445565654,445565666,445565678,445566554,445566566,445566656,445566676,445566766,445566778,445567654,445567666,445567678,445567776,445567788,445567878,445567898,445654323,445654343,445654433,445654445,445654543,445654555,445654567,445655443,445655455,445655545,445655565,445655655,445655667,445656543,445656555,445656567,445656665,445656677,445656767,445656787,445665433,445665445,445665543,445665555,445665567,445665665,445665677,445666545,445666565,445666655,445666667,445666765,445666777,445666789,445667665,445667677,445667767,445667787,445667877,445667889,445676544,445676556,445676654,445676666,445676678,445676776,445676788,445677656,445677676,445677766,445677778,445677876,445677888,445678765,445678777,445678789,445678887,445678899,445678998,454321010,454321101,454321121,454321211,454321223,454322100,454322112,454322210,454322222,454322234,454322332,454322344,454323212,454323232,454323322,454323334,454323432,454323444,454323456,454332111,454332123,454332221,454332233,454332323,454332343,454333211,454333223,454333321,454333333,454333345,454333443,454333455,454334323,454334343,454334433,454334445,454334543,454334555,454334567,454343221,454343233,454343323,454343343,454343433,454343445,454344321,454344333,454344345,454344443,454344455,454344545,454344565,454345433,454345445,454345543,454345555,454345567,454345665,454345677,454432110,454432122,454432212,454432232,454432322,454432334,454433210,454433222,454433234,454433332,454433344,454433434,454433454,454434322,454434334,454434432,454434444,454434456,454434554,454434566,454443212,454443232,454443322,454443334,454443432,454443444,454443456,454444332,454444344,454444434,454444454,454444544,454444556,454445432,454445444,454445456,454445554,454445566,454445656,454445676,454454322,454454334,454454432,454454444,454454456,454454554,454454566,454455434,454455454,454455544,454455556,454455654,454455666,454455678,454456554,454456566,454456656,454456676,454456766,454456778,454543210,454543222,454543234,454543332,454543344,454543434,454543454,454544322,454544334,454544432,454544444,454544456,454544554,454544566,454545434,454545454,454545544,454545556,454545654,454545666,454545678,454554332,454554344,454554434,454554454,454554544,454554556,454555432,454555444,454555456,454555554,454555566,454555656,454555676,454556544,454556556,454556654,454556666,454556678,454556776,454556788,454565434,454565454,454565544,454565556,454565654,454565666,454565678,454566554,454566566,454566656,454566676,454566766,454566778,454567654,454567666,454567678,454567776,454567788,454567878,454567898,455432110,455432122,455432212,455432232,455432322,455432334,455433210,455433222,455433234,455433332,455433344,455433434,455433454,455434322,455434334,455434432,455434444,455434456,455434554,455434566,455443212,455443232,455443322,455443334,455443432,455443444,455443456,455444332,455444344,455444434,455444454,455444544,455444556,455445432,455445444,455445456,455445554,455445566,455445656,455445676,455454322,455454334,455454432,455454444,455454456,455454554,455454566,455455434,455455454,455455544,455455556,455455654,455455666,455455678,455456554,455456566,455456656,455456676,455456766,455456778,455543210,455543222,455543234,455543332,455543344,455543434,455543454,455544322,455544334,455544432,455544444,455544456,455544554,455544566,455545434,455545454,455545544,455545556,455545654,455545666,455545678,455554332,455554344,455554434,455554454,455554544,455554556,455555432,455555444,455555456,455555554,455555566,455555656,455555676,455556544,455556556,455556654,455556666,455556678,455556776,455556788,455565434,455565454,455565544,455565556,455565654,455565666,455565678,455566554,455566566,455566656,455566676,455566766,455566778,455567654,455567666,455567678,455567776,455567788,455567878,455567898,455654323,455654343,455654433,455654445,455654543,455654555,455654567,455655443,455655455,455655545,455655565,455655655,455655667,455656543,455656555,455656567,455656665,455656677,455656767,455656787,455665433,455665445,455665543,455665555,455665567,455665665,455665677,455666545,455666565,455666655,455666667,455666765,455666777,455666789,455667665,455667677,455667767,455667787,455667877,455667889,455676544,455676556,455676654,455676666,455676678,455676776,455676788,455677656,455677676,455677766,455677778,455677876,455677888,455678765,455678777,455678789,455678887,455678899,455678998,456543212,456543232,456543322,456543334,456543432,456543444,456543456,456544332,456544344,456544434,456544454,456544544,456544556,456545432,456545444,456545456,456545554,456545566,456545656,456545676,456554322,456554334,456554432,456554444,456554456,456554554,456554566,456555434,456555454,456555544,456555556,456555654,456555666,456555678,456556554,456556566,456556656,456556676,456556766,456556778,456565432,456565444,456565456,456565554,456565566,456565656,456565676,456566544,456566556,456566654,456566666,456566678,456566776,456566788,456567656,456567676,456567766,456567778,456567876,456567888,456654321,456654333,456654345,456654443,456654455,456654545,456654565,456655433,456655445,456655543,456655555,456655567,456655665,456655677,456656545,456656565,456656655,456656667,456656765,456656777,456656789,456665443,456665455,456665545,456665565,456665655,456665667,456666543,456666555,456666567,456666665,456666677,456666767,456666787,456667655,456667667,456667765,456667777,456667789,456667887,456667899,456676554,456676566,456676656,456676676,456676766,456676778,456677654,456677666,456677678,456677776,456677788,456677878,456677898,456678767,456678787,456678877,456678889,456678988,456765432,456765444,456765456,456765554,456765566,456765656,456765676,456766544,456766556,456766654,456766666,456766678,456766776,456766788,456767656,456767676,456767766,456767778,456767876,456767888,456776543,456776555,456776567,456776665,456776677,456776767,456776787,456777655,456777667,456777765,456777777,456777789,456777887,456777899,456778776,456778788,456778878,456778898,456778989,456787655,456787667,456787765,456787777,456787789,456787887,456787899,456788776,456788788,456788878,456788898,456788989,456789877,456789889,456789988,543210000,543210012,543210111,543210123,543211011,543211110,543211122,543211212,543211232,543212101,543212121,543212211,543212223,543212321,543212333,543212345,543221011,543221110,543221122,543221212,543221232,543222101,543222121,543222211,543222223,543222321,543222333,543222345,543223221,543223233,543223323,543223343,543223433,543223445,543232100,543232112,543232210,543232222,543232234,543232332,543232344,543233212,543233232,543233322,543233334,543233432,543233444,543233456,543234332,543234344,543234434,543234454,543234544,543234556,543321000,543321012,543321111,543321123,543321221,543321233,543322110,543322122,543322212,543322232,543322322,543322334,543323210,543323222,543323234,543323332,543323344,543323434,543323454,543332101,543332121,543332211,543332223,543332321,543332333,543332345,543333221,543333233,543333323,543333343,543333433,543333445,543334321,543334333,543334345,543334443,543334455,543334545,543334565,543343211,543343223,543343321,543343333,543343345,543343443,543343455,543344323,543344343,543344433,543344445,543344543,543344555,543344567,543345443,543345455,543345545,543345565,543345655,543345667,543432100,543432112,543432210,543432222,543432234,543432332,543432344,543433212,543433232,543433322,543433334,543433432,543433444,543433456,543434332,543434344,543434434,543434454,543434544,543434556,543443210,543443222,543443234,543443332,543443344,543443434,543443454,543444322,543444334,543444432,543444444,543444456,543444554,543444566,543445434,543445454,543445544,543445556,543445654,543445666,543445678,543454332,543454344,543454434,543454454,543454544,543454556,543455432,543455444,543455456,543455554,543455566,543455656,543455676,543456544,543456556,543456654,543456666,543456678,543456776,543456788,544321010,544321101,544321121,544321211,544321223,544322100,544322112,544322210,544322222,544322234,544322332,544322344,544323212,544323232,544323322,544323334,544323432,544323444,544323456,544332111,544332123,544332221,544332233,544332323,544332343,544333211,544333223,544333321,544333333,544333345,544333443,544333455,544334323,544334343,544334433,544334445,544334543,544334555,544334567,544343221,544343233,544343323,544343343,544343433,544343445,544344321,544344333,544344345,544344443,544344455,544344545,544344565,544345433,544345445,544345543,544345555,544345567,544345665,544345677,544432110,544432122,544432212,544432232,544432322,544432334,544433210,544433222,544433234,544433332,544433344,544433434,544433454,544434322,544434334,544434432,544434444,544434456,544434554,544434566,544443212,544443232,544443322,544443334,544443432,544443444,544443456,544444332,544444344,544444434,544444454,544444544,544444556,544445432,544445444,544445456,544445554,544445566,544445656,544445676,544454322,544454334,544454432,544454444,544454456,544454554,544454566,544455434,544455454,544455544,544455556,544455654,544455666,544455678,544456554,544456566,544456656,544456676,544456766,544456778,544543210,544543222,544543234,544543332,544543344,544543434,544543454,544544322,544544334,544544432,544544444,544544456,544544554,544544566,544545434,544545454,544545544,544545556,544545654,544545666,544545678,544554332,544554344,544554434,544554454,544554544,544554556,544555432,544555444,544555456,544555554,544555566,544555656,544555676,544556544,544556556,544556654,544556666,544556678,544556776,544556788,544565434,544565454,544565544,544565556,544565654,544565666,544565678,544566554,544566566,544566656,544566676,544566766,544566778,544567654,544567666,544567678,544567776,544567788,544567878,544567898,545432110,545432122,545432212,545432232,545432322,545432334,545433210,545433222,545433234,545433332,545433344,545433434,545433454,545434322,545434334,545434432,545434444,545434456,545434554,545434566,545443212,545443232,545443322,545443334,545443432,545443444,545443456,545444332,545444344,545444434,545444454,545444544,545444556,545445432,545445444,545445456,545445554,545445566,545445656,545445676,545454322,545454334,545454432,545454444,545454456,545454554,545454566,545455434,545455454,545455544,545455556,545455654,545455666,545455678,545456554,545456566,545456656,545456676,545456766,545456778,545543210,545543222,545543234,545543332,545543344,545543434,545543454,545544322,545544334,545544432,545544444,545544456,545544554,545544566,545545434,545545454,545545544,545545556,545545654,545545666,545545678,545554332,545554344,545554434,545554454,545554544,545554556,545555432,545555444,545555456,545555554,545555566,545555656,545555676,545556544,545556556,545556654,545556666,545556678,545556776,545556788,545565434,545565454,545565544,545565556,545565654,545565666,545565678,545566554,545566566,545566656,545566676,545566766,545566778,545567654,545567666,545567678,545567776,545567788,545567878,545567898,545654323,545654343,545654433,545654445,545654543,545654555,545654567,545655443,545655455,545655545,545655565,545655655,545655667,545656543,545656555,545656567,545656665,545656677,545656767,545656787,545665433,545665445,545665543,545665555,545665567,545665665,545665677,545666545,545666565,545666655,545666667,545666765,545666777,545666789,545667665,545667677,545667767,545667787,545667877,545667889,545676544,545676556,545676654,545676666,545676678,545676776,545676788,545677656,545677676,545677766,545677778,545677876,545677888,545678765,545678777,545678789,545678887,545678899,545678998,554321010,554321101,554321121,554321211,554321223,554322100,554322112,554322210,554322222,554322234,554322332,554322344,554323212,554323232,554323322,554323334,554323432,554323444,554323456,554332111,554332123,554332221,554332233,554332323,554332343,554333211,554333223,554333321,554333333,554333345,554333443,554333455,554334323,554334343,554334433,554334445,554334543,554334555,554334567,554343221,554343233,554343323,554343343,554343433,554343445,554344321,554344333,554344345,554344443,554344455,554344545,554344565,554345433,554345445,554345543,554345555,554345567,554345665,554345677,554432110,554432122,554432212,554432232,554432322,554432334,554433210,554433222,554433234,554433332,554433344,554433434,554433454,554434322,554434334,554434432,554434444,554434456,554434554,554434566,554443212,554443232,554443322,554443334,554443432,554443444,554443456,554444332,554444344,554444434,554444454,554444544,554444556,554445432,554445444,554445456,554445554,554445566,554445656,554445676,554454322,554454334,554454432,554454444,554454456,554454554,554454566,554455434,554455454,554455544,554455556,554455654,554455666,554455678,554456554,554456566,554456656,554456676,554456766,554456778,554543210,554543222,554543234,554543332,554543344,554543434,554543454,554544322,554544334,554544432,554544444,554544456,554544554,554544566,554545434,554545454,554545544,554545556,554545654,554545666,554545678,554554332,554554344,554554434,554554454,554554544,554554556,554555432,554555444,554555456,554555554,554555566,554555656,554555676,554556544,554556556,554556654,554556666,554556678,554556776,554556788,554565434,554565454,554565544,554565556,554565654,554565666,554565678,554566554,554566566,554566656,554566676,554566766,554566778,554567654,554567666,554567678,554567776,554567788,554567878,554567898,555432110,555432122,555432212,555432232,555432322,555432334,555433210,555433222,555433234,555433332,555433344,555433434,555433454,555434322,555434334,555434432,555434444,555434456,555434554,555434566,555443212,555443232,555443322,555443334,555443432,555443444,555443456,555444332,555444344,555444434,555444454,555444544,555444556,555445432,555445444,555445456,555445554,555445566,555445656,555445676,555454322,555454334,555454432,555454444,555454456,555454554,555454566,555455434,555455454,555455544,555455556,555455654,555455666,555455678,555456554,555456566,555456656,555456676,555456766,555456778,555543210,555543222,555543234,555543332,555543344,555543434,555543454,555544322,555544334,555544432,555544444,555544456,555544554,555544566,555545434,555545454,555545544,555545556,555545654,555545666,555545678,555554332,555554344,555554434,555554454,555554544,555554556,555555432,555555444,555555456,555555554,555555566,555555656,555555676,555556544,555556556,555556654,555556666,555556678,555556776,555556788,555565434,555565454,555565544,555565556,555565654,555565666,555565678,555566554,555566566,555566656,555566676,555566766,555566778,555567654,555567666,555567678,555567776,555567788,555567878,555567898,555654323,555654343,555654433,555654445,555654543,555654555,555654567,555655443,555655455,555655545,555655565,555655655,555655667,555656543,555656555,555656567,555656665,555656677,555656767,555656787,555665433,555665445,555665543,555665555,555665567,555665665,555665677,555666545,555666565,555666655,555666667,555666765,555666777,555666789,555667665,555667677,555667767,555667787,555667877,555667889,555676544,555676556,555676654,555676666,555676678,555676776,555676788,555677656,555677676,555677766,555677778,555677876,555677888,555678765,555678777,555678789,555678887,555678899,555678998,556543212,556543232,556543322,556543334,556543432,556543444,556543456,556544332,556544344,556544434,556544454,556544544,556544556,556545432,556545444,556545456,556545554,556545566,556545656,556545676,556554322,556554334,556554432,556554444,556554456,556554554,556554566,556555434,556555454,556555544,556555556,556555654,556555666,556555678,556556554,556556566,556556656,556556676,556556766,556556778,556565432,556565444,556565456,556565554,556565566,556565656,556565676,556566544,556566556,556566654,556566666,556566678,556566776,556566788,556567656,556567676,556567766,556567778,556567876,556567888,556654321,556654333,556654345,556654443,556654455,556654545,556654565,556655433,556655445,556655543,556655555,556655567,556655665,556655677,556656545,556656565,556656655,556656667,556656765,556656777,556656789,556665443,556665455,556665545,556665565,556665655,556665667,556666543,556666555,556666567,556666665,556666677,556666767,556666787,556667655,556667667,556667765,556667777,556667789,556667887,556667899,556676554,556676566,556676656,556676676,556676766,556676778,556677654,556677666,556677678,556677776,556677788,556677878,556677898,556678767,556678787,556678877,556678889,556678988,556765432,556765444,556765456,556765554,556765566,556765656,556765676,556766544,556766556,556766654,556766666,556766678,556766776,556766788,556767656,556767676,556767766,556767778,556767876,556767888,556776543,556776555,556776567,556776665,556776677,556776767,556776787,556777655,556777667,556777765,556777777,556777789,556777887,556777899,556778776,556778788,556778878,556778898,556778989,556787655,556787667,556787765,556787777,556787789,556787887,556787899,556788776,556788788,556788878,556788898,556788989,556789877,556789889,556789988,565432100,565432112,565432210,565432222,565432234,565432332,565432344,565433212,565433232,565433322,565433334,565433432,565433444,565433456,565434332,565434344,565434434,565434454,565434544,565434556,565443210,565443222,565443234,565443332,565443344,565443434,565443454,565444322,565444334,565444432,565444444,565444456,565444554,565444566,565445434,565445454,565445544,565445556,565445654,565445666,565445678,565454332,565454344,565454434,565454454,565454544,565454556,565455432,565455444,565455456,565455554,565455566,565455656,565455676,565456544,565456556,565456654,565456666,565456678,565456776,565456788,565543212,565543232,565543322,565543334,565543432,565543444,565543456,565544332,565544344,565544434,565544454,565544544,565544556,565545432,565545444,565545456,565545554,565545566,565545656,565545676,565554322,565554334,565554432,565554444,565554456,565554554,565554566,565555434,565555454,565555544,565555556,565555654,565555666,565555678,565556554,565556566,565556656,565556676,565556766,565556778,565565432,565565444,565565456,565565554,565565566,565565656,565565676,565566544,565566556,565566654,565566666,565566678,565566776,565566788,565567656,565567676,565567766,565567778,565567876,565567888,565654321,565654333,565654345,565654443,565654455,565654545,565654565,565655433,565655445,565655543,565655555,565655567,565655665,565655677,565656545,565656565,565656655,565656667,565656765,565656777,565656789,565665443,565665455,565665545,565665565,565665655,565665667,565666543,565666555,565666567,565666665,565666677,565666767,565666787,565667655,565667667,565667765,565667777,565667789,565667887,565667899,565676554,565676566,565676656,565676676,565676766,565676778,565677654,565677666,565677678,565677776,565677788,565677878,565677898,565678767,565678787,565678877,565678889,565678988,566543210,566543222,566543234,566543332,566543344,566543434,566543454,566544322,566544334,566544432,566544444,566544456,566544554,566544566,566545434,566545454,566545544,566545556,566545654,566545666,566545678,566554332,566554344,566554434,566554454,566554544,566554556,566555432,566555444,566555456,566555554,566555566,566555656,566555676,566556544,566556556,566556654,566556666,566556678,566556776,566556788,566565434,566565454,566565544,566565556,566565654,566565666,566565678,566566554,566566566,566566656,566566676,566566766,566566778,566567654,566567666,566567678,566567776,566567788,566567878,566567898,566654323,566654343,566654433,566654445,566654543,566654555,566654567,566655443,566655455,566655545,566655565,566655655,566655667,566656543,566656555,566656567,566656665,566656677,566656767,566656787,566665433,566665445,566665543,566665555,566665567,566665665,566665677,566666545,566666565,566666655,566666667,566666765,566666777,566666789,566667665,566667677,566667767,566667787,566667877,566667889,566676544,566676556,566676654,566676666,566676678,566676776,566676788,566677656,566677676,566677766,566677778,566677876,566677888,566678765,566678777,566678789,566678887,566678899,566678998,566765434,566765454,566765544,566765556,566765654,566765666,566765678,566766554,566766566,566766656,566766676,566766766,566766778,566767654,566767666,566767678,566767776,566767788,566767878,566767898,566776545,566776565,566776655,566776667,566776765,566776777,566776789,566777665,566777677,566777767,566777787,566777877,566777889,566778766,566778778,566778876,566778888,566778987,566778999,566787665,566787677,566787767,566787787,566787877,566787889,566788766,566788778,566788876,566788888,566788987,566788999,566789887,566789899,566789998,567654323,567654343,567654433,567654445,567654543,567654555,567654567,567655443,567655455,567655545,567655565,567655655,567655667,567656543,567656555,567656567,567656665,567656677,567656767,567656787,567665433,567665445,567665543,567665555,567665567,567665665,567665677,567666545,567666565,567666655,567666667,567666765,567666777,567666789,567667665,567667677,567667767,567667787,567667877,567667889,567676544,567676556,567676654,567676666,567676678,567676776,567676788,567677656,567677676,567677766,567677778,567677876,567677888,567678765,567678777,567678789,567678887,567678899,567678998,567765434,567765454,567765544,567765556,567765654,567765666,567765678,567766554,567766566,567766656,567766676,567766766,567766778,567767654,567767666,567767678,567767776,567767788,567767878,567767898,567776545,567776565,567776655,567776667,567776765,567776777,567776789,567777665,567777677,567777767,567777787,567777877,567777889,567778766,567778778,567778876,567778888,567778987,567778999,567787665,567787677,567787767,567787787,567787877,567787889,567788766,567788778,567788876,567788888,567788987,567788999,567789887,567789899,567789998,567876545,567876565,567876655,567876667,567876765,567876777,567876789,567877665,567877677,567877767,567877787,567877877,567877889,567878766,567878778,567878876,567878888,567878987,567878999,567887665,567887677,567887767,567887787,567887877,567887889,567888766,567888778,567888876,567888888,567888987,567888999,567889887,567889899,567889998,567898767,567898787,567898877,567898889,567898988,567899876,567899888,567899987,567899999,654321011,654321110,654321122,654321212,654321232,654322101,654322121,654322211,654322223,654322321,654322333,654322345,654323221,654323233,654323323,654323343,654323433,654323445,654332100,654332112,654332210,654332222,654332234,654332332,654332344,654333212,654333232,654333322,654333334,654333432,654333444,654333456,654334332,654334344,654334434,654334454,654334544,654334556,654343210,654343222,654343234,654343332,654343344,654343434,654343454,654344322,654344334,654344432,654344444,654344456,654344554,654344566,654345434,654345454,654345544,654345556,654345654,654345666,654345678,654432111,654432123,654432221,654432233,654432323,654432343,654433211,654433223,654433321,654433333,654433345,654433443,654433455,654434323,654434343,654434433,654434445,654434543,654434555,654434567,654443221,654443233,654443323,654443343,654443433,654443445,654444321,654444333,654444345,654444443,654444455,654444545,654444565,654445433,654445445,654445543,654445555,654445567,654445665,654445677,654454323,654454343,654454433,654454445,654454543,654454555,654454567,654455443,654455455,654455545,654455565,654455655,654455667,654456543,654456555,654456567,654456665,654456677,654456767,654456787,654543211,654543223,654543321,654543333,654543345,654543443,654543455,654544323,654544343,654544433,654544445,654544543,654544555,654544567,654545443,654545455,654545545,654545565,654545655,654545667,654554321,654554333,654554345,654554443,654554455,654554545,654554565,654555433,654555445,654555543,654555555,654555567,654555665,654555677,654556545,654556565,654556655,654556667,654556765,654556777,654556789,654565443,654565455,654565545,654565565,654565655,654565667,654566543,654566555,654566567,654566665,654566677,654566767,654566787,654567655,654567667,654567765,654567777,654567789,654567887,654567899,655432111,655432123,655432221,655432233,655432323,655432343,655433211,655433223,655433321,655433333,655433345,655433443,655433455,655434323,655434343,655434433,655434445,655434543,655434555,655434567,655443221,655443233,655443323,655443343,655443433,655443445,655444321,655444333,655444345,655444443,655444455,655444545,655444565,655445433,655445445,655445543,655445555,655445567,655445665,655445677,655454323,655454343,655454433,655454445,655454543,655454555,655454567,655455443,655455455,655455545,655455565,655455655,655455667,655456543,655456555,655456567,655456665,655456677,655456767,655456787,655543211,655543223,655543321,655543333,655543345,655543443,655543455,655544323,655544343,655544433,655544445,655544543,655544555,655544567,655545443,655545455,655545545,655545565,655545655,655545667,655554321,655554333,655554345,655554443,655554455,655554545,655554565,655555433,655555445,655555543,655555555,655555567,655555665,655555677,655556545,655556565,655556655,655556667,655556765,655556777,655556789,655565443,655565455,655565545,655565565,655565655,655565667,655566543,655566555,655566567,655566665,655566677,655566767,655566787,655567655,655567667,655567765,655567777,655567789,655567887,655567899,655654332,655654344,655654434,655654454,655654544,655654556,655655432,655655444,655655456,655655554,655655566,655655656,655655676,655656544,655656556,655656654,655656666,655656678,655656776,655656788,655665434,655665454,655665544,655665556,655665654,655665666,655665678,655666554,655666566,655666656,655666676,655666766,655666778,655667654,655667666,655667678,655667776,655667788,655667878,655667898,655676545,655676565,655676655,655676667,655676765,655676777,655676789,655677665,655677677,655677767,655677787,655677877,655677889,655678766,655678778,655678876,655678888,655678987,655678999,656543221,656543233,656543323,656543343,656543433,656543445,656544321,656544333,656544345,656544443,656544455,656544545,656544565,656545433,656545445,656545543,656545555,656545567,656545665,656545677,656554323,656554343,656554433,656554445,656554543,656554555,656554567,656555443,656555455,656555545,656555565,656555655,656555667,656556543,656556555,656556567,656556665,656556677,656556767,656556787,656565433,656565445,656565543,656565555,656565567,656565665,656565677,656566545,656566565,656566655,656566667,656566765,656566777,656566789,656567665,656567677,656567767,656567787,656567877,656567889,656654322,656654334,656654432,656654444,656654456,656654554,656654566,656655434,656655454,656655544,656655556,656655654,656655666,656655678,656656554,656656566,656656656,656656676,656656766,656656778,656665432,656665444,656665456,656665554,656665566,656665656,656665676,656666544,656666556,656666654,656666666,656666678,656666776,656666788,656667656,656667676,656667766,656667778,656667876,656667888,656676543,656676555,656676567,656676665,656676677,656676767,656676787,656677655,656677667,656677765,656677777,656677789,656677887,656677899,656678776,656678788,656678878,656678898,656678989,656765433,656765445,656765543,656765555,656765567,656765665,656765677,656766545,656766565,656766655,656766667,656766765,656766777,656766789,656767665,656767677,656767767,656767787,656767877,656767889,656776544,656776556,656776654,656776666,656776678,656776776,656776788,656777656,656777676,656777766,656777778,656777876,656777888,656778765,656778777,656778789,656778887,656778899,656778998,656787656,656787676,656787766,656787778,656787876,656787888,656788765,656788777,656788789,656788887,656788899,656788998,656789878,656789898,656789989,665432101,665432121,665432211,665432223,665432321,665432333,665432345,665433221,665433233,665433323,665433343,665433433,665433445,665434321,665434333,665434345,665434443,665434455,665434545,665434565,665443211,665443223,665443321,665443333,665443345,665443443,665443455,665444323,665444343,665444433,665444445,665444543,665444555,665444567,665445443,665445455,665445545,665445565,665445655,665445667,665454321,665454333,665454345,665454443,665454455,665454545,665454565,665455433,665455445,665455543,665455555,665455567,665455665,665455677,665456545,665456565,665456655,665456667,665456765,665456777,665456789,665543221,665543233,665543323,665543343,665543433,665543445,665544321,665544333,665544345,665544443,665544455,665544545,665544565,665545433,665545445,665545543,665545555,665545567,665545665,665545677,665554323,665554343,665554433,665554445,665554543,665554555,665554567,665555443,665555455,665555545,665555565,665555655,665555667,665556543,665556555,665556567,665556665,665556677,665556767,665556787,665565433,665565445,665565543,665565555,665565567,665565665,665565677,665566545,665566565,665566655,665566667,665566765,665566777,665566789,665567665,665567677,665567767,665567787,665567877,665567889,665654322,665654334,665654432,665654444,665654456,665654554,665654566,665655434,665655454,665655544,665655556,665655654,665655666,665655678,665656554,665656566,665656656,665656676,665656766,665656778,665665432,665665444,665665456,665665554,665665566,665665656,665665676,665666544,665666556,665666654,665666666,665666678,665666776,665666788,665667656,665667676,665667766,665667778,665667876,665667888,665676543,665676555,665676567,665676665,665676677,665676767,665676787,665677655,665677667,665677765,665677777,665677789,665677887,665677899,665678776,665678788,665678878,665678898,665678989,666543211,666543223,666543321,666543333,666543345,666543443,666543455,666544323,666544343,666544433,666544445,666544543,666544555,666544567,666545443,666545455,666545545,666545565,666545655,666545667,666554321,666554333,666554345,666554443,666554455,666554545,666554565,666555433,666555445,666555543,666555555,666555567,666555665,666555677,666556545,666556565,666556655,666556667,666556765,666556777,666556789,666565443,666565455,666565545,666565565,666565655,666565667,666566543,666566555,666566567,666566665,666566677,666566767,666566787,666567655,666567667,666567765,666567777,666567789,666567887,666567899,666654332,666654344,666654434,666654454,666654544,666654556,666655432,666655444,666655456,666655554,666655566,666655656,666655676,666656544,666656556,666656654,666656666,666656678,666656776,666656788,666665434,666665454,666665544,666665556,666665654,666665666,666665678,666666554,666666566,666666656,666666676,666666766,666666778,666667654,666667666,666667678,666667776,666667788,666667878,666667898,666676545,666676565,666676655,666676667,666676765,666676777,666676789,666677665,666677677,666677767,666677787,666677877,666677889,666678766,666678778,666678876,666678888,666678987,666678999,666765443,666765455,666765545,666765565,666765655,666765667,666766543,666766555,666766567,666766665,666766677,666766767,666766787,666767655,666767667,666767765,666767777,666767789,666767887,666767899,666776554,666776566,666776656,666776676,666776766,666776778,666777654,666777666,666777678,666777776,666777788,666777878,666777898,666778767,666778787,666778877,666778889,666778988,666787654,666787666,666787678,666787776,666787788,666787878,666787898,666788767,666788787,666788877,666788889,666788988,666789876,666789888,666789987,666789999,667654332,667654344,667654434,667654454,667654544,667654556,667655432,667655444,667655456,667655554,667655566,667655656,667655676,667656544,667656556,667656654,667656666,667656678,667656776,667656788,667665434,667665454,667665544,667665556,667665654,667665666,667665678,667666554,667666566,667666656,667666676,667666766,667666778,667667654,667667666,667667678,667667776,667667788,667667878,667667898,667676545,667676565,667676655,667676667,667676765,667676777,667676789,667677665,667677677,667677767,667677787,667677877,667677889,667678766,667678778,667678876,667678888,667678987,667678999,667765443,667765455,667765545,667765565,667765655,667765667,667766543,667766555,667766567,667766665,667766677,667766767,667766787,667767655,667767667,667767765,667767777,667767789,667767887,667767899,667776554,667776566,667776656,667776676,667776766,667776778,667777654,667777666,667777678,667777776,667777788,667777878,667777898,667778767,667778787,667778877,667778889,667778988,667787654,667787666,667787678,667787776,667787788,667787878,667787898,667788767,667788787,667788877,667788889,667788988,667789876,667789888,667789987,667789999,667876554,667876566,667876656,667876676,667876766,667876778,667877654,667877666,667877678,667877776,667877788,667877878,667877898,667878767,667878787,667878877,667878889,667878988,667887654,667887666,667887678,667887776,667887788,667887878,667887898,667888767,667888787,667888877,667888889,667888988,667889876,667889888,667889987,667889999,667898776,667898788,667898878,667898898,667898989,667899877,667899889,667899988,676543210,676543222,676543234,676543332,676543344,676543434,676543454,676544322,676544334,676544432,676544444,676544456,676544554,676544566,676545434,676545454,676545544,676545556,676545654,676545666,676545678,676554332,676554344,676554434,676554454,676554544,676554556,676555432,676555444,676555456,676555554,676555566,676555656,676555676,676556544,676556556,676556654,676556666,676556678,676556776,676556788,676565434,676565454,676565544,676565556,676565654,676565666,676565678,676566554,676566566,676566656,676566676,676566766,676566778,676567654,676567666,676567678,676567776,676567788,676567878,676567898,676654323,676654343,676654433,676654445,676654543,676654555,676654567,676655443,676655455,676655545,676655565,676655655,676655667,676656543,676656555,676656567,676656665,676656677,676656767,676656787,676665433,676665445,676665543,676665555,676665567,676665665,676665677,676666545,676666565,676666655,676666667,676666765,676666777,676666789,676667665,676667677,676667767,676667787,676667877,676667889,676676544,676676556,676676654,676676666,676676678,676676776,676676788,676677656,676677676,676677766,676677778,676677876,676677888,676678765,676678777,676678789,676678887,676678899,676678998,676765434,676765454,676765544,676765556,676765654,676765666,676765678,676766554,676766566,676766656,676766676,676766766,676766778,676767654,676767666,676767678,676767776,676767788,676767878,676767898,676776545,676776565,676776655,676776667,676776765,676776777,676776789,676777665,676777677,676777767,676777787,676777877,676777889,676778766,676778778,676778876,676778888,676778987,676778999,676787665,676787677,676787767,676787787,676787877,676787889,676788766,676788778,676788876,676788888,676788987,676788999,676789887,676789899,676789998,677654323,677654343,677654433,677654445,677654543,677654555,677654567,677655443,677655455,677655545,677655565,677655655,677655667,677656543,677656555,677656567,677656665,677656677,677656767,677656787,677665433,677665445,677665543,677665555,677665567,677665665,677665677,677666545,677666565,677666655,677666667,677666765,677666777,677666789,677667665,677667677,677667767,677667787,677667877,677667889,677676544,677676556,677676654,677676666,677676678,677676776,677676788,677677656,677677676,677677766,677677778,677677876,677677888,677678765,677678777,677678789,677678887,677678899,677678998,677765434,677765454,677765544,677765556,677765654,677765666,677765678,677766554,677766566,677766656,677766676,677766766,677766778,677767654,677767666,677767678,677767776,677767788,677767878,677767898,677776545,677776565,677776655,677776667,677776765,677776777,677776789,677777665,677777677,677777767,677777787,677777877,677777889,677778766,677778778,677778876,677778888,677778987,677778999,677787665,677787677,677787767,677787787,677787877,677787889,677788766,677788778,677788876,677788888,677788987,677788999,677789887,677789899,677789998,677876545,677876565,677876655,677876667,677876765,677876777,677876789,677877665,677877677,677877767,677877787,677877877,677877889,677878766,677878778,677878876,677878888,677878987,677878999,677887665,677887677,677887767,677887787,677887877,677887889,677888766,677888778,677888876,677888888,677888987,677888999,677889887,677889899,677889998,677898767,677898787,677898877,677898889,677898988,677899876,677899888,677899987,677899999,678765443,678765455,678765545,678765565,678765655,678765667,678766543,678766555,678766567,678766665,678766677,678766767,678766787,678767655,678767667,678767765,678767777,678767789,678767887,678767899,678776554,678776566,678776656,678776676,678776766,678776778,678777654,678777666,678777678,678777776,678777788,678777878,678777898,678778767,678778787,678778877,678778889,678778988,678787654,678787666,678787678,678787776,678787788,678787878,678787898,678788767,678788787,678788877,678788889,678788988,678789876,678789888,678789987,678789999,678876554,678876566,678876656,678876676,678876766,678876778,678877654,678877666,678877678,678877776,678877788,678877878,678877898,678878767,678878787,678878877,678878889,678878988,678887654,678887666,678887678,678887776,678887788,678887878,678887898,678888767,678888787,678888877,678888889,678888988,678889876,678889888,678889987,678889999,678898776,678898788,678898878,678898898,678898989,678899877,678899889,678899988,678987654,678987666,678987678,678987776,678987788,678987878,678987898,678988767,678988787,678988877,678988889,678988988,678989876,678989888,678989987,678989999,678998776,678998788,678998878,678998898,678998989,678999877,678999889,678999988,765432100,765432112,765432210,765432222,765432234,765432332,765432344,765433212,765433232,765433322,765433334,765433432,765433444,765433456,765434332,765434344,765434434,765434454,765434544,765434556,765443210,765443222,765443234,765443332,765443344,765443434,765443454,765444322,765444334,765444432,765444444,765444456,765444554,765444566,765445434,765445454,765445544,765445556,765445654,765445666,765445678,765454332,765454344,765454434,765454454,765454544,765454556,765455432,765455444,765455456,765455554,765455566,765455656,765455676,765456544,765456556,765456654,765456666,765456678,765456776,765456788,765543212,765543232,765543322,765543334,765543432,765543444,765543456,765544332,765544344,765544434,765544454,765544544,765544556,765545432,765545444,765545456,765545554,765545566,765545656,765545676,765554322,765554334,765554432,765554444,765554456,765554554,765554566,765555434,765555454,765555544,765555556,765555654,765555666,765555678,765556554,765556566,765556656,765556676,765556766,765556778,765565432,765565444,765565456,765565554,765565566,765565656,765565676,765566544,765566556,765566654,765566666,765566678,765566776,765566788,765567656,765567676,765567766,765567778,765567876,765567888,765654321,765654333,765654345,765654443,765654455,765654545,765654565,765655433,765655445,765655543,765655555,765655567,765655665,765655677,765656545,765656565,765656655,765656667,765656765,765656777,765656789,765665443,765665455,765665545,765665565,765665655,765665667,765666543,765666555,765666567,765666665,765666677,765666767,765666787,765667655,765667667,765667765,765667777,765667789,765667887,765667899,765676554,765676566,765676656,765676676,765676766,765676778,765677654,765677666,765677678,765677776,765677788,765677878,765677898,765678767,765678787,765678877,765678889,765678988,766543210,766543222,766543234,766543332,766543344,766543434,766543454,766544322,766544334,766544432,766544444,766544456,766544554,766544566,766545434,766545454,766545544,766545556,766545654,766545666,766545678,766554332,766554344,766554434,766554454,766554544,766554556,766555432,766555444,766555456,766555554,766555566,766555656,766555676,766556544,766556556,766556654,766556666,766556678,766556776,766556788,766565434,766565454,766565544,766565556,766565654,766565666,766565678,766566554,766566566,766566656,766566676,766566766,766566778,766567654,766567666,766567678,766567776,766567788,766567878,766567898,766654323,766654343,766654433,766654445,766654543,766654555,766654567,766655443,766655455,766655545,766655565,766655655,766655667,766656543,766656555,766656567,766656665,766656677,766656767,766656787,766665433,766665445,766665543,766665555,766665567,766665665,766665677,766666545,766666565,766666655,766666667,766666765,766666777,766666789,766667665,766667677,766667767,766667787,766667877,766667889,766676544,766676556,766676654,766676666,766676678,766676776,766676788,766677656,766677676,766677766,766677778,766677876,766677888,766678765,766678777,766678789,766678887,766678899,766678998,766765434,766765454,766765544,766765556,766765654,766765666,766765678,766766554,766766566,766766656,766766676,766766766,766766778,766767654,766767666,766767678,766767776,766767788,766767878,766767898,766776545,766776565,766776655,766776667,766776765,766776777,766776789,766777665,766777677,766777767,766777787,766777877,766777889,766778766,766778778,766778876,766778888,766778987,766778999,766787665,766787677,766787767,766787787,766787877,766787889,766788766,766788778,766788876,766788888,766788987,766788999,766789887,766789899,766789998,767654323,767654343,767654433,767654445,767654543,767654555,767654567,767655443,767655455,767655545,767655565,767655655,767655667,767656543,767656555,767656567,767656665,767656677,767656767,767656787,767665433,767665445,767665543,767665555,767665567,767665665,767665677,767666545,767666565,767666655,767666667,767666765,767666777,767666789,767667665,767667677,767667767,767667787,767667877,767667889,767676544,767676556,767676654,767676666,767676678,767676776,767676788,767677656,767677676,767677766,767677778,767677876,767677888,767678765,767678777,767678789,767678887,767678899,767678998,767765434,767765454,767765544,767765556,767765654,767765666,767765678,767766554,767766566,767766656,767766676,767766766,767766778,767767654,767767666,767767678,767767776,767767788,767767878,767767898,767776545,767776565,767776655,767776667,767776765,767776777,767776789,767777665,767777677,767777767,767777787,767777877,767777889,767778766,767778778,767778876,767778888,767778987,767778999,767787665,767787677,767787767,767787787,767787877,767787889,767788766,767788778,767788876,767788888,767788987,767788999,767789887,767789899,767789998,767876545,767876565,767876655,767876667,767876765,767876777,767876789,767877665,767877677,767877767,767877787,767877877,767877889,767878766,767878778,767878876,767878888,767878987,767878999,767887665,767887677,767887767,767887787,767887877,767887889,767888766,767888778,767888876,767888888,767888987,767888999,767889887,767889899,767889998,767898767,767898787,767898877,767898889,767898988,767899876,767899888,767899987,767899999,776543221,776543233,776543323,776543343,776543433,776543445,776544321,776544333,776544345,776544443,776544455,776544545,776544565,776545433,776545445,776545543,776545555,776545567,776545665,776545677,776554323,776554343,776554433,776554445,776554543,776554555,776554567,776555443,776555455,776555545,776555565,776555655,776555667,776556543,776556555,776556567,776556665,776556677,776556767,776556787,776565433,776565445,776565543,776565555,776565567,776565665,776565677,776566545,776566565,776566655,776566667,776566765,776566777,776566789,776567665,776567677,776567767,776567787,776567877,776567889,776654322,776654334,776654432,776654444,776654456,776654554,776654566,776655434,776655454,776655544,776655556,776655654,776655666,776655678,776656554,776656566,776656656,776656676,776656766,776656778,776665432,776665444,776665456,776665554,776665566,776665656,776665676,776666544,776666556,776666654,776666666,776666678,776666776,776666788,776667656,776667676,776667766,776667778,776667876,776667888,776676543,776676555,776676567,776676665,776676677,776676767,776676787,776677655,776677667,776677765,776677777,776677789,776677887,776677899,776678776,776678788,776678878,776678898,776678989,776765433,776765445,776765543,776765555,776765567,776765665,776765677,776766545,776766565,776766655,776766667,776766765,776766777,776766789,776767665,776767677,776767767,776767787,776767877,776767889,776776544,776776556,776776654,776776666,776776678,776776776,776776788,776777656,776777676,776777766,776777778,776777876,776777888,776778765,776778777,776778789,776778887,776778899,776778998,776787656,776787676,776787766,776787778,776787876,776787888,776788765,776788777,776788789,776788887,776788899,776788998,776789878,776789898,776789989,777654322,777654334,777654432,777654444,777654456,777654554,777654566,777655434,777655454,777655544,777655556,777655654,777655666,777655678,777656554,777656566,777656656,777656676,777656766,777656778,777665432,777665444,777665456,777665554,777665566,777665656,777665676,777666544,777666556,777666654,777666666,777666678,777666776,777666788,777667656,777667676,777667766,777667778,777667876,777667888,777676543,777676555,777676567,777676665,777676677,777676767,777676787,777677655,777677667,777677765,777677777,777677789,777677887,777677899,777678776,777678788,777678878,777678898,777678989,777765433,777765445,777765543,777765555,777765567,777765665,777765677,777766545,777766565,777766655,777766667,777766765,777766777,777766789,777767665,777767677,777767767,777767787,777767877,777767889,777776544,777776556,777776654,777776666,777776678,777776776,777776788,777777656,777777676,777777766,777777778,777777876,777777888,777778765,777778777,777778789,777778887,777778899,777778998,777787656,777787676,777787766,777787778,777787876,777787888,777788765,777788777,777788789,777788887,777788899,777788998,777789878,777789898,777789989,777876544,777876556,777876654,777876666,777876678,777876776,777876788,777877656,777877676,777877766,777877778,777877876,777877888,777878765,777878777,777878789,777878887,777878899,777878998,777887656,777887676,777887766,777887778,777887876,777887888,777888765,777888777,777888789,777888887,777888899,777888998,777889878,777889898,777889989,777898766,777898778,777898876,777898888,777898987,777898999,777899887,777899899,777899998,778765434,778765454,778765544,778765556,778765654,778765666,778765678,778766554,778766566,778766656,778766676,778766766,778766778,778767654,778767666,778767678,778767776,778767788,778767878,778767898,778776545,778776565,778776655,778776667,778776765,778776777,778776789,778777665,778777677,778777767,778777787,778777877,778777889,778778766,778778778,778778876,778778888,778778987,778778999,778787665,778787677,778787767,778787787,778787877,778787889,778788766,778788778,778788876,778788888,778788987,778788999,778789887,778789899,778789998,778876545,778876565,778876655,778876667,778876765,778876777,778876789,778877665,778877677,778877767,778877787,778877877,778877889,778878766,778878778,778878876,778878888,778878987,778878999,778887665,778887677,778887767,778887787,778887877,778887889,778888766,778888778,778888876,778888888,778888987,778888999,778889887,778889899,778889998,778898767,778898787,778898877,778898889,778898988,778899876,778899888,778899987,778899999,778987665,778987677,778987767,778987787,778987877,778987889,778988766,778988778,778988876,778988888,778988987,778988999,778989887,778989899,778989998,778998767,778998787,778998877,778998889,778998988,778999876,778999888,778999987,778999999,787654332,787654344,787654434,787654454,787654544,787654556,787655432,787655444,787655456,787655554,787655566,787655656,787655676,787656544,787656556,787656654,787656666,787656678,787656776,787656788,787665434,787665454,787665544,787665556,787665654,787665666,787665678,787666554,787666566,787666656,787666676,787666766,787666778,787667654,787667666,787667678,787667776,787667788,787667878,787667898,787676545,787676565,787676655,787676667,787676765,787676777,787676789,787677665,787677677,787677767,787677787,787677877,787677889,787678766,787678778,787678876,787678888,787678987,787678999,787765443,787765455,787765545,787765565,787765655,787765667,787766543,787766555,787766567,787766665,787766677,787766767,787766787,787767655,787767667,787767765,787767777,787767789,787767887,787767899,787776554,787776566,787776656,787776676,787776766,787776778,787777654,787777666,787777678,787777776,787777788,787777878,787777898,787778767,787778787,787778877,787778889,787778988,787787654,787787666,787787678,787787776,787787788,787787878,787787898,787788767,787788787,787788877,787788889,787788988,787789876,787789888,787789987,787789999,787876554,787876566,787876656,787876676,787876766,787876778,787877654,787877666,787877678,787877776,787877788,787877878,787877898,787878767,787878787,787878877,787878889,787878988,787887654,787887666,787887678,787887776,787887788,787887878,787887898,787888767,787888787,787888877,787888889,787888988,787889876,787889888,787889987,787889999,787898776,787898788,787898878,787898898,787898989,787899877,787899889,787899988,788765432,788765444,788765456,788765554,788765566,788765656,788765676,788766544,788766556,788766654,788766666,788766678,788766776,788766788,788767656,788767676,788767766,788767778,788767876,788767888,788776543,788776555,788776567,788776665,788776677,788776767,788776787,788777655,788777667,788777765,788777777,788777789,788777887,788777899,788778776,788778788,788778878,788778898,788778989,788787655,788787667,788787765,788787777,788787789,788787887,788787899,788788776,788788788,788788878,788788898,788788989,788789877,788789889,788789988,788876543,788876555,788876567,788876665,788876677,788876767,788876787,788877655,788877667,788877765,788877777,788877789,788877887,788877899,788878776,788878788,788878878,788878898,788878989,788887655,788887667,788887765,788887777,788887789,788887887,788887899,788888776,788888788,788888878,788888898,788888989,788889877,788889889,788889988,788898765,788898777,788898789,788898887,788898899,788898998,788899878,788899898,788899989,788987655,788987667,788987765,788987777,788987789,788987887,788987899,788988776,788988788,788988878,788988898,788988989,788989877,788989889,788989988,788998765,788998777,788998789,788998887,788998899,788998998,788999878,788999898,788999989,789876544,789876556,789876654,789876666,789876678,789876776,789876788,789877656,789877676,789877766,789877778,789877876,789877888,789878765,789878777,789878789,789878887,789878899,789878998,789887656,789887676,789887766,789887778,789887876,789887888,789888765,789888777,789888789,789888887,789888899,789888998,789889878,789889898,789889989,789898766,789898778,789898876,789898888,789898987,789898999,789899887,789899899,789899998,789987656,789987676,789987766,789987778,789987876,789987888,789988765,789988777,789988789,789988887,789988899,789988998,789989878,789989898,789989989,789998766,789998778,789998876,789998888,789998987,789998999,789999887,789999899,789999998,876543212,876543232,876543322,876543334,876543432,876543444,876543456,876544332,876544344,876544434,876544454,876544544,876544556,876545432,876545444,876545456,876545554,876545566,876545656,876545676,876554322,876554334,876554432,876554444,876554456,876554554,876554566,876555434,876555454,876555544,876555556,876555654,876555666,876555678,876556554,876556566,876556656,876556676,876556766,876556778,876565432,876565444,876565456,876565554,876565566,876565656,876565676,876566544,876566556,876566654,876566666,876566678,876566776,876566788,876567656,876567676,876567766,876567778,876567876,876567888,876654321,876654333,876654345,876654443,876654455,876654545,876654565,876655433,876655445,876655543,876655555,876655567,876655665,876655677,876656545,876656565,876656655,876656667,876656765,876656777,876656789,876665443,876665455,876665545,876665565,876665655,876665667,876666543,876666555,876666567,876666665,876666677,876666767,876666787,876667655,876667667,876667765,876667777,876667789,876667887,876667899,876676554,876676566,876676656,876676676,876676766,876676778,876677654,876677666,876677678,876677776,876677788,876677878,876677898,876678767,876678787,876678877,876678889,876678988,876765432,876765444,876765456,876765554,876765566,876765656,876765676,876766544,876766556,876766654,876766666,876766678,876766776,876766788,876767656,876767676,876767766,876767778,876767876,876767888,876776543,876776555,876776567,876776665,876776677,876776767,876776787,876777655,876777667,876777765,876777777,876777789,876777887,876777899,876778776,876778788,876778878,876778898,876778989,876787655,876787667,876787765,876787777,876787789,876787887,876787899,876788776,876788788,876788878,876788898,876788989,876789877,876789889,876789988,877654321,877654333,877654345,877654443,877654455,877654545,877654565,877655433,877655445,877655543,877655555,877655567,877655665,877655677,877656545,877656565,877656655,877656667,877656765,877656777,877656789,877665443,877665455,877665545,877665565,877665655,877665667,877666543,877666555,877666567,877666665,877666677,877666767,877666787,877667655,877667667,877667765,877667777,877667789,877667887,877667899,877676554,877676566,877676656,877676676,877676766,877676778,877677654,877677666,877677678,877677776,877677788,877677878,877677898,877678767,877678787,877678877,877678889,877678988,877765432,877765444,877765456,877765554,877765566,877765656,877765676,877766544,877766556,877766654,877766666,877766678,877766776,877766788,877767656,877767676,877767766,877767778,877767876,877767888,877776543,877776555,877776567,877776665,877776677,877776767,877776787,877777655,877777667,877777765,877777777,877777789,877777887,877777899,877778776,877778788,877778878,877778898,877778989,877787655,877787667,877787765,877787777,877787789,877787887,877787899,877788776,877788788,877788878,877788898,877788989,877789877,877789889,877789988,877876543,877876555,877876567,877876665,877876677,877876767,877876787,877877655,877877667,877877765,877877777,877877789,877877887,877877899,877878776,877878788,877878878,877878898,877878989,877887655,877887667,877887765,877887777,877887789,877887887,877887899,877888776,877888788,877888878,877888898,877888989,877889877,877889889,877889988,877898765,877898777,877898789,877898887,877898899,877898998,877899878,877899898,877899989,878765433,878765445,878765543,878765555,878765567,878765665,878765677,878766545,878766565,878766655,878766667,878766765,878766777,878766789,878767665,878767677,878767767,878767787,878767877,878767889,878776544,878776556,878776654,878776666,878776678,878776776,878776788,878777656,878777676,878777766,878777778,878777876,878777888,878778765,878778777,878778789,878778887,878778899,878778998,878787656,878787676,878787766,878787778,878787876,878787888,878788765,878788777,878788789,878788887,878788899,878788998,878789878,878789898,878789989,878876544,878876556,878876654,878876666,878876678,878876776,878876788,878877656,878877676,878877766,878877778,878877876,878877888,878878765,878878777,878878789,878878887,878878899,878878998,878887656,878887676,878887766,878887778,878887876,878887888,878888765,878888777,878888789,878888887,878888899,878888998,878889878,878889898,878889989,878898766,878898778,878898876,878898888,878898987,878898999,878899887,878899899,878899998,878987656,878987676,878987766,878987778,878987876,878987888,878988765,878988777,878988789,878988887,878988899,878988998,878989878,878989898,878989989,878998766,878998778,878998876,878998888,878998987,878998999,878999887,878999899,878999998,887654323,887654343,887654433,887654445,887654543,887654555,887654567,887655443,887655455,887655545,887655565,887655655,887655667,887656543,887656555,887656567,887656665,887656677,887656767,887656787,887665433,887665445,887665543,887665555,887665567,887665665,887665677,887666545,887666565,887666655,887666667,887666765,887666777,887666789,887667665,887667677,887667767,887667787,887667877,887667889,887676544,887676556,887676654,887676666,887676678,887676776,887676788,887677656,887677676,887677766,887677778,887677876,887677888,887678765,887678777,887678789,887678887,887678899,887678998,887765434,887765454,887765544,887765556,887765654,887765666,887765678,887766554,887766566,887766656,887766676,887766766,887766778,887767654,887767666,887767678,887767776,887767788,887767878,887767898,887776545,887776565,887776655,887776667,887776765,887776777,887776789,887777665,887777677,887777767,887777787,887777877,887777889,887778766,887778778,887778876,887778888,887778987,887778999,887787665,887787677,887787767,887787787,887787877,887787889,887788766,887788778,887788876,887788888,887788987,887788999,887789887,887789899,887789998,887876545,887876565,887876655,887876667,887876765,887876777,887876789,887877665,887877677,887877767,887877787,887877877,887877889,887878766,887878778,887878876,887878888,887878987,887878999,887887665,887887677,887887767,887887787,887887877,887887889,887888766,887888778,887888876,887888888,887888987,887888999,887889887,887889899,887889998,887898767,887898787,887898877,887898889,887898988,887899876,887899888,887899987,887899999,888765443,888765455,888765545,888765565,888765655,888765667,888766543,888766555,888766567,888766665,888766677,888766767,888766787,888767655,888767667,888767765,888767777,888767789,888767887,888767899,888776554,888776566,888776656,888776676,888776766,888776778,888777654,888777666,888777678,888777776,888777788,888777878,888777898,888778767,888778787,888778877,888778889,888778988,888787654,888787666,888787678,888787776,888787788,888787878,888787898,888788767,888788787,888788877,888788889,888788988,888789876,888789888,888789987,888789999,888876554,888876566,888876656,888876676,888876766,888876778,888877654,888877666,888877678,888877776,888877788,888877878,888877898,888878767,888878787,888878877,888878889,888878988,888887654,888887666,888887678,888887776,888887788,888887878,888887898,888888767,888888787,888888877,888888889,888888988,888889876,888889888,888889987,888889999,888898776,888898788,888898878,888898898,888898989,888899877,888899889,888899988,888987654,888987666,888987678,888987776,888987788,888987878,888987898,888988767,888988787,888988877,888988889,888988988,888989876,888989888,888989987,888989999,888998776,888998788,888998878,888998898,888998989,888999877,888999889,888999988,889876543,889876555,889876567,889876665,889876677,889876767,889876787,889877655,889877667,889877765,889877777,889877789,889877887,889877899,889878776,889878788,889878878,889878898,889878989,889887655,889887667,889887765,889887777,889887789,889887887,889887899,889888776,889888788,889888878,889888898,889888989,889889877,889889889,889889988,889898765,889898777,889898789,889898887,889898899,889898998,889899878,889899898,889899989,889987655,889987667,889987765,889987777,889987789,889987887,889987899,889988776,889988788,889988878,889988898,889988989,889989877,889989889,889989988,889998765,889998777,889998789,889998887,889998899,889998998,889999878,889999898,889999989,898765433,898765445,898765543,898765555,898765567,898765665,898765677,898766545,898766565,898766655,898766667,898766765,898766777,898766789,898767665,898767677,898767767,898767787,898767877,898767889,898776544,898776556,898776654,898776666,898776678,898776776,898776788,898777656,898777676,898777766,898777778,898777876,898777888,898778765,898778777,898778789,898778887,898778899,898778998,898787656,898787676,898787766,898787778,898787876,898787888,898788765,898788777,898788789,898788887,898788899,898788998,898789878,898789898,898789989,898876544,898876556,898876654,898876666,898876678,898876776,898876788,898877656,898877676,898877766,898877778,898877876,898877888,898878765,898878777,898878789,898878887,898878899,898878998,898887656,898887676,898887766,898887778,898887876,898887888,898888765,898888777,898888789,898888887,898888899,898888998,898889878,898889898,898889989,898898766,898898778,898898876,898898888,898898987,898898999,898899887,898899899,898899998,898987656,898987676,898987766,898987778,898987876,898987888,898988765,898988777,898988789,898988887,898988899,898988998,898989878,898989898,898989989,898998766,898998778,898998876,898998888,898998987,898998999,898999887,898999899,898999998,899876545,899876565,899876655,899876667,899876765,899876777,899876789,899877665,899877677,899877767,899877787,899877877,899877889,899878766,899878778,899878876,899878888,899878987,899878999,899887665,899887677,899887767,899887787,899887877,899887889,899888766,899888778,899888876,899888888,899888987,899888999,899889887,899889899,899889998,899898767,899898787,899898877,899898889,899898988,899899876,899899888,899899987,899899999,899987665,899987677,899987767,899987787,899987877,899987889,899988766,899988778,899988876,899988888,899988987,899988999,899989887,899989899,899989998,899998767,899998787,899998877,899998889,899998988,899999876,899999888,899999987,899999999,987654332,987654344,987654434,987654454,987654544,987654556,987655432,987655444,987655456,987655554,987655566,987655656,987655676,987656544,987656556,987656654,987656666,987656678,987656776,987656788,987665434,987665454,987665544,987665556,987665654,987665666,987665678,987666554,987666566,987666656,987666676,987666766,987666778,987667654,987667666,987667678,987667776,987667788,987667878,987667898,987676545,987676565,987676655,987676667,987676765,987676777,987676789,987677665,987677677,987677767,987677787,987677877,987677889,987678766,987678778,987678876,987678888,987678987,987678999,987765443,987765455,987765545,987765565,987765655,987765667,987766543,987766555,987766567,987766665,987766677,987766767,987766787,987767655,987767667,987767765,987767777,987767789,987767887,987767899,987776554,987776566,987776656,987776676,987776766,987776778,987777654,987777666,987777678,987777776,987777788,987777878,987777898,987778767,987778787,987778877,987778889,987778988,987787654,987787666,987787678,987787776,987787788,987787878,987787898,987788767,987788787,987788877,987788889,987788988,987789876,987789888,987789987,987789999,987876554,987876566,987876656,987876676,987876766,987876778,987877654,987877666,987877678,987877776,987877788,987877878,987877898,987878767,987878787,987878877,987878889,987878988,987887654,987887666,987887678,987887776,987887788,987887878,987887898,987888767,987888787,987888877,987888889,987888988,987889876,987889888,987889987,987889999,987898776,987898788,987898878,987898898,987898989,987899877,987899889,987899988,988765432,988765444,988765456,988765554,988765566,988765656,988765676,988766544,988766556,988766654,988766666,988766678,988766776,988766788,988767656,988767676,988767766,988767778,988767876,988767888,988776543,988776555,988776567,988776665,988776677,988776767,988776787,988777655,988777667,988777765,988777777,988777789,988777887,988777899,988778776,988778788,988778878,988778898,988778989,988787655,988787667,988787765,988787777,988787789,988787887,988787899,988788776,988788788,988788878,988788898,988788989,988789877,988789889,988789988,988876543,988876555,988876567,988876665,988876677,988876767,988876787,988877655,988877667,988877765,988877777,988877789,988877887,988877899,988878776,988878788,988878878,988878898,988878989,988887655,988887667,988887765,988887777,988887789,988887887,988887899,988888776,988888788,988888878,988888898,988888989,988889877,988889889,988889988,988898765,988898777,988898789,988898887,988898899,988898998,988899878,988899898,988899989,988987655,988987667,988987765,988987777,988987789,988987887,988987899,988988776,988988788,988988878,988988898,988988989,988989877,988989889,988989988,988998765,988998777,988998789,988998887,988998899,988998998,988999878,988999898,988999989,989876544,989876556,989876654,989876666,989876678,989876776,989876788,989877656,989877676,989877766,989877778,989877876,989877888,989878765,989878777,989878789,989878887,989878899,989878998,989887656,989887676,989887766,989887778,989887876,989887888,989888765,989888777,989888789,989888887,989888899,989888998,989889878,989889898,989889989,989898766,989898778,989898876,989898888,989898987,989898999,989899887,989899899,989899998,989987656,989987676,989987766,989987778,989987876,989987888,989988765,989988777,989988789,989988887,989988899,989988998,989989878,989989898,989989989,989998766,989998778,989998876,989998888,989998987,989998999,989999887,989999899,989999998,998765434,998765454,998765544,998765556,998765654,998765666,998765678,998766554,998766566,998766656,998766676,998766766,998766778,998767654,998767666,998767678,998767776,998767788,998767878,998767898,998776545,998776565,998776655,998776667,998776765,998776777,998776789,998777665,998777677,998777767,998777787,998777877,998777889,998778766,998778778,998778876,998778888,998778987,998778999,998787665,998787677,998787767,998787787,998787877,998787889,998788766,998788778,998788876,998788888,998788987,998788999,998789887,998789899,998789998,998876545,998876565,998876655,998876667,998876765,998876777,998876789,998877665,998877677,998877767,998877787,998877877,998877889,998878766,998878778,998878876,998878888,998878987,998878999,998887665,998887677,998887767,998887787,998887877,998887889,998888766,998888778,998888876,998888888,998888987,998888999,998889887,998889899,998889998,998898767,998898787,998898877,998898889,998898988,998899876,998899888,998899987,998899999,998987665,998987677,998987767,998987787,998987877,998987889,998988766,998988778,998988876,998988888,998988987,998988999,998989887,998989899,998989998,998998767,998998787,998998877,998998889,998998988,998999876,998999888,998999987,998999999,999876554,999876566,999876656,999876676,999876766,999876778,999877654,999877666,999877678,999877776,999877788,999877878,999877898,999878767,999878787,999878877,999878889,999878988,999887654,999887666,999887678,999887776,999887788,999887878,999887898,999888767,999888787,999888877,999888889,999888988,999889876,999889888,999889987,999889999,999898776,999898788,999898878,999898898,999898989,999899877,999899889,999899988,999987654,999987666,999987678,999987776,999987788,999987878,999987898,999988767,999988787,999988877,999988889,999988988,999989876,999989888,999989987,999989999,999998776,999998788,999998878,999998898,999998989,999999877,999999889,999999988,1000000000,1000000012,1000000111,1000000123,1000001011,1000001110,1000001122,1000001212,1000001232,1000010001,1000010100,1000010112,1000011000,1000011012,1000011111,1000011123,1000011221,1000011233,1000012110,1000012122,1000012212,1000012232,1000012322,1000012334,1000100000,1000100012,1000100111,1000100123,1000101011,1000101110,1000101122,1000101212,1000101232,1000110001,1000110100,1000110112,1000111000,1000111012,1000111111,1000111123,1000111221,1000111233,1000112110,1000112122,1000112212,1000112232,1000112322,1000112334,1000121000,1000121012,1000121111,1000121123,1000121221,1000121233,1000122110,1000122122,1000122212,1000122232,1000122322,1000122334,1000123210,1000123222,1000123234,1000123332,1000123344,1000123434,1000123454,1001000001,1001000100,1001000112,1001001000,1001001012,1001001111,1001001123,1001001221,1001001233,1001010010,1001010101,1001010121,1001011001,1001011100,1001011112,1001011210,1001011222,1001011234,1001012111,1001012123,1001012221,1001012233,1001012323,1001012343,1001100001,1001100100,1001100112,1001101000,1001101012,1001101111,1001101123,1001101221,1001101233,1001110010,1001110101,1001110121,1001111001,1001111100,1001111112,1001111210,1001111222,1001111234,1001112111,1001112123,1001112221,1001112233,1001112323,1001112343,1001121001,1001121100,1001121112,1001121210,1001121222,1001121234,1001122111,1001122123,1001122221,1001122233,1001122323,1001122343,1001123211,1001123223,1001123321,1001123333,1001123345,1001123443,1001123455,1001210010,1001210101,1001210121,1001211001,1001211100,1001211112,1001211210,1001211222,1001211234,1001212111,1001212123,1001212221,1001212233,1001212323,1001212343,1001221001,1001221100,1001221112,1001221210,1001221222,1001221234,1001222111,1001222123,1001222221,1001222233,1001222323,1001222343,1001223211,1001223223,1001223321,1001223333,1001223345,1001223443,1001223455,1001232110,1001232122,1001232212,1001232232,1001232322,1001232334,1001233210,1001233222,1001233234,1001233332,1001233344,1001233434,1001233454,1001234322,1001234334,1001234432,1001234444,1001234456,1001234554,1001234566,1010000010,1010000101,1010000121,1010001001,1010001100,1010001112,1010001210,1010001222,1010001234,1010010011,1010010110,1010010122,1010011010,1010011101,1010011121,1010011211,1010011223,1010012100,1010012112,1010012210,1010012222,1010012234,1010012332,1010012344,1010100010,1010100101,1010100121,1010101001,1010101100,1010101112,1010101210,1010101222,1010101234,1010110011,1010110110,1010110122,1010111010,1010111101,1010111121,1010111211,1010111223,1010112100,1010112112,1010112210,1010112222,1010112234,1010112332,1010112344,1010121010,1010121101,1010121121,1010121211,1010121223,1010122100,1010122112,1010122210,1010122222,1010122234,1010122332,1010122344,1010123212,1010123232,1010123322,1010123334,1010123432,1010123444,1010123456,1011000011,1011000110,1011000122,1011001010,1011001101,1011001121,1011001211,1011001223,1011010000,1011010012,1011010111,1011010123,1011011011,1011011110,1011011122,1011011212,1011011232,1011012101,1011012121,1011012211,1011012223,1011012321,1011012333,1011012345,1011100011,1011100110,1011100122,1011101010,1011101101,1011101121,1011101211,1011101223,1011110000,1011110012,1011110111,1011110123,1011111011,1011111110,1011111122,1011111212,1011111232,1011112101,1011112121,1011112211,1011112223,1011112321,1011112333,1011112345,1011121011,1011121110,1011121122,1011121212,1011121232,1011122101,1011122121,1011122211,1011122223,1011122321,1011122333,1011122345,1011123221,1011123233,1011123323,1011123343,1011123433,1011123445,1011210000,1011210012,1011210111,1011210123,1011211011,1011211110,1011211122,1011211212,1011211232,1011212101,1011212121,1011212211,1011212223,1011212321,1011212333,1011212345,1011221011,1011221110,1011221122,1011221212,1011221232,1011222101,1011222121,1011222211,1011222223,1011222321,1011222333,1011222345,1011223221,1011223233,1011223323,1011223343,1011223433,1011223445,1011232100,1011232112,1011232210,1011232222,1011232234,1011232332,1011232344,1011233212,1011233232,1011233322,1011233334,1011233432,1011233444,1011233456,1011234332,1011234344,1011234434,1011234454,1011234544,1011234556,1012100000,1012100012,1012100111,1012100123,1012101011,1012101110,1012101122,1012101212,1012101232,1012110001,1012110100,1012110112,1012111000,1012111012,1012111111,1012111123,1012111221,1012111233,1012112110,1012112122,1012112212,1012112232,1012112322,1012112334,1012121000,1012121012,1012121111,1012121123,1012121221,1012121233,1012122110,1012122122,1012122212,1012122232,1012122322,1012122334,1012123210,1012123222,1012123234,1012123332,1012123344,1012123434,1012123454,1012210001,1012210100,1012210112,1012211000,1012211012,1012211111,1012211123,1012211221,1012211233,1012212110,1012212122,1012212212,1012212232,1012212322,1012212334,1012221000,1012221012,1012221111,1012221123,1012221221,1012221233,1012222110,1012222122,1012222212,1012222232,1012222322,1012222334,1012223210,1012223222,1012223234,1012223332,1012223344,1012223434,1012223454,1012232101,1012232121,1012232211,1012232223,1012232321,1012232333,1012232345,1012233221,1012233233,1012233323,1012233343,1012233433,1012233445,1012234321,1012234333,1012234345,1012234443,1012234455,1012234545,1012234565,1012321001,1012321100,1012321112,1012321210,1012321222,1012321234,1012322111,1012322123,1012322221,1012322233,1012322323,1012322343,1012323211,1012323223,1012323321,1012323333,1012323345,1012323443,1012323455,1012332110,1012332122,1012332212,1012332232,1012332322,1012332334,1012333210,1012333222,1012333234,1012333332,1012333344,1012333434,1012333454,1012334322,1012334334,1012334432,1012334444,1012334456,1012334554,1012334566,1012343212,1012343232,1012343322,1012343334,1012343432,1012343444,1012343456,1012344332,1012344344,1012344434,1012344454,1012344544,1012344556,1012345432,1012345444,1012345456,1012345554,1012345566,1012345656,1012345676,1100000001,1100000100,1100000112,1100001000,1100001012,1100001111,1100001123,1100001221,1100001233,1100010010,1100010101,1100010121,1100011001,1100011100,1100011112,1100011210,1100011222,1100011234,1100012111,1100012123,1100012221,1100012233,1100012323,1100012343,1100100001,1100100100,1100100112,1100101000,1100101012,1100101111,1100101123,1100101221,1100101233,1100110010,1100110101,1100110121,1100111001,1100111100,1100111112,1100111210,1100111222,1100111234,1100112111,1100112123,1100112221,1100112233,1100112323,1100112343,1100121001,1100121100,1100121112,1100121210,1100121222,1100121234,1100122111,1100122123,1100122221,1100122233,1100122323,1100122343,1100123211,1100123223,1100123321,1100123333,1100123345,1100123443,1100123455,1101000010,1101000101,1101000121,1101001001,1101001100,1101001112,1101001210,1101001222,1101001234,1101010011,1101010110,1101010122,1101011010,1101011101,1101011121,1101011211,1101011223,1101012100,1101012112,1101012210,1101012222,1101012234,1101012332,1101012344,1101100010,1101100101,1101100121,1101101001,1101101100,1101101112,1101101210,1101101222,1101101234,1101110011,1101110110,1101110122,1101111010,1101111101,1101111121,1101111211,1101111223,1101112100,1101112112,1101112210,1101112222,1101112234,1101112332,1101112344,1101121010,1101121101,1101121121,1101121211,1101121223,1101122100,1101122112,1101122210,1101122222,1101122234,1101122332,1101122344,1101123212,1101123232,1101123322,1101123334,1101123432,1101123444,1101123456,1101210011,1101210110,1101210122,1101211010,1101211101,1101211121,1101211211,1101211223,1101212100,1101212112,1101212210,1101212222,1101212234,1101212332,1101212344,1101221010,1101221101,1101221121,1101221211,1101221223,1101222100,1101222112,1101222210,1101222222,1101222234,1101222332,1101222344,1101223212,1101223232,1101223322,1101223334,1101223432,1101223444,1101223456,1101232111,1101232123,1101232221,1101232233,1101232323,1101232343,1101233211,1101233223,1101233321,1101233333,1101233345,1101233443,1101233455,1101234323,1101234343,1101234433,1101234445,1101234543,1101234555,1101234567,1110000011,1110000110,1110000122,1110001010,1110001101,1110001121,1110001211,1110001223,1110010000,1110010012,1110010111,1110010123,1110011011,1110011110,1110011122,1110011212,1110011232,1110012101,1110012121,1110012211,1110012223,1110012321,1110012333,1110012345,1110100011,1110100110,1110100122,1110101010,1110101101,1110101121,1110101211,1110101223,1110110000,1110110012,1110110111,1110110123,1110111011,1110111110,1110111122,1110111212,1110111232,1110112101,1110112121,1110112211,1110112223,1110112321,1110112333,1110112345,1110121011,1110121110,1110121122,1110121212,1110121232,1110122101,1110122121,1110122211,1110122223,1110122321,1110122333,1110122345,1110123221,1110123233,1110123323,1110123343,1110123433,1110123445,1111000000,1111000012,1111000111,1111000123,1111001011,1111001110,1111001122,1111001212,1111001232,1111010001,1111010100,1111010112,1111011000,1111011012,1111011111,1111011123,1111011221,1111011233,1111012110,1111012122,1111012212,1111012232,1111012322,1111012334,1111100000,1111100012,1111100111,1111100123,1111101011,1111101110,1111101122,1111101212,1111101232,1111110001,1111110100,1111110112,1111111000,1111111012,1111111111,1111111123,1111111221,1111111233,1111112110,1111112122,1111112212,1111112232,1111112322,1111112334,1111121000,1111121012,1111121111,1111121123,1111121221,1111121233,1111122110,1111122122,1111122212,1111122232,1111122322,1111122334,1111123210,1111123222,1111123234,1111123332,1111123344,1111123434,1111123454,1111210001,1111210100,1111210112,1111211000,1111211012,1111211111,1111211123,1111211221,1111211233,1111212110,1111212122,1111212212,1111212232,1111212322,1111212334,1111221000,1111221012,1111221111,1111221123,1111221221,1111221233,1111222110,1111222122,1111222212,1111222232,1111222322,1111222334,1111223210,1111223222,1111223234,1111223332,1111223344,1111223434,1111223454,1111232101,1111232121,1111232211,1111232223,1111232321,1111232333,1111232345,1111233221,1111233233,1111233323,1111233343,1111233433,1111233445,1111234321,1111234333,1111234345,1111234443,1111234455,1111234545,1111234565,1112100001,1112100100,1112100112,1112101000,1112101012,1112101111,1112101123,1112101221,1112101233,1112110010,1112110101,1112110121,1112111001,1112111100,1112111112,1112111210,1112111222,1112111234,1112112111,1112112123,1112112221,1112112233,1112112323,1112112343,1112121001,1112121100,1112121112,1112121210,1112121222,1112121234,1112122111,1112122123,1112122221,1112122233,1112122323,1112122343,1112123211,1112123223,1112123321,1112123333,1112123345,1112123443,1112123455,1112210010,1112210101,1112210121,1112211001,1112211100,1112211112,1112211210,1112211222,1112211234,1112212111,1112212123,1112212221,1112212233,1112212323,1112212343,1112221001,1112221100,1112221112,1112221210,1112221222,1112221234,1112222111,1112222123,1112222221,1112222233,1112222323,1112222343,1112223211,1112223223,1112223321,1112223333,1112223345,1112223443,1112223455,1112232110,1112232122,1112232212,1112232232,1112232322,1112232334,1112233210,1112233222,1112233234,1112233332,1112233344,1112233434,1112233454,1112234322,1112234334,1112234432,1112234444,1112234456,1112234554,1112234566,1112321010,1112321101,1112321121,1112321211,1112321223,1112322100,1112322112,1112322210,1112322222,1112322234,1112322332,1112322344,1112323212,1112323232,1112323322,1112323334,1112323432,1112323444,1112323456,1112332111,1112332123,1112332221,1112332233,1112332323,1112332343,1112333211,1112333223,1112333321,1112333333,1112333345,1112333443,1112333455,1112334323,1112334343,1112334433,1112334445,1112334543,1112334555,1112334567,1112343221,1112343233,1112343323,1112343343,1112343433,1112343445,1112344321,1112344333,1112344345,1112344443,1112344455,1112344545,1112344565,1112345433,1112345445,1112345543,1112345555,1112345567,1112345665,1112345677,1121000010,1121000101,1121000121,1121001001,1121001100,1121001112,1121001210,1121001222,1121001234,1121010011,1121010110,1121010122,1121011010,1121011101,1121011121,1121011211,1121011223,1121012100,1121012112,1121012210,1121012222,1121012234,1121012332,1121012344,1121100010,1121100101,1121100121,1121101001,1121101100,1121101112,1121101210,1121101222,1121101234,1121110011,1121110110,1121110122,1121111010,1121111101,1121111121,1121111211,1121111223,1121112100,1121112112,1121112210,1121112222,1121112234,1121112332,1121112344,1121121010,1121121101,1121121121,1121121211,1121121223,1121122100,1121122112,1121122210,1121122222,1121122234,1121122332,1121122344,1121123212,1121123232,1121123322,1121123334,1121123432,1121123444,1121123456,1121210011,1121210110,1121210122,1121211010,1121211101,1121211121,1121211211,1121211223,1121212100,1121212112,1121212210,1121212222,1121212234,1121212332,1121212344,1121221010,1121221101,1121221121,1121221211,1121221223,1121222100,1121222112,1121222210,1121222222,1121222234,1121222332,1121222344,1121223212,1121223232,1121223322,1121223334,1121223432,1121223444,1121223456,1121232111,1121232123,1121232221,1121232233,1121232323,1121232343,1121233211,1121233223,1121233321,1121233333,1121233345,1121233443,1121233455,1121234323,1121234343,1121234433,1121234445,1121234543,1121234555,1121234567,1122100011,1122100110,1122100122,1122101010,1122101101,1122101121,1122101211,1122101223,1122110000,1122110012,1122110111,1122110123,1122111011,1122111110,1122111122,1122111212,1122111232,1122112101,1122112121,1122112211,1122112223,1122112321,1122112333,1122112345,1122121011,1122121110,1122121122,1122121212,1122121232,1122122101,1122122121,1122122211,1122122223,1122122321,1122122333,1122122345,1122123221,1122123233,1122123323,1122123343,1122123433,1122123445,1122210000,1122210012,1122210111,1122210123,1122211011,1122211110,1122211122,1122211212,1122211232,1122212101,1122212121,1122212211,1122212223,1122212321,1122212333,1122212345,1122221011,1122221110,1122221122,1122221212,1122221232,1122222101,1122222121,1122222211,1122222223,1122222321,1122222333,1122222345,1122223221,1122223233,1122223323,1122223343,1122223433,1122223445,1122232100,1122232112,1122232210,1122232222,1122232234,1122232332,1122232344,1122233212,1122233232,1122233322,1122233334,1122233432,1122233444,1122233456,1122234332,1122234344,1122234434,1122234454,1122234544,1122234556,1122321000,1122321012,1122321111,1122321123,1122321221,1122321233,1122322110,1122322122,1122322212,1122322232,1122322322,1122322334,1122323210,1122323222,1122323234,1122323332,1122323344,1122323434,1122323454,1122332101,1122332121,1122332211,1122332223,1122332321,1122332333,1122332345,1122333221,1122333233,1122333323,1122333343,1122333433,1122333445,1122334321,1122334333,1122334345,1122334443,1122334455,1122334545,1122334565,1122343211,1122343223,1122343321,1122343333,1122343345,1122343443,1122343455,1122344323,1122344343,1122344433,1122344445,1122344543,1122344555,1122344567,1122345443,1122345455,1122345545,1122345565,1122345655,1122345667,1123210000,1123210012,1123210111,1123210123,1123211011,1123211110,1123211122,1123211212,1123211232,1123212101,1123212121,1123212211,1123212223,1123212321,1123212333,1123212345,1123221011,1123221110,1123221122,1123221212,1123221232,1123222101,1123222121,1123222211,1123222223,1123222321,1123222333,1123222345,1123223221,1123223233,1123223323,1123223343,1123223433,1123223445,1123232100,1123232112,1123232210,1123232222,1123232234,1123232332,1123232344,1123233212,1123233232,1123233322,1123233334,1123233432,1123233444,1123233456,1123234332,1123234344,1123234434,1123234454,1123234544,1123234556,1123321000,1123321012,1123321111,1123321123,1123321221,1123321233,1123322110,1123322122,1123322212,1123322232,1123322322,1123322334,1123323210,1123323222,1123323234,1123323332,1123323344,1123323434,1123323454,1123332101,1123332121,1123332211,1123332223,1123332321,1123332333,1123332345,1123333221,1123333233,1123333323,1123333343,1123333433,1123333445,1123334321,1123334333,1123334345,1123334443,1123334455,1123334545,1123334565,1123343211,1123343223,1123343321,1123343333,1123343345,1123343443,1123343455,1123344323,1123344343,1123344433,1123344445,1123344543,1123344555,1123344567,1123345443,1123345455,1123345545,1123345565,1123345655,1123345667,1123432100,1123432112,1123432210,1123432222,1123432234,1123432332,1123432344,1123433212,1123433232,1123433322,1123433334,1123433432,1123433444,1123433456,1123434332,1123434344,1123434434,1123434454,1123434544,1123434556,1123443210,1123443222,1123443234,1123443332,1123443344,1123443434,1123443454,1123444322,1123444334,1123444432,1123444444,1123444456,1123444554,1123444566,1123445434,1123445454,1123445544,1123445556,1123445654,1123445666,1123445678,1123454332,1123454344,1123454434,1123454454,1123454544,1123454556,1123455432,1123455444,1123455456,1123455554,1123455566,1123455656,1123455676,1123456544,1123456556,1123456654,1123456666,1123456678,1123456776,1123456788,1210000010,1210000101,1210000121,1210001001,1210001100,1210001112,1210001210,1210001222,1210001234,1210010011,1210010110,1210010122,1210011010,1210011101,1210011121,1210011211,1210011223,1210012100,1210012112,1210012210,1210012222,1210012234,1210012332,1210012344,1210100010,1210100101,1210100121,1210101001,1210101100,1210101112,1210101210,1210101222,1210101234,1210110011,1210110110,1210110122,1210111010,1210111101,1210111121,1210111211,1210111223,1210112100,1210112112,1210112210,1210112222,1210112234,1210112332,1210112344,1210121010,1210121101,1210121121,1210121211,1210121223,1210122100,1210122112,1210122210,1210122222,1210122234,1210122332,1210122344,1210123212,1210123232,1210123322,1210123334,1210123432,1210123444,1210123456,1211000011,1211000110,1211000122,1211001010,1211001101,1211001121,1211001211,1211001223,1211010000,1211010012,1211010111,1211010123,1211011011,1211011110,1211011122,1211011212,1211011232,1211012101,1211012121,1211012211,1211012223,1211012321,1211012333,1211012345,1211100011,1211100110,1211100122,1211101010,1211101101,1211101121,1211101211,1211101223,1211110000,1211110012,1211110111,1211110123,1211111011,1211111110,1211111122,1211111212,1211111232,1211112101,1211112121,1211112211,1211112223,1211112321,1211112333,1211112345,1211121011,1211121110,1211121122,1211121212,1211121232,1211122101,1211122121,1211122211,1211122223,1211122321,1211122333,1211122345,1211123221,1211123233,1211123323,1211123343,1211123433,1211123445,1211210000,1211210012,1211210111,1211210123,1211211011,1211211110,1211211122,1211211212,1211211232,1211212101,1211212121,1211212211,1211212223,1211212321,1211212333,1211212345,1211221011,1211221110,1211221122,1211221212,1211221232,1211222101,1211222121,1211222211,1211222223,1211222321,1211222333,1211222345,1211223221,1211223233,1211223323,1211223343,1211223433,1211223445,1211232100,1211232112,1211232210,1211232222,1211232234,1211232332,1211232344,1211233212,1211233232,1211233322,1211233334,1211233432,1211233444,1211233456,1211234332,1211234344,1211234434,1211234454,1211234544,1211234556,1212100000,1212100012,1212100111,1212100123,1212101011,1212101110,1212101122,1212101212,1212101232,1212110001,1212110100,1212110112,1212111000,1212111012,1212111111,1212111123,1212111221,1212111233,1212112110,1212112122,1212112212,1212112232,1212112322,1212112334,1212121000,1212121012,1212121111,1212121123,1212121221,1212121233,1212122110,1212122122,1212122212,1212122232,1212122322,1212122334,1212123210,1212123222,1212123234,1212123332,1212123344,1212123434,1212123454,1212210001,1212210100,1212210112,1212211000,1212211012,1212211111,1212211123,1212211221,1212211233,1212212110,1212212122,1212212212,1212212232,1212212322,1212212334,1212221000,1212221012,1212221111,1212221123,1212221221,1212221233,1212222110,1212222122,1212222212,1212222232,1212222322,1212222334,1212223210,1212223222,1212223234,1212223332,1212223344,1212223434,1212223454,1212232101,1212232121,1212232211,1212232223,1212232321,1212232333,1212232345,1212233221,1212233233,1212233323,1212233343,1212233433,1212233445,1212234321,1212234333,1212234345,1212234443,1212234455,1212234545,1212234565,1212321001,1212321100,1212321112,1212321210,1212321222,1212321234,1212322111,1212322123,1212322221,1212322233,1212322323,1212322343,1212323211,1212323223,1212323321,1212323333,1212323345,1212323443,1212323455,1212332110,1212332122,1212332212,1212332232,1212332322,1212332334,1212333210,1212333222,1212333234,1212333332,1212333344,1212333434,1212333454,1212334322,1212334334,1212334432,1212334444,1212334456,1212334554,1212334566,1212343212,1212343232,1212343322,1212343334,1212343432,1212343444,1212343456,1212344332,1212344344,1212344434,1212344454,1212344544,1212344556,1212345432,1212345444,1212345456,1212345554,1212345566,1212345656,1212345676,1221000001,1221000100,1221000112,1221001000,1221001012,1221001111,1221001123,1221001221,1221001233,1221010010,1221010101,1221010121,1221011001,1221011100,1221011112,1221011210,1221011222,1221011234,1221012111,1221012123,1221012221,1221012233,1221012323,1221012343,1221100001,1221100100,1221100112,1221101000,1221101012,1221101111,1221101123,1221101221,1221101233,1221110010,1221110101,1221110121,1221111001,1221111100,1221111112,1221111210,1221111222,1221111234,1221112111,1221112123,1221112221,1221112233,1221112323,1221112343,1221121001,1221121100,1221121112,1221121210,1221121222,1221121234,1221122111,1221122123,1221122221,1221122233,1221122323,1221122343,1221123211,1221123223,1221123321,1221123333,1221123345,1221123443,1221123455,1221210010,1221210101,1221210121,1221211001,1221211100,1221211112,1221211210,1221211222,1221211234,1221212111,1221212123,1221212221,1221212233,1221212323,1221212343,1221221001,1221221100,1221221112,1221221210,1221221222,1221221234,1221222111,1221222123,1221222221,1221222233,1221222323,1221222343,1221223211,1221223223,1221223321,1221223333,1221223345,1221223443,1221223455,1221232110,1221232122,1221232212,1221232232,1221232322,1221232334,1221233210,1221233222,1221233234,1221233332,1221233344,1221233434,1221233454,1221234322,1221234334,1221234432,1221234444,1221234456,1221234554,1221234566,1222100010,1222100101,1222100121,1222101001,1222101100,1222101112,1222101210,1222101222,1222101234,1222110011,1222110110,1222110122,1222111010,1222111101,1222111121,1222111211,1222111223,1222112100,1222112112,1222112210,1222112222,1222112234,1222112332,1222112344,1222121010,1222121101,1222121121,1222121211,1222121223,1222122100,1222122112,1222122210,1222122222,1222122234,1222122332,1222122344,1222123212,1222123232,1222123322,1222123334,1222123432,1222123444,1222123456,1222210011,1222210110,1222210122,1222211010,1222211101,1222211121,1222211211,1222211223,1222212100,1222212112,1222212210,1222212222,1222212234,1222212332,1222212344,1222221010,1222221101,1222221121,1222221211,1222221223,1222222100,1222222112,1222222210,1222222222,1222222234,1222222332,1222222344,1222223212,1222223232,1222223322,1222223334,1222223432,1222223444,1222223456,1222232111,1222232123,1222232221,1222232233,1222232323,1222232343,1222233211,1222233223,1222233321,1222233333,1222233345,1222233443,1222233455,1222234323,1222234343,1222234433,1222234445,1222234543,1222234555,1222234567,1222321011,1222321110,1222321122,1222321212,1222321232,1222322101,1222322121,1222322211,1222322223,1222322321,1222322333,1222322345,1222323221,1222323233,1222323323,1222323343,1222323433,1222323445,1222332100,1222332112,1222332210,1222332222,1222332234,1222332332,1222332344,1222333212,1222333232,1222333322,1222333334,1222333432,1222333444,1222333456,1222334332,1222334344,1222334434,1222334454,1222334544,1222334556,1222343210,1222343222,1222343234,1222343332,1222343344,1222343434,1222343454,1222344322,1222344334,1222344432,1222344444,1222344456,1222344554,1222344566,1222345434,1222345454,1222345544,1222345556,1222345654,1222345666,1222345678,1223210011,1223210110,1223210122,1223211010,1223211101,1223211121,1223211211,1223211223,1223212100,1223212112,1223212210,1223212222,1223212234,1223212332,1223212344,1223221010,1223221101,1223221121,1223221211,1223221223,1223222100,1223222112,1223222210,1223222222,1223222234,1223222332,1223222344,1223223212,1223223232,1223223322,1223223334,1223223432,1223223444,1223223456,1223232111,1223232123,1223232221,1223232233,1223232323,1223232343,1223233211,1223233223,1223233321,1223233333,1223233345,1223233443,1223233455,1223234323,1223234343,1223234433,1223234445,1223234543,1223234555,1223234567,1223321011,1223321110,1223321122,1223321212,1223321232,1223322101,1223322121,1223322211,1223322223,1223322321,1223322333,1223322345,1223323221,1223323233,1223323323,1223323343,1223323433,1223323445,1223332100,1223332112,1223332210,1223332222,1223332234,1223332332,1223332344,1223333212,1223333232,1223333322,1223333334,1223333432,1223333444,1223333456,1223334332,1223334344,1223334434,1223334454,1223334544,1223334556,1223343210,1223343222,1223343234,1223343332,1223343344,1223343434,1223343454,1223344322,1223344334,1223344432,1223344444,1223344456,1223344554,1223344566,1223345434,1223345454,1223345544,1223345556,1223345654,1223345666,1223345678,1223432111,1223432123,1223432221,1223432233,1223432323,1223432343,1223433211,1223433223,1223433321,1223433333,1223433345,1223433443,1223433455,1223434323,1223434343,1223434433,1223434445,1223434543,1223434555,1223434567,1223443221,1223443233,1223443323,1223443343,1223443433,1223443445,1223444321,1223444333,1223444345,1223444443,1223444455,1223444545,1223444565,1223445433,1223445445,1223445543,1223445555,1223445567,1223445665,1223445677,1223454323,1223454343,1223454433,1223454445,1223454543,1223454555,1223454567,1223455443,1223455455,1223455545,1223455565,1223455655,1223455667,1223456543,1223456555,1223456567,1223456665,1223456677,1223456767,1223456787,1232100001,1232100100,1232100112,1232101000,1232101012,1232101111,1232101123,1232101221,1232101233,1232110010,1232110101,1232110121,1232111001,1232111100,1232111112,1232111210,1232111222,1232111234,1232112111,1232112123,1232112221,1232112233,1232112323,1232112343,1232121001,1232121100,1232121112,1232121210,1232121222,1232121234,1232122111,1232122123,1232122221,1232122233,1232122323,1232122343,1232123211,1232123223,1232123321,1232123333,1232123345,1232123443,1232123455,1232210010,1232210101,1232210121,1232211001,1232211100,1232211112,1232211210,1232211222,1232211234,1232212111,1232212123,1232212221,1232212233,1232212323,1232212343,1232221001,1232221100,1232221112,1232221210,1232221222,1232221234,1232222111,1232222123,1232222221,1232222233,1232222323,1232222343,1232223211,1232223223,1232223321,1232223333,1232223345,1232223443,1232223455,1232232110,1232232122,1232232212,1232232232,1232232322,1232232334,1232233210,1232233222,1232233234,1232233332,1232233344,1232233434,1232233454,1232234322,1232234334,1232234432,1232234444,1232234456,1232234554,1232234566,1232321010,1232321101,1232321121,1232321211,1232321223,1232322100,1232322112,1232322210,1232322222,1232322234,1232322332,1232322344,1232323212,1232323232,1232323322,1232323334,1232323432,1232323444,1232323456,1232332111,1232332123,1232332221,1232332233,1232332323,1232332343,1232333211,1232333223,1232333321,1232333333,1232333345,1232333443,1232333455,1232334323,1232334343,1232334433,1232334445,1232334543,1232334555,1232334567,1232343221,1232343233,1232343323,1232343343,1232343433,1232343445,1232344321,1232344333,1232344345,1232344443,1232344455,1232344545,1232344565,1232345433,1232345445,1232345543,1232345555,1232345567,1232345665,1232345677,1233210010,1233210101,1233210121,1233211001,1233211100,1233211112,1233211210,1233211222,1233211234,1233212111,1233212123,1233212221,1233212233,1233212323,1233212343,1233221001,1233221100,1233221112,1233221210,1233221222,1233221234,1233222111,1233222123,1233222221,1233222233,1233222323,1233222343,1233223211,1233223223,1233223321,1233223333,1233223345,1233223443,1233223455,1233232110,1233232122,1233232212,1233232232,1233232322,1233232334,1233233210,1233233222,1233233234,1233233332,1233233344,1233233434,1233233454,1233234322,1233234334,1233234432,1233234444,1233234456,1233234554,1233234566,1233321010,1233321101,1233321121,1233321211,1233321223,1233322100,1233322112,1233322210,1233322222,1233322234,1233322332,1233322344,1233323212,1233323232,1233323322,1233323334,1233323432,1233323444,1233323456,1233332111,1233332123,1233332221,1233332233,1233332323,1233332343,1233333211,1233333223,1233333321,1233333333,1233333345,1233333443,1233333455,1233334323,1233334343,1233334433,1233334445,1233334543,1233334555,1233334567,1233343221,1233343233,1233343323,1233343343,1233343433,1233343445,1233344321,1233344333,1233344345,1233344443,1233344455,1233344545,1233344565,1233345433,1233345445,1233345543,1233345555,1233345567,1233345665,1233345677,1233432110,1233432122,1233432212,1233432232,1233432322,1233432334,1233433210,1233433222,1233433234,1233433332,1233433344,1233433434,1233433454,1233434322,1233434334,1233434432,1233434444,1233434456,1233434554,1233434566,1233443212,1233443232,1233443322,1233443334,1233443432,1233443444,1233443456,1233444332,1233444344,1233444434,1233444454,1233444544,1233444556,1233445432,1233445444,1233445456,1233445554,1233445566,1233445656,1233445676,1233454322,1233454334,1233454432,1233454444,1233454456,1233454554,1233454566,1233455434,1233455454,1233455544,1233455556,1233455654,1233455666,1233455678,1233456554,1233456566,1233456656,1233456676,1233456766,1233456778,1234321000,1234321012,1234321111,1234321123,1234321221,1234321233,1234322110,1234322122,1234322212,1234322232,1234322322,1234322334,1234323210,1234323222,1234323234,1234323332,1234323344,1234323434,1234323454,1234332101,1234332121,1234332211,1234332223,1234332321,1234332333,1234332345,1234333221,1234333233,1234333323,1234333343,1234333433,1234333445,1234334321,1234334333,1234334345,1234334443,1234334455,1234334545,1234334565,1234343211,1234343223,1234343321,1234343333,1234343345,1234343443,1234343455,1234344323,1234344343,1234344433,1234344445,1234344543,1234344555,1234344567,1234345443,1234345455,1234345545,1234345565,1234345655,1234345667,1234432100,1234432112,1234432210,1234432222,1234432234,1234432332,1234432344,1234433212,1234433232,1234433322,1234433334,1234433432,1234433444,1234433456,1234434332,1234434344,1234434434,1234434454,1234434544,1234434556,1234443210,1234443222,1234443234,1234443332,1234443344,1234443434,1234443454,1234444322,1234444334,1234444432,1234444444,1234444456,1234444554,1234444566,1234445434,1234445454,1234445544,1234445556,1234445654,1234445666,1234445678,1234454332,1234454344,1234454434,1234454454,1234454544,1234454556,1234455432,1234455444,1234455456,1234455554,1234455566,1234455656,1234455676,1234456544,1234456556,1234456654,1234456666,1234456678,1234456776,1234456788,1234543212,1234543232,1234543322,1234543334,1234543432,1234543444,1234543456,1234544332,1234544344,1234544434,1234544454,1234544544,1234544556,1234545432,1234545444,1234545456,1234545554,1234545566,1234545656,1234545676,1234554322,1234554334,1234554432,1234554444,1234554456,1234554554,1234554566,1234555434,1234555454,1234555544,1234555556,1234555654,1234555666,1234555678,1234556554,1234556566,1234556656,1234556676,1234556766,1234556778,1234565432,1234565444,1234565456,1234565554,1234565566,1234565656,1234565676,1234566544,1234566556,1234566654,1234566666,1234566678,1234566776,1234566788,1234567656,1234567676,1234567766,1234567778,1234567876,1234567888,2100000000,2100000012,2100000111,2100000123,2100001011,2100001110,2100001122,2100001212,2100001232,2100010001,2100010100,2100010112,2100011000,2100011012,2100011111,2100011123,2100011221,2100011233,2100012110,2100012122,2100012212,2100012232,2100012322,2100012334,2100100000,2100100012,2100100111,2100100123,2100101011,2100101110,2100101122,2100101212,2100101232,2100110001,2100110100,2100110112,2100111000,2100111012,2100111111,2100111123,2100111221,2100111233,2100112110,2100112122,2100112212,2100112232,2100112322,2100112334,2100121000,2100121012,2100121111,2100121123,2100121221,2100121233,2100122110,2100122122,2100122212,2100122232,2100122322,2100122334,2100123210,2100123222,2100123234,2100123332,2100123344,2100123434,2100123454,2101000001,2101000100,2101000112,2101001000,2101001012,2101001111,2101001123,2101001221,2101001233,2101010010,2101010101,2101010121,2101011001,2101011100,2101011112,2101011210,2101011222,2101011234,2101012111,2101012123,2101012221,2101012233,2101012323,2101012343,2101100001,2101100100,2101100112,2101101000,2101101012,2101101111,2101101123,2101101221,2101101233,2101110010,2101110101,2101110121,2101111001,2101111100,2101111112,2101111210,2101111222,2101111234,2101112111,2101112123,2101112221,2101112233,2101112323,2101112343,2101121001,2101121100,2101121112,2101121210,2101121222,2101121234,2101122111,2101122123,2101122221,2101122233,2101122323,2101122343,2101123211,2101123223,2101123321,2101123333,2101123345,2101123443,2101123455,2101210010,2101210101,2101210121,2101211001,2101211100,2101211112,2101211210,2101211222,2101211234,2101212111,2101212123,2101212221,2101212233,2101212323,2101212343,2101221001,2101221100,2101221112,2101221210,2101221222,2101221234,2101222111,2101222123,2101222221,2101222233,2101222323,2101222343,2101223211,2101223223,2101223321,2101223333,2101223345,2101223443,2101223455,2101232110,2101232122,2101232212,2101232232,2101232322,2101232334,2101233210,2101233222,2101233234,2101233332,2101233344,2101233434,2101233454,2101234322,2101234334,2101234432,2101234444,2101234456,2101234554,2101234566,2110000010,2110000101,2110000121,2110001001,2110001100,2110001112,2110001210,2110001222,2110001234,2110010011,2110010110,2110010122,2110011010,2110011101,2110011121,2110011211,2110011223,2110012100,2110012112,2110012210,2110012222,2110012234,2110012332,2110012344,2110100010,2110100101,2110100121,2110101001,2110101100,2110101112,2110101210,2110101222,2110101234,2110110011,2110110110,2110110122,2110111010,2110111101,2110111121,2110111211,2110111223,2110112100,2110112112,2110112210,2110112222,2110112234,2110112332,2110112344,2110121010,2110121101,2110121121,2110121211,2110121223,2110122100,2110122112,2110122210,2110122222,2110122234,2110122332,2110122344,2110123212,2110123232,2110123322,2110123334,2110123432,2110123444,2110123456,2111000011,2111000110,2111000122,2111001010,2111001101,2111001121,2111001211,2111001223,2111010000,2111010012,2111010111,2111010123,2111011011,2111011110,2111011122,2111011212,2111011232,2111012101,2111012121,2111012211,2111012223,2111012321,2111012333,2111012345,2111100011,2111100110,2111100122,2111101010,2111101101,2111101121,2111101211,2111101223,2111110000,2111110012,2111110111,2111110123,2111111011,2111111110,2111111122,2111111212,2111111232,2111112101,2111112121,2111112211,2111112223,2111112321,2111112333,2111112345,2111121011,2111121110,2111121122,2111121212,2111121232,2111122101,2111122121,2111122211,2111122223,2111122321,2111122333,2111122345,2111123221,2111123233,2111123323,2111123343,2111123433,2111123445,2111210000,2111210012,2111210111,2111210123,2111211011,2111211110,2111211122,2111211212,2111211232,2111212101,2111212121,2111212211,2111212223,2111212321,2111212333,2111212345,2111221011,2111221110,2111221122,2111221212,2111221232,2111222101,2111222121,2111222211,2111222223,2111222321,2111222333,2111222345,2111223221,2111223233,2111223323,2111223343,2111223433,2111223445,2111232100,2111232112,2111232210,2111232222,2111232234,2111232332,2111232344,2111233212,2111233232,2111233322,2111233334,2111233432,2111233444,2111233456,2111234332,2111234344,2111234434,2111234454,2111234544,2111234556,2112100000,2112100012,2112100111,2112100123,2112101011,2112101110,2112101122,2112101212,2112101232,2112110001,2112110100,2112110112,2112111000,2112111012,2112111111,2112111123,2112111221,2112111233,2112112110,2112112122,2112112212,2112112232,2112112322,2112112334,2112121000,2112121012,2112121111,2112121123,2112121221,2112121233,2112122110,2112122122,2112122212,2112122232,2112122322,2112122334,2112123210,2112123222,2112123234,2112123332,2112123344,2112123434,2112123454,2112210001,2112210100,2112210112,2112211000,2112211012,2112211111,2112211123,2112211221,2112211233,2112212110,2112212122,2112212212,2112212232,2112212322,2112212334,2112221000,2112221012,2112221111,2112221123,2112221221,2112221233,2112222110,2112222122,2112222212,2112222232,2112222322,2112222334,2112223210,2112223222,2112223234,2112223332,2112223344,2112223434,2112223454,2112232101,2112232121,2112232211,2112232223,2112232321,2112232333,2112232345,2112233221,2112233233,2112233323,2112233343,2112233433,2112233445,2112234321,2112234333,2112234345,2112234443,2112234455,2112234545,2112234565,2112321001,2112321100,2112321112,2112321210,2112321222,2112321234,2112322111,2112322123,2112322221,2112322233,2112322323,2112322343,2112323211,2112323223,2112323321,2112323333,2112323345,2112323443,2112323455,2112332110,2112332122,2112332212,2112332232,2112332322,2112332334,2112333210,2112333222,2112333234,2112333332,2112333344,2112333434,2112333454,2112334322,2112334334,2112334432,2112334444,2112334456,2112334554,2112334566,2112343212,2112343232,2112343322,2112343334,2112343432,2112343444,2112343456,2112344332,2112344344,2112344434,2112344454,2112344544,2112344556,2112345432,2112345444,2112345456,2112345554,2112345566,2112345656,2112345676,2121000001,2121000100,2121000112,2121001000,2121001012,2121001111,2121001123,2121001221,2121001233,2121010010,2121010101,2121010121,2121011001,2121011100,2121011112,2121011210,2121011222,2121011234,2121012111,2121012123,2121012221,2121012233,2121012323,2121012343,2121100001,2121100100,2121100112,2121101000,2121101012,2121101111,2121101123,2121101221,2121101233,2121110010,2121110101,2121110121,2121111001,2121111100,2121111112,2121111210,2121111222,2121111234,2121112111,2121112123,2121112221,2121112233,2121112323,2121112343,2121121001,2121121100,2121121112,2121121210,2121121222,2121121234,2121122111,2121122123,2121122221,2121122233,2121122323,2121122343,2121123211,2121123223,2121123321,2121123333,2121123345,2121123443,2121123455,2121210010,2121210101,2121210121,2121211001,2121211100,2121211112,2121211210,2121211222,2121211234,2121212111,2121212123,2121212221,2121212233,2121212323,2121212343,2121221001,2121221100,2121221112,2121221210,2121221222,2121221234,2121222111,2121222123,2121222221,2121222233,2121222323,2121222343,2121223211,2121223223,2121223321,2121223333,2121223345,2121223443,2121223455,2121232110,2121232122,2121232212,2121232232,2121232322,2121232334,2121233210,2121233222,2121233234,2121233332,2121233344,2121233434,2121233454,2121234322,2121234334,2121234432,2121234444,2121234456,2121234554,2121234566,2122100010,2122100101,2122100121,2122101001,2122101100,2122101112,2122101210,2122101222,2122101234,2122110011,2122110110,2122110122,2122111010,2122111101,2122111121,2122111211,2122111223,2122112100,2122112112,2122112210,2122112222,2122112234,2122112332,2122112344,2122121010,2122121101,2122121121,2122121211,2122121223,2122122100,2122122112,2122122210,2122122222,2122122234,2122122332,2122122344,2122123212,2122123232,2122123322,2122123334,2122123432,2122123444,2122123456,2122210011,2122210110,2122210122,2122211010,2122211101,2122211121,2122211211,2122211223,2122212100,2122212112,2122212210,2122212222,2122212234,2122212332,2122212344,2122221010,2122221101,2122221121,2122221211,2122221223,2122222100,2122222112,2122222210,2122222222,2122222234,2122222332,2122222344,2122223212,2122223232,2122223322,2122223334,2122223432,2122223444,2122223456,2122232111,2122232123,2122232221,2122232233,2122232323,2122232343,2122233211,2122233223,2122233321,2122233333,2122233345,2122233443,2122233455,2122234323,2122234343,2122234433,2122234445,2122234543,2122234555,2122234567,2122321011,2122321110,2122321122,2122321212,2122321232,2122322101,2122322121,2122322211,2122322223,2122322321,2122322333,2122322345,2122323221,2122323233,2122323323,2122323343,2122323433,2122323445,2122332100,2122332112,2122332210,2122332222,2122332234,2122332332,2122332344,2122333212,2122333232,2122333322,2122333334,2122333432,2122333444,2122333456,2122334332,2122334344,2122334434,2122334454,2122334544,2122334556,2122343210,2122343222,2122343234,2122343332,2122343344,2122343434,2122343454,2122344322,2122344334,2122344432,2122344444,2122344456,2122344554,2122344566,2122345434,2122345454,2122345544,2122345556,2122345654,2122345666,2122345678,2123210011,2123210110,2123210122,2123211010,2123211101,2123211121,2123211211,2123211223,2123212100,2123212112,2123212210,2123212222,2123212234,2123212332,2123212344,2123221010,2123221101,2123221121,2123221211,2123221223,2123222100,2123222112,2123222210,2123222222,2123222234,2123222332,2123222344,2123223212,2123223232,2123223322,2123223334,2123223432,2123223444,2123223456,2123232111,2123232123,2123232221,2123232233,2123232323,2123232343,2123233211,2123233223,2123233321,2123233333,2123233345,2123233443,2123233455,2123234323,2123234343,2123234433,2123234445,2123234543,2123234555,2123234567,2123321011,2123321110,2123321122,2123321212,2123321232,2123322101,2123322121,2123322211,2123322223,2123322321,2123322333,2123322345,2123323221,2123323233,2123323323,2123323343,2123323433,2123323445,2123332100,2123332112,2123332210,2123332222,2123332234,2123332332,2123332344,2123333212,2123333232,2123333322,2123333334,2123333432,2123333444,2123333456,2123334332,2123334344,2123334434,2123334454,2123334544,2123334556,2123343210,2123343222,2123343234,2123343332,2123343344,2123343434,2123343454,2123344322,2123344334,2123344432,2123344444,2123344456,2123344554,2123344566,2123345434,2123345454,2123345544,2123345556,2123345654,2123345666,2123345678,2123432111,2123432123,2123432221,2123432233,2123432323,2123432343,2123433211,2123433223,2123433321,2123433333,2123433345,2123433443,2123433455,2123434323,2123434343,2123434433,2123434445,2123434543,2123434555,2123434567,2123443221,2123443233,2123443323,2123443343,2123443433,2123443445,2123444321,2123444333,2123444345,2123444443,2123444455,2123444545,2123444565,2123445433,2123445445,2123445543,2123445555,2123445567,2123445665,2123445677,2123454323,2123454343,2123454433,2123454445,2123454543,2123454555,2123454567,2123455443,2123455455,2123455545,2123455565,2123455655,2123455667,2123456543,2123456555,2123456567,2123456665,2123456677,2123456767,2123456787,2210000001,2210000100,2210000112,2210001000,2210001012,2210001111,2210001123,2210001221,2210001233,2210010010,2210010101,2210010121,2210011001,2210011100,2210011112,2210011210,2210011222,2210011234,2210012111,2210012123,2210012221,2210012233,2210012323,2210012343,2210100001,2210100100,2210100112,2210101000,2210101012,2210101111,2210101123,2210101221,2210101233,2210110010,2210110101,2210110121,2210111001,2210111100,2210111112,2210111210,2210111222,2210111234,2210112111,2210112123,2210112221,2210112233,2210112323,2210112343,2210121001,2210121100,2210121112,2210121210,2210121222,2210121234,2210122111,2210122123,2210122221,2210122233,2210122323,2210122343,2210123211,2210123223,2210123321,2210123333,2210123345,2210123443,2210123455,2211000010,2211000101,2211000121,2211001001,2211001100,2211001112,2211001210,2211001222,2211001234,2211010011,2211010110,2211010122,2211011010,2211011101,2211011121,2211011211,2211011223,2211012100,2211012112,2211012210,2211012222,2211012234,2211012332,2211012344,2211100010,2211100101,2211100121,2211101001,2211101100,2211101112,2211101210,2211101222,2211101234,2211110011,2211110110,2211110122,2211111010,2211111101,2211111121,2211111211,2211111223,2211112100,2211112112,2211112210,2211112222,2211112234,2211112332,2211112344,2211121010,2211121101,2211121121,2211121211,2211121223,2211122100,2211122112,2211122210,2211122222,2211122234,2211122332,2211122344,2211123212,2211123232,2211123322,2211123334,2211123432,2211123444,2211123456,2211210011,2211210110,2211210122,2211211010,2211211101,2211211121,2211211211,2211211223,2211212100,2211212112,2211212210,2211212222,2211212234,2211212332,2211212344,2211221010,2211221101,2211221121,2211221211,2211221223,2211222100,2211222112,2211222210,2211222222,2211222234,2211222332,2211222344,2211223212,2211223232,2211223322,2211223334,2211223432,2211223444,2211223456,2211232111,2211232123,2211232221,2211232233,2211232323,2211232343,2211233211,2211233223,2211233321,2211233333,2211233345,2211233443,2211233455,2211234323,2211234343,2211234433,2211234445,2211234543,2211234555,2211234567,2212100011,2212100110,2212100122,2212101010,2212101101,2212101121,2212101211,2212101223,2212110000,2212110012,2212110111,2212110123,2212111011,2212111110,2212111122,2212111212,2212111232,2212112101,2212112121,2212112211,2212112223,2212112321,2212112333,2212112345,2212121011,2212121110,2212121122,2212121212,2212121232,2212122101,2212122121,2212122211,2212122223,2212122321,2212122333,2212122345,2212123221,2212123233,2212123323,2212123343,2212123433,2212123445,2212210000,2212210012,2212210111,2212210123,2212211011,2212211110,2212211122,2212211212,2212211232,2212212101,2212212121,2212212211,2212212223,2212212321,2212212333,2212212345,2212221011,2212221110,2212221122,2212221212,2212221232,2212222101,2212222121,2212222211,2212222223,2212222321,2212222333,2212222345,2212223221,2212223233,2212223323,2212223343,2212223433,2212223445,2212232100,2212232112,2212232210,2212232222,2212232234,2212232332,2212232344,2212233212,2212233232,2212233322,2212233334,2212233432,2212233444,2212233456,2212234332,2212234344,2212234434,2212234454,2212234544,2212234556,2212321000,2212321012,2212321111,2212321123,2212321221,2212321233,2212322110,2212322122,2212322212,2212322232,2212322322,2212322334,2212323210,2212323222,2212323234,2212323332,2212323344,2212323434,2212323454,2212332101,2212332121,2212332211,2212332223,2212332321,2212332333,2212332345,2212333221,2212333233,2212333323,2212333343,2212333433,2212333445,2212334321,2212334333,2212334345,2212334443,2212334455,2212334545,2212334565,2212343211,2212343223,2212343321,2212343333,2212343345,2212343443,2212343455,2212344323,2212344343,2212344433,2212344445,2212344543,2212344555,2212344567,2212345443,2212345455,2212345545,2212345565,2212345655,2212345667,2221000000,2221000012,2221000111,2221000123,2221001011,2221001110,2221001122,2221001212,2221001232,2221010001,2221010100,2221010112,2221011000,2221011012,2221011111,2221011123,2221011221,2221011233,2221012110,2221012122,2221012212,2221012232,2221012322,2221012334,2221100000,2221100012,2221100111,2221100123,2221101011,2221101110,2221101122,2221101212,2221101232,2221110001,2221110100,2221110112,2221111000,2221111012,2221111111,2221111123,2221111221,2221111233,2221112110,2221112122,2221112212,2221112232,2221112322,2221112334,2221121000,2221121012,2221121111,2221121123,2221121221,2221121233,2221122110,2221122122,2221122212,2221122232,2221122322,2221122334,2221123210,2221123222,2221123234,2221123332,2221123344,2221123434,2221123454,2221210001,2221210100,2221210112,2221211000,2221211012,2221211111,2221211123,2221211221,2221211233,2221212110,2221212122,2221212212,2221212232,2221212322,2221212334,2221221000,2221221012,2221221111,2221221123,2221221221,2221221233,2221222110,2221222122,2221222212,2221222232,2221222322,2221222334,2221223210,2221223222,2221223234,2221223332,2221223344,2221223434,2221223454,2221232101,2221232121,2221232211,2221232223,2221232321,2221232333,2221232345,2221233221,2221233233,2221233323,2221233343,2221233433,2221233445,2221234321,2221234333,2221234345,2221234443,2221234455,2221234545,2221234565,2222100001,2222100100,2222100112,2222101000,2222101012,2222101111,2222101123,2222101221,2222101233,2222110010,2222110101,2222110121,2222111001,2222111100,2222111112,2222111210,2222111222,2222111234,2222112111,2222112123,2222112221,2222112233,2222112323,2222112343,2222121001,2222121100,2222121112,2222121210,2222121222,2222121234,2222122111,2222122123,2222122221,2222122233,2222122323,2222122343,2222123211,2222123223,2222123321,2222123333,2222123345,2222123443,2222123455,2222210010,2222210101,2222210121,2222211001,2222211100,2222211112,2222211210,2222211222,2222211234,2222212111,2222212123,2222212221,2222212233,2222212323,2222212343,2222221001,2222221100,2222221112,2222221210,2222221222,2222221234,2222222111,2222222123,2222222221,2222222233,2222222323,2222222343,2222223211,2222223223,2222223321,2222223333,2222223345,2222223443,2222223455,2222232110,2222232122,2222232212,2222232232,2222232322,2222232334,2222233210,2222233222,2222233234,2222233332,2222233344,2222233434,2222233454,2222234322,2222234334,2222234432,2222234444,2222234456,2222234554,2222234566,2222321010,2222321101,2222321121,2222321211,2222321223,2222322100,2222322112,2222322210,2222322222,2222322234,2222322332,2222322344,2222323212,2222323232,2222323322,2222323334,2222323432,2222323444,2222323456,2222332111,2222332123,2222332221,2222332233,2222332323,2222332343,2222333211,2222333223,2222333321,2222333333,2222333345,2222333443,2222333455,2222334323,2222334343,2222334433,2222334445,2222334543,2222334555,2222334567,2222343221,2222343233,2222343323,2222343343,2222343433,2222343445,2222344321,2222344333,2222344345,2222344443,2222344455,2222344545,2222344565,2222345433,2222345445,2222345543,2222345555,2222345567,2222345665,2222345677,2223210010,2223210101,2223210121,2223211001,2223211100,2223211112,2223211210,2223211222,2223211234,2223212111,2223212123,2223212221,2223212233,2223212323,2223212343,2223221001,2223221100,2223221112,2223221210,2223221222,2223221234,2223222111,2223222123,2223222221,2223222233,2223222323,2223222343,2223223211,2223223223,2223223321,2223223333,2223223345,2223223443,2223223455,2223232110,2223232122,2223232212,2223232232,2223232322,2223232334,2223233210,2223233222,2223233234,2223233332,2223233344,2223233434,2223233454,2223234322,2223234334,2223234432,2223234444,2223234456,2223234554,2223234566,2223321010,2223321101,2223321121,2223321211,2223321223,2223322100,2223322112,2223322210,2223322222,2223322234,2223322332,2223322344,2223323212,2223323232,2223323322,2223323334,2223323432,2223323444,2223323456,2223332111,2223332123,2223332221,2223332233,2223332323,2223332343,2223333211,2223333223,2223333321,2223333333,2223333345,2223333443,2223333455,2223334323,2223334343,2223334433,2223334445,2223334543,2223334555,2223334567,2223343221,2223343233,2223343323,2223343343,2223343433,2223343445,2223344321,2223344333,2223344345,2223344443,2223344455,2223344545,2223344565,2223345433,2223345445,2223345543,2223345555,2223345567,2223345665,2223345677,2223432110,2223432122,2223432212,2223432232,2223432322,2223432334,2223433210,2223433222,2223433234,2223433332,2223433344,2223433434,2223433454,2223434322,2223434334,2223434432,2223434444,2223434456,2223434554,2223434566,2223443212,2223443232,2223443322,2223443334,2223443432,2223443444,2223443456,2223444332,2223444344,2223444434,2223444454,2223444544,2223444556,2223445432,2223445444,2223445456,2223445554,2223445566,2223445656,2223445676,2223454322,2223454334,2223454432,2223454444,2223454456,2223454554,2223454566,2223455434,2223455454,2223455544,2223455556,2223455654,2223455666,2223455678,2223456554,2223456566,2223456656,2223456676,2223456766,2223456778,2232100000,2232100012,2232100111,2232100123,2232101011,2232101110,2232101122,2232101212,2232101232,2232110001,2232110100,2232110112,2232111000,2232111012,2232111111,2232111123,2232111221,2232111233,2232112110,2232112122,2232112212,2232112232,2232112322,2232112334,2232121000,2232121012,2232121111,2232121123,2232121221,2232121233,2232122110,2232122122,2232122212,2232122232,2232122322,2232122334,2232123210,2232123222,2232123234,2232123332,2232123344,2232123434,2232123454,2232210001,2232210100,2232210112,2232211000,2232211012,2232211111,2232211123,2232211221,2232211233,2232212110,2232212122,2232212212,2232212232,2232212322,2232212334,2232221000,2232221012,2232221111,2232221123,2232221221,2232221233,2232222110,2232222122,2232222212,2232222232,2232222322,2232222334,2232223210,2232223222,2232223234,2232223332,2232223344,2232223434,2232223454,2232232101,2232232121,2232232211,2232232223,2232232321,2232232333,2232232345,2232233221,2232233233,2232233323,2232233343,2232233433,2232233445,2232234321,2232234333,2232234345,2232234443,2232234455,2232234545,2232234565,2232321001,2232321100,2232321112,2232321210,2232321222,2232321234,2232322111,2232322123,2232322221,2232322233,2232322323,2232322343,2232323211,2232323223,2232323321,2232323333,2232323345,2232323443,2232323455,2232332110,2232332122,2232332212,2232332232,2232332322,2232332334,2232333210,2232333222,2232333234,2232333332,2232333344,2232333434,2232333454,2232334322,2232334334,2232334432,2232334444,2232334456,2232334554,2232334566,2232343212,2232343232,2232343322,2232343334,2232343432,2232343444,2232343456,2232344332,2232344344,2232344434,2232344454,2232344544,2232344556,2232345432,2232345444,2232345456,2232345554,2232345566,2232345656,2232345676,2233210001,2233210100,2233210112,2233211000,2233211012,2233211111,2233211123,2233211221,2233211233,2233212110,2233212122,2233212212,2233212232,2233212322,2233212334,2233221000,2233221012,2233221111,2233221123,2233221221,2233221233,2233222110,2233222122,2233222212,2233222232,2233222322,2233222334,2233223210,2233223222,2233223234,2233223332,2233223344,2233223434,2233223454,2233232101,2233232121,2233232211,2233232223,2233232321,2233232333,2233232345,2233233221,2233233233,2233233323,2233233343,2233233433,2233233445,2233234321,2233234333,2233234345,2233234443,2233234455,2233234545,2233234565,2233321001,2233321100,2233321112,2233321210,2233321222,2233321234,2233322111,2233322123,2233322221,2233322233,2233322323,2233322343,2233323211,2233323223,2233323321,2233323333,2233323345,2233323443,2233323455,2233332110,2233332122,2233332212,2233332232,2233332322,2233332334,2233333210,2233333222,2233333234,2233333332,2233333344,2233333434,2233333454,2233334322,2233334334,2233334432,2233334444,2233334456,2233334554,2233334566,2233343212,2233343232,2233343322,2233343334,2233343432,2233343444,2233343456,2233344332,2233344344,2233344434,2233344454,2233344544,2233344556,2233345432,2233345444,2233345456,2233345554,2233345566,2233345656,2233345676,2233432101,2233432121,2233432211,2233432223,2233432321,2233432333,2233432345,2233433221,2233433233,2233433323,2233433343,2233433433,2233433445,2233434321,2233434333,2233434345,2233434443,2233434455,2233434545,2233434565,2233443211,2233443223,2233443321,2233443333,2233443345,2233443443,2233443455,2233444323,2233444343,2233444433,2233444445,2233444543,2233444555,2233444567,2233445443,2233445455,2233445545,2233445565,2233445655,2233445667,2233454321,2233454333,2233454345,2233454443,2233454455,2233454545,2233454565,2233455433,2233455445,2233455543,2233455555,2233455567,2233455665,2233455677,2233456545,2233456565,2233456655,2233456667,2233456765,2233456777,2233456789,2234321011,2234321110,2234321122,2234321212,2234321232,2234322101,2234322121,2234322211,2234322223,2234322321,2234322333,2234322345,2234323221,2234323233,2234323323,2234323343,2234323433,2234323445,2234332100,2234332112,2234332210,2234332222,2234332234,2234332332,2234332344,2234333212,2234333232,2234333322,2234333334,2234333432,2234333444,2234333456,2234334332,2234334344,2234334434,2234334454,2234334544,2234334556,2234343210,2234343222,2234343234,2234343332,2234343344,2234343434,2234343454,2234344322,2234344334,2234344432,2234344444,2234344456,2234344554,2234344566,2234345434,2234345454,2234345544,2234345556,2234345654,2234345666,2234345678,2234432111,2234432123,2234432221,2234432233,2234432323,2234432343,2234433211,2234433223,2234433321,2234433333,2234433345,2234433443,2234433455,2234434323,2234434343,2234434433,2234434445,2234434543,2234434555,2234434567,2234443221,2234443233,2234443323,2234443343,2234443433,2234443445,2234444321,2234444333,2234444345,2234444443,2234444455,2234444545,2234444565,2234445433,2234445445,2234445543,2234445555,2234445567,2234445665,2234445677,2234454323,2234454343,2234454433,2234454445,2234454543,2234454555,2234454567,2234455443,2234455455,2234455545,2234455565,2234455655,2234455667,2234456543,2234456555,2234456567,2234456665,2234456677,2234456767,2234456787,2234543211,2234543223,2234543321,2234543333,2234543345,2234543443,2234543455,2234544323,2234544343,2234544433,2234544445,2234544543,2234544555,2234544567,2234545443,2234545455,2234545545,2234545565,2234545655,2234545667,2234554321,2234554333,2234554345,2234554443,2234554455,2234554545,2234554565,2234555433,2234555445,2234555543,2234555555,2234555567,2234555665,2234555677,2234556545,2234556565,2234556655,2234556667,2234556765,2234556777,2234556789,2234565443,2234565455,2234565545,2234565565,2234565655,2234565667,2234566543,2234566555,2234566567,2234566665,2234566677,2234566767,2234566787,2234567655,2234567667,2234567765,2234567777,2234567789,2234567887,2234567899,2321000011,2321000110,2321000122,2321001010,2321001101,2321001121,2321001211,2321001223,2321010000,2321010012,2321010111,2321010123,2321011011,2321011110,2321011122,2321011212,2321011232,2321012101,2321012121,2321012211,2321012223,2321012321,2321012333,2321012345,2321100011,2321100110,2321100122,2321101010,2321101101,2321101121,2321101211,2321101223,2321110000,2321110012,2321110111,2321110123,2321111011,2321111110,2321111122,2321111212,2321111232,2321112101,2321112121,2321112211,2321112223,2321112321,2321112333,2321112345,2321121011,2321121110,2321121122,2321121212,2321121232,2321122101,2321122121,2321122211,2321122223,2321122321,2321122333,2321122345,2321123221,2321123233,2321123323,2321123343,2321123433,2321123445,2321210000,2321210012,2321210111,2321210123,2321211011,2321211110,2321211122,2321211212,2321211232,2321212101,2321212121,2321212211,2321212223,2321212321,2321212333,2321212345,2321221011,2321221110,2321221122,2321221212,2321221232,2321222101,2321222121,2321222211,2321222223,2321222321,2321222333,2321222345,2321223221,2321223233,2321223323,2321223343,2321223433,2321223445,2321232100,2321232112,2321232210,2321232222,2321232234,2321232332,2321232344,2321233212,2321233232,2321233322,2321233334,2321233432,2321233444,2321233456,2321234332,2321234344,2321234434,2321234454,2321234544,2321234556,2322100000,2322100012,2322100111,2322100123,2322101011,2322101110,2322101122,2322101212,2322101232,2322110001,2322110100,2322110112,2322111000,2322111012,2322111111,2322111123,2322111221,2322111233,2322112110,2322112122,2322112212,2322112232,2322112322,2322112334,2322121000,2322121012,2322121111,2322121123,2322121221,2322121233,2322122110,2322122122,2322122212,2322122232,2322122322,2322122334,2322123210,2322123222,2322123234,2322123332,2322123344,2322123434,2322123454,2322210001,2322210100,2322210112,2322211000,2322211012,2322211111,2322211123,2322211221,2322211233,2322212110,2322212122,2322212212,2322212232,2322212322,2322212334,2322221000,2322221012,2322221111,2322221123,2322221221,2322221233,2322222110,2322222122,2322222212,2322222232,2322222322,2322222334,2322223210,2322223222,2322223234,2322223332,2322223344,2322223434,2322223454,2322232101,2322232121,2322232211,2322232223,2322232321,2322232333,2322232345,2322233221,2322233233,2322233323,2322233343,2322233433,2322233445,2322234321,2322234333,2322234345,2322234443,2322234455,2322234545,2322234565,2322321001,2322321100,2322321112,2322321210,2322321222,2322321234,2322322111,2322322123,2322322221,2322322233,2322322323,2322322343,2322323211,2322323223,2322323321,2322323333,2322323345,2322323443,2322323455,2322332110,2322332122,2322332212,2322332232,2322332322,2322332334,2322333210,2322333222,2322333234,2322333332,2322333344,2322333434,2322333454,2322334322,2322334334,2322334432,2322334444,2322334456,2322334554,2322334566,2322343212,2322343232,2322343322,2322343334,2322343432,2322343444,2322343456,2322344332,2322344344,2322344434,2322344454,2322344544,2322344556,2322345432,2322345444,2322345456,2322345554,2322345566,2322345656,2322345676,2323210001,2323210100,2323210112,2323211000,2323211012,2323211111,2323211123,2323211221,2323211233,2323212110,2323212122,2323212212,2323212232,2323212322,2323212334,2323221000,2323221012,2323221111,2323221123,2323221221,2323221233,2323222110,2323222122,2323222212,2323222232,2323222322,2323222334,2323223210,2323223222,2323223234,2323223332,2323223344,2323223434,2323223454,2323232101,2323232121,2323232211,2323232223,2323232321,2323232333,2323232345,2323233221,2323233233,2323233323,2323233343,2323233433,2323233445,2323234321,2323234333,2323234345,2323234443,2323234455,2323234545,2323234565,2323321001,2323321100,2323321112,2323321210,2323321222,2323321234,2323322111,2323322123,2323322221,2323322233,2323322323,2323322343,2323323211,2323323223,2323323321,2323323333,2323323345,2323323443,2323323455,2323332110,2323332122,2323332212,2323332232,2323332322,2323332334,2323333210,2323333222,2323333234,2323333332,2323333344,2323333434,2323333454,2323334322,2323334334,2323334432,2323334444,2323334456,2323334554,2323334566,2323343212,2323343232,2323343322,2323343334,2323343432,2323343444,2323343456,2323344332,2323344344,2323344434,2323344454,2323344544,2323344556,2323345432,2323345444,2323345456,2323345554,2323345566,2323345656,2323345676,2323432101,2323432121,2323432211,2323432223,2323432321,2323432333,2323432345,2323433221,2323433233,2323433323,2323433343,2323433433,2323433445,2323434321,2323434333,2323434345,2323434443,2323434455,2323434545,2323434565,2323443211,2323443223,2323443321,2323443333,2323443345,2323443443,2323443455,2323444323,2323444343,2323444433,2323444445,2323444543,2323444555,2323444567,2323445443,2323445455,2323445545,2323445565,2323445655,2323445667,2323454321,2323454333,2323454345,2323454443,2323454455,2323454545,2323454565,2323455433,2323455445,2323455543,2323455555,2323455567,2323455665,2323455677,2323456545,2323456565,2323456655,2323456667,2323456765,2323456777,2323456789,2332100011,2332100110,2332100122,2332101010,2332101101,2332101121,2332101211,2332101223,2332110000,2332110012,2332110111,2332110123,2332111011,2332111110,2332111122,2332111212,2332111232,2332112101,2332112121,2332112211,2332112223,2332112321,2332112333,2332112345,2332121011,2332121110,2332121122,2332121212,2332121232,2332122101,2332122121,2332122211,2332122223,2332122321,2332122333,2332122345,2332123221,2332123233,2332123323,2332123343,2332123433,2332123445,2332210000,2332210012,2332210111,2332210123,2332211011,2332211110,2332211122,2332211212,2332211232,2332212101,2332212121,2332212211,2332212223,2332212321,2332212333,2332212345,2332221011,2332221110,2332221122,2332221212,2332221232,2332222101,2332222121,2332222211,2332222223,2332222321,2332222333,2332222345,2332223221,2332223233,2332223323,2332223343,2332223433,2332223445,2332232100,2332232112,2332232210,2332232222,2332232234,2332232332,2332232344,2332233212,2332233232,2332233322,2332233334,2332233432,2332233444,2332233456,2332234332,2332234344,2332234434,2332234454,2332234544,2332234556,2332321000,2332321012,2332321111,2332321123,2332321221,2332321233,2332322110,2332322122,2332322212,2332322232,2332322322,2332322334,2332323210,2332323222,2332323234,2332323332,2332323344,2332323434,2332323454,2332332101,2332332121,2332332211,2332332223,2332332321,2332332333,2332332345,2332333221,2332333233,2332333323,2332333343,2332333433,2332333445,2332334321,2332334333,2332334345,2332334443,2332334455,2332334545,2332334565,2332343211,2332343223,2332343321,2332343333,2332343345,2332343443,2332343455,2332344323,2332344343,2332344433,2332344445,2332344543,2332344555,2332344567,2332345443,2332345455,2332345545,2332345565,2332345655,2332345667,2333210000,2333210012,2333210111,2333210123,2333211011,2333211110,2333211122,2333211212,2333211232,2333212101,2333212121,2333212211,2333212223,2333212321,2333212333,2333212345,2333221011,2333221110,2333221122,2333221212,2333221232,2333222101,2333222121,2333222211,2333222223,2333222321,2333222333,2333222345,2333223221,2333223233,2333223323,2333223343,2333223433,2333223445,2333232100,2333232112,2333232210,2333232222,2333232234,2333232332,2333232344,2333233212,2333233232,2333233322,2333233334,2333233432,2333233444,2333233456,2333234332,2333234344,2333234434,2333234454,2333234544,2333234556,2333321000,2333321012,2333321111,2333321123,2333321221,2333321233,2333322110,2333322122,2333322212,2333322232,2333322322,2333322334,2333323210,2333323222,2333323234,2333323332,2333323344,2333323434,2333323454,2333332101,2333332121,2333332211,2333332223,2333332321,2333332333,2333332345,2333333221,2333333233,2333333323,2333333343,2333333433,2333333445,2333334321,2333334333,2333334345,2333334443,2333334455,2333334545,2333334565,2333343211,2333343223,2333343321,2333343333,2333343345,2333343443,2333343455,2333344323,2333344343,2333344433,2333344445,2333344543,2333344555,2333344567,2333345443,2333345455,2333345545,2333345565,2333345655,2333345667,2333432100,2333432112,2333432210,2333432222,2333432234,2333432332,2333432344,2333433212,2333433232,2333433322,2333433334,2333433432,2333433444,2333433456,2333434332,2333434344,2333434434,2333434454,2333434544,2333434556,2333443210,2333443222,2333443234,2333443332,2333443344,2333443434,2333443454,2333444322,2333444334,2333444432,2333444444,2333444456,2333444554,2333444566,2333445434,2333445454,2333445544,2333445556,2333445654,2333445666,2333445678,2333454332,2333454344,2333454434,2333454454,2333454544,2333454556,2333455432,2333455444,2333455456,2333455554,2333455566,2333455656,2333455676,2333456544,2333456556,2333456654,2333456666,2333456678,2333456776,2333456788,2334321010,2334321101,2334321121,2334321211,2334321223,2334322100,2334322112,2334322210,2334322222,2334322234,2334322332,2334322344,2334323212,2334323232,2334323322,2334323334,2334323432,2334323444,2334323456,2334332111,2334332123,2334332221,2334332233,2334332323,2334332343,2334333211,2334333223,2334333321,2334333333,2334333345,2334333443,2334333455,2334334323,2334334343,2334334433,2334334445,2334334543,2334334555,2334334567,2334343221,2334343233,2334343323,2334343343,2334343433,2334343445,2334344321,2334344333,2334344345,2334344443,2334344455,2334344545,2334344565,2334345433,2334345445,2334345543,2334345555,2334345567,2334345665,2334345677,2334432110,2334432122,2334432212,2334432232,2334432322,2334432334,2334433210,2334433222,2334433234,2334433332,2334433344,2334433434,2334433454,2334434322,2334434334,2334434432,2334434444,2334434456,2334434554,2334434566,2334443212,2334443232,2334443322,2334443334,2334443432,2334443444,2334443456,2334444332,2334444344,2334444434,2334444454,2334444544,2334444556,2334445432,2334445444,2334445456,2334445554,2334445566,2334445656,2334445676,2334454322,2334454334,2334454432,2334454444,2334454456,2334454554,2334454566,2334455434,2334455454,2334455544,2334455556,2334455654,2334455666,2334455678,2334456554,2334456566,2334456656,2334456676,2334456766,2334456778,2334543210,2334543222,2334543234,2334543332,2334543344,2334543434,2334543454,2334544322,2334544334,2334544432,2334544444,2334544456,2334544554,2334544566,2334545434,2334545454,2334545544,2334545556,2334545654,2334545666,2334545678,2334554332,2334554344,2334554434,2334554454,2334554544,2334554556,2334555432,2334555444,2334555456,2334555554,2334555566,2334555656,2334555676,2334556544,2334556556,2334556654,2334556666,2334556678,2334556776,2334556788,2334565434,2334565454,2334565544,2334565556,2334565654,2334565666,2334565678,2334566554,2334566566,2334566656,2334566676,2334566766,2334566778,2334567654,2334567666,2334567678,2334567776,2334567788,2334567878,2334567898,2343210010,2343210101,2343210121,2343211001,2343211100,2343211112,2343211210,2343211222,2343211234,2343212111,2343212123,2343212221,2343212233,2343212323,2343212343,2343221001,2343221100,2343221112,2343221210,2343221222,2343221234,2343222111,2343222123,2343222221,2343222233,2343222323,2343222343,2343223211,2343223223,2343223321,2343223333,2343223345,2343223443,2343223455,2343232110,2343232122,2343232212,2343232232,2343232322,2343232334,2343233210,2343233222,2343233234,2343233332,2343233344,2343233434,2343233454,2343234322,2343234334,2343234432,2343234444,2343234456,2343234554,2343234566,2343321010,2343321101,2343321121,2343321211,2343321223,2343322100,2343322112,2343322210,2343322222,2343322234,2343322332,2343322344,2343323212,2343323232,2343323322,2343323334,2343323432,2343323444,2343323456,2343332111,2343332123,2343332221,2343332233,2343332323,2343332343,2343333211,2343333223,2343333321,2343333333,2343333345,2343333443,2343333455,2343334323,2343334343,2343334433,2343334445,2343334543,2343334555,2343334567,2343343221,2343343233,2343343323,2343343343,2343343433,2343343445,2343344321,2343344333,2343344345,2343344443,2343344455,2343344545,2343344565,2343345433,2343345445,2343345543,2343345555,2343345567,2343345665,2343345677,2343432110,2343432122,2343432212,2343432232,2343432322,2343432334,2343433210,2343433222,2343433234,2343433332,2343433344,2343433434,2343433454,2343434322,2343434334,2343434432,2343434444,2343434456,2343434554,2343434566,2343443212,2343443232,2343443322,2343443334,2343443432,2343443444,2343443456,2343444332,2343444344,2343444434,2343444454,2343444544,2343444556,2343445432,2343445444,2343445456,2343445554,2343445566,2343445656,2343445676,2343454322,2343454334,2343454432,2343454444,2343454456,2343454554,2343454566,2343455434,2343455454,2343455544,2343455556,2343455654,2343455666,2343455678,2343456554,2343456566,2343456656,2343456676,2343456766,2343456778,2344321000,2344321012,2344321111,2344321123,2344321221,2344321233,2344322110,2344322122,2344322212,2344322232,2344322322,2344322334,2344323210,2344323222,2344323234,2344323332,2344323344,2344323434,2344323454,2344332101,2344332121,2344332211,2344332223,2344332321,2344332333,2344332345,2344333221,2344333233,2344333323,2344333343,2344333433,2344333445,2344334321,2344334333,2344334345,2344334443,2344334455,2344334545,2344334565,2344343211,2344343223,2344343321,2344343333,2344343345,2344343443,2344343455,2344344323,2344344343,2344344433,2344344445,2344344543,2344344555,2344344567,2344345443,2344345455,2344345545,2344345565,2344345655,2344345667,2344432100,2344432112,2344432210,2344432222,2344432234,2344432332,2344432344,2344433212,2344433232,2344433322,2344433334,2344433432,2344433444,2344433456,2344434332,2344434344,2344434434,2344434454,2344434544,2344434556,2344443210,2344443222,2344443234,2344443332,2344443344,2344443434,2344443454,2344444322,2344444334,2344444432,2344444444,2344444456,2344444554,2344444566,2344445434,2344445454,2344445544,2344445556,2344445654,2344445666,2344445678,2344454332,2344454344,2344454434,2344454454,2344454544,2344454556,2344455432,2344455444,2344455456,2344455554,2344455566,2344455656,2344455676,2344456544,2344456556,2344456654,2344456666,2344456678,2344456776,2344456788,2344543212,2344543232,2344543322,2344543334,2344543432,2344543444,2344543456,2344544332,2344544344,2344544434,2344544454,2344544544,2344544556,2344545432,2344545444,2344545456,2344545554,2344545566,2344545656,2344545676,2344554322,2344554334,2344554432,2344554444,2344554456,2344554554,2344554566,2344555434,2344555454,2344555544,2344555556,2344555654,2344555666,2344555678,2344556554,2344556566,2344556656,2344556676,2344556766,2344556778,2344565432,2344565444,2344565456,2344565554,2344565566,2344565656,2344565676,2344566544,2344566556,2344566654,2344566666,2344566678,2344566776,2344566788,2344567656,2344567676,2344567766,2344567778,2344567876,2344567888,2345432100,2345432112,2345432210,2345432222,2345432234,2345432332,2345432344,2345433212,2345433232,2345433322,2345433334,2345433432,2345433444,2345433456,2345434332,2345434344,2345434434,2345434454,2345434544,2345434556,2345443210,2345443222,2345443234,2345443332,2345443344,2345443434,2345443454,2345444322,2345444334,2345444432,2345444444,2345444456,2345444554,2345444566,2345445434,2345445454,2345445544,2345445556,2345445654,2345445666,2345445678,2345454332,2345454344,2345454434,2345454454,2345454544,2345454556,2345455432,2345455444,2345455456,2345455554,2345455566,2345455656,2345455676,2345456544,2345456556,2345456654,2345456666,2345456678,2345456776,2345456788,2345543212,2345543232,2345543322,2345543334,2345543432,2345543444,2345543456,2345544332,2345544344,2345544434,2345544454,2345544544,2345544556,2345545432,2345545444,2345545456,2345545554,2345545566,2345545656,2345545676,2345554322,2345554334,2345554432,2345554444,2345554456,2345554554,2345554566,2345555434,2345555454,2345555544,2345555556,2345555654,2345555666,2345555678,2345556554,2345556566,2345556656,2345556676,2345556766,2345556778,2345565432,2345565444,2345565456,2345565554,2345565566,2345565656,2345565676,2345566544,2345566556,2345566654,2345566666,2345566678,2345566776,2345566788,2345567656,2345567676,2345567766,2345567778,2345567876,2345567888,2345654321,2345654333,2345654345,2345654443,2345654455,2345654545,2345654565,2345655433,2345655445,2345655543,2345655555,2345655567,2345655665,2345655677,2345656545,2345656565,2345656655,2345656667,2345656765,2345656777,2345656789,2345665443,2345665455,2345665545,2345665565,2345665655,2345665667,2345666543,2345666555,2345666567,2345666665,2345666677,2345666767,2345666787,2345667655,2345667667,2345667765,2345667777,2345667789,2345667887,2345667899,2345676554,2345676566,2345676656,2345676676,2345676766,2345676778,2345677654,2345677666,2345677678,2345677776,2345677788,2345677878,2345677898,2345678767,2345678787,2345678877,2345678889,2345678988,3210000000,3210000012,3210000111,3210000123,3210001011,3210001110,3210001122,3210001212,3210001232,3210010001,3210010100,3210010112,3210011000,3210011012,3210011111,3210011123,3210011221,3210011233,3210012110,3210012122,3210012212,3210012232,3210012322,3210012334,3210100000,3210100012,3210100111,3210100123,3210101011,3210101110,3210101122,3210101212,3210101232,3210110001,3210110100,3210110112,3210111000,3210111012,3210111111,3210111123,3210111221,3210111233,3210112110,3210112122,3210112212,3210112232,3210112322,3210112334,3210121000,3210121012,3210121111,3210121123,3210121221,3210121233,3210122110,3210122122,3210122212,3210122232,3210122322,3210122334,3210123210,3210123222,3210123234,3210123332,3210123344,3210123434,3210123454,3211000001,3211000100,3211000112,3211001000,3211001012,3211001111,3211001123,3211001221,3211001233,3211010010,3211010101,3211010121,3211011001,3211011100,3211011112,3211011210,3211011222,3211011234,3211012111,3211012123,3211012221,3211012233,3211012323,3211012343,3211100001,3211100100,3211100112,3211101000,3211101012,3211101111,3211101123,3211101221,3211101233,3211110010,3211110101,3211110121,3211111001,3211111100,3211111112,3211111210,3211111222,3211111234,3211112111,3211112123,3211112221,3211112233,3211112323,3211112343,3211121001,3211121100,3211121112,3211121210,3211121222,3211121234,3211122111,3211122123,3211122221,3211122233,3211122323,3211122343,3211123211,3211123223,3211123321,3211123333,3211123345,3211123443,3211123455,3211210010,3211210101,3211210121,3211211001,3211211100,3211211112,3211211210,3211211222,3211211234,3211212111,3211212123,3211212221,3211212233,3211212323,3211212343,3211221001,3211221100,3211221112,3211221210,3211221222,3211221234,3211222111,3211222123,3211222221,3211222233,3211222323,3211222343,3211223211,3211223223,3211223321,3211223333,3211223345,3211223443,3211223455,3211232110,3211232122,3211232212,3211232232,3211232322,3211232334,3211233210,3211233222,3211233234,3211233332,3211233344,3211233434,3211233454,3211234322,3211234334,3211234432,3211234444,3211234456,3211234554,3211234566,3212100010,3212100101,3212100121,3212101001,3212101100,3212101112,3212101210,3212101222,3212101234,3212110011,3212110110,3212110122,3212111010,3212111101,3212111121,3212111211,3212111223,3212112100,3212112112,3212112210,3212112222,3212112234,3212112332,3212112344,3212121010,3212121101,3212121121,3212121211,3212121223,3212122100,3212122112,3212122210,3212122222,3212122234,3212122332,3212122344,3212123212,3212123232,3212123322,3212123334,3212123432,3212123444,3212123456,3212210011,3212210110,3212210122,3212211010,3212211101,3212211121,3212211211,3212211223,3212212100,3212212112,3212212210,3212212222,3212212234,3212212332,3212212344,3212221010,3212221101,3212221121,3212221211,3212221223,3212222100,3212222112,3212222210,3212222222,3212222234,3212222332,3212222344,3212223212,3212223232,3212223322,3212223334,3212223432,3212223444,3212223456,3212232111,3212232123,3212232221,3212232233,3212232323,3212232343,3212233211,3212233223,3212233321,3212233333,3212233345,3212233443,3212233455,3212234323,3212234343,3212234433,3212234445,3212234543,3212234555,3212234567,3212321011,3212321110,3212321122,3212321212,3212321232,3212322101,3212322121,3212322211,3212322223,3212322321,3212322333,3212322345,3212323221,3212323233,3212323323,3212323343,3212323433,3212323445,3212332100,3212332112,3212332210,3212332222,3212332234,3212332332,3212332344,3212333212,3212333232,3212333322,3212333334,3212333432,3212333444,3212333456,3212334332,3212334344,3212334434,3212334454,3212334544,3212334556,3212343210,3212343222,3212343234,3212343332,3212343344,3212343434,3212343454,3212344322,3212344334,3212344432,3212344444,3212344456,3212344554,3212344566,3212345434,3212345454,3212345544,3212345556,3212345654,3212345666,3212345678,3221000011,3221000110,3221000122,3221001010,3221001101,3221001121,3221001211,3221001223,3221010000,3221010012,3221010111,3221010123,3221011011,3221011110,3221011122,3221011212,3221011232,3221012101,3221012121,3221012211,3221012223,3221012321,3221012333,3221012345,3221100011,3221100110,3221100122,3221101010,3221101101,3221101121,3221101211,3221101223,3221110000,3221110012,3221110111,3221110123,3221111011,3221111110,3221111122,3221111212,3221111232,3221112101,3221112121,3221112211,3221112223,3221112321,3221112333,3221112345,3221121011,3221121110,3221121122,3221121212,3221121232,3221122101,3221122121,3221122211,3221122223,3221122321,3221122333,3221122345,3221123221,3221123233,3221123323,3221123343,3221123433,3221123445,3221210000,3221210012,3221210111,3221210123,3221211011,3221211110,3221211122,3221211212,3221211232,3221212101,3221212121,3221212211,3221212223,3221212321,3221212333,3221212345,3221221011,3221221110,3221221122,3221221212,3221221232,3221222101,3221222121,3221222211,3221222223,3221222321,3221222333,3221222345,3221223221,3221223233,3221223323,3221223343,3221223433,3221223445,3221232100,3221232112,3221232210,3221232222,3221232234,3221232332,3221232344,3221233212,3221233232,3221233322,3221233334,3221233432,3221233444,3221233456,3221234332,3221234344,3221234434,3221234454,3221234544,3221234556,3222100000,3222100012,3222100111,3222100123,3222101011,3222101110,3222101122,3222101212,3222101232,3222110001,3222110100,3222110112,3222111000,3222111012,3222111111,3222111123,3222111221,3222111233,3222112110,3222112122,3222112212,3222112232,3222112322,3222112334,3222121000,3222121012,3222121111,3222121123,3222121221,3222121233,3222122110,3222122122,3222122212,3222122232,3222122322,3222122334,3222123210,3222123222,3222123234,3222123332,3222123344,3222123434,3222123454,3222210001,3222210100,3222210112,3222211000,3222211012,3222211111,3222211123,3222211221,3222211233,3222212110,3222212122,3222212212,3222212232,3222212322,3222212334,3222221000,3222221012,3222221111,3222221123,3222221221,3222221233,3222222110,3222222122,3222222212,3222222232,3222222322,3222222334,3222223210,3222223222,3222223234,3222223332,3222223344,3222223434,3222223454,3222232101,3222232121,3222232211,3222232223,3222232321,3222232333,3222232345,3222233221,3222233233,3222233323,3222233343,3222233433,3222233445,3222234321,3222234333,3222234345,3222234443,3222234455,3222234545,3222234565,3222321001,3222321100,3222321112,3222321210,3222321222,3222321234,3222322111,3222322123,3222322221,3222322233,3222322323,3222322343,3222323211,3222323223,3222323321,3222323333,3222323345,3222323443,3222323455,3222332110,3222332122,3222332212,3222332232,3222332322,3222332334,3222333210,3222333222,3222333234,3222333332,3222333344,3222333434,3222333454,3222334322,3222334334,3222334432,3222334444,3222334456,3222334554,3222334566,3222343212,3222343232,3222343322,3222343334,3222343432,3222343444,3222343456,3222344332,3222344344,3222344434,3222344454,3222344544,3222344556,3222345432,3222345444,3222345456,3222345554,3222345566,3222345656,3222345676,3223210001,3223210100,3223210112,3223211000,3223211012,3223211111,3223211123,3223211221,3223211233,3223212110,3223212122,3223212212,3223212232,3223212322,3223212334,3223221000,3223221012,3223221111,3223221123,3223221221,3223221233,3223222110,3223222122,3223222212,3223222232,3223222322,3223222334,3223223210,3223223222,3223223234,3223223332,3223223344,3223223434,3223223454,3223232101,3223232121,3223232211,3223232223,3223232321,3223232333,3223232345,3223233221,3223233233,3223233323,3223233343,3223233433,3223233445,3223234321,3223234333,3223234345,3223234443,3223234455,3223234545,3223234565,3223321001,3223321100,3223321112,3223321210,3223321222,3223321234,3223322111,3223322123,3223322221,3223322233,3223322323,3223322343,3223323211,3223323223,3223323321,3223323333,3223323345,3223323443,3223323455,3223332110,3223332122,3223332212,3223332232,3223332322,3223332334,3223333210,3223333222,3223333234,3223333332,3223333344,3223333434,3223333454,3223334322,3223334334,3223334432,3223334444,3223334456,3223334554,3223334566,3223343212,3223343232,3223343322,3223343334,3223343432,3223343444,3223343456,3223344332,3223344344,3223344434,3223344454,3223344544,3223344556,3223345432,3223345444,3223345456,3223345554,3223345566,3223345656,3223345676,3223432101,3223432121,3223432211,3223432223,3223432321,3223432333,3223432345,3223433221,3223433233,3223433323,3223433343,3223433433,3223433445,3223434321,3223434333,3223434345,3223434443,3223434455,3223434545,3223434565,3223443211,3223443223,3223443321,3223443333,3223443345,3223443443,3223443455,3223444323,3223444343,3223444433,3223444445,3223444543,3223444555,3223444567,3223445443,3223445455,3223445545,3223445565,3223445655,3223445667,3223454321,3223454333,3223454345,3223454443,3223454455,3223454545,3223454565,3223455433,3223455445,3223455543,3223455555,3223455567,3223455665,3223455677,3223456545,3223456565,3223456655,3223456667,3223456765,3223456777,3223456789,3232100011,3232100110,3232100122,3232101010,3232101101,3232101121,3232101211,3232101223,3232110000,3232110012,3232110111,3232110123,3232111011,3232111110,3232111122,3232111212,3232111232,3232112101,3232112121,3232112211,3232112223,3232112321,3232112333,3232112345,3232121011,3232121110,3232121122,3232121212,3232121232,3232122101,3232122121,3232122211,3232122223,3232122321,3232122333,3232122345,3232123221,3232123233,3232123323,3232123343,3232123433,3232123445,3232210000,3232210012,3232210111,3232210123,3232211011,3232211110,3232211122,3232211212,3232211232,3232212101,3232212121,3232212211,3232212223,3232212321,3232212333,3232212345,3232221011,3232221110,3232221122,3232221212,3232221232,3232222101,3232222121,3232222211,3232222223,3232222321,3232222333,3232222345,3232223221,3232223233,3232223323,3232223343,3232223433,3232223445,3232232100,3232232112,3232232210,3232232222,3232232234,3232232332,3232232344,3232233212,3232233232,3232233322,3232233334,3232233432,3232233444,3232233456,3232234332,3232234344,3232234434,3232234454,3232234544,3232234556,3232321000,3232321012,3232321111,3232321123,3232321221,3232321233,3232322110,3232322122,3232322212,3232322232,3232322322,3232322334,3232323210,3232323222,3232323234,3232323332,3232323344,3232323434,3232323454,3232332101,3232332121,3232332211,3232332223,3232332321,3232332333,3232332345,3232333221,3232333233,3232333323,3232333343,3232333433,3232333445,3232334321,3232334333,3232334345,3232334443,3232334455,3232334545,3232334565,3232343211,3232343223,3232343321,3232343333,3232343345,3232343443,3232343455,3232344323,3232344343,3232344433,3232344445,3232344543,3232344555,3232344567,3232345443,3232345455,3232345545,3232345565,3232345655,3232345667,3233210000,3233210012,3233210111,3233210123,3233211011,3233211110,3233211122,3233211212,3233211232,3233212101,3233212121,3233212211,3233212223,3233212321,3233212333,3233212345,3233221011,3233221110,3233221122,3233221212,3233221232,3233222101,3233222121,3233222211,3233222223,3233222321,3233222333,3233222345,3233223221,3233223233,3233223323,3233223343,3233223433,3233223445,3233232100,3233232112,3233232210,3233232222,3233232234,3233232332,3233232344,3233233212,3233233232,3233233322,3233233334,3233233432,3233233444,3233233456,3233234332,3233234344,3233234434,3233234454,3233234544,3233234556,3233321000,3233321012,3233321111,3233321123,3233321221,3233321233,3233322110,3233322122,3233322212,3233322232,3233322322,3233322334,3233323210,3233323222,3233323234,3233323332,3233323344,3233323434,3233323454,3233332101,3233332121,3233332211,3233332223,3233332321,3233332333,3233332345,3233333221,3233333233,3233333323,3233333343,3233333433,3233333445,3233334321,3233334333,3233334345,3233334443,3233334455,3233334545,3233334565,3233343211,3233343223,3233343321,3233343333,3233343345,3233343443,3233343455,3233344323,3233344343,3233344433,3233344445,3233344543,3233344555,3233344567,3233345443,3233345455,3233345545,3233345565,3233345655,3233345667,3233432100,3233432112,3233432210,3233432222,3233432234,3233432332,3233432344,3233433212,3233433232,3233433322,3233433334,3233433432,3233433444,3233433456,3233434332,3233434344,3233434434,3233434454,3233434544,3233434556,3233443210,3233443222,3233443234,3233443332,3233443344,3233443434,3233443454,3233444322,3233444334,3233444432,3233444444,3233444456,3233444554,3233444566,3233445434,3233445454,3233445544,3233445556,3233445654,3233445666,3233445678,3233454332,3233454344,3233454434,3233454454,3233454544,3233454556,3233455432,3233455444,3233455456,3233455554,3233455566,3233455656,3233455676,3233456544,3233456556,3233456654,3233456666,3233456678,3233456776,3233456788,3234321010,3234321101,3234321121,3234321211,3234321223,3234322100,3234322112,3234322210,3234322222,3234322234,3234322332,3234322344,3234323212,3234323232,3234323322,3234323334,3234323432,3234323444,3234323456,3234332111,3234332123,3234332221,3234332233,3234332323,3234332343,3234333211,3234333223,3234333321,3234333333,3234333345,3234333443,3234333455,3234334323,3234334343,3234334433,3234334445,3234334543,3234334555,3234334567,3234343221,3234343233,3234343323,3234343343,3234343433,3234343445,3234344321,3234344333,3234344345,3234344443,3234344455,3234344545,3234344565,3234345433,3234345445,3234345543,3234345555,3234345567,3234345665,3234345677,3234432110,3234432122,3234432212,3234432232,3234432322,3234432334,3234433210,3234433222,3234433234,3234433332,3234433344,3234433434,3234433454,3234434322,3234434334,3234434432,3234434444,3234434456,3234434554,3234434566,3234443212,3234443232,3234443322,3234443334,3234443432,3234443444,3234443456,3234444332,3234444344,3234444434,3234444454,3234444544,3234444556,3234445432,3234445444,3234445456,3234445554,3234445566,3234445656,3234445676,3234454322,3234454334,3234454432,3234454444,3234454456,3234454554,3234454566,3234455434,3234455454,3234455544,3234455556,3234455654,3234455666,3234455678,3234456554,3234456566,3234456656,3234456676,3234456766,3234456778,3234543210,3234543222,3234543234,3234543332,3234543344,3234543434,3234543454,3234544322,3234544334,3234544432,3234544444,3234544456,3234544554,3234544566,3234545434,3234545454,3234545544,3234545556,3234545654,3234545666,3234545678,3234554332,3234554344,3234554434,3234554454,3234554544,3234554556,3234555432,3234555444,3234555456,3234555554,3234555566,3234555656,3234555676,3234556544,3234556556,3234556654,3234556666,3234556678,3234556776,3234556788,3234565434,3234565454,3234565544,3234565556,3234565654,3234565666,3234565678,3234566554,3234566566,3234566656,3234566667
  };

  return s[n];
}


Measured memory_bytes: 384