#include int main() { int x, y, z; scanf("%d %d %d", &x, &y, &z); if (x % 2 * y % 3 * z % 3 == 0) printf("Yes\n"); else printf("No\n"); return 0; }