Task: Program Execution
Input (English): 9799 1197 y 965 M X K W 3741 v h 7081 1169 B i 7355 o 5699 5691 1871 D 155 i 249 t 2659 9859 S B 7623 2951 7269 G
Output (English): 1, 2, 4, 9, 12, 13, 16, 18, 19, 20, 22, 24, 26, 27, 30, 31, 32