Task: Program Execution
Input (English): 313, g
Output (English): 1, 3