Task: Program Execution
Input (English): T, 5023, H, g, 4079, 1565, 3111, 7159, z, 9887, X, g, 5245, K, 9687, G, 4835, 3879, 385, H, 9415
Output (English): 20, 5023, 8, 7, 4079, 1565, 3111, 7159, 26, 9887, 24, 7, 5245, 11, 9687, 7, 4835, 3879, 385, 8, 9415