import sys input = sys.stdin.readline from collections import * N, M = map(int, input().split()) if N*(N+1)//2<=M: print('Yes') else: print('No')