#include #include int S,C; int sum[101]; int main() { while(scanf("%d%d",&S,&C)!=EOF) { memset(sum,0,sizeof(sum)); for(int i=0;isum[i]) ANS = sum[i]; } printf("%d\n",ANS); } return 0; }