N, M, X = map(int, input().split())

print('NO' if N-M+3 > X else 'YES')