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