There is a length sequence that is a permutation of .
While you do not know , you know that for pairs of integers .
Can be uniquely determined? If it is possible, find .
The first line contains two numbers and .
Each of the next lines contains a pair of integers , .
If can be uniquely determined, print Yes in the first line. Then, print in the second line.
If cannot be uniquely determined, just print No.