The distance from city A to city B is 3 times father than the distance between city B and city C. The total distance from city A to city B to city C is 50 miles. How far is it from city A to city B?