Task: Program Execution
Input (English): 6997 2423 i 6579 Z G R 9701 7325 5603 Z 1251 K w 1039 6881 2857 u 521 A 6453 U Z A 5127 f v w 4619 6805 S
Output (English): 3, 5, 6, 7, 11, 13, 14, 18, 20, 22, 23, 24, 26, 27, 28, 31