#!/usr/bin/env python3 from z3 import * def attempt(colors): v=[Int('v%d' % i) for i in range(18)] s=Solver() for i in range(18): s.add(And(v[i]>=0, v[i]