A sample of a metal has a mass of 2272 grams. Its dimensions are 5 cm by 5 cm by 8 cm. What is the density of the sample?