S = str(input()) c = S.count('a') print('a'*(c+1))