import math
print('ax^2 + bx + c = 0')
a = int(input('a = '))
b = int(input('b = '))
c = int(input('c = '))

D = b ** 2 - 4 * a * c
if D > 0:
    x1 = (-b - D**0.5) // (a * 2)
    x2 = (-b + D**0.5) // (a * 2)
    print(x1, x2) 

elif D == 0:
    x = (-b) / (a * 2)
    print(x)
    
else:
    print('Корней нет')
