Functions relating to Largest Products of various Inputs