A farmer is growing corn. For every 4 seeds he plants, he gets one ear of corn, that he can sell for .1.Itcosts.1. It costs .1.Itcosts.5 for a bag with 100 seeds. If he makes $40 in profit, how many ears did he sell?