#include using namespace std; int main(){ double p,q; cin>>p>>q; if(1-p