fun main(args : Array<String>) {
    var n = readLine()!!.toLong()
    var ans = ""

    while (n > 0) {
        n -= 1
        val pos = n % 26
        ans = "${(97+pos).toChar()}$ans"
        n /= 26L
    }

    println(ans)
}