Task: Program Execution
Input (English): 3, 5, ['1793', '1593', '1731', '1741', '2397', '5797', 'H', '3483']
Output (English): 2397, 1741, 1731