#include using namespace std; typedef long long ll; #define rep(i,n) for(ll i=0;i>a>>b; if(b==0){ cout<<1<