Task: Program Execution
Input (English): S, V, g, z, 7583, x, 7977, t, Q, 4053, 787, I, 3161, 8487, 2803, G, T, 4475
Output (English): S, V, g, z, x, t, Q, I, G, T