Task: Program Execution
Input (English): 3055, 6265, 6775, 573, R, 6743, 2235, 8117, 6831, 9361, 71, x, B, 5847, W, 1253, 7751
Output (English): 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 14, 16, 17