n = int(eval(input()))

s = 'abcdefghijklmnopqrstuvwxyz'





def calc(n, ans):

  n, i = divmod((n - 1), 26)

  ans = s[i] + ans

  if (n > 0):

    return calc(n, ans)

  else:

    return ans





ans = calc(n, '')

print(ans)
n = int(eval(input()))

s = 'abcdefghijklmnopqrstuvwxyz'

ans = ''

while n > 0:

  n, i = divmod(n - 1, 26)

  ans = s[i] + ans

print(ans)
n = int(eval(input()))
s = "abcdefghijklmnopqrstuvwxyz"


def calc(n, ans):
    n, i = divmod((n - 1), 26)
    ans = s[i] + ans
    if n > 0:
        return calc(n, ans)
    else:
        return ans


ans = calc(n, "")
print(ans)

n = int(eval(input()))
s = "abcdefghijklmnopqrstuvwxyz"
ans = ""
while n > 0:
    n, i = divmod(n - 1, 26)
    ans = s[i] + ans
print(ans)

- - -def calc(n, ans): -    n, i = divmod((n - 1), 26) +ans = "" +while n > 0: +    n, i = divmod(n - 1, 26) -    if n > 0: -        return calc(n, ans) -    else: -        return ans - - -ans = calc(n, "")