Teen gets 27 years in Mississippi killing