#include <iostream>
using namespace std;

int main() {
    int a{},b{},c{};//定义三科分数
    cin>>a>>b>>c;
    if(a+b+c<180)//用180可以省去除号和括号的运算,
	  //节省一点时间和提效(但最好有备注否则容易不知道你想表达什么)
    cout<<"YES";
    else
    cout<<"NO";
    return 0;
}
// 64 位输出请用 printf("%lld")