Colorful String
You are given a string of length , which consists only of zeros and ones. At the beginning, all the characters are colored in black. You can choose any characters from the string and color them in red.
After that, you form two new strings, the first one is the characters colored in black, and the second one is the characters colored in red. Note that both resulting strings have a length of .
Your task is to determine whether it is possible to color in such a way that the resulting two strings differ in each position.
Input
The first line contains one number ().
The second line contains characters ().
Output
Print «Yes
» if the coloring described in the condition exists, or «No
» otherwise.
Examples
Note
In the first test, the input string "" in which all the digits are colored in black. It is possible to color the digits at positions in red. The newly formed strings will be "" and "". They differ in each position.
Scoring
In this problem, there are conditional blocks. If your solution works correctly for certain constraints, it will receive a certain number of points. Note that the evaluation is still in the testing phase.
( points): ;
( points): without additional constraints.