import sys a=int(input()) b=int(input()) c=int(input()) for i in range(1,b+c-a): for j in range(1,b+c-a-i): if i*(a+i)*c**2==b**2*j*(a+j) and abs(b-c)