100 atcoder#ABC171C. [ABC171C] One Quadrillion and One Dalmatians
[ABC171C] One Quadrillion and One Dalmatians
Score : points
Problem Statement
dogs suddenly appeared under the roof of Roger's house, all of which he decided to keep. The dogs had been numbered through , but he gave them new names, as follows:
- the dogs numbered were respectively given the names
a
,b
, ...,z
; - the dogs numbered were respectively given the names
aa
,ab
,ac
, ...,zy
,zz
; - the dogs numbered were respectively given the names
aaa
,aab
,aac
, ...,zzy
,zzz
; - the dogs numbered were respectively given the names
aaaa
,aaab
,aaac
, ...,zzzy
,zzzz
; - the dogs numbered were respectively given the names
aaaaa
,aaaab
, ...; - and so on.
To sum it up, the dogs numbered were respectively given the following names:
a
, b
, ..., z
, aa
, ab
, ..., az
, ba
, bb
, ..., bz
, ..., za
, zb
, ..., zz
, aaa
, aab
, ..., aaz
, aba
, abb
, ..., abz
, ..., zzz
, aaaa
, ...
Now, Roger asks you:
"What is the name for the dog numbered ?"
Constraints
- is an integer.
Input
Input is given from Standard Input in the following format:
Output
Print the answer to Roger's question as a string consisting of lowercase English letters.
2
b
27
aa
123456789
jjddja