include[HTML_REMOVED]
using namespace std;
int a[1000000],b[1000000],c[1000000],x[1000000],A,B,X;
string z;
int main(){
cin >> z;
A=z.size();
for(int i=0;i[HTML_REMOVED]> z;
B=z.size();
for(int i=0;i[HTML_REMOVED]9) x[i+1]+=x[i]/10,x[i]%=10;
while(x[A])A++;
for(int i=X-1;i>=0;i–) cout << x[i];
return 0;
}