Whenever, in this code, the punishment for a crime is left undetermined between certain limits, the punishment to be inflicted in a particular case, must be determined by the court authorized to pass sentence within such limits as may be prescribed by this code.
Idaho Code § 18-107