#include using namespace std; int main() { int a, b, c, d, p, q, r, s, t; cin >> a >> b >> c >> d >> p >> q >> r >> s >> t; int tot = a*p + b*q + c*r + d*s; if (tot <= t) cout << "Yes" << endl; else cout << "No" << endl; return 0; }