Task: Program Execution
Input (English): n, W, d, r, q, 7731, O, m, 6611, R
Output (English): 14342