3Among the unseen beasts that left tracks on unknown paths, there was a herd of one-headed Thirty-four-legged creatures and three-headed Dragons. In total, the herd has 286 legs and 31 heads. How many legs does a three-headed Dragon have?

#