yep, you need both; and in fact the definition includes both: https://en.wikipedia.org/wiki/Abelian_group