from math import log2 A,B = map(int,input().split()) if 2*log2(A) < log2(B**B): print('Yes') else: print('No')