Task: Program Execution
Input (English): V, X, 4085, 4533, 8231, A, 3541, 5769, 1231
Output (English): 1, 2, 6