ll n,s,a[3d5]; { rd(n,a(n)); rrep(i,n){ s+=a[i]; if(s%(i+1)){ wt("No"); exit(0); } } wt("Yes"); }