Task: Program Execution
Input (English): Q n 8347 D 8875 5343 t 1413 u 2795 A B 1611 5179 9263 K 9081 i U 4745 C 5963 e D 1525 I 1287 D 1407 J 2473 O 9253 H 1011 8025
Output (English): 1, 2, 4, 7, 9, 11, 12, 16, 18, 19, 21, 23, 24, 26, 28, 30, 32, 34