using System; using System.Collections.Generic; class Program { static string InputPattern = "InputX"; static List GetInputList() { var WillReturn = new List(); if (InputPattern == "Input1") { WillReturn.Add("yukicoder 0 4"); //ukioder } else if (InputPattern == "Input2") { WillReturn.Add("aaa 0 0"); //aa } else if (InputPattern == "Input3") { WillReturn.Add("nmnmnmnmnmnmnm 13 12"); //nmnmnmnmnmnm } else { string wkStr; while ((wkStr = Console.ReadLine()) != null) WillReturn.Add(wkStr); } return WillReturn; } static void Main() { List InputList = GetInputList(); string[] StrArr = InputList[0].Split(' '); string S = StrArr[0]; int t = int.Parse(StrArr[1]); int u = int.Parse(StrArr[2]); var sb = new System.Text.StringBuilder(); for (int I = 0; I <= S.Length - 1; I++) { if (I == t) continue; if (I == u) continue; sb.Append(S[I]); } Console.WriteLine(sb.ToString()); } }