#include #include #include using namespace std; #define REP(i,n) for(int i=0;i>N; REP(i,N) cin>>G[i]>>D[i]; REP(i,N) W[i]=G[i]-D[i]*30000; Need=30000*100; int mx=0; REP(i,N) mx=max(mx,W[i]); vector num; REP(i,N){ if(mx==W[i]){ num.push_back(i+1); } } if(mx*6