#include #define be(v) (v).begin(),(v).end() #define pb(q) push_back(q) #define rep(i, n) for(int i=0;i> n; cout << calc(n) << endl; } int main() { cin.tie(0); ios::sync_with_stdio(false); int t; cin >> t; while(t--) solve(); return 0; }