Find the amount of the sample remaining after9 hours and after40 hours. Round your answers to the nearest gram as necessary.