#include using namespace std; typedef long long ll; typedef string str; int main() { ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); ll a1, a2, b1, b2, c1, c2, d1, d2, k; cin >> a1 >> b1 >> c1 >> d1 >> a2 >> b2 >> c2 >> d2 >> k; if (a1 * a2 + b1 * b2 + c1 * c2 + d1 * d2 <= k) cout << "Yes\n"; else cout << "No\n"; return 0; }