Task: Program Execution
Input (English): U, Q, 1609, 7959, 6727, f
Output (English): U, Q, f