A triangle has a perimeter of 51 feet. If the three sides of the triangle are n, 3n + 4, and 3n - 2, what is the length of each side?
Separate multiple entries with a comma.