main = do
    n <- getLine >>= return . read
    putStr $ f n

f n = if n < 27 then toAlp y else f x ++ toAlp y
    where
        x = div n 26
        y = mod n 26

toAlp 0 = "z"
toAlp x = [(['a'..'z'] !! (x-1))]