Task: Program Execution
Input (English): 2, 4, ['Z', '8789', '5989', 'M', '189', 'k', 'V', '8735', 'g', '2709', 'j', 'y', '589', '4561', 'R', '2623', '1937', '4999', 'x', '3121']
Output (English): 8789, k, 2709, 4561, 4999