#include using namespace std; int sht[100][100000]; int main(void){ int N,V,v[100],w[100],i,j; cin>>N; for(i=0;i>v[i]>>w[i]; } cin>>V; return 0; }