#include #include int main(void){ double a,b; scanf("%lf%lf",&a,&b); if(floor(b/a) != b/a){ printf("NO"); }else{ printf("%f",b/a); } }