Why I get logic eval error: txn index 1, len(group) is 1?

It is exactly the result I wanted to achieve! Thank you so much @nullun , have a good day!