A = list(map(int, input().split())) *B, T = list(map(int, input().split())) res = 0 for i in range(4): res += A[i] * B[i] print('Yes' if res <= T else 'No')