using System; using System.Linq; public class Hello{ public static void Main(){ char[] letters = Console.ReadLine().ToArray(); int[] num = Console.ReadLine().Split().Select(int.Parse).ToArray(); char c = letters[num[0]]; letters[num[0]]=letters[num[1]]; letters[num[1]]=c; Console.WriteLine(string.Join("",letters)); } }