Task: Program Execution
Input (English): 5, ['741', '1809', '4269', '8907', '9681', '9061', '4431', '7657', '8225', '1477', 'M']
Output (English): 741, 1809, 4269, 8907, 9681