in Farm A, 4/5 of the number of sheep are equal to 1/2 of the number of sheep in farm B. The total number of sheep in farm A and farm B is 845. How many sheep are there in Farm B?