import decimal decimal.getcontext().prec = 1000 A, B, C = map(decimal.Decimal, input().split()) if A < 0: A = -A B = -B C = -C D = (B * B - 4 * A * C).sqrt() L = (-B - D) / (2 * A) R = (-B + D) / (2 * A) l = L.__ceil__() while not L