smaller, equal or bigger : full solution

Information: smaller, equal or bigger : full solution