Task: Program Execution
Input (English): 5, ['1185', 'h', '3749', 'W', '707', '5587', '1217', '6717', 'X', '1219', 'N', '4077', 'L', 'C', 'L', 'N', 'A', 'B', '3371', 'j']
Output (English): 1185, 5587, N, N