Task: Program Execution
Input (English): 2, ['s', '8957', 'n', '8399', '967', 'c', 'd']
Output (English): s, n, 967, d