#include using std::cin; using std::cout; int main() { int n, s; cin >> n >> s; if (n == 1) { if (25 <= s and s < 30) puts("Yes"); else puts("No"); return 0; } puts(s/29 <= n or s/28 <= n or s/27 <= n or s/26 <= n or s/26 <= n and s/30 == 0 ? "Yes" : "No"); return 0; }