N, M, X = map(int, input().split()) print("YES" if M+X >= N+3 else "NO")