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