#include using namespace std; int N,A,B,X[15],Y[15],K[15]; int main(){ scanf("%d%d%d",&N,&A,&B); assert(2<=N and N<=14); assert(1<=A and A<=4000); assert(1<=B and B<=1e6); for(int i=0;i