Task: Program Execution
Input (English): X, C, H, 1357, 9861, V
Output (English): 1, 2, 3, 6