#include using namespace std; int main(){ int n; cin >> n; int a[n]; for(int i=0; i> a[i]; } int flag1, flag2; for(int i=0; i