Prove that if (1) a+b=c+d\quad a + b = c + da+b=c+d and (2) a2+b2=c2+d2\quad a^{2} + b^{2} = c^{2} + d^{2}a2+b2=c2+d2
then among the numbers a,b,c,da, b, c, da,b,c,d there are at most two different values.