IF GROUP B WAS IN BEST INTEREST

i worked hours to do this correctly