Three teenage girls, aged 14, 16 and 17, have appeared in court.