using System; public class Hello { static void Main() { var s = Console.ReadLine().Trim(); var c = s.Length - s.Replace("a", "").Length; Console.WriteLine(new string('a', c + 1)); } }