contestada

A farmer had twice as many cows as sheep. After he had sold
375 cows and another 12 cows died, he had half as many cows
as sheep left. How many cows remained?