#include //#include using namespace std; //using namespace atcoder; using ll = long long; //using mint = modint998244353; int main(){ cin.tie(nullptr); ios_base::sync_with_stdio(false); int a[4], b[4], c, s=0; for (int i=0; i<4; i++) cin >> a[i]; for (int i=0; i<4; i++) cin >> b[i]; cin >> c; for (int i=0; i<4; i++) s += a[i] * b[i]; cout << (c >= s ? "Yes" : "No") << endl; return 0; }