#include<iostream> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; if((a+b+c)/3>=60)cout<<"NO"; else cout<<"YES"; }
#include<iostream> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; if((a+b+c)/3>=60)cout<<"NO"; else cout<<"YES"; }