
Fax McClad in his research laboratory.
Fax McClad, Croneria's most scientific bounty hunter, is funding research for more efficient fuel.
There are a
to z
. Two fuel molecules of different types can react to become energy, annihilating the molecules. Thus, a fuel molecule can be a part of at most one reaction.
Fax's scientists have just received a batch of fuel molecules represented by a string
Input Specification
The first line of input will contain a single integer,
The second line of input will contain a
to z
, representing fuel molecule types.
Output Specification
Output Yes
if all molecules can be reacted, output No
otherwise.
Sample Input 1
Copy
4
abca
Sample Output 1
Copy
Yes
Sample Input 2
Copy
4
aaba
Sample Output 2
Copy
No
Comments