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