Start the solution by noticing that 117 + 293 + 140 + 46 = 596. It means that all listed subsets in the problem are disjoint. Based on it, the rest of the solution is very simple: +--------------------------------------------------------------------+ | Add the married and widowers and relate the sum to the total. | +--------------------------------------------------------------------+