Task: Program Execution
Input (English): 4789, v, r, 7157, 313, f
Output (English): f, r, v