Task: Program Execution
Input (English): 6, 12, ['7991', 'g', '3565', 'q', 'L', '331', '4565', '1837', '4903', '9897', 'n', 'T', 'S', 'F', 'M', 'R', 'R', '4681']
Output (English): 331, 4565, 1837, 4903, 9897, n, T