Task: Program Execution
Input (English): 4, 11, ['m', '6837', 'k', 'p', 't', 'J', '3445', '5933', 'Q', '9465', '3789', 'k']
Output (English): 3789, 9465, Q, 5933, 3445, J, t, p