S = input() cnt = S.count("a") print("a"*(cnt+1))