Task: Program Execution
Input (English): 3667, 1523, 3203, n, 3129, U, 7997, d, D, F
Output (English): 19519