#include #include using namespace std; int main(){ int n; cin>>n; int tmin,tmax; tmax=n-1; tmin=n-1; vector v; int a=n; for(int i=2; i