Anna, Betty and Candy shared a box of sweets. Anna took 8 more than 1/3 of the number of sweets in the box. Betty took 18 more than half of the remaining number of sweets . If Candy took the last 6 sweets, how many sweets were there in the box at first?