Task: Program Execution
Input (English): 2, 6, ['5485', 'N', '5267', '6383', 'a', '3981', '1567', 'h', 'g', '4987', '7613', '479', '9145', 'K', 'j', '5299', 'u', '7315', 'V']
Output (English): 3981, a, 6383, 5267, N