There are 4 positive integers a,b,c,d, such that 4cos(x)cos(2x)cos(4x) = cos(ax)+cos(bx)+cos(cx)+cos(dx) for all values of x. Find a+b+c+d.?