1
2
3
4
5
6
7
#include<bits/stdc++.h>
typedef long long ll;
const ll mod=1e9+7;
const ll maxn=5e5+7;
const double pi=acos(-1);
using namespace std;
int _,n,m;