Task: Program Execution
Input (English): 3, 5, ['6315', 'T', '6983', '7765', 't', 'M']
Output (English): 6983, 7765, t