#include void check(int N, char S[]) { int a=0; for(int i=0; i