#include <bits/stdc++.h>
using namespace std;
#define endl "\n"
#define MOD 1000000007
typedef long long ll;
int main(){
  int H,W,K;
  cin>>H>>W>>K;
  vector<vector<ll>> dp(H+1,vector<ll>(W+1,0));
  int F[9];
  F[0] = F[1] =  1;
  for(int i=2;i<=W;i++)
    F[i] = F[i-2] + F[i-1];
  dp[0][1] = 1;
  for(int i=0;i<H;i++){
    for(int j=1;j<=W;j++){
      if(j-1 >= 1){
        dp[i+1][j-1] += F[j-2] * F[W-j] * dp[i][j];
        dp[i+1][j-1] %= MOD;
      }
      dp[i+1][j] += F[j-1] * F[W-j] * dp[i][j];
      dp[i+1][j] %= MOD;
      if(j+1 <= W){
        dp[i+1][j+1] += F[j-1] * F[W-j-1] * dp[i][j];
        dp[i+1][j+1] %= MOD;
      }
    }
  }
  cout<<dp[H][K]<<endl;
  return 0;
}
