Task: Program Execution
Input (English): 3939 C 2197 t 3287 L 7931 1985 2833 q 7723 7371 H D E 5717 H 3857 p B 6317 H 5601 y 5045
Output (English): 3939, 3, 2197, 20, 3287, 12, 7931, 1985, 2833, 17, 7723, 7371, 8, 4, 5, 5717, 8, 3857, 16, 2, 6317, 8, 5601, 25, 5045