#include using namespace std; int main() { int n,a[50],b[50],flag1=0,flag2=0; cin>>n; int i=0; while(i>a[i]>>b[i]; i++; } for(i=1;i