n,m,x=map(int,input().split()) print("YNEOS"[m+x>n+2::2])