Alice loves working with numbers. One day, she takes two integers and () and becomes curious about the numbers between them.
She looks at all integers between
and
(inclusive) that are divisible by
.
Among these numbers, she separates them into
even and odd numbers.
Let the sum of all even numbers Alice has be , and the sum of all odd numbers she has be .
If
, Alice will be happy; otherwise, she will be
sad.
Alice wants to know whether she will be happy
or not.
For each test case, print the answer on a
new line: YES if Alice will be
happy, otherwise NO.
You may print each character of the answer
in uppercase either or lowercase (for
example, the strings YES,
yEs, yes, and
yeS will all be treated as
identical).
3 1 4 3 9 4 100
YES NO YES
Test case
:
Alice has
and
.
The multiples of
in this range are
.
So,
, and
.
Since
, Alice is happy.
Test case
:
Alice has
and
.
The multiples of
in this range are
. So,
, and
.
Since
, Alice is not happy.