Task: Program Execution
Input (English): f 5977 Q o 7887 5727 4075 3035 W 4259 287 i Z u 7449 6417 9969 1821 I 9313 1893 d 9817 U c 541 467 J
Output (English): 6, 5977, 17, 15, 7887, 5727, 4075, 3035, 23, 4259, 287, 9, 26, 21, 7449, 6417, 9969, 1821, 9, 9313, 1893, 4, 9817, 21, 3, 541, 467, 10