Task: Program Execution
Input (English): 6029 615 d r 4857 z 5001 8169 Q 2799 r 6451 u g 7233 8047 2819 9241 9015 4507 J 297 1845 5169 315
Output (English): 3, 4, 6, 9, 11, 13, 14, 21