Task: Program Execution
Input (English): T, 3561, 7391, R, v, 4897, n, 3467
Output (English): 19316