n,m = map(int, input().split()) if sum([i for i in range(1,n+1)]) <= m: print('Yes') else: print('No')