A resturant charges an automatic 20% tip for groups of 6 or more. A group of 8 people had a bill of $187.How much was their tip?