Task: Program Execution
Input (English): w, 7423, i, 5471, T, 6787, 7217, 6249, 789
Output (English): 2, 4, 6, 7, 8, 9