In a small town, the number of dogs is 3/4 the number of cats, and there are 50 more birds than dogs. If the total number of animals (dogs, cats, and birds) is 850, how many dogs are there in the town? Let's think step by step and output the final answer within \boxed{}.
user