Task: Program Execution
Input (English): 2, ['3981', '2553', 'w', '3707', 'T', 'A', 'q', '4127', '2381', '5839', 'o', '3299', '8239', '413', 'l', '6871', 'G', '3351', 'T', 'M', '8477', '5101']
Output (English): 3981, 2553