Task: Program Execution
Input (English): G, 9949, 319, I
Output (English): 10268