Task: Program Execution
Input (English): K, 1063, 2739, O, 1165, t
Output (English): 11, 1063, 2739, 15, 1165, 20