Task: Program Execution
Input (English): 4, ['305', '3105', 'm', 'c', '1331', '2017', 'f', '7697']
Output (English): 305, 1331