#include using namespace std; using ll = long long; void solve() { int a,x,count=0; cin>>a; for(int i=0; i<3; ++i) { cin>>x; if(x>a) count++; } cout<> TC; cin.ignore(); while (TC--) solve(); }