#include <bits/stdc++.h>
using namespace std;
int main(){
  string S;
  cin >> S;
  string T = "abcdefghijklmnopqrstuvwxyz";
  for (int i = 0; i < 26; i++){
    if (S[i] != T[i]){
      cout << T[i] << "to" << S[i] << endl;
    }
  }
}