import os,re;_=raw_input;t=os.read(0,1422) while~0:_(re.sub('@i',lambda x:_(),t[:-4]))