Task: Program Execution
Input (English): 2477, U, 8055, r
Output (English): 2