import java.util.Scanner; public class Main { static String ans = "No"; public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] e = new int[n]; for (int i = 0; i < n; i++) { e[i] = sc.nextInt(); } sc.close(); dfs(e, 0, new int[n]); System.out.println(ans); } static void dfs(int[] e, int x, int[] g) { if (x == e.length) { int[] p = new int[3]; for (int i = 0; i < e.length; i++) { p[g[i]] += e[i]; } if (p[0] == p[1] && p[1] == p[2]) { ans = "Yes"; } return; } for (int i = 0; i < 3; i++) { g[x] = i; dfs(e, x + 1, g); } } }