#include <bits/stdc++.h>
int main() {
  int a, b, c;
  scanf("%d %d %d", &a, &b, &c);
  if (a + b < c)
    printf("NO\n");
  else {
    if ((c - a - b) % 10 == 0 || (c - a - b) % 19 == 0 ||
        (c - a - b) % 123 == 0)
      printf("Yes\n");
  }
  return 0;
}
