/* -*- coding: utf-8 -*- * * 3064.cc: No.3064 Speedrun (Easy) - yukicoder */ #include #include using namespace std; /* main */ int main() { int a, b, c, d, p, q, r, s, t; scanf("%d%d%d%d%d%d%d%d%d", &a, &b, &c, &d, &p, &q, &r, &s, &t); int sum = a * p + b * q + c * r + d * s; if (sum <= t) puts("Yes"); else puts("No"); return 0; }