Task: Program Execution
Input (English): 7325 2999 7991 b 3657 D 305 7781 5609 x Y 8397 7661 j g O 917 S 2637 l d Q 3107 z 3673 q 7221 u K 8859 4555 8565 i G 1985
Output (English): 7325, 2999, 7991, 2, 3657, 4, 305, 7781, 5609, 24, 25, 8397, 7661, 10, 7, 15, 917, 19, 2637, 12, 4, 17, 3107, 26, 3673, 17, 7221, 21, 11, 8859, 4555, 8565, 9, 7, 1985