Polygon
题号:NC219803
时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 512 M,其他语言1024 M
64bit IO Format: %lld

题目描述

Given the length of edges, determine whether these edges can be used to form an -polygon which has positive area.

Examples of 3-polygon, 4-polygon and 6-polygon.

输入描述:

The first line contains a single integer  , the number of edges. 
The next line contains integers , the length of edges.

输出描述:

If the  edges can form a  -polygon, output “Yes”, otherwise output “No”.(without quote)
示例1

输入

复制
3
1 2 3

输出

复制
No
示例2

输入

复制
5
5 5 5 5 5

输出

复制
Yes