'''
Welcome to GDB Online.
GDB online is an online compiler and debugger tool for C, C++, Python, Java, PHP, Ruby, Perl,
C#, VB, Swift, Pascal, Fortran, Haskell, Objective-C, Assembly, HTML, CSS, JS, SQLite, Prolog.
Code, Compile, Run and Debug online from anywhere in world.
'''
a=int(input("Digite o valor de A: "))
b=int(input("Digite o valor de B: "))
c=int(input("Digite o valor de C: "))
delta=float(((b**2)-4*a*c))
r1=float((-b +(delta ** (1/2))/2))
r2=float((-b -(delta ** (1/2))/2))
if delta > 0:
print("Temos duas raizes reais e distintas. \nRaiz 1: {} \nRaiz 2:{}".format(r1,r2))
elif delta == 0:
print("Temos duas raízes iguais. \nRaiz 1: {} \nRaiz 2: {}".format(r1,r2))
elif delta < 0:
print("Raizes inexistentes.")