Task: Program Execution
Input (English): 199, 9901, 6447, D, E, 4663, 1127, A, V, 6723, D, W, 1111, w, D
Output (English): 8