Task: Program Execution
Input (English): 2405 4835 273 2545 K q 9697 3433 k Q 8417 7295 7161 5215 1109 6845 435 l 879 1195 z 9745 5521 k 5711 B 8935 u m 4585 K 4649 2237 f M 6919
Output (English): 5, 6, 9, 10, 18, 21, 24, 26, 28, 29, 31, 34, 35