Comments

Today's problem E

One can write a simple bruteforce for n = 5 and find this trivially.