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