Task: Program Execution
Input (English): U, q, 7273, 7079, 6691
Output (English): 21043