Added GreatestOfN.