#include #define rep(i,n) for(int i=0; i< (n); i++) using namespace std; typedef long long ll; typedef pair P; const int mod = 998244353; const int inf = (1<<30); const ll INF = (1ull<<62); int main(){ ll n,s; cin>>s>>n; cout<<((n-24 >= s && n <= s*29) ? "Yes" : "No")<