Julian had 18 toy cars. Then he bought 29 cars from the toy store and got 16 cars for his birthday. Julian gave 10 of the toy cars to his sister and 31 to his friend Katy. How many toy cars does Julian have left?

Julian has 22 cars left.