static void ProductionBehavior() => ProblemStatements .Select(problem => new ExactSolver().DistinctExpressionsFor(problem)) .SelectMany(expressions => Report(expressions, "No solutions found for the problem.")) .WriteLinesTo(Console.Out);
static void Main(string[] args) { ProblemStatements.WriteLinesTo(Console.Out); }