# Jelly, 6 bytes

    s2Q€Ṗ€

[Try it online!][1]

[1]: http://jelly.tryitonline.net/#code=czJR4oKs4bmW4oKs&input=&args=JzExMDAwMTEwJw