The volume of a pyramid varies jointly with its height and the area of its base. A pyramid with a height of 16 feet and a base area of 78 square feet has a volume of 416 cubic feet. If a pyramid has a base area of 102 square feet and a volume of 238 cubic feet, find its height.