Task: Program Execution
Input (English): 7249, A, 9915, 8199, b, f
Output (English): 7249, 1, 9915, 8199, 2, 6