A group of friends shared some chocolates among themselves. They tried taking 10 chocolates each, but found that the last person had only 2 chocolates. When each person took 8 chocolates, there were 20 left over. How many friends shared the chocolates?
(1) 14
(2) 11
(3) 8
(4) 6