A bullet is fired horizontally from a height of 78.4 m and hits the ground 2400 m away. With what velocity does the bullet leave the gun?