Task: Program Execution
Input (English): n 3989 P p 3571 5897 g 8927 y B 3291 3657 O C 4451 3495 z t 3689 4423 4371 q 2923 K H x t n
Output (English): 2, 5, 6, 8, 11, 12, 15, 16, 19, 20, 21, 23