#include int getpos(char c) { return 1 << (c - 'a'); } #define ll long using namespace std; map st; ll tmp, tmp2; int main() { int res=0; int n; cin >> n; string str; cin >> str; tmp = 0; st.emplace(tmp,-1); for(int i=0;i