Three persons own 51 quarts of rice, and have only two measures; one a 4-quart, the other a 7-quart measure. How shall they divide it into three equal parts?