Task: Program Execution
Input (English): 3905, D, P, D, 897, h, 9827, L, 4539, H, 3189, 3825, 1051, o, M, R, 5761, z, 7227, p, 3537, l
Output (English): 3905, 4, 16, 4, 897, 8, 9827, 12, 4539, 8, 3189, 3825, 1051, 15, 13, 18, 5761, 26, 7227, 16, 3537, 12