Malachi has a dog. The dog gives birth to 9 brown puppies but Malachi gives 3 puppies to his friend. How many puppies are left with him?