Input (grade 8): James Madison married Dolley Payne Todd, a widow, on September 15, 1794, in what is now Jefferson County, West Virginia. Madison adopted Todd's one surviving son, John Payne Todd, after the marriage.
Output (grade 4): Madison married Dolley Todd nee Payne in April 18, 1794.