#include using namespace std; int main(){ int n; string s; cin >> n >> s; vector p(n+1, 0), m(n+1, 0); for(int i=0; i