Task: Program Execution
Input (English): x, 4661, G, 2865, 4049, 7255, q, 3267, 7299, 3935, 3183, 3149, f, R, 6715, I, p, r, 8781, a, 2637
Output (English): 4661, 2865, 4049, 7255, 3267, 7299, 3935, 3183, 3149, 6715, 8781, 2637