Task: Program Execution
Input (English): 4, 6, ['t', '9185', '3251', 'F', 'Y', '2335', 'I', 'T', '5885', '6897', '6889']
Output (English): 2335, Y, F