#include using namespace std; int n,r; int d[110]; vector v; void f(int i,int j){ if(i==v.size()){ for(j=0;j=n){ for(int i=0;i