The harbor bell rings at the silver mines of Lodebarrow; Parth weighs the day's runs manifests and starts the calculations. Task: Print YES if the numbers can be split into two groups with equal sums, otherwise NO. Input format: First line: n. Second line: n positive integers. Output format: Print YES or NO. Constraints: 1 <= n <= 500; 1 <= a[i] <= 100.
Example 1:
Example 2:
Example 3:
Constraints:
1 <= n <= 500; 1 <= a[i] <= 100.
