Task: Program Execution
Input (English): 3, ['245', '6087', 'h', 'N', '3767', '9745', 'Q', '6681', 'Z', 'E', '8639', '5307', 'X']
Output (English): 245, N, Q, E, X