Given S=(m,a,t,h) write the complete list of subsets