Similarities in the exchange of rice and potatoes