Task: Program Execution
Input (English): 739 i 9987 N 7649 a Q 4143 8091 9845 2401 1977 2947 7073 k 8219 J q 5903 2333 7241 3157 B S 8357 F t 229
Output (English): 739, 9, 9987, 14, 7649, 1, 17, 4143, 8091, 9845, 2401, 1977, 2947, 7073, 11, 8219, 10, 17, 5903, 2333, 7241, 3157, 2, 19, 8357, 6, 20, 229