n = int(input()) if n < 26: print(chr(n % 26 + ord("A"))) else: a = n // 26 + 1 print(chr(n % 26 + ord("A")) * a)