#include long x,num,list[30]; int n,c; long d[100]; void check(int i,int j){ long s; if(i==c){ for(j=0;j=n){ for(i=0;i