Task: Program Execution
Input (English): O, B, 6245, 7653, 227, 935, 5827, M, r, n, 2485, 7417, 9467, 9055
Output (English): O, B, M, r, n, 6245, 7653, 227, 935, 5827, 2485, 7417, 9467, 9055