using static System.Console; namespace App { class Prog { static void Main() { string name = ReadLine(); if (name.Substring(name.Length - 2 , 2) == "ai") { name = name.Substring(0, name.Length - 2) + "AI"; } else { name = name + "-AI"; } WriteLine(name); } } }