Task: Program Execution
Input (English): 5, ['Z', 'J', '8367', '5265', 'M', 'V', '2737', '5089', '2589', '6049']
Output (English): Z, J, 8367, 5265, M