First heres the question:

Three political parties are competing in a local election: the community, equity and green parties. A total of 39 resolutions appear on the ballot and will be voted on in this election. The equity party endorses a total of 15 resolutions. The community party endorses a total of 17 resolutions. The green party endorses a total of 21 resolutions. Five resolutions are endorsed by both equity and community. 8 resolutions are endorsed by both the equity and green. 7 resolutions are endorsed by both the green and community parties. 4 of the resolutions are not endorsed by any of the 3 political parties mentioned above.

a) illustrate this with a venn diagram. Locate appropriate numerical values in all relevant sections of the diagram.

b) How many of the 39 resolutions are endorsed by all 3 political parties.

Now I have no problem actually drawing a venn diagram, what I dont know how to do is figure out the numbers that go in each section. Like how do I figure out how many resolutions are endorsed by all 3? Or how many are endorsed exclusively by each party. Any help greatly appreciated.