import java.util.*; public class Main { public static void main(String[] args) { 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(); } int lim = (int)Math.pow(3,N); for( int i = 0; i < lim; i++ ) { int state = i; int[] sum = new int[3]; for( int j = 0; j < N; j++ ) { int d = state%3; state /= 3; sum[d] += E[j]; } if( sum[0] == sum[1] && sum[1] == sum[2] ) { System.out.println("Yes"); return; } } System.out.println("No"); } }