Task: Program Execution
Input (English): 7207, Q, t, x, G, L, V, I, 7255, P, V, D, 5183, 8359, 1917, p, 7697
Output (English): 7207, 7255, 5183, 8359, 1917, 7697