A right square pyramid has a slant height of 25 feet, and the length of a side of the base is 14 feet. What is the height of the pyramid?