import std; import core.bitop; import core.checkedint; import core.time; void main() { int a, b, c, d, p, q, r, s, t; readf("%d %d %d %d\n", a, b, c, d); readf("%d %d %d %d %d\n", p, q, r, s, t); writeln(yes(a * p + b * q + c * r + d * s <= t)); } pragma(inline) string yes(const bool b) pure @nogc nothrow @safe { return b ? "Yes" : "No"; }