#include using namespace std; int main(){ int n,k; cin>>n>>k; int mx=0,mn=1001; for(int i=0;i>a; mx=max(mx,a); mn=min(mn,a); } cout<