A bag of potatoes has a mass of 4 kilograms.Some potatoes are taken out.The mass is now 2305 grams.What is the mass of the potatoes in grams that were taken out of the bag?