#include #include using namespace std; int N; int A[1<<17],B[1<<17],id[1<<17]; main() { cin>>N; for(int i=0;i>A[i]>>B[i]; id[i]=i; } sort(id,id+N,[](int i,int j){return A[i]+B[i]B[i]) { cout<<"No"<