s = io.read() a = s:find("%(") b = s:find("%)") print(s:sub(1, a - 1) .. "@" .. s:sub(b + 1, #s))