#include #include #include using namespace std; int main() { int q; cin>>q; while(q--) { mapmp; sets; int n; cin>>n; int sum=0; for(int i=0;i>tmp; mp[tmp]++; } for(auto it:mp) { s.insert(it.first); } cout<