Task: Program Execution
Input (English): 9481 E 5999 7759 5397 s 887 3543 r m b a 7857 8581 T 3775 5281 5431 2315 r s k 1099 g S 1249 9247 p 9203 D A K T 5857 913 N O S
Output (English): 1, 3, 4, 5, 7, 8, 13, 14, 16, 17, 18, 19, 23, 26, 27, 29, 34, 35