Task: Program Execution
Input (English): 6, 14, ['j', '5585', '913', '9311', '441', '6139', '9083', '5285', '3015', 'M', 'Y', 'l', '1429', '2643', '3341', 's', '8225', '7709', '4879', '9083']
Output (English): 2643, 1429, l, Y, M, 3015, 5285, 9083, 6139