Task: Program Execution
Input (English): 8745 B 5423 A 685 m 249 o Z 661 2825 2865 l P 7363 3803 537 S 1663 767 1251 D i 3343 x U 451 2225 I v 1051 b 2075 o N 911 5295 5475
Output (English): 2, 4, 6, 8, 9, 13, 14, 18, 22, 23, 25, 26, 29, 30, 32, 34, 35