Task: Program Execution
Input (English): 9417, 7079, U, f, P
Output (English): 3, 4, 5