A, B, C, D = map(int, input().split()) P, Q, R, S, T = map(int, input().split()) def f(): x = A * P + B * Q + C * R + D * S return x <= T if f(): print('Yes') else: print('No')