In a shop, the number of jackets is 8 more than three times the number of coats. If there are a total of 56 jackets and coats, how many jackets are in the shop?