x = 7 while x >4: print(x, end="") print( (x%3)*"A") x = x -1