Task: Program Execution
Input (English): 5787 g 2751 P 7443 f x J J Y 5891 4207 3571 a D x R 9305 331 Q D 3195 1597 b q 4127 3753 N n 6987 D 3725 1057 T J
Output (English): 1, 3, 5, 11, 12, 13, 18, 19, 22, 23, 26, 27, 30, 32, 33