Teen sentenced to prison for burglary