#include using namespace std; typedef signed long long ll; #undef _P #define _P(...) (void)printf(__VA_ARGS__) #define FOR(x,to) for(x=0;x>N; FOR(i,N) cin>>X[i]>>Y[i]; FOR(x,N) FOR(y,N) cr[x][y] = (Y[x]==Y[y]) ? -1 : (X[y]-X[x])*1.0/(Y[x]-Y[y]); set S; S.insert(1); FOR(i,2) { x=0; FOR(y,N) { if(i==0 && ((X[y]X[x]) || (X[y]==X[x] && Y[y]>Y[x]))) x=y; } for(double xx=0;;) { int ne=x; double mi=1e10; FOR(y,N) if(cr[x][y]>xx && cr[x][y]=1e10) break; S.insert(mi); xx=mi; x=ne; } } ITR(it,S) for(i=-2;i<=2;i++) val(*it+i); cout<