Task: Program Execution
Input (English): 4, 6, ['L', 'f', '517', '2949', 't', '1845', '469', '489', 'J', '3645', 'I', '1415']
Output (English): 2949, t, 1845