gcf and lcm of three numbers