N,M,X = (int(x) for x in input().split()) l = N-M X -= min(l, X) if X >= 3: print("YES") else: print("NO")