import sys readline=sys.stdin.readline write=sys.stdout.write N,M,X=map(int,readline().split()) if M+X>=N+3: ans="YES" else: ans="NO" print(ans)