The fundamental group of space which has H and co-H group sturucture is 0 or Z(integer)?

Why this is true?