using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace AI { public class Program { static void Main(string[] args) { Console.WriteLine(GetAIName(Console.ReadLine())); } public static string GetAIName(string ID) { if (ID.EndsWith("ai")) { StringBuilder Builder = new StringBuilder(); Builder.Append(ID.Substring(ID.Length - 2, 2).ToUpper()); Builder.Insert(0, ID.Remove(ID.Length - 2, 2)); return Builder.ToString(); } else { StringBuilder Builder = new StringBuilder(ID); Builder.Append("-AI"); return Builder.ToString(); } } } }