The ratio of the base to the leg of an Isosceles triangle is 27. If the perimeter of the triangle is 304 feet, find the length of the base.