#include <iostream>
#include <algorithm>
#include <iomanip>
#include <vector>
#include <queue>
#include <set>
#include <map>

using namespace std;
typedef long long ll;

int main(){
    ios::sync_with_stdio(false);
    cin.tie(0);
    cout << setprecision(10) << fixed;
    string s; cin >> s;
    for(int i = 0; i < 26; i++){
        if(s[i] != 'a'+i){
            cout << (char)('a'+i) << "to" << s[i] << endl;
        }
    }
}