Task: Program Execution
Input (English): N, 333, G, x, 3175, 5711, W, t
Output (English): 9219