Cohomology groups of finite abelian groups