Task: Program Execution
Input (English): 2, 5, ['K', 'N', '6959', '7323', 'E', 'a', 'Q', 'c', '3435']
Output (English): E, 7323, 6959, N