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