Task: Program Execution
Input (English): 103, a, g, f, r, g
Output (English): 0, 1, 3