Task: Program Execution
Input (English): D, 3769, 4645, I, 5451, g, 6867, h, 9507, 499, c, a, 4797, 8599, D, y, a, 9389, L
Output (English): D, I, g, h, c, a, D, y, a, L