A grand jury indicted the defendant, Gregory Lightfoot, for deriving support and maintenance from and sharing in the earnings and proceeds of a female prostitute, in violation of G. L. c. 272, § 7, as amended through St. 1980, c. 409. The defendant filed a motion to dismiss the indictment in which he asserted that G. L. c. 272, § 7,
1
is “impermissibly
*719
ambiguous and unconstitutionally vague.” The trial judge hearing the motion ruled that the question of law raised by the defendant is so “important” as to “require the decision of the Appeals Court” and he reported it.
2
See Mass. R. Crim. P. 34,
The defendant contends that G. L. c. 272, § 7, is unconstitutionally vague and ambiguous because its provisions are in conflict with the clear mаndate of G. L. c. 279, § 24. 3 First, he argues that the first paragraph of G. L. c. 272, § 7, which states that a person convicted under the statute’s provisions “shall be punished by imprisonment in the state prison for a period of five years and by a fine of five thousand dollars,” appears to preclude the exercise of judicial discretion in sentencing. This, he claims conflicts with the prоvisions of G. L. c. 279, § 24, which prohibits a judge from fixing the term of a sentence to the State prison and commands a judge to “fix a maximum and a minimum term.” The defendant also asserts *720 that the second рaragraph of G. L. c. 272, § 7, which provides for a two-year sentence in the State prison, conflicts with G. L. c. 279, § 24, which provides that the minimum term which can be served in the State prison is two and one-half years. Finally, the defendant argues that these inconsistencies render the statute unconstitutionally vague and ambiguous.
The Commonwealth suggests that the Legislature intended the following penalty scheme: a sentence of not less than two nor more than five years in the State prison and a $5,000 fine. Any sentence imposed which is less than two and one-half years, the argument continues, should be served in a correctional institution other than the State prison. The judge in his report suggested an alternative interpretation. His suggestion requires that we intеrpret G. L. c. 272, § 7, as an implied repeal of G. L. c. 279, § 24.
The language of G. L. c. 272, § 7, admittedly creates an ambiguity when read in light of G. L. c. 279, § 24. However, “[w]e may look to outside sources to determine the meaning of a statute whose language is unclear.”
Commonwealth
v.
Gagnon,
However, we аgree with the Commonwealth and conclude that G. L. c. 272, § 7, can be read consistently with G. L. c. 279, § 24, thereby eliminating any reasonable doubt as to its meaning. “[W]here two or more statutes relate to the same subject matter, they should be construed together so as to constitute an harmonious whole consistent with the legislative purpose.”
Registrar of Motor Vehicles
v.
Board of Appeal on Motor Vehicle Liab. Policies & Bonds,
We conсlude that G. L. c. 272, § 7, directs a trial judge to “fix a maximum and a minimum term” in conformity with the mandate of G. L. c. 279, § 24. The first paragraph does not include the word “mandatory.” The statute merely states that the judgе “shall” impose a five-year sentence and a $5,000 fine. We decline to interpret this as precluding judicial discretion in sentencing, especially in the absence of the word “mаndatory.” See
Commonwealth
v.
Marrone,
Moreover, we disagree with the defendant that an inconsistency еxists between G. L. c. 272, § 7, which provides for a two-year sentence in State prison, and G. L. c. 279, § 24, which provides that the minimum term which can be served in the State prison is two and one-half years. “In mаking the crime punishable by a sentence to State prison, the Legislature has placed offenders on notice that transgression of the statute ... is a felony.”
Commonwealth
v.
Dupree,
In
Commonwealth
v.
Graham,
Furthermore, we decline to adopt the judge’s suggestion that G. L. c. 272, §7, operates as an implied repeal of G. L. c. 279, § 24. “The longstanding test for the principle of implied repeal is whether the prior statute is so repugnant to, and inconsistent with, the later enactment that both сannot stand.”
Commonwealth
v.
Graham, supra
at 125. “We are loath to find that a prior statute has been superseded in whole or in part in the absence of express words to that effect or of clear implication.”
Registrar of Motor Vehicles
v.
Board of Appeal on Motor Vehicle Liab. Policies & Bonds,
We answer the reported question 1 in the negative. We therefore need not answer 1 (a), which assumes an affirmаtive response to question one. We answer 1 (b) in the affirmative.
Notes
General Laws c. 272, § 7, as amended through St. 1980, c. 409, provides: “Whoever, knowing a person to be a prostitute, shall live or dеrive support or maintenance, in whole or in part, from the earnings or proceeds of his prostitution, from moneys loaned, advanced to or charged against him by any keeper or manager or inmate of a house or other place where prostitution *719 is practiced or allowed, or shall share in such earnings, proceeds or monеys, shall be punished by imprisonment in the state prison for a period of five years and by a fine of five thousand dollars.
“The sentence of imprisonment imposed under this section shall not bе reduced to less than two years, nor suspended, nor shall any person convicted under this section be eligible for probation, parole, or furlough or receive any deduсtion from his sentence for good conduct or otherwise until he shall have served two years of such sentence. Prosecutions commenced under this section shall not be continued without a finding nor placed on file.”
The trial judge reported the following question: “(1) Does § 7 of chapter 272 supersede § 24 of chapter 279? If, yes: (a) Does [paragraph] 2 of § 7 apply to a judge revising a sentence pursuant to Mass. R. Crim. P. 29? If, no: (b) Does the ‘period of five years’ in § 7 constitute ‘the longest term fixed by law for the punishment of the crime’ of § 24?”
General Laws c. 279, § 24, provides: “If a convict is sentenced to the state prison, except for life or as an habitual criminal, the court shall not fix the term of imprisonment, but shall fix a maximum and a minimum term for whiсh he may be imprisoned. The maximum term shall not be longer than the longest term fixed by law for the punishment of the crime of which he has been convicted, and the minimum term shall not be less than two аnd one half years.”
General Laws c. 218, § 27, provides that District Courts “may impose the same penalties as the superior court for all crimes of which they have jurisdiction, except that they may not impose a sentence to the state prison.”
