编辑一段文本，使其语境更加清晰和易于理解。
一段具有语法和语义错误的文本，示例文本可以提供。
原始文本：“When they arrived at the store their were no more bananas left there was just a single apple which they bought it was really delicious.”

改进版：“When they arrived at the store, there were no more bananas left. However, they found a single apple that they decided to buy. It turned out to be really delicious.”（这段文本修复了主谓不一致和缺少句号等语法问题，同时也更清晰地陈述了事件发生的情况。）