Task: Program Execution
Input (English): 6221 1577 T X P 2999 N D H 409 c A 7523 8837 E 4821 9425 d U B 4569 5495 b 1579 4181 5317 G j 9367 3533 O q
Output (English): 1, 2, 6, 10, 13, 14, 16, 17, 21, 22, 24, 25, 26, 29, 30