Task: Program Execution
Input (English): r 7807 1617 P 579 K 6687 5819 5843 9083 4985 4555 59 2549 T D B 4749 9443 563 3677 p z 5565 f 6261 1821 237 S 9881 O 3857 3707 r M
Output (English): 1, 4, 6, 15, 16, 17, 22, 23, 25, 29, 31, 34, 35