Task: Program Execution
Input (English): 7, ['5221', '9409', 'B', 'w', 'a', '395', 'P', '3073', 'z', '3131', '5557', '8767', 'K', 'F', 'D', 'l', 'r']
Output (English): 5221, 3073, D