N, S = map(int, input().split()) if (N-1) + 25 <= S < 30 * N: print("Yes") else: print("No")