Task: Program Execution
Input (English): 4161 K 2373 C Q 1689 Z P r 3841 C 3767 r c s 5187 9919 K 9227 Q k q 5631 8067 l 2263 A e 5329 I 4397 A g 3807 L 4817 d
Output (English): 2, 4, 5, 7, 8, 9, 11, 13, 14, 15, 18, 20, 21, 22, 25, 27, 28, 30, 32, 33, 35, 37