概述
如果一个素数(质数)的每一位都是素数被称为双重素数,比如3,5,7,23,37都是双重素数,但是11,13,17,29等就不是双重素数,因为1,9都不是素数。现在给你一个整数n,问从1到n之间一共有多少双重素数?
代码:打表出奇迹!!!
#include<bits/stdc++.h>
using namespace std;
long long k[23170]={2,3,5,7,23,37,53,73,223,227,233,257,277,337,353,373,523,557,577,727,733,757,773,2237,2273,2333,2357,2377,2557,2753,2777,3253,3257,3323,3373,3527,3533,3557,3727,3733,5227,5233,5237,5273,5323,5333,5527,5557,5573,5737,7237,7253,7333,7523,7537,7573,7577,7723,7727,7753,7757,22273,22277,22573,22727,22777,23227,23327,23333,23357,23537,23557,23753,23773,25237,25253,25357,25373,25523,25537,25577,25733,27253,27277,27337,27527,27733,27737,27773,32233,32237,32257,32323,32327,32353,32377,32533,32537,32573,33223,33353,33377,33533,33577,33757,33773,35227,35257,35323,35327,35353,35527,35533,35537,35573,35753,37223,37253,37273,37277,37337,37357,37537,37573,52223,52237,52253,52553,52727,52733,52757,53233,53323,53327,53353,53377,53527,53773,53777,55333,55337,55373,55733,57223,57373,57527,57557,57727,57737,57773,72223,72227,72253,72277,72337,72353,72533,72577,72727,72733,73237,73277,73327,73523,73553,73727,73757,75223,75227,75253,75277,75323,75337,75353,75377,75527,75533,75553,75557,75577,75773,77237,77323,77377,77527,77557,77573,77723,77773,222323,222337,222527,222533,222553,222557,222773,223253,223273,223277,223337,223577,223753,223757,225223,225227,225257,225353,225373,225523,225527,225733,227233,227257,227377,227533,227537,232333,232357,232523,232753,232777,233323,233327,233353,233357,233557,233777,235273,235337,235523,235537,235553,235577,235723,237233,237257,237277,237373,237733,237737,252223,252233,252253,252277,252323,252533,252727,252737,253273,253537,253553,253573,253733,253777,255253,255523,255733,255757,257273,257353,272227,272257,272333,272353,272533,272537,272737,272777,273233,273253,273323,273527,273727,273773,275227,275323,275357,275573,275773,277223,277273,277373,277577,277757,322237,322327,322523,322537,322573,322727,322757,323233,323273,323333,323377,323537,325333,325537,325723,325753,325777,327277,327337,327553,327557,327737,327757,332273,332573,333227,333233,333253,333323,333337,333533,333737,333757,335273,335323,335527,335557,337223,337277,337327,337537,352237,352273,352327,352333,352357,352523,352753,352757,353237,353333,353527,353557,353737,353777,355573,355723,355753,355777,357353,357377,357727,357733,357737,372223,372277,372353,372377,372523,372733,372773,373273,373327,373357,373553,373753,373757,373777,375223,375227,375233,375253,375257,375373,375523,375527,375533,375553,375757,375773,377257,377327,377353,377527,377537,377557,377737,522227,522233,522323,522337,522373,522523,522553,522737,522757,523333,523357,523553,523573,523577,523777,525253,525257,525353,525373,525377,525533,525727,525773,527237,527273,527327,527333,527353,527377,527533,527557,527753,532277,532327,532333,532373,532523,532537,532733,532757,533227,533237,533257,533327,533353,533573,533723,533737,533777,535237,535273,535333,535523,535573,535727,535757,537233,537373,537527,537773,552353,552523,552527,552553,552757,553253,553277,553573,553727,553733,553757,555253,555257,555277,555337,555523,555557,557273,557377,557533,557537,557573,572233,572323,572333,572357,572573,572777,573253,573277,573523,573527,573557,573737,573757,575257,575557,575573,575723,575753,575777,577327,577333,577523,577537,577573,577757,722237,722257,722273,722333,722353,722377,722537,722723,722737,723227,723257,723337,723353,723553,723727,725273,725323,725327,725357,725537,725723,725737,727273,727327,727577,727733,727777,732233,732257,732323,732373,732533,733237,733273,733277,733333,733373,733753,733757,735337,735373,735533,735557,735733,737327,737353,737533,737537,737573,737753,737773,752273,752527,753257,753353,753373,753527,753737,753773,755233,755257,755273,755333,755357,755737,757327,757553,757577,757727,757753,772273,772333,772537,772573,772757,773273,773533,773537,773723,773777,775237,775273,775553,775573,775757,775777,777277,777353,777373,777737,2222273,2222327,2222333,2222377,2222527,2222533,2222537,2222573,2222723,2223233,2223253,2223757,2223773,2225233,2225323,2225533,2225557,2225753,2225777,2227223,2227273,2227327,2227333,2227723,2227727,2227777,2232257,2232323,2232337,2232353,2232523,2232773,2233223,2233337,2233373,2233523,2233537,2233573,2233723,2233753,2233757,2235227,2235257,2235323,2235353,2235377,2235553,2235557,2235733,2235773,2237327,2237527,2237537,2237773,2252233,2252273,2252353,2252557,2252753,2253253,2253257,2253323,2253353,2253557,2253773,2255233,2255257,2255333,2255573,2255723,2255753,2257237,2257373,2257553,2257733,2257757,2272223,2272253,2272273,2272337,2272357,2272537,2272727,2272733,2272757,2273273,2273333,2273357,2273533,2275327,2275333,2275723,2275733,2277377,2277553,2277727,2277733,2322227,2322253,2322337,2322373,2322377,2322577,2322757,2323273,2323337,2323733,2323777,2325227,2325377,2325773,2327233,2327257,2327323,2327527,2327723,2327737,2327753,2327777,2332237,2332327,2332333,2332373,2332523,2332537,2333237,2333323,2333377,2333533,2335253,2335523,2335577,2335733,2337227,2337233,2337527,2337553,2337737,2337773,2352223,2352227,2352323,2352353,2352533,2352557,2352577,2353223,2353577,2353723,2355233,2355253,2355277,2355337,2355377,2355527,2355533,2355557,2355733,2357353,2357357,2357527,2357533,2357573,2357737,2372257,2372327,2372737,2372753,2373227,2373253,2373277,2373323,2373337,2373373,2373533,2373773,2375237,2375273,2375327,2375353,2375557,2375573,2375773,2375777,2377253,2377273,2377357,2377553,2377757,2522227,2522237,2522257,2522357,2522557,2522753,2523223,2523337,2523527,2523533,2523557,2523727,2523757,2525227,2525273,2525323,2525557,2525753,2527223,2527253,2527277,2527537,2527573,2527753,2527757,2532223,2532527,2532727,2533273,2533277,2533373,2533577,2533733,2533753,2535223,2535233,2535353,2535373,2535527,2535553,2537237,2537323,2537527,2537537,2552233,2552357,2552527,2552773,2552777,2553223,2553227,2553233,2553337,2553527,2555227,2555233,2555353,2555753,2557273,2557277,2557333,2557337,2557553,2557757,2557777,2572237,2572327,2572373,2572523,2572777,2573237,2573353,2573357,2573533,2573737,2573777,2575277,2575327,2575337,2575373,2575523,2575537,2575723,2575733,2575753,2575757,2575777,2577733,2722273,2722337,2722553,2723323,2723333,2723353,2723737,2725237,2725337,2725357,2725537,2725553,2727223,2727253,2727577,2727727,2727733,2732237,2732273,2732357,2732537,2732753,2733233,2733253,2733257,2733373,2733733,2733737,2735323,2735357,2735377,2735527,2735723,2735737,2737333,2737523,2737723,2737727,2752223,2752357,2752523,2752723,2752733,2753237,2753323,2753533,2753573,2755223,2755237,2757257,2757323,2757533,2757577,2757773,2772227,2772257,2772533,2773223,2773237,2773273,2773523,2775257,2775277,2775323,2775527,2775733,2775737,2777233,2777353,2777527,2777557,2777573,3222223,3222253,3222337,3222727,3222773,3223223,3223273,3223333,3223357,3223373,3223537,3223757,3225227,3225323,3225373,3225377,3225737,3227353,3227723,3232373,3232553,3232753,3232777,3233227,3233257,3233323,3233327,3233333,3233357,3233533,3233753,3233773,3235223,3235553,3235577,3235723,3235753,3235777,3237233,3237257,3237523,3237527,3237557,3252377,3252523,3252527,3252533,3252577,3252773,3253223,3253253,3253333,3253553,3253753,3253777,3255227,3255233,3255377,3255557,3255773,3257257,3257377,3257533,3257753,3257777,3272323,3272327,3272377,3272527,3272723,3273233,3273323,3273527,3273533,3273737,3273773,3275357,3275537,3275737,3277327,3277777,3322237,3322273,3322337,3322357,3322523,3322537,3322577,3322723,3322727,3322757,3323557,3325237,3325253,3325327,3325373,3325573,3325733,3327227,3327253,3327353,3327377,3327523,3327773,3332233,3332737,3333233,3333257,3333277,3333373,3333527,3333727,3333773,3335257,3335273,3335533,3335537,3335573,3335737,3335753,3335777,3337237,3337333,3337577,3337723,3337757,3337777,3352277,3352373,3352537,3353227,3353237,3353323,3353333,3353533,3353773,3355337,3355357,3355553,3355577,3355733,3355757,3355777,3357223,3357253,3357323,3357337,3357353,3357577,3372227,3372233,3372353,3372727,3372737,3372757,3372773,3373553,3373753,3375233,3375257,3375523,3375577,3375737,3377377,3377557,3377723,3522737,3522773,3523327,3523337,3523357,3525377,3525553,3525727,3527233,3527327,3527527,3527723,3532237,3532253,3532523,3532553,3532733,3532757,3533357,3533377,3533533,3533557,3533573,3533723,3535237,3535253,3535277,3535327,3535373,3535573,3535733,3537277,3537337,3537733,3537773,3552233,3552277,3552533,3553223,3553273,3553327,3553553,3553723,3553777,3555257,3555353,3555557,3557273,3557327,3557377,3557527,3557557,3557737,3557773,3572357,3572377,3573223,3573253,3573337,3573373,3573523,3573527,3573727,3573733,3575333,3575357,3575573,3577253,3577333,3577337,3577573,3577577,3577727,3722273,3722357,3723227,3723233,3723277,3723337,3723773,3725233,3725257,3725357,3725573,3725753,3727723,3727727,3727753,3732373,3732577,3732727,3733273,3733333,3733537,3733757,3735227,3735233,3735253,3735323,3735353,3735377,3735527,3735553,3735737,3735773,3737233,3737323,3737353,3737557,3752237,3752327,3752533,3752773,3753223,3753257,3753353,3753377,3753523,3753553,3755237,3755273,3755333,3755753,3757577,3757723,3757777,3772337,3772537,3772577,3772733,3772753,3772757,3773257,3773327,3773377,3773527,3773573,3773773,3775333,3775553,3775573,3775757,3775777,3777223,3777233,3777253,3777377,5222237,5222323,5222333,5222533,5222573,5222753,5223227,5223377,5223557,5223577,5223773,5225237,5225333,5225377,5225527,5225533,5225537,5225723,5225777,5227253,5227333,5227723,5227727,5227753,5227757,5227777,5232223,5232257,5232323,5232553,5232727,5232737,5233223,5233237,5233523,5233577,5233727,5233777,5235233,5235253,5235323,5235353,5235523,5235553,5235733,5235757,5237227,5237237,5237273,5237327,5237333,5237527,5237723,5237753,5252327,5252333,5252537,5252773,5253277,5253757,5255233,5255357,5255527,5255573,5255773,5255777,5257253,5257277,5257723,5257727,5272237,5272327,5272753,5273227,5273327,5273537,5273753,5273777,5275373,5275537,5275553,5275573,5275577,5275723,5275727,5277227,5277253,5277257,5277527,5277773,5322227,5322253,5322257,5322277,5322323,5322353,5322523,5322533,5322553,5323273,5323277,5323757,5323777,5325223,5325323,5325337,5325527,5325533,5325553,5325737,5327323,5327327,5327527,5327537,5327723,5327737,5332273,5332333,5332553,5332753,5333227,5333233,5333327,5333353,5333533,5333557,5335273,5335723,5335753,5335777,5337373,5337377,5337523,5337533,5337557,5337733,5337737,5352257,5352337,5352533,5353223,5353357,5353553,5353727,5353757,5355257,5355277,5355577,5355733,5355737,5357237,5357353,5357537,5357557,5357777,5372233,5372273,5372333,5372537,5372723,5372753,5373233,5373253,5373527,5373727,5373733,5373737,5373773,5375257,5375273,5375327,5375533,5375753,5377237,5377357,5377373,5377727,5522233,5522273,5522327,5522353,5522527,5523223,5523227,5523257,5523373,5523527,5523773,5525327,5525753,5525777,5527237,5527253,5527573,5527733,5532223,5532227,5532377,5532557,5532577,5532727,5532757,5533223,5533273,5533277,5533337,5533373,5533523,5533537,5533553,5533573,5535223,5535253,5535337,5535377,5535773,5537353,5537377,5537533,5537737,5552233,5552737,5552773,5553227,5553253,5553277,5553337,5553727,5553733,5553773,5555233,5555237,5555323,5555357,5555527,5555723,5555777,5557333,5557523,5557537,5557553,5557723,5557753,5557757,5572253,5572733,5573237,5573257,5573333,5573353,5573357,5573377,5573527,5573573,5573723,5575237,5575277,5575357,5575523,5575553,5575723,5575777,5577223,5577277,5577337,5577527,5577577,5577727,5722273,5722333,5722337,5722373,5722573,5722733,5722757,5723233,5723327,5723737,5725253,5725273,5725333,5725523,5725757,5725777,5727223,5727277,5727377,5727523,5732257,5732273,5732323,5732527,5732537,5733223,5733323,5733337,5733373,5733523,5733527,5733737,5733773,5735357,5735753,5737357,5737757,5752223,5752757,5753273,5753323,5753353,5753533,5753557,5753723,5753777,5755237,5755357,5755577,5755733,5755753,5757223,5757253,5757277,5757523,5757553,5757727,5757733,5757737,5772227,5772233,5772337,5772353,5772527,5772553,5772773,5773373,5773553,5773577,5775337,5775527,5775557,5777227,5777237,5777323,5777353,5777533,5777537,5777557,5777573,7222357,7222373,7222573,7222723,7222757,7223323,7223533,7223537,7223737,7223773,7225277,7225327,7225373,7225723,7227377,7227527,7232227,7232233,7232377,7232527,7232573,7232737,7233257,7233277,7233337,7233377,7233727,7233773,7235237,7235273,7235323,7235533,7235537,7235573,7235737,7237253,7237277,7237333,7237523,7237553,7237723,7237753,7237757,7237777,7252237,7252253,7252327,7252373,7252733,7253333,7253537,7253723,7253773,7253777,7255253,7255357,7255723,7255727,7255733,7255757,7257227,7257253,7257323,7257527,7257553,7257577,7257773,7272227,7272257,7272337,7272373,7272527,7272557,7272737,7273237,7273337,7273723,7275227,7275353,7275377,7275533,7275733,7275757,7275773,7277327,7277533,7277537,7277573,7277723,7277737,7322233,7322537,7322753,7323353,7323377,7323523,7323527,7323557,7323577,7323733,7323737,7323773,7325273,7325333,7325533,7325557,7325723,7327237,7327337,7332257,7332373,7332733,7333253,7333327,7333357,7335257,7335277,7335353,7335533,7335553,7335733,7337227,7337327,7337333,7337357,7337723,7337777,7352273,7352333,7352353,7352537,7352777,7353223,7353233,7353253,7353373,7353377,7353527,7353553,7355233,7355273,7355323,7355533,7355573,7355723,7357223,7357373,7357577,7372357,7372523,7372553,7372753,7373227,7373237,7373357,7373537,7373573,7375223,7375253,7375273,7375573,7377233,7377277,7377373,7377533,7377577,7522327,7522573,7523357,7523533,7523573,7523777,7525333,7525723,7525757,7527253,7527257,7527523,7527577,7527727,7532323,7532527,7532533,7532537,7532573,7532773,7533223,7533377,7533553,7533577,7533727,7533733,7535323,7535527,7537223,7537237,7537253,7537333,7537337,7537373,7537723,7552277,7552327,7552537,7552577,7552723,7552757,7553327,7553333,7553573,7553737,7555333,7555337,7557227,7557373,7557523,7557773,7572223,7572233,7572337,7572373,7573253,7573327,7573537,7573733,7575223,7575233,7575277,7575527,7575577,7577527,7577723,7577753,7577777,7722257,7722277,7722373,7722527,7722557,7722773,7723337,7723357,7723537,7723553,7723733,7723753,7723777,7725323,7725373,7725527,7725733,7727233,7727273,7727323,7727353,7727777,7732327,7732337,7732523,7732553,7732727,7733233,7733357,7733377,7733573,7733723,7735253,7735327,7735333,7735537,7735573,7735577,7735733,7737337,7737557,7737733,7752223,7752253,7752373,7752377,7752557,7753337,7753357,7753523,7755233,7755277,7755323,7755337,7755353,7755773,7757237,7757257,7757353,7757537,7757723,7772333,7772353,7772753,7772773,7772777,7773253,7773257,7773323,7773523,7775323,7775377,7775533,7775737,7775753,7777223,7777337,7777537,7777573,7777727,7777753,22222223,22222253,22222273,22222327,22222373,22222537,22223323,22223533,22223557,22225277,22225537,22225727,22225733,22227277,22227323,22227377,22227523,22227553,22227577,22227773,22232233,22232257,22232323,22232377,22232533,22233257,22233527,22233577,22233733,22235527,22235533,22235737,22237223,22237253,22237357,22237373,22237727,22252277,22252357,22252537,22252723,22252733,22252757,22253327,22253377,22253557,22253723,22255253,22255273,22255357,22255577,22255757,22257527,22257727,22257737,22272253,22272277,22272577,22272727,22273333,22273523,22273753,22275223,22275527,22277257,22277273,22277357,22277377,22277527,22277533,22277537,22277573,22322273,22322353,22322527,22322533,22322537,22322557,22322753,22323253,22323337,22323373,22323523,22323733,22323757,22323773,22325227,22325327,22327373,22327523,22327537,22327727,22327757,22327777,22332227,22332253,22332337,22332533,22332757,22332773,22333357,22333373,22333757,22335223,22335227,22335337,22335353,22335527,22335557,22335757,22337323,22337353,22337377,22337527,22337537,22337723,22352357,22353223,22353523,22355237,22355353,22355777,22357253,22357327,22357523,22372277,22372327,22372723,22373233,22373237,22373257,22373573,22373737,22373753,22375277,22375333,22375357,22375373,22377227,22377233,22377337,22377727,22522327,22522553,22522573,22522757,22523257,22523327,22523353,22523533,22523537,22525273,22525337,22525553,22525577,22525733,22527223,22527257,22527277,22527733,22532357,22532533,22533223,22533253,22533527,22533557,22533733,22535237,22535323,22535327,22535333,22537253,22537523,22537573,22552237,22552273,22552577,22552723,22553227,22553233,22553537,22553737,22555553,22555573,22555727,22557233,22557323,22557523,22557727,22572227,22572733,22573277,22573333,22573357,22573757,22575233,22575257,22575353,22575577,22575727,22575757,22577227,22577257,22577327,22577557,22577773,22722223,22722253,22722527,22722577,22722737,22722757,22723277,22723777,22725223,22725233,22725523,22725533,22725553,22725757,22727233,22727333,22727357,22727377,22727527,22727533,22727777,22732253,22732727,22732753,22733273,22733357,22733533,22733723,22735337,22735373,22735553,22735577,22737223,22737233,22737257,22737373,22737527,22737553,22737733,22752337,22752377,22752533,22752757,22753223,22753253,22753273,22753277,22753337,22753723,22753727,22753733,22755223,22755233,22755323,22755377,22755527,22755553,22755757,22755773,22757227,22757233,22757737,22757753,22757773,22772227,22772237,22772257,22772273,22772377,22772527,22772557,22773277,22773733,22775227,22775323,22775327,22775573,22777277,22777327,22777357,22777537,22777753,23222233,23222257,23222377,23222723,23223223,23223227,23223253,23223257,23223323,23223337,23223373,23223527,23223553,23223773,23225327,23225333,23225357,23225533,23225737,23227223,23227327,23227553,23227733,23227777,23232257,23232757,23233337,23233723,23233733,23233753,23235227,23235323,23235733,23237237,23237257,23237353,23237723,23237737,23252227,23252237,23252377,23252737,23252777,23253227,23253233,23253277,23253523,23253553,23255257,23255327,23255333,23255527,23255723,23255773,23257237,23257523,23257723,23257753,23257757,23272253,23272357,23272553,23273227,23273273,23273533,23275223,23275277,23275523,23275537,23275723,23275727,23275757,23277257,23277523,23277557,23277733,23277757,23322223,23322353,23322527,23322553,23322737,23322773,23323277,23323523,23323537,23323577,23323733,23325223,23325227,23325233,23325257,23325373,23325727,23327257,23327273,23327327,23327737,23332523,23332537,23332723,23332753,23333237,23333357,23333533,23333773,23335537,23335723,23337253,23337337,23337533,23337557,23337577,23337737,23337773,23352227,23352253,23352257,23352353,23352523,23352533,23352727,23352737,23352757,23353237,23353273,23353277,23353373,23353573,23353753,23353777,23355257,23355337,23355377,23355523,23355727,23355733,23355737,23357233,23357237,23357273,23357527,23357723,23372227,23372257,23372273,23373223,23373227,23373277,23373323,23373353,23373377,23373533,23373557,23373733,23373737,23375237,23375353,23375557,23375773,23375777,23377357,23377373,23377727,23377777,23522227,23522357,23522377,23522557,23523337,23523377,23523557,23525237,23525533,23525737,23525753,23527237,23527277,23527333,23527373,23527573,23527723,23527733,23532227,23532277,23532533,23532557,23533327,23533553,23533733,23533753,23535223,23535227,23535257,23535373,23535553,23535557,23537237,23537323,23537377,23537573,23537737,23552227,23552233,23552257,23552377,23552773,23553223,23553353,23553553,23553727,23553773,23555237,23555377,23555533,23555737,23555773,23557253,23557537,23557577,23557753,23572327,23572337,23572553,23572733,23572753,23573327,23573353,23573527,23573573,23573777,23575537,23575777,23577523,23722253,23722373,23722753,23723233,23723237,23723257,23723377,23723527,23725253,23725577,23725733,23725753,23727337,23727373,23727757,23727773,23732257,23732327,23732377,23732557,23732773,23732777,23733233,23733253,23733257,23733323,23733373,23733557,23733737,23735377,23735533,23735557,23735737,23737223,23737523,23737733,23752277,23752327,23752777,23753557,23755327,23755337,23755577,23755723,23757257,23757323,23757533,23757553,23757557,23757577,23772227,23772233,23772253,23772277,23772527,23772557,23772577,23772733,23773333,23773523,23773553,23773577,23773723,23773753,23775223,23775277,23775337,23775377,23775523,23775527,23775757,23777333,23777353,23777357,25222277,25222573,25222723,25222727,25222777,25223273,25223333,25225237,25225337,25225523,25225553,25225573,25227227,25227233,25227253,25227277,25227353,25227373,25227557,25227733,25227773,25232257,25232533,25232723,25232773,25233227,25233233,25233337,25233773,25235227,25235233,25235323,25235527,25235723,25235737,25235773,25237253,25237273,25237357,25237523,25237753,25252277,25252333,25252723,25252753,25252757,25253237,25253273,25253537,25253773,25255337,25255553,25255733,25255777,25257227,25257277,25257527,25257553,25257737,25272227,25272257,25272553,25272733,25273223,25273333,25273727,25275227,25275233,25275353,25275373,25275527,25275737,25277227,25277257,25277377,25277533,25277537,25277557,25277723,25277737,25277773,25322233,25322327,25322357,25322777,25323223,25323227,25323323,25323377,25323533,25323733,25325227,25325273,25325327,25325533,25325557,25325777,25327553,25327723,25327733,25327777,25332257,25332277,25332323,25332557,25333237,25333277,25333337,25333537,25333573,25333577,25333753,25335257,25335337,25335377,25335533,25335553,25335757,25337227,25337353,25337357,25337537,25337573,25352323,25352333,25352357,25352533,25352557,25352573,25352773,25353227,25353253,25353373,25353577,25355227,25355233,25355257,25355327,25355333,25355357,25355377,25355527,25355537,25357237,25357333,25357357,25357757,25372223,25372253,25372273,25372327,25372337,25372357,25372553,25372723,25372757,25372777,25373237,25373533,25373723,25375327,25375333,25375733,25377553,25377557,25377577,25377733,25522373,25522537,25522577,25522753,25523233,25523357,25523573,25523723,25523737,25523753,25523777,25525223,25525237,25525327,25525333,25525373,25525553,25525723,25525733,25525757,25525777,25527223,25527233,25527253,25527323,25527377,25532357,25532537,25532723,25533257,25533323,25533377,25533523,25533527,25533533,25533727,25533773,25535233,25535353,25535357,25535533,25535557,25537277,25537327,25537333,25537537,25537753,25552223,25552337,25552753,25552757,25553237,25553357,25553753,25555223,25555237,25555333,25555337,25557737,25557757,25572227,25572257,25572353,25572377,25573237,25573337,25573733,25575227,25575233,25575257,25575337,25575353,25575373,25575553,25575727,25577557,25577777,25722223,25722227,25722233,25722253,25722577,25722727,25722737,25723253,25723573,25723727,25725377,25725527,25725533,25725773,25727227,25727257,25727323,25727357,25727557,25732253,25732277,25732523,25732727,25733233,25733327,25735223,25735327,25735357,25735573,25735733,25735753,25735777,25737227,25737377,25737557,25737727,25752323,25753337,25753523,25753733,25753753,25755227,25755337,25755523,25755533,25755553,25755557,25755733,25757257,25757273,25757327,25757353,25757377,25757527,25757773,25757777,25772273,25772533,25772737,25772777,25773233,25773733,25773757,25775327,25775377,25775527,25775573,25775753,25775773,25777327,25777333,25777537,25777553,25777753,27222233,27222527,27222553,27222737,27223223,27223277,27223733,27225323,27225553,27225557,27227273,27227537,27227573,27227773,27232237,27233237,27233537,27233737,27233777,27235223,27235237,27235333,27235337,27235573,27235777,27237227,27237253,27237257,27237277,27237337,27237523,27237733,27237737,27252233,27252353,27252523,27252553,27252557,27252727,27252733,27252737,27252773,27253253,27253333,27253757,27255257,27255323,27255373,27255377,27255577,27255733,27257353,27257357,27257537,27257777,27272327,27272533,27272723,27273353,27273523,27273553,27275233,27275273,27277573,27277727,27277753,27322237,27322333,27322753,27323323,27323537,27325223,27325237,27325373,27325577,27325733,27325777,27327227,27327233,27327323,27327353,27327373,27327737,27332237,27332273,27332323,27332353,27332573,27332737,27332777,27333277,27333323,27333373,27333557,27333737,27335257,27335527,27335533,27335537,27335773,27337223,27337337,27337357,27337553,27337573,27337727,27337757,27352327,27352333,27352357,27352373,27353237,27353533,27353723,27353773,27355327,27355577,27355723,27355753,27355777,27357227,27357257,27357377,27372253,27372337,27372523,27372557,27372577,27372727,27372733,27372773,27373253,27373277,27373537,27373777,27375277,27375373,27375377,27375527,27375553,27375737,27375757,27377573,27377723,27377773,27522223,27522233,27522373,27522377,27522553,27522557,27522727,27523277,27523333,27523337,27523373,27523553,27523733,27525353,27525527,27527237,27527327,27527537,27527557,27532237,27532573,27532723,27532727,27532733,27533257,27533273,27533327,27533333,27533533,27535337,27535357,27535757,27535777,27537227,27537277,27537337,27537353,27537373,27537533,27537557,27537577,27552227,27552253,27552557,27552727,27553237,27553373,27553523,27553733,27555233,27555257,27555337,27555523,27555727,27557227,27557237,27557273,27557377,27557533,27557773,27572227,27572257,27572323,27572333,27572357,27572557,27572737,27572777,27573223,27573257,27573373,27573523,27575227,27575333,27575357,27575573,27575753,27575773,27577223,27577237,27577357,27577373,27577523,27577733,27722237,27722353,27722533,27722537,27723253,27723557,27723727,27723733,27723757,27725273,27725333,27725353,27725527,27725773,27725777,27727223,27727253,27727373,27727537,27727573,27727577,27727723,27727753,27732223,27732233,27732337,27733333,27733373,27733553,27733777,27735277,27735373,27735727,27737233,27737273,27737323,27737527,27737533,27737573,27752233,27752327,27752357,27752723,27752737,27753223,27753227,27753337,27753373,27753577,27755537,27755737,27755753,27757357,27757577,27772333,27772337,27772553,27772727,27773327,27773357,27773773,27773777,27775337,27775357,27775523,27775577,27775733,27775753,27775757,27777223,27777227,27777553,27777557,27777577,27777733,32222257,32222573,32222753,32223227,32223577,32225327,32225357,32225377,32225773,32227373,32232337,32232353,32232523,32232773,32233277,32233573,32233727,32233777,32235223,32235233,32235277,32235323,32235353,32235377,32235523,32235527,32235727,32235737,32235773,32237273,32237353,32237377,32237533,32237753,32252257,32252273,32252357,32253223,32253253,32253527,32253553,32255357,32255537,32255723,32255753,32257223,32257237,32257327,32257723,32257727,32257733,32257777,32272223,32272237,32272277,32272327,32272573,32272727,32272733,32272753,32273333,32273357,32273377,32273737,32273777,32275223,32275237,32275253,32275273,32275777,32277233,32277253,32277733,32322223,32322377,32322523,32322557,32323223,32323337,32323373,32323553,32323727,32323757,32325253,32325257,32325277,32325323,32325577,32327237,32327333,32332253,32332523,32333237,32333333,32333533,32333557,32333723,32333773,32335273,32335327,32335333,32335357,32335553,32335733,32335753,32337337,32337727,32352233,32352253,32352323,32352533,32352553,32352757,32352773,32353537,32353723,32353733,32353757,32355277,32355377,32355527,32355553,32355577,32355773,32357233,32357537,32357557,32357723,32357737,32357777,32372227,32372377,32372537,32373323,32373337,32373353,32373533,32373727,32375257,32375353,32375723,32377327,32377337,32377523,32377757,32522323,32522327,32522557,32522573,32522723,32522753,32522773,32523277,32523377,32523527,32523727,32525323,32525377,32525527,32525723,32527237,32527777,32532257,32532277,32532323,32532527,32532727,32533357,32533723,32533727,32533777,32535323,32535527,32535533,32535557,32535757,32537227,32537237,32537257,32537327,32537353,32537377,32552227,32552257,32552323,32552353,32552357,32552557,32552753,32552777,32553277,32553337,32553553,32553727,32553757,32555573,32555753,32557253,32557277,32557333,32557523,32557753,32557757,32572237,32572277,32572333,32572373,32572523,32572733,32572777,32573273,32573327,32573533,32573537,32575273,32575357,32575537,32575573,32577227,32577277,32577323,32577733,32577737,32577757,32722273,32722357,32722373,32723333,32723723,32723773,32723777,32725333,32725523,32725727,32727353,32727377,32727727,32727757,32732233,32732237,32732333,32732353,32732533,32732537,32732737,32733223,32733353,32733557,32733733,32733773,32735257,32735273,32735333,32735377,32735533,32735723,32737273,32737277,32737337,32737357,32737753,32752273,32752327,32752723,32752777,32753323,32753327,32753333,32753353,32753527,32755237,32755253,32755273,32755337,32755573,32755777,32757323,32757337,32757353,32757737,32772227,32772253,32772533,32772577,32772757,32773327,32773373,32773553,32773577,32773723,32773753,32773757,32773777,32775257,32775557,32775577,32775737,32777237,32777533,33222223,33222253,33222257,33222353,33222377,33222523,33222727,33222733,33222757,33225253,33225323,33225527,33225557,33225727,33227353,33227357,33227573,33227723,33227773,33232357,33232523,33232553,33232733,33232777,33233257,33233353,33233357,33233377,33233537,33233573,33233777,33235327,33235333,33235523,33235723,33235733,33237233,33237527,33237733,33252377,33252523,33252727,33252773,33253223,33253237,33253273,33253277,33253333,33253523,33255227,33255253,33255323,33255557,33255737,33255773,33257233,33257377,33257723,33272273,33272333,33272357,33272377,33272537,33272573,33272753,33273277,33273523,33273553,33273557,33273577,33273727,33273733,33275237,33275257,33275377,33275527,33275537,33275773,33275777,33277553,33277577,33277733,33277753,33322277,33322357,33322727,33323327,33323333,33325573,33325577,33325723,33325777,33327233,33327353,33327373,33327377,33327523,33327727,33327733,33332723,33332777,33333253,33333257,33333373,33333523,33335227,33335273,33335327,33335333,33335527,33335773,33335777,33337237,33337253,33337277,33337753,33352223,33352237,33352537,33352727,33353233,33353273,33353323,33353777,33355277,33355577,33355733,33355753,33357253,33357257,33357323,33357353,33357377,33357523,33372233,33372277,33372733,33372737,33373357,33373537,33373727,33373757,33373777,33375253,33375257,33375557,33375733,33375773,33377233,33377257,33377327,33377557,33377723,33522353,33522373,33522737,33522773,33523253,33523327,33523577,33523723,33523727,33523757,33525223,33525227,33525257,33525533,33525553,33525727,33525757,33525773,33527257,33527357,33532273,33532277,33532337,33532357,33532537,33532757,33533257,33533527,33535277,33535573,33535753,33537227,33537233,33537523,33537557,33552523,33552527,33553327,33553337,33553357,33553537,33553577,33553727,33555373,33555377,33555527,33555553,33555727,33555737,33555757,33557257,33557323,33557327,33557357,33557737,33557753,33572237,33572333,33572353,33572377,33572527,33572533,33572537,33572557,33573257,33573373,33573523,33573577,33573733,33575233,33575257,33575537,33575557,33575723,33577253,33577277,33577373,33577573,33577727,33722233,33722333,33722357,33722527,33722753,33723373,33723523,33723527,33725233,33725333,33725353,33725357,33725533,33725777,33727237,33727273,33727277,33727357,33727373,33727723,33727777,33732227,33732527,33732533,33732553,33732773,33733277,33733333,33733523,33733537,33733573,33733577,33735253,33735277,33735337,33735353,33735557,33737233,33737257,33737323,33737723,33737777,33752233,33752333,33752527,33753227,33753233,33753353,33753553,33753757,33755327,33755537,33755573,33755737,33757333,33757337,33757523,33757753,33757777,33772337,33772537,33772553,33772723,33772777,33773227,33773273,33773723,33773737,33775223,33775327,33775333,33775733,33775757,33777223,33777553,33777577,33777773,35222227,35222323,35222357,35222527,35222533,35222723,35222777,35223233,35223553,35223733,35225327,35225353,35225737,35225777,35227223,35227333,35232277,35232557,35232727,35232733,35233327,35233573,35235257,35235323,35235553,35235737,35237273,35237537,35237557,35252233,35252377,35252557,35252573,35252753,35253353,35253377,35253553,35253557,35253737,35253773,35257223,35257373,35257553,35257723,35257727,35257777,35272357,35272373,35272537,35272577,35272733,35273233,35273323,35273333,35273533,35275277,35275327,35275553,35275727,35275733,35275753,35275777,35277223,35277233,35277353,35277373,35277527,35277733,35277773,35322223,35322253,35322257,35322323,35322523,35322757,35322773,35323237,35323333,35323357,35323373,35323523,35323553,35323573,35323733,35323753,35325233,35325253,35325373,35325377,35325727,35325733,35325737,35327233,35327273,35327323,35327353,35327533,35327557,35327573,35327737,35327753,35332223,35332333,35332523,35332573,35332757,35333227,35333323,35333527,35333737,35335327,35335373,35335757,35337233,35337353,35337377,35337527,35352227,35352257,35352277,35352337,35352557,35352773,35353223,35353273,35353337,35353573,35353723,35353757,35355227,35355377,35355557,35357323,35357353,35357557,35357573,35357753,35372237,35372327,35372377,35372527,35372537,35372723,35372773,35373323,35373337,35373353,35373523,35373557,35373577,35373727,35375237,35375323,35375533,35375773,35377577,35377733,35522527,35522573,35523223,35523233,35523373,35523577,35523757,35525227,35525533,35525537,35527273,35527277,35527357,35527573,35527577,35527727,35527753,35527757,35532253,35532257,35532323,35532373,35533273,35533777,35535373,35535553,35537233,35537753,35552233,35552333,35552353,35552557,35552773,35553233,35553253,35553257,35553533,35553737,35553773,35555753,35555777,35557237,35557273,35557733,35572253,35572337,35572723,35572727,35572777,35573257,35573273,35573353,35573533,35573737,35573753,35575223,35575327,35575357,35575777,35577233,35577323,35577337,35577523,35577733,35722237,35722277,35722373,35722537,35722733,35723357,35723533,35723557,35723573,35725253,35725273,35725373,35725523,35725537,35725553,35725777,35727553,35727577,35732227,35732233,35732327,35732353,35732533,35732537,35732573,35732773,35733227,35733253,35733553,35735237,35735327,35735737,35737237,35737337,35737357,35737577,35737777,35752253,35752337,35752537,35752757,35752777,35753357,35753537,35755273,35755277,35755537,35755757,35757523,35757727,35772223,35772323,35772553,35772757,35773223,35773537,35773553,35773753,35773757,35775227,35775533,35775577,35775737,35777237,35777257,35777327,35777723,35777773,37222223,37222253,37222277,37222357,37222553,37222753,37223323,37223377,37223737,37225277,37225337,37225723,37232233,37233223,37233337,37233373,37233377,37233523,37233533,37233557,37235323,37235353,37235537,37235773,37235777,37237223,37237273,37237523,37237573,37237723,37237757,37252337,37252357,37252573,37253323,37253533,37253773,37255327,37257277,37257553,37257757,37272233,37272253,37272377,37272523,37272533,37272553,37272733,37272773,37273237,37273337,37273757,37275223,37275323,37275523,37275533,37275727,37277257,37277777,37322557,37322573,37322723,37323373,37323553,37323557,37323773,37325377,37325537,37325723,37325753,37327237,37327253,37327333,37327337,37327357,37327373,37327573,37332227,37332233,37332257,37332353,37332553,37332577,37332727,37332733,37333327,37333553,37333753,37333757,37335227,37335533,37335577,37335733,37335773,37337273,37337323,37337327,37337537,37337557,37337753,37352323,37352773,37353223,37353353,37353377,37353523,37353553,37353557,37353577,37353737,37355233,37355257,37355537,37355737,37357237,37357277,37357357,37372253,37372523,37372537,37372733,37373233,37373527,37373573,37373723,37373753,37373773,37375237,37375523,37375573,37375727,37375753,37377233,37377257,37377337,37377377,37377757,37522237,37522253,37522327,37522333,37522733,37523257,37523273,37523333,37523377,37523737,37525573,37525727,37525753,37525777,37527277,37527323,37527353,37527377,37527727,37527757,37527773,37532377,37532557,37533233,37533373,37533527,37533533,37533757,37535233,37535753,37537273,37537327,37537723,37537733,37552237,37552327,37552357,37552553,37553237,37553333,37553573,37553723,37555223,37555253,37555733,37557253,37557727,37557757,37572233,37572257,37572323,37572377,37572553,37572727,37572757,37573253,37573273,37573373,37573573,37573577,37573733,37575227,37575257,37577233,37577257,37577537,37577723,37577773,37722227,37722253,37722523,37722557,37723237,37723327,37723523,37723573,37725257,37725377,37727227,37727353,37727377,37727737,37727773,37732223,37732327,37732337,37732553,37732753,37733257,37733327,37735237,37735253,37735777,37737257,37737353,37737377,37737577,37737737,37752227,37752277,37752523,37752527,37752553,37752773,37753237,37753553,37755227,37755257,37755323,37755733,37757557,37757773,37772257,37772327,37772333,37772723,37772737,37773227,37773257,37773277,37773353,37773557,37775323,37775327,37775527,37775533,37775537,37777273,37777357,37777373,37777577,52222223,52222237,52222277,52222327,52222333,52222337,52222553,52222733,52222777,52223333,52223527,52223537,52223557,52223573,52225237,52225253,52225337,52225553,52225727,52225757,52225777,52227223,52227233,52227323,52227533,52227577,52232353,52232377,52232527,52232723,52232753,52232773,52233323,52233373,52233737,52235723,52235773,52237333,52237357,52237373,52252253,52252723,52253353,52253753,52253777,52255373,52255523,52257223,52257323,52257553,52257757,52257773,52272523,52272533,52272733,52273357,52273577,52273757,52273777,52275523,52275733,52277237,52277333,52277773,52322227,52322533,52322537,52322573,52322737,52323253,52323277,52323373,52323377,52323527,52323577,52325323,52325353,52325573,52327573,52327733,52327753,52327777,52332223,52332257,52332377,52332727,52332773,52333223,52333553,52333573,52335277,52335323,52337323,52337353,52337357,52337377,52337557,52337773,52352227,52352327,52352357,52352533,52353527,52353577,52355327,52355557,52357373,52357537,52357573,52357733,52357757,52372273,52372277,52372373,52372553,52372757,52373357,52375373,52375553,52375753,52377257,52377373,52377757,52522237,52522273,52522373,52522733,52523753,52523777,52525327,52525357,52525373,52525553,52525727,52527227,52527257,52527353,52527557,52527577,52527737,52527757,52532237,52532327,52533323,52533337,52533373,52533527,52533577,52533773,52535233,52535257,52535333,52535533,52535537,52535573,52537253,52537273,52537577,52537757,52552273,52552277,52552327,52552333,52552337,52552373,52552573,52553227,52553233,52553257,52553323,52553327,52553573,52553777,52555357,52557257,52572257,52572277,52572353,52572557,52572577,52572727,52573223,52573327,52573373,52573523,52573727,52573733,52573753,52573757,52575253,52575353,52575377,52575533,52575553,52575727,52575737,52577233,52577257,52577323,52577557,52577773,52722323,52722353,52722533,52722557,52723327,52723523,52723553,52723577,52725377,52725553,52725577,52727273,52727377,52727537,52727723,52727737,52732223,52732357,52732373,52732573,52732723,52732727,52732777,52733237,52733353,52733533,52733537,52733557,52733777,52735223,52735357,52735373,52735523,52737233,52737253,52737277,52737323,52737353,52737527,52737557,52752223,52752233,52752253,52752523,52752533,52752727,52752737,52753273,52753373,52753553,52753573,52753777,52755223,52755253,52755257,52755277,52755337,52755523,52755557,52755737,52755757,52757323,52757723,52772227,52772333,52772353,52772527,52772723,52772773,52773223,52773257,52773277,52773353,52773733,52775533,52775537,52775753,52775773,52777237,52777253,52777357,52777523,52777553,52777723,53222227,53222357,53222527,53222557,53222737,53222773,53223227,53223257,53223553,53223557,53223727,53223733,53223757,53223773,53225323,53225533,53227253,53227337,53227523,53232523,53232527,53232733,53233237,53233373,53233723,53233757,53233777,53235223,53235233,53235253,53235257,53235337,53235527,53235727,53235757,53237227,53237237,53237333,53237377,53237537,53237573,53237773,53252237,53252257,53252737,53252777,53253253,53253353,53253373,53253377,53253757,53255227,53255273,53255353,53255533,53255723,53255753,53257273,53257327,53257357,53257537,53257553,53257723,53272253,53272537,53272777,53273237,53273323,53273527,53273537,53273573,53273723,53275223,53275273,53275333,53275553,53275727,53275757,53277227,53277233,53277277,53277533,53277557,53322337,53322733,53322757,53323273,53323573,53323723,53325227,53325257,53325373,53325527,53325737,53327227,53327233,53327273,53327537,53327753,53332333,53332337,53332523,53332777,53333257,53333537,53333557,53333723,53335237,53335277,53335573,53335577,53335757,53337223,53337233,53337257,53337337,53337353,53337533,53337727,53337737,53352223,53352553,53353253,53353337,53353357,53353733,53353753,53353757,53353777,53355223,53355353,53355373,53355727,53357257,53357327,53357333,53372233,53372327,53372353,53372357,53372723,53372773,53373323,53373577,53373757,53373773,53375233,53375533,53375537,53377237,53377253,53377523,53377537,53377573,53377757,53522323,53522333,53522773,53523227,53523377,53523523,53523557,53523733,53523773,53525257,53525323,53525357,53525557,53525737,53525753,53527277,53527333,53527553,53527753,53532373,53532553,53532737,53533223,53533253,53533273,53533327,53533523,53533553,53533723,53535257,53535373,53535523,53535733,53537257,53537357,53552777,53553377,53553527,53553557,53553733,53555233,53555237,53555527,53557223,53557277,53557373,53557727,53557753,53572273,53572357,53572573,53572733,53573257,53573323,53573327,53575337,53575373,53575537,53575733,53575757,53575777,53577233,53577257,53577323,53577577,53577737,53722223,53722553,53722723,53723227,53723323,53725523,53725753,53725757,53727257,53727277,53727337,53727353,53727577,53727733,53732333,53732353,53732533,53732537,53732573,53732753,53732773,53733223,53733227,53733257,53733353,53733377,53733527,53735233,53735237,53735257,53735323,53735377,53735557,53735723,53737253,53737373,53737553,53737777,53752277,53752327,53752333,53752373,53752723,53752753,53752757,53753233,53753353,53753533,53753573,53753723,53753753,53753773,53755277,53755337,53755553,53755573,53755753,53755777,53757227,53757323,53772227,53772253,53772553,53772577,53772727,53773277,53773723,53775223,53775257,53775277,53775353,53775577,53777233,53777323,53777333,53777357,53777573,55222327,55222357,55222553,55222577,55222723,55222733,55223323,55223353,55223527,55223533,55223737,55225223,55225273,55225327,55225337,55225733,55225757,55225777,55227233,55227377,55232227,55232237,55232257,55232273,55232323,55232357,55232377,55233253,55233377,55233533,55233727,55233733,55235333,55235353,55235357,55235573,55235723,55237223,55237577,55237733,55252333,55252573,55252753,55253227,55253257,55253353,55253357,55253537,55255273,55255357,55255573,55257227,55257233,55257253,55257353,55257733,55257737,55257773,55272227,55272257,55272323,55272523,55272533,55272727,55272757,55272773,55273373,55273723,55273733,55275223,55275323,55275523,55275533,55275553,55275557,55275757,55277273,55277333,55277753,55277777,55322237,55322327,55322537,55323577,55323727,55323773,55325273,55325357,55325537,55325723,55325737,55327523,55327553,55327577,55327757,55332253,55332257,55332323,55332373,55332523,55332577,55333277,55333337,55333573,55333753,55335227,55335337,55335377,55335557,55335727,55337257,55337273,55337773,55352257,55352327,55352533,55352753,55353223,55353227,55353773,55355257,55355527,55355533,55357273,55357373,55357553,55372253,55372277,55372573,55373273,55373333,55373537,55375337,55375553,55375757,55377227,55377277,55377323,55377737,55522223,55522273,55522277,55522373,55522723,55523227,55523233,55523323,55523327,55523353,55523527,55523737,55523773,55525273,55525523,55525537,55525573,55525777,55527737,55532233,55532237,55532273,55532537,55532777,55533227,55533773,55535257,55535773,55537277,55537723,55537753,55552223,55552327,55552373,55552573,55552733,55553233,55553327,55553573,55555223,55555237,55555333,55555523,55555553,55555573,55555727,55555777,55557233,55557253,55557277,55572353,55572373,55573237,55573253,55573373,55573723,55573757,55575353,55575523,55575733,55575757,55577227,55577273,55577323,55577537,55722223,55722323,55722533,55722757,55722773,55723277,55723537,55723573,55723753,55725223,55725227,55725253,55725577,55727227,55727233,55727257,55727753,55732277,55732337,55732727,55732777,55733233,55733527,55733533,55733723,55733773,55735577,55735723,55735753,55735777,55737223,55737277,55737323,55737377,55737527,55737553,55737733,55752223,55752523,55752533,55752727,55752733,55753253,55753273,55753333,55753337,55753723,55755233,55755373,55755527,55755533,55755757,55755773,55757257,55757777,55772237,55772273,55772533,55772537,55772557,55773253,55773373,55773527,55773577,55773727,55773733,55773737,55775227,55775273,55775327,55775527,55775537,55775737,55777333,55777523,55777723,55777727,57222223,57222523,57222533,57222733,57223223,57223253,57223337,57223723,57223753,57225227,57225253,57225257,57225277,57225353,57225523,57225533,57225577,57225737,57227257,57227377,57227557,57232327,57232753,57232757,57233227,57233233,57233353,57233573,57233753,57233777,57235253,57235273,57235757,57237553,57237727,57252227,57252233,57252253,57252323,57253237,57253277,57253723,57255223,57255277,57255377,57255553,57257227,57257323,57257573,57257777,57272227,57272357,57272377,57272723,57272753,57273233,57273533,57275233,57275333,57275723,57277223,57277237,57277357,57277757,57322253,57322273,57322277,57322333,57322537,57322553,57322723,57323237,57323327,57323333,57323353,57323737,57323753,57325237,57325327,57325537,57325573,57325733,57325753,57327227,57327253,57327533,57327737,57333337,57333527,57335227,57335273,57335353,57335557,57335737,57335777,57337237,57337337,57337373,57337523,57352327,57352333,57352753,57353227,57353323,57353333,57353353,57353537,57353573,57353753,57353773,57355223,57355273,57355723,57355733,57357323,57357527,57357577,57357757,57372727,57373237,57373333,57373357,57373553,57373573,57373577,57375557,57375727,57375757,57377233,57377357,57377557,57377753,57377773,57522233,57522277,57522727,57522733,57522757,57523357,57523523,57523553,57523573,57523577,57523727,57523757,57523777,57525253,57527233,57527377,57532273,57532733,57533227,57533233,57533323,57533573,57535253,57535277,57535337,57535523,57535727,57535733,57537373,57537527,57552277,57552373,57552377,57553553,57553723,57553753,57553757,57555233,57555527,57555737,57557323,57557377,57557527,57557557,57572233,57572327,57572357,57572737,57573233,57573277,57573353,57573377,57573773,57575333,57575723,57577537,57577573,57722233,57722573,57722723,57722737,57723233,57723373,57723377,57723727,57725233,57725527,57727253,57727273,57727333,57727357,57727577,57727727,57732373,57733327,57733373,57733523,57733553,57733757,57735533,57737227,57737557,57737737,57737773,57752257,57752273,57752353,57752537,57752557,57752573,57752777,57753277,57753533,57753557,57753733,57755333,57755377,57755723,57755773,57757237,57757253,57757277,57757327,57757523,57757573,57757723,57772223,57772237,57772373,57772523,57772537,57772777,57773323,57773333,57773377,57773753,57773773,57777257,57777527,57777557,57777737,72222253,72222523,72223553,72223733,72225277,72225523,72225553,72225577,72225733,72225737,72227557,72232273,72232333,72232553,72232577,72232753,72232757,72233237,72233327,72233353,72233737,72235333,72235523,72235573,72235577,72235733,72237577,72237757,72252233,72252277,72252353,72252377,72252773,72253253,72253733,72255373,72255527,72255577,72257233,72257333,72257527,72257777,72272237,72272273,72272527,72272537,72272573,72272737,72272773,72273233,72273323,72273353,72273373,72273757,72275257,72275327,72275537,72275773,72277223,72277327,72277357,72277553,72277757,72322277,72322337,72322357,72322553,72322577,72322727,72323257,72323723,72323773,72325273,72325373,72325577,72325733,72327323,72327523,72327553,72327757,72332233,72332237,72332257,72332327,72332357,72332573,72333223,72333257,72333277,72333523,72333533,72333577,72333727,72335233,72335353,72335377,72335533,72335573,72337327,72337333,72337357,72337373,72337537,72337753,72337757,72337777,72352253,72352373,72352757,72353227,72353353,72353773,72353777,72355277,72355357,72355573,72355733,72355753,72357223,72357227,72357277,72357553,72357557,72357737,72372253,72372277,72372323,72372373,72372733,72372737,72373523,72373537,72373723,72375323,72375377,72375553,72375773,72377257,72377323,72377377,72522227,72522253,72522377,72522557,72522757,72522773,72523333,72523523,72523537,72523723,72523727,72523733,72525227,72525377,72525533,72527537,72527573,72527723,72527737,72532237,72532333,72533257,72533323,72533327,72533333,72533353,72533557,72533753,72533777,72535327,72535553,72535777,72537233,72537277,72537523,72537533,72537557,72552353,72552377,72552553,72552737,72552757,72553253,72553277,72553373,72553553,72553573,72553727,72553757,72555727,72555757,72557273,72557327,72557357,72557533,72557753,72572233,72572257,72572273,72572377,72572557,72572573,72573337,72573353,72573373,72573577,72573757,72575233,72575257,72575273,72575323,72575333,72575353,72575753,72577223,72577237,72577273,72577333,72577733,72722327,72722333,72722737,72722777,72723353,72723377,72723527,72723533,72723757,72725227,72725357,72725377,72725573,72725777,72727223,72727327,72727337,72727537,72727553,72727723,72732223,72732553,72733277,72733333,72733733,72735227,72735233,72735337,72735577,72737233,72737257,72737323,72737527,72737537,72737573,72737723,72737773,72752233,72752353,72752527,72752557,72752773,72753253,72753323,72753553,72753757,72755327,72755537,72755773,72755777,72757253,72757273,72757277,72757337,72757537,72757733,72757757,72757777,72772327,72772577,72772723,72772757,72773333,72773353,72773737,72773777,72775237,72775253,72775327,72775523,72775553,72775723,72777233,72777253,72777577,72777737,73222327,73222537,73222573,73223323,73223377,73223537,73223723,73225223,73225237,73225357,73225723,73227227,73227527,73232233,73232333,73232573,73232723,73233233,73233373,73233577,73233737,73235233,73235257,73235377,73237273,73237277,73237733,73237753,73237757,73252253,73252327,73252357,73252577,73252727,73252757,73253233,73253533,73253737,73253773,73255223,73255333,73255577,73255733,73257757,73272253,73272527,73273237,73273327,73273373,73273537,73275233,73275353,73275523,73275557,73275737,73277227,73277257,73277377,73277573,73322257,73322737,73323727,73325227,73325257,73325327,73325353,73327223,73327237,73327253,73327277,73327333,73327337,73327357,73327577,73327733,73327753,73327757,73327777,73332227,73332253,73332353,73332733,73332757,73333237,73333523,73333553,73333727,73333753,73335233,73335257,73335323,73335373,73335533,73337273,73337323,73337357,73337377,73337557,73337573,73337753,73337773,73352353,73352737,73352777,73353253,73353257,73353353,73353523,73353757,73355573,73357223,73357523,73357577,73372237,73372337,73372573,73372727,73372777,73373323,73373327,73373537,73373557,73373737,73373753,73375223,73375273,73375333,73375573,73375733,73377257,73377323,73377377,73377553,73522357,73522373,73522727,73523237,73523273,73523327,73523353,73523573,73523753,73525223,73525337,73525577,73525723,73527253,73527323,73527353,73527373,73527733,73532257,73532533,73532773,73533337,73533373,73533533,73533727,73535227,73535233,73535237,73535257,73535533,73535537,73535773,73537237,73537273,73537357,73537523,73537573,73537577,73552253,73552273,73552277,73552357,73552373,73552723,73552757,73552777,73553323,73553357,73553377,73553533,73553737,73555253,73555333,73555337,73555523,73555723,73557373,73557377,73557577,73557733,73572223,73572227,73572353,73572523,73572557,73572727,73573223,73573273,73573523,73573733,73573777,73575323,73575533,73575553,73577233,73577237,73577327,73577527,73577573,73722227,73722323,73722373,73722377,73722533,73722757,73723253,73723537,73723723,73723753,73725727,73727377,73727573,73727723,73732277,73732333,73732357,73732753,73732777,73733237,73733273,73733327,73733353,73735357,73735373,73737253,73737353,73737527,73737533,73737577,73752257,73752277,73752323,73752337,73752373,73752533,73752577,73753223,73753237,73753357,73753577,73753723,73755233,73755257,73755337,73755373,73755523,73755533,73755557,73757227,73757273,73757557,73757737,73772233,73772323,73772353,73772357,73772527,73772533,73772737,73772773,73773373,73773737,73773773,73775353,73775557,73775773,73777237,73777337,73777373,73777577,73777727,73777757,75222253,75222373,75222557,75222757,75223237,75223277,75223327,75223333,75223537,75225223,75225233,75225373,75225727,75227233,75227237,75227323,75232273,75232373,75232537,75233537,75233573,75233737,75233777,75235273,75235327,75235723,75235757,75237353,75237373,75237727,75252533,75252733,75252773,75253223,75253553,75253777,75255223,75255227,75255553,75255577,75255727,75255757,75257327,75257527,75257557,75257723,75257753,75257773,75272273,75272723,75273223,75273337,75273353,75273377,75275227,75275257,75275357,75277273,75277327,75277523,75277733,75277777,75322253,75322277,75322573,75322727,75323233,75323257,75323327,75323357,75323533,75323557,75323723,75323777,75325277,75325337,75325357,75325373,75325553,75325573,75325727,75327223,75327233,75327337,75327377,75327557,75327727,75327773,75332233,75332273,75332353,75332737,75332753,75333227,75333337,75333553,75333757,75335353,75335357,75335773,75337253,75337553,75337733,75337753,75337777,75352253,75352357,75352523,75352553,75352733,75352777,75353233,75353273,75353353,75353533,75353723,75355223,75355277,75355333,75355537,75355573,75355723,75355757,75357353,75357533,75357577,75357727,75357757,75357773,75372223,75372257,75372337,75372523,75372527,75372727,75372733,75373253,75373327,75373577,75375227,75375277,75375323,75375557,75377227,75377353,75377377,75377573,75377723,75377737,75377773,75377777,75522257,75522527,75523373,75523573,75523733,75523753,75523757,75525227,75525253,75525257,75525277,75525523,75525557,75527227,75527233,75527237,75527327,75527537,75527723,75527773,75532727,75532777,75533233,75533257,75533323,75533527,75533537,75533753,75535223,75535237,75535253,75535277,75535333,75535337,75535357,75535373,75535553,75537227,75537277,75537377,75537733,75552353,75552377,75552527,75552727,75552773,75553553,75555323,75555377,75557227,75557257,75557327,75557723,75557773,75572323,75572737,75572773,75573233,75573353,75573523,75573557,75573577,75575233,75575237,75575377,75577237,75577253,75577727,75577753,75722327,75722333,75722557,75722753,75723353,75723523,75723733,75723757,75723773,75725257,75725323,75725723,75727273,75727277,75727357,75727373,75727727,75727777,75732337,75732523,75732533,75732737,75733337,75733573,75733727,75735227,75735353,75735523,75735533,75735553,75735773,75737273,75737327,75737527,75737723,75737777,75752227,75752273,75752353,75752377,75752533,75752737,75752773,75753373,75753523,75753533,75755237,75755257,75755333,75755357,75755377,75755737,75757277,75757523,75757727,75757733,75772237,75772357,75772577,75773323,75773333,75773377,75773557,75775373,75775577,75775723,75777337,75777727,75777773,77222237,77222357,77222377,77222527,77222533,77222723,77222773,77222777,77223233,77223337,77223533,77225257,77225353,77225527,77227253,77227333,77227573,77232227,77232373,77232553,77232557,77232577,77232733,77232737,77233237,77233337,77233573,77235227,77235253,77235727,77235737,77237257,77237327,77237357,77252257,77252327,77252353,77252557,77253223,77253257,77253377,77253523,77253557,77253727,77253773,77255237,77255257,77255377,77255527,77255537,77255557,77255573,77257357,77257577,77257723,77257753,77272337,77272523,77273227,77273527,77275273,77275357,77275577,77275733,77275753,77277227,77277253,77277337,77277523,77322227,77322233,77322353,77322733,77322737,77323223,77323357,77323523,77323577,77323733,77325233,77325527,77325727,77327533,77332573,77332727,77332753,77333233,77333237,77333273,77333537,77333777,77335273,77335277,77335523,77335537,77335777,77337257,77337373,77337527,77337727,77337737,77352323,77352337,77352557,77352577,77352727,77352733,77353327,77353537,77353753,77353777,77355277,77355533,77355737,77357233,77357237,77357323,77357537,77357737,77357773,77372227,77372333,77372353,77372557,77372573,77372753,77373223,77373533,77373553,77375257,77375327,77375527,77375773,77377273,77377277,77377337,77522257,77522327,77522353,77522377,77522773,77522777,77523223,77523337,77523353,77523373,77523557,77523773,77525257,77525333,77525533,77525557,77525573,77525737,77527223,77527337,77527573,77527757,77532227,77532233,77532277,77532523,77532527,77532727,77532737,77532773,77533723,77533727,77533777,77535233,77535253,77535373,77535527,77535533,77535727,77537227,77537333,77537353,77537377,77537737,77552273,77552557,77553233,77553253,77553277,77553373,77553527,77553533,77553727,77553737,77553757,77555227,77557253,77557327,77557573,77557577,77572553,77572577,77572723,77573233,77573323,77573357,77573527,77573723,77573773,77575327,77575357,77577257,77577337,77577553,77577557,77577733,77722273,77722277,77722373,77723353,77723533,77725223,77725273,77725327,77725337,77725537,77725573,77725723,77727227,77727253,77727523,77727577,77732353,77732357,77732527,77732537,77732573,77732773,77733277,77733373,77733377,77733577,77733727,77735323,77735353,77735737,77735753,77735773,77737223,77737357,77737523,77737537,77737733,77752273,77752357,77752723,77752733,77753233,77753353,77753527,77753573,77755357,77755523,77755553,77757257,77757377,77757523,77757553,77757773,77773277,77773337,77773723,77775277,77775337,77775557,77777327,77777377,222222227,222222277,222222557,222222577,222222773,222223237,222223277,222223327,222223357,222223733,222223777,222225323,222225337,222225727,222227273,222227333,222227527,222227557,222227737,222227777,222232277,222232327,222232523,222232537,222232573,222232753,222233237,222233257,222233357,222233377,222233527,222233723,222235253,222235523,222235553,222235733,222235753,222235757,222235777,222237553,222237557,222237733,222252227,222252257,222252323,222252533,222252773,222253253,222253277,222253337,222253373,222253573,222253727,222255277,222255557,222257227,222257323,222257773,222272233,222272273,222272527,222272723,222272753,222272777,222273223,222273323,222273353,222273553,222273757,222275233,222275257,222275353,222275533,222277273,222277577,222277777,222322337,222322357,222322523,222323333,222323357,222323527,222323557,222323753,222325253,222325277,222325333,222325373,222325553,222325577,222325723,222327233,222327277,222327323,222327337,222327353,222327577,222327727,222327733,222327757,222327773,222332533,222332557,222332753,222333233,222333257,222333337,222333523,222333533,222333557,222333757,222335353,222335723,222335753,222337223,222337537,222337723,222352327,222352337,222352577,222352727,222352733,222353233,222353533,222353737,222355277,222355327,222355337,222355373,222355577,222357557,222357727,222357757,222372253,222372277,222372373,222372757,222373337,222373553,222373573,222373577,222373727,222375233,222375253,222375353,222375577,222375733,222375773,222377227,222377327,222377537,222377723,222377773,222522227,222522257,222522337,222522353,222522373,222522523,222522527,222522533,222523373,222523537,222525773,222527273,222527777,222532223,222532727,222532753,222532757,222533537,222533737,222535223,222535237,222535273,222535727,222537223,222537257,222537373,222537727,222537773,222552227,222552523,222552773,222553237,222553553,222553577,222553733,222553753,222553757,222555323,222555353,222555523,222557327,222557333,222572333,222572527,222572533,222572573,222573223,222573227,222575737,222577273,222577357,222577573,222722273,222722323,222722333,222722557,222723233,222723253,222723323,222723337,222723373,222723533,222723727,222725233,222725257,222725273,222725323,222725753,222727223,222727237,222727273,222727327,222727577,222727723,222732277,222732373,222733223,222733237,222733327,222733573,222733727,222733733,222733757,222735257,222735323,222735353,222735533,222735553,222735577,222735757,222737233,222737237,222737357,222752237,222752527,222752533,222752557,222752573,222752737,222753233,222753253,222753337,222753523,222753577,222755257,222755353,222755537,222755557,222755737,222755773,222757253,222757333,222757573,222772357,222772553,222772757,222773237,222773323,222773357,222773527,222773723,222773777,222775373,222775537,222777257,222777323,222777553,222777733,222777757,223222277,223222357,223222553,223222577,223223327,223223537,223225253,223225333,223225523,223225553,223225577,223225757,223227223,223227227,223227553,223227727,223227733,223227737,223227757,223232257,223232377,223233277,223233323,223235273,223235377,223235737,223237237,223237373,223237757,223252277,223252327,223252333,223252373,223252573,223252577,223252753,223253237,223253557,223253753,223255223,223255327,223255553,223255723,223257227,223257233,223257337,223257373,223257523,223257553,223257737,223272227,223272277,223272353,223272737,223272773,223273273,223273277,223273537,223273553,223273723,223273753,223273777,223275253,223275257,223275323,223275523,223277273,223277333,223277357,223277533,223277753,223277773,223322327,223322527,223322537,223322753,223322773,223323223,223323227,223323253,223323533,223325257,223325327,223325737,223327373,223327733,223327757,223332227,223332233,223332253,223332353,223332533,223333333,223335373,223335523,223335527,223335577,223337273,223337327,223337377,223337557,223352237,223352257,223352357,223352377,223352533,223352777,223353373,223353523,223353733,223355257,223355753,223357223,223357273,223357357,223357553,223357723,223357733,223357753,223372277,223372327,223372733,223372753,223373237,223373257,223373273,223373333,223373533,223375573,223377377,223377523,223377527,223377577,223522223,223522333,223522357,223522373,223522577,223523227,223523257,223523723,223523777,223525277,223525573,223527233,223527257,223527727,223532273,223532327,223532357,223532527,223532773,223533223,223533253,223533257,223533337,223533377,223533523,223535237,223535353,223535573,223535723,223535777,223537333,223537537,223537553,223537577,223552223,223552237,223552327,223552733,223552757,223553273,223553333,223553377,223553557,223555223,223555327,223555333,223555337,223555573,223555727,223555733,223557227,223557377,223557533,223557577,223557727,223557757,223572227,223572533,223572577,223572757,223572773,223573373,223573733,223575353,223575557,223575577,223575773,223577257,223577357,223577377,223577573,223577737,223577773,223577777,223722223,223722337,223722353,223722377,223722557,223723223,223723333,223723523,223723573,223725277,223725353,223725377,223727377,223727533,223727557,223727773,223732273,223732337,223732357,223732723,223732727,223733327,223733533,223733777,223735273,223735333,223735553,223737277,223737337,223737377,223737727,223737737,223752223,223752377,223752523,223752553,223752577,223752733,223753237,223753373,223753577,223755223,223755253,223755373,223755557,223755733,223755773,223757227,223757273,223757327,223757353,223757557,223757773,223772357,223772537,223772573,223772723,223773223,223773257,223773353,223773527,223773733,223773757,223775273,223775333,223775353,223775557,223775723,223775737,223777277,223777357,223777727,223777733,225222353,225222727,225222733,225223223,225223253,225223333,225223357,225225523,225225733,225225773,225227257,225227323,225227777,225232223,225232253,225232523,225232573,225232723,225232757,225233233,225233537,225233753,225233773,225235223,225235337,225235727,225235753,225237253,225237737,225252253,225252553,225252557,225252757,225253277,225253573,225253577,225253753,225255323,225255727,225257257,225257353,225257737,225272237,225272323,225272353,225272527,225272533,225273277,225273337,225275227,225275333,225275527,225275537,225277223,225277237,225277333,225277733,225277757,225277777,225322333,225322553,225322723,225322733,225323237,225323323,225323327,225323737,225323753,225325223,225325337,225325553,225325777,225327227,225327253,225327523,225327727,225327733,225327737,225332227,225332537,225332557,225332573,225333257,225333377,225333523,225333733,225335353,225335533,225335777,225337253,225337373,225337523,225337537,225337573,225337577,225337757,225352327,225352333,225352373,225352577,225352753,225353237,225353257,225353773,225355223,225355253,225355327,225355373,225355577,225355727,225357257,225357277,225357323,225357373,225357553,225357557,225372223,225372233,225372373,225372727,225373237,225373273,225373537,225373553,225373727,225375377,225375737,225377333,225377377,225377557,225522277,225522553,225522727,225522757,225523327,225523373,225523537,225523577,225523733,225523757,225525227,225525233,225525253,225525353,225525737,225527233,225527273,225527333,225527377,225527527,225527557,225527723,225532327,225532553,225532753,225533233,225533257,225533533,225533557,225533723,225535223,225535237,225535273,225535357,225535553,225537233,225537373,225552233,225552253,225552377,225552533,225552557,225553327,225553337,225553357,225553733,225553777,225555353,225555373,225555727,225557237,225557257,225557323,225557357,225557777,225572233,225572723,225572773,225572777,225573253,225573533,225573553,225575323,225575333,225575527,225575557,225577327,225577333,225577523,225577553,225577727,225577733,225577753,225722227,225722353,225722537,225722737,225722773,225723257,225723353,225723523,225725233,225725237,225725257,225725323,225725557,225725573,225727357,225727373,225732323,225732733,225732737,225733237,225733553,225735227,225735253,225735373,225735527,225735553,225735577,225735733,225737353,225737357,225752237,225752257,225752557,225753337,225753373,225753527,225753733,225753757,225755323,225755333,225755357,225755527,225755533,225757223,225757253,225757277,225757327,225757333,225757577,225757723,225757733,225772273,225772333,225772357,225772373,225772553,225772777,225773227,225773357,225773377,225773533,225773557,225773573,225773777,225775223,225775273,225775373,225775523,225775723,225775777,225777257,225777353,225777553,225777577,225777757,227222537,227222557,227223277,227223533,227223727,227225227,227225357,227225573,227225737,227227223,227227237,227227333,227227537,227227733,227232553,227232757,227232773,227233733,227233753,227233757,227233777,227235233,227235353,227235523,227235527,227235577,227235733,227235737,227235773,227237233,227237273,227237323,227237357,227237377,227237557,227237753,227252237,227252273,227252357,227252527,227252737,227253227,227253233,227253727,227255227,227255233,227255527,227255557,227255723,227257223,227257357,227257553,227257753,227272327,227272373,227272753,227272757,227273737,227273777,227275277,227275333,227275733,227277527,227277773,227322233,227322323,227322533,227322727,227322757,227322773,227323253,227323333,227323357,227323727,227325227,227325233,227325757,227327227,227327323,227327753,227327773,227327777,227332223,227332333,227332337,227332733,227332757,227333237,227333723,227333737,227333773,227335223,227335327,227335333,227335337,227335357,227335723,227335753,227337323,227337373,227337533,227337577,227352253,227352277,227352353,227352553,227352557,227353237,227353253,227353333,227353537,227353757,227355223,227355257,227355377,227355523,227355553,227357327,227372237,227372533,227372573,227372737,227373227,227373337,227373353,227375257,227375327,227375737,227377253,227377273,227377277,227377373,227377723,227377727,227377757,227522257,227522333,227522377,227522573,227523253,227525227,227525357,227525723,227527277,227527373,227527733,227532223,227532337,227532577,227532757,227533237,227533753,227535337,227535377,227537227,227537237,227537353,227537357,227537773,227552323,227552527,227552573,227553223,227553233,227553257,227553323,227553577,227553727,227555327,227555773,227557327,227557523,227557723,227557777,227572223,227572337,227572577,227572753,227572777,227573327,227573557,227575253,227575357,227577227,227577253,227577323,227577373,227577527,227577533,227577737,227577773,227722553,227722723,227723257,227723273,227723333,227723357,227723537,227723723,227725273,227725327,227725573,227725723,227725733,227727233,227727557,227727727,227732237,227732377,227732753,227732777,227733257,227733277,227733323,227733353,227733757,227735227,227735377,227737273,227737337,227737357,227752237,227752333,227752337,227752523,227752537,227753257,227753353,227753527,227753723,227753737,227755523,227755537,227755553,227755727,227757223,227757227,227757373,227757577,227757757,227772373,227772527,227772533,227772553,227772577,227772733,227772737,227773223,227773333,227773723,227773753,227775253,227775337,227775533,227775557,227775733,227777227,227777323,227777573,227777773,232222223,232222537,232223333,232223527,232225333,232225573,232227223,232227227,232227257,232227353,232227553,232227733,232227773,232232227,232232233,232232353,232232527,232232537,232232557,232233223,232233557,232233733,232235327,232235777,232237273,232237277,232237777,232252253,232252277,232252373,232252777,232253327,232253353,232253377,232253573,232253737,232255223,232255237,232255337,232255523,232257227,232257253,232257257,232257533,232257733,232272233,232272577,232272757,232272773,232273253,232273277,232273373,232275223,232275557,232275737,232277233,232277333,232277557,232277723,232277737,232277753,232277777,232322257,232322327,232323233,232323323,232323353,232325237,232325273,232325537,232325777,232327273,232327327,232327373,232327553,232332257,232332277,232332553,232333337,232335223,232335227,232335373,232335527,232335757,232335773,232337257,232337323,232337333,232337537,232337753,232352333,232352557,232352573,232353353,232353533,232353557,232353577,232353757,232355257,232355377,232355533,232355723,232355777,232357253,232357577,232372237,232372333,232372573,232372577,232372757,232373257,232373327,232373777,232375223,232375277,232375337,232375357,232375523,232375537,232375553,232375723,232375733,232377227,232377253,232377337,232377737,232522223,232522237,232522573,232522777,232523233,232523737,232525253,232525273,232525537,232525753,232525757,232527353,232527577,232527733,232527773,232532233,232532257,232532357,232532537,232533227,232533233,232533373,232533757,232535323,232535353,232535377,232535533,232535777,232537223,232537273,232537537,232537757,232552223,232552337,232552577,232553273,232553323,232553333,232553753,232555237,232555333,232555753,232555777,232557233,232557553,232557733,232572253,232572727,232573223,232573373,232573573,232573577,232573727,232575323,232575337,232575353,232575373,232575533,232575557,232575757,232577273,232577557,232577777,232722253,232722337,232722353,232722757,232723237,232723277,232723333,232723373,232723577,232725373,232725527,232727273,232727557,232732237,232732327,232732333,232732573,232732733,232733227,232733233,232733273,232733537,232735277,232735357,232735537,232735553,232735757,232735777,232737223,232737353,232737523,232737737,232737773,232752277,232752577,232752727,232753327,232753723,232753753,232753777,232755353,232755373,232755527,232755553,232755557,232755727,232757233,232757333,232757737,232772227,232772257,232772537,232772723,232772737,232772773,232773223,232773323,232773337,232773353,232773733,232775227,232775233,232775533,232777327,232777723,232777757,233222233,233222237,233222333,233222357,233222527,233223223,233223253,233223377,233223533,233223553,233223733,233225357,233225537,233227237,233227273,233227333,233227523,233232257,233232553,233233327,233233537,233233753,233233757,233235323,233235523,233235533,233237237,233237327,233237357,233237533,233237573,233237777,233252237,233252323,233252377,233252533,233252557,233252753,233252777,233253227,233253337,233253353,233253533,233253577,233255237,233255353,233255357,233255537,233255753,233255773,233257273,233257333,233257553,233257723,233272337,233272373,233272573,233272577,233272727,233272757,233273353,233273527,233275253,233275337,233275723,233275727,233275753,233277223,233277323,233322277,233322533,233322553,233322577,233322737,233323273,233323327,233323723,233325223,233325233,233325373,233325733,233325773,233327233,233327357,233332223,233332237,233332273,233332373,233332537,233332727,233332733,233332777,233333237,233333257,233333327,233333537,233333753,233335237,233335337,233335757,233337253,233337337,233337353,233337523,233337757,233337773,233352337,233352373,233353273,233353277,233353537,233353553,233353727,233355233,233355253,233357227,233357233,233357273,233357573,233357777,233372257,233372273,233372327,233372333,233372723,233373233,233373277,233373337,233373533,233373557,233373727,233373757,233375353,233375357,233375773,233377223,233377777,233522323,233522327,233522753,233523233,233523253,233523337,233523377,233523533,233523733,233525273,233525527,233525533,233525557,233527237,233527373,233527523,233527577,233532557,233532727,233533273,233533277,233533373,233533537,233535233,233535277,233535373,233535727,233535737,233537233,233537273,233537323,233537327,233537333,233537533,233537537,233537573,233537723,233552227,233552323,233552723,233552777,233553277,233553337,233553527,233553557,233553773,233555227,233555237,233555323,233555327,233555527,233557277,233557333,233557573,233557757,233572237,233572253,233572277,233572357,233572523,233572727,233572733,233573227,233573357,233573723,233573737,233573773,233575357,233575553,233575723,233577353,233577373,233577523,233577737,233722253,233722337,233723573,233723753,233725237,233725273,233725277,233725357,233725573,233725753,233725777,233727233,233727257,233727353,233727523,233727737,233727773,233732237,233732273,233732333,233732353,233732377,233732533,233732573,233732773,233733277,233733377,233733523,233735233,233735237,233737253,233737577,233737733,233752223,233752327,233752373,233752523,233752553,233752577,233753323,233753327,233753777,233755337,233755553,233755723,233755733,233755777,233757373,233757553,233772233,233772323,233772527,233772733,233773223,233773523,233773537,233773577,233775233,233775277,233775323,233777333,235222373,235222553,235222573,235222723,235222777,235223327,235223333,235223357,235223377,235223537,235223773,235223777,235225273,235225327,235225373,235225723,235225777,235227253,235227257,235227523,235227557,235227737,235232323,235233253,235233353,235233373,235233533,235233553,235233577,235235227,235235323,235235527,235235753,235237237,235237333,235237337,235237573,235237733,235237757,235252223,235252333,235252573,235252753,235252777,235253323,235253737,235255327,235255357,235255733,235257223,235257227,235257377,235257523,235257553,235257727,235272253,235272277,235272337,235272523,235272533,235273223,235273237,235273327,235273537,235273757,235275253,235275377,235275553,235275577,235277233,235277257,235277333,235277573,235322357,235322377,235322537,235322723,235322753,235323223,235323523,235323533,235323577,235325257,235325333,235325533,235327357,235327537,235327553,235332257,235332353,235332733,235333237,235333523,235333577,235333757,235335223,235335227,235335253,235335277,235335337,235335553,235335733,235337257,235337533,235352333,235352737,235353353,235353737,235355227,235355353,235355377,235355737,235357223,235357273,235357327,235372223,235372253,235372373,235372573,235372733,235373323,235373353,235373377,235373533,235375237,235375277,235375333,235375573,235375733,235377323,235377353,235377533,235522237,235522333,235522753,235522757,235523237,235523377,235523723,235523737,235523773,235523777,235525253,235525523,235525573,235525753,235525777,235527373,235527557,235532273,235532357,235532777,235533223,235533553,235533757,235533773,235535227,235535327,235535557,235537223,235537573,235552327,235552523,235553257,235553533,235553737,235553753,235555223,235555253,235555273,235555277,235557277,235557533,235557737,235572223,235572353,235572577,235573223,235573333,235573357,235573537,235573727,235573733,235575253,235575533,235575577,235577227,235577533,235577723,235577777,235722257,235722533,235722577,235722737,235722757,235723333,235723577,235723723,235723777,235725227,235725323,235725773,235727237,235727257,235727353,235727533,235727753,235727773,235732337,235732723,235733227,235733273,235733357,235733527,235733573,235733777,235735273,235735333,235735373,235735553,235735723,235735727,235735733,235735777,235737353,235737377,235737533,235737773,235752557,235752733,235753223,235753253,235753277,235753327,235753333,235753373,235753523,235753537,235753723,235755253,235755323,235755557,235755733,235757233,235757723,235757737,235772527,235772573,235773233,235773353,235773553,235773757,235775257,235775273,235775333,235775357,235775723,235775773,235777253,235777753,237222257,237222737,237223223,237223237,237223573,237225223,237225277,237225553,237225557,237225577,237225727,237227233,237227257,237227527,237227533,237232253,237232337,237232573,237232733,237233357,237233723,237235237,237235333,237235337,237235723,237235753,237237223,237237373,237237727,237237757,237237773,237252227,237252233,237252523,237252557,237252577,237252727,237253277,237253537,237253777,237255323,237255353,237255523,237255533,237255727,237255737,237257257,237257753,237272227,237272333,237273353,237273373,237273523,237273557,237275237,237275257,237275327,237275377,237275527,237275537,237275723,237277277,237277357,237277723,237322277,237322333,237322357,237322523,237322727,237322733,237322753,237323323,237323353,237323777,237325223,237325273,237325727,237327253,237327257,237327353,237327533,237327577,237327773,237332237,237332533,237332737,237333233,237333373,237335227,237335257,237335377,237335573,237335773,237337223,237337237,237337273,237337327,237337553,237352223,237352553,237352723,237353327,237353527,237355337,237357227,237357577,237372253,237372277,237372323,237373223,237373237,237373553,237373733,237373757,237375323,237375533,237375577,237377233,237377377,237377537,237377753,237522323,237522533,237523327,237523523,237523723,237523733,237525553,237527377,237527527,237532777,237533273,237533327,237533533,237533557,237533753,237533773,237535223,237535253,237535273,237535757,237537227,237537253,237537257,237537337,237552233,237552277,237552527,237552737,237553573,237555323,237555337,237555377,237555757,237557233,237557273,237572537,237573227,237573373,237573737,237573773,237575353,237575777,237577237,237577723,237722333,237722557,237722777,237723337,237723373,237723533,237725237,237725353,237725737,237727223,237727537,237727723,237727727,237727733,237727757,237732277,237732323,237732373,237732377,237732527,237733273,237733337,237733553,237733753,237735233,237735257,237735577,237737237,237737257,237737573,237752227,237752257,237752323,237752533,237752573,237753233,237753377,237753533,237755237,237755327,237755333,237755533,237755723,237755753,237757253,237757337,237757357,237757727,237772237,237772253,237772357,237772553,237773323,237773737,237773773,237775273,237775333,237775777,237777373,252222323,252222527,252223253,252223333,252223357,252223523,252223733,252223753,252223757,252225223,252225257,252225353,252225577,252225773,252227233,252227237,252232223,252232327,252232333,252232373,252232573,252232577,252233237,252233273,252233327,252233357,252233533,252233753,252235537,252235777,252237233,252237277,252237553,252237577,252252223,252252257,252252277,252252373,252252727,252252733,252252773,252253237,252253373,252253723,252253777,252255257,252255323,252255373,252255527,252255733,252257233,252257557,252257723,252272753,252273277,252273337,252273577,252275227,252275237,252275323,252275357,252275533,252275537,252277327,252277357,252277373,252277537,252277723,252322253,252322327,252322373,252322723,252322727,252322757,252323557,252323573,252323737,252325223,252325553,252325753,252327323,252327337,252327533,252327737,252332233,252332257,252332753,252333337,252333353,252333373,252333577,252333733,252335557,252335773,252337237,252337357,252352277,252352327,252352333,252352523,252353333,252353753,252355357,252355723,252355757,252357223,252357227,252357233,252357257,252357323,252372257,252372277,252372577,252373753,252373777,252375223,252375323,252375337,252375733,252377327,252377533,252377753,252377773,252522223,252522253,252522323,252522337,252522353,252522377,252522553,252522577,252523237,252523273,252523277,252523573,252523577,252523727,252523753,252525223,252525353,252525557,252525737,252525773,252527227,252527357,252527533,252527773,252532277,252532327,252532537,252532723,252533233,252533273,252533357,252533573,252533753,252535223,252535337,252535537,252535553,252535727,252535757,252537223,252537277,252537553,252537577,252537757,252537773,252552277,252552337,252552733,252552737,252552757,252553537,252553573,252553723,252555257,252555533,252557323,252557353,252557377,252557537,252557777,252572357,252572527,252572557,252572777,252573257,252573323,252573533,252573577,252575237,252575573,252575753,252575777,252577253,252577357,252577373,252577537,252577723,252577757,252722233,252722333,252722377,252722537,252722737,252722753,252722777,252723323,252723337,252723553,252723733,252725377,252725527,252725773,252727523,252727537,252727733,252727753,252732253,252732377,252732527,252732773,252733253,252733357,252733727,252733777,252735257,252735533,252735557,252735577,252735727,252735733,252737323,252737357,252752273,252752377,252752537,252752557,252752737,252753373,252753533,252753727,252755323,252755353,252755753,252755777,252757573,252757727,252757733,252772237,252772253,252772327,252772573,252772777,252773237,252773533,252773537,252773723,252773753,252775553,252775777,252777227,252777277,252777323,252777523,252777527,252777737,252777773,253222223,253222237,253222337,253222373,253222537,253222733,253222757,253223233,253223237,253223323,253223723,253225253,253225333,253225337,253227553,253232227,253232233,253232257,253232377,253232537,253232723,253232753,253233223,253233257,253233373,253233553,253233557,253233737,253235273,253235327,253235357,253235737,253235753,253237273,253237373,253237553,253237723,253237727,253237753,253252277,253252357,253252523,253252537,253253537,253253753,253253773,253255577,253255757,253255777,253257223,253257353,253257757,253272353,253272533,253272553,253272577,253273337,253273777,253275277,253275523,253275557,253275733,253277273,253277753,253277777,253322323,253322353,253322737,253323223,253323337,253323377,253323737,253323773,253325227,253325327,253325333,253325557,253325753,253332257,253332533,253332733,253333727,253333777,253335253,253335373,253335527,253335553,253335727,253335757,253337233,253337323,253337333,253337377,253337537,253352227,253352237,253352537,253352557,253352777,253353337,253353523,253353577,253353757,253355227,253355353,253355357,253355537,253355723,253355737,253357553,253372237,253372753,253373273,253373573,253373723,253375237,253375553,253375723,253377227,253377277,253377323,253522223,253522237,253522253,253522523,253522723,253522777,253523323,253523357,253523537,253523573,253523773,253525273,253525357,253525523,253525733,253527227,253527257,253527277,253527553,253527577,253532273,253532527,253532533,253532777,253533227,253533277,253533323,253533353,253533523,253533727,253533737,253535237,253535273,253535327,253535573,253537373,253537723,253537733,253552237,253552333,253552337,253552577,253553323,253553353,253553723,253553737,253553753,253555277,253555723,253555733,253555777,253557233,253557253,253557377,253557553,253557757,253572353,253572523,253572533,253572733,253573577,253573777,253575233,253575323,253575523,253575533,253575733,253575737,253577227,253577237,253577257,253577353,253577573,253722253,253722277,253722353,253722533,253723553,253723753,253725253,253725337,253725377,253725557,253727323,253727333,253727753,253732337,253732373,253732777,253733533,253733537,253735277,253735337,253735357,253735553,253735723,253737577,253737727,253752337,253752377,253752553,253752773,253753333,253753337,253753553,253753727,253753757,253753777,253755353,253755377,253755577,253755727,253755737,253757333,253757353,253757527,253772237,253772357,253772527,253772537,253772573,253772737,253773277,253773353,253773523,253775227,253775237,253775273,253775573,255222257,255222523,255222553,255222727,255223223,255223327,255223537,255223733,255223777,255225757,255227227,255227237,255227257,255227327,255227537,255227773,255232333,255232573,255232753,255233227,255233273,255233357,255233527,255233533,255233557,255233777,255235237,255235327,255235727,255235777,255237223,255237253,255237277,255237373,255237523,255237553,255237727,255237737,255252227,255252523,255252533,255252727,255252737,255253223,255253373,255253723,255253727,255253753,255255373,255255577,255255757,255257273,255257377,255272333,255272533,255272573,255272777,255273523,255275227,255275323,255275327,255275333,255275533,255275737,255277223,255277327,255277333,255322553,255322733,255323557,255323773,255325237,255325333,255325523,255325537,255325757,255327323,255327733,255332533,255333227,255333733,255335273,255335323,255335573,255335753,255337253,255337273,255337337,255337573,255337727,255352333,255352523,255352753,255352777,255353233,255353257,255353573,255353723,255355327,255355553,255355733,255355757,255355777,255357227,255357257,255357353,255357373,255372253,255372353,255372373,255372553,255373253,255373277,255373373,255373523,255373537,255373553,255373733,255373757,255375353,255375553,255375733,255377327,255377377,255377753,255522233,255522353,255522737,255523223,255523273,255523523,255523573,255523733,255525223,255525227,255525527,255525553,255527227,255527537,255527777,255532237,255532523,255532757,255533233,255533323,255533353,255533573,255535333,255535537,255537223,255537253,255537257,255552257,255552277,255552733,255553373,255553577,255553777,255555233,255555533,255557233,255557257,255557327,255557333,255557723,255572533,255573277,255573727,255573737,255575233,255575323,255575533,255575737,255575777,255577253,255577277,255577327,255577523,255577727,255722227,255722237,255722353,255722573,255722737,255722777,255723233,255723257,255723277,255723577,255723737,255725333,255725357,255727223,255727237,255727333,255727337,255727357,255727553,255732227,255732523,255732553,255732577,255733237,255733253,255733273,255733327,255733333,255733337,255733537,255735223,255735257,255735377,255735757,255737227,255737333,255737357,255737533,255737753,255752323,255752327,255752353,255752377,255752527,255753557,255753577,255753727,255755233,255755237,255755537,255755557,255755723,255755777,255757577,255757753,255772273,255772333,255772337,255772733,255772757,255773377,255773527,255773723,255775253,255775537,255775573,255775577,255777233,255777253,255777323,255777553,257222227,257222353,257222573,257222753,257222773,257223233,257223353,257223553,257223737,257225233,257225237,257225333,257227273,257227577,257227777,257232223,257232257,257232323,257232337,257232377,257232527,257232533,257232733,257232737,257233237,257233253,257233373,257233573,257233577,257233727,257233777,257235323,257235373,257235523,257235527,257235533,257235557,257235757,257237537,257237753,257252227,257252257,257252357,257252777,257253223,257253233,257253523,257253757,257255357,257255377,257255777,257257373,257257537,257257573,257257723,257272333,257272357,257272723,257272727,257273227,257273323,257273327,257273333,257273573,257275273,257275373,257277353,257277533,257277737,257322253,257322337,257323357,257323523,257323553,257323723,257323727,257323733,257323753,257325223,257325737,257327227,257327327,257327333,257327377,257327533,257327557,257327573,257332357,257333273,257333333,257333353,257333737,257333773,257335537,257337253,257337373,257337557,257337733,257352223,257352527,257353273,257353277,257353333,257353553,257353777,257355233,257355277,257355557,257355577,257355737,257373223,257373227,257373323,257373527,257373737,257373773,257375233,257375323,257375333,257375353,257375537,257375777,257377223,257377277,257377333,257377777,257522323,257522327,257522723,257523223,257523257,257523323,257523577,257523733,257523757,257525777,257527253,257527327,257527357,257527537,257527553,257532257,257532277,257532323,257532533,257532727,257532757,257533273,257533333,257533373,257533723,257533777,257535323,257535373,257535527,257535727,257535757,257537237,257537737,257552233,257552723,257553223,257553277,257553733,257555227,257555323,257557273,257557277,257557733,257557753,257557757,257572333,257572573,257572727,257573227,257573237,257573257,257573753,257575223,257575237,257575273,257575573,257575753,257577223,257577277,257577323,257577373,257577553,257577773,257722237,257722277,257722523,257722753,257722757,257723233,257723237,257723357,257723773,257727227,257727737,257727773,257732323,257732557,257733373,257733557,257733733,257735273,257735327,257735353,257735773,257737273,257737723,257737757,257752357,257752373,257752577,257753233,257753273,257753333,257753557,257753723,257753773,257753777,257755237,257755523,257755573,257757257,257757277,257757323,257772227,257772253,257772527,257772577,257772773,257773223,257773237,257773553,257773757,257775253,257775257,257775377,257777227,257777323,257777327,257777573,272222527,272222737,272222777,272223223,272223257,272223277,272223373,272225257,272225333,272225357,272225377,272225753,272227223,272227723,272227733,272227757,272232253,272232353,272233253,272233523,272235277,272235373,272235527,272235737,272235757,272237237,272237333,272237533,272237573,272252237,272252537,272252777,272253257,272253353,272253523,272253757,272255273,272255327,272255353,272255377,272255573,272257253,272257277,272257333,272257357,272257537,272257577,272272237,272272277,272272333,272272373,272272573,272272577,272272727,272272733,272273273,272273357,272273537,272273557,272273723,272273777,272275727,272275777,272277337,272277527,272277727,272277737,272322223,272322227,272322233,272322353,272322373,272322733,272323273,272323327,272323537,272323757,272325323,272327257,272327723,272332777,272333227,272333377,272333723,272333753,272333773,272335237,272335277,272335373,272335523,272335573,272337257,272337323,272337337,272352233,272352323,272352533,272353223,272353253,272353537,272353553,272353723,272355257,272355323,272355337,272355353,272355527,272357273,272357353,272357377,272357773,272372237,272372257,272372327,272372377,272372557,272372773,272373523,272373527,272373733,272373757,272375237,272375353,272375357,272375527,272375723,272375777,272377223,272377327,272377373,272522227,272522273,272522323,272522533,272522573,272522737,272522753,272523233,272523323,272523337,272523577,272523733,272525333,272525527,272525753,272525777,272527373,272527733,272532527,272532553,272533223,272533357,272533523,272533553,272533757,272535223,272535233,272535253,272535553,272535727,272537257,272537323,272537357,272537527,272537753,272552227,272552257,272552333,272552537,272553227,272553277,272553353,272553377,272553577,272555333,272555527,272555537,272555557,272555737,272557553,272557723,272557777,272572273,272572327,272572723,272572757,272572777,272573227,272573237,272573527,272573533,272573737,272575223,272575253,272575333,272575573,272575733,272575757,272577223,272577323,272577353,272577377,272577533,272722237,272722273,272722327,272722357,272722553,272723233,272723237,272723273,272723327,272723377,272723573,272723723,272723753,272725253,272725777,272727227,272727373,272727527,272727557,272727733,272727737,272727757,272732227,272732323,272732723,272732737,272732777,272733553,272733557,272735257,272735327,272735377,272735527,272735537,272735753,272737327,272737357,272737573,272737727,272737733,272737753,272752373,272753557,272755573,272755723,272755753,272755757,272757223,272757757,272772223,272772233,272772277,272772323,272772337,272772553,272772727,272773327,272773357,272773573,272773727,272773733,272775227,272775323,272775527,272775757,272777753,272777777,273222373,273223723,273223733,273223757,273225223,273225553,273225727,273227533,273227753,273232777,273233227,273233237,273233327,273233533,273233573,273235727,273237257,273237337,273237353,273237733,273252223,273252257,273252277,273252323,273252337,273252523,273252527,273252757,273253237,273253373,273253523,273255223,273255277,273255337,273255377,273255553,273255557,273255733,273257353,273257357,273257723,273257773,273272227,273272273,273272333,273272557,273272737,273273223,273275227,273275257,273275777,273277253,273277337,273277373,273277553,273277727,273277733,273322223,273322727,273323273,273323327,273323353,273323537,273323777,273325223,273325237,273325333,273325373,273325573,273325757,273325777,273327253,273327323,273327533,273327727,273327757,273332327,273332557,273332573,273332723,273332737,273333223,273333257,273333527,273335357,273337277,273337327,273337573,273337777,273352237,273352253,273352273,273352357,273352523,273352577,273352777,273353737,273355237,273355333,273355373,273355553,273355573,273355723,273355777,273357223,273357257,273357533,273357577,273372277,273372523,273372553,273372557,273372577,273373237,273373253,273373777,273375233,273375253,273375527,273375757,273377227,273377257,273377537,273377737,273522533,273522737,273522757,273523223,273525253,273525377,273525727,273527227,273527323,273527537,273527777,273532253,273532277,273532327,273532577,273532757,273533233,273533353,273533357,273533527,273533537,273533573,273533737,273533773,273535237,273535727,273535753,273535777,273537323,273537377,273537727,273537757,273552337,273552373,273552523,273552553,273553223,273553253,273553373,273553733,273553757,273555223,273555277,273555323,273555523,273555533,273555553,273557227,273557527,273572227,273572237,273572333,273572353,273572527,273572753,273572777,273573277,273573337,273573373,273573557,273575227,273575233,273575257,273575327,273575333,273575573,273575723,273575773,273577273,273577327,273577357,273577757,273722233,273722237,273722327,273722353,273722357,273722377,273722557,273722753,273723277,273723577,273723727,273723773,273725233,273725527,273725773,273727537,273727733,273732377,273732527,273732533,273732727,273732733,273732737,273732773,273733237,273733723,273735233,273735277,273735353,273735773,273737273,273737323,273737333,273737753,273737773,273737777,273752327,273752573,273752753,273753257,273753373,273753377,273753527,273753553,273753757,273755227,273755323,273755527,273755533,273757277,273757333,273757553,273757577,273757723,273772537,273772553,273773233,273773237,273773257,273773273,273773377,273773537,273773573,273773777,273775223,273775273,273775357,273777227,273777233,273777373,273777527,273777557,275222257,275222327,275223233,275223373,275223527,275225227,275225273,275225537,275225723,275225777,275227327,275227577,275232253,275232257,275232277,275232523,275232577,275232757,275233223,275233237,275233337,275233573,275235277,275235533,275235557,275235757,275237227,275237233,275237257,275237323,275237353,275237723,275237737,275252533,275252773,275252777,275253227,275253257,275253757,275253773,275255353,275255737,275255753,275255777,275257223,275257553,275257573,275272223,275272253,275272337,275272523,275272537,275272733,275272757,275273227,275273533,275273753,275275537,275275573,275275727,275277227,275277253,275277257,275277533,275277577,275277727,275322233,275322277,275322323,275322373,275322527,275322577,275322727,275322737,275323337,275323523,275323537,275323577,275323757,275325233,275325277,275325377,275325553,275325733,275325737,275325773,275327357,275327557,275327573,275327737,275332237,275332273,275332327,275332373,275332573,275332723,275332727,275332777,275333323,275333533,275335573,275335727,275335733,275337277,275337353,275337533,275337737,275352227,275352373,275352377,275352523,275353237,275353277,275353357,275353577,275355373,275355557,275355727,275357323,275357527,275357573,275372327,275372527,275372533,275372737,275373233,275373257,275373323,275373353,275373377,275373533,275373737,275373757,275375257,275375273,275375323,275375327,275375357,275375377,275377337,275377573,275377733,275377757,275522227,275522557,275522573,275523277,275523377,275523727,275523737,275525333,275525353,275525557,275527223,275527237,275527333,275527523,275527537,275532233,275532337,275532553,275532577,275532727,275533327,275535233,275535257,275535523,275535553,275535577,275537233,275537237,275537527,275552227,275552257,275552323,275552377,275552533,275553233,275553353,275553557,275553727,275555257,275555323,275555327,275555333,275555723,275555773,275557223,275557253,275557277,275557523,275572373,275572553,275572573,275572757,275573227,275573273,275573357,275573377,275573533,275573773,275575277,275575357,275575537,275575723,275575733,275577257,275577353,275577727,275722327,275722333,275722537,275723537,275723753,275725223,275725237,275725273,275725573,275725733,275725753,275725757,275727323,275727553,275732273,275732573,275732773,275733253,275733277,275735227,275735233,275735333,275735533,275735723,275735777,275737223,275737277,275737327,275737523,275737573,275752537,275752573,275752577,275753237,275753273,275753333,275753353,275753377,275755273,275755327,275755373,275755523,275755723,275757233,275757253,275757353,275757523,275757577,275772257,275772533,275772773,275773237,275773327,275773373,275773573,275773777,275775233,275775323,275775373,275775733,275775737,275777273,275777353,275777527,275777737,277222237,277222357,277222373,277222577,277222727,277222733,277222753,277223273,277223327,277223333,277225357,277225757,277227277,277227373,277227557,277227757,277232227,277232233,277232323,277232357,277232537,277232573,277233223,277233233,277233277,277233553,277233557,277233577,277233727,277235227,277235323,277235533,277235753,277235773,277237327,277237333,277237523,277237553,277237757,277252223,277252253,277252273,277252277,277252333,277252357,277252733,277252753,277252757,277253227,277253533,277253737,277255273,277255327,277255333,277255523,277255577,277255753,277257353,277257377,277257553,277257733,277257737,277272257,277272353,277272577,277272727,277273237,277273253,277273277,277275353,277275553,277275737,277275773,277277233,277277257,277277573,277277723,277322323,277322327,277322527,277322777,277323253,277323337,277323353,277325357,277325527,277325557,277325773,277327327,277327573,277327727,277332233,277332257,277332527,277332533,277332557,277332773,277333327,277333373,277335523,277335557,277337227,277337327,277352227,277352237,277352357,277353227,277353577,277355237,277355537,277355777,277357273,277357277,277357373,277357723,277357753,277357757,277372223,277372253,277372273,277372523,277372573,277372577,277372723,277372727,277373237,277373333,277373557,277373737,277373753,277375237,277375277,277375333,277375523,277375573,277375753,277377227,277377557,277377577,277522327,277522523,277522753,277523237,277523327,277523357,277523527,277523537,277525223,277525277,277525327,277525537,277525757,277527233,277527323,277527337,277532257,277532273,277532377,277532557,277532777,277533233,277533257,277533353,277533577,277533727,277535537,277535723,277537537,277537553,277537727,277552333,277552337,277552553,277552733,277552777,277553257,277553327,277553557,277555253,277555273,277555357,277555573,277555757,277557223,277557253,277557277,277557323,277557337,277557737,277557773,277572523,277572527,277572727,277572733,277573237,277573277,277573327,277573537,277573727,277573753,277575253,277575377,277575553,277575577,277575737,277575773,277577527,277577537,277577557,277722257,277722323,277722377,277722773,277723357,277723553,277723723,277723753,277723757,277725323,277725523,277725533,277725557,277725577,277727227,277727257,277727377,277727533,277727557,277727753,277727777,277732537,277732577,277732727,277732733,277732753,277733273,277733333,277733723,277733737,277735253,277735723,277737233,277737323,277737353,277737737,277752533,277752557,277753277,277753523,277753573,277753577,277753757,277755253,277755277,277755323,277755733,277755773,277757327,277757377,277757527,277757533,277757537,277772233,277773227,277773233,277773253,277773757,277775557,277775723,277775737,277775753,277775777,277777553,277777757,322222223,322222237,322222253,322222357,322222727,322222757,322223273,322223323,322223357,322223557,322223723,322223753,322225223,322225357,322225523,322225573,322225733,322227223,322227277,322227527,322227557,322232227,322232233,322232257,322232327,322232353,322232557,322232753,322233377,322233773,322235273,322235377,322235723,322237537,322237577,322237753,322252253,322252537,322253233,322253353,322253537,322253753,322255573,322255753,322257223,322257227,322257277,322257373,322257527,322257757,322272773,322273253,322273277,322273327,322273333,322273373,322273733,322275277,322275337,322275353,322275533,322275553,322275557,322275727,322277227,322277237,322277323,322277327,322277353,322277573,322277737,322277773,322277777,322322233,322322237,322322537,322322753,322322773,322323223,322323233,322323377,322323773,322325257,322325323,322325357,322325533,322325573,322327237,322327337,322327573,322332233,322332253,322332277,322332553,322332727,322332737,322332757,322333337,322333357,322333373,322333553,322333733,322333777,322335227,322335337,322335373,322335523,322335553,322335577,322335757,322337537,322337753,322352237,322352257,322352323,322352533,322352573,322353323,322353727,322353737,322355227,322355233,322355533,322355573,322355723,322355773,322355777,322357223,322357523,322357577,322372223,322372273,322372277,322372723,322372727,322373257,322373273,322373327,322373353,322375253,322375577,322375723,322377257,322377527,322377553,322522237,322522327,322522337,322522553,322522727,322522757,322523237,322523527,322523777,322525237,322525253,322525277,322525373,322527253,322527523,322527773,322532237,322532333,322533257,322533373,322533557,322533727,322535357,322535527,322535533,322535537,322535777,322537223,322537273,322537337,322537373,322537573,322537727,322537757,322537777,322552277,322552327,322552333,322552357,322552723,322552757,322552777,322553537,322553723,322553773,322555253,322555327,322555333,322555357,322555523,322555553,322557223,322557253,322557353,322557377,322572277,322572323,322572337,322572373,322572527,322572533,322572553,322572727,322572737,322573253,322573327,322573337,322573357,322573373,322573553,322573753,322575257,322575353,322575377,322575557,322577377,322577753,322722227,322722557,322722737,322723253,322723273,322723277,322723337,322723553,322723727,322723757,322723777,322725233,322725257,322725323,322725553,322725577,322725727,322725757,322727533,322727773,322732237,322732253,322732327,322732357,322732373,322732733,322733227,322733233,322733237,322733353,322733773,322735337,322735537,322735573,322735727,322735733,322737223,322737227,322737253,322737733,322752257,322752277,322752527,322752733,322752737,322753537,322753723,322753727,322753757,322755253,322755737,322757557,322757573,322757723,322757753,322757777,322772327,322772573,322773257,322773323,322773557,322773727,322773757,322775377,322775527,322775533,322775737,322777333,322777373,322777577,322777723,323222227,323222323,323222723,323222773,323223337,323223553,323223557,323225557,323225737,323227237,323227327,323227537,323227577,323227727,323227733,323227757,323227777,323232223,323232323,323232527,323232737,323232757,323232773,323233357,323233577,323235223,323235533,323235553,323237273,323237323,323237573,323252233,323252333,323252737,323253253,323253323,323253353,323253727,323253757,323255333,323255377,323255557,323255573,323255773,323257223,323257357,323257373,323257537,323257733,323257757,323272223,323272273,323272553,323272723,323272757,323272777,323273323,323273723,323273737,323273777,323275237,323275273,323275357,323275523,323277223,323277277,323277373,323277523,323277527,323277557,323277733,323322227,323322557,323322577,323322733,323323223,323323237,323323277,323323337,323323573,323323727,323323753,323325323,323325773,323327533,323332327,323332337,323332577,323332727,323332733,323332753,323333233,323333273,323333323,323333753,323335237,323335253,323335333,323335373,323335757,323337277,323337527,323337727,323352353,323352737,323353223,323353273,323353553,323353577,323353733,323355257,323355323,323355337,323355353,323355727,323357233,323357327,323357533,323357537,323357557,323357777,323372227,323372323,323372327,323372527,323372537,323373233,323373257,323373737,323373773,323375237,323375257,323375527,323375753,323377333,323377357,323522323,323522333,323522357,323522377,323522527,323522533,323522737,323522777,323525227,323525333,323525353,323525357,323525557,323525753,323525773,323527553,323527577,323527733,323527753,323532527,323532553,323532757,323533277,323533373,323533523,323533753,323535323,323535337,323535757,323537257,323537323,323537723,323552237,323552323,323552353,323552527,323552533,323552737,323552773,323552777,323553233,323553257,323553323,323553523,323553553,323553733,323553757,323555257,323555327,323555357,323555377,323555527,323557253,323557733,323557777,323572253,323572553,323572723,323572727,323573227,323573357,323573377,323573737,323573773,323575223,323575277,323575573,323575723,323575727,323577227,323577323,323577557,323577757,323722253,323722523,323722577,323722733,323723227,323723233,323723353,323723773,323725573,323725723,323727253,323727337,323727353,323727373,323727527,323727773,323732257,323732327,323732333,323732527,323732537,323733323,323733577,323733733,323735353,323735527,323737277,323737357,323737577,323752223,323752237,323752333,323752727,323752733,323752757,323753233,323753257,323753273,323753333,323753377,323753533,323753537,323753723,323753777,323755253,323755577,323755727,323755777,323757227,323757233,323757257,323757727,323757757,323772227,323772557,323772727,323773223,323773327,323773523,323773537,323773733,323775533,323775757,323777323,323777327,323777353,325222237,325222253,325223527,325225237,325225723,325225777,325227233,325227277,325227377,325227737,325232227,325232233,325232533,325232737,325232773,325233257,325233523,325233577,325235227,325235233,325235237,325235327,325235333,325235527,325235737,325235753,325237223,325237327,325237333,325237357,325237777,325252253,325252337,325252357,325252537,325252757,325253237,325253323,325253353,325253573,325253777,325255277,325255327,325255523,325255537,325255727,325257323,325257337,325257557,325272257,325272523,325273237,325273523,325273577,325273727,325275233,325275253,325275277,325275323,325275527,325277233,325277257,325277773,325322227,325323737,325325327,325325723,325327577,325327777,325332223,325332523,325332577,325332727,325332773,325333373,325333727,325335223,325335553,325335733,325335737,325335757,325337237,325337273,325337357,325337377,325337533,325337557,325337723,325337773,325352323,325352327,325352353,325352557,325352773,325353227,325353253,325353257,325353323,325353527,325353533,325353557,325353757,325355227,325355353,325355533,325357733,325372253,325372273,325372573,325372727,325372757,325373273,325373723,325373753,325373773,325375277,325375327,325375333,325375357,325375537,325375553,325375577,325375727,325375753,325375777,325377253,325377523,325522277,325522523,325522733,325522753,325523273,325523323,325523357,325523533,325523537,325523773,325525237,325525553,325527227,325527253,325532237,325532357,325532573,325533223,325533227,325533277,325533337,325533557,325533577,325533737,325533757,325535257,325535323,325535773,325537237,325537337,325537753,325552237,325552523,325552723,325552727,325552757,325553257,325553273,325553323,325553573,325553773,325555277,325555337,325555553,325555723,325555757,325557233,325557377,325557523,325557527,325557733,325557737,325572553,325573327,325573537,325573733,325575223,325575227,325575377,325575577,325577233,325577257,325577573,325722233,325722253,325722373,325722557,325723373,325723577,325723777,325725223,325725373,325725377,325725527,325725577,325725737,325727737,325732273,325733273,325733323,325733327,325735357,325735537,325735573,325735733,325737227,325737253,325737337,325737353,325752223,325752227,325752337,325752377,325752523,325752533,325752577,325753277,325753327,325753333,325755253,325755277,325755527,325755557,325755737,325757227,325757273,325757357,325757737,325757753,325772323,325772327,325772357,325772527,325772723,325773223,325773233,325773353,325773527,325773727,325775227,325775237,325775323,325775557,325777237,325777253,325777373,325777523,325777537,325777723,327222223,327222253,327222257,327222277,327222323,327222557,327222757,327222773,327223223,327223333,327223357,327223573,327223577,327223753,327225257,327225323,327225337,327225377,327225727,327227323,327232237,327232277,327232327,327232333,327232733,327232777,327233723,327235277,327235357,327235373,327235577,327235723,327235757,327237257,327237373,327237773,327252223,327252253,327252323,327252557,327252727,327252773,327253237,327253253,327253273,327253337,327253357,327253373,327253733,327253753,327255233,327255377,327257233,327257323,327257573,327257773,327272333,327272377,327272557,327272573,327272723,327272753,327273227,327273337,327273553,327273733,327275357,327275737,327277273,327322327,327322337,327322357,327322553,327322727,327322733,327323237,327323273,327323533,327323537,327323573,327325237,327325253,327325553,327325723,327325727,327327337,327327527,327327577,327327773,327332227,327332237,327332333,327332353,327333233,327333277,327333337,327333757,327335237,327335377,327335537,327335753,327337237,327337337,327337523,327337553,327352573,327352723,327352757,327353237,327353573,327353723,327353753,327353773,327355253,327355337,327357223,327357337,327357557,327372233,327372257,327372277,327372377,327372737,327373223,327373253,327373327,327373337,327373523,327375233,327375253,327375527,327375733,327377227,327377233,327377273,327377527,327377537,327377737,327377773,327522337,327522353,327522373,327522523,327523253,327523327,327523373,327523723,327523753,327525227,327525257,327525337,327527257,327527323,327527353,327527357,327527527,327527773,327532327,327532537,327532553,327533357,327533573,327535333,327535337,327535573,327537277,327537323,327537337,327537527,327537773,327552227,327552373,327552377,327552523,327552553,327552557,327553253,327553337,327553357,327553573,327553777,327555227,327555373,327555577,327555727,327555757,327555773,327557227,327557353,327557357,327557533,327557773,327572227,327572723,327573223,327573277,327573353,327573523,327573577,327573733,327575273,327575537,327575777,327577273,327577277,327577337,327722233,327722237,327722273,327722327,327722537,327722557,327722777,327723223,327723233,327723257,327723323,327723337,327723377,327723523,327723727,327725257,327725327,327725533,327725777,327727277,327727327,327727373,327727573,327732227,327732233,327732257,327732373,327733577,327733733,327735227,327735253,327735523,327735553,327735557,327737233,327737257,327737537,327737737,327737777,327752273,327753277,327753373,327753577,327753773,327755237,327755273,327755557,327755737,327757253,327757723,327772373,327772537,327773233,327773273,327773333,327773773,327775223,327775237,327775523,327775577,327775727,327775733,327777277,327777553,327777757,332222227,332222237,332222533,332222537,332223223,332223253,332223257,332223553,332223757,332225227,332225527,332225753,332227253,332227333,332227723,332227733,332227757,332232737,332232757,332232773,332233273,332233277,332233327,332233777,332235353,332235557,332235727,332237233,332237237,332237357,332237557,332237573,332252527,332252533,332252773,332253277,332253373,332253533,332253577,332253773,332255257,332255533,332255537,332255753,332257223,332257573,332272253,332272273,332272337,332272537,332272573,332272727,332272757,332272777,332273237,332273323,332273327,332273737,332275277,332275327,332277233,332277277,332322323,332322373,332322527,332322577,332323253,332323333,332323337,332323553,332323753,332325233,332325533,332327227,332327257,332327557,332332333,332332577,332333257,332333377,332333753,332335253,332335277,332335337,332335357,332335573,332335723,332337223,332337253,332337323,332337377,332352253,332352257,332352353,332353223,332353523,332353727,332355523,332357227,332357353,332357573,332357723,332372233,332372237,332372273,332372353,332372737,332373233,332373337,332373523,332373557,332373733,332373737,332375333,332375377,332375557,332375777,332377273,332377277,332377333,332522237,332522537,332522557,332522777,332523223,332523227,332523253,332523337,332523353,332523533,332523557,332525227,332525273,332525377,332525533,332525573,332525737,332527333,332527523,332527553,332527733,332532253,332532377,332532757,332532773,332533727,332533757,332533777,332535323,332535523,332535527,332537237,332537353,332552257,332552323,332553253,332553577,332553737,332555273,332555323,332555527,332555737,332555777,332557223,332557333,332557573,332557777,332572223,332572327,332572337,332572573,332572577,332572727,332572753,332572777,332573573,332575253,332575357,332577233,332577253,332577257,332577337,332577373,332577733,332577737,332577757,332722237,332722253,332722333,332722373,332722553,332722757,332723353,332723533,332723557,332725333,332725553,332725577,332725727,332725733,332727233,332727253,332727277,332727337,332732227,332732233,332732273,332732723,332732737,332732773,332733253,332733277,332735233,332735527,332735573,332735723,332737523,332752223,332752327,332752333,332753227,332753237,332753573,332753753,332755223,332755273,332755277,332755537,332755573,332755727,332757323,332757527,332757533,332757727,332757757,332772757,332773333,332773373,332773537,332773577,332775277,332775337,332775353,332775733,332777353,333222233,333222277,333222377,333222733,333223537,333225353,333225377,333225733,333227333,333227357,333227527,333227537,333227723,333227753,333232337,333232357,333232373,333232573,333232777,333233233,333233237,333233323,333233333,333233753,333235223,333235237,333235333,333237277,333237337,333237353,333237533,333237733,333252523,333252527,333252737,333253273,333253373,333253573,333253727,333253757,333255323,333255353,333255553,333255557,333257233,333257257,333257333,333257377,333257723,333272237,333272353,333272773,333273373,333273553,333275237,333275323,333275357,333275377,333275557,333275737,333275753,333277223,333277327,333277733,333322237,333322277,333322357,333322537,333322753,333323323,333323527,333323723,333323737,333323773,333325277,333325327,333325337,333325523,333325537,333327223,333327233,333327277,333327353,333327377,333332227,333332273,333332533,333332723,333332737,333332773,333333223,333333277,333333577,333333757,333335227,333335237,333337237,333337253,333337523,333337757,333337777,333352223,333352333,333352577,333352757,333353737,333353773,333353777,333355223,333355357,333355523,333355573,333355577,333355733,333357533,333357733,333357737,333372223,333372253,333372323,333372527,333372577,333372757,333372773,333373237,333373253,333373273,333373727,333375533,333375557,333377353,333377777,333522227,333522373,333522557,333522757,333523573,333525233,333525253,333525337,333525377,333525523,333525727,333527237,333527323,333527377,333527773,333532337,333532373,333533273,333533357,333533377,333533527,333533773,333533777,333535273,333535277,333535333,333535357,333535753,333537223,333537227,333537353,333537553,333537733,333552227,333552253,333552377,333552553,333552757,333553237,333553333,333555557,333557533,333557537,333557573,333557723,333572237,333572257,333572273,333572333,333572537,333572737,333572753,333572773,333573257,333573323,333573353,333573377,333573533,333573727,333575227,333575237,333575273,333575323,333575527,333577253,333577373,333722237,333722353,333722537,333722773,333723227,333723233,333723527,333725257,333727327,333727333,333727573,333732337,333732527,333732533,333732727,333733223,333733237,333733327,333733333,333733523,333733577,333733723,333733733,333733753,333735253,333735377,333735757,333737323,333737357,333737533,333737753,333752257,333752323,333752357,333752737,333753323,333753353,333753377,333753527,333753577,333753757,333755353,333755537,333755573,333757373,333757573,333757727,333757777,333772253,333772273,333772337,333773227,333773233,333773527,333773533,333773537,333775373,333775537,333775727,333775733,333775753,333775777,333777373,333777523,333777557,335222233,335222323,335222557,335222773,335223337,335223533,335223773,335225237,335225333,335225557,335225773,335225777,335227337,335227537,335227577,335227723,335232223,335232323,335232377,335232553,335232757,335233237,335233273,335233277,335233337,335233537,335233573,335233733,335235253,335235337,335235533,335235727,335237237,335237533,335237737,335252233,335252237,335252353,335252377,335252527,335252737,335253257,335253353,335253533,335253557,335255357,335255527,335255533,335255737,335255777,335257523,335257577,335257723,335257733,335272237,335272733,335273227,335273273,335273327,335273527,335273557,335273723,335275333,335275357,335275373,335277227,335277337,335277373,335277557,335277773,335322223,335322233,335322277,335322553,335322733,335323327,335323337,335323523,335323537,335323757,335325377,335327357,335327723,335327753,335332523,335333233,335333237,335333357,335333533,335333773,335333777,335335223,335335327,335335333,335335373,335337377,335337577,335352323,335352553,335353253,335353327,335353357,335353523,335353537,335353573,335353757,335355253,335355257,335355337,335355373,335355557,335355577,335357333,335357557,335357723,335357777,335372227,335372237,335372273,335372357,335372533,335372537,335373527,335373733,335373737,335373757,335375273,335375353,335375723,335375737,335377223,335377577,335377723,335377727,335522333,335522723,335523277,335523557,335525233,335525327,335525573,335525777,335527253,335527337,335527537,335527573,335527727,335532227,335532377,335532727,335532737,335533337,335533357,335533753,335535223,335535253,335535353,335535377,335535757,335537227,335537233,335537353,335537533,335537723,335537773,335552233,335552333,335552573,335552753,335553223,335553277,335553377,335553733,335555323,335555527,335555557,335555777,335557253,335557357,335557757,335572337,335572723,335573237,335573257,335573323,335573327,335573753,335575333,335575523,335575553,335577257,335577377,335577533,335577727,335577757,335722523,335722553,335722573,335722727,335722757,335723233,335723537,335723737,335723777,335725253,335727257,335727377,335727773,335732237,335732323,335732533,335733253,335733533,335733733,335733773,335737253,335737357,335737373,335737537,335737723,335737757,335752223,335752327,335752337,335752523,335752733,335752757,335752777,335753227,335753273,335753377,335753557,335753573,335753753,335755523,335755727,335757223,335757523,335757557,335757727,335757757,335772233,335772323,335772733,335772757,335773337,335773523,335773727,335773733,335775757,335777723,335777753,335777773,337222273,337222553,337222577,337222777,337223333,337223357,337223377,337223773,337225237,337225523,337225727,337227227,337227323,337227377,337227557,337227577,337232327,337232537,337232557,337232737,337233737,337235233,337235323,337235357,337235377,337237237,337237577,337237757,337252523,337252537,337252577,337252723,337252753,337253353,337253533,337253537,337255273,337255277,337255337,337255573,337255577,337257253,337257337,337257523,337257527,337272277,337272373,337272527,337272773,337273253,337273327,337273333,337273337,337273723,337273733,337275227,337275233,337275353,337275373,337275737,337277257,337277273,337277327,337277333,337277527,337277557,337277777,337322273,337322533,337322537,337322723,337322737,337323253,337323257,337323353,337323377,337323527,337323533,337323733,337323757,337325257,337325273,337325323,337327253,337327357,337327723,337327777,337332253,337332533,337332557,337332733,337332773,337333333,337333727,337335277,337335527,337335533,337335727,337335737,337335773,337337227,337337333,337337353,337352333,337352527,337352537,337352557,337353257,337353323,337353353,337353727,337355273,337355323,337355377,337355533,337355573,337357277,337357523,337357723,337372223,337372237,337372523,337373237,337373537,337373723,337375733,337377353,337377533,337377553,337377577,337377773,337522223,337522277,337522337,337522357,337522733,337523227,337523233,337523273,337523323,337523327,337523573,337523723,337523737,337525733,337525757,337527227,337527353,337527527,337527577,337532257,337532353,337532357,337532753,337533223,337533227,337533323,337533377,337535227,337535377,337537373,337537523,337537537,337537553,337537777,337552753,337552757,337552777,337553273,337553357,337553527,337553537,337553737,337555237,337555333,337555727,337555733,337555753,337557257,337557523,337557557,337557733,337572227,337572233,337572253,337572523,337572533,337572577,337573723,337573727,337573757,337575257,337575353,337575373,337575727,337575737,337575773,337577533,337722223,337722353,337722377,337722533,337722557,337722577,337722727,337723223,337723327,337723523,337723733,337723777,337725523,337725727,337727557,337727737,337732223,337732273,337732333,337732357,337732723,337733257,337733273,337733537,337733777,337735253,337735337,337735357,337735553,337735577,337735757,337735777,337737223,337737527,337752253,337752257,337752577,337752733,337753223,337753337,337753357,337753573,337753733,337753753,337755527,337755727,337755773,337757237,337757573,337757723,337757773,337772377,337772723,337772737,337773257,337773277,337773577,337775233,337775377,337775573,337775777,337777277,337777327,337777357,337777523,337777553,337777723,352222523,352222537,352222553,352223227,352223327,352223533,352223723,352223737,352225253,352225273,352225277,352225327,352225537,352225723,352227223,352227277,352227373,352227523,352227527,352227737,352232273,352232357,352233257,352233733,352233737,352235327,352235557,352235573,352237577,352237723,352237727,352237733,352252253,352252273,352252333,352252553,352252577,352252727,352252777,352253323,352253353,352253537,352253557,352255223,352255537,352255753,352257223,352257253,352257523,352257533,352257733,352257757,352272233,352272253,352272337,352272353,352272373,352272757,352273223,352273577,352273723,352275223,352275277,352275527,352275727,352275733,352277227,352277557,352322227,352322233,352322557,352322573,352322723,352322777,352323227,352323253,352323337,352325327,352325333,352325377,352325557,352325723,352327223,352327253,352327537,352327553,352332527,352332733,352332737,352333327,352333337,352333577,352333733,352335233,352335323,352335733,352337533,352337737,352337753,352337773,352352227,352352257,352352323,352352327,352352537,352353227,352353377,352353523,352353773,352355233,352355527,352355533,352355573,352355723,352357237,352357273,352357277,352357553,352372333,352372523,352372733,352373327,352373573,352373737,352375237,352375253,352375333,352375523,352375537,352375757,352377353,352377373,352377577,352522237,352522277,352522327,352522757,352522777,352523257,352523533,352523557,352523573,352525237,352525573,352527223,352527323,352527353,352527557,352532357,352532377,352532573,352533253,352533257,352533523,352533557,352535333,352535353,352535357,352535723,352535737,352535773,352537327,352537333,352537357,352537753,352552337,352552357,352552373,352552523,352552723,352553233,352553273,352553323,352553737,352553753,352555373,352555733,352557277,352557353,352557377,352557533,352557757,352572323,352572733,352572757,352573237,352573327,352573337,352573357,352573537,352573577,352573723,352575227,352575233,352575253,352575323,352575527,352722353,352722757,352723223,352723373,352723537,352723727,352725227,352725323,352725577,352725733,352727233,352727257,352727777,352732253,352732273,352732357,352732537,352732573,352732733,352732753,352733237,352733273,352733327,352733377,352733533,352733573,352733723,352733753,352735333,352735753,352737257,352737277,352737373,352737757,352752223,352752377,352752523,352752557,352752733,352753223,352753333,352753537,352755323,352755523,352755527,352755773,352757257,352757333,352757557,352757753,352772227,352772533,352772557,352772773,352773373,352773523,352773527,352773557,352775273,352775333,352775537,352775777,352777333,352777357,353222357,353222777,353223223,353223253,353223523,353223527,353223557,353223757,353225357,353225573,353225737,353232353,353232527,353232727,353233277,353233337,353233523,353233577,353233753,353233757,353235523,353235527,353235577,353235737,353237233,353237257,353237323,353237723,353237737,353252327,353252723,353253227,353253323,353253337,353253737,353255237,353255327,353255377,353255537,353255723,353255753,353257273,353257327,353257733,353257757,353272273,353272327,353272537,353272573,353273237,353273257,353273377,353273773,353275253,353275337,353275357,353275537,353275553,353275733,353275757,353277373,353277553,353277557,353277737,353322227,353322337,353322533,353323273,353323277,353323357,353323573,353323727,353325233,353325257,353325277,353325337,353325377,353325523,353325527,353325737,353325757,353327237,353327333,353327537,353327573,353332253,353332373,353332753,353332757,353333237,353333273,353333527,353333723,353333737,353335273,353335277,353335357,353335537,353335553,353335727,353335733,353335757,353335777,353337223,353337323,353337353,353337373,353337377,353337577,353337757,353352277,353352523,353352737,353353237,353353337,353353523,353353733,353355323,353355733,353357353,353357357,353357377,353357527,353357773,353372233,353372377,353373227,353373233,353373253,353375233,353375557,353375573,353375723,353377253,353522353,353522723,353522777,353523223,353523277,353523323,353523353,353523523,353523757,353523773,353525527,353525737,353525773,353527333,353527523,353527723,353527753,353532253,353532523,353532577,353532733,353533277,353533333,353533357,353533727,353533753,353535227,353535557,353535577,353535733,353535773,353537227,353537377,353537533,353537573,353537777,353552237,353552327,353552533,353552557,353553257,353553337,353553533,353553553,353553727,353553737,353553757,353555227,353555537,353555737,353557333,353557577,353557733,353572223,353572277,353572327,353572357,353572523,353572733,353572757,353573257,353573377,353573533,353573557,353575223,353575357,353575727,353577337,353722253,353722273,353722337,353725277,353725357,353725373,353725523,353725727,353725733,353725777,353727223,353727233,353727277,353727527,353732237,353732257,353732773,353733223,353733257,353733277,353733553,353733557,353735227,353735357,353735527,353735537,353735737,353735773,353737277,353737327,353737333,353737537,353737753,353737777,353752327,353752537,353752753,353753273,353753327,353753333,353753353,353753377,353753773,353755223,353755277,353755553,353755573,353755723,353757223,353757323,353757533,353757557,353772233,353772277,353772773,353773237,353773337,353773573,353773577,353773727,353775337,353775377,353775557,353775733,353777227,353777273,353777533,353777537,353777737,355222723,355223237,355223357,355223527,355223777,355225237,355225327,355225337,355225573,355227227,355227337,355227527,355232237,355232327,355232377,355232557,355233223,355233227,355233323,355233353,355233727,355233733,355233757,355235333,355235527,355235737,355237273,355252327,355252333,355252357,355252727,355253237,355253333,355253357,355253527,355253533,355255223,355255553,355255727,355257257,355257323,355257523,355257527,355257557,355272223,355272377,355272523,355272527,355272733,355273357,355273537,355273727,355273757,355275223,355275233,355275253,355275337,355275523,355275533,355275727,355277323,355277327,355277353,355277357,355277777,355322273,355322323,355322333,355322537,355322573,355322777,355323223,355323253,355323373,355323523,355323533,355323557,355325273,355325323,355325753,355327277,355327327,355327333,355327757,355332353,355332377,355332577,355333733,355335223,355335523,355335577,355335727,355337273,355337357,355337533,355352237,355352537,355353223,355353253,355353277,355353353,355353553,355355227,355355333,355355557,355357237,355357333,355357573,355357577,355357727,355372337,355372357,355372553,355373237,355373273,355373353,355373537,355375333,355375523,355375777,355377227,355377233,355377377,355377527,355377553,355377557,355377727,355377733,355522253,355522273,355522333,355522577,355522733,355523237,355523257,355523323,355523327,355523723,355525277,355525523,355527253,355527257,355527773,355532227,355532537,355532773,355533253,355533553,355535227,355535333,355535533,355535573,355537327,355537573,355537733,355537753,355552577,355552753,355553377,355553533,355553537,355553773,355555327,355555373,355555553,355555727,355557277,355557557,355557757,355572227,355572253,355572337,355572353,355572523,355572727,355572733,355572773,355575373,355575523,355575533,355575733,355577237,355577333,355577353,355577557,355722223,355722233,355722253,355722277,355722337,355722373,355722527,355722553,355722727,355723273,355723327,355723337,355723373,355723523,355723553,355723573,355723733,355725373,355725757,355727233,355727527,355727753,355727773,355732253,355732337,355732537,355732753,355732777,355733527,355733557,355733737,355735253,355735277,355735327,355735337,355735357,355735573,355737227,355737353,355737377,355737533,355752233,355752533,355753273,355753327,355753553,355753757,355755377,355755577,355755733,355757323,355757327,355757527,355757723,355757737,355772237,355772357,355772737,355773377,355773557,355773757,355775257,355775377,355777537,357222253,357222277,357222323,357222373,357222533,357222727,357222737,357223337,357223523,357223577,357223733,357223777,357225223,357225257,357225377,357225773,357227327,357227557,357227737,357232223,357232523,357232553,357232753,357233237,357233777,357235273,357235327,357235523,357235573,357235727,357235757,357237527,357237577,357237733,357237737,357252227,357252377,357252737,357253223,357253373,357253723,357253727,357255257,357255277,357255337,357257233,357257557,357257573,357257753,357272353,357272557,357273223,357273253,357273277,357273337,357273373,357273557,357273577,357275227,357275333,357275533,357277357,357277523,357277553,357277757,357277777,357322333,357323233,357323257,357323327,357323353,357323723,357323737,357325223,357325273,357325277,357325333,357327277,357327337,357327353,357327527,357327577,357327757,357332323,357332357,357332377,357332527,357332557,357332777,357333257,357333377,357333533,357333553,357333577,357333733,357335533,357335753,357335773,357337523,357337723,357352573,357352757,357353233,357353257,357353327,357353333,357353377,357353527,357353533,357355277,357355337,357355373,357357223,357357373,357357733,357357773,357372227,357372377,357372727,357373573,357373727,357373777,357375353,357375373,357375523,357375527,357375727,357375757,357377227,357377233,357377323,357377737,357522227,357522533,357522553,357522757,357523373,357523577,357525277,357525353,357525523,357525533,357527227,357527773,357532237,357532277,357532733,357533227,357533237,357533353,357533357,357533377,357533537,357533557,357533573,357533753,357535223,357535237,357535523,357535537,357535727,357535733,357535753,357535757,357537223,357537577,357537773,357552277,357552337,357552523,357552557,357552757,357553223,357553253,357553277,357553327,357553523,357553577,357553733,357555257,357555337,357555557,357555727,357555733,357557273,357557323,357557353,357557357,357557377,357557527,357557537,357557737,357557773,357557777,357572227,357572353,357572377,357572573,357572777,357573323,357573523,357573577,357573757,357575327,357575357,357575527,357575723,357575753,357577223,357577237,357577357,357577553,357577733,357722227,357722257,357722333,357722357,357722537,357722737,357722777,357723227,357723253,357723257,357723757,357725273,357725723,357725773,357727523,357727553,357732233,357732253,357732373,357732733,357733333,357733553,357733573,357733757,357735227,357735253,357735527,357735557,357735577,357735737,357735757,357735773,357737357,357737557,357752377,357752537,357752723,357752737,357752753,357755273,357755323,357755357,357755737,357755773,357757223,357757237,357757523,357757573,357772357,357772523,357772777,357773333,357773777,357775337,357775573,357775723,357777337,357777377,357777557,357777577,372222223,372222373,372222377,372222523,372222727,372222733,372222737,372223253,372223333,372223373,372223573,372223723,372225377,372227237,372227573,372227753,372232277,372232327,372232373,372232537,372232573,372232577,372232723,372233233,372235337,372235727,372235753,372235777,372237223,372237233,372237337,372237527,372237557,372237577,372237757,372252253,372252277,372252373,372252527,372252733,372252773,372253223,372253327,372253333,372253373,372253577,372253727,372255577,372255727,372257227,372257257,372257377,372257537,372272237,372272533,372272557,372272723,372272753,372273257,372273277,372273353,372273523,372273527,372273557,372275257,372275273,372275353,372275357,372275737,372275753,372275773,372277277,372277337,372277523,372277537,372277733,372277753,372322277,372322373,372322553,372322723,372322733,372322777,372323323,372323533,372323557,372323737,372325333,372325573,372325753,372327233,372327253,372327733,372327737,372332237,372332557,372333277,372333733,372333737,372335233,372335273,372335333,372335357,372335527,372335737,372337223,372337237,372337573,372337577,372337727,372337733,372352223,372352327,372352573,372352577,372353273,372353537,372353557,372353573,372355223,372355327,372355523,372355757,372357353,372357553,372357737,372372227,372373223,372373277,372373523,372373553,372373753,372373777,372375233,372375253,372375323,372375527,372375533,372377233,372377237,372377353,372377527,372377557,372377723,372377737,372377773,372522277,372522323,372522523,372522757,372523237,372523757,372523777,372525323,372525553,372525557,372527227,372527257,372527327,372527537,372527723,372527773,372527777,372532253,372532337,372532757,372533573,372533773,372535237,372535253,372535727,372535777,372537223,372537227,372537523,372537527,372537733,372552233,372552353,372552377,372552553,372552577,372552757,372553277,372553373,372553723,372555277,372555727,372555773,372557257,372557323,372557333,372557573,372557753,372572227,372572737,372573373,372573737,372575257,372575353,372575527,372575773,372577237,372577273,372577357,372577573,372577727,372722257,372722333,372723223,372723227,372723277,372723353,372723523,372723577,372723733,372723773,372725233,372725237,372725273,372725377,372725533,372725723,372727573,372727723,372727727,372727753,372732223,372732523,372732533,372732553,372732727,372733223,372733237,372733327,372733727,372735527,372735533,372735553,372735773,372737237,372737527,372737537,372737557,372737737,372737753,372752227,372752323,372752327,372752333,372752377,372752533,372752537,372752753,372753253,372753523,372753727,372755233,372755527,372757223,372757337,372757537,372757753,372772537,372772727,372772733,372773537,372775723,372777227,372777253,372777323,372777337,372777523,372777737,373222523,373222727,373222753,373223237,373223537,373223573,373223777,373225757,373227277,373227353,373227373,373227377,373227527,373227553,373227733,373227737,373232273,373232533,373232537,373232737,373233253,373233257,373233323,373233353,373233727,373233733,373235327,373235333,373235353,373235377,373235573,373235777,373237327,373237573,373252223,373252277,373252573,373252757,373253227,373253323,373253723,373255237,373255357,373255373,373255537,373255577,373255777,373257257,373257373,373257377,373257757,373272227,373272257,373272337,373272577,373272737,373273337,373273727,373275377,373275527,373277237,373277273,373277323,373277353,373277537,373277753,373322273,373322333,373323253,373323277,373323337,373323527,373323733,373325573,373325773,373327553,373327777,373332277,373332373,373333333,373333523,373333553,373333573,373335223,373335257,373335353,373335737,373335773,373337227,373337233,373337273,373337533,373352327,373352377,373352557,373352753,373353223,373353373,373353377,373353523,373353527,373353577,373353727,373353737,373355233,373355237,373355737,373355777,373357253,373357333,373357573,373357577,373372273,373372523,373372577,373372733,373373233,373373323,373373527,373373537,373375237,373375273,373375333,373375357,373375753,373377253,373377577,373377727,373377737,373377773,373522223,373522537,373523233,373523237,373523257,373523333,373523357,373523377,373523533,373523573,373523753,373525253,373525357,373525553,373525577,373525723,373527223,373527233,373527353,373527373,373527523,373527527,373527533,373527733,373532227,373532323,373532737,373533227,373533233,373533337,373533373,373533557,373533737,373535353,373535377,373535557,373535737,373535753,373537327,373537337,373537523,373537537,373537573,373552337,373552523,373552727,373553233,373553333,373553753,373555337,373555733,373557253,373557257,373557277,373557523,373557553,373557557,373572323,373572337,373572527,373573223,373573237,373573253,373573357,373573523,373573553,373573727,373575277,373575353,373575557,373575733,373575737,373577257,373577353,373577357,373577377,373577537,373577723,373722227,373722253,373722277,373722337,373722353,373723237,373723327,373725257,373725377,373725533,373725557,373725733,373725757,373732277,373732327,373732357,373733533,373733557,373735223,373735237,373735337,373735553,373735577,373735753,373735777,373737227,373737253,373737577,373737737,373752233,373752557,373752727,373753327,373755323,373755337,373755373,373757273,373757723,373772327,373772527,373772537,373772573,373773277,373773353,373773557,373773733,373775327,373775533,373775777,373777273,373777333,373777357,373777727,373777777,375222223,375222377,375222527,375222553,375222557,375222733,375222737,375223223,375223237,375223523,375225223,375225337,375225373,375225523,375225533,375225553,375225733,375227353,375227357,375227557,375227737,375232223,375232237,375232553,375232573,375232727,375232733,375233227,375233237,375233357,375233377,375233533,375233723,375233737,375233777,375235277,375235327,375235573,375237253,375237257,375237323,375237377,375237557,375252233,375252523,375253237,375253253,375253523,375255233,375255323,375255523,375255577,375255733,375257237,375257357,375257527,375257537,375257777,375272323,375272353,375272377,375273233,375273323,375273733,375273757,375275377,375275723,375275737,375275753,375277237,375277333,375322223,375322237,375322327,375322373,375322573,375322757,375323237,375323257,375323323,375323357,375325273,375325333,375325553,375332233,375332257,375332357,375332533,375333373,375333577,375333773,375335227,375335237,375335357,375335533,375335573,375337223,375337357,375337727,375337733,375337777,375352223,375352573,375352723,375352777,375353323,375353333,375353533,375353777,375355237,375355273,375355333,375355523,375355537,375355573,375357223,375357533,375357553,375357757,375372233,375372323,375372353,375372373,375372533,375372727,375372737,375372773,375373333,375373337,375373357,375373723,375375223,375375527,375375727,375375773,375377237,375377257,375377333,375377773,375377777,375522227,375522253,375522377,375522523,375522737,375522757,375523237,375523327,375523723,375525233,375525277,375525377,375525523,375527237,375527333,375527357,375532337,375533237,375533357,375533573,375533737,375535753,375535757,375535777,375537233,375537257,375537377,375537523,375552227,375552277,375552377,375552557,375552577,375553253,375553333,375553733,375553757,375553777,375555253,375555277,375555337,375555353,375555527,375557527,375557537,375557773,375572333,375572357,375572377,375572573,375572737,375572777,375573337,375573533,375575357,375575537,375575737,375575777,375577253,375577273,375577333,375577537,375577577,375577723,375577733,375722233,375722377,375723353,375723373,375723527,375723553,375723577,375725237,375725527,375725557,375725573,375725737,375727237,375727273,375727327,375727733,375727757,375732337,375732757,375733223,375733327,375733333,375733357,375733537,375735233,375735277,375735533,375735553,375735557,375735727,375735757,375737353,375737533,375737573,375737773,375737777,375752257,375752527,375752557,375752737,375753733,375753773,375755273,375755323,375755327,375755333,375755353,375755377,375755537,375755773,375757523,375757573,375772237,375772273,375772577,375772723,375772753,375773257,375773273,375773353,375773357,375773527,375773777,375775223,375775277,375775577,375777527,375777533,375777557,375777733,377222323,377222327,377223233,377223377,377223527,377223577,377223773,377225227,377225333,377225557,377227237,377227373,377227733,377232257,377232337,377232553,377232577,377232773,377233223,377233237,377233253,377233273,377233357,377233573,377235227,377235233,377235377,377235533,377235737,377237227,377237353,377237527,377252537,377252737,377252753,377252773,377253223,377253277,377253323,377253377,377253533,377255233,377255377,377255777,377257253,377257333,377272277,377272333,377272537,377273233,377273257,377273327,377273573,377273753,377275333,377275337,377275357,377275537,377275573,377275733,377277323,377277353,377277727,377322223,377322773,377323273,377323277,377323523,377325253,377325257,377325323,377325527,377327527,377327777,377332237,377332337,377332523,377332573,377332577,377332757,377333233,377333323,377333527,377333533,377333573,377333773,377335253,377335333,377335337,377335523,377335577,377335727,377337577,377337757,377337773,377352253,377352277,377352523,377352733,377353237,377353253,377353523,377353577,377353723,377353727,377355353,377355533,377355553,377355757,377357557,377372537,377373233,377373253,377373523,377373533,377375377,377375533,377375573,377375723,377377723,377377727,377377733,377377757,377522227,377522237,377522273,377522527,377522737,377522773,377522777,377523253,377523527,377525227,377525257,377525327,377525333,377525353,377525537,377525773,377527327,377527523,377532737,377533333,377533357,377533537,377533573,377533577,377533757,377535727,377535733,377537227,377537257,377537273,377537527,377537533,377537737,377537753,377552237,377552333,377552353,377552377,377552573,377552753,377553577,377553727,377555237,377555333,377555357,377555377,377555537,377557223,377557237,377557357,377557373,377557553,377557577,377557723,377572253,377572277,377572337,377572357,377572553,377572733,377572757,377573257,377573323,377573327,377573737,377573753,377575223,377575327,377575573,377575727,377575777,377577257,377577337,377577377,377577523,377577533,377577773,377722253,377722333,377722577,377723237,377723377,377725277,377725723,377725727,377727527,377727533,377727737,377732227,377732237,377732273,377732527,377733227,377733553,377733757,377735227,377735327,377735357,377735377,377735737,377735753,377737333,377737337,377737733,377737753,377737777,377752237,377752523,377752723,377753527,377753533,377753723,377753773,377755333,377755337,377755373,377755727,377757253,377757257,377757557,377757577,377772277,377772557,377773273,377773573,377773723,377773757,377775227,377775323,377775337,377775533,377775553,377775737,377775757,377775773,377777237,377777273,377777353,377777357,377777527,377777537,377777573,522222577,522223327,522223333,522223727,522223753,522225233,522225257,522225337,522225523,522225577,522227257,522227557,522227753,522232253,522232553,522232573,522232723,522232757,522233227,522233273,522233333,522233737,522233773,522235237,522235333,522237337,522237533,522237757,522252323,522253223,522255257,522255277,522255757,522257227,522257233,522257273,522257377,522257737,522272273,522272557,522273223,522273233,522273253,522273377,522273533,522273733,522275323,522275573,522275777,522277253,522277277,522277573,522277577,522277753,522322337,522322523,522322573,522323227,522323327,522323573,522323773,522325277,522325373,522325537,522325553,522325577,522325753,522327527,522327733,522332227,522332527,522332773,522333223,522333373,522333523,522333527,522333577,522335227,522335257,522335273,522335357,522335533,522335537,522335573,522337523,522337537,522337553,522337577,522352277,522352357,522353233,522353357,522353527,522353537,522353773,522355237,522355723,522357373,522357553,522357727,522372233,522372353,522372373,522372533,522372553,522373237,522373273,522373337,522373757,522375253,522375527,522375533,522375577,522375773,522377333,522377533,522377777,522522223,522522277,522522337,522522757,522522773,522523273,522523723,522523753,522525233,522525373,522525557,522525727,522527233,522527333,522527737,522527773,522532333,522532573,522533353,522533723,522535337,522535357,522535523,522535553,522535723,522535753,522535757,522537233,522537377,522537523,522537527,522537553,522552733,522553253,522553277,522553337,522553373,522553573,522553727,522553753,522553777,522555337,522555557,522555577,522557353,522557753,522572227,522572357,522572377,522572723,522572737,522572777,522573223,522573257,522573757,522575237,522575327,522575353,522575357,522575377,522575777,522577277,522722227,522722257,522722353,522722533,522723337,522723757,522725257,522725327,522725353,522725527,522727223,522727253,522727273,522727553,522727757,522732227,522732533,522732577,522732737,522733537,522733553,522733733,522733777,522735253,522737273,522737323,522737723,522737737,522737773,522752327,522752353,522752357,522752537,522753227,522753233,522753277,522753523,522753773,522755237,522755327,522755333,522755353,522755533,522755777,522757357,522757537,522757553,522757757,522772333,522772753,522773323,522773737,522773753,522775237,522775727,522777253,522777733,523222223,523222333,523222373,523222537,523223333,523223357,523223537,523223737,523225357,523225523,523225727,523225757,523225777,523227277,523227337,523227557,523227737,523232233,523232257,523232323,523232357,523232527,523232753,523233223,523233727,523233757,523235233,523235327,523235753,523237223,523237357,523237723,523237733,523237753,523252273,523252727,523252757,523252777,523253233,523253323,523253333,523253573,523255237,523255333,523255357,523255373,523255757,523257233,523257373,523257377,523257557,523272227,523272353,523272523,523272527,523272553,523272773,523273523,523273727,523275253,523275377,523275733,523275757,523277333,523277753,523322227,523322273,523322333,523322537,523322773,523323277,523323337,523323557,523323727,523325237,523325273,523325323,523325333,523325357,523325723,523325753,523327237,523327327,523327573,523332353,523332533,523332757,523333357,523333373,523333523,523333753,523333757,523335223,523335257,523335277,523335523,523337357,523337557,523337723,523337777,523352227,523352237,523352537,523352737,523353223,523353353,523353373,523353527,523353533,523353557,523353773,523355227,523355233,523355737,523355773,523357253,523357273,523357357,523357537,523357753,523372357,523372573,523372753,523372757,523373233,523373327,523373723,523375337,523375777,523377353,523377577,523377727,523377733,523377737,523377773,523522253,523522273,523522723,523522733,523523333,523523537,523523557,523525273,523525537,523525553,523525577,523527253,523527377,523527773,523532257,523533233,523533253,523533533,523533737,523535323,523535333,523535527,523537373,523537537,523537577,523537727,523552327,523552333,523552357,523552727,523553237,523553323,523553333,523553357,523553377,523553773,523555237,523555327,523555337,523555537,523555553,523555723,523555727,523555757,523557557,523572223,523572233,523572277,523572353,523572373,523573277,523573537,523573573,523573723,523573753,523575257,523575323,523575527,523575557,523577723,523722253,523722257,523723223,523723253,523723327,523723553,523725227,523725353,523725373,523725737,523727333,523727357,523727377,523727773,523732523,523733323,523733377,523733723,523735237,523735357,523735573,523735577,523737233,523737323,523737523,523737733,523752253,523753333,523753523,523753553,523753777,523755257,523755553,523755773,523757323,523757527,523757537,523757723,523757737,523772273,523772357,523772377,523773223,523773233,523773337,523775233,523775257,523775327,523775537,523775557,523775773,523777253,523777523,523777577,525222223,525222353,525222557,525222727,525222773,525223373,525223733,525223757,525225373,525225377,525227233,525227357,525227557,525227737,525227777,525232277,525232727,525232777,525233327,525233333,525233353,525233557,525233573,525235237,525237233,525237257,525237277,525237337,525237523,525237527,525237553,525237773,525252223,525252257,525252523,525252557,525252577,525252733,525253357,525253523,525253723,525255253,525255257,525255377,525255557,525257323,525257377,525257533,525257573,525257723,525257737,525272257,525272323,525272333,525272753,525272777,525273223,525273253,525273523,525273533,525273577,525273757,525275533,525275557,525277523,525277573,525277757,525277777,525322723,525322727,525322753,525323353,525323527,525323537,525323573,525323753,525325253,525325553,525325753,525327223,525327277,525327323,525327527,525327553,525327577,525332377,525332527,525332573,525332723,525332777,525333257,525333373,525333377,525333577,525335323,525335333,525335353,525335533,525335557,525335753,525337237,525337277,525352273,525352327,525352357,525352523,525353237,525353573,525355273,525355333,525355373,525357233,525357377,525357757,525372257,525372277,525372373,525372577,525372773,525373223,525373357,525373573,525373757,525375337,525375523,525375527,525375553,525375727,525375757,525377557,525377737,525522233,525522337,525522353,525522373,525522523,525522527,525523237,525523727,525525227,525525353,525525527,525525557,525532277,525532327,525532573,525532757,525533377,525533527,525533557,525533753,525535237,525535273,525535357,525535523,525535553,525535727,525535733,525537223,525552233,525552257,525552527,525552733,525553373,525553723,525553727,525555223,525555353,525555557,525557327,525557777,525572237,525572353,525572573,525573233,525573277,525573533,525573577,525575233,525575257,525575377,525575773,525577277,525577333,525577537,525577573,525577727,525722357,525722557,525722737,525723257,525723337,525723353,525723533,525723727,525723733,525725257,525725533,525725773,525725777,525727327,525727337,525727733,525732323,525732353,525732373,525733237,525733277,525733337,525733357,525733577,525733727,525733753,525735227,525735233,525735277,525735323,525735337,525735527,525735737,525737227,525737237,525737323,525737327,525737533,525737753,525752233,525752237,525752327,525752533,525752537,525752723,525753223,525753257,525753337,525753353,525753377,525753533,525753773,525755227,525755233,525755323,525755333,525755537,525755557,525755773,525757223,525757237,525757333,525757373,525757537,525757577,525772327,525772333,525772733,525772757,525773233,525773273,525773357,525773533,525775253,525775333,525775753,525777227,525777323,527222273,527222327,527222737,527222753,527222777,527223253,527223353,527223373,527223377,527223577,527225327,527225533,527225557,527225723,527225753,527227573,527227577,527232227,527232257,527232523,527232553,527232757,527232773,527233237,527233537,527233723,527235223,527235227,527235253,527235323,527235727,527237323,527237353,527237357,527237723,527252227,527252353,527252723,527253227,527253253,527253373,527253527,527253733,527255327,527255537,527255557,527255737,527255753,527257273,527257337,527257777,527272253,527272337,527272373,527272727,527272777,527273323,527273333,527273533,527273573,527273723,527275337,527275577,527275733,527275753,527277557,527277727,527277733,527322233,527322253,527322277,527322377,527322577,527322773,527323333,527323523,527323723,527325353,527325377,527327257,527332733,527333333,527333377,527333533,527333537,527333753,527333773,527335357,527335373,527335573,527335577,527337257,527337323,527337553,527337557,527352227,527352233,527352523,527352557,527352577,527353523,527353537,527353577,527353733,527355223,527355533,527355733,527357227,527357333,527357353,527357557,527372323,527372327,527372557,527372723,527372753,527373257,527373277,527373523,527375327,527375357,527375557,527375573,527377273,527377337,527377727,527377733,527522377,527522777,527523223,527523323,527523523,527523533,527525737,527525753,527527223,527527237,527527277,527527733,527532233,527532353,527532553,527532757,527533333,527533723,527535227,527535353,527535523,527535527,527535557,527535577,527535727,527537237,527537357,527537533,527537573,527552227,527552237,527552323,527552353,527552533,527552723,527552737,527553223,527553227,527553253,527553337,527553353,527555257,527555377,527555533,527555557,527555573,527557237,527557253,527557273,527557727,527557757,527572273,527572327,527572733,527573327,527573357,527573377,527573533,527573723,527573777,527575277,527575333,527575753,527575757,527575777,527577223,527577377,527577553,527577727,527577733,527722523,527722577,527722733,527723257,527723327,527723737,527723773,527725277,527725337,527725357,527725553,527725727,527725733,527727227,527727257,527727377,527727757,527732273,527732537,527732573,527732773,527733223,527733233,527733277,527733733,527735333,527735753,527737373,527737523,527737577,527737733,527737757,527752333,527752523,527752553,527752723,527753327,527753537,527755573,527755577,527755733,527755777,527757337,527757523,527757757,527772227,527772277,527772533,527772577,527772733,527773223,527773373,527773733,527775257,527775323,527775533,527775757,527777557,527777777,532222373,532222577,532222753,532222777,532223323,532225237,532225333,532225753,532227233,532227253,532227757,532232227,532232257,532232527,532232557,532232773,532233223,532233353,532233523,532233557,532233727,532233733,532235527,532235533,532235723,532237373,532237777,532252577,532253723,532253773,532255237,532255253,532255327,532255573,532257277,532257373,532257377,532257533,532257553,532257727,532272337,532272353,532272523,532272557,532273237,532273253,532273537,532273727,532275257,532275323,532275533,532277233,532322227,532322233,532322237,532322723,532323257,532323527,532323557,532323577,532323733,532325257,532325333,532325357,532325377,532325723,532327253,532327357,532327373,532327553,532327727,532333237,532333253,532333273,532333523,532333553,532333723,532335277,532335337,532335577,532337227,532337327,532337527,532337723,532352237,532352257,532352537,532353223,532353277,532353727,532355273,532355333,532355377,532355533,532357223,532357733,532372277,532372327,532372523,532372537,532372733,532373273,532373333,532375357,532377533,532377577,532377733,532377773,532522327,532522577,532522777,532523227,532523323,532523353,532525523,532525573,532525723,532525757,532527277,532527353,532527553,532527757,532532237,532532333,532532537,532532753,532533223,532533373,532533523,532533557,532533737,532533773,532535233,532535273,532535527,532537253,532537273,532537723,532552277,532552337,532553233,532553327,532553353,532553533,532553573,532555357,532555537,532557353,532557527,532557533,532572233,532572253,532572377,532575233,532577533,532577557,532577723,532577753,532723223,532723253,532723573,532723733,532723753,532723777,532725227,532725353,532725527,532725577,532725727,532725773,532727233,532727353,532727527,532727537,532727557,532727773,532732273,532732727,532733737,532735327,532735337,532735523,532735727,532735757,532737223,532737253,532737323,532737533,532752257,532752277,532752377,532752523,532752527,532752553,532752557,532752733,532753237,532753357,532753373,532753553,532755227,532755253,532755277,532755733,532755737,532755757,532757273,532757327,532757333,532757377,532772237,532773277,532773337,532773757,532775227,532775273,532775533,532775773,532775777,532777373,532777523,532777577,532777723,532777733,532777753,532777757,533222237,533222257,533222273,533222377,533222737,533223253,533223373,533223527,533223553,533223557,533223773,533225227,533225533,533225573,533225753,533227337,533227523,533227573,533227733,533227777,533232257,533232277,533232373,533232533,533232577,533233277,533235233,533235253,533235337,533235377,533235523,533235533,533237233,533237737,533237753,533252257,533252333,533252353,533252773,533252777,533253223,533253233,533253323,533253527,533253577,533255237,533255257,533255353,533255533,533255537,533255573,533255753,533255777,533257223,533257337,533257573,533257733,533272237,533272253,533273537,533273723,533273737,533273753,533275333,533275357,533275373,533275727,533275753,533277257,533277373,533277733,533277737,533322253,533322277,533322323,533322337,533322373,533322523,533322527,533322577,533323237,533323723,533325277,533325577,533325757,533327227,533327233,533327357,533327533,533327537,533327573,533332237,533332357,533332727,533332777,533333557,533333737,533333777,533335277,533335337,533335553,533335573,533337223,533337253,533337373,533337377,533337527,533337533,533337577,533352233,533352277,533352353,533353273,533353277,533353577,533353753,533357533,533357537,533357777,533372233,533372527,533372533,533372537,533372557,533372573,533373227,533373233,533373277,533373557,533373727,533375237,533375327,533375377,533375723,533377277,533377357,533377777,533522357,533522377,533522537,533522557,533522777,533523233,533523773,533525327,533525353,533525777,533527223,533527327,533527523,533532277,533532353,533533573,533533733,533533757,533535253,533535377,533537227,533537527,533537723,533537773,533552323,533553233,533553323,533553337,533553373,533553533,533553737,533555527,533557273,533557333,533557357,533557727,533572723,533572777,533573273,533573353,533573357,533573533,533573723,533573753,533573773,533575253,533575373,533575573,533575733,533577227,533577337,533577377,533577523,533577727,533577773,533722223,533722237,533722253,533722333,533722573,533722723,533723327,533723573,533725223,533725573,533725723,533725757,533727277,533727737,533727757,533732233,533732237,533732533,533732557,533732723,533732753,533732777,533733223,533733253,533733257,533733337,533733737,533733773,533735357,533735537,533737223,533737273,533737277,533737537,533737573,533737733,533752523,533752733,533753237,533753327,533753333,533753533,533753537,533753723,533755357,533755553,533755757,533757233,533757277,533757337,533757373,533757377,533757737,533772227,533772257,533772527,533772553,533772557,533772737,533773223,533773237,533773553,533773573,533773733,533773753,533775257,533775323,533775337,533775377,533775523,533777227,533777327,533777527,533777557,533777737,533777753,535222273,535222277,535222537,535222553,535222573,535223237,535223527,535223573,535225253,535225277,535225337,535225577,535225723,535225753,535227223,535227233,535227377,535227757,535232227,535232273,535232353,535232377,535232723,535233323,535233353,535233733,535233757,535235257,535235333,535235357,535235537,535235557,535237223,535237273,535237553,535237777,535252273,535252337,535252373,535252537,535252577,535253227,535253353,535253357,535253527,535253557,535253573,535253737,535253753,535253773,535255337,535255537,535255577,535255733,535257323,535257523,535257533,535257557,535257773,535272233,535272253,535272533,535272733,535273223,535273337,535273357,535275227,535275253,535275373,535275737,535277227,535277233,535277573,535322573,535323223,535323227,535323277,535323323,535323337,535323377,535325227,535325237,535325327,535325353,535325537,535325573,535325753,535327537,535327753,535332223,535332253,535332377,535332527,535332557,535333237,535335323,535335533,535335727,535337323,535337333,535337377,535352273,535352327,535352333,535352357,535352527,535352723,535352773,535352777,535353257,535353337,535353733,535353757,535355273,535357237,535357373,535357733,535372223,535372553,535372777,535373227,535373233,535373327,535373533,535375333,535375553,535375573,535375723,535375727,535377257,535377373,535377377,535377527,535377553,535377757,535522237,535522327,535522373,535522727,535523257,535523557,535525337,535525777,535527257,535527533,535532377,535532573,535533353,535533527,535535327,535535537,535535557,535535573,535535753,535535773,535537333,535552223,535552273,535552327,535552553,535553537,535553573,535555277,535555327,535555357,535555577,535555733,535555753,535557223,535557227,535557727,535557773,535572533,535572553,535572577,535572773,535573237,535573327,535573553,535573723,535575253,535575323,535575373,535575577,535575727,535577323,535577533,535577723,535722373,535722757,535723577,535723723,535723733,535725727,535725737,535732553,535732723,535732777,535733357,535733533,535733773,535735537,535735727,535735777,535737277,535737353,535737533,535737557,535737773,535752227,535752353,535752727,535752733,535753223,535753327,535753553,535753577,535755553,535755557,535757237,535757273,535757353,535757773,535757777,535772227,535772533,535772537,535772737,535773223,535773253,535773373,535773577,535773737,535775237,535775257,535775323,535775327,535775333,535777223,535777237,535777273,535777327,535777337,535777757,537222337,537222373,537222533,537222733,537222773,537223223,537223327,537223373,537223777,537225223,537225373,537225523,537225737,537227333,537227723,537232237,537232537,537232723,537232727,537232757,537232777,537233233,537233273,537233777,537235253,537235277,537235327,537235553,537235577,537235733,537237257,537237353,537237577,537237737,537237773,537252257,537252323,537252523,537252533,537252553,537252733,537252757,537252773,537253373,537253537,537253553,537253723,537253753,537255377,537255527,537255557,537255737,537257233,537257377,537257753,537272257,537272327,537272353,537273277,537273323,537273523,537273557,537273727,537273733,537273757,537275227,537275737,537277373,537277753,537322327,537323257,537323273,537323357,537323753,537325277,537325357,537325753,537327233,537327253,537327257,537327577,537327737,537332273,537332333,537332377,537332527,537332557,537332573,537332737,537333253,537333523,537333553,537333733,537335233,537335723,537335737,537337237,537337277,537337327,537337357,537337553,537337573,537337733,537352237,537352373,537352523,537352537,537352757,537353237,537353723,537353737,537353777,537355327,537355337,537355373,537355573,537355723,537357277,537357377,537357577,537357727,537372223,537372323,537372557,537372757,537373327,537373337,537373373,537373777,537375277,537375373,537375737,537377227,537377353,537377377,537377527,537377537,537377573,537522373,537522533,537522553,537522757,537523237,537523333,537523733,537523757,537525733,537527377,537527737,537527773,537532253,537532273,537532277,537532577,537532727,537532733,537532757,537533323,537533327,537533377,537533527,537533537,537535333,537535337,537535357,537535373,537535723,537535727,537535777,537537277,537552233,537552377,537553273,537553553,537555253,537555323,537555377,537555523,537555527,537555533,537555727,537555773,537557257,537557773,537572237,537572257,537572723,537572773,537573233,537573277,537573353,537573373,537573577,537573727,537573737,537575333,537575537,537577223,537577253,537722323,537722327,537722377,537722527,537722533,537722557,537722573,537722737,537722753,537722777,537723337,537723353,537723577,537723727,537723773,537725323,537725527,537725723,537727727,537727733,537727753,537727777,537732257,537732277,537732323,537732523,537732557,537732577,537732757,537733253,537733277,537733333,537733523,537735227,537735277,537735553,537737237,537737257,537737323,537737357,537737533,537737773,537752273,537752353,537752533,537752557,537752737,537753277,537753737,537753773,537755227,537755557,537755723,537755737,537755753,537755773,537757327,537757373,537757523,537757537,537757757,537772357,537772727,537772777,537773227,537773237,537773323,537773527,537775253,537777223,537777353,537777557,552222227,552222233,552222277,552222337,552222353,552222523,552222533,552222557,552222733,552222773,552223237,552223333,552223337,552223523,552225257,552225353,552225523,552225757,552227353,552227777,552232223,552232237,552232327,552232537,552233237,552233273,552233327,552233377,552233723,552233753,552235223,552235253,552235573,552235577,552235753,552235757,552237233,552237353,552237533,552237557,552252353,552252523,552252577,552253223,552253327,552253553,552253573,552253727,552255227,552255337,552255373,552257273,552257323,552257723,552257753,552272377,552272737,552275233,552275533,552275557,552277223,552277273,552277553,552277727,552277753,552322223,552322373,552322523,552323323,552323333,552323537,552325237,552325253,552325327,552325777,552327227,552327323,552327353,552327553,552327557,552327577,552332237,552332273,552332323,552332353,552332357,552332723,552333233,552333253,552333337,552335237,552335323,552335327,552335533,552335753,552337573,552352373,552352727,552353323,552353773,552353777,552355357,552355523,552355577,552355777,552357373,552357737,552372253,552372257,552372323,552372533,552372757,552373223,552373253,552373273,552373277,552373373,552373573,552375233,552375253,552375323,552375533,552375757,552375773,552377227,552377327,552377333,552522227,552522533,552522577,552523253,552523277,552523327,552523373,552523537,552523577,552523753,552525223,552525277,552525577,552527233,552527237,552527333,552527737,552532237,552532333,552532373,552532537,552532573,552532777,552533227,552533237,552533323,552533353,552533537,552535237,552535327,552535733,552535757,552537527,552552223,552552227,552552557,552552577,552552757,552553223,552553273,552553333,552553753,552553777,552555257,552555733,552555737,552557227,552557527,552557573,552572257,552572323,552572327,552572353,552572357,552572533,552573353,552573533,552573733,552573737,552573773,552575377,552577327,552577373,552577723,552577757,552577777,552722327,552723253,552723727,552723733,552723757,552725323,552725377,552725533,552725737,552725773,552727723,552727757,552732353,552732533,552733253,552733277,552733333,552733373,552733523,552733757,552733777,552735223,552735257,552735527,552735553,552735577,552735727,552737333,552737573,552737723,552737737,552752257,552752323,552752327,552752737,552752777,552753233,552753277,552753337,552753373,552753577,552755537,552755737,552757273,552757277,552757523,552757573,552757577,552757727,552772523,552772553,552772573,552773227,552773257,552773527,552773777,552775273,552775337,552775373,552775577,552775777,552777257,552777527,552777553,552777557,552777733,552777737,553222223,553222277,553222723,553222757,553223773,553223777,553225327,553225333,553225537,553225733,553227223,553227253,553227377,553232227,553232233,553232237,553232527,553232753,553232773,553233253,553233323,553233353,553233727,553235227,553235273,553235357,553235533,553235737,553237337,553237523,553237537,553237733,553237753,553237757,553252523,553252723,553253357,553253377,553253557,553253573,553255733,553257323,553257377,553257557,553272227,553272233,553272277,553272373,553272557,553272757,553273373,553273537,553273723,553273727,553273753,553275227,553275257,553275323,553275337,553275377,553275577,553275757,553277323,553277533,553322227,553322333,553322527,553322533,553322537,553323257,553323737,553323773,553332233,553332553,553332757,553333537,553333553,553333577,553333733,553335323,553335527,553335553,553335577,553335733,553337227,553337333,553337557,553337753,553352273,553352323,553352357,553352557,553353233,553353253,553353323,553353373,553353523,553353533,553355333,553355377,553355533,553355723,553357373,553357537,553357573,553372357,553372733,553373237,553373257,553375223,553375253,553375373,553375723,553375727,553375733,553375777,553377257,553377733,553522223,553522373,553522727,553522757,553522777,553523237,553523273,553523323,553523777,553525223,553525277,553525333,553525573,553525733,553525757,553527277,553527523,553527577,553532227,553532233,553532323,553532527,553532533,553532557,553532737,553532753,553533223,553533553,553535327,553535377,553535737,553537253,553537727,553552253,553552277,553552537,553552553,553552577,553553257,553553323,553553527,553555537,553555577,553555777,553557223,553557227,553557373,553557377,553557527,553557727,553572233,553572323,553572373,553572527,553572557,553573523,553573733,553575553,553575733,553577333,553577357,553577377,553577737,553722277,553722733,553722737,553723223,553723273,553723553,553723727,553725257,553725353,553725553,553727227,553727333,553732237,553732253,553732373,553733233,553733353,553733573,553733737,553735223,553735277,553735757,553737257,553737337,553737553,553737727,553737773,553752223,553752233,553752257,553752337,553752527,553752553,553753553,553753573,553753757,553753777,553755253,553755277,553755353,553755523,553755557,553755757,553757273,553757327,553757333,553757753,553757773,553757777,553772227,553772257,553772333,553773523,553773527,553773557,553775237,553775333,553775377,553775773,553777223,553777253,553777333,553777573,553777733,555222253,555222257,555222337,555222373,555222557,555222727,555223223,555223373,555223523,555223577,555225257,555225527,555227227,555227237,555227273,555227357,555227537,555227773,555232253,555232273,555232333,555232577,555233227,555233233,555233323,555233377,555233533,555233537,555233557,555235277,555235337,555235523,555235553,555235753,555237257,555237533,555237737,555237757,555252227,555252337,555252353,555252553,555252757,555252773,555253273,555253277,555253333,555253357,555255223,555255553,555255737,555255773,555257533,555257537,555257737,555257777,555272257,555272273,555272353,555272533,555272537,555273253,555273377,555275257,555275533,555275737,555277253,555277573,555322333,555322577,555322727,555323227,555323273,555323323,555323533,555323737,555325237,555325333,555325357,555325373,555325733,555327233,555327727,555332257,555333253,555333277,555333323,555333377,555335227,555335237,555335273,555335327,555335357,555335527,555335723,555335773,555335777,555337273,555337537,555337753,555352327,555352337,555352727,555353273,555353537,555353723,555353737,555355223,555355357,555355523,555355753,555357353,555357533,555357553,555357557,555357727,555372227,555372253,555372557,555372733,555372737,555372773,555373223,555373237,555373253,555373327,555373523,555373723,555373727,555373757,555375553,555375577,555375773,555377227,555377237,555522553,555522557,555522727,555523277,555523373,555523757,555525227,555525253,555525323,555525727,555525757,555527227,555527237,555527333,555527353,555532357,555532573,555532723,555532727,555532753,555533233,555533257,555535373,555535523,555535553,555535573,555535727,555535777,555537337,555537533,555537557,555537727,555537737,555537757,555552227,555552323,555552377,555552523,555552553,555552577,555552757,555553277,555553333,555553337,555555527,555557227,555557323,555557333,555557537,555557557,555572233,555572273,555572333,555572377,555572533,555573233,555573253,555573553,555575233,555575353,555575737,555577223,555577573,555577723,555722227,555723257,555723277,555723373,555723733,555725323,555725327,555725353,555727273,555727327,555727537,555727723,555732253,555732337,555732557,555733237,555733357,555733727,555733753,555735277,555735353,555735373,555735727,555735757,555737257,555737323,555737573,555737737,555737773,555752233,555752237,555752333,555752357,555752737,555752773,555753257,555753277,555753557,555753733,555753773,555755257,555755327,555755527,555755537,555755573,555755737,555757253,555757373,555757577,555757777,555772223,555772333,555772537,555772577,555772757,555773377,555773527,555773557,555773773,555775277,555775357,555775723,555775733,555777253,555777323,555777377,555777553,555777577,557222233,557222273,557222377,557222527,557222573,557222773,557222777,557223377,557225233,557225237,557225257,557225353,557225377,557227273,557227277,557227357,557227523,557227753,557232253,557232727,557232737,557233253,557233333,557233757,557233777,557235257,557235373,557235533,557235557,557235727,557235733,557235737,557237227,557237327,557237357,557237573,557252237,557252573,557252737,557253233,557253253,557253377,557253533,557253733,557253757,557255327,557255353,557255527,557255773,557257237,557257273,557257357,557257523,557257573,557257733,557272273,557272327,557272357,557272537,557272553,557272753,557272777,557273273,557273357,557273527,557273557,557273573,557273737,557275273,557275333,557275753,557275777,557277337,557277577,557277727,557323237,557323253,557323357,557323553,557323577,557325253,557325733,557327233,557327273,557327377,557327557,557332253,557332327,557332333,557332357,557332553,557332753,557333527,557333533,557333573,557335237,557335277,557335777,557337257,557337373,557337533,557337727,557337733,557352223,557352377,557352557,557352577,557352727,557353723,557355223,557355377,557357327,557357527,557357573,557357777,557372323,557372377,557372537,557372723,557375233,557375327,557375527,557375723,557377237,557377253,557377553,557522227,557522233,557522257,557522527,557522723,557522753,557523223,557523227,557523233,557523553,557525323,557525737,557527573,557527577,557532233,557532373,557532557,557532733,557533253,557533337,557533373,557533523,557535557,557535733,557537237,557537333,557537537,557552227,557552257,557552323,557552327,557552353,557552357,557552377,557552573,557553277,557553553,557553757,557555333,557555353,557555533,557557327,557557373,557557573,557557577,557557753,557572333,557572373,557572523,557572577,557572733,557573273,557573323,557573353,557573773,557575253,557575573,557575727,557577277,557722223,557723227,557723357,557723753,557725537,557725573,557725577,557725757,557727257,557727277,557727323,557727377,557727523,557727557,557732237,557732323,557732557,557732573,557732737,557733727,557735237,557735527,557735777,557737253,557737333,557737553,557737573,557737577,557737727,557737753,557752333,557752523,557752757,557753233,557753737,557753773,557755277,557755327,557755333,557755553,557755573,557755777,557757223,557757353,557757373,557757527,557757533,557772223,557772353,557772377,557772773,557773273,557773357,557773523,557773577,557773753,557775377,557775527,557775577,557777237,557777333,557777533,557777537,557777557,557777573,572222257,572222323,572222537,572222557,572223257,572223373,572223727,572225237,572225273,572225327,572225557,572227223,572227577,572227723,572232337,572232373,572232377,572232533,572233237,572235233,572235373,572235523,572235577,572235737,572237257,572237273,572237327,572237333,572237377,572237557,572237753,572252257,572252353,572253257,572253527,572253557,572253727,572255323,572255353,572255533,572255557,572255773,572257253,572257327,572257753,572272237,572272277,572272373,572272523,572272553,572272577,572273323,572273333,572273573,572273753,572275273,572275373,572275553,572277227,572277257,572277523,572277527,572277553,572277737,572322577,572322757,572323327,572323373,572323573,572323753,572325253,572325337,572325557,572325727,572325737,572327233,572327527,572327533,572327737,572327753,572327773,572332223,572332333,572332373,572332723,572332753,572333233,572333323,572333327,572333527,572333533,572333557,572333753,572333777,572335273,572335333,572337253,572337257,572337277,572337553,572352533,572352553,572353237,572353553,572355227,572355577,572357237,572357353,572357537,572372377,572372557,572373253,572373353,572373577,572373773,572375333,572375527,572377523,572377577,572377723,572522527,572522723,572522773,572522777,572523227,572523233,572523277,572523323,572523353,572523527,572523557,572523727,572525237,572525273,572525323,572525333,572525357,572527223,572527237,572527573,572527733,572527777,572532223,572532277,572532523,572532533,572532577,572533277,572533757,572535323,572535737,572537333,572537377,572537557,572537723,572537753,572552377,572552573,572553253,572553323,572553337,572555233,572555273,572555377,572555777,572557523,572557577,572572237,572572337,572572537,572572577,572573273,572573327,572573537,572575253,572575327,572575357,572575723,572575727,572575733,572577277,572577757,572577773,572722237,572722253,572722277,572723257,572723527,572723537,572723737,572723773,572725337,572725577,572725723,572727257,572727377,572727523,572727733,572732323,572732527,572732557,572732723,572732773,572733523,572733527,572735237,572735257,572737337,572737523,572752223,572752277,572752333,572752337,572752357,572752577,572752723,572752727,572752757,572753227,572753257,572753333,572755333,572755723,572755727,572757233,572757277,572757533,572757553,572757737,572772223,572772257,572772323,572772353,572772373,572772377,572772553,572772773,572773273,572773723,572775257,572775353,572775377,572775527,572775757,572777323,572777333,572777537,573222257,573222277,573222553,573222577,573222733,573223577,573223753,573225253,573225277,573225337,573225353,573225377,573225553,573225577,573225727,573225773,573227357,573227723,573227773,573232327,573232553,573232733,573232757,573233257,573233327,573233377,573233527,573233723,573233753,573235237,573235253,573235337,573235357,573235577,573237227,573237253,573237527,573237737,573252353,573252377,573252523,573252557,573253223,573253337,573255223,573255227,573255233,573255253,573255337,573255377,573255737,573257233,573257327,573257353,573272533,573272737,573272773,573273223,573273257,573273277,573273353,573273527,573273553,573273737,573273773,573275233,573275323,573275537,573275557,573275737,573275753,573277273,573277337,573322327,573322553,573322573,573322723,573322753,573323327,573323353,573325537,573325553,573325733,573325777,573327257,573327277,573327577,573332237,573332527,573333323,573333557,573333727,573333757,573335233,573335327,573335333,573335377,573335533,573337333,573337577,573337757,573352277,573352327,573352757,573353227,573353233,573353273,573353353,573353533,573353777,573355273,573355337,573355373,573355553,573355733,573357223,573357373,573357377,573357773,573372227,573372257,573372323,573372523,573373277,573373357,573373373,573373553,573373573,573373733,573375553,573375577,573375757,573377353,573377737,573522223,573522337,573522377,573522527,573522553,573522737,573523537,573523553,573525223,573525727,573527237,573527527,573527723,573527737,573527753,573527777,573532273,573532327,573532373,573532777,573533227,573533357,573535327,573537253,573537337,573537527,573537533,573537557,573537737,573552253,573552277,573552527,573552737,573553273,573553373,573553523,573553753,573555553,573555557,573555727,573557333,573557723,573557773,573572257,573572723,573572773,573572777,573573527,573573757,573575557,573575573,573577223,573577273,573722323,573722533,573723233,573725237,573725353,573725377,573725573,573727223,573727327,573727523,573727537,573727727,573732223,573732233,573732253,573732377,573732773,573733373,573733577,573733753,573733777,573735257,573735277,573735353,573735373,573735527,573735577,573737327,573737377,573752233,573752323,573752353,573753233,573753277,573753337,573753577,573755333,573755573,573755753,573757237,573757253,573757357,573757523,573757537,573757753,573757757,573757777,573772723,573772777,573773257,573773377,573773573,573773773,573775537,573775757,573775777,573777277,573777733,575222227,575222233,575222257,575222377,575223533,575223557,575223757,575225227,575225557,575227273,575227327,575227573,575232223,575232227,575232727,575233223,575233273,575233277,575233333,575233537,575233753,575235223,575235257,575235277,575235373,575235757,575237323,575237573,575237753,575237777,575252527,575252737,575253353,575253373,575253533,575253737,575255227,575255237,575255273,575255357,575255573,575257523,575257733,575257777,575272223,575272723,575273227,575273233,575273273,575273357,575273527,575273533,575273537,575273753,575275237,575275273,575275577,575277253,575277277,575277377,575277523,575277737,575322323,575322523,575322733,575322773,575323223,575323253,575323733,575323753,575325227,575325323,575325523,575327237,575327323,575327327,575327737,575332237,575332253,575332333,575332357,575332523,575332553,575332753,575333237,575333257,575333323,575333327,575333333,575335253,575335753,575337223,575337253,575337533,575337577,575352353,575352523,575352773,575353237,575353327,575353553,575355353,575355377,575355527,575355533,575355577,575355727,575355773,575357227,575357257,575357273,575357527,575357773,575357777,575372227,575372257,575372323,575372333,575372353,575372377,575372537,575372753,575373223,575373527,575373737,575375237,575375323,575375737,575375777,575377277,575377333,575377373,575377757,575522257,575522273,575522323,575522357,575522557,575522723,575523257,575523337,575523527,575523757,575525227,575525233,575525273,575525537,575525723,575527553,575527573,575527723,575527753,575532233,575532257,575532277,575532323,575532523,575532527,575532533,575532757,575533223,575533573,575533733,575535223,575535253,575535353,575535523,575535757,575537233,575537353,575537777,575552777,575553233,575553523,575557327,575557553,575557573,575557733,575557757,575572237,575572357,575572373,575572573,575572727,575573227,575573723,575573753,575573773,575575373,575575723,575575757,575577253,575577257,575577523,575577757,575722237,575722253,575722327,575722373,575722727,575722733,575722753,575722757,575723233,575723527,575723777,575725277,575725357,575725537,575727377,575727527,575727533,575727727,575732233,575732533,575732753,575733227,575733377,575733527,575733737,575733773,575735257,575735327,575735357,575735737,575737223,575737553,575737573,575737577,575752223,575752253,575752273,575752577,575752777,575753377,575753527,575753533,575753537,575753557,575753573,575753723,575755223,575755253,575755373,575755577,575755753,575757253,575757257,575757277,575757337,575757527,575757737,575757773,575772227,575772277,575772557,575772727,575773273,575773333,575773753,575775223,575775377,575775527,575775727,575777333,575777537,575777737,575777773,577222273,577222357,577222577,577222727,577223753,577225223,577225373,577225577,577225723,577225777,577227253,577227337,577227523,577227557,577227737,577227773,577232273,577232377,577232527,577232753,577233233,577233253,577233353,577235237,577235273,577235353,577235377,577235573,577237223,577237723,577252237,577252327,577252553,577252573,577252727,577252777,577253527,577253533,577253557,577253753,577253773,577255253,577255337,577255577,577255727,577255733,577255753,577257323,577257353,577257523,577257773,577272337,577272373,577273327,577273553,577275323,577275353,577275553,577275577,577275737,577275773,577277227,577277273,577277333,577277353,577277527,577277573,577277773,577322237,577322323,577322527,577323233,577323277,577323353,577323577,577323737,577325527,577325753,577327253,577327523,577327537,577327757,577332277,577332533,577332557,577333223,577333577,577333733,577335223,577335373,577335377,577335553,577337333,577337353,577337377,577337773,577337777,577352257,577352273,577352323,577352353,577352537,577352557,577352723,577353233,577353253,577353523,577355327,577355353,577355557,577355777,577357223,577357327,577357337,577357357,577357537,577372253,577372277,577372333,577372357,577372573,577372777,577373353,577373777,577375223,577375273,577375327,577375523,577377277,577377523,577377553,577377557,577377737,577522333,577523227,577523533,577523773,577527227,577527527,577527733,577527773,577532237,577532327,577532353,577532377,577532537,577532777,577533323,577533377,577533577,577535557,577537273,577537327,577537537,577537553,577537577,577537733,577537757,577552223,577552273,577552733,577552753,577553227,577553233,577553323,577553737,577555373,577555523,577555577,577555733,577555753,577557527,577572533,577572557,577572577,577573573,577573727,577573753,577573757,577575227,577575277,577575377,577575727,577577233,577577237,577577323,577577327,577577353,577577527,577577557,577577573,577577773,577722337,577722553,577723273,577723357,577723537,577723777,577725223,577725257,577725277,577725373,577725377,577725527,577725727,577725737,577727273,577727323,577727327,577727537,577732237,577732327,577732333,577732723,577732733,577733227,577733237,577733333,577733773,577735273,577735373,577735553,577735577,577737227,577737337,577737533,577737553,577737557,577737733,577737737,577737757,577737773,577752223,577752277,577752353,577752377,577752557,577753223,577753277,577753327,577753357,577753373,577753723,577755253,577755323,577755527,577755757,577757233,577757533,577757753,577757777,577772233,577772323,577772333,577772527,577772537,577772773,577773233,577773733,577775227,577775327,577775353,577775357,577777223,577777253,577777337,577777357,577777723,577777777,722222227,722222233,722222537,722222723,722223553,722223577,722223773,722225233,722225557,722227273,722227357,722227523,722232227,722232373,722232757,722233223,722233273,722233333,722233357,722235223,722235253,722235533,722235557,722235727,722237227,722237233,722237573,722237723,722237777,722252273,722252527,722252537,722252737,722253227,722253373,722253377,722253527,722253557,722253773,722255333,722255777,722257777,722272223,722272253,722272337,722272553,722273327,722273527,722273777,722275327,722275373,722275777,722277323,722277337,722277373,722277527,722277553,722277727,722277737,722277757,722322233,722322277,722322323,722322353,722322527,722323223,722323337,722323573,722325553,722327323,722327377,722327777,722332223,722332337,722332357,722332727,722332753,722333233,722333323,722333357,722335333,722335373,722335577,722335727,722337257,722337277,722337323,722337353,722337373,722337377,722337523,722337533,722352233,722352373,722352377,722352523,722352557,722352737,722353727,722355523,722357323,722357737,722357773,722372257,722372377,722372527,722373233,722373277,722375257,722375323,722375327,722375777,722377273,722377373,722377723,722377727,722522233,722522257,722522527,722522533,722522753,722522777,722523337,722523523,722523533,722523553,722523757,722525537,722525723,722527277,722527733,722532227,722532773,722535227,722535257,722535337,722535523,722535733,722537227,722537237,722537323,722537353,722537527,722537573,722552323,722552333,722552353,722552533,722552737,722552773,722553233,722553323,722553523,722553577,722553757,722555333,722555377,722555527,722555737,722555773,722557237,722557373,722557523,722557553,722557573,722557727,722557757,722572237,722572757,722573227,722573323,722573353,722573377,722573557,722575523,722575753,722577227,722577337,722577377,722577553,722722237,722722723,722722733,722722753,722723233,722723357,722723723,722723773,722725253,722725277,722725727,722725753,722727227,722727233,722727323,722727337,722727527,722732557,722732723,722732753,722733553,722733727,722735227,722735257,722737373,722737537,722737573,722752237,722752273,722752333,722752727,722752753,722752757,722753237,722753333,722753533,722753753,722753777,722755273,722755277,722755757,722757253,722757557,722757577,722757733,722757757,722772227,722772353,722772727,722772773,722773253,722773273,722773333,722773553,722773573,722775223,722775337,722775377,722775577,722775727,722775773,722777273,722777333,722777533,722777773,722777777,723222257,723222337,723222727,723222733,723223577,723223757,723223777,723225277,723225323,723225337,723225533,723227353,723227357,723227777,723232273,723232277,723232327,723232357,723232733,723233237,723233323,723233327,723233353,723233527,723235223,723235273,723235333,723235753,723237227,723237233,723237373,723237577,723237727,723237733,723237773,723252223,723252377,723252527,723252533,723252553,723252577,723253273,723253327,723253337,723253757,723255233,723255353,723255527,723255733,723257237,723257257,723257273,723257527,723272257,723272777,723273227,723273233,723273527,723273557,723273737,723273757,723275233,723275237,723275533,723275753,723277253,723277327,723277537,723277553,723277727,723322333,723322337,723322573,723323233,723323257,723323723,723323773,723325237,723325357,723325523,723327233,723327277,723327323,723327733,723327757,723332273,723332353,723333223,723333253,723333277,723333577,723333733,723333773,723335357,723335537,723335773,723337273,723337523,723337553,723337723,723352327,723352337,723352373,723352523,723352577,723353227,723353273,723353357,723353537,723353557,723353753,723353777,723355277,723355357,723355537,723355573,723355757,723357277,723357373,723357377,723357553,723357737,723372233,723372277,723372373,723372523,723372557,723372733,723372737,723372773,723373327,723373333,723375253,723375377,723377233,723377257,723377357,723377377,723377533,723377723,723522377,723522727,723523223,723523237,723523253,723523327,723523357,723523573,723525277,723527377,723532237,723532723,723532727,723533227,723533537,723533773,723535237,723535327,723535537,723537253,723537523,723537557,723552227,723552253,723552257,723552373,723552527,723552553,723552727,723552757,723553253,723553553,723553777,723555223,723555253,723555257,723555337,723555727,723555733,723557353,723557357,723557377,723557777,723572273,723572323,723572723,723572737,723572753,723573233,723573337,723573377,723575323,723575327,723575353,723575357,723577277,723577523,723577537,723577573,723722323,723722357,723722533,723722557,723722737,723722777,723723223,723723227,723723233,723723527,723725227,723725237,723725573,723725773,723727237,723727373,723727523,723727577,723732223,723732227,723732277,723732353,723732377,723732557,723733273,723733277,723733573,723735277,723735323,723735553,723735557,723735757,723737323,723737327,723737533,723752273,723752537,723752773,723753533,723753553,723753557,723753773,723755257,723755273,723755377,723755573,723755737,723755777,723757273,723757357,723757733,723757753,723757757,723772237,723772277,723772337,723772537,723772723,723773333,723773527,723773737,723775333,723775373,723775733,723775757,723777233,723777557,723777577,725222233,725222273,725222327,725222357,725222527,725222753,725222777,725223227,725223277,725223523,725225257,725225273,725227337,725227537,725227553,725227577,725232323,725232533,725232727,725233253,725233573,725233727,725233777,725235227,725235253,725235353,725235373,725235727,725235773,725237273,725237327,725237537,725237753,725252273,725252323,725252327,725252357,725252557,725253233,725253377,725253527,725253533,725253553,725255353,725255723,725255753,725257373,725257537,725257727,725272523,725272727,725273233,725273257,725273327,725273357,725275273,725275337,725275553,725275723,725277227,725277337,725277353,725277523,725277533,725277757,725322337,725322727,725322737,725323237,725325233,725325257,725325277,725325373,725325533,725325773,725327237,725327377,725327753,725327773,725327777,725332337,725332357,725332537,725332753,725333333,725333353,725333527,725333573,725335253,725335553,725335727,725337253,725337337,725337533,725337553,725337727,725337737,725337757,725352377,725352527,725352557,725352577,725352757,725353333,725353357,725353723,725353753,725353777,725355377,725355727,725355737,725357257,725357327,725357573,725357723,725357753,725372227,725372237,725372353,725372723,725373227,725373373,725373377,725373577,725375257,725375353,725375527,725375723,725377337,725377357,725377537,725377727,725522527,725522533,725522573,725522723,725522737,725522773,725523277,725523353,725523373,725523527,725523727,725525233,725525527,725525573,725525753,725527223,725527277,725527333,725527357,725527373,725527553,725527753,725527757,725532257,725532377,725532523,725532737,725532757,725533357,725533537,725533577,725535227,725535277,725535557,725535737,725535773,725537273,725537377,725552237,725552327,725552357,725552533,725553373,725553553,725555377,725555573,725555737,725555773,725557253,725557373,725557537,725557727,725572333,725572537,725572753,725573227,725573323,725573377,725575327,725575337,725575523,725575573,725577277,725577577,725722237,725722357,725722733,725722757,725723227,725723233,725723333,725723357,725723377,725723723,725723773,725725277,725725327,725725337,725725573,725727227,725727253,725727323,725727377,725732327,725732333,725732353,725732377,725732753,725733277,725733377,725733527,725733773,725735323,725735333,725735573,725735737,725735753,725737223,725737253,725737577,725737723,725752277,725752337,725752553,725752757,725753233,725753257,725753537,725755253,725755357,725755523,725755577,725755727,725755753,725755757,725757223,725757323,725757377,725757757,725772233,725772557,725772577,725772737,725773273,725773327,725773357,725773523,725773733,725773753,725773757,725773777,725775527,725775553,725775773,725777323,725777737,727222253,727222577,727223723,727225253,727225357,727227253,727227323,727227733,727232227,727232257,727232533,727232773,727233223,727233257,727233553,727233737,727235273,727235323,727235533,727235557,727235753,727237223,727237333,727237573,727237757,727252277,727252327,727252523,727252733,727252753,727253257,727253323,727253327,727253533,727253573,727253753,727255357,727255777,727257233,727257253,727257277,727257337,727257577,727257733,727272277,727272577,727272727,727272737,727272773,727273357,727273553,727273727,727275233,727275377,727277233,727322257,727322333,727322573,727322723,727322737,727323253,727323353,727323757,727325257,727325537,727327253,727327333,727327723,727327753,727332253,727332527,727332533,727332577,727332737,727332773,727333723,727333757,727335227,727335727,727335773,727337573,727352273,727352573,727352753,727353233,727353373,727353773,727355227,727355327,727355333,727355357,727355533,727355537,727355753,727357273,727357777,727372223,727372253,727372273,727372333,727372733,727372757,727373327,727373357,727373557,727375223,727375553,727377227,727377373,727377377,727377523,727377533,727377577,727377733,727522277,727522337,727522357,727522373,727522553,727522753,727523227,727523273,727523353,727523777,727525237,727525537,727525553,727525573,727527253,727527323,727527377,727527527,727527737,727532233,727532237,727532257,727532723,727532753,727532777,727533223,727533277,727533337,727533523,727535257,727535273,727535323,727535353,727535357,727535527,727535737,727535777,727552223,727552327,727552373,727552577,727553257,727553753,727557277,727557353,727557527,727557533,727557577,727572233,727572253,727572257,727572353,727572523,727572733,727573277,727573333,727573537,727573727,727573753,727573757,727575257,727575323,727577327,727577737,727722377,727722727,727722733,727722773,727723253,727723537,727723553,727723723,727725223,727725227,727725233,727725253,727725353,727725373,727727233,727727353,727727557,727732273,727732333,727732553,727733257,727733273,727733533,727733557,727735223,727735237,727735537,727735727,727735753,727737253,727737323,727737557,727737727,727752323,727752523,727752527,727752737,727753223,727753277,727753553,727753573,727753757,727755253,727755277,727755373,727755577,727755733,727757377,727757533,727772323,727772753,727773227,727773253,727773257,727773353,727775273,727775333,727775353,727775357,727775527,727775537,727775723,727777553,727777733,732222373,732222553,732222577,732222727,732222737,732222773,732223277,732223573,732223727,732223757,732225257,732225323,732225773,732227227,732227233,732227357,732227557,732227737,732227753,732227773,732232273,732232327,732232357,732232777,732233323,732233753,732235327,732235723,732235727,732235733,732237323,732237353,732237553,732237557,732237757,732252223,732252277,732252337,732252377,732252737,732253237,732253337,732253523,732255257,732255523,732255553,732257353,732257573,732257723,732272237,732272257,732272357,732272377,732272557,732273323,732273337,732273527,732273557,732273727,732273757,732275353,732275573,732275737,732277277,732277327,732277373,732277523,732322237,732322523,732322727,732322733,732323227,732323257,732323353,732323357,732323377,732323533,732323723,732325273,732325357,732327223,732327373,732327523,732327733,732327737,732332233,732332723,732333223,732333227,732333257,732333337,732333377,732333727,732335377,732337253,732352237,732352273,732352337,732352553,732353227,732353257,732353533,732353753,732353773,732355553,732355573,732355727,732357323,732357377,732357523,732357757,732372227,732372353,732372373,732372577,732373237,732373253,732373273,732373333,732373553,732373727,732375227,732375233,732375323,732375337,732375733,732522253,732522533,732522727,732522733,732522737,732522773,732523327,732523357,732523553,732523723,732525337,732525377,732525527,732527233,732527527,732527753,732532223,732532237,732532277,732532357,732532733,732533227,732533357,732533377,732533777,732535333,732535337,732535523,732535537,732535577,732537233,732537277,732537353,732537527,732552523,732552533,732552727,732553223,732553373,732553573,732553727,732555227,732555533,732555553,732555557,732557237,732557333,732557377,732557533,732557737,732557753,732557773,732572327,732572557,732572773,732572777,732573223,732573227,732573277,732573337,732573533,732573577,732573733,732575273,732575527,732575573,732575773,732577273,732577327,732577537,732577733,732577777,732722233,732722773,732723227,732723377,732723737,732723757,732725327,732725353,732725527,732725533,732725753,732727273,732727327,732727357,732727553,732727573,732727577,732727733,732727753,732727777,732732223,732732227,732732233,732732323,732732353,732732757,732733273,732733327,732733523,732733553,732733723,732735277,732735557,732735737,732737227,732737237,732737333,732737353,732737377,732737557,732737737,732752323,732752327,732752333,732752353,732752737,732752777,732753253,732753557,732753577,732753733,732755227,732755237,732755357,732755377,732755537,732757327,732757357,732757373,732757523,732757537,732757573,732757733,732772553,732772577,732772727,732773227,732773357,732773527,732773533,732773773,732773777,732775357,732775553,732775573,732775723,732777223,732777257,732777337,732777373,732777527,732777533,733222277,733222333,733222537,733222753,733223723,733223773,733225553,733225777,733227223,733227277,733227337,733227553,733227577,733227773,733232237,733232273,733232527,733232537,733232777,733233223,733233227,733235227,733235257,733235273,733235353,733235533,733235537,733235557,733237573,733237577,733237777,733252537,733252573,733253237,733253557,733255333,733255723,733255777,733257337,733257377,733257533,733257737,733272523,733272557,733272733,733272737,733273337,733273357,733273577,733273753,733273757,733273777,733275253,733275377,733275533,733275553,733275577,733275733,733275757,733277257,733322273,733322327,733322533,733322773,733323223,733323233,733323257,733323523,733323533,733325323,733325773,733327223,733327237,733327253,733332527,733332727,733333273,733333373,733333553,733333723,733333753,733335527,733335727,733335737,733337257,733337273,733337537,733337723,733352357,733352533,733352537,733353233,733353277,733353323,733353337,733353553,733353557,733355323,733355353,733355377,733355527,733355533,733355723,733357327,733357337,733357523,733357727,733372223,733372327,733372337,733373323,733373777,733375337,733375523,733375757,733377223,733377233,733377277,733377353,733522253,733522327,733522553,733522577,733522733,733523227,733523237,733523537,733523737,733523753,733523773,733525337,733525577,733525753,733527337,733527757,733532237,733532357,733532557,733532573,733532777,733533223,733533373,733533533,733533553,733533557,733535233,733535273,733535353,733535357,733535723,733537523,733537757,733552327,733552357,733552373,733552553,733552577,733552727,733552733,733552753,733553573,733555327,733555373,733555733,733555777,733557323,733557373,733557533,733557733,733572277,733572353,733572377,733572527,733573537,733573733,733575223,733575257,733575523,733575527,733575553,733575737,733575757,733577237,733577723,733577777,733722233,733722337,733722377,733722523,733722527,733722553,733722557,733722727,733723273,733723337,733723537,733725233,733725353,733725533,733727227,733727257,733727537,733727557,733732537,733732723,733732777,733733257,733733333,733733353,733733573,733733723,733735333,733735523,733735733,733737253,733737377,733737523,733737553,733737757,733752323,733752373,733752557,733752727,733752737,733753277,733753373,733755353,733755553,733757273,733757527,733757533,733757537,733757573,733757737,733772323,733772737,733772773,733773223,733773253,733773323,733773727,733773773,733775227,733775333,733775723,733775737,733775753,733777237,733777333,733777537,733777573,733777753,735222223,735222533,735222737,735222757,735223273,735223277,735223777,735225527,735225553,735225737,735227323,735227737,735232723,735233333,735233377,735233777,735235223,735235577,735235727,735235777,735237227,735237353,735237523,735237533,735237577,735252233,735252373,735252527,735253223,735253273,735253333,735253357,735253373,735253573,735255223,735255277,735255523,735255533,735255553,735255757,735257273,735257527,735257557,735272227,735272273,735272323,735272357,735273323,735273523,735273557,735273577,735275227,735275327,735277237,735277373,735322327,735322537,735322733,735323227,735323273,735323327,735323353,735323527,735323557,735323573,735323737,735323753,735323773,735325223,735325273,735325523,735325727,735327253,735327377,735327557,735327577,735327757,735332327,735332557,735333233,735333353,735333527,735333757,735335233,735335327,735335333,735335353,735335773,735337333,735337357,735337553,735337723,735352237,735352273,735352327,735352523,735353537,735353753,735353777,735355237,735355573,735357223,735357353,735357373,735357523,735357737,735372233,735372277,735372377,735372733,735373237,735373333,735373553,735373577,735373757,735375257,735375577,735375733,735375737,735377233,735377527,735522233,735522257,735522757,735523223,735523273,735523757,735525223,735525233,735525377,735525523,735525727,735527537,735532253,735532277,735532537,735533273,735533333,735533527,735535237,735535373,735535573,735537223,735537377,735537757,735537773,735552227,735552253,735552353,735552373,735552527,735552737,735553223,735553237,735553333,735553573,735553723,735553727,735553733,735553757,735555323,735555727,735557237,735557323,735557327,735557357,735557723,735557737,735557777,735572237,735572333,735572353,735572533,735572753,735572777,735573227,735573233,735575233,735575257,735575327,735575537,735575573,735575723,735575773,735577277,735577327,735577357,735577553,735577753,735577757,735722527,735722777,735723253,735723277,735723323,735723337,735723523,735723553,735723727,735723733,735725233,735725327,735725377,735725533,735725537,735727273,735727327,735727357,735727373,735727753,735727777,735732223,735732323,735732337,735732373,735732553,735732727,735733373,735733553,735733577,735733727,735733753,735733777,735735223,735735277,735735733,735737273,735737533,735737537,735752323,735752573,735753377,735753527,735755233,735755357,735755557,735757237,735757277,735757357,735757523,735757727,735772237,735772273,735772333,735772727,735773273,735773327,735773333,735773377,735775223,735775273,735775333,735775373,735775577,735775753,735777233,735777253,735777353,735777557,737222537,737222737,737222753,737223737,737225227,737225273,737225737,737227223,737227237,737227537,737227723,737232233,737232257,737232277,737232337,737232373,737232527,737232533,737233223,737233327,737235553,737235557,737237227,737237533,737237773,737252273,737252353,737252533,737252723,737252773,737253277,737253323,737253733,737253757,737255227,737255273,737255353,737255557,737255723,737255737,737257237,737257273,737257357,737257373,737257553,737257757,737272223,737272357,737272727,737272777,737273233,737273333,737273377,737273557,737273573,737273723,737273737,737273753,737273773,737275223,737275337,737275537,737275723,737277257,737277337,737277727,737277757,737277773,737322353,737322373,737322527,737322577,737322727,737323273,737323553,737323577,737325577,737327237,737327273,737327323,737327333,737327533,737327753,737332333,737332523,737332553,737332577,737332733,737333273,737333327,737333777,737335273,737335327,737335733,737335777,737337233,737337373,737337527,737337533,737337553,737352257,737352337,737352557,737352727,737353277,737353327,737353523,737353537,737353753,737353777,737355233,737355727,737355733,737355757,737357273,737357353,737357527,737357557,737357737,737372257,737372327,737372353,737372527,737373253,737373323,737373523,737377237,737377273,737377357,737377523,737377733,737522257,737522323,737522327,737522353,737522377,737522537,737522777,737523233,737523533,737523557,737525227,737525233,737525237,737525323,737525333,737525353,737525357,737527537,737527573,737527577,737532223,737532533,737533327,737533333,737533337,737533373,737533523,737533723,737533733,737535373,737535377,737535553,737535727,737537377,737537557,737537777,737552227,737552237,737552323,737552353,737552377,737552537,737552573,737553253,737553527,737553727,737555323,737555327,737555723,737555773,737557237,737557273,737557553,737557573,737557753,737557757,737572237,737572273,737572337,737572373,737572733,737572757,737573227,737573233,737573257,737573323,737573377,737573537,737573737,737575273,737575577,737575757,737577223,737577527,737722273,737722537,737723237,737723323,737723737,737725223,737725327,737725337,737725753,737725757,737727337,737732273,737733323,737733527,737735353,737735357,737735573,737735753,737735773,737737327,737737577,737737727,737737753,737752523,737752573,737752733,737755223,737755253,737755327,737755373,737755523,737757233,737757323,737757337,737757353,737757733,737772253,737772257,737772533,737772733,737773237,737773357,737773577,737775253,737775323,737775527,737777323,737777333,737777723,752222353,752222377,752222557,752223233,752223253,752223337,752223557,752225233,752225723,752225737,752225753,752225777,752227253,752232323,752232737,752232773,752233327,752233373,752233577,752233733,752233777,752235233,752235257,752235277,752235373,752237273,752237323,752237557,752252233,752252723,752253323,752253727,752253737,752255327,752255377,752255557,752255753,752255773,752257223,752257237,752257333,752257357,752257537,752257553,752257733,752257777,752272327,752272357,752272777,752273227,752273257,752273323,752273527,752273723,752273773,752275253,752275273,752275333,752275523,752275757,752277257,752277277,752322223,752322323,752322377,752322733,752322737,752323237,752323333,752325257,752325373,752325527,752325557,752327237,752327273,752327377,752327533,752327777,752332223,752332237,752332523,752332723,752332727,752332733,752333227,752333233,752333237,752333273,752335237,752335253,752335273,752335277,752335333,752335523,752335537,752335553,752335733,752335757,752337253,752337373,752337527,752337557,752352353,752352533,752352577,752353237,752353333,752353337,752353373,752353573,752353733,752355257,752355353,752355577,752357327,752357537,752372233,752372273,752372737,752373277,752373373,752373553,752373757,752373773,752375527,752375537,752375573,752377727,752377733,752377753,752522377,752522723,752522773,752523337,752523757,752523773,752525377,752527553,752527723,752532257,752532733,752532757,752532773,752533723,752533777,752535253,752535373,752535533,752535557,752537273,752537323,752537353,752537557,752537573,752537777,752552237,752552357,752552377,752552527,752553223,752553337,752553533,752553733,752555227,752555257,752555327,752555333,752555357,752555537,752555737,752555753,752555773,752555777,752557237,752557357,752557573,752557753,752572253,752572277,752572573,752572727,752572757,752573257,752573557,752575273,752575277,752575553,752577223,752577253,752577277,752577323,752577533,752577757,752722237,752722757,752723527,752727257,752727533,752727553,752732237,752732327,752732377,752732573,752733277,752733523,752733577,752735233,752735257,752735323,752735723,752735773,752737273,752737357,752737523,752737723,752737757,752752337,752752573,752753233,752753327,752753537,752753737,752753773,752755253,752755373,752757227,752757233,752757277,752757373,752757377,752757557,752757757,752772323,752772337,752772353,752772557,752772737,752773237,752773727,752775227,752775337,752775577,752775773,752777537,752777573,752777723,753222257,753223253,753223577,753223727,753223753,753225223,753225233,753225257,753225373,753225727,753225773,753227257,753227327,753227533,753227723,753232223,753232253,753232357,753233237,753233323,753233357,753233557,753233737,753235333,753235537,753235577,753235757,753237223,753237253,753237257,753237337,753237733,753237757,753252223,753252373,753252523,753252733,753253273,753253573,753253577,753253723,753253757,753255233,753255257,753255353,753255523,753255527,753255733,753257227,753257377,753257737,753257773,753272353,753272557,753273233,753273533,753275357,753275527,753275557,753275753,753275773,753275777,753322237,753322253,753322333,753322373,753322727,753322777,753323237,753323257,753323273,753323377,753323537,753323773,753325273,753325333,753325337,753325523,753325553,753325723,753327527,753327737,753332233,753332753,753332773,753333253,753333533,753333557,753333577,753333773,753335227,753335257,753335273,753335333,753335357,753335753,753337757,753352357,753352577,753352723,753352753,753353257,753353323,753353327,753353737,753355223,753355333,753355373,753355523,753355573,753355723,753355753,753357223,753357233,753357337,753357727,753372227,753372733,753373723,753375223,753375277,753375353,753375377,753375773,753377353,753377557,753522557,753522733,753523273,753523523,753523577,753525233,753525257,753525373,753525557,753525733,753525737,753527353,753527377,753527557,753527773,753532553,753533233,753533237,753533273,753533323,753533327,753533357,753533777,753535253,753535357,753537277,753537353,753537727,753537773,753552227,753552257,753552377,753552533,753552577,753552757,753553277,753553553,753553753,753555323,753555373,753555377,753555553,753557227,753557323,753557377,753557557,753557773,753572327,753572557,753572723,753573257,753573533,753573553,753573757,753575227,753575377,753577333,753577523,753577723,753577757,753722257,753722323,753722537,753722573,753722777,753723233,753723323,753723527,753723727,753723757,753725237,753725257,753725377,753725527,753725737,753727223,753727253,753727277,753727357,753727553,753727577,753727753,753732323,753732377,753732737,753732773,753733237,753733273,753733333,753733523,753733537,753733733,753735233,753735253,753735373,753737333,753737527,753737573,753752327,753752533,753752723,753752777,753753257,753753337,753753373,753755573,753755773,753757223,753757337,753757553,753757727,753757733,753757757,753772277,753772337,753772373,753772753,753773533,753773737,753773753,753775273,753775523,753775537,753775723,753775727,753775753,753775777,753777337,753777373,753777377,753777527,753777533,753777733,755222233,755222333,755222353,755222357,755222537,755222557,755222777,755223257,755223373,755223523,755223773,755225257,755225333,755225533,755225557,755225573,755225753,755225773,755225777,755227337,755227373,755227723,755232227,755232253,755232727,755232733,755232773,755233277,755233373,755233537,755235227,755235253,755235737,755235773,755237737,755237773,755252237,755252273,755252327,755253223,755253253,755253523,755253533,755253557,755255227,755255233,755255257,755255273,755255357,755255533,755255537,755255723,755257553,755272237,755272333,755272373,755272523,755272757,755273273,755273327,755273527,755273537,755273737,755275277,755275373,755275733,755275757,755277223,755277233,755277253,755277557,755277727,755277737,755322233,755322727,755323237,755323537,755323727,755323733,755325377,755325523,755325553,755325577,755327257,755327333,755327753,755327773,755327777,755332223,755332273,755332537,755332727,755332757,755333237,755333323,755333357,755333377,755333533,755333723,755335327,755335573,755335727,755337377,755352253,755352337,755352527,755353253,755353273,755353777,755355277,755355553,755355737,755357357,755357723,755357777,755372273,755372323,755372533,755372573,755373323,755373727,755375273,755375333,755375527,755375573,755377277,755377327,755377333,755377537,755377577,755522237,755522323,755522353,755522527,755522533,755522773,755523257,755523337,755523577,755523773,755525227,755525233,755525257,755525377,755527237,755527523,755527537,755527573,755527757,755527777,755532223,755532277,755532523,755532733,755533553,755533573,755533577,755533733,755535377,755535527,755535553,755535733,755537227,755537257,755537353,755537357,755537723,755537773,755537777,755552333,755552353,755552533,755552557,755553377,755553553,755555377,755555527,755555533,755555737,755555753,755557237,755557277,755557753,755572277,755572537,755572577,755572733,755573227,755573327,755573527,755573557,755573737,755575237,755575273,755575333,755577227,755577323,755577373,755577377,755577533,755722337,755722577,755722733,755723273,755723723,755725337,755727227,755727233,755727727,755727737,755732323,755732533,755732737,755732753,755733233,755733323,755735237,755735257,755735333,755735377,755737273,755737373,755737523,755737727,755737733,755737753,755752237,755752273,755752537,755752553,755752573,755752577,755752733,755755577,755755733,755757257,755757323,755757553,755757577,755772233,755772337,755772373,755772377,755772533,755772727,755772733,755773253,755773327,755773357,755773723,755773757,755775227,755775253,755775323,755775337,755775523,755775733,755775773,755777227,755777233,755777327,755777357,755777377,755777527,755777777,757222223,757222253,757222577,757222757,757223323,757223353,757223377,757223527,757223557,757223573,757223723,757225253,757225333,757225723,757227223,757227227,757227353,757227773,757232353,757232527,757232573,757233233,757233557,757233727,757233773,757235527,757235533,757237253,757237333,757237337,757237577,757252333,757252337,757252723,757253527,757253557,757253773,757255223,757255237,757255333,757255523,757255537,757255753,757255777,757257227,757257323,757257377,757257533,757257733,757272223,757272577,757272757,757273273,757273327,757273537,757273753,757275227,757275373,757275377,757275577,757275773,757277537,757277753,757277777,757322227,757322537,757322557,757323227,757323373,757323577,757323727,757323757,757323773,757325353,757325377,757325557,757325773,757327553,757327723,757327777,757332223,757332227,757332553,757332577,757332757,757333237,757333253,757333333,757333337,757333523,757333537,757333573,757333757,757335233,757335757,757337257,757337323,757337327,757337557,757352333,757353227,757353277,757353577,757355323,757355723,757357253,757357277,757357357,757372333,757372753,757373327,757373777,757375327,757375373,757375523,757375537,757375757,757377527,757377757,757377773,757522237,757522553,757523357,757523737,757525277,757525523,757525537,757525577,757527523,757527553,757527577,757527733,757527773,757532327,757532353,757532773,757533223,757533233,757533373,757535227,757535333,757535573,757537273,757537373,757537537,757537777,757552253,757552573,757552723,757552727,757553233,757553273,757553723,757555223,757555333,757555573,757557223,757557253,757557337,757557373,757557377,757557557,757557727,757557733,757572223,757572253,757572337,757572353,757572553,757572577,757572737,757573273,757573373,757573577,757573723,757575223,757575253,757575337,757575523,757575773,757577333,757577753,757577773,757722227,757722257,757722323,757722377,757722523,757722727,757722773,757723277,757723327,757723537,757725323,757725337,757727557,757727753,757732253,757732277,757732333,757732523,757732727,757732733,757732777,757733227,757735273,757735337,757735553,757735733,757735757,757735777,757737257,757737373,757737377,757737733,757752253,757752323,757752533,757752727,757752773,757753277,757753753,757755253,757755277,757755353,757755577,757757233,757757257,757757537,757772227,757772377,757772723,757772753,757773227,757773253,757773377,757773773,757775573,757775723,757777333,772222277,772222753,772222777,772223323,772223357,772223377,772223537,772223737,772225273,772225537,772225733,772225757,772227523,772227557,772227733,772232233,772232273,772232353,772232753,772232777,772233227,772233233,772233277,772233323,772233353,772233523,772233557,772235227,772235257,772235273,772235357,772235377,772235573,772235773,772235777,772237327,772237523,772237537,772237553,772237757,772252333,772252337,772252373,772252553,772253353,772253357,772253533,772253753,772255357,772255537,772255577,772255727,772255733,772257737,772257757,772272257,772272337,772272353,772272737,772273223,772273273,772273727,772275223,772275233,772275253,772275527,772275533,772275557,772275727,772277327,772277533,772277557,772277777,772322227,772322323,772323523,772323527,772323557,772323733,772325353,772325773,772325777,772327223,772327253,772327573,772327727,772327757,772332257,772332277,772333327,772333553,772333733,772333753,772335233,772335353,772335527,772337273,772337333,772352323,772352327,772352333,772352557,772352573,772352753,772353227,772353233,772353353,772353377,772353557,772353737,772355323,772355327,772355333,772355527,772355533,772355557,772355737,772357337,772357727,772372273,772372277,772372327,772372537,772373323,772373533,772373737,772373753,772375223,772375237,772375273,772375277,772375523,772375573,772377323,772377373,772377733,772377737,772377773,772522537,772522757,772523273,772523327,772523377,772523573,772523723,772523737,772525333,772525757,772527227,772527323,772527373,772527557,772527737,772532323,772532357,772532557,772532773,772532777,772533257,772533277,772533527,772533577,772533757,772535237,772537253,772537553,772537573,772552223,772552237,772552273,772552757,772553237,772553273,772553557,772553723,772553753,772553773,772553777,772555337,772555373,772555573,772555733,772555753,772557257,772557323,772557337,772557523,772557757,772572253,772572257,772573327,772573523,772573577,772573777,772575257,772575337,772575373,772575527,772577233,772577327,772577357,772577527,772577537,772577573,772722227,772722277,772723223,772723337,772725253,772725257,772725727,772727323,772727327,772727377,772727723,772727737,772727773,772732273,772732277,772732523,772732577,772732777,772735253,772735273,772735573,772735753,772737253,772737257,772752373,772752727,772753327,772753537,772753573,772753577,772753733,772753757,772755223,772755353,772755377,772755527,772755733,772757357,772757527,772757533,772757723,772757737,772772327,772772353,772772527,772773223,772773227,772773277,772775357,772775723,772775777,772777223,772777237,772777573,772777723,772777727,773222327,773222357,773222377,773222753,773222773,773223233,773223277,773223523,773223533,773225227,773225237,773225353,773225723,773227237,773227523,773227537,773227573,773227577,773227723,773227727,773232277,773232373,773232553,773232773,773233553,773233577,773233777,773235223,773235233,773235773,773237233,773237273,773237753,773252257,773252533,773252773,773253277,773253337,773253373,773253527,773255323,773255573,773255737,773255753,773257327,773257337,773257553,773257753,773272223,773272237,773272333,773272553,773272757,773273273,773273327,773273353,773273357,773273573,773273737,773275333,773275337,773275523,773275553,773277577,773277737,773322223,773322233,773322733,773322773,773323357,773325253,773325277,773325337,773325353,773325737,773327537,773327557,773332223,773332277,773332327,773332723,773332733,773332753,773333257,773333333,773333537,773333753,773333773,773335223,773335237,773335273,773335757,773337223,773337277,773337353,773337527,773337553,773337727,773352233,773352277,773352323,773352337,773352527,773352557,773353733,773355337,773355353,773355533,773355553,773355757,773355773,773357257,773357327,773357357,773357723,773357777,773372227,773372273,773372527,773372533,773373257,773373353,773373373,773373527,773373577,773373737,773373773,773375227,773375257,773375327,773375357,773375723,773375773,773377223,773377237,773377733,773522237,773522257,773522327,773522537,773522557,773522773,773523277,773523337,773523733,773525273,773525573,773527277,773527327,773527333,773527537,773527577,773527723,773527757,773532257,773532377,773532577,773532733,773532737,773533577,773535577,773537257,773537333,773537353,773537773,773552237,773552573,773552723,773553223,773553233,773553353,773553377,773553577,773553727,773555257,773555273,773555327,773555353,773555737,773555753,773557237,773557327,773557357,773557523,773557553,773557723,773557777,773572337,773572523,773572733,773572753,773573233,773573533,773573557,773573573,773573737,773573777,773575277,773575573,773575723,773577223,773577253,773577577,773722223,773722333,773722337,773722373,773722723,773722753,773722757,773723233,773723323,773723557,773725237,773725523,773725723,773727223,773727373,773727733,773732233,773732257,773732273,773732527,773732737,773732777,773733227,773733773,773735227,773735273,773735323,773735327,773737333,773737577,773752253,773752537,773752753,773753237,773753257,773753333,773753377,773753737,773755223,773755253,773755277,773755337,773755553,773755733,773755777,773757233,773757277,773757557,773772257,773772353,773772733,773773277,773773333,773773523,773773573,773773577,773773757,773775227,773775257,773775727,773775733,773777237,773777773,775222333,775222523,775222733,775222757,775223233,775223353,775223357,775223377,775223773,775225537,775225723,775225733,775225757,775227253,775227377,775227533,775232323,775232327,775232753,775233227,775233233,775233253,775233533,775233553,775233727,775233737,775235323,775235327,775235533,775235537,775235557,775237277,775237327,775252523,775252537,775252553,775253327,775253527,775253537,775253573,775255253,775255277,775255333,775255337,775257577,775272227,775272353,775272577,775272727,775272737,775273237,775275227,775275233,775275323,775275353,775275737,775277227,775277753,775277777,775322237,775322257,775322357,775322533,775322557,775323257,775323377,775323553,775323727,775325323,775325557,775327277,775327373,775327523,775327537,775327733,775332253,775332533,775332577,775332757,775332773,775333373,775333753,775335373,775335557,775335733,775337357,775337527,775337723,775352257,775352327,775352533,775353233,775353277,775353353,775353727,775353757,775355233,775355377,775355723,775357223,775357327,775357357,775357727,775357753,775372237,775372537,775372723,775373237,775373273,775373537,775375327,775375357,775375373,775375753,775377257,775377557,775377737,775522357,775522537,775522733,775522777,775523233,775523257,775525237,775525277,775525577,775525727,775527353,775527523,775527553,775527737,775532257,775532273,775532323,775532533,775532777,775533233,775533257,775533373,775533533,775535237,775535333,775535557,775535723,775535737,775537337,775537577,775537733,775552273,775553357,775553777,775555327,775555727,775555733,775557557,775557733,775557737,775572227,775572253,775572257,775572527,775572557,775572737,775572773,775573223,775573237,775573523,775573553,775575257,775575277,775575337,775575373,775575523,775575527,775575733,775575737,775577323,775577357,775577527,775577533,775577557,775577573,775577753,775722323,775723373,775723573,775723723,775725523,775725557,775727723,775732337,775732553,775732733,775732757,775733327,775733333,775733737,775733753,775735223,775735327,775735357,775735573,775735733,775737233,775737257,775737373,775737553,775752223,775752337,775752377,775752727,775753357,775753373,775753733,775755353,775755527,775755553,775755737,775757233,775757527,775757737,775772353,775773337,775773353,775773373,775773377,775773533,775773727,775773737,775775327,775775537,775775753,775777237,777222223,777222323,777222553,777222577,777222737,777222757,777223277,777223327,777223333,777223373,777223553,777225277,777225353,777225373,777225377,777225557,777225577,777225727,777227327,777227723,777232237,777232327,777233533,777233537,777235273,777235373,777235523,777237233,777237277,777237337,777237523,777237553,777237557,777237757,777252337,777252353,777252727,777253223,777253333,777253537,777253723,777253727,777255233,777255257,777255373,777255377,777255527,777255733,777272227,777272533,777273227,777273377,777273727,777275273,777275327,777275557,777275753,777275773,777277223,777277253,777277337,777277373,777277573,777277577,777277733,777322253,777322373,777323227,777323257,777323333,777323537,777323557,777325327,777325553,777325723,777325727,777327557,777332233,777332323,777332377,777332527,777332753,777333233,777333253,777333257,777333373,777333727,777335527,777335723,777335737,777335777,777337237,777337333,777337357,777337777,777352273,777352327,777352577,777352777,777353273,777353377,777355253,777355727,777357223,777357323,777357337,777357353,777357523,777357577,777357733,777372223,777372577,777372727,777372773,777373357,777373523,777373537,777375233,777375323,777375373,777375523,777375527,777375733,777375757,777377257,777377357,777377773,777522233,777522257,777522323,777522533,777523223,777523573,777523723,777523753,777525223,777525227,777525233,777525257,777525523,777525533,777525577,777527273,777532237,777532277,777532537,777532577,777533327,777533357,777533527,777535277,777535333,777535373,777535757,777537337,777537373,777537533,777537557,777537727,777537737,777552277,777552337,777552733,777552773,777553223,777553373,777555223,777555523,777555553,777557233,777557353,777557533,777572227,777572773,777573253,777573373,777573553,777573737,777573757,777575273,777575333,777575353,777577327,777577357,777577373,777577523,777577573,777577727,777577733,777722353,777722357,777722537,777722557,777723223,777723253,777723577,777723733,777723773,777725353,777725527,777727273,777727277,777727537,777727733,777727757,777732223,777732253,777732523,777732533,777732577,777732727,777732733,777732773,777733373,777733573,777733727,777733757,777735373,777735527,777735557,777735733,777737333,777737353,777737377,777737533,777737557,777752237,777752333,777752557,777752753,777753377,777753577,777753773,777755257,777755273,777755323,777755753,777757237,777757273,777757523,777757537,777757573,777757753,777772223,777772357,777773323,777773333,777773753,777775333,777775373,777775553,777775577,777777227,777777233,777777323,777777373,777777577,777777773};
int main()
{
long long n,s=0;
cin>>n;
for(int i=0;i<=23170;i++)
{
if(n>=k[i])
{
s++;
}
else
{
cout<<s;return 0;
}
}
}
最后
以上就是繁荣烤鸡为你收集整理的双重素数(csp练习题)的全部内容,希望文章能够帮你解决双重素数(csp练习题)所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复