#include <cstdio>
using namespace std;
int main(){
int i=0,max=0,daywork[7];
while(i<7){
int a,b;
cin>>a>>b;
daywork[i++]=a+b;
}
for (int p=0;p<7;p++)if (daywork[p]>daywork[max])max=p;
cout<<max+1<<endl;
快速帮助 | 运行状态 | 反馈举报 | 关于我们 | 免责声明 | 浙ICP备11060257号 Processed in 0.0033 Second(s) Copyright (C) RQNOJ 2007-2019. All Rights Reserved.