An Extremal Problem