The program reads from standard input five integers a, b, c, L, R, separated by spaces. Consider the expression:
f(x) = a x x + b * x + c
Compute the minimum value that f takes when x ranges over every integer in the interval [L, R], and print:
- first, the value
xat which this minimum is achieved (if there are several, print the smallest); - then, separated by a space, the minimum value
f(x).