Sam makes six star-shaped cookies out of dough. He puts all of the cookies on a balance and measures the total weight as 36 grams. He then squeezes the cookies into one big ball and measures the weight. What is the weight of the entire ball?