Task: Program Execution
Input (English): 4, 10, ['Y', 'T', '1601', 'J', '6775', '6957', 'O', '6451', '2221', 'G', '3547', '745', 'x', '5371', 't', '7599', '3793', '7445', '7913', '8231', 'S', 'a', '7421', '7835', 'I', '1117']
Output (English): J, 5371, 7835