import math a,b,c = map(int, input().split(' ')) delta = b**2 - 4 a c if delta >= 0:
print("YES") x1 = ((-1)*b + math.sqrt(delta)) / (2*a) x2 = ((-1)*b - math.sqrt(delta)) / (2*a) print('%.2f'%x1,'%.2f'%x2)
else:
print("NO")