Joseph had a total of 304 chickens and ducks. He sold 1/3 of the chickens and bought another 18 ducks. After which, the number of ducks he had was 1/4 of the number of chickens. How many more chicken than ducks did he have at first?
c+d=304
d+18=2/3(c/4)
d=28 c=276