#include #include using namespace std; int main(){ int n; scanf("%d",&n); int *a=new int [n]; for (int i=0; i