A, B, C = map(int, input().split()) if (A*B*C)%2 == 0 and (A*B*C)%3 == 0: print("Yes") else: print("No")