Task: Program Execution
Input (English): 7627, F, 2251, 7431, 435, q, 6449, 9031, 3555, 8977
Output (English): 1, 3, 4, 5, 7, 8, 9, 10