A certain sample of liquid has a mass of 42 grams and a volume of 35 centimeters. What is the density of the liquid?