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