Task: Program Execution
Input (English): 4, ['Z', '3851', '2343', '7223', 'Z', 'E', 'L', '577']
Output (English): Z, Z