#include using namespace std; int main(){ string s;cin>>s; for(int i = 'a'-'a'; 'z'-'a' >= i; i++){ if(i+'a'!=s[i]){ cout << (char)(i+'a') << "to" << s[i] << endl; } } }