Task: Program Execution
Input (English): 4, 10, ['B', '3441', '4683', 'h', '4197', '709', '5145', '6817', 'R', 'l', '4401', 'y', '9231', '6583', 's', 'n', '1651', '2999', '3883', 'e', 'X', 'W', 'D', '7229', '3911', 'p']
Output (English): h, 6583, 7229