import re


t = input()
s = re.split('[()]', t)
s[1] = "@"
print(''.join(s))