Task: Program Execution
Input (English): 3, ['3371', '2945', 'V', '9045', 'p', 'c', '3691', '4657', 'D']
Output (English): 3371, 9045, 3691