Task: Program Execution
Input (English): 4075 U 731 4273 S 351 s S m 6359 9533 g 5401 P 3447 h 7461 K 6457 r 9941 B 5447 o B R 1271
Output (English): 2, 5, 7, 8, 9, 12, 14, 16, 18, 20, 22, 24, 25, 26