Task: Program Execution
Input (English): G, 877, 1627, G, 2225, 615, 4007, N, 167, 5571, 9935
Output (English): G, G, N, 877, 1627, 2225, 615, 4007, 167, 5571, 9935