long wbuf[100000]; main(){ int n; scanf("%d",&n); long j=0; for(int i=0;i