include lcm solution