Third teen sentenced to prison in attack on Australian researcher