Three of four numbers have a sum of 22. If the average of the four numbers is 8, what is the fourth number?