Task: Program Execution
Input (English): 77, 6877, 5849, g
Output (English): 12803