Task: Program Execution
Input (English): 3, ['J', 'z', 'Z', '5061', 'j', '3831']
Output (English): J, z, Z