Task: Program Execution
Input (English): J, P, 1199, 8057, O, C
Output (English): 10, 16, 1199, 8057, 15, 3