Task: Program Execution
Input (English): 2, ['3719', '31', '6671', '3183', '1595', '8933', 'g', 'c', 'A', 'm', '6473', '1489', '147', 'r', '5651', '3977', '1979', '729', '2079']
Output (English): 3719, 31