Task: Program Execution
Input (English): 745, 4865, m, X, M, 8679, 6253, V, R, 4953
Output (English): m, X, M, V, R, 745, 4865, 8679, 6253, 4953