Task: Program Execution
Input (English): 6317, i
Output (English): 1