Task: Program Execution
Input (English): 2, 6, ['h', '5009', '3919', '7083', 'Y', 'i', '9347', '3823', '3341', 'p', '9279', 'R', 'K', 'S', 'N', '4921', '367', '1757', 'n', 'Z', 'n']
Output (English): 5009, 3823, S, Z