21
for k in range(1, n):
    for h in range(k, n):
        for l in range(1, k):
            for t in range(l, k):
                for i in range(k, h):
                    for c in range(h, n):
                        for p in range(k, i):
                            for z in range(p, i):
                                for v in range(t, k):
                                    for r in range(1, l):
                                        for g in range(l, t):
                                            for d in range(k, p):
                                                for a in range(r, l):
                                                    for x in range(1, r):
                                                        for f in range(t, v):
                                                            for s in range(x, r):
                                                                for w in range(l, g):
                                                                    for e in range(d, p):
                                                                        for y in range(i, h):
                                                                            for j in range(w, g):
                                                                                lag
