#include "bits/stdc++.h" #define MAXN 100009 #define INF 1000000007 #define mp(x,y) make_pair(x,y) #define all(v) v.begin(),v.end() #define pb(x) push_back(x) #define wr cout<<"----------------"< PII; templatebool umin(T& a,T b){if(a>b){a=b;return 1;}return 0;} templatebool umax(T& a,T b){if(a>a>>b; k=Fe(a); cout<