#include using namespace std; #define int long long signed main(){ int N,K; cin>>N>>K; int a=0,b=1e18; for(int i=0;i>x; a = max(a,x); b = min(b,x); } cout<