print("a" * input().count("a") + "a")