Task: Program Execution
Input (English): 9903, H, 757, J, 6481, 9789, H, 3285, V, X, 5229, 7197
Output (English): 42641