#include using namespace std; using ll = long long; void solve() { int n,h; cin>>n>>h; int w=0; for(int i=0; i>x; if(x>h) w=w+2; else w++; } cout<> TC; //cin.ignore(); while (TC--) solve(); }