A counting argument attributed to Richard Stanley appears here.
Briefly, it goes like this:
$$\displaystyle\sum_{\pi\,\vdash n} {F(\pi)}=\displaystyle\sum_{i=1}^n p(n-i)\textrm,$$
because $p(n-i)$ is the number of partitions of $n$ with at least $i$ ones. The sum counts the number of partitions with $k$ ones $k$ times: once in $p(n-1)$, once in $p(n-2)$, and so on up to one final time in $p(n-k)$.
Then $\displaystyle\sum{G(\pi)}$ is shown to be the same thing by a clever observation.
Let $True(P)$ have value $1$ if $P$ is true and $0$ if $P$ is false, and let $H(i)$ be the number of partitions of $n$ that contain (at least one) $i$. Then
$$\sum_{\pi\,\vdash n}{G(\pi)}=\sum_{\pi\,\vdash n}\sum_{i=1}^nTrue\left(\pi \textrm{ contains an }i \right) = \sum_{i=1}^n\sum_{\pi\,\vdash n}True\left(\pi \textrm{ contains an }i \right) = \sum_{i=1}^n H(i)\textrm.$$
The observation that $H(i)=p(n-i)$ completes the proof.