Task: Program Execution
Input (English): 3, ['3681', '151', 'x', '1045', '3185', '5037', '6563', 'M', '1371']
Output (English): 3681, 151, x, 1045, 3185, 5037