ll n,a[5d5];{rd(n,a(n));a[1..n]+=a[0..];wt(a[n]);}