Task: Program Execution
Input (English): 6, ['2999', '6691', '9791', '427', '9999', '3997', '8127', '7431', 'h', '7429', 'M', '853']
Output (English): 8127, 7431, h, 7429, M, 853