string@N;setS;REP(i,N.size()+1)REP(d,0,10)S.insert(stoll(N.substr(0,i)+to_string(d)+N.substr(i,N.size())));ll L=S.size();wt(L);