#include<iostream>
#include<string>
#include<stdio.h>
using namespace std;

int main() {
    string s1;
    cin >> s1;
    for (int i=0;i<s1.size();++i) {
        char c = s[i];
        int d = s[i+1];
        char e = s[i+2];
        if (c == @) {
           s1.erase(s1.begin() + i);
           string s2;
           for (int t=0;t<d;++t){
               s2 += e;
           }
           s1.insert(s1.begin() + i, s2);
           }
    return 0;
}
