X = list(map(int, input().split())) print('Yes' if (4 * min(X)) + 6 == sum(X) else 'No')