At the end of term, Makise Von got a poor grade.
Now Makise Von wonders if EndA's GPA is really 4.0, and he has almost made it.
There are n exams, and EndA's score of the i-th exam is ai .
Beside, it's known that the i-th exam's proportion of the GPA is pi% .
So let EndA's GPA be ans , then
Help Makise Von judge that if EndA's GPA is 4.0.
The first line of the input contains a single interger number n (1 <= n <= 20).
The second line of the input contains n interger numbers a1, a2, ..., an (0 <= ai <= 10^2), which are separated by spaces.
The third line of the input contains n interger numbers p1, p2, ..., pn (0 <= pi <= 10^2), which are separated by spaces.
It is guaranteed that
, and the absolute error of the answer should be less than 10^(-2).
If EndA's GPA is 4.0 print Yes, else print No (without quotes).