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