import java.math.BigDecimal; import java.math.MathContext; import java.util.Arrays; import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); BigDecimal a = scanner.nextBigDecimal(), b = scanner.nextBigDecimal(), c = scanner.nextBigDecimal(); if (a.equals(BigDecimal.ZERO)) { if (b.equals(BigDecimal.ZERO)) { if (c.equals(BigDecimal.ZERO)) System.out.print(-1); else System.out.print(0); } else { System.out.println(1); System.out.print(BigDecimal.ZERO.subtract(c).divide(b).toPlainString()); } } else { BigDecimal d = b.multiply(b).subtract(a.multiply(c).multiply(new BigDecimal(4))); if (d.compareTo(BigDecimal.ZERO) == 1) { BigDecimal[] e = new BigDecimal[2]; e[0] = BigDecimal.ZERO.subtract(d.sqrt(MathContext.DECIMAL128)).subtract(b).divide(a.multiply(new BigDecimal(2))); e[1] = d.sqrt(MathContext.DECIMAL128).subtract(b).divide(a.multiply(new BigDecimal(2))); Arrays.sort(e); System.out.print(2 + "\n" + e[0].toPlainString() + '\n' + e[1].toPlainString()); } else if (d.equals(BigDecimal.ZERO)) { System.out.println(1); System.out.print(BigDecimal.ZERO.subtract(b).divide(a.multiply(new BigDecimal(2)))); } else System.out.print(0); } } }