Task: Program Execution
Input (English): D, 6493, 8409, 8839, 9377, 8679, 9587, i, A, 7261
Output (English): D, i, A, 6493, 8409, 8839, 9377, 8679, 9587, 7261