Task: Program Execution
Input (English): 8177, 3561, r, 1581, Z, J, 1511, 4021, 6005, N, U, 2547, 5247, 8679, 9971, b, C, u, 6361, 8883, 5951
Output (English): 3, 5, 6, 10, 11, 16, 17, 18