Task: Program Execution
Input (English): M, u, i, 3579, 2471, 8631
Output (English): 13, 21, 9, 3579, 2471, 8631