There were a total of 483 sheep and goats on the farm. When ⅔ of the sheep were sold, the number of the sheep left was equal to ¼ of the number of goats on the farm. How many sheep were sold?