import java.util.*; public class Main { public static void main(String[] args) throws Exception { // Here your code ! Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int[] W = new int[100]; boolean[][] dp = new boolean[101][10001]; int sum = 0; for(int i=0; i<101; i++) for(int j=0; j<10001; j++) dp[i][j] = false; for(int i=0; i