from itertools import permutations L = list(map(int, input().split())) x = int(input()) R = [] for P in permutations(range(3)): LL = [] for i in range(3): LL.append(L[P[i]]) for bit in range(3**3): Q = [] bitc = bit for i in range(3): Q.append(bitc % 3 - 1) bitc //= 3 res = 0 for i in range(3): res += Q[i] * LL[i] if res == 0: continue R.append(abs(res)) R.sort() for res in R: if x % res == 0: print("Yes") exit() print("No")