Task: Program Execution
Input (English): G, a, 5067, 6303, 2649
Output (English): 14019