Task: Program Execution
Input (English): D, 9683, 2715, 5069, 3417, h, 7975, T
Output (English): D, h, T, 9683, 2715, 5069, 3417, 7975