Task: Program Execution
Input (English): 3, ['4671', 'A', 'Z', 'B', '4647', 'A', '489', '6555', '841', '9459', '5501', '7197', 'M', '1993', 's', '519', '2345', '9505', '4719', '1771', 'z', 'P']
Output (English): B, 4647, A, 489, 6555, 841, 9459, 5501, 7197, M, 1993, s, 519, 2345, 9505, 4719, 1771, z, P