#include using namespace std; #define rep(i,n) for(int i=0;i<(int)(n);i++) #define ALL(v) v.begin(),v.end() typedef long long ll; template using V=vector; template using VV=V>; //B(n,V(n)) int main(){ ios::sync_with_stdio(false); std::cin.tie(nullptr); int n; cin>>n; V S(n); map m; rep(i,n){ cin>>S[i]; sort(ALL(S[i])); m[S[i]]++; } for(auto [a,b]:m){ if(b==1){ cout<