Task: Program Execution
Input (English): 717, i, 557, M, F, x
Output (English): 717, 9, 557, 13, 6, 24