a, b = input().split(' ')

if int(a) / int(b) > 2 or int(b) / int(a) > 2:
    print('No')
else:
    print('Yes')