Task: Program Execution
Input (English): d, 8765, G, 9737, 6089, 17, r, 3939, 1449, 287, 8565, m, 8757
Output (English): 8765, 9737, 6089, 17, 3939, 1449, 287, 8565, 8757