Task: Program Execution
Input (English): 9745, 8525, 5645, P, C, I, a
Output (English): 9745, 8525, 5645, 16, 3, 9, 1