#include <cstdio>
#define FOR(i, l, r) for(int i = l; i <= r; ++i)

using namespace std;

#define left LEFT
typedef long long ll;
const int N = 510;
const int mod = 1e9 + 7;

int n, k, ans, tot, left, a[N], c[N][N];
char s[N];

bool check()
{
    if (!tot) return 0;
    int now1 = 1, now2 = 1, c = 0;
    FOR(i, 1, k)
    {
        if (!(now1 <= tot || a[now2] > 1 || c)) break;
        if (now1 <= tot && s[i] == 'r') ++now1; else
        if (now2 < now1 && a[now2] > 1 && s[i] == 'b') c += a[now2++] - 2;
        else if (c) --c;
    }
    return !(now1 <= tot || a[now2] > 1 || c);
}

void update()
{
    ll tmp = 1, num = tot + 1;
    for(int i = 1, j; i <= tot; i = j + 1)
    {
        for(j = i; a[j + 1] == a[i]; ++j);
        tmp = tmp * c[j][i - 1] % mod;
        num += (j - i + 1) * (a[i] * 2 - 1);
    }
    tmp = tmp * c[num + left - 1][num - 1] % mod;
    if ((ans += tmp) >= mod) ans -= mod;
}

void dfs(int mx)
{
    if (left < 0) return;
    if (check()) update();

    if (tot) --left;
    ++tot; --left; dfs(a[tot] = 1); ++left;
    FOR(i, 2, mx)
    {
        left -= i * 2 - 3;
        dfs(a[tot] = i);
        left += i * 2 - 3;
    }
    a[tot--] = 0;
    if (tot) ++left;
}

int main()
{
    FOR(i, 0, 500)
    {
        c[i][0] = 1;
        FOR(j, 1, 500)
            if ((c[i][j] = c[i - 1][j] + c[i - 1][j - 1]) >= mod)
                c[i][j] -= mod;
    }

    scanf("%d%d%s", &n, &k, s + 1);
    left = n; dfs(100);
    printf("%d\n", (ans + 1) % mod);
    return 0;
}
