//NOIP2004不高兴的津津
include[HTML_REMOVED]
int ans,x,n,m,k;
void read(){
for(int i=1;i<=7;i++){
scanf(“%d%d”,&n,&m),k=n+m;
if(x[HTML_REMOVED]8) x=k,ans=i;
}
}
void unhappy(){
read();
printf(“%d\n”,ans);
}
int main(){
unhappy();
return 0;
}