If the average of 5 consecutive integers is 12, what is the sum of the smallest and the largest of the 5 integers?