A farmer wants to build a fence enclosing a rectangular region bordering a river. If the farmer has 500 feet of fencing, find the maximum area that can be enclosed.