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