Given a mathematical or real-world context, find the greatest common factor and least common multiple of two whole numbers.