Task: Program Execution
Input (English): u, W, 1561, 9243, 4923, 9385
Output (English): 25112