Task: Program Execution
Input (English): D, 9815, B, g, 1869, A, 9005
Output (English): D, B, g, A, 9815, 1869, 9005