The fox and crocodile decided to grow their own food. When growing rice, potatoes, coconuts, the fox tricked the crocodile into taking the inedible parts each time. For sugar cane, the crocodile suggested they share fairly. From then on, they had plenty of food and lived happily.