#include using namespace std; int main() { cin.tie(0)->sync_with_stdio(0); string S; cin >> S; for (char c = 'a'; c <= 'z'; c++) { char cur = S[c - 'a']; if (c != cur) { cout << c << "to" << cur << endl; } } }