Task: Program Execution
Input (English): 2631, G, 1943, w
Output (English): G, w