Task: Program Execution
Input (English): 2001, 6695, o, J, 4279, T, 2929, 4597, 6767, l, D, P
Output (English): 2001, 6695, 4279, 2929, 4597, 6767