import std.stdio, std.conv, std.string, std.range, std.math, std.algorithm, std.bigint; void main() { auto N = readln.strip.to!int; auto a = readln.split.to!(int[]); auto b = readln.split.to!(int[]); auto p = zip(a, b).map!(c => c[1]>0?c[0]:0).sum; (p <= a.sum-p ? "YES" : "NO").writeln; }