Task: Program Execution
Input (English): 6, 10, ['e', 'D', 'T', 'g', '5105', 'H', 'Y', 'F', '4863', '9789', '4361', 'U']
Output (English): 9789, 4863, F, Y, H