Task: Program Execution
Input (English): L 1213 h O 3347 C 9391 293 8177 r 5515 5025 2559 1463 c G B E 7115 633 f P k 5371 3507 k 243 7501 U 3309 7749 j 9977 K
Output (English): 12, 1213, 8, 15, 3347, 3, 9391, 293, 8177, 18, 5515, 5025, 2559, 1463, 3, 7, 2, 5, 7115, 633, 6, 16, 11, 5371, 3507, 11, 243, 7501, 21, 3309, 7749, 10, 9977, 11