Task: Program Execution
Input (English): 2, ['6155', 'F', '6877', 'L', '9567', '8757', 'D', 'T']
Output (English): 6877, L, 9567, 8757, D, T