import sys input = lambda: sys.stdin.readline().rstrip() # ----------------------- # s = input() print('a' * (s.count('a')+1))