#include using namespace std; string s = "0__ki__de"; int main(){ int n; while(cin>>n){ if(n){ cout << s[n] << endl; }else break; } }