Task: Program Execution
Input (English): C, j, P, d, 2227
Output (English): 3, 10, 16, 4, 2227