Mr, Green harvested pumpkins for selling at four markets. He sold one-fifth of his crop at the first markey, 40 at the second, 25% of the remainging ar the third, abd twice what he sold at the second and at the fourth market. If Mr Green has one pumpkin remaining, how many pumpkins did he sell.