Owen had biscuits and Michael had croissants. Both gave half of what they had to each other. Owen sold 13 biscuits and Michael sold 22 croissants. In the end, the ratios of biscuits to croissants for Owen and Michael were 1 : 6 and 1 : 4 respectively. How many biscuits did Owen have at first?