#include using namespace std; using ll = long long; int main() { cin.tie(nullptr); ios_base::sync_with_stdio(false); int a, b, c, d; cin >> a >> b >> c >> d; int p, q, r, s, t; cin >> p >> q >> r >> s >> t; if (a * p + b * q + c * r + d * s <= t) cout << "Yes" << "\n"; else cout << "No" << "\n"; return 0; }