Luke had macarons and Perry had croissants. Both gave half of what they had to each other. Luke sold 11 macarons and Perry sold 28 croissants. In the end, the ratios of macarons to croissants for Luke and Perry were 1 : 8 and 1 : 6 respectively. How many macarons did Luke have at first?