R=range I=lambda:int(input()) f=I() b=I() c=I() t=1 g=b+c-f-1 if b>c:b,c=c,b for d in R(1,g): for e in R(1,g-d+1): a=d+f+e s=a+b+c S=s*(s-2*a)*(s-2*b)*(s-2*c) i=4*a*a*b*b-S j=4*a*a*c*c-S k,r=0,i+1 while ki:r=m else:k=m l,r=0,j+1 while lj:r=n else:l=n if k*k==i and l*l==j and 2*a*(b*b*e-c*c*d)==([-k,k][c*c