Solve boolean21