he studied pharmacy and philosophy and literature