#include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; struct WA{ string s; int c1,c2,c3; int t; }; int main() { int n; cin>>n; vector<WA> A; for(int i=0;i<n;++i){ WA B; cin>>B.s>>B.c1>>B.c2>>B....