The mean of 3 consecutive multiples of 3 is equal to A.The mean of 4 consecutive multiples of 4 is equal to A + 27.

The mean of the smallest and largest of these 7 numbers is 42. Find A