Task: Program Execution
Input (English): 9545 9613 7009 q Y y 111 M 5399 B B i 879 2709 P 9781 M Y 3765 q 3275 7335 T B 4765 X 8779 179 S 3727 701 N 1585 d 5455 f X 7065
Output (English): 9545, 9613, 7009, 17, 25, 25, 111, 13, 5399, 2, 2, 9, 879, 2709, 16, 9781, 13, 25, 3765, 17, 3275, 7335, 20, 2, 4765, 24, 8779, 179, 19, 3727, 701, 14, 1585, 4, 5455, 6, 24, 7065