Task: Program Execution
Input (English): 5, 7, ['u', '1985', 'T', '2815', '5397', '283', '3443', 'G']
Output (English): 3443, 283, 5397