Task: Program Execution
Input (English): G, 3531, 2239, 273, 9011, 2865
Output (English): 17919