N,S = map(int,input().split()) x = (25*N-S + 24-1)//24 y = (29 * N -S)//5 if y >= 0 and x <= y and (0 <= x < N or 0 <= y < N): print('Yes') else: print('No')