#include using namespace std; int main() { // Ax = B; int A, B; cin >> A >> B; if( B % A == 0 ) { cout << B/A << endl; } else { cout << "NO" << endl; } }