Problem2152--ABC205B_Permutation Check

2152: ABC205B_Permutation Check

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

Sample Input Copy

5
3 1 2 4 5

Sample Output Copy

Yes

Source/Category