The average of three consecutive multiples of 3 is a, the average of four consecutive multiples of 4 is a+27The average of the smallest and largest of these seven integers is 42, Determine the value of a.