CDE Corporation declared a $2 per share dividend on October 1. The date of record is October 20th, the ex-dividend dat is October 18th, and the payment due is October 11th. Joe owns a share of stock on October 1st, Joe sells his stock to Mary on October 18th. Mary sells the share to Tom on October 20th, Tom sells the share to William on October 30th. Who will receive the dividend?
a) Mary
b) Joe
c) Tom
d) William