Task: Program Execution
Input (English): 5933, B, A, 9979, 4657, 7373, T, h, f, 4969
Output (English): 5933, 9979, 4657, 7373, 4969