Task: Program Execution
Input (English): 6731, 1939, 1707, G, u, G, 7169, 4509, 4069, s, U, g
Output (English): 6731, 1939, 1707, 7169, 4509, 4069