Task: Program Execution
Input (English): 3287, 9779, B, 3203, 1973, 1625, 2717, L, F, P, o, 5461
Output (English): 3287, 9779, 3203, 1973, 1625, 2717, 5461