#include using std::cin; using std::cout; using ll = long long; int main() { ll n, s; cin >> n >> s; puts(25 <= s and s <= 29*n ? "Yes" : "No"); return 0; }