Task: Program Execution
Input (English): 3, 8, ['n', 'c', '4299', '1699', 'n', '4645', 'F', 'Y', '7889', '3833', 'a', 'c']
Output (English): Y, F, 4645, n, 1699, 4299