#include <bits/stdc++.h>
#define MOD 1000000007
using namespace std;

int main(void){
  long long h, w, k, dp[128][16] = {}, c[9] = {1, 1, 2, 3, 5, 8, 13, 21, 34};
  cin >> h >> w >> k;
  dp[0][1] = 1;
  for (int i = 0; i < h; i++) {
    for (int j = 1; j <= w; j++) {
      dp[i + 1][j] += dp[i][j] * c[j - 1] % MOD * c[w - j] % MOD;
      dp[i + 1][j] %= MOD;
      if (j - 1 >= 1)
        dp[i + 1][j - 1] += dp[i][j] * c[j - 2] % MOD * c[w - j] % MOD;
        dp[i + 1][j - 1] %= MOD;
      if (j + 1 <= w)
        dp[i + 1][j + 1] += dp[i][j] * c[j - 1] % MOD * c[w - (j + 1)] % MOD;
        dp[i + 1][j + 1] %= MOD;
    }
  }
      
  cout << dp[h][k] << endl;
}
