Task: Program Execution
Input (English): 9365 N 6767 F x 6863 v 3153 4849 q G Z 4523 X 4837 R N 4165 4285 n 8175 807 K 3165 S f 9189 T W
Output (English): 1, 3, 6, 8, 9, 13, 15, 18, 19, 21, 22, 24, 27