QOJ.ac

QOJ

Time Limit: 1 s Memory Limit: 1024 MB
Statistics

Given function $f(x, y) = a x^2 + b xy + c y^2$, check if $f(x, y) \geq 0$ holds for all $x, y \in \mathbb{R}$.

Input

The input contains zero or more test cases and is terminated by end-of-file.

Each test case contains three integers $a, b, c$.

  • $-10 \leq a, b, c \leq 10$
  • The number of tests cases does not exceed $10^4$.

Output

For each case, output "Yes" if $f(x, y) \geq 0$ always holds. Otherwise, output "No".

Sample Input

1 -2 1
1 -2 0
0 0 0

Sample Output

Yes
No
Yes