#! /usr/bin/env python3

N, M, X = map(int, input().split())
if M - (N - X) >= 3:
    print('YES')
else:
    print('NO')