# 读取三科成绩
A, B, C = map(int, input().split())

# 计算平均分是否低于60分(为避免浮点数运算,可直接比较总分是否小于180)
if A + B + C < 180:
    print("YES")
else:
    print("NO")