The integers a,b,c,d satisfy a>b>c>d and a+b+c+d=2048 and a^2-b^2+c^2-d^2=2048. find the smallest possible value of a.