Task: Program Execution
Input (English): S 8113 9143 4801 a 1841 6543 g 6827 N 3337 6765 2717 6075 5511 s D 1753 U X 7381 s Q 1201 B 8669 j 25 6609
Output (English): 19, 8113, 9143, 4801, 1, 1841, 6543, 7, 6827, 14, 3337, 6765, 2717, 6075, 5511, 19, 4, 1753, 21, 24, 7381, 19, 17, 1201, 2, 8669, 10, 25, 6609