Task: Program Execution
Input (English): G, 9141, 5673
Output (English): 14814