N,M = map(int,input().split()) tmp = N * (N + 1) // 2 if tmp <= M: print('Yes') else: print('No')