N,S=map(int,input().split()) flag=(25<=S) and (S<=N*29) print("Yes" if flag else "No")