Help - SUPERCUP problem DTCT2015

I was wondering if simple iteration over all possible combinations with “Meet in the middle” technique will work. I am not able to find this problem in practice section to submit . Here is my code:

My code