#include #include using namespace std; string S; int N,M; bool used[4<<17]; int main() { cin>>N>>M>>S; queueQ; for(int i=0;i