#include #include #include #include #include #include #define ll long long #define P pair #define lP pait using namespace std; int main() { int n; int ma=0; int mi=0; cin>>n; vector a(n); for(int i=0;i>a[i]; } for(int i=0;i