include[HTML_REMOVED]
include[HTML_REMOVED]
using namespace std;
int main()
{
char s[100000];
int len;
cin>>s;
len=strlen(s);
for(int i=0;i[HTML_REMOVED]=‘0’&&s[i]<=‘9’){
for(int j=1;j<=s[i]-‘0’-1;j++){
cout<<s[i-1];
}
}
else{
cout<<s[i];
}
}
cout<<endl;
}