Task: Program Execution
Input (English): q, 1955, z, 9953, F, Q, t, 5981
Output (English): 1, 3, 5, 6, 7