Task: Program Execution
Input (English): 3, 4, ['7119', '1825', 'A', 'E', 'Q', '4781', 'B']
Output (English): A, E