Teen who supplied gun in fatal shooting sentenced to 18 months in prison