include[HTML_REMOVED]
using namespace std;
int main(){
string s;
cin>>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];
}
return 0;
}