Daniel bought some sweets. He gave 1/2 of the sweets to his brother and 1/3 of
the remainder to his sister. He then shared the rest of the sweets with 3 of his
friends. If each of his friends received 8 sweets, how many sweets did Daniel buy
altogether?