Task: Program Execution
Input (English): 595 g i j G 6473 R 7863 4103 5349 757 N 805 H g Y 4145 8767 4993 4359 Y 8665 5579 d 7855 C X n
Output (English): 2, 3, 4, 5, 7, 12, 14, 15, 16, 21, 24, 26, 27, 28