Problem Description
You are given two arrays and of the same size. Print "YES" if the arrays and are equal to each other, and "NO" otherwise.
Input Format
The first line contains one integer - the number of elements in the arrays and .
The second line contains integers - the elements of array .
The third line contains integers - the elements of array .
Output Format
Print "YES" if the arrays are equal to each other, and "NO" otherwise.
Examples
Example 1
Input
3 1 2 3 4 3 9
Output
NO
Example 2
Input
3 20 2 5 20 2 5
Output
YES