Task: Program Execution
Input (English): f, A, 3479, X, 2489, R, 2469, 1541, P, x, 9647, 2937, 6927, 2125, 871
Output (English): 3479, 2489, 2469, 1541, 9647, 2937, 6927, 2125, 871