Task: Program Execution
Input (English): A 3543 3371 R A 3953 2281 n 7431 1281 c 8559 g 5437 3001 K R p B R O A w J 4709 4119 S w 4715 431 k n
Output (English): 2, 3, 6, 7, 9, 10, 12, 14, 15, 25, 26, 29, 30