Problem10341--ABC324 —— A - Same

10341: ABC324 —— A - Same

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 512 MiB

Description

You are given $N$ integers $A _ 1,A _ 2,\ldots,A _ N$.

If their values are all equal, print `Yes`; otherwise, print `No`.

Input

The input is given from Standard Input in the following format:

```
$N$
$A _ 1$ $A _ 2$ $\ldots$ $A _ N$
```

Output

Print a single line containing `Yes` if the values of the given $A _ 1,A _ 2,\ldots,A _ N$ are all equal, and `No` otherwise.

Constraints

-   $2\leq N\leq100$
-   $1\leq A _ i\leq100\ (1\leq i\leq N)$
-   All input values are integers.

Sample 1 Input

3
3 2 4

Sample 1 Output

No
We have $A_1\neq A_2$, so you should print No.

Sample 2 Input

4
3 3 3 3

Sample 2 Output

Yes
We have $A_1=A_2=A_3=A_4$, so you should print Yes.

Sample 3 Input

10
73 8 55 26 97 48 37 47 35 55

Sample 3 Output

No

Source/Category