Task: Program Execution
Input (English): Y 1673 N 8187 3719 4879 b x C 4325 E 309 95 A 4701 6007 U 9713 5021 X B O 8775 P 4771 2417 1573 4361 1943 T
Output (English): 1, 3, 7, 8, 9, 11, 14, 17, 20, 21, 22, 24, 30