import sys

a ,b,c = map(int,input().split())
if (a+b+c)/3 <60 :
    print("YES")
else:
    print("NO")