import std; void main () { auto A = readln.split.to!(int[]); auto T = readln.split.to!(int[]); int took = 0; foreach (i; 0 .. A.length) { took += T[i] * A[i]; } if (took <= T[$ - 1]) { writeln("Yes"); } else { writeln("No"); } } void read (T...) (string S, ref T args) { import std.conv : to; import std.array : split; auto buf = S.split; foreach (i, ref arg; args) { arg = buf[i].to!(typeof(arg)); } }