What is the greatest prime factor of 24 and 32?