Task: Program Execution
Input (English): M 5543 2735 C p g 4239 6011 u R 6475 1005 l s 2615 3603 C c 9247 y b 6141 6415 1219 O w j x 1707 6901 n 7585 3607 J 3427
Output (English): 1, 4, 5, 6, 9, 10, 13, 14, 17, 18, 20, 21, 25, 26, 27, 28, 31, 34