Task: Program Execution
Input (English): 3247, 2075, 1641, q, 9253, g, 8643, h, W, 423, d, 35, 7177
Output (English): 4, 6, 8, 9, 11