Task: Program Execution
Input (English): Q, 7939, k, 5843, B, x, t, 5797, 6779, I, 8241, R, D, 8961, S, 785, j, 1661, 4643, 4319, 9291, 6613
Output (English): 7939, 5843, 5797, 6779, 8241, 8961, 785, 1661, 4643, 4319, 9291, 6613