#include using namespace std; const int MAXN=1e6+50; int N,a[MAXN]; int main() { scanf("%d",&N); if(N==1) { scanf("%d",&N); cout<