N,M=map(int,input().split()) print("Yes" if M>=N*(N+1)//2 else "No")