Two subsets of the set S=\{a, b, c, d, e\} are to be chosen so that their union is S and their intersection contains exactly two elements. In how many ways can this be done, assuming that the order in which the subsets are chosen does not matter?

**Answer Choices**

A. 20

B. 40

C. 60

D. 160

E. 320