There are 30 students in Mrs.Woodward’s class, and 1/2 of the class has their own cellphone.Of this group of students, 1/3 of them are allowed to use social media. How many of the students have a cellphone and can use social media?