Task: Program Execution
Input (English): 4, ['B', '3355', '9981', 'D', '1627', 'p', 'c', '4761', '8085']
Output (English): 1627, p, c, 4761, 8085