Task: Program Execution
Input (English): 9489, 8887, t, Z, M
Output (English): 3, 4, 5