Task: Program Execution
Input (English): q, I, 6421, 1949, 8719, 1281, k, 5777, 2545, 5881
Output (English): 1, 2, 7