Task: Program Execution
Input (English): M 4855 6783 O O T e 729 f z 225 3787 5149 7309 Q 1101 Q 205 6733 R E t 3929 1385 8963 5983 3427 D 661 w r 9081 4689 9227 T 357
Output (English): 1, 4, 5, 6, 7, 9, 10, 15, 17, 20, 21, 22, 28, 30, 31, 35