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