def main(): N = int(input()) div_, mod_ = divmod(N, 26) ans = 'A' * div_ + chr(mod_ + 65) print(ans) main()