#include using namespace std; using ll=long long; int main(){ int N; cin>>N; int sumA=0,sumB=0; for(int i=0;i>A>>B; sumA+=A,sumB+=B; } if(sumA>=sumB){ cout<