#include using namespace std; typedef long long ll; const int N = 100005; const int M = 1000000007; int n, m; int a[N]; int main() { while (~scanf("%d", &n)) { for (int i = 0; i < n; i++) { scanf("%d", &a[i]); } } }