Task: Program Execution
Input (English): G, 4575, 1411, 8579, 5663
Output (English): 20228