Task: Program Execution
Input (English): 7, ['1459', 'z', 'g', '8415', '5743', '2477', 'I', '2931', '723', 't', 'V', 'o', '8747', '5687', '5141', 'C', '7317', 'w', 'P', 'z']
Output (English): 1459, 2931, 5141