#include using namespace std; long long n, s; int main() { cin >> n >> s; if(s >= 25 && s <= 29 * n) cout << "Yes" << endl; else cout << "No" << endl; }