Task: Program Execution
Input (English): 4, 10, ['A', '9747', '119', 'J', 'C', '4285', 'N', 'S', 'B', '2897', '5249', '773', '1217', '6419', '2181', '3209', 'A', 'Z', '8985', '101', 'Q', 'k', 'H', '5497', 'd', 'M', '7391', 'q']
Output (English): J, 6419, 5497