r,b=map(int,input().split()) S=input() def cond(A): for i in range(len(A)): if i+r