n=int(input()) a=[chr(i+65) for i in range(26)] while(n>25): print(a[n%26],end="") n-=26 print(a[n%26])