print(*[i+"to"+j for i,j in zip("abcdefghijklmnopqrstuvwxyz",input())if i!=j])