import Data.List
import Data.Maybe

main = interact $ show . sol . read

sol = reverse . unfoldr f . pred

f x = if x<0 then Nothing else Just (α!!r,q-1)
  where (q,r) = x `quotRem` 26

α = ['a'..'z']