#include <bits/stdc++.h>
using namespace std;

int main()
{
    int64_t N, S;
    cin >> N >> S;
    
    if(25 <= S && S <= 29 * N) cout << "Yes" << endl;
    else cout << "No" << endl;
    return 0;
}