Task: Program Execution
Input (English): 9115 41 8851 m j 9139 S 2755 k i 1053 1597 3805 5641 677 513 R 7693 4753 6785 7011 N 8713 2149 I 9627 529 R M 6911 M o 3357 j B 2005 Z K
Output (English): 1, 2, 3, 6, 8, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 23, 24, 26, 27, 30, 33, 36