#include <cstdio>
#include <cstring>
using namespace std;

int main(void)
{
    char str[110];
    while (scanf("%s", str) != EOF){
        char ans[1010];
        int now = 0;
        for (int i = 0; i < strlen(str); i++){
            if (str[i] == '@'){
                i++;
                while ((str[i] + 1) != '0'){
                    ans[now] = str[i + 1];
                    str[i]--;
                    now++;
                }
                i++;
            }
            else {
                ans[now] = str[i];
                now++;
            }
        }
        ans[now] = '\0';
        
        printf("%s\n", ans);
    }
    
    return (0);
}