Task: Program Execution
Input (English): 3, ['Z', 'e', 'm', 'p', 'b', '1869', '4989', '1447', '4239', '7971', '2961', 'c', 'y', 'h']
Output (English): Z, e, m