Ava, Zoe and Logan went to the market to buy some presents for a friend's birthday. The three of them
together spent $720. If Logan spent twice as much Zoe did and Zoe spent $40 less than Ava did, how
much did each of them spend?