print("YES" if (lambda a,b,c:a+b+c<180)(*map(int, input().split())) else "NO")