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