Task: Program Execution
Input (English): 8147, q, f
Output (English): f, q