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