N = int(input()) a, b = N//26, N% 26 print('A'*a + chr(65+b))