#include char s[300000]; int prevd[300000]; int map[300000]; int main(void) { int n; scanf("%d",&n); scanf("%s",s); int d=0; for(int i=0; i