The length of a rectangle is 19 inches less than the perimeter. The area is 1,400 square inches. What are the dimensions?