A mass oscillates up and down on a vertical spring with an amplitude of 6 cm and a period of 2 s. What total distance does the mass travel in 16 seconds?