n, m, x = map(int, input().split()) if m + x - n >= 3: print("YES") else: print("NO")