The lengths in feet of three ropes are consecutive multiples of three. If each rope were four feet shorter, the sum of their lengths would be 42 feet. Find the lengths of the three ropes.