Task: Program Execution
Input (English): B 151 y L d 5017 m 3855 Q h o 4685 e z 8411 4945 k j 4551 P 9719 4839 S 9201 i 4083 A 5231 K E C v 6019 h K R c
Output (English): 2, 151, 25, 12, 4, 5017, 13, 3855, 17, 8, 15, 4685, 5, 26, 8411, 4945, 11, 10, 4551, 16, 9719, 4839, 19, 9201, 9, 4083, 1, 5231, 11, 5, 3, 22, 6019, 8, 11, 18, 3