Task: Program Execution
Input (English): 7939, D, 2747, H, J, H, 6257, v, I, 6391, t, y, 9607, T
Output (English): 7939, 4, 2747, 8, 10, 8, 6257, 22, 9, 6391, 20, 25, 9607, 20