Quadratic equation#911

Quadratic equation

1 second
128 megabytes
Easy

Solve the quadratic equation a \cdot x^2 + b \cdot x + c = 0, where a \ne 0.

Input

The input consists of one line containing three integers — the coefficients of the quadratic equation , , and . The absolute values of all coefficients do not exceed .

Output

Print on a single line:

  • No roots, if the equation has no roots;

  • One root: followed by the root, separated by a space, if the equation has one root;

  • Two roots: followed by the smaller root and the larger root, separated by a space, if the equation has two roots.

It is guaranteed that if solutions exist, all roots are integers.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading