Task: Program Execution
Input (English): 3, 4, ['6167', '1309', 'A', 'O', '3171', '2597', 'u', 'N', '6973']
Output (English): A, O