Task: Program Execution
Input (English): M, o, 7789, Y, h, o, 9935, J, 9693, J, P
Output (English): 13, 15, 7789, 25, 8, 15, 9935, 10, 9693, 10, 16