Task: Program Execution
Input (English): 5615, B, 6835, A, 7739, 7753, C, 5643
Output (English): 5615, 6835, 7739, 7753, 5643