a=int(input())b=int(input())c=int(input())print(((b**2-4*a*c)**(0.5)-b)/2*a)
1 -4 5
(2+1j)
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!