n,s = map(int,input().split())
print('Yes' if 25 <= s <= 29*n else 'No')