Task: Program Execution
Input (English): 6, 10, ['8093', 'D', '2889', '9109', 'a', 'N', '7645', 'd', 'h', '8355', '1647', 'M', 'L', 'R', '385', '2359', '3373', '2995']
Output (English): 8355, h, d, 7645, N