X+Y+Z= 100。
3X+ 1/3Y+ 1/ 13Z = 100
X, y, Z y and z are positive integers.
So the solution is X = 30Y= 18 and Z=52.
That is, a * * * buys 30 watermelons; 18 melon; 52 gourds and melons