Three lessons on contrarian investing