Task: Program Execution
Input (English): 10, ['5401', 'N', 'W', '1009', '2971', '2265', 'O', 'Q', 'X', '4431', '4019', '1201', '8441', '9807', 'h', 'o', '1137', '6671', '2001', '729']
Output (English): 4019, 1201, 8441, 9807, h, o, 1137, 6671, 2001, 729