Task: Program Execution
Input (English): 985, A, v, D, F, c, O, B, 3507, R, N, 3727
Output (English): 8219