contestada

Ricky bought beans and yams for $6.35. He paid $3.15 for all the beans and
$0.40 for each yam. How many yams did he buy?