Task: Program Execution
Input (English): 8895 a q d 6495 q m 7651 C 6637 B 1623 5749 L I I 4241 5967 4527 3601 S 9661 4843 o 4055 5667 K R 6645 5839 d 3223 1661 M 7009
Output (English): 8895, 1, 17, 4, 6495, 17, 13, 7651, 3, 6637, 2, 1623, 5749, 12, 9, 9, 4241, 5967, 4527, 3601, 19, 9661, 4843, 15, 4055, 5667, 11, 18, 6645, 5839, 4, 3223, 1661, 13, 7009