Teen sentenced to 20 years in prison for armed robbery