#include <stdio.h> struct student{ char name[8]; int yw; int sx; int yy; }; int main() { int N; scanf("%d",&N); struct student s[N]; int sum=0; int count=0; for(int i=0;i<N;i++){ scanf("%s %d %d %d",s[i].name,&s[i].sx,&s[i].yw,&s[i].yy); if(s[i].sx+s[i].y...