Task: Program Execution
Input (English): f 547 C B o 8587 Q 2219 i m m c R V 6617 I 4061 b V d J 939 E 6459 1031 5411 S 4413 8557 3605 u d 1899 7981 V a 2815
Output (English): 6, 547, 3, 2, 15, 8587, 17, 2219, 9, 13, 13, 3, 18, 22, 6617, 9, 4061, 2, 22, 4, 10, 939, 5, 6459, 1031, 5411, 19, 4413, 8557, 3605, 21, 4, 1899, 7981, 22, 1, 2815