Task: Program Execution
Input (English): 7001, n, 909, 2983, H, 6317, 1407, A
Output (English): 7001, 14, 909, 2983, 8, 6317, 1407, 1