#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c;
  while (cin >> a >> b >> c) {
    int s;
    s = (a + b) - c;
    if (a % 10 == 0 || b % 10 == 0) {
      if (s >= 0)
        cout << "Yes" << endl;
      else
        cout << "No" << endl;
    } else if (s % 10 == 0)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
  return 0;
}
