Task: Program Execution
Input (English): 3, 3, ['6087', '5249', '3743', '7619', '6861', 'N', '3263', 'g', 'E', 'D', 'S', 'K', 'f', '9549', '7419', '661', 'i']
Output (English): 3743, N, E, K, 7419