Task: Program Execution
Input (English): T 7805 M o 9325 9135 5987 9723 8873 2981 7495 393 9717 1923 N 3739 4811 6039 909 9625 m 379 9197 I 8839 H
Output (English): 20, 7805, 13, 15, 9325, 9135, 5987, 9723, 8873, 2981, 7495, 393, 9717, 1923, 14, 3739, 4811, 6039, 909, 9625, 13, 379, 9197, 9, 8839, 8