N = int(input()) sum = 0 list = map(int,input().split()) for i in range(N): print("a") sum += list[i] print("b") print(sum)