Quadratic equation

Quadratic equation

Write a program to solve a quadratic equation ax2 + bx + c = 0 (a0).


Three integers - the coefficients of quadratic equation are given in one line: a, b and c. The values of coefficients do not exceed 100 by absolute value.


Print in one line the message "No roots" (without quotes) if there is no roots. If equation contains only one root, print "One root:" (without quotes), space and a root. In the case of two roots, print "Two roots:" (without quotes), space, first smaller, and then larger root. It is guaranteed that if the roots exist, they are integers.

Time limit 1 second
Memory limit 128 MiB
Input example #1
1 -5 6
Output example #1
Two roots: 2 3
Input example #2
1 5 6
Output example #2
Two roots: -3 -2
Source SFE-2010 Variant 11