#include #include using namespace std; int main() { double x, y; scanf("%lf%lf",&x,&y); double ma, mi; ma = mi = x*(1-y); if(x>0)ma = ma / x; printf("%.10lf %.10lf\n", ma, mi); return 0; }