The first side of a triangle is 3 inches shorter than the second side, and 2 inches longer than the third side. How long is each side, if the triangle has a perimeter of 28 inches?