problist = list(map(int, input().split())) time = list(map(int, input().split())) for i in range(len(problist)): if i == 0: a = problist[i] * time[i] elif i == 1: b = problist[i] * time[i] elif i == 2: c = problist[i] * time[i] elif i == 3: d = problist[i] * time[i] sum = a + b + c + d limit = time[-1] if sum <= limit: print("Yes") else: print("No")