Sort:  

Apple=10 , banana=3(because we have three not 4 bananas in the final equation) and coconut =1
so 10+3+1=14
This is the way i solved