Let G be a finite abelian group. Prove that G is a cyclic p-group if and only if for every two subgroups $H, F\le G$, we have $H\cap F\neq \{e\}$.
I came up with one implication ($\Rightarrow$), and in the other direction I have the following:
$H\cap F \le G$, so if $d = |H\cap F|$, then $d$ divides all of $|G|, |H|, |F|$. If $|G|$ had two distinct prime factors, this wouldn't be possible for every two subgroups. Hence $G$ is a p-group. Moreover, there exists a subgroup $H_0\le G$, isomorphic to $C_p$, such that for every $F\le G$, we have $H_0\le F$ (since $H_0\cap F$ is non-trivial).
I feel it's close to proving that $|G|$ is cyclic, but I haven't managed to do it.