#!/usr/bin/env python3 from itertools import combinations for n in range(1,16): sol=[] for mask in range(1,1<