Task: Program Execution
Input (English): 7627, 4357, 2421, r, f, 4189, J, p
Output (English): 7627, 4357, 2421, 4189