Loading repovive.com/contests/4/problems/B
You are given three integers , , and .
You want to build a binary string of length that contains exactly characters equal to 0 and exactly characters equal to 1.
Determine whether it is possible to build such a string so that there is no substring of length whose characters are all equal.
In other words, there must not exist an index such that .
Print Yes if it is possible, otherwise print No.
Constraints:
where is either Yes or No.