Smith has a garden with 40 carrots in it. They pick some carrots to feed their pet rabbit, leaving 90% of the carrots in the garden. How many carrots does Smith have left in the garden?