After taking 30 socks out of the dryer. Dina noticed that the ratio of blue socks to brown socks to black socks was 2 : 3 : 5. How many black socks were in the dryer?