/** * @FileName a.cpp * @Author kanpurin * @Created 2022.01.07 21:35:30 **/ #include "bits/stdc++.h" using namespace std; typedef long long ll; int main() { ll n,s;cin >> n >> s; if (n == 1) { if (s >= 25 && s < 30) puts("Yes"); else puts("No"); return 0; } n--; for (int i = 25; i < 30; i++) { if (0<=s-i && s-i<=n*29) { puts("Yes"); return 0; } } puts("No"); return 0; }