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