Task: Program Execution
Input (English): D, 4113, Q, 6185, T, i, 7877, T, 7607, m, d, h
Output (English): D, Q, T, i, T, m, d, h, 4113, 6185, 7877, 7607