#include using namespace std; int main(){ double p,q; cin>>p>>q; double l = 1; double r = 1e9; int qq = 1000; cout<