Task: Program Execution
Input (English): l 8589 a x 4409 a B c p h 2255 6165 1071 819 6759 F T V 4375 6205 P p 249 2509 D u w 4829 l 3527 I 9917 v 4903 L 1157 6955
Output (English): 12, 8589, 1, 24, 4409, 1, 2, 3, 16, 8, 2255, 6165, 1071, 819, 6759, 6, 20, 22, 4375, 6205, 16, 16, 249, 2509, 4, 21, 23, 4829, 12, 3527, 9, 9917, 22, 4903, 12, 1157, 6955