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