Teen pleads guilty, gets five years for burglary