#include using namespace std; int main() { int t,x,y,flag=0,flag1=1; cin>>t; while(t--) { cin>>x>>y; if(x==0 || y==0) flag=1; else { // cout<<"x : "<