Task: Program Execution
Input (English): 2, ['N', '149', 'w', 's', '5777', '5515', 'Q', 'N']
Output (English): N, w, 5777, Q