Persons under 18 years of age shall not be punished by imprisonment in the penitentiary except for murder, manslaughter, rape, robbery, burglary or arson. In all other cases persons between 16 and 18 years of age shall be imprisoned in the county jail for a term not exceeding 18 months.

R. S., ch. 38, sec. 449.