using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; public class Program { public static void Main() { char[] C = Console.ReadLine().ToCharArray(); for (int i = 0; i < C.Length; i++) { ...