Adding solution to LEXF problem.