Task: Program Execution
Input (English): 2509, Z, l, q, 8473, 5403, F
Output (English): 1, 5, 6