N,S = map(int,input().split()) import sys if S <= 24: print('No') exit() if S > 29 * N: print('No') exit() print('Yes')