A peanut vendor has 5 kilograms of peanuts left to sell. He puts the peanut in bags that contain 100 grams each. How many bags of peanuts does he have to sell?