l1 = list(map(int, input().split())) *l2, T = map(int, input().split()) tot = 0 for a, b in zip(l1, l2): tot += a*b print("Yes" if tot<=T else "No")