using System; class Program { static void Main() { var n = Console.ReadLine().ToCharArray(); for(int i=0;i