Task: Program Execution
Input (English): 1315, 1677, 1703, 43, 3363, 9681, 8487, a, V, V, 4349, 217, R, V, i, t
Output (English): 1315, 1677, 1703, 43, 3363, 9681, 8487, 4349, 217