n,m=map(int,input().split()) t = (1+n) * n //2 if m < t: print('No') else: print('Yes')