Task: Program Execution
Input (English): 8997, 2979, 3517, 3977, t, M, 6589, 5307, 1637, q, 5021, 9293, 2187, Z, 6435
Output (English): 1, 2, 3, 4, 7, 8, 9, 11, 12, 13, 15