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