if __name__=="__main__":
    n, k = input().split(' ')
    n = int(n)
    k = int(k)
    if k * 2 - 1 <= n:
        print('YES')
    else:
        print('NO') if __name__=="__main__":
    n, k = input().split(' ')
    n = int(n)
    k = int(k)
    if k * 2 - 1 <= n:
        print('YES')
    else:
        print('NO') __name__=="__main__" __name__ "__main__" n, k = input().split(' ') n input().split(' ') ().split () input split ' ' k n = int(n) n int(n) int n k = int(k) k int(k) int k if k * 2 - 1 <= n:
        print('YES')
    else:
        print('NO') k * 2 - 1 <= n k * 2 - 1 k * 2 k 2 1 n print('YES') print 'YES' print('NO') print 'NO' k = int(k) int(k) k n, k = input().split(' ') input().split(' ') n n = int(n) int(n) n k = input().split(' ') input().split(' ') k
if __name__=="__main__":
    n, k = input().split(' ')
    n = int(n)
    k = int(k)
    if k * 2 - 1 <= n:
        print('YES')
    else:
        print('NO')