An object is dropped from the top of a tall building. The height S of the object after t seconds I’d given by the equation S = -16t^2+324. Find how many seconds pass before the object hits the ground.