Task: Program Execution
Input (English): V, 6497, 8609, 1967, 1261, b, N, a, J, 5485, M
Output (English): 6497, 8609, 1967, 1261, 5485