A four-variable logic function that is equal to 1 if any three or all four of its variables are equal to 1 is called a majority function. Design a minimum-cost SOP circuit that implements this majority function.