Ty has 5 goats and 19 carrots. He gives each goat the same number of carrots, and he uses as many carrots as he can. How many carrots does Ty give each goat? How many carrots are left?