Task: Program Execution
Input (English): d, 7689, l, 2225, 2653, o, P, 767, 9077, 1799, 7917, 43, 6633, 9857, 3307, J, R, Y, 5243, 4523, 577
Output (English): 4, 7689, 12, 2225, 2653, 15, 16, 767, 9077, 1799, 7917, 43, 6633, 9857, 3307, 10, 18, 25, 5243, 4523, 577