Man sentenced to 50 years in prison for stealing a rack of ribs