Task: Program Execution
Input (English): 2951 x P 5449 o n N g 9911 B 7155 a 5849 9785 U 8275 D 555 4309 n 9455 4731 O 9965 8743 a 6279 9385 S Y 6269
Output (English): 2, 3, 5, 6, 7, 8, 10, 12, 15, 17, 20, 23, 26, 29, 30