#include using namespace std; pairara[100]; int main() { int n; cin >> n; int i,j; for(i=0;i> ara[i].first >> ara[i].second; } for(i=0;i