Task: Program Execution
Input (English): M 8083 7913 d J 5791 m 7533 2919 o 3153 7505 N 1525 H 9617 k 3653 f q F S a 2325 G o 9535 461 5439 7555 351 u I W L 5389 d 7891 q h
Output (English): 1, 4, 5, 7, 10, 13, 15, 17, 19, 20, 21, 22, 23, 25, 26, 32, 33, 34, 35, 37, 39, 40