#include using namespace std; using Int = long long; template inline void chmin(T1 &a,T2 b){if(a>b) a=b;} template inline void chmax(T1 &a,T2 b){if(a>n; vector b(n); for(Int i=0;i>b[i]; using P = pair; auto sub=[&](P x,P y){ x.first-=y.first; x.second-=y.second; return x; }; vector

vp(n+1); vp[0]=P(1,0); for(Int i=0;ir){ cout<<-1< a(n+1,l); for(Int i=0;i