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