Task: Program Execution
Input (English): 3, 7, ['Q', 'o', 'e', 'M', '7003', 'N', '2949', '2797', '1993', '1051', '5945', '7021', 's', '769', '7323']
Output (English): 2949, N, 7003, M, e