import sys read=sys.stdin.buffer.read readline=sys.stdin.buffer.readline readlines=sys.stdin.buffer.readlines kr, kb=map(int, readline().split()) s=readline().rstrip().decode() idx=[i for i, c in enumerate(s) if c!='W'] import itertools for l in range(20): for myon in itertools.combinations(idx, l): t=[c for i, c in enumerate(s) if i not in myon] dame=False for j, c in enumerate(t): if c=='R' and j+kr