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