function main(t){t=t.split("\n");var r=parseInt(t[0]);a=new Array(r).fill(0),b=new Array(r).fill(0),tmpa=t[1].split(" "),tmpb=t[2].split(" ");var n=0,e=0;for(i=0;i<r;i++)a[i]=parseInt(tmpa[i]),a[i],b[i]=parseInt(tmpb[i]),b[i],Math.abs(a[i]-b[i]),n+=Math.floor(Math.max(0,b[i]-a[i])/2),e+=Math.max(0,a[i]-b[i]);var s="No";e<=n&&(s="Yes"),console.log("%s",s)}main(require("fs").readFileSync("/dev/stdin","utf8"));