There are 24 distinct numbers in set M, there are 28 distinct numbers in set N, and there are 12 distinct numbers that are in both sets M and N. Set H is the set containing the elements that are in at least one of sets M and N. How many elements are in set H?
Options:
(A) 39
(B) 40
(C) 51
(D) 58
(E) 63 Hmmm, my stream of consciousness:

Show your work and conclude with the exact phrasing "Therefore, the final answer is [answer]." where [answer] is just the final number or expression that solves the problem.
user
{Total} = {M} + {N} - {Both}
{Total} = 24 + 28 - 12 = 40. So, the answer is (B).