Task: Program Execution
Input (English): r T m C V X 1157 F 1369 P 9835 A i 8955 6617 9033 B v 9427 1873 4681 8537 3925 715 y 6439 2933
Output (English): 18, 20, 13, 3, 22, 24, 1157, 6, 1369, 16, 9835, 1, 9, 8955, 6617, 9033, 2, 22, 9427, 1873, 4681, 8537, 3925, 715, 25, 6439, 2933