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