Task: Program Execution
Input (English): 3117, 5597, U
Output (English): 3117, 5597, 21