Task: Program Execution
Input (English): u, 3959, 3731, F
Output (English): 7690