let alpha = 26
let alphabets = Array("abcdefghijklmnopqrstuvwxyz").map({String($0)})

var N = Int(readLine()!)!
var ans = ""

while N > 0 {
    ans = alphabets[N % alpha - 1] + ans
    N /= 26
}
print(ans)
