using System; class Program { static void Main(string[] args) { var T = Console.ReadLine(); Console.Write(T.Substring(0, T.IndexOf('('))); Console.Write('@'); Console.WriteLine(T.Substring(T.IndexOf(')'))); } }