#include using namespace std; #define int long long #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define ALL(v) v.begin(),v.end() signed main(){ int N,S; cin>>N>>S; if(N+24<=S&&S<=29*N)cout<<"Yes"<