from itertools import permutations A,B,C = list(map(int,input().split())) for a,b,c in permutations([A,B,C]): if(a%1 == 0 and b%2 == 0 and c%3 == 0): print("Yes") exit() if(a%2 == 0 and b%4 == 0 and c%4 == 0): print("Yes") exit() print("No")