The perimeter of a triangle is 38 feet. One side of the triangle is one foot longer than the second side. The third side is four feet longer than the second side. Find the lengths of all three sides (in feet). (Enter your answers as a comma-separated list.)