Task: Program Execution
Input (English): 5, ['3073', '1607', '3729', '8587', '3823', 'j', '49', '2397', 'k', '107', 'b', '405', 'l', 'J', 'X', '6299', '1515', '6273', 'M']
Output (English): 3073, 1607, 3729, 8587, 3823