Dylan had tarts and Billy had puffs. Both gave half of what they had to each other. Dylan sold 11 tarts and Billy sold 25 puffs. In the end, the ratios of tarts to puffs for Dylan and Billy were 1 : 5 and 1 : 3 respectively. How many tarts did Dylan have at first?