Task: Program Execution
Input (English): f a Z l 6089 2995 k 6207 4363 M 6203 3649 s T 5547 5399 U f 7639 9179 Q Y X x o 2835 l o 3495
Output (English): 6, 1, 26, 12, 6089, 2995, 11, 6207, 4363, 13, 6203, 3649, 19, 20, 5547, 5399, 21, 6, 7639, 9179, 17, 25, 24, 24, 15, 2835, 12, 15, 3495