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