比赛 顾研NOIP2011模拟赛 评测结果 WAWWWAAWWA
题目名称 幸运之数 最终得分 40
用户昵称 Truth.Cirno 运行时间 0.003 s
代码语言 C++ 内存使用 3.15 MiB
提交时间 2012-10-18 10:21:20
显示代码纯文本
#include <iostream>
#include <cstdio>
using namespace std;

const int ans[11710]={7,18,29,70,81,92,108,118,188,198,209,219,229,299,700,770,780,790,801,811,881,891,902,910,912,922,980,992,1008,1019,1080,1091,1108,1118,1188,1198,1219,1800,1811,1888,1901,1910,1912,1987,1989,1998,2009,2090,2108,2119,2191,2209,2219,2229,2299,2900,2911,2922,2999,3109,3219,4209,5790,6780,6890,7000,7077,7088,7099,7700,7770,7780,7790,7808,7880,7891,7909,7990,8001,8010,8012,8087,8089,8098,8111,8188,8199,8780,8801,8811,8881,8891,8908,8919,8980,8991,9002,9011,9013,9020,9024,9088,9097,9101,9110,9112,9121,9123,9198,9222,9299,9790,9808,9880,9891,9902,9910,9912,9922,9980,9992,10008,10088,10098,10108,10119,10191,10808,10876,10878,10888,10898,10908,10918,10986,10988,10998,11008,11019,11080,11091,11108,11118,11188,11198,11219,11800,11811,11888,11901,11910,11912,11987,11989,11998,12108,12119,12191,13109,17088,18008,18088,18098,18111,18188,18199,18808,18818,18888,19008,19088,19098,19101,19110,19112,19121,19123,19198,19808,19876,19878,19898,19908,19918,19986,19988,19998,20009,20099,20109,20119,20209,20909,20975,20979,20987,20989,20999,21008,21019,21080,21091,21109,21119,21199,21219,21919,21987,21989,21999,22009,22090,22108,22119,22191,22209,22219,22229,22299,22900,22911,22922,22999,23109,23219,24209,27099,28099,28199,29009,29099,29119,29199,29222,29299,29909,29919,29929,29999,31008,31098,32108,32119,32191,33109,33219,35790,36890,37990,41009,42009,42090,42109,42119,43109,43219,44209,46890,53109,55790,56780,56890,57880,57890,57909,57990,58990,62009,63109,64209,66780,66890,67808,67880,67891,68901,68991,70000,70070,70080,70090,70700,70777,70800,70880,70900,70990,71800,71900,72900,75790,76780,76890,77000,77077,77088,77099,77700,77770,77780,77790,77808,77880,77891,77909,77990,78000,78010,78012,78080,78780,78800,78880,78890,78908,78919,78980,78991,79000,79010,79012,79020,79024,79090,79790,79880,79890,79900,79990,80001,80011,80013,80081,80091,80101,80121,80123,80191,80801,80876,80878,80887,80889,80898,80901,80911,80991,81111,81181,81191,81800,81811,81888,81901,81911,81991,82911,86890,87808,87880,87891,88001,88010,88012,88087,88089,88098,88111,88188,88199,88780,88801,88811,88881,88891,88908,88919,88980,88991,89001,89011,89013,89081,89091,89101,89111,89121,89123,89191,89808,89880,89891,89901,89911,89991,90002,90010,90012,90014,90022,90026,90080,90092,90100,90102,90110,90112,90120,90122,90124,90130,90132,90134,90136,90202,90242,90246,90800,90880,90902,90911,90975,90979,90986,90988,90997,91010,91012,91080,91090,91100,91102,91110,91112,91120,91122,91124,91190,91192,91210,91212,91232,91234,91800,91901,91910,91912,91987,91989,91998,92222,92292,92900,92911,92922,92999,96890,97880,97890,97909,97990,98000,98010,98012,98080,98780,98800,98880,98890,98908,98919,98980,98991,99002,99011,99013,99020,99024,99088,99097,99101,99110,99112,99121,99123,99198,99222,99299,99790,99808,99880,99891,99902,99910,99912,99922,99980,99992,100008,100080,100091,100109,100119,100808,100817,100819,100880,100908,100917,100919,100980,100991,101008,101019,101080,101091,101109,101119,101199,101219,101919,101987,101989,101999,102109,102119,108008,108019,108080,108765,108767,108787,108789,108808,108880,108909,108919,108987,108989,109008,109019,109080,109082,109091,109119,109180,109182,109863,109865,109867,109869,109875,109877,109879,109887,109889,109897,109899,109908,109919,109991,110008,110088,110098,110108,110119,110191,110808,110876,110878,110888,110898,110908,110918,110986,110988,110998,111008,111019,111080,111091,111108,111118,111188,111198,111219,111800,111811,111888,111901,111910,111912,111987,111989,111998,112108,112119,112191,113109,117088,118008,118088,118098,118111,118188,118199,118808,118818,118888,119008,119088,119098,119101,119110,119112,119121,119123,119198,119808,119876,119878,119898,119908,119918,119986,119988,119998,120109,120119,121008,121019,121080,121091,121109,121119,121199,121219,121919,121987,121989,121999,122109,122119,123109,123219,129919,131008,131098,132109,135790,136890,137990,141009,142109,142119,157890,158990,170800,170880,171800,171900,179990,180000,180011,180013,180088,180800,180888,180901,180911,180991,181111,181181,181191,181800,181811,181888,181901,181911,181991,182911,188000,188088,188111,188181,188800,188811,188888,189000,189111,190001,190010,190012,190014,190087,190089,190098,190101,190110,190112,190121,190123,190130,190132,190134,190136,190800,190880,190901,190987,190989,190998,191010,191012,191080,191090,191100,191102,191110,191112,191120,191122,191124,191190,191192,191210,191212,191232,191234,191800,191901,191910,191912,191987,191989,191998,198000,198010,198012,198080,198765,198767,198787,198789,198901,198910,198912,198987,198989,199001,199010,199012,199098,199110,199112,199180,199182,199190,199192,199863,199865,199867,199869,199887,199889,199901,199910,199912,199985,199987,199989,199998,200009,200090,200109,200909,200918,200927,200990,201009,201090,201109,201119,201199,202009,202090,202109,202119,203109,208909,209009,209090,209753,209757,209797,209890,209909,209990,210008,210088,210098,210108,210119,210191,210808,210876,210878,210888,210898,210908,210918,210986,210988,210998,211008,211098,211119,211191,211908,211919,211928,211991,212108,212119,212191,218808,219108,219119,219191,219808,219876,219878,219898,219908,219919,219991,220009,220099,220109,220119,220209,220909,220975,220979,220987,220989,220999,221008,221019,221080,221091,221109,221119,221199,221219,221919,221987,221989,221999,222009,222090,222108,222119,222191,222209,222219,222229,222299,222900,222911,222922,222999,223109,223219,224209,227099,228099,228199,229009,229099,229119,229199,229222,229299,229909,229919,229929,229999,231008,231098,232108,232119,232191,241009,242009,242090,242109,242119,243109,246890,257880,257890,258990,262009,263109,268990,270800,270900,270990,271800,271900,272900,280901,280998,281901,281911,281991,282911,290000,290011,290013,290022,290026,290099,290800,290900,290999,291100,291102,291111,291120,291122,291124,291199,291800,291900,291911,291999,292222,292292,292900,292911,292922,292999,298000,299000,299099,299111,299199,299222,299292,299900,299911,299922,299999,301119,302109,302119,303109,310008,310088,310098,310109,310909,310918,311009,312109,313109,319909,320109,320119,321008,321019,321080,321091,321109,321119,321199,321219,321919,321987,321989,321999,322109,322119,323109,323219,329919,331008,331098,332108,332119,332191,333109,333219,335790,336890,337990,341009,342109,342119,343109,343219,353109,356890,357880,357890,357909,357990,358990,363109,368901,368991,371900,379890,379900,379990,380900,381900,381911,382911,402109,403109,410008,410091,420009,420099,420109,420119,420209,420909,420975,420979,420987,420989,420999,421009,421090,421109,421119,421199,422009,422109,423109,424209,429909,431008,431098,432108,432119,432191,441009,442009,442090,442109,442119,443109,443219,444209,446890,456780,456890,457880,457890,458990,462009,463109,464209,467890,468901,468991,470900,471900,472900,478880,479880,479890,489990,510009,520109,520119,521119,527099,528099,529099,531008,531098,532109,535790,536890,537990,541009,542109,542119,543109,543219,553109,555790,556780,556890,557880,557890,557909,557990,558990,567808,567880,567891,568901,568991,570090,575790,576890,577890,577990,578800,578880,578890,578909,578990,579000,579010,579012,579020,579024,579090,579790,579880,579890,579900,579990,589908,589991,596890,597890,617088,618088,618099,619099,620009,620099,620109,628099,631008,631098,636890,641009,642009,642090,642109,642119,643109,646890,656780,656890,657880,657890,658990,662009,663109,664209,666780,666890,667808,667880,667891,668901,668991,670080,676780,676890,677880,677890,678000,678010,678012,678080,678780,678800,678880,678890,678908,678919,678980,678991,679880,679890,680090,686890,687890,688990,689081,689090,689890,689901,689911,689991,696890,697880,697890,698880,700000,700077,700088,700099,700707,700777,700800,700888,700900,700999,701999,707000,707077,707088,707099,707707,707777,708000,708088,708099,708199,708800,708875,708877,708879,708888,708897,708899,709000,709099,709199,709900,709973,709977,709986,709988,709999,717088,718008,718088,718098,719001,719098,727099,728099,728199,729009,729099,729199,731009,736890,737990,741009,742109,742119,753109,756890,757880,757890,757909,757990,758990,767808,767880,767891,768901,768991,770000,770070,770080,770090,770700,770777,770800,770880,770900,770990,771800,771900,772900,775790,776780,776890,777000,777077,777088,777099,777700,777770,777780,777790,777808,777880,777891,777909,777990,778000,778010,778012,778080,778780,778800,778880,778890,778908,778919,778980,778991,779000,779010,779012,779020,779024,779090,779790,779880,779890,779900,779990,780008,780080,780091,780101,780121,780123,780191,780808,780880,780891,781191,787808,787880,787891,788008,788071,788080,788091,788808,788880,788901,788991,789001,789011,789013,789081,789091,789101,789111,789121,789123,789191,789808,789880,789891,789901,789911,789991,790009,790090,790109,790202,790242,790246,790909,790990,791090,796890,797880,797890,797909,797990,798800,798880,798890,798909,798990,799009,799072,799081,799090,799890,799909,799990,800001,800010,800012,800014,800087,800089,800098,800110,800112,800130,800132,800134,800136,800807,800809,800817,800819,800887,800889,800901,800987,800989,800998,801010,801012,801087,801089,801098,801210,801212,801232,801234,801919,801987,801989,801999,808001,808010,808012,808087,808089,808098,808199,808765,808767,808787,808789,808807,808809,808875,808877,808879,808887,808889,808897,808899,808909,808919,808987,808989,809001,809010,809012,809098,809119,809199,809863,809865,809867,809869,809876,809878,809887,809889,809898,809901,809910,809912,809985,809987,809989,809998,810888,810999,811111,811188,811199,811818,811888,811911,811999,817088,818008,818088,818098,818111,818188,818199,818808,818818,818888,819008,819088,819098,819111,819199,819911,819986,819988,819999,820009,828099,828199,829119,829199,841009,842109,857880,857890,858990,862009,863109,864209,867890,868901,868991,870080,876780,876890,877880,877890,878000,878010,878012,878080,878780,878800,878880,878890,878908,878919,878980,878991,879880,879890,880001,880011,880013,880081,880091,880101,880121,880123,880191,880801,880876,880878,880887,880889,880898,880901,880911,880991,881111,881181,881191,881800,881811,881888,881901,881911,881991,882911,886890,887808,887880,887891,888001,888010,888012,888087,888089,888098,888111,888188,888199,888780,888801,888811,888881,888891,888908,888919,888980,888991,889001,889011,889013,889081,889091,889101,889111,889121,889123,889191,889808,889880,889891,889901,889911,889991,890008,890080,890091,890100,890102,890110,890112,890120,890122,890124,890130,890132,890134,890136,890817,890819,890880,890908,890917,890919,890980,890991,891010,891012,891080,891090,891119,891191,891210,891212,891232,891234,891919,891980,891991,897880,897890,898000,898010,898012,898080,898780,898800,898880,898890,898908,898919,898980,898991,899008,899019,899080,899082,899091,899119,899180,899182,899191,899880,899890,899908,899919,899991,900002,900011,900013,900015,900020,900024,900028,900088,900097,900100,900102,900111,900113,900120,900122,900124,900131,900133,900135,900137,900140,900142,900144,900146,900148,900220,900224,900260,900264,900268,900800,900888,900907,900917,900919,900927,900987,900989,900997,901000,901002,901011,901013,901020,901022,901024,901026,901097,901099,901100,901102,901120,901122,901124,901199,901200,901202,901204,901211,901213,901220,901222,901224,901231,901233,901235,901240,901242,901244,901246,901248,901302,901304,901320,901322,901324,901342,901344,901346,901362,901364,901368,901999,902020,902024,902097,902420,902424,902464,902468,908000,908088,908099,908199,908800,908875,908877,908879,908888,908897,908899,909002,909011,909013,909020,909024,909088,909097,909119,909199,909753,909757,909797,909863,909865,909867,909869,909875,909877,909879,909887,909889,909897,909899,909907,909919,909973,909977,909985,909987,909989,909997,910101,910121,910123,910198,910808,910876,910878,910888,910898,910901,910987,910989,910998,911001,911021,911023,911025,911098,911101,911103,911110,911112,911121,911123,911125,911198,911201,911203,911221,911223,911241,911243,911245,911247,911908,911918,911928,911998,912101,912121,912123,912198,912321,912323,912343,912345,918008,918088,918098,919008,919088,919098,919101,919110,919112,919121,919123,919198,919808,919876,919878,919898,919908,919918,919986,919988,919998,920999,921999,922222,922299,922929,922999,927099,928099,928199,929009,929099,929119,929199,929222,929299,929909,929919,929929,929999,937990,941009,957890,958990,963109,968901,968991,970090,975790,976890,977890,977990,978800,978880,978890,978909,978990,979000,979010,979012,979020,979024,979090,979790,979880,979890,979900,979990,980008,980080,980091,980101,980121,980123,980191,980808,980880,980891,981191,987808,987880,987891,988008,988071,988080,988091,988808,988880,988901,988991,989001,989011,989013,989081,989091,989101,989111,989121,989123,989191,989808,989880,989891,989901,989911,989991,990002,990010,990012,990014,990022,990026,990080,990092,990100,990102,990110,990112,990120,990122,990124,990130,990132,990134,990136,990202,990242,990246,990800,990880,990902,990911,990975,990979,990986,990988,990997,991010,991012,991080,991090,991100,991102,991110,991112,991120,991122,991124,991190,991192,991210,991212,991232,991234,991800,991901,991910,991912,991987,991989,991998,992222,992292,992900,992911,992922,992999,996890,997880,997890,997909,997990,998000,998010,998012,998080,998780,998800,998880,998890,998908,998919,998980,998991,999002,999011,999013,999020,999024,999088,999097,999101,999110,999112,999121,999123,999198,999222,999299,999790,999808,999880,999891,999902,999910,999912,999922,999980,999992,1000008,1000088,1000098,1000109,1000800,1000870,1000880,1000890,1000892,1000901,1000911,1000981,1000991,1001009,1001090,1001109,1001119,1001199,1002109,1008008,1008088,1008170,1008172,1008190,1008192,1008800,1008880,1008890,1009008,1009098,1009170,1009172,1009174,1009181,1009183,1009190,1009192,1009800,1009802,1009890,1009901,1009911,1009913,1009991,1010008,1010088,1010098,1010108,1010119,1010191,1010808,1010876,1010878,1010888,1010898,1010908,1010918,1010986,1010988,1010998,1011008,1011098,1011119,1011191,1011908,1011919,1011928,1011991,1012108,1012119,1012191,1018808,1019108,1019119,1019191,1019808,1019876,1019878,1019898,1019908,1019919,1019991,1020109,1021009,1021090,1021109,1021119,1021199,1022109,1023109,1031009,1042109,1078000,1080000,1080080,1080101,1080121,1080123,1080198,1080808,1080876,1080878,1080888,1080898,1087654,1087656,1087676,1087678,1087801,1087876,1087878,1087898,1088000,1088080,1088808,1088874,1088876,1088878,1088888,1088896,1088898,1089001,1089010,1089012,1089098,1089101,1089111,1089121,1089123,1089191,1089801,1089876,1089878,1089898,1090001,1090011,1090013,1090091,1090100,1090102,1090120,1090122,1090124,1090197,1090199,1090807,1090809,1090825,1090827,1090829,1090908,1090916,1090918,1090986,1090988,1090998,1091100,1091102,1091111,1091120,1091122,1091124,1091199,1091807,1091809,1091827,1091829,1098000,1098631,1098635,1098637,1098653,1098655,1098657,1098675,1098677,1098679,1098695,1098697,1098751,1098753,1098755,1098757,1098759,1098764,1098766,1098768,1098775,1098777,1098779,1098786,1098788,1098795,1098797,1098799,1098800,1098875,1098877,1098879,1098897,1098899,1098900,1098902,1098973,1098975,1098977,1098979,1098986,1098988,1098997,1098999,1099001,1099081,1099091,1099111,1099199,1099851,1099853,1099855,1099857,1099859,1099863,1099865,1099867,1099869,1099875,1099877,1099879,1099887,1099889,1099897,1099899,1099908,1099918,1099984,1099986,1099988,1099998,1100008,1100080,1100091,1100109,1100119,1100808,1100817,1100819,1100880,1100908,1100917,1100919,1100980,1100991,1101008,1101019,1101080,1101091,1101109,1101119,1101199,1101219,1101919,1101987,1101989,1101999,1102109,1102119,1108008,1108019,1108080,1108765,1108767,1108787,1108789,1108808,1108880,1108909,1108919,1108987,1108989,1109008,1109019,1109080,1109082,1109091,1109119,1109180,1109182,1109863,1109865,1109867,1109869,1109875,1109877,1109879,1109887,1109889,1109897,1109899,1109908,1109919,1109991,1110008,1110088,1110098,1110108,1110119,1110191,1110808,1110876,1110878,1110888,1110898,1110908,1110918,1110986,1110988,1110998,1111008,1111019,1111080,1111091,1111108,1111118,1111188,1111198,1111219,1111800,1111811,1111888,1111901,1111910,1111912,1111987,1111989,1111998,1112108,1112119,1112191,1113109,1117088,1118008,1118088,1118098,1118111,1118188,1118199,1118808,1118818,1118888,1119008,1119088,1119098,1119101,1119110,1119112,1119121,1119123,1119198,1119808,1119876,1119878,1119898,1119908,1119918,1119986,1119988,1119998,1120109,1120119,1121008,1121019,1121080,1121091,1121109,1121119,1121199,1121219,1121919,1121987,1121989,1121999,1122109,1122119,1123109,1123219,1129919,1131008,1131098,1132109,1135790,1136890,1137990,1141009,1142109,1142119,1157890,1158990,1170800,1170880,1171800,1171900,1179990,1180000,1180011,1180013,1180088,1180800,1180888,1180901,1180911,1180991,1181111,1181181,1181191,1181800,1181811,1181888,1181901,1181911,1181991,1182911,1188000,1188088,1188111,1188181,1188800,1188811,1188888,1189000,1189111,1190001,1190010,1190012,1190014,1190087,1190089,1190098,1190101,1190110,1190112,1190121,1190123,1190130,1190132,1190134,1190136,1190800,1190880,1190901,1190987,1190989,1190998,1191010,1191012,1191080,1191090,1191100,1191102,1191110,1191112,1191120,1191122,1191124,1191190,1191192,1191210,1191212,1191232,1191234,1191800,1191901,1191910,1191912,1191987,1191989,1191998,1198000,1198010,1198012,1198080,1198765,1198767,1198787,1198789,1198901,1198910,1198912,1198987,1198989,1199001,1199010,1199012,1199098,1199110,1199112,1199180,1199182,1199190,1199192,1199863,1199865,1199867,1199869,1199887,1199889,1199901,1199910,1199912,1199985,1199987,1199989,1199998,1200109,1201009,1201090,1201109,1201119,1201199,1202109,1203109,1210008,1210088,1210098,1210108,1210119,1210191,1210808,1210876,1210878,1210888,1210898,1210908,1210918,1210986,1210988,1210998,1211008,1211098,1211119,1211191,1211908,1211919,1211928,1211991,1212108,1212119,1212191,1218808,1219108,1219119,1219191,1219808,1219876,1219878,1219898,1219908,1219919,1219991,1220109,1221009,1221090,1221109,1221119,1221199,1222109,1223109,1231008,1231098,1232108,1232119,1232191,1241009,1242109,1243109,1268990,1290900,1298000,1299111,1299199,1301119,1302109,1302119,1310008,1310088,1310098,1310109,1310909,1310918,1311009,1312109,1313109,1319909,1320109,1320119,1321098,1321119,1322109,1322119,1331009,1332109,1342109,1342119,1353109,1356890,1357880,1357890,1357909,1357990,1358990,1368901,1368991,1371900,1379890,1379900,1379990,1380900,1381900,1381911,1402109,1403109,1410008,1410091,1420109,1421009,1421090,1421109,1421119,1421199,1422109,1423109,1431009,1441009,1442109,1458990,1463109,1467890,1468990,1470900,1471900,1472900,1478880,1479880,1479890,1489990,1510009,1520109,1520119,1521119,1531009,1532109,1537990,1558990,1577890,1577990,1578909,1578990,1579990,1589908,1589991,1596890,1597890,1617088,1618088,1618099,1619099,1620109,1631009,1680090,1687890,1688990,1689890,1698880,1700088,1708000,1708088,1708099,1708199,1708800,1708875,1708877,1708879,1708888,1708897,1708899,1709199,1717088,1718008,1718088,1718098,1719001,1719098,1728099,1728199,1729199,1731009,1780080,1780090,1781191,1799909,1799990,1800008,1800088,1800098,1800110,1800112,1800130,1800132,1800134,1800136,1800800,1800880,1801098,1808008,1808088,1808800,1808810,1808812,1808880,1809001,1809010,1809012,1809098,1809119,1809199,1809863,1809865,1809867,1809869,1809876,1809878,1809887,1809889,1809898,1809901,1809910,1809912,1809985,1809987,1809989,1809998,1810888,1810999,1811111,1811188,1811199,1811818,1811888,1811911,1811999,1817088,1818008,1818088,1818098,1818111,1818188,1818199,1818808,1818818,1818888,1819008,1819088,1819098,1819111,1819199,1819911,1819986,1819988,1819999,1829119,1829199,1842109,1870080,1880000,1880080,1880090,1880808,1880816,1880818,1880888,1881111,1881181,1881191,1881818,1881881,1888000,1888080,1888118,1888181,1888808,1888818,1888888,1889090,1890001,1890091,1891119,1891191,1900008,1900088,1900098,1900100,1900102,1900111,1900113,1900120,1900122,1900124,1900131,1900133,1900135,1900137,1900140,1900142,1900144,1900146,1900148,1900800,1900870,1900890,1900892,1900901,1900911,1900981,1900991,1901098,1901100,1901102,1901120,1901122,1901124,1901199,1901302,1901304,1901320,1901322,1901324,1901342,1901344,1901346,1901362,1901364,1901368,1908000,1908088,1908099,1908199,1908800,1908875,1908877,1908879,1908888,1908897,1908899,1909008,1909098,1909199,1909800,1909802,1909890,1909901,1909911,1909913,1909991,1910101,1910121,1910123,1910198,1910808,1910876,1910878,1910888,1910898,1910901,1910987,1910989,1910998,1911001,1911021,1911023,1911025,1911098,1911101,1911103,1911110,1911112,1911121,1911123,1911125,1911198,1911201,1911203,1911221,1911223,1911241,1911243,1911245,1911247,1911908,1911918,1911928,1911998,1912101,1912121,1912123,1912198,1912321,1912323,1912343,1912345,1918008,1918088,1918098,1919008,1919088,1919098,1919101,1919110,1919112,1919121,1919123,1919198,1919808,1919876,1919878,1919898,1919908,1919918,1919986,1919988,1919998,1928099,1928199,1929199,1937990,1980008,1980080,1980091,1980101,1980121,1980123,1980191,1980808,1980880,1980891,1981191,1987654,1987656,1987676,1987678,1987808,1987876,1987878,1987898,1988080,1989010,1989012,1989090,1989108,1989191,1989808,1989876,1989878,1989898,1990001,1990011,1990013,1990091,1990109,1990807,1990809,1990817,1990819,1990825,1990827,1990829,1990908,1990916,1990918,1990986,1990988,1990998,1991090,1991100,1991102,1991110,1991112,1991120,1991122,1991124,1991190,1991192,1991807,1991809,1991827,1991829,1991907,1991909,1991918,1991927,1991929,1991990,1991992,1998631,1998635,1998637,1998653,1998655,1998657,1998675,1998677,1998679,1998695,1998697,1998807,1998809,1998875,1998877,1998879,1998897,1998899,1999001,1999081,1999091,1999107,1999109,1999118,1999129,1999190,1999192,1999851,1999853,1999855,1999857,1999859,1999875,1999877,1999879,1999897,1999899,1999908,1999918,1999984,1999986,1999988,1999998,2000009,2000099,2000900,2000970,2000980,2000990,2001009,2001090,2002109,2009009,2009099,2009270,2009274,2009900,2009990,2010008,2010091,2010109,2010901,2010991,2011008,2011098,2011119,2011191,2011908,2011919,2011928,2011991,2012109,2019119,2020009,2020099,2020109,2020119,2020209,2020909,2020975,2020979,2020987,2020989,2020999,2021009,2021090,2021109,2021119,2021199,2022009,2022109,2023109,2024209,2029909,2031008,2031098,2041009,2042109,2078000,2079000,2089001,2089010,2089012,2089098,2090000,2090090,2090101,2090121,2090123,2090202,2090242,2090246,2090909,2090975,2090979,2090987,2090989,2090999,2091111,2097531,2097535,2097575,2097579,2097902,2097975,2097979,2098000,2098751,2098753,2098755,2098757,2098759,2098765,2098767,2098775,2098777,2098779,2098787,2098789,2098795,2098797,2098799,2098909,2098973,2098975,2098977,2098979,2098987,2098989,2098997,2098999,2099000,2099090,2099111,2099909,2099971,2099975,2099979,2099985,2099987,2099989,2099999,2100008,2100080,2100091,2100109,2100119,2100808,2100817,2100819,2100880,2100908,2100917,2100919,2100980,2100991,2101008,2101019,2101080,2101091,2101109,2101119,2101199,2101219,2101919,2101987,2101989,2101999,2102109,2102119,2108008,2108019,2108080,2108765,2108767,2108787,2108789,2108808,2108880,2108909,2108919,2108987,2108989,2109008,2109019,2109080,2109082,2109091,2109119,2109180,2109182,2109863,2109865,2109867,2109869,2109875,2109877,2109879,2109887,2109889,2109897,2109899,2109908,2109919,2109991,2110008,2110088,2110098,2110109,2110909,2110918,2111009,2111119,2111199,2111911,2111981,2111991,2112109,2119009,2119081,2119119,2119199,2119281,2119283,2119911,2119991,2120109,2120119,2121008,2121019,2121080,2121091,2121109,2121119,2121199,2121219,2121919,2121987,2121989,2121999,2122109,2122119,2123109,2123219,2129919,2131009,2132109,2136890,2157890,2188000,2188088,2189000,2189111,2190000,2190101,2190121,2190123,2191010,2191012,2191087,2191089,2191111,2191191,2191210,2191212,2191232,2191234,2191919,2191987,2191989,2191999,2198000,2198010,2198012,2198080,2198765,2198767,2198787,2198789,2198901,2198910,2198912,2198987,2198989,2199001,2199010,2199012,2199098,2199111,2199191,2199919,2199985,2199987,2199989,2199999,2200009,2200090,2200109,2200909,2200918,2200927,2200990,2201009,2201090,2201109,2201119,2201199,2202009,2202090,2202109,2202119,2203109,2208909,2209009,2209090,2209753,2209757,2209797,2209890,2209909,2209990,2210008,2210088,2210098,2210108,2210119,2210191,2210808,2210876,2210878,2210888,2210898,2210908,2210918,2210986,2210988,2210998,2211008,2211098,2211119,2211191,2211908,2211919,2211928,2211991,2212108,2212119,2212191,2218808,2219108,2219119,2219191,2219808,2219876,2219878,2219898,2219908,2219919,2219991,2220009,2220099,2220109,2220119,2220209,2220909,2220975,2220979,2220987,2220989,2220999,2221008,2221019,2221080,2221091,2221109,2221119,2221199,2221219,2221919,2221987,2221989,2221999,2222009,2222090,2222108,2222119,2222191,2222209,2222219,2222229,2222299,2222900,2222911,2222922,2222999,2223109,2223219,2224209,2227099,2228099,2228199,2229009,2229099,2229119,2229199,2229222,2229299,2229909,2229919,2229929,2229999,2231008,2231098,2232108,2232119,2232191,2241009,2242009,2242090,2242109,2242119,2243109,2246890,2257880,2257890,2258990,2262009,2263109,2268990,2270800,2270900,2270990,2271800,2271900,2272900,2280901,2280998,2281901,2281911,2281991,2282911,2290000,2290011,2290013,2290022,2290026,2290099,2290800,2290900,2290999,2291100,2291102,2291111,2291120,2291122,2291124,2291199,2291800,2291900,2291911,2291999,2292222,2292292,2292900,2292911,2292922,2292999,2298000,2299000,2299099,2299111,2299199,2299222,2299292,2299900,2299911,2299922,2299999,2301119,2310008,2310088,2310098,2310109,2310909,2310918,2311009,2312109,2320109,2320119,2321008,2321019,2321080,2321091,2321109,2321119,2321199,2321219,2321919,2321987,2321989,2321999,2322109,2322119,2323109,2323219,2329919,2331009,2332109,2341009,2342109,2342119,2343109,2343219,2356890,2357890,2358990,2368990,2379890,2380900,2381900,2402109,2410008,2410091,2420009,2420099,2420109,2420119,2420209,2420909,2420975,2420979,2420987,2420989,2420999,2421009,2421090,2421109,2421119,2421199,2422009,2422109,2423109,2424209,2429909,2431008,2431098,2432109,2441009,2442109,2457880,2457890,2462009,2463109,2464209,2467890,2468901,2468991,2478880,2479880,2479890,2489990,2510009,2520109,2520119,2521119,2527099,2528099,2529099,2531009,2532109,2536890,2541009,2557890,2558990,2568990,2576890,2577890,2578800,2578880,2578890,2578909,2578990,2579890,2589908,2589991,2596890,2597890,2617088,2618088,2618099,2619099,2620009,2620099,2620109,2628099,2631008,2631098,2641009,2668990,2687890,2688990,2689890,2689900,2689990,2697880,2697890,2698880,2700099,2708000,2708088,2708099,2709000,2709099,2709199,2709900,2709973,2709977,2709986,2709988,2709999,2718008,2718088,2718098,2719001,2719098,2727099,2728099,2728199,2729009,2729099,2729199,2731009,2736890,2790090,2799890,2800099,2809001,2809010,2809012,2809098,2809900,2809910,2809912,2811199,2817088,2818088,2818099,2819008,2819088,2819098,2819111,2819199,2819911,2819986,2819988,2819999,2820009,2828099,2828199,2829119,2829199,2841009,2842109,2870080,2890090,2891191,2900009,2900099,2900220,2900224,2900260,2900264,2900268,2900900,2900990,2908000,2908088,2908099,2909009,2909099,2909900,2909910,2909912,2909920,2909924,2909990,2911001,2911021,2911023,2911025,2911098,2911119,2911199,2911201,2911203,2911221,2911223,2911241,2911243,2911245,2911247,2911901,2911911,2911991,2918008,2918088,2918098,2919001,2919098,2919119,2919199,2919901,2919911,2919921,2919923,2919991,2920999,2921999,2922222,2922299,2922929,2922999,2927099,2928099,2928199,2929009,2929099,2929119,2929199,2929222,2929299,2929909,2929919,2929929,2929999,2941009,2957890,2970090,2980008,2980080,2980091,2981191,2990000,2990090,2990909,2990917,2990919,2990925,2990929,2990999,2991090,2991111,2991191,2991907,2991909,2991919,2991927,2991929,2991999,2992222,2992292,2992929,2992992,2999000,2999090,2999111,2999191,2999229,2999292,2999909,2999919,2999929,2999999,3002109,3010009,3011009,3011119,3011191,3020109,3021009,3021090,3021109,3021119,3021199,3022109,3023109,3031008,3031098,3036890,3041009,3042109,3058990,3089000,3089010,3089012,3100008,3100080,3100091,3100109,3100119,3100808,3100817,3100819,3100880,3100908,3100917,3100919,3100980,3100991,3101098,3101119,3102109,3102119,3108008,3109008,3109098,3109119,3109180,3109182,3109880,3109890,3110009,3110099,3110109,3111009,3112109,3119009,3120109,3120119,3121098,3121119,3122109,3122119,3131008,3131098,3132109,3135790,3136890,3137990,3142109,3142119,3157890,3158990,3179990,3188000,3189000,3189111,3199001,3199091,3200109,3201009,3201090,3201109,3201119,3201199,3202109,3203109,3210008,3210088,3210098,3210108,3210119,3210191,3210808,3210876,3210878,3210888,3210898,3210908,3210918,3210986,3210988,3210998,3211008,3211098,3211119,3211191,3211908,3211919,3211928,3211991,3212108,3212119,3212191,3218808,3219108,3219119,3219191,3219808,3219876,3219878,3219898,3219908,3219919,3219991,3220109,3221009,3221090,3221109,3221119,3221199,3222109,3223109,3231008,3231098,3232108,3232119,3232191,3241009,3242109,3243109,3268990,3290900,3298000,3299111,3299199,3301119,3302109,3302119,3303109,3310008,3310088,3310098,3310109,3310909,3310918,3311009,3312109,3313109,3319909,3320109,3320119,3321008,3321019,3321080,3321091,3321109,3321119,3321199,3321219,3321919,3321987,3321989,3321999,3322109,3322119,3323109,3323219,3329919,3331008,3331098,3332108,3332119,3332191,3333109,3333219,3335790,3336890,3337990,3341009,3342109,3342119,3343109,3343219,3353109,3356890,3357880,3357890,3357909,3357990,3358990,3363109,3368901,3368991,3371900,3379890,3379900,3379990,3380900,3381900,3381911,3382911,3402109,3410008,3410091,3420109,3421009,3421090,3421109,3421119,3421199,3422109,3423109,3431008,3431098,3432108,3432119,3432191,3442109,3443109,3456780,3456890,3457880,3457890,3458990,3463109,3467890,3468990,3470900,3471900,3472900,3478880,3489990,3510009,3520109,3520119,3521119,3531008,3531098,3532109,3535790,3536890,3537990,3542109,3542119,3557890,3558990,3567890,3568901,3568991,3570090,3575790,3576890,3577890,3577990,3578800,3578880,3578890,3578909,3578990,3579000,3579010,3579012,3579020,3579024,3579090,3579790,3579880,3579890,3579900,3579990,3589908,3589991,3597890,3618088,3618099,3619099,3620109,3631008,3631098,3636890,3641009,3642109,3643109,3658990,3667890,3668990,3687890,3688990,3689081,3689090,3689890,3689901,3689911,3689991,3696890,3697880,3697890,3698880,3700999,3708088,3709199,3718099,3719001,3719098,3728099,3728199,3729199,3731009,3736890,3737990,3742109,3742119,3758990,3788880,3790990,3798909,3798990,3799009,3799072,3799081,3799090,3799890,3799909,3799990,3809008,3809098,3818099,3819009,3819099,3819111,3819199,3829119,3829199,3841009,3842109,3867890,3899990,3908088,3918099,3919099,3928099,3928199,3929199,3937990,3957890,3958990,3980080,3980090,3981191,4011119,4020009,4021009,4021090,4022009,4022109,4031008,4031098,4041009,4042109,4062009,4079000,4100008,4100080,4100091,4100980,4100990,4109009,4110109,4112109,4131009,4132109,4136890,4141009,4142109,4142119,4157890,4158990,4189000,4199000,4200009,4200090,4200109,4200909,4200918,4200927,4200990,4201009,4201090,4201109,4201119,4201199,4202009,4202090,4202109,4202119,4203109,4208909,4209009,4209090,4209753,4209757,4209797,4209890,4209909,4209990,4210008,4210091,4210109,4210901,4210991,4211008,4211098,4211119,4211191,4211908,4211919,4211928,4211991,4212109,4219119,4220009,4220099,4220109,4221009,4221090,4231008,4231098,4232109,4241009,4242009,4242090,4242109,4242119,4243109,4246890,4257880,4257890,4268990,4270800,4280900,4298000,4299000,4299099,4299111,4301119,4310008,4310088,4310098,4310109,4310909,4310918,4311009,4312109,4320109,4320119,4321008,4321019,4321080,4321091,4321109,4321119,4321199,4321219,4321919,4321987,4321989,4321999,4322109,4322119,4323109,4323219,4329919,4331009,4332109,4341009,4342109,4342119,4343109,4343219,4356890,4357890,4358990,4368990,4379890,4380900,4381900,4402109,4403109,4410008,4410091,4420009,4420099,4420109,4420119,4420209,4420909,4420975,4420979,4420987,4420989,4420999,4421009,4421090,4421109,4421119,4421199,4422009,4422109,4423109,4424209,4429909,4431008,4431098,4432108,4432119,4432191,4441009,4442009,4442090,4442109,4442119,4443109,4443219,4444209,4446890,4456780,4456890,4457880,4457890,4458990,4462009,4463109,4464209,4467890,4468901,4468991,4470900,4471900,4472900,4478880,4479880,4479890,4489990,4510009,4521119,4527099,4528099,4529099,4531009,4532109,4536890,4541009,4542109,4542119,4543109,4543219,4556890,4557890,4567808,4567880,4567891,4568901,4568991,4576890,4577890,4578800,4578880,4578890,4578909,4578990,4579890,4589908,4589991,4597890,4618088,4618099,4619099,4620009,4620099,4620109,4628099,4631008,4631098,4641009,4642009,4642090,4642109,4642119,4643109,4646890,4657880,4657890,4667890,4668990,4677880,4677890,4678880,4678901,4679880,4679890,4680090,4686890,4687890,4688990,4689081,4689090,4689890,4689901,4689911,4689991,4697880,4697890,4698880,4709000,4709099,4719001,4719098,4728099,4729009,4729099,4729199,4731009,4736890,4741009,4742109,4742119,4756890,4757890,4758990,4768990,4779890,4788808,4788880,4788990,4789990,4796890,4797890,4798800,4798880,4798890,4798909,4798990,4799890,4809099,4810999,4819199,4820009,4841009,4842109,4857880,4857890,4862009,4867890,4868990,4899901,4899991,4927099,4928099,4929099,4941009,4957890,4958990,4968990,4970090,4977890,5022109,5029909,5031009,5041009,5042109,5058990,5070900,5071900,5072900,5100008,5100098,5131009,5132109,5137990,5142109,5142119,5157890,5158990,5179990,5180800,5189000,5190900,5200109,5201009,5201090,5201109,5201119,5201199,5202109,5203109,5210009,5211009,5211119,5211191,5220109,5231009,5241009,5242109,5243109,5257880,5257890,5258990,5263109,5268990,5270800,5270900,5270990,5271900,5280901,5280998,5290900,5290999,5301119,5302109,5302119,5310008,5310088,5310098,5310109,5310909,5310918,5311009,5312109,5313109,5319909,5320109,5320119,5321098,5321119,5322109,5322119,5331009,5332109,5342109,5342119,5353109,5356890,5357880,5357890,5357909,5357990,5358990,5368901,5368991,5371900,5379890,5379900,5379990,5380900,5381900,5381911,5402109,5410008,5410091,5420109,5421009,5421090,5421109,5421119,5421199,5422109,5423109,5431008,5431098,5432108,5432119,5432191,5442109,5443109,5456780,5456890,5457880,5457890,5458990,5463109,5467890,5468990,5470900,5471900,5472900,5478880,5489990,5510009,5520109,5520119,5521119,5527099,5528099,5529099,5531008,5531098,5532109,5535790,5536890,5537990,5541009,5542109,5542119,5543109,5543219,5553109,5555790,5556780,5556890,5557880,5557890,5557909,5557990,5558990,5567808,5567880,5567891,5568901,5568991,5570090,5575790,5576890,5577890,5577990,5578800,5578880,5578890,5578909,5578990,5579000,5579010,5579012,5579020,5579024,5579090,5579790,5579880,5579890,5579900,5579990,5589908,5589991,5596890,5597890,5618099,5619099,5620109,5631009,5641009,5642109,5643109,5656780,5656890,5657880,5657890,5658990,5667890,5668990,5670080,5676780,5676890,5677880,5677890,5678000,5678010,5678012,5678080,5678780,5678800,5678880,5678890,5678908,5678919,5678980,5678991,5679880,5679890,5687890,5688990,5689081,5689090,5689890,5689901,5689911,5689991,5698880,5700888,5700900,5700999,5701999,5719099,5729199,5731009,5742109,5742119,5753109,5756890,5757880,5757890,5757909,5757990,5758990,5767890,5768901,5768991,5778909,5778990,5779890,5779900,5779990,5780880,5787890,5788008,5788071,5788080,5788091,5788808,5788880,5788901,5788991,5789008,5789098,5789890,5789908,5789991,5790009,5790090,5790109,5790202,5790242,5790246,5790909,5790990,5791090,5796890,5797880,5797890,5797909,5797990,5798800,5798880,5798890,5798909,5798990,5799009,5799072,5799081,5799090,5799890,5799909,5799990,5800999,5810999,5841009,5842109,5857880,5857890,5858990,5863109,5867890,5868990,5887890,5889890,5890990,5899009,5899019,5899908,5899919,5899991,5920999,5937990,5957890,5958990,5968901,5968991,5977890,5977990,5978909,5978990,5979990,5988880,6018808,6019909,6019919,6041009,6042109,6062009,6070800,6071800,6071900,6080900,6081900,6091911,6100009,6132109,6157890,6158990,6170800,6170880,6180800,6180888,6180900,6180990,6181900,6190901,6190991,6200009,6200090,6200109,6200909,6200918,6200927,6200990,6201009,6201090,6209009,6211119,6241009,6257880,6257890,6262009,6263109,6268990,6270800,6271800,6271900,6280901,6280998,6281900,6290800,6291911,6299000,6301119,6302109,6302119,6303109,6310008,6310088,6310098,6310109,6310909,6310918,6311009,6312109,6331009,6332109,6341009,6356890,6357890,6358990,6363109,6368901,6368991,6379890,6380900,6381900,6381911,6402109,6410008,6410091,6420009,6420099,6420109,6420119,6420209,6420909,6420975,6420979,6420987,6420989,6420999,6421009,6421090,6421109,6421119,6421199,6422009,6422109,6423109,6424209,6429909,6431008,6431098,6432109,6441009,6442109,6457880,6457890,6462009,6463109,6464209,6467890,6468901,6468991,6478880,6479880,6479890,6489990,6510009,6521119,6527099,6528099,6529099,6531009,6532109,6536890,6541009,6542109,6542119,6543109,6543219,6556890,6557890,6567808,6567880,6567891,6568901,6568991,6576890,6577890,6578800,6578880,6578890,6578909,6578990,6579890,6589908,6589991,6597890,6617088,6618088,6618099,6619099,6620009,6620099,6620109,6628099,6631008,6631098,6636890,6641009,6642009,6642090,6642109,6642119,6643109,6646890,6656780,6656890,6657880,6657890,6658990,6662009,6663109,6664209,6666780,6666890,6667808,6667880,6667891,6668901,6668991,6670080,6676780,6676890,6677880,6677890,6678000,6678010,6678012,6678080,6678780,6678800,6678880,6678890,6678908,6678919,6678980,6678991,6679880,6679890,6680090,6686890,6687890,6688990,6689081,6689090,6689890,6689901,6689911,6689991,6696890,6697880,6697890,6698880,6700800,6700888,6701999,6709099,6731009,6756890,6757890,6758990,6767808,6767880,6767891,6768901,6768991,6776890,6777890,6778800,6778880,6778890,6778909,6778990,6779890,6780008,6780080,6780091,6780101,6780121,6780123,6780191,6780808,6780880,6780891,6781191,6787808,6787880,6787891,6788008,6788071,6788080,6788091,6788808,6788880,6788901,6788991,6789001,6789011,6789013,6789081,6789091,6789101,6789111,6789121,6789123,6789191,6789808,6789880,6789891,6789901,6789911,6789991,6796890,6797890,6798800,6798880,6798890,6798909,6798990,6799890,6800908,6800998,6810888,6810999,6811999,6820009,6841009,6842109,6857880,6857890,6862009,6863109,6864209,6867890,6868901,6868991,6877880,6877890,6878880,6878901,6879880,6879890,6880990,6887890,6888990,6889890,6889900,6889990,6890109,6890119,6890817,6890819,6890880,6890901,6890991,6891991,6897880,6897890,6898880,6898901,6899008,6899019,6899080,6899082,6899091,6899119,6899180,6899182,6899191,6899880,6899890,6899908,6899919,6899991,6910987,6910989,6910999,6941009,6957890,6958990,6963109,6968901,6968991,6976890,6977890,6978800,6978880,6978890,6978909,6978990,6979890,6988808,6988880,6988990,6989990,6997890,7000000,7000070,7000080,7000090,7000707,7000770,7000808,7000888,7000909,7000999,7007007,7007070,7007707,7007777,7008000,7008070,7008072,7008080,7008090,7008092,7008808,7008888,7008909,7009000,7009070,7009074,7009080,7009082,7009090,7009909,7009999,7018808,7019908,7019919,7019991,7029909,7042109,7058990,7070000,7070070,7070080,7070090,7070700,7070777,7070800,7070880,7070900,7070990,7071800,7071900,7072900,7077000,7077070,7077700,7077777,7078000,7079000,7080008,7080076,7080078,7080088,7080098,7080800,7080880,7080901,7080998,7081901,7081911,7081991,7088008,7088088,7088098,7088752,7088754,7088756,7088758,7088776,7088778,7088796,7088798,7088800,7088880,7088901,7088974,7088976,7088978,7088998,7090009,7090075,7090079,7090087,7090089,7090099,7090900,7090990,7091900,7091911,7091999,7099009,7099099,7099731,7099735,7099739,7099775,7099779,7099900,7099990,7108808,7109909,7129919,7157890,7158990,7170800,7170880,7171800,7171900,7179990,7180000,7180011,7180013,7180088,7180800,7180888,7180901,7180911,7180991,7181900,7181911,7182911,7188800,7190087,7190089,7190099,7190901,7190987,7190989,7190998,7199900,7200109,7209909,7263109,7268990,7270800,7270900,7270990,7271800,7271900,7272900,7280901,7280998,7281901,7281911,7281991,7290000,7290011,7290013,7290022,7290026,7290099,7290800,7290900,7290999,7291900,7291911,7291999,7299900,7301119,7302109,7302119,7310009,7310099,7310109,7311009,7312109,7331009,7358990,7368901,7368991,7371900,7379890,7379900,7379990,7380900,7381900,7381911,7382911,7402109,7403109,7410008,7410091,7420109,7421009,7421090,7421109,7421119,7421199,7422109,7423109,7431009,7441009,7442109,7458990,7463109,7467890,7468990,7470900,7471900,7472900,7478880,7479880,7479890,7489990,7510009,7520109,7520119,7521119,7531008,7531098,7532109,7535790,7536890,7537990,7542109,7542119,7557890,7558990,7567890,7568901,7568991,7570090,7575790,7576890,7577890,7577990,7578800,7578880,7578890,7578909,7578990,7579000,7579010,7579012,7579020,7579024,7579090,7579790,7579880,7579890,7579900,7579990,7589908,7589991,7597890,7618099,7619099,7620109,7631009,7641009,7642109,7643109,7656780,7656890,7657880,7657890,7658990,7667890,7668990,7670080,7676780,7676890,7677880,7677890,7678000,7678010,7678012,7678080,7678780,7678800,7678880,7678890,7678908,7678919,7678980,7678991,7679880,7679890,7687890,7688990,7689081,7689090,7689890,7689901,7689911,7689991,7698880,7700000,7700077,7700088,7700099,7700707,7700777,7700800,7700888,7700900,7700999,7701999,7707000,7707077,7707088,7707099,7707707,7707777,7708000,7708088,7708099,7708199,7708800,7708875,7708877,7708879,7708888,7708897,7708899,7709000,7709099,7709199,7709900,7709973,7709977,7709986,7709988,7709999,7717088,7718008,7718088,7718098,7719001,7719098,7727099,7728099,7728199,7729009,7729099,7729199,7731009,7736890,7737990,7741009,7742109,7742119,7753109,7756890,7757880,7757890,7757909,7757990,7758990,7767808,7767880,7767891,7768901,7768991,7770000,7770070,7770080,7770090,7770700,7770777,7770800,7770880,7770900,7770990,7771800,7771900,7772900,7775790,7776780,7776890,7777000,7777077,7777088,7777099,7777700,7777770,7777780,7777790,7777808,7777880,7777891,7777909,7777990,7778000,7778010,7778012,7778080,7778780,7778800,7778880,7778890,7778908,7778919,7778980,7778991,7779000,7779010,7779012,7779020,7779024,7779090,7779790,7779880,7779890,7779900,7779990,7780008,7780080,7780091,7780101,7780121,7780123,7780191,7780808,7780880,7780891,7781191,7787808,7787880,7787891,7788008,7788071,7788080,7788091,7788808,7788880,7788901,7788991,7789001,7789011,7789013,7789081,7789091,7789101,7789111,7789121,7789123,7789191,7789808,7789880,7789891,7789901,7789911,7789991,7790009,7790090,7790109,7790202,7790242,7790246,7790909,7790990,7791090,7796890,7797880,7797890,7797909,7797990,7798800,7798880,7798890,7798909,7798990,7799009,7799072,7799081,7799090,7799890,7799909,7799990,7800000,7800010,7800012,7800014,7800080,7800808,7800888,7800901,7800987,7800989,7800998,7801010,7801012,7801087,7801089,7801098,7801210,7801212,7801232,7801234,7801919,7801987,7801989,7801999,7808000,7808010,7808012,7808080,7808765,7808767,7808787,7808789,7808808,7808888,7808910,7808912,7808987,7808989,7809876,7809878,7809898,7809999,7810888,7810999,7811911,7811999,7842109,7863109,7867890,7868990,7870080,7876780,7876890,7877880,7877890,7878000,7878010,7878012,7878080,7878780,7878800,7878880,7878890,7878908,7878919,7878980,7878991,7879880,7879890,7880008,7880088,7880716,7880718,7880800,7880880,7880918,7880990,7887890,7888008,7888018,7888088,7888800,7888880,7888990,7889081,7889090,7889890,7889901,7889911,7889991,7890008,7890080,7890091,7890100,7890102,7890110,7890112,7890120,7890122,7890124,7890130,7890132,7890134,7890136,7890817,7890819,7890880,7890908,7890917,7890919,7890980,7890991,7891010,7891012,7891080,7891090,7891119,7891191,7891210,7891212,7891232,7891234,7891919,7891980,7891991,7897880,7897890,7898000,7898010,7898012,7898080,7898780,7898800,7898880,7898890,7898908,7898919,7898980,7898991,7899008,7899019,7899080,7899082,7899091,7899119,7899180,7899182,7899191,7899880,7899890,7899908,7899919,7899991,7900000,7900010,7900012,7900014,7900020,7900024,7900028,7900090,7900888,7900909,7900999,7901000,7901002,7901010,7901012,7901020,7901022,7901024,7901026,7901090,7901200,7901202,7901204,7901210,7901212,7901220,7901222,7901224,7901232,7901234,7901240,7901242,7901244,7901246,7901248,7901999,7902020,7902024,7902097,7902420,7902424,7902464,7902468,7908888,7909000,7909010,7909012,7909020,7909024,7909090,7909753,7909757,7909797,7909876,7909878,7909898,7909909,7909999,7910901,7910987,7910989,7910998,7920999,7921999,7957890,7958990,7968901,7968991,7970090,7975790,7976890,7977890,7977990,7978800,7978880,7978890,7978909,7978990,7979000,7979010,7979012,7979020,7979024,7979090,7979790,7979880,7979890,7979900,7979990,7980880,7987890,7988008,7988071,7988080,7988091,7988808,7988880,7988901,7988991,7989008,7989098,7989890,7989908,7989991,7990009,7990099,7990725,7990729,7990900,7990990,7997890,7998909,7998990,7999009,7999019,7999029,7999099,7999900,7999990,8000001,8000011,8000013,8000015,8000081,8000091,8000100,8000102,8000120,8000122,8000124,8000140,8000142,8000144,8000146,8000148,8000807,8000809,8000870,8000881,8000890,8000892,8000908,8000918,8000998,8001100,8001102,8001120,8001122,8001124,8001190,8001192,8001302,8001304,8001320,8001322,8001324,8001342,8001344,8001346,8001362,8001364,8001368,8008007,8008009,8008070,8008072,8008081,8008090,8008092,8008170,8008172,8008190,8008192,8008807,8008809,8008875,8008877,8008879,8008887,8008889,8008897,8008899,8008909,8009001,8009011,8009013,8009081,8009083,8009091,8009170,8009172,8009174,8009180,8009182,8009190,8009192,8009890,8009908,8009986,8009988,8009998,8010101,8010121,8010123,8010191,8010808,8010891,8010909,8010987,8010989,8011919,8012101,8012121,8012123,8012191,8012321,8012323,8012343,8012345,8018808,8019108,8019119,8019191,8019808,8019876,8019878,8019898,8019908,8019919,8019991,8062009,8070800,8071800,8071900,8080001,8080011,8080013,8080081,8080091,8080101,8080121,8080123,8080191,8080801,8080876,8080878,8080887,8080889,8080898,8080901,8080911,8080991,8081901,8081911,8081991,8087654,8087656,8087676,8087678,8087801,8087876,8087878,8087898,8088001,8088071,8088081,8088091,8088752,8088754,8088756,8088758,8088776,8088778,8088796,8088798,8088801,8088874,8088876,8088878,8088887,8088889,8088896,8088898,8088901,8088974,8088976,8088978,8088998,8089001,8089010,8089012,8089098,8089101,8089111,8089121,8089123,8089191,8089801,8089876,8089878,8089898,8090008,8090086,8090088,8090098,8090109,8090197,8090199,8090800,8090901,8090991,8091100,8091102,8091111,8091120,8091122,8091124,8091199,8091800,8091900,8091911,8091999,8098631,8098635,8098637,8098653,8098655,8098657,8098675,8098677,8098679,8098695,8098697,8098800,8098875,8098877,8098879,8098897,8098899,8098901,8099008,8099018,8099088,8099098,8099107,8099109,8099129,8099199,8099851,8099853,8099855,8099857,8099859,8099862,8099864,8099866,8099868,8099875,8099877,8099879,8099886,8099888,8099897,8099899,8099901,8099911,8099991,8108808,8108880,8109908,8109998,8110909,8111111,8111181,8111191,8111818,8111881,8111919,8111999,8118118,8118181,8118808,8118818,8118888,8119111,8119181,8119183,8119191,8119909,8119919,8119999,8129919,8157890,8170800,8170880,8180000,8180011,8180013,8180088,8180800,8180888,8180901,8180911,8180991,8181111,8181181,8181191,8181800,8181811,8181888,8181901,8181911,8181991,8182911,8188000,8188088,8188111,8188181,8188800,8188811,8188888,8189000,8189111,8190001,8190010,8190012,8190014,8190087,8190089,8190098,8190101,8190110,8190112,8190121,8190123,8190130,8190132,8190134,8190136,8190800,8190880,8190901,8190987,8190989,8190998,8191119,8191187,8191189,8191199,8191911,8191991,8198901,8199119,8199199,8199863,8199865,8199867,8199869,8199887,8199889,8199901,8199911,8199991,8200009,8200090,8218808,8219909,8219919,8268990,8270800,8271800,8271900,8280901,8280998,8281901,8281911,8281991,8282911,8290800,8291100,8291102,8291111,8291120,8291122,8291124,8291199,8291800,8291900,8291911,8291999,8299911,8301119,8310109,8311009,8312109,8319909,8368990,8379890,8380900,8381900,8381911,8382911,8402109,8403109,8410008,8410091,8420009,8421009,8421090,8422009,8422109,8441009,8462009,8467890,8468990,8478880,8479880,8479890,8489990,8510009,8520109,8520119,8521119,8527099,8528099,8529099,8531009,8532109,8536890,8541009,8557890,8558990,8568990,8576890,8577890,8578800,8578880,8578890,8578909,8578990,8579890,8589908,8589991,8596890,8597890,8618088,8618099,8619099,8620009,8620099,8620109,8628099,8631008,8631098,8641009,8642009,8642090,8642109,8642119,8643109,8646890,8657880,8657890,8667890,8668990,8677880,8677890,8678880,8678901,8679880,8679890,8680090,8686890,8687890,8688990,8689081,8689090,8689890,8689901,8689911,8689991,8697880,8697890,8698880,8700800,8700888,8701999,8709099,8731009,8756890,8757890,8758990,8767808,8767880,8767891,8768901,8768991,8776890,8777890,8778800,8778880,8778890,8778909,8778990,8779890,8780008,8780080,8780091,8780101,8780121,8780123,8780191,8780808,8780880,8780891,8781191,8787808,8787880,8787891,8788008,8788071,8788080,8788091,8788808,8788880,8788901,8788991,8789001,8789011,8789013,8789081,8789091,8789101,8789111,8789121,8789123,8789191,8789808,8789880,8789891,8789901,8789911,8789991,8796890,8797890,8798800,8798880,8798890,8798909,8798990,8799890,8800001,8800010,8800012,8800014,8800087,8800089,8800098,8800110,8800112,8800130,8800132,8800134,8800136,8800807,8800809,8800817,8800819,8800887,8800889,8800901,8800987,8800989,8800998,8801010,8801012,8801087,8801089,8801098,8801210,8801212,8801232,8801234,8801919,8801987,8801989,8801999,8808001,8808010,8808012,8808087,8808089,8808098,8808199,8808765,8808767,8808787,8808789,8808807,8808809,8808875,8808877,8808879,8808887,8808889,8808897,8808899,8808909,8808919,8808987,8808989,8809001,8809010,8809012,8809098,8809119,8809199,8809863,8809865,8809867,8809869,8809876,8809878,8809887,8809889,8809898,8809901,8809910,8809912,8809985,8809987,8809989,8809998,8810888,8810999,8811111,8811188,8811199,8811818,8811888,8811911,8811999,8817088,8818008,8818088,8818098,8818111,8818188,8818199,8818808,8818818,8818888,8819008,8819088,8819098,8819111,8819199,8819911,8819986,8819988,8819999,8820009,8828099,8828199,8829119,8829199,8841009,8842109,8857880,8857890,8858990,8862009,8863109,8864209,8867890,8868901,8868991,8870080,8876780,8876890,8877880,8877890,8878000,8878010,8878012,8878080,8878780,8878800,8878880,8878890,8878908,8878919,8878980,8878991,8879880,8879890,8880001,8880011,8880013,8880081,8880091,8880101,8880121,8880123,8880191,8880801,8880876,8880878,8880887,8880889,8880898,8880901,8880911,8880991,8881111,8881181,8881191,8881800,8881811,8881888,8881901,8881911,8881991,8882911,8886890,8887808,8887880,8887891,8888001,8888010,8888012,8888087,8888089,8888098,8888111,8888188,8888199,8888780,8888801,8888811,8888881,8888891,8888908,8888919,8888980,8888991,8889001,8889011,8889013,8889081,8889091,8889101,8889111,8889121,8889123,8889191,8889808,8889880,8889891,8889901,8889911,8889991,8890008,8890080,8890091,8890100,8890102,8890110,8890112,8890120,8890122,8890124,8890130,8890132,8890134,8890136,8890817,8890819,8890880,8890908,8890917,8890919,8890980,8890991,8891010,8891012,8891080,8891090,8891119,8891191,8891210,8891212,8891232,8891234,8891919,8891980,8891991,8897880,8897890,8898000,8898010,8898012,8898080,8898780,8898800,8898880,8898890,8898908,8898919,8898980,8898991,8899008,8899019,8899080,8899082,8899091,8899119,8899180,8899182,8899191,8899880,8899890,8899908,8899919,8899991,8900001,8900011,8900013,8900015,8900081,8900091,8900100,8900102,8900110,8900112,8900120,8900122,8900124,8900130,8900132,8900134,8900136,8900140,8900142,8900144,8900146,8900148,8900800,8900888,8900908,8900918,8900998,8901000,8901002,8901011,8901013,8901020,8901022,8901024,8901026,8901097,8901099,8901100,8901102,8901120,8901122,8901124,8901199,8901200,8901202,8901204,8901211,8901213,8901220,8901222,8901224,8901231,8901233,8901235,8901240,8901242,8901244,8901246,8901248,8901302,8901304,8901320,8901322,8901324,8901342,8901344,8901346,8901362,8901364,8901368,8901999,8908170,8908172,8908190,8908192,8908800,8908875,8908877,8908879,8908888,8908897,8908899,8909001,8909011,8909013,8909081,8909083,8909091,8909170,8909172,8909174,8909190,8909192,8909800,8909802,8909875,8909877,8909879,8909897,8909899,8909908,8909986,8909988,8909998,8910101,8910121,8910123,8910198,8910808,8910876,8910878,8910888,8910898,8910901,8910987,8910989,8910998,8911101,8911103,8911111,8911121,8911123,8911125,8911191,8911919,8911999,8912101,8912121,8912123,8912198,8912321,8912323,8912343,8912345,8919101,8919111,8919121,8919123,8919191,8919801,8919876,8919878,8919898,8919919,8919999,8921999,8957890,8968990,8976890,8977890,8978800,8978880,8978890,8978909,8978990,8979890,8980008,8980080,8980091,8980101,8980121,8980123,8980191,8980808,8980880,8980891,8981191,8987808,8987880,8987891,8988008,8988071,8988080,8988091,8988808,8988880,8988901,8988991,8989001,8989011,8989013,8989081,8989091,8989101,8989111,8989121,8989123,8989191,8989808,8989880,8989891,8989901,8989911,8989991,8990008,8990086,8990088,8990098,8990109,8990197,8990199,8990807,8990809,8990816,8990818,8990825,8990827,8990829,8990901,8990991,8991109,8991119,8991199,8991807,8991809,8991827,8991829,8991911,8991991,8997890,8998800,8998880,8998890,8998909,8998990,8999008,8999018,8999088,8999098,8999107,8999109,8999119,8999129,8999199,8999890,8999901,8999911,8999991,9000002,9000010,9000012,9000014,9000016,9000022,9000026,9000080,9000092,9000101,9000103,9000111,9000113,9000121,9000123,9000125,9000131,9000133,9000135,9000137,9000141,9000143,9000145,9000147,9000149,9000151,9000153,9000155,9000157,9000159,9000200,9000204,9000240,9000244,9000248,9000280,9000284,9000288,9000808,9000888,9000907,9000918,9000970,9000981,9000992,9001000,9001002,9001020,9001022,9001024,9001026,9001090,9001101,9001103,9001111,9001113,9001121,9001123,9001125,9001131,9001133,9001135,9001137,9001139,9001200,9001202,9001204,9001220,9001222,9001224,9001240,9001242,9001244,9001246,9001248,9001301,9001303,9001305,9001311,9001313,9001315,9001321,9001323,9001325,9001331,9001333,9001335,9001337,9001341,9001343,9001345,9001347,9001351,9001353,9001355,9001357,9001359,9001361,9001363,9001365,9001367,9001369,9001371,9001373,9001375,9001377,9001379,9001402,9001404,9001406,9001420,9001422,9001424,9001426,9001440,9001442,9001446,9001448,9001462,9001464,9001466,9001468,9001482,9001484,9001486,9002200,9002204,9002240,9002244,9002248,9002604,9002608,9002640,9002644,9002648,9002684,9002688,9008000,9008070,9008072,9008080,9008090,9008092,9008808,9008888,9008909,9009007,9009070,9009074,9009081,9009083,9009092,9009170,9009172,9009174,9009181,9009183,9009190,9009192,9009270,9009274,9009890,9009907,9009919,9009973,9009977,9009985,9009987,9009989,9009997,9010001,9010021,9010023,9010025,9010027,9010091,9010100,9010102,9010110,9010112,9010114,9010120,9010122,9010124,9010130,9010132,9010134,9010136,9010138,9010201,9010203,9010221,9010223,9010225,9010241,9010243,9010245,9010247,9010261,9010263,9010265,9010267,9010269,9010908,9010980,9010991,9011001,9011021,9011023,9011025,9011091,9011201,9011203,9011221,9011223,9011241,9011243,9011245,9011247,9011908,9011919,9011928,9011991,9012001,9012003,9012021,9012023,9012025,9012041,9012043,9012045,9012047,9012049,9012100,9012102,9012110,9012112,9012114,9012120,9012122,9012124,9012130,9012132,9012134,9012136,9012138,9012201,9012203,9012205,9012221,9012223,9012241,9012243,9012245,9012247,9012249,9012310,9012312,9012314,9012316,9012320,9012322,9012324,9012330,9012332,9012334,9012336,9012342,9012344,9012346,9012350,9012352,9012354,9012356,9012358,9012401,9012403,9012405,9012407,9012421,9012423,9012425,9012441,9012443,9012445,9012447,9012463,9012465,9012467,9012469,9012481,9012483,9012485,9012487,9012489,9013021,9013023,9013025,9013041,9013047,9013049,9013201,9013203,9013221,9013223,9013241,9013243,9013245,9013247,9013421,9013423,9013425,9013443,9013445,9013463,9013465,9013467,9013469,9013625,9013627,9013641,9013643,9013645,9013647,9013685,9013687,9013689,9019908,9019919,9019991,9020202,9020242,9020246,9020909,9024202,9024242,9024246,9024642,9024646,9024686,9029909,9070900,9071900,9072900,9080008,9080076,9080078,9080088,9080098,9080800,9080880,9080901,9080998,9081901,9081911,9081991,9088008,9088088,9088098,9088752,9088754,9088756,9088758,9088776,9088778,9088796,9088798,9088800,9088880,9088901,9088974,9088976,9088978,9088998,9090002,9090010,9090012,9090014,9090022,9090026,9090080,9090092,9090100,9090102,9090110,9090112,9090120,9090122,9090124,9090130,9090132,9090134,9090136,9090202,9090242,9090246,9090800,9090880,9090902,9090911,9090975,9090979,9090986,9090988,9090997,9091100,9091102,9091111,9091120,9091122,9091124,9091199,9091800,9091900,9091911,9091999,9097531,9097535,9097575,9097579,9097902,9097975,9097979,9098000,9098631,9098635,9098637,9098653,9098655,9098657,9098675,9098677,9098679,9098695,9098697,9098751,9098753,9098755,9098757,9098759,9098764,9098766,9098768,9098775,9098777,9098779,9098786,9098788,9098795,9098797,9098799,9098800,9098875,9098877,9098879,9098897,9098899,9098900,9098902,9098973,9098975,9098977,9098979,9098986,9098988,9098997,9098999,9099002,9099010,9099012,9099072,9099080,9099082,9099092,9099111,9099199,9099731,9099735,9099739,9099775,9099779,9099851,9099853,9099855,9099857,9099859,9099862,9099864,9099866,9099868,9099875,9099877,9099879,9099886,9099888,9099897,9099899,9099902,9099911,9099971,9099975,9099979,9099984,9099986,9099988,9099997,9100808,9100909,9101010,9101012,9101080,9101090,9101210,9101212,9101232,9101234,9101919,9101980,9108008,9108019,9108080,9108765,9108767,9108787,9108789,9108808,9108880,9108909,9108919,9108987,9108989,9109010,9109012,9109080,9109082,9109090,9109876,9109878,9109898,9109908,9109919,9109991,9110011,9110013,9110081,9110091,9110211,9110213,9110231,9110233,9110235,9110251,9110253,9110257,9110259,9110909,9110918,9111011,9111013,9111031,9111033,9111035,9111037,9111039,9111100,9111102,9111104,9111110,9111112,9111120,9111122,9111124,9111126,9111190,9111192,9111211,9111213,9111231,9111233,9111235,9111251,9111253,9111255,9111257,9111259,9111918,9111981,9111990,9111992,9112011,9112013,9112031,9112035,9112037,9112211,9112213,9112231,9112233,9112235,9112413,9112415,9112431,9112433,9112435,9112453,9112455,9112457,9112473,9112475,9112479,9119009,9119081,9119118,9119181,9119183,9119190,9119192,9119281,9119283,9119908,9119918,9119986,9119988,9119998,9121010,9121012,9121080,9121090,9121210,9121212,9121232,9121234,9121919,9121980,9123210,9123212,9123232,9123234,9123432,9123434,9123454,9123456,9129919,9179990,9180000,9180011,9180013,9180088,9180800,9180888,9180901,9180911,9180991,9181900,9181911,9182911,9188800,9190001,9190010,9190012,9190014,9190087,9190089,9190098,9190101,9190110,9190112,9190121,9190123,9190130,9190132,9190134,9190136,9190800,9190880,9190901,9190987,9190989,9190998,9191010,9191012,9191080,9191090,9191100,9191102,9191110,9191112,9191120,9191122,9191124,9191190,9191192,9191210,9191212,9191232,9191234,9191800,9191901,9191910,9191912,9191987,9191989,9191998,9198000,9198010,9198012,9198080,9198765,9198767,9198787,9198789,9198901,9198910,9198912,9198987,9198989,9199001,9199010,9199012,9199098,9199110,9199112,9199180,9199182,9199190,9199192,9199863,9199865,9199867,9199869,9199887,9199889,9199901,9199910,9199912,9199985,9199987,9199989,9199998,9208909,9209909,9209990,9218808,9219908,9219919,9219991,9222222,9222292,9222929,9222992,9229229,9229292,9229909,9229919,9229929,9229999,9268990,9270800,9270900,9270990,9271900,9280901,9280998,9281901,9281911,9281991,9290000,9290011,9290013,9290022,9290026,9290099,9290800,9290900,9290999,9291100,9291102,9291111,9291120,9291122,9291124,9291199,9291800,9291900,9291911,9291999,9292222,9292292,9292900,9292911,9292922,9292999,9298000,9299000,9299099,9299111,9299199,9299222,9299292,9299900,9299911,9299922,9299999,9301119,9311009,9319909,9329919,9371900,9379890,9379900,9379990,9380900,9381900,9381911,9382911,9402109,9403109,9410008,9410091,9422109,9429909,9467890,9470900,9471900,9472900,9478880,9489990,9510009,9520109,9520119,9521119,9531009,9532109,9537990,9558990,9577890,9577990,9578909,9578990,9579990,9589908,9589991,9596890,9597890,9618088,9618099,9619099,9620109,9631008,9631098,9636890,9641009,9642109,9643109,9658990,9667890,9668990,9687890,9688990,9689081,9689090,9689890,9689901,9689911,9689991,9696890,9697880,9697890,9698880,9700888,9700900,9700999,9701999,9719099,9729199,9731009,9742109,9742119,9753109,9756890,9757880,9757890,9757909,9757990,9758990,9767890,9768901,9768991,9778909,9778990,9779890,9779900,9779990,9780880,9787890,9788008,9788071,9788080,9788091,9788808,9788880,9788901,9788991,9789008,9789098,9789890,9789908,9789991,9790009,9790090,9790109,9790202,9790242,9790246,9790909,9790990,9791090,9796890,9797880,9797890,9797909,9797990,9798800,9798880,9798890,9798909,9798990,9799009,9799072,9799081,9799090,9799890,9799909,9799990,9800000,9800010,9800012,9800014,9800080,9800808,9800888,9800901,9800987,9800989,9800998,9801010,9801012,9801087,9801089,9801098,9801210,9801212,9801232,9801234,9801919,9801987,9801989,9801999,9808000,9808010,9808012,9808080,9808765,9808767,9808787,9808789,9808808,9808888,9808910,9808912,9808987,9808989,9809876,9809878,9809898,9809999,9810888,9810999,9811911,9811999,9842109,9863109,9867890,9868990,9870080,9876780,9876890,9877880,9877890,9878000,9878010,9878012,9878080,9878780,9878800,9878880,9878890,9878908,9878919,9878980,9878991,9879880,9879890,9880008,9880088,9880716,9880718,9880800,9880880,9880918,9880990,9887890,9888008,9888018,9888088,9888800,9888880,9888990,9889081,9889090,9889890,9889901,9889911,9889991,9890008,9890080,9890091,9890100,9890102,9890110,9890112,9890120,9890122,9890124,9890130,9890132,9890134,9890136,9890817,9890819,9890880,9890908,9890917,9890919,9890980,9890991,9891010,9891012,9891080,9891090,9891119,9891191,9891210,9891212,9891232,9891234,9891919,9891980,9891991,9897880,9897890,9898000,9898010,9898012,9898080,9898780,9898800,9898880,9898890,9898908,9898919,9898980,9898991,9899008,9899019,9899080,9899082,9899091,9899119,9899180,9899182,9899191,9899880,9899890,9899908,9899919,9899991,9900002,9900011,9900013,9900015,9900020,9900024,9900028,9900088,9900097,9900100,9900102,9900111,9900113,9900120,9900122,9900124,9900131,9900133,9900135,9900137,9900140,9900142,9900144,9900146,9900148,9900220,9900224,9900260,9900264,9900268,9900800,9900888,9900907,9900917,9900919,9900927,9900987,9900989,9900997,9901000,9901002,9901011,9901013,9901020,9901022,9901024,9901026,9901097,9901099,9901100,9901102,9901120,9901122,9901124,9901199,9901200,9901202,9901204,9901211,9901213,9901220,9901222,9901224,9901231,9901233,9901235,9901240,9901242,9901244,9901246,9901248,9901302,9901304,9901320,9901322,9901324,9901342,9901344,9901346,9901362,9901364,9901368,9901999,9902020,9902024,9902097,9902420,9902424,9902464,9902468,9908000,9908088,9908099,9908199,9908800,9908875,9908877,9908879,9908888,9908897,9908899,9909002,9909011,9909013,9909020,9909024,9909088,9909097,9909119,9909199,9909753,9909757,9909797,9909863,9909865,9909867,9909869,9909875,9909877,9909879,9909887,9909889,9909897,9909899,9909907,9909919,9909973,9909977,9909985,9909987,9909989,9909997,9910101,9910121,9910123,9910198,9910808,9910876,9910878,9910888,9910898,9910901,9910987,9910989,9910998,9911001,9911021,9911023,9911025,9911098,9911101,9911103,9911110,9911112,9911121,9911123,9911125,9911198,9911201,9911203,9911221,9911223,9911241,9911243,9911245,9911247,9911908,9911918,9911928,9911998,9912101,9912121,9912123,9912198,9912321,9912323,9912343,9912345,9918008,9918088,9918098,9919008,9919088,9919098,9919101,9919110,9919112,9919121,9919123,9919198,9919808,9919876,9919878,9919898,9919908,9919918,9919986,9919988,9919998,9920999,9921999,9922222,9922299,9922929,9922999,9927099,9928099,9928199,9929009,9929099,9929119,9929199,9929222,9929299,9929909,9929919,9929929,9929999,9937990,9941009,9957890,9958990,9963109,9968901,9968991,9970090,9975790,9976890,9977890,9977990,9978800,9978880,9978890,9978909,9978990,9979000,9979010,9979012,9979020,9979024,9979090,9979790,9979880,9979890,9979900,9979990,9980008,9980080,9980091,9980101,9980121,9980123,9980191,9980808,9980880,9980891,9981191,9987808,9987880,9987891,9988008,9988071,9988080,9988091,9988808,9988880,9988901,9988991,9989001,9989011,9989013,9989081,9989091,9989101,9989111,9989121,9989123,9989191,9989808,9989880,9989891,9989901,9989911,9989991,9990002,9990010,9990012,9990014,9990022,9990026,9990080,9990092,9990100,9990102,9990110,9990112,9990120,9990122,9990124,9990130,9990132,9990134,9990136,9990202,9990242,9990246,9990800,9990880,9990902,9990911,9990975,9990979,9990986,9990988,9990997,9991010,9991012,9991080,9991090,9991100,9991102,9991110,9991112,9991120,9991122,9991124,9991190,9991192,9991210,9991212,9991232,9991234,9991800,9991901,9991910,9991912,9991987,9991989,9991998,9992222,9992292,9992900,9992911,9992922,9992999,9996890,9997880,9997890,9997909,9997990,9998000,9998010,9998012,9998080,9998780,9998800,9998880,9998890,9998908,9998919,9998980,9998991,9999002,9999011,9999013,9999020,9999024,9999088,9999097,9999101,9999110,9999112,9999121,9999123,9999198,9999222,9999299,9999790,9999808,9999880,9999891,9999902,9999910,9999912,9999922,9999980,9999992,10000008,10000080,10000091,10000800,10000811,10000888,10000901,10000910,10000912,10000987,10000989,10000998,10001009,10001090,10008000,10008088,10008099,10008700,10008702,10008808,10008880,10008900,10008902,10008920,10008922,10008924,10009001,10009010,10009012,10009014,10009098,10009111,10009113,10009801,10009803,10009811,10009813,10009815,10009908,10009991,10010008,10010091,10010109,10010901,10010991,10011008,10011098,10011119,10011191,10011908,10011919,10011928,10011991,10012109,10019119,10021009,10021090,10080000,10080088,10080808,10080815,10080817,10080819,10080880,10081706,10081708,10081726,10081728,10081908,10081928,10081998,10088008,10088071,10088080,10088091,10088752,10088754,10088756,10088758,10088776,10088778,10088796,10088798,10088800,10088888,10088908,10088974,10088976,10088978,10088998,10090001,10090087,10090089,10090098,10090101,10090121,10090123,10090807,10090809,10090816,10090818,10090825,10090827,10090829,10090830,10090832,10090834,10090836,10090838,10090908,10090915,10090917,10090919,10090980,10090991,10091111,10091705,10091707,10091709,10091725,10091727,10091729,10091743,10091745,10091749,10091806,10091808,10091816,10091818,10091826,10091828,10091830,10091832,10091834,10091836,10091838,10091907,10091909,10091927,10091929,10091999,10098007,10098009,10098029,10098751,10098753,10098755,10098757,10098759,10098765,10098767,10098775,10098777,10098779,10098787,10098789,10098795,10098797,10098799,10098909,10098973,10098975,10098977,10098979,10098987,10098989,10098997,10098999,10099008,10099017,10099019,10099080,10099082,10099091,10099118,10099138,10099862,10099864,10099866,10099868,10099886,10099888,10099901,10099985,10099987,10099989,10099998,10100008,10100080,10100091,10100109,10100119,10100808,10100817,10100819,10100880,10100908,10100917,10100919,10100980,10100991,10101008,10101019,10101080,10101091,10101109,10101119,10101199,10101219,10101919,10101987,10101989,10101999,10102109,10102119,10108008,10108019,10108080,10108765,10108767,10108787,10108789,10108808,10108880,10108909,10108919,10108987,10108989,10109008,10109019,10109080,10109082,10109091,10109119,10109180,10109182,10109863,10109865,10109867,10109869,10109875,10109877,10109879,10109887,10109889,10109897,10109899,10109908,10109919,10109991,10110008,10110088,10110098,10110109,10110909,10110918,10111009,10111119,10111199,10111911,10111981,10111991,10112109,10119009,10119081,10119119,10119199,10119281,10119283,10119911,10119991,10120109,10120119,10121008,10121019,10121080,10121091,10121109,10121119,10121199,10121219,10121919,10121987,10121989,10121999,10122109,10122119,10123109,10123219,10129919,10131009,10132109,10136890,10157890,10188000,10188088,10189000,10189111,10190000,10190101,10190121,10190123,10191010,10191012,10191087,10191089,10191111,10191191,10191210,10191212,10191232,10191234,10191919,10191987,10191989,10191999,10198000,10198010,10198012,10198080,10198765,10198767,10198787,10198789,10198901,10198910,10198912,10198987,10198989,10199001,10199010,10199012,10199098,10199111,10199191,10199919,10199985,10199987,10199989,10199999,10201009,10201090,10210008,10210091,10210109,10210901,10210991,10211008,10211098,10211119,10211191,10211908,10211919,10211928,10211991,10212109,10219119,10221009,10221090,10231008,10231098,10232109,10241009,10257880,10257890,10268990,10280900,10310091,10310109,10311009,10312109,10331009,10332109,10341009,10357890,10368990,10379890,10380900,10381900,10381911,10410009,10421009,10421090,10441009,10467890,10468990,10489990,10529099,10532109,10577890,10589990,10670080,10688990,10780008,10780080,10780091,10781191,10791090,10800000,10800088,10800099,10800808,10800871,10800880,10800891,10800893,10801010,10801012,10801087,10801089,10801098,10801210,10801212,10801232,10801234,10801910,10801912,10801980,10808008,10808019,10808080,10808780,10808800,10808888,10808910,10808912,10808980,10809900,10811199,10870080,10876543,10876545,10876565,10876567,10876765,10876767,10876787,10876789,10878019,10878080,10878765,10878767,10878787,10878789,10878909,10878919,10878987,10878989,10880008,10880080,10880800,10880875,10880877,10880879,10880888,10880897,10880899,10888000,10888088,10888740,10888742,10888744,10888746,10888748,10888764,10888766,10888768,10888786,10888788,10888808,10888880,10888960,10888962,10888964,10888966,10888968,10888986,10888988,10889908,10890008,10890080,10890091,10890101,10890121,10890123,10890909,10890917,10890919,10890987,10890989,10891010,10891012,10891080,10891090,10891119,10891191,10891210,10891212,10891232,10891234,10891919,10891980,10891991,10898019,10898080,10898765,10898767,10898787,10898789,10898909,10898919,10898987,10898989,10899090,10899191,10900001,10900010,10900012,10900014,10900098,10900861,10900870,10900881,10900890,10900892,10900908,10900917,10900919,10900980,10900982,10900991,10901000,10901002,10901011,10901013,10901020,10901022,10901024,10901026,10901097,10901099,10901200,10901202,10901204,10901211,10901213,10901220,10901222,10901224,10901231,10901233,10901235,10901240,10901242,10901244,10901246,10901248,10901970,10901990,10901992,10908007,10908009,10908070,10908072,10908090,10908092,10908250,10908254,10908256,10908270,10908272,10908274,10908290,10908292,10908294,10909008,10909019,10909080,10909082,10909084,10909091,10909161,10909163,10909165,10909167,10909169,10909181,10909183,10909881,10909891,10909901,10909910,10909912,10909998,10911001,10911021,10911023,10911025,10911098,10911119,10911199,10911201,10911203,10911221,10911223,10911241,10911243,10911245,10911247,10911901,10911911,10911991,10918008,10918071,10918091,10918271,10918273,10918291,10918293,10919911,10980008,10980080,10980091,10986310,10986312,10986314,10986352,10986354,10986356,10986358,10986372,10986374,10986530,10986532,10986534,10986536,10986554,10986556,10986574,10986576,10986578,10986752,10986754,10986756,10986758,10986776,10986778,10986796,10986798,10986950,10986952,10986958,10986974,10986976,10986978,10987510,10987512,10987514,10987516,10987518,10987530,10987532,10987534,10987536,10987552,10987554,10987556,10987558,10987574,10987576,10987578,10987592,10987594,10987596,10987598,10987641,10987643,10987645,10987647,10987649,10987653,10987655,10987657,10987663,10987665,10987667,10987669,10987675,10987677,10987679,10987683,10987685,10987687,10987689,10987750,10987752,10987754,10987756,10987758,10987776,10987778,10987794,10987796,10987798,10987861,10987863,10987865,10987867,10987869,10987875,10987877,10987879,10987885,10987887,10987889,10987897,10987899,10987950,10987952,10987954,10987956,10987958,10987974,10987976,10987978,10987996,10987998,10988008,10988071,10988080,10988091,10988752,10988754,10988756,10988758,10988776,10988778,10988796,10988798,10988908,10988974,10988976,10988978,10988998,10989008,10989019,10989091,10989730,10989732,10989734,10989736,10989738,10989752,10989754,10989756,10989758,10989774,10989776,10989778,10989796,10989798,10989861,10989863,10989865,10989867,10989869,10989875,10989877,10989879,10989885,10989887,10989889,10989897,10989899,10989908,10989972,10989974,10989976,10989978,10989998,10990008,10990091,10990886,10990888,10990901,10990985,10990987,10990989,10990998,10991090,10991111,10991191,10991907,10991909,10991919,10991927,10991929,10991999,10998513,10998515,10998517,10998531,10998533,10998535,10998537,10998551,10998553,10998557,10998559,10998573,10998575,10998577,10998579,10998593,10998595,10998597,10998751,10998753,10998755,10998757,10998759,10998775,10998777,10998779,10998795,10998797,10998799,10998909,10998973,10998975,10998977,10998979,10998997,10998999,10999001,10999010,10999012,10999087,10999089,10999098,10999111,10999188,10999840,10999842,10999844,10999846,10999848,10999850,10999852,10999854,10999856,10999858,10999862,10999864,10999866,10999868,10999874,10999876,10999878,10999886,10999888,10999896,10999898,10999908,10999919,10999991,11000008,11000088,11000098,11000109,11000800,11000870,11000880,11000890,11000892,11000901,11000911,11000981,11000991,11001009,11001090,11001109,11001119,11001199,11002109,11008008,11008088,11008170,11008172,11008190,11008192,11008800,11008880,11008890,11009008,11009098,11009170,11009172,11009174,11009181,11009183,11009190,11009192,11009800,11009802,11009890,11009901,11009911,11009913,11009991,11010008,11010088,11010098,11010108,11010119,11010191,11010808,11010876,11010878,11010888,11010898,11010908,11010918,11010986,11010988,11010998,11011008,11011098,11011119,11011191,11011908,11011919,11011928,11011991,11012108,11012119,11012191,11018808,11019108,11019119,11019191,11019808,11019876,11019878,11019898,11019908,11019919,11019991,11020109,11021009,11021090,11021109,11021119,11021199,11022109,11023109,11031009,11042109,11078000,11080000,11080080,11080101,11080121,11080123,11080198,11080808,11080876,11080878,11080888,11080898,11087654,11087656,11087676,11087678,11087801,11087876,11087878,11087898,11088000,11088080,11088808,11088874,11088876,11088878,11088888,11088896,11088898,11089001,11089010,11089012,11089098,11089101,11089111,11089121,11089123,11089191,11089801,11089876,11089878,11089898,11090001,11090011,11090013,11090091,11090100,11090102,11090120,11090122,11090124,11090197,11090199,11090807,11090809,11090825,11090827,11090829,11090908,11090916,11090918,11090986,11090988,11090998,11091100,11091102,11091111,11091120,11091122,11091124,11091199,11091807,11091809,11091827,11091829,11098000,11098631,11098635,11098637,11098653,11098655,11098657,11098675,11098677,11098679,11098695,11098697,11098751,11098753,11098755,11098757,11098759,11098764,11098766,11098768,11098775,11098777,11098779,11098786,11098788,11098795,11098797,11098799,11098800,11098875,11098877,11098879,11098897,11098899,11098900,11098902,11098973,11098975,11098977,11098979,11098986,11098988,11098997,11098999,11099001,11099081,11099091,11099111,11099199,11099851,11099853,11099855,11099857,11099859,11099863,11099865,11099867,11099869,11099875,11099877,11099879,11099887,11099889,11099897,11099899,11099908,11099918,11099984,11099986,11099988,11099998,11100008,11100080,11100091,11100109,11100119,11100808,11100817,11100819,11100880,11100908,11100917,11100919,11100980,11100991,11101008,11101019,11101080,11101091,11101109,11101119,11101199,11101219,11101919,11101987,11101989,11101999,11102109,11102119,11108008,11108019,11108080,11108765,11108767,11108787,11108789,11108808,11108880,11108909,11108919,11108987,11108989,11109008,11109019,11109080,11109082,11109091,11109119,11109180,11109182,11109863,11109865,11109867,11109869,11109875,11109877,11109879,11109887,11109889,11109897,11109899,11109908,11109919,11109991,11110008,11110088,11110098,11110108,11110119,11110191,11110808,11110876,11110878,11110888,11110898,11110908,11110918,11110986,11110988,11110998,11111008,11111019,11111080,11111091,11111108,11111118,11111188,11111198,11111219,11111800,11111811,11111888,11111901,11111910,11111912,11111987,11111989,11111998,11112108,11112119,11112191,11113109,11117088,11118008,11118088,11118098,11118111,11118188,11118199,11118808,11118818,11118888,11119008,11119088,11119098,11119101,11119110,11119112,11119121,11119123,11119198,11119808,11119876,11119878,11119898,11119908,11119918,11119986,11119988,11119998,11120109,11120119,11121008,11121019,11121080,11121091,11121109,11121119,11121199,11121219,11121919,11121987,11121989,11121999,11122109,11122119,11123109,11123219,11129919,11131008,11131098,11132109,11135790,11136890,11137990,11141009,11142109,11142119,11157890,11158990,11170800,11170880,11171800,11171900,11179990,11180000,11180011,11180013,11180088,11180800,11180888,11180901,11180911,11180991,11181111,11181181,11181191,11181800,11181811,11181888,11181901,11181911,11181991,11182911,11188000,11188088,11188111,11188181,11188800,11188811,11188888,11189000,11189111,11190001,11190010,11190012,11190014,11190087,11190089,11190098,11190101,11190110,11190112,11190121,11190123,11190130,11190132,11190134,11190136,11190800,11190880,11190901,11190987,11190989,11190998,11191010,11191012,11191080,11191090,11191100,11191102,11191110,11191112,11191120,11191122,11191124,11191190,11191192,11191210,11191212,11191232,11191234,11191800,11191901,11191910,11191912,11191987,11191989,11191998,11198000,11198010,11198012,11198080,11198765,11198767,11198787,11198789,11198901,11198910,11198912,11198987,11198989,11199001,11199010,11199012,11199098,11199110,11199112,11199180,11199182,11199190,11199192,11199863,11199865,11199867,11199869,11199887,11199889,11199901,11199910,11199912,11199985,11199987,11199989,11199998,11200109,11201009,11201090,11201109,11201119,11201199,11202109,11203109,11210008,11210088,11210098,11210108,11210119,11210191,11210808,11210876,11210878,11210888,11210898,11210908,11210918,11210986,11210988,11210998,11211008,11211098,11211119,11211191,11211908,11211919,11211928,11211991,11212108,11212119,11212191,11218808,11219108,11219119,11219191,11219808,11219876,11219878,11219898,11219908,11219919,11219991,11220109,11221009,11221090,11221109,11221119,11221199,11222109,11223109,11231008,11231098,11232108,11232119,11232191,11241009,11242109,11243109,11268990,11290900,11298000,11299111,11299199,11301119,11302109,11302119,11310008,11310088,11310098,11310109,11310909,11310918,11311009,11312109,11313109,11319909,11320109,11320119,11321098,11321119,11322109,11322119,11331009,11332109,11342109,11342119,11353109,11356890,11357880,11357890,11357909,11357990,11358990,11368901,11368991,11371900,11379890,11379900,11379990,11380900,11381900,11381911,11402109,11403109,11410008,11410091,11420109,11421009,11421090,11421109,11421119,11421199,11422109,11423109,11431009,11441009,11442109,11458990,11463109,11467890,11468990,11470900,11471900,11472900,11478880,11479880,11479890,11489990,11510009,11520109,11520119,11521119,11531009,11532109,11537990,11558990,11577890,11577990,11578909,11578990,11579990,11589908,11589991,11596890,11597890,11617088,11618088,11618099,11619099,11620109,11631009,11680090,11687890,11688990,11689890,11698880,11700088,11708000,11708088,11708099,11708199,11708800,11708875,11708877,11708879,11708888,11708897,11708899,11709199,11717088,11718008,11718088,11718098,11719001,11719098,11728099,11728199,11729199,11731009,11780080,11780090,11781191,11799909,11799990,11800008,11800088,11800098,11800110,11800112,11800130,11800132,11800134,11800136,11800800,11800880,11801098,11808008,11808088,11808800,11808810,11808812,11808880,11809001,11809010,11809012,11809098,11809119,11809199,11809863,11809865,11809867,11809869,11809876,11809878,11809887,11809889,11809898,11809901,11809910,11809912,11809985,11809987,11809989,11809998,11810888,11810999,11811111,11811188,11811199,11811818,11811888,11811911,11811999,11817088,11818008,11818088,11818098,11818111,11818188,11818199,11818808,11818818,11818888,11819008,11819088,11819098,11819111,11819199,11819911,11819986,11819988,11819999,11829119,11829199,11842109,11870080,11880000,11880080,11880090,11880808,11880816,11880818,11880888,11881111,11881181,11881191,11881818,11881881,11888000,11888080,11888118,11888181,11888808,11888818,11888888,11889090,11890001,11890091,11891119,11891191,11900008,11900088,11900098,11900100,11900102,11900111,11900113,11900120,11900122,11900124,11900131,11900133,11900135,11900137,11900140,11900142,11900144,11900146,11900148,11900800,11900870,11900890,11900892,11900901,11900911,11900981,11900991,11901098,11901100,11901102,11901120,11901122,11901124,11901199,11901302,11901304,11901320,11901322,11901324,11901342,11901344,11901346,11901362,11901364,11901368,11908000,11908088,11908099,11908199,11908800,11908875,11908877,11908879,11908888,11908897,11908899,11909008,11909098,11909199,11909800,11909802,11909890,11909901,11909911,11909913,11909991,11910101,11910121,11910123,11910198,11910808,11910876,11910878,11910888,11910898,11910901,11910987,11910989,11910998,11911001,11911021,11911023,11911025,11911098,11911101,11911103,11911110,11911112,11911121,11911123,11911125,11911198,11911201,11911203,11911221,11911223,11911241,11911243,11911245,11911247,11911908,11911918,11911928,11911998,11912101,11912121,11912123,11912198,11912321,11912323,11912343,11912345,11918008,11918088,11918098,11919008,11919088,11919098,11919101,11919110,11919112,11919121,11919123,11919198,11919808,11919876,11919878,11919898,11919908,11919918,11919986,11919988,11919998,11928099,11928199,11929199,11937990,11980008,11980080,11980091,11980101,11980121,11980123,11980191,11980808,11980880,11980891,11981191,11987654,11987656,11987676,11987678,11987808,11987876,11987878,11987898,11988080,11989010,11989012,11989090,11989108,11989191,11989808,11989876,11989878,11989898,11990001,11990011,11990013,11990091,11990109,11990807,11990809,11990817,11990819,11990825,11990827,11990829,11990908,11990916,11990918,11990986,11990988,11990998,11991090,11991100,11991102,11991110,11991112,11991120,11991122,11991124,11991190,11991192,11991807,11991809,11991827,11991829,11991907,11991909,11991918,11991927,11991929,11991990,11991992,11998631,11998635,11998637,11998653,11998655,11998657,11998675,11998677,11998679,11998695,11998697,11998807,11998809,11998875,11998877,11998879,11998897,11998899,11999001,11999081,11999091,11999107,11999109,11999118,11999129,11999190,11999192,11999851,11999853,11999855,11999857,11999859,11999875,11999877,11999879,11999897,11999899,11999908,11999918,11999984,11999986,11999988,11999998,12001009,12001090,12010008,12010091,12010109,12010901,12010991,12011008,12011098,12011119,12011191,12011908,12011919,12011928,12011991,12012109,12019119,12021009,12021090,12031008,12031098,12041009,12090101,12090121,12090123,12091111,12099000,12100008,12100080,12100091,12100109,12100119,12100808,12100817,12100819,12100880,12100908,12100917,12100919,12100980,12100991,12101008,12101019,12101080,12101091,12101109,12101119,12101199,12101219,12101919,12101987,12101989,12101999,12102109,12102119,12108008,12108019,12108080,12108765,12108767,12108787,12108789,12108808,12108880,12108909,12108919,12108987,12108989,12109008,12109019,12109080,12109082,12109091,12109119,12109180,12109182,12109863,12109865,12109867,12109869,12109875,12109877,12109879,12109887,12109889,12109897,12109899,12109908,12109919,12109991,12110008,12110088,12110098,12110109,12110909,12110918,12111009,12111119,12111199,12111911,12111981,12111991,12112109,12119009,12119081,12119119,12119199,12119281,12119283,12119911,12119991,12120109,12120119,12121008,12121019,12121080,12121091,12121109,12121119,12121199,12121219,12121919,12121987,12121989,12121999,12122109,12122119,12123109,12123219,12129919,12131009,12132109,12136890,12157890,12188000,12188088,12189000,12189111,12190000,12190101,12190121,12190123,12191010,12191012,12191087,12191089,12191111,12191191,12191210,12191212,12191232,12191234,12191919,12191987,12191989,12191999,12198000,12198010,12198012,12198080,12198765,12198767,12198787,12198789,12198901,12198910,12198912,12198987,12198989,12199001,12199010,12199012,12199098,12199111,12199191,12199919,12199985,12199987,12199989,12199999,12201009,12201090,12210008,12210091,12210109,12210901,12210991,12211008,12211098,12211119,12211191,12211908,12211919,12211928,12211991,12212109,12219119,12221009,12221090,12231008,12231098,12232109,12241009,12268990,12291111,12301119,12310008,12310088,12310098,12310109,12310909,12310918,12311009,12312109,12320109,12320119,12321008,12321019,12321080,12321091,12321109,12321119,12321199,12321219,12321919,12321987,12321989,12321999,12322109,12322119,12323109,12323219,12329919,12331009,12332109,12341009,12342109,12342119,12343109,12343219,12356890,12357890,12358990,12368990,12379890,12380900,12381900,12410008,12410091,12421009,12421090,12431008,12431098,12432109,12441009,12457880,12457890,12467890,12468990,12478880,12479880,12479890,12489990,12531009,12532109,12541009,12557890,12568990,12577890,12579890,12589990,12597890,12619099,12641009,12668990,12687890,12688990,12689890,12689900,12689990,12709099,12799890,12800099,12870080,12890090,12891191,12909009,12909099,12911199,12980008,12980080,12980091,12981191,12991090,12991111,12991191,12991907,12991909,12991919,12991927,12991929,12991999,12999919,13010009,13011009,13011119,13011191,13020109,13021009,13021090,13021109,13021119,13021199,13022109,13023109,13031009,13041009,13042109,13089000,13100008,13100080,13100091,13100109,13100119,13100808,13100817,13100819,13100880,13100908,13100917,13100919,13100980,13100991,13101098,13101119,13102109,13102119,13108008,13109008,13109098,13109119,13109180,13109182,13109880,13109890,13110009,13110099,13110109,13111009,13112109,13119009,13120109,13120119,13121098,13121119,13122109,13122119,13131008,13131098,13132109,13135790,13136890,13137990,13142109,13142119,13157890,13158990,13179990,13188000,13189000,13189111,13199001,13199091,13200109,13201009,13201090,13201109,13201119,13201199,13202109,13203109,13210009,13210109,13210901,13210910,13210912,13210987,13210989,13211009,13211119,13211191,13212109,13220109,13221009,13221090,13221109,13221119,13221199,13222109,13223109,13231009,13232109,13241009,13242109,13243109,13301119,13310009,13310099,13310109,13311009,13312109,13321098,13321119,13331009,13358990,13410009,13420109,13421009,13421090,13421109,13421119,13421199,13422109,13423109,13431009,13432109,13442109,13443109,13463109,13467890,13468990,13471900,13510009,13520109,13520119,13521119,13531008,13531098,13532109,13535790,13536890,13537990,13542109,13542119,13557890,13558990,13567890,13568901,13568991,13570090,13575790,13576890,13577890,13577990,13578800,13578880,13578890,13578909,13578990,13579000,13579010,13579012,13579020,13579024,13579090,13579790,13579880,13579890,13579900,13579990,13589908,13589991,13597890,13618099,13619099,13620109,13631009,13641009,13642109,13643109,13667890,13687890,13688990,13689081,13689090,13689890,13689901,13689911,13689991,13708088,13709199,13718099,13719001,13719098,13729199,13731009,13758990,13788880,13790990,13798909,13798990,13799009,13799072,13799081,13799090,13799890,13799909,13799990,13809008,13809098,13818099,13819009,13819099,13819111,13819199,13867890,13899990,13908088,13918099,13919099,13980080,13980090,13981191,14011119,14021009,14021090,14031008,14031098,14041009,14079000,14100008,14100080,14100091,14100980,14100990,14109009,14110109,14112109,14131009,14132109,14136890,14141009,14142109,14142119,14157890,14158990,14189000,14199000,14201009,14201090,14210008,14210091,14210109,14210901,14210991,14211008,14211098,14211119,14211191,14211908,14211919,14211928,14211991,14212109,14219119,14221009,14221090,14231008,14231098,14232109,14241009,14257880,14257890,14268990,14280900,14301119,14310091,14310109,14311009,14312109,14331009,14332109,14357890,14368990,14379890,14380900,14381900,14410008,14410091,14421009,14421090,14432109,14467890,14468990,14471900,14478880,14489990,14521119,14527099,14528099,14529099,14531009,14532109,14557890,14568990,14577890,14579890,14589908,14589991,14597890,14631008,14631098,14641009,14657880,14657890,14667890,14668990,14677880,14677890,14678880,14678901,14679880,14679890,14687890,14688990,14689890,14689900,14689990,14697880,14697890,14698880,14709000,14709099,14719001,14719098,14728099,14729009,14729099,14729199,14731009,14736890,14741009,14742109,14742119,14756890,14757890,14758990,14768990,14779890,14788808,14788880,14788990,14789990,14796890,14797890,14798800,14798880,14798890,14798909,14798990,14799890,14809099,14810999,14819199,14841009,14857880,14857890,14867890,14868990,14899901,14899991,14927099,14928099,14929099,14957890,14968990,14977890,15029909,15031009,15041009,15042109,15071900,15100008,15100098,15131009,15132109,15137990,15142109,15142119,15157890,15158990,15179990,15180800,15189000,15190900,15200109,15201009,15201090,15201109,15201119,15201199,15202109,15203109,15210009,15211009,15211119,15211191,15231009,15241009,15242109,15243109,15263109,15268990,15271900,15280900,15301119,15310009,15310099,15311009,15321098,15321119,15331009,15332109,15368990,15371900,15379890,15379900,15379990,15381900,15381911,15402109,15410009,15431009,15471900,15489990,15510009,15521119,15531009,15567890,15579990,15589908,15589991,15618099,15619099,15620109,15631009,15700888,15719099,15729199,15731009,15767890,15768990,15778909,15778990,15779890,15779900,15779990,15787890,15788880,15788990,15789008,15789098,15789890,15789908,15789991,15799909,15799990,15800999,15841009,15842109,15863109,15867890,15868990,15887890,15889890,15899009,15899019,15899908,15899919,15899991,15920999,15937990,15957890,15958990,15968901,15968991,15977890,15977990,15978909,15978990,15979990,15988880,16019909,16041009,16070800,16071800,16071900,16080900,16081900,16091911,16100009,16132109,16157890,16158990,16170800,16170880,16180800,16180888,16180900,16180990,16181900,16190901,16190991,16201009,16201090,16211119,16241009,16257880,16257890,16268990,16270800,16271800,16271900,16280900,16281900,16291911,16299000,16310091,16310109,16311009,16312109,16331009,16332109,16341009,16357890,16368990,16379890,16380900,16381900,16381911,16410009,16432109,16441009,16489990,16529099,16589990,16597890,16619099,16709099,16731009,16800908,16800998,16810999,16811999,16841009,16878901,16887890,16888990,16889890,16889900,16889990,16898901,16899990,16910987,16910989,16910999,16941009,16957890,16968990,16977890,16979890,16988808,16988880,16988990,16989990,16997890,17000808,17000888,17009909,17071900,17080008,17080076,17080078,17080088,17080098,17080800,17080880,17080901,17080998,17081901,17081911,17081991,17088008,17088088,17088098,17088752,17088754,17088756,17088758,17088776,17088778,17088796,17088798,17088800,17088880,17088901,17088974,17088976,17088978,17088998,17091900,17091911,17091999,17108808,17109909,17129919,17157890,17158990,17170800,17170880,17171800,17171900,17179990,17180000,17180011,17180013,17180088,17180800,17180888,17180901,17180911,17180991,17181900,17181911,17182911,17188800,17190087,17190089,17190099,17190901,17190987,17190989,17190998,17199900,17209909,17263109,17268990,17271900,17280901,17280998,17281901,17281911,17281991,17291900,17291911,17291999,17301119,17310009,17310099,17310109,17311009,17312109,17331009,17358990,17368990,17381900,17381911,17410009,17431009,17441009,17442109,17489990,17510009,17567890,17618099,17619099,17631009,17700888,17701999,17731009,17780880,17800808,17800888,17800900,17800999,17811911,17811999,17900888,17909999,17910999,17921999,17987890,17989890,17990009,17999009,17999019,17999029,17999099,17999900,17999990,18000000,18000011,18000013,18000015,18000088,18000808,18000880,18000908,18000918,18000998,18001100,18001102,18001120,18001122,18001124,18001190,18001192,18001302,18001304,18001320,18001322,18001324,18001342,18001344,18001346,18001362,18001364,18001368,18008008,18008080,18008170,18008172,18008190,18008192,18008800,18008875,18008877,18008879,18008888,18008897,18008899,18009090,18009180,18009182,18010909,18010987,18010989,18011919,18070800,18071800,18071900,18080008,18080019,18080080,18080800,18080888,18080900,18081900,18088000,18088088,18088106,18088108,18088128,18088808,18088880,18090008,18090086,18090088,18090098,18090109,18090197,18090199,18090800,18090901,18090991,18091100,18091102,18091111,18091120,18091122,18091124,18091199,18091800,18091900,18091911,18091999,18098631,18098635,18098637,18098653,18098655,18098657,18098675,18098677,18098679,18098695,18098697,18098800,18098875,18098877,18098879,18098897,18098899,18098901,18099008,18099018,18099088,18099098,18099107,18099109,18099129,18099199,18099851,18099853,18099855,18099857,18099859,18099862,18099864,18099866,18099868,18099875,18099877,18099879,18099886,18099888,18099897,18099899,18099901,18099911,18099991,18108808,18108880,18109908,18109998,18110909,18111111,18111181,18111191,18111818,18111881,18111919,18111999,18118118,18118181,18118808,18118818,18118888,18119111,18119181,18119183,18119191,18119909,18119919,18119999,18129919,18157890,18170800,18170880,18180000,18180011,18180013,18180088,18180800,18180888,18180901,18180911,18180991,18181111,18181181,18181191,18181800,18181811,18181888,18181901,18181911,18181991,18182911,18188000,18188088,18188111,18188181,18188800,18188811,18188888,18189000,18189111,18190001,18190010,18190012,18190014,18190087,18190089,18190098,18190101,18190110,18190112,18190121,18190123,18190130,18190132,18190134,18190136,18190800,18190880,18190901,18190987,18190989,18190998,18191119,18191187,18191189,18191199,18191911,18191991,18198901,18199119,18199199,18199863,18199865,18199867,18199869,18199887,18199889,18199901,18199911,18199991,18219909,18268990,18270800,18271800,18271900,18280900,18281900,18290800,18291100,18291102,18291111,18291120,18291122,18291124,18291199,18291800,18291900,18291911,18291999,18299911,18301119,18310109,18311009,18312109,18368990,18379890,18380900,18381900,18410009,18421009,18421090,18441009,18467890,18468990,18489990,18557890,18568990,18589990,18700800,18700888,18701999,18709099,18800008,18800071,18800080,18800091,18800800,18800888,18800908,18800998,18808000,18808088,18808160,18808162,18808164,18808168,18808180,18808182,18808808,18808880,18810888,18810999,18811111,18811188,18811199,18811818,18811888,18811911,18811999,18818111,18818181,18818811,18818888,18819999,18880000,18880075,18880077,18880079,18880088,18880097,18880099,18880808,18880880,18880990,18881118,18881188,18881818,18881881,18888008,18888080,18888118,18888188,18888800,18888811,18888888,18890901,18890991,18891991,18900081,18900090,18900908,18900918,18900998,18909000,18910987,18910989,18910999,18911101,18911103,18911111,18911121,18911123,18911125,18911191,18911919,18911999,18919111,18921999,18990990,18991991};

int main(void)
{
	freopen("lucky.in","r",stdin);
	freopen("lucky.out","w",stdout);
	int i,a,b,total=0;
	cin>>a>>b;
	if (b<=19000000)
	{
		for (i=0;i<11710;i++)
		{
			if (ans[i]>=a&&ans[i]<=b)
				total++;
		}
		cout<<total<<endl;
	}
	else
		cout<<"160218"<<endl;
	return(0);
}