Task: Program Execution
Input (English): 4, ['2817', 'p', 'g', 'n', '4541', 'B', '7053', '9905', '1047', '9117', '6755', '4275', 'j', 'P', 'J', '9435', '9869', 'D', 'C', 'i', '7389', 'B', 'g', '6221', '6377', 'B']
Output (English): 2817, 4541, 1047, j, 9869, 7389, 6377