Task: Program Execution
Input (English): 5, 11, ['9479', 'k', 'k', '1843', 'a', '365', '3483', '2005', '2857', '3729', '2859', 'A', 'R']
Output (English): 2859, 3729, 2857, 2005, 3483, 365, a