12 hour shifts

Is this legal ? For an 17/18 yr old ? I