The ratio of the sides of a triangle is 3:4:5 and its perimeter is 48 inches. Find the length of the shortest side.