18-year-old sentenced for throwing child off balcony