A person guilty of an offence under any of sections 15 to 18 shall be liable—
on conviction on indictment, to imprisonment for a term not exceeding 14 years, to a fine or to both, or
on summary conviction, to imprisonment for a term not exceeding six months, to a fine not exceeding the statutory maximum or to both.