Which of the following works were most influential in the development of functionalism?

A) "The Principles of Psychology" by William James
B) "The Interpretation of Dreams" by Sigmund Freud
C) "Critique of Pure Reason" by Immanuel Kant
D) "The Social Contract" by Jean-Jacques Rousseau
E) "The Origin of Species" by Charles Darwin