The lengths of the sides of this triangle are 3 consecutive integers. If its perimeter is 42 what is the length of the longest side?