#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c;
  cout << "Enter the value of A,B,C \n";
  cin >> a >> b >> c;
  if ((1 <= a <= 500) && (1 <= b <= 500) && (1 <= c <= 1000))
    if (a + b >= c)
      cout << " Yes you can buy it";
    else
      cout << " No you cannot buy it";
  else
    cout << "Please enter the required value";
  return 0;
}
