needed help in problem Joes Arrangements of Codemania 2016

link text

Explain exactly what kind of help you need!

//