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