Task: Program Execution
Input (English): 7759, 1845, 5395, U
Output (English): 1