n=int(input())
x=''
while(n>0):
    if(n%26==0):
        x+='Z'
        n=(n-1)//26
    else:
        x+=chr(64+(n%26))
        n//=26
print(x[::-1])    

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: