When Thomas Jefferson wrote the Declaration of Independence, he stated that people have the right to overthrow a government that does not protect their freedoms. Which Enlightenment philosopher most influenced Jefferson's ideas?
A:Voltaire
B:John Locke
C:David Hume
D:Montesquieu