#include using namespace std; int main() { int N; cin>>N; vector S(N); for(int i=0;i>S[i]; set T; for(int i=0;i