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