import math a = float(input('')) b = float(input('')) c = float(input('')) x = (-1*b + math.sqrt(b**2-4*a*c))/(2*a) print(round(x,2))