Task: Program Execution
Input (English): Q, 7057, 4179, 6815, 7191, Q, 8795, 1441, 7267, Z, 2063, t, A
Output (English): 1, 6, 10, 12, 13