Task: Program Execution
Input (English): 3, ['5661', '2361', 'q', 'h', '8783', 'g', '3095', '6591', '8747', '3707', '1017', '2929', 'z', '1209', '7271', 'd']
Output (English): 5661, 2361, q