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