#include using namespace std; int main(){ long long a, b; cin >> a >> b; cout << (b % 2 == 0 || b % 5 == 0 ? "No" : "Yes") << endl; }