import sys
import math
import bisect

def main():
    n, m = map(int, input().split())
    if (n + 1) // 2 >= m:
        print('YES')
    else:
        print('NO')
    
if __name__ == "__main__":
    main() import sys sys import math math import bisect bisect def main():
    n, m = map(int, input().split())
    if (n + 1) // 2 >= m:
        print('YES')
    else:
        print('NO')
     main n, m = map(int, input().split()) n map(int, input().split()) map int input().split() ().split () input split m if (n + 1) // 2 >= m:
        print('YES')
    else:
        print('NO')
     (n + 1) // 2 >= m (n + 1) // 2 n + 1 n 1 2 m print('YES') print 'YES' print('NO') print 'NO' if __name__ == "__main__":
    main() __name__ == "__main__" __name__ "__main__" main() main def main():
    n, m = map(int, input().split())
    if (n + 1) // 2 >= m:
        print('YES')
    else:
        print('NO')
     def main():
    n, m = map(int, input().split())
    if (n + 1) // 2 >= m:
        print('YES')
    else:
        print('NO')
     main
import sys
import math
import bisect

def main():
    n, m = map(int, input().split())
    if (n + 1) // 2 >= m:
        print('YES')
    else:
        print('NO')
    
if __name__ == "__main__":
    main()
