Task: Program Execution
Input (English): 4, ['3123', 'B', 'E', '519', '7925', '9861', 'L', 'W', 'D', '663', '4561', '1777', 'S', 'x', 'C']
Output (English): 3123, 7925, D, S